 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.121411 -2.81445)', '2026-08-19 17:45:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12129 -2.814462)'), GeomFromEWKT('SRID=4674;POINT (-40.121411 -2.81445)'))) / (select extract(epoch from '2026-08-19 17:45:32'::timestamp) - extract(epoch from '2026-08-19 17:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12129 -2.814462)'), GeomFromEWKT('SRID=4674;POINT (-40.121411 -2.81445)'))) / (select extract(epoch from '2026-08-19 17:45:32'::timestamp) - extract(epoch from '2026-08-19 17: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.121536 -2.81445)', '2026-08-19 17:45:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121411 -2.81445)'), GeomFromEWKT('SRID=4674;POINT (-40.121536 -2.81445)'))) / (select extract(epoch from '2026-08-19 17:45:48'::timestamp) - extract(epoch from '2026-08-19 17:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121411 -2.81445)'), GeomFromEWKT('SRID=4674;POINT (-40.121536 -2.81445)'))) / (select extract(epoch from '2026-08-19 17:45:48'::timestamp) - extract(epoch from '2026-08-19 17:45: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.121648 -2.814442)', '2026-08-19 17:46:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121536 -2.81445)'), GeomFromEWKT('SRID=4674;POINT (-40.121648 -2.814442)'))) / (select extract(epoch from '2026-08-19 17:46:04'::timestamp) - extract(epoch from '2026-08-19 17:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121536 -2.81445)'), GeomFromEWKT('SRID=4674;POINT (-40.121648 -2.814442)'))) / (select extract(epoch from '2026-08-19 17:46:04'::timestamp) - extract(epoch from '2026-08-19 17: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.121708 -2.814439)', '2026-08-19 17:46:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121648 -2.814442)'), GeomFromEWKT('SRID=4674;POINT (-40.121708 -2.814439)'))) / (select extract(epoch from '2026-08-19 17:46:12'::timestamp) - extract(epoch from '2026-08-19 17:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121648 -2.814442)'), GeomFromEWKT('SRID=4674;POINT (-40.121708 -2.814439)'))) / (select extract(epoch from '2026-08-19 17:46:12'::timestamp) - extract(epoch from '2026-08-19 17:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.121805 -2.814444)', '2026-08-19 17:46:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121708 -2.814439)'), GeomFromEWKT('SRID=4674;POINT (-40.121805 -2.814444)'))) / (select extract(epoch from '2026-08-19 17:46:26'::timestamp) - extract(epoch from '2026-08-19 17:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121708 -2.814439)'), GeomFromEWKT('SRID=4674;POINT (-40.121805 -2.814444)'))) / (select extract(epoch from '2026-08-19 17:46:26'::timestamp) - extract(epoch from '2026-08-19 17:46: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.12192 -2.814439)', '2026-08-19 17:46:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121805 -2.814444)'), GeomFromEWKT('SRID=4674;POINT (-40.12192 -2.814439)'))) / (select extract(epoch from '2026-08-19 17:46:43'::timestamp) - extract(epoch from '2026-08-19 17:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121805 -2.814444)'), GeomFromEWKT('SRID=4674;POINT (-40.12192 -2.814439)'))) / (select extract(epoch from '2026-08-19 17:46:43'::timestamp) - extract(epoch from '2026-08-19 17:46:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.122018 -2.814423)', '2026-08-19 17:46:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12192 -2.814439)'), GeomFromEWKT('SRID=4674;POINT (-40.122018 -2.814423)'))) / (select extract(epoch from '2026-08-19 17:46:56'::timestamp) - extract(epoch from '2026-08-19 17:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12192 -2.814439)'), GeomFromEWKT('SRID=4674;POINT (-40.122018 -2.814423)'))) / (select extract(epoch from '2026-08-19 17:46:56'::timestamp) - extract(epoch from '2026-08-19 17:46: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.122173 -2.814423)', '2026-08-19 17:47:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122018 -2.814423)'), GeomFromEWKT('SRID=4674;POINT (-40.122173 -2.814423)'))) / (select extract(epoch from '2026-08-19 17:47:15'::timestamp) - extract(epoch from '2026-08-19 17:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122018 -2.814423)'), GeomFromEWKT('SRID=4674;POINT (-40.122173 -2.814423)'))) / (select extract(epoch from '2026-08-19 17:47:15'::timestamp) - extract(epoch from '2026-08-19 17:46:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.122327 -2.814413)', '2026-08-19 17:47:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122173 -2.814423)'), GeomFromEWKT('SRID=4674;POINT (-40.122327 -2.814413)'))) / (select extract(epoch from '2026-08-19 17:47:34'::timestamp) - extract(epoch from '2026-08-19 17:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122173 -2.814423)'), GeomFromEWKT('SRID=4674;POINT (-40.122327 -2.814413)'))) / (select extract(epoch from '2026-08-19 17:47:34'::timestamp) - extract(epoch from '2026-08-19 17:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.122435 -2.814393)', '2026-08-19 17:47:49', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122327 -2.814413)'), GeomFromEWKT('SRID=4674;POINT (-40.122435 -2.814393)'))) / (select extract(epoch from '2026-08-19 17:47:49'::timestamp) - extract(epoch from '2026-08-19 17:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122327 -2.814413)'), GeomFromEWKT('SRID=4674;POINT (-40.122435 -2.814393)'))) / (select extract(epoch from '2026-08-19 17:47:49'::timestamp) - extract(epoch from '2026-08-19 17:47: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.122551 -2.81439)', '2026-08-19 17:48:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122435 -2.814393)'), GeomFromEWKT('SRID=4674;POINT (-40.122551 -2.81439)'))) / (select extract(epoch from '2026-08-19 17:48:06'::timestamp) - extract(epoch from '2026-08-19 17:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122435 -2.814393)'), GeomFromEWKT('SRID=4674;POINT (-40.122551 -2.81439)'))) / (select extract(epoch from '2026-08-19 17:48:06'::timestamp) - extract(epoch from '2026-08-19 17:47: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.122679 -2.814381)', '2026-08-19 17:48:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122551 -2.81439)'), GeomFromEWKT('SRID=4674;POINT (-40.122679 -2.814381)'))) / (select extract(epoch from '2026-08-19 17:48:23'::timestamp) - extract(epoch from '2026-08-19 17:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122551 -2.81439)'), GeomFromEWKT('SRID=4674;POINT (-40.122679 -2.814381)'))) / (select extract(epoch from '2026-08-19 17:48:23'::timestamp) - extract(epoch from '2026-08-19 17:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12281 -2.814353)', '2026-08-19 17:48:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122679 -2.814381)'), GeomFromEWKT('SRID=4674;POINT (-40.12281 -2.814353)'))) / (select extract(epoch from '2026-08-19 17:48:40'::timestamp) - extract(epoch from '2026-08-19 17:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122679 -2.814381)'), GeomFromEWKT('SRID=4674;POINT (-40.12281 -2.814353)'))) / (select extract(epoch from '2026-08-19 17:48:40'::timestamp) - extract(epoch from '2026-08-19 17:48: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.122923 -2.814349)', '2026-08-19 17:48:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12281 -2.814353)'), GeomFromEWKT('SRID=4674;POINT (-40.122923 -2.814349)'))) / (select extract(epoch from '2026-08-19 17:48:54'::timestamp) - extract(epoch from '2026-08-19 17:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12281 -2.814353)'), GeomFromEWKT('SRID=4674;POINT (-40.122923 -2.814349)'))) / (select extract(epoch from '2026-08-19 17:48:54'::timestamp) - extract(epoch from '2026-08-19 17:48: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.123015 -2.81433)', '2026-08-19 17:49:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122923 -2.814349)'), GeomFromEWKT('SRID=4674;POINT (-40.123015 -2.81433)'))) / (select extract(epoch from '2026-08-19 17:49:08'::timestamp) - extract(epoch from '2026-08-19 17:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122923 -2.814349)'), GeomFromEWKT('SRID=4674;POINT (-40.123015 -2.81433)'))) / (select extract(epoch from '2026-08-19 17:49:08'::timestamp) - extract(epoch from '2026-08-19 17:48: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.123128 -2.814307)', '2026-08-19 17:49:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123015 -2.81433)'), GeomFromEWKT('SRID=4674;POINT (-40.123128 -2.814307)'))) / (select extract(epoch from '2026-08-19 17:49:26'::timestamp) - extract(epoch from '2026-08-19 17:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123015 -2.81433)'), GeomFromEWKT('SRID=4674;POINT (-40.123128 -2.814307)'))) / (select extract(epoch from '2026-08-19 17:49:26'::timestamp) - extract(epoch from '2026-08-19 17:49: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.123227 -2.814291)', '2026-08-19 17:49:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123128 -2.814307)'), GeomFromEWKT('SRID=4674;POINT (-40.123227 -2.814291)'))) / (select extract(epoch from '2026-08-19 17:49:39'::timestamp) - extract(epoch from '2026-08-19 17:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123128 -2.814307)'), GeomFromEWKT('SRID=4674;POINT (-40.123227 -2.814291)'))) / (select extract(epoch from '2026-08-19 17:49:39'::timestamp) - extract(epoch from '2026-08-19 17:49: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.12335 -2.814296)', '2026-08-19 17:49:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123227 -2.814291)'), GeomFromEWKT('SRID=4674;POINT (-40.12335 -2.814296)'))) / (select extract(epoch from '2026-08-19 17:49:54'::timestamp) - extract(epoch from '2026-08-19 17:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123227 -2.814291)'), GeomFromEWKT('SRID=4674;POINT (-40.12335 -2.814296)'))) / (select extract(epoch from '2026-08-19 17:49:54'::timestamp) - extract(epoch from '2026-08-19 17:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.123474 -2.814255)', '2026-08-19 17:50:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12335 -2.814296)'), GeomFromEWKT('SRID=4674;POINT (-40.123474 -2.814255)'))) / (select extract(epoch from '2026-08-19 17:50:12'::timestamp) - extract(epoch from '2026-08-19 17:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12335 -2.814296)'), GeomFromEWKT('SRID=4674;POINT (-40.123474 -2.814255)'))) / (select extract(epoch from '2026-08-19 17:50:12'::timestamp) - extract(epoch from '2026-08-19 17: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.123577 -2.814238)', '2026-08-19 17:50:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123474 -2.814255)'), GeomFromEWKT('SRID=4674;POINT (-40.123577 -2.814238)'))) / (select extract(epoch from '2026-08-19 17:50:27'::timestamp) - extract(epoch from '2026-08-19 17:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123474 -2.814255)'), GeomFromEWKT('SRID=4674;POINT (-40.123577 -2.814238)'))) / (select extract(epoch from '2026-08-19 17:50:27'::timestamp) - extract(epoch from '2026-08-19 17:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.123677 -2.814231)', '2026-08-19 17:50:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123577 -2.814238)'), GeomFromEWKT('SRID=4674;POINT (-40.123677 -2.814231)'))) / (select extract(epoch from '2026-08-19 17:50:41'::timestamp) - extract(epoch from '2026-08-19 17:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123577 -2.814238)'), GeomFromEWKT('SRID=4674;POINT (-40.123677 -2.814231)'))) / (select extract(epoch from '2026-08-19 17:50:41'::timestamp) - extract(epoch from '2026-08-19 17:50: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.123795 -2.814213)', '2026-08-19 17:50:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123677 -2.814231)'), GeomFromEWKT('SRID=4674;POINT (-40.123795 -2.814213)'))) / (select extract(epoch from '2026-08-19 17:50:59'::timestamp) - extract(epoch from '2026-08-19 17:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123677 -2.814231)'), GeomFromEWKT('SRID=4674;POINT (-40.123795 -2.814213)'))) / (select extract(epoch from '2026-08-19 17:50:59'::timestamp) - extract(epoch from '2026-08-19 17:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.123909 -2.81421)', '2026-08-19 17:51:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123795 -2.814213)'), GeomFromEWKT('SRID=4674;POINT (-40.123909 -2.81421)'))) / (select extract(epoch from '2026-08-19 17:51:14'::timestamp) - extract(epoch from '2026-08-19 17:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123795 -2.814213)'), GeomFromEWKT('SRID=4674;POINT (-40.123909 -2.81421)'))) / (select extract(epoch from '2026-08-19 17:51:14'::timestamp) - extract(epoch from '2026-08-19 17:50: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.12402 -2.8142)', '2026-08-19 17:51:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123909 -2.81421)'), GeomFromEWKT('SRID=4674;POINT (-40.12402 -2.8142)'))) / (select extract(epoch from '2026-08-19 17:51:30'::timestamp) - extract(epoch from '2026-08-19 17:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123909 -2.81421)'), GeomFromEWKT('SRID=4674;POINT (-40.12402 -2.8142)'))) / (select extract(epoch from '2026-08-19 17:51:30'::timestamp) - extract(epoch from '2026-08-19 17:51: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.124111 -2.814189)', '2026-08-19 17:51:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12402 -2.8142)'), GeomFromEWKT('SRID=4674;POINT (-40.124111 -2.814189)'))) / (select extract(epoch from '2026-08-19 17:51:43'::timestamp) - extract(epoch from '2026-08-19 17:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12402 -2.8142)'), GeomFromEWKT('SRID=4674;POINT (-40.124111 -2.814189)'))) / (select extract(epoch from '2026-08-19 17:51:43'::timestamp) - extract(epoch from '2026-08-19 17:51: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.124197 -2.814169)', '2026-08-19 17:51:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124111 -2.814189)'), GeomFromEWKT('SRID=4674;POINT (-40.124197 -2.814169)'))) / (select extract(epoch from '2026-08-19 17:51:57'::timestamp) - extract(epoch from '2026-08-19 17:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124111 -2.814189)'), GeomFromEWKT('SRID=4674;POINT (-40.124197 -2.814169)'))) / (select extract(epoch from '2026-08-19 17:51:57'::timestamp) - extract(epoch from '2026-08-19 17:51: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.124303 -2.814146)', '2026-08-19 17:52:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124197 -2.814169)'), GeomFromEWKT('SRID=4674;POINT (-40.124303 -2.814146)'))) / (select extract(epoch from '2026-08-19 17:52:13'::timestamp) - extract(epoch from '2026-08-19 17:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124197 -2.814169)'), GeomFromEWKT('SRID=4674;POINT (-40.124303 -2.814146)'))) / (select extract(epoch from '2026-08-19 17:52:13'::timestamp) - extract(epoch from '2026-08-19 17:51: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.124385 -2.814143)', '2026-08-19 17:52:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124303 -2.814146)'), GeomFromEWKT('SRID=4674;POINT (-40.124385 -2.814143)'))) / (select extract(epoch from '2026-08-19 17:52:25'::timestamp) - extract(epoch from '2026-08-19 17:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124303 -2.814146)'), GeomFromEWKT('SRID=4674;POINT (-40.124385 -2.814143)'))) / (select extract(epoch from '2026-08-19 17:52:25'::timestamp) - extract(epoch from '2026-08-19 17:52: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.124481 -2.814135)', '2026-08-19 17:52:38', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124385 -2.814143)'), GeomFromEWKT('SRID=4674;POINT (-40.124481 -2.814135)'))) / (select extract(epoch from '2026-08-19 17:52:38'::timestamp) - extract(epoch from '2026-08-19 17:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124385 -2.814143)'), GeomFromEWKT('SRID=4674;POINT (-40.124481 -2.814135)'))) / (select extract(epoch from '2026-08-19 17:52:38'::timestamp) - extract(epoch from '2026-08-19 17:52: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.124614 -2.814119)', '2026-08-19 17:52:55', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124481 -2.814135)'), GeomFromEWKT('SRID=4674;POINT (-40.124614 -2.814119)'))) / (select extract(epoch from '2026-08-19 17:52:55'::timestamp) - extract(epoch from '2026-08-19 17:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124481 -2.814135)'), GeomFromEWKT('SRID=4674;POINT (-40.124614 -2.814119)'))) / (select extract(epoch from '2026-08-19 17:52:55'::timestamp) - extract(epoch from '2026-08-19 17:52: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.124725 -2.814105)', '2026-08-19 17:53:11', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124614 -2.814119)'), GeomFromEWKT('SRID=4674;POINT (-40.124725 -2.814105)'))) / (select extract(epoch from '2026-08-19 17:53:11'::timestamp) - extract(epoch from '2026-08-19 17:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124614 -2.814119)'), GeomFromEWKT('SRID=4674;POINT (-40.124725 -2.814105)'))) / (select extract(epoch from '2026-08-19 17:53:11'::timestamp) - extract(epoch from '2026-08-19 17:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.124871 -2.814082)', '2026-08-19 17:53:30', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124725 -2.814105)'), GeomFromEWKT('SRID=4674;POINT (-40.124871 -2.814082)'))) / (select extract(epoch from '2026-08-19 17:53:30'::timestamp) - extract(epoch from '2026-08-19 17:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124725 -2.814105)'), GeomFromEWKT('SRID=4674;POINT (-40.124871 -2.814082)'))) / (select extract(epoch from '2026-08-19 17:53:30'::timestamp) - extract(epoch from '2026-08-19 17:53: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.124942 -2.81407)', '2026-08-19 17:53:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124871 -2.814082)'), GeomFromEWKT('SRID=4674;POINT (-40.124942 -2.81407)'))) / (select extract(epoch from '2026-08-19 17:53:44'::timestamp) - extract(epoch from '2026-08-19 17:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124871 -2.814082)'), GeomFromEWKT('SRID=4674;POINT (-40.124942 -2.81407)'))) / (select extract(epoch from '2026-08-19 17:53:44'::timestamp) - extract(epoch from '2026-08-19 17:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125041 -2.814052)', '2026-08-19 17:53:58', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124942 -2.81407)'), GeomFromEWKT('SRID=4674;POINT (-40.125041 -2.814052)'))) / (select extract(epoch from '2026-08-19 17:53:58'::timestamp) - extract(epoch from '2026-08-19 17:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124942 -2.81407)'), GeomFromEWKT('SRID=4674;POINT (-40.125041 -2.814052)'))) / (select extract(epoch from '2026-08-19 17:53:58'::timestamp) - extract(epoch from '2026-08-19 17: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.125162 -2.814029)', '2026-08-19 17:54:16', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125041 -2.814052)'), GeomFromEWKT('SRID=4674;POINT (-40.125162 -2.814029)'))) / (select extract(epoch from '2026-08-19 17:54:16'::timestamp) - extract(epoch from '2026-08-19 17:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125041 -2.814052)'), GeomFromEWKT('SRID=4674;POINT (-40.125162 -2.814029)'))) / (select extract(epoch from '2026-08-19 17:54:16'::timestamp) - extract(epoch from '2026-08-19 17: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.125285 -2.81402)', '2026-08-19 17:54:31', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125162 -2.814029)'), GeomFromEWKT('SRID=4674;POINT (-40.125285 -2.81402)'))) / (select extract(epoch from '2026-08-19 17:54:31'::timestamp) - extract(epoch from '2026-08-19 17:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125162 -2.814029)'), GeomFromEWKT('SRID=4674;POINT (-40.125285 -2.81402)'))) / (select extract(epoch from '2026-08-19 17:54:31'::timestamp) - extract(epoch from '2026-08-19 17: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.125413 -2.813984)', '2026-08-19 17:54:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125285 -2.81402)'), GeomFromEWKT('SRID=4674;POINT (-40.125413 -2.813984)'))) / (select extract(epoch from '2026-08-19 17:54:49'::timestamp) - extract(epoch from '2026-08-19 17:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125285 -2.81402)'), GeomFromEWKT('SRID=4674;POINT (-40.125413 -2.813984)'))) / (select extract(epoch from '2026-08-19 17:54:49'::timestamp) - extract(epoch from '2026-08-19 17:54: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.125508 -2.813974)', '2026-08-19 17:55:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125413 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.125508 -2.813974)'))) / (select extract(epoch from '2026-08-19 17:55:04'::timestamp) - extract(epoch from '2026-08-19 17:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125413 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.125508 -2.813974)'))) / (select extract(epoch from '2026-08-19 17:55:04'::timestamp) - extract(epoch from '2026-08-19 17:54:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125625 -2.813986)', '2026-08-19 17:55:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125508 -2.813974)'), GeomFromEWKT('SRID=4674;POINT (-40.125625 -2.813986)'))) / (select extract(epoch from '2026-08-19 17:55:19'::timestamp) - extract(epoch from '2026-08-19 17:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125508 -2.813974)'), GeomFromEWKT('SRID=4674;POINT (-40.125625 -2.813986)'))) / (select extract(epoch from '2026-08-19 17:55:19'::timestamp) - extract(epoch from '2026-08-19 17:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125761 -2.813992)', '2026-08-19 17:55:37', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125625 -2.813986)'), GeomFromEWKT('SRID=4674;POINT (-40.125761 -2.813992)'))) / (select extract(epoch from '2026-08-19 17:55:37'::timestamp) - extract(epoch from '2026-08-19 17:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125625 -2.813986)'), GeomFromEWKT('SRID=4674;POINT (-40.125761 -2.813992)'))) / (select extract(epoch from '2026-08-19 17:55:37'::timestamp) - extract(epoch from '2026-08-19 17:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12583 -2.813989)', '2026-08-19 17:55:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125761 -2.813992)'), GeomFromEWKT('SRID=4674;POINT (-40.12583 -2.813989)'))) / (select extract(epoch from '2026-08-19 17:55:45'::timestamp) - extract(epoch from '2026-08-19 17:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125761 -2.813992)'), GeomFromEWKT('SRID=4674;POINT (-40.12583 -2.813989)'))) / (select extract(epoch from '2026-08-19 17:55:45'::timestamp) - extract(epoch from '2026-08-19 17:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125961 -2.813967)', '2026-08-19 17:56:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12583 -2.813989)'), GeomFromEWKT('SRID=4674;POINT (-40.125961 -2.813967)'))) / (select extract(epoch from '2026-08-19 17:56:02'::timestamp) - extract(epoch from '2026-08-19 17:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12583 -2.813989)'), GeomFromEWKT('SRID=4674;POINT (-40.125961 -2.813967)'))) / (select extract(epoch from '2026-08-19 17:56:02'::timestamp) - extract(epoch from '2026-08-19 17:55: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.126086 -2.813934)', '2026-08-19 17:56:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125961 -2.813967)'), GeomFromEWKT('SRID=4674;POINT (-40.126086 -2.813934)'))) / (select extract(epoch from '2026-08-19 17:56:17'::timestamp) - extract(epoch from '2026-08-19 17:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125961 -2.813967)'), GeomFromEWKT('SRID=4674;POINT (-40.126086 -2.813934)'))) / (select extract(epoch from '2026-08-19 17:56:17'::timestamp) - extract(epoch from '2026-08-19 17:56: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.126198 -2.813902)', '2026-08-19 17:56:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126086 -2.813934)'), GeomFromEWKT('SRID=4674;POINT (-40.126198 -2.813902)'))) / (select extract(epoch from '2026-08-19 17:56:33'::timestamp) - extract(epoch from '2026-08-19 17:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126086 -2.813934)'), GeomFromEWKT('SRID=4674;POINT (-40.126198 -2.813902)'))) / (select extract(epoch from '2026-08-19 17:56:33'::timestamp) - extract(epoch from '2026-08-19 17:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126301 -2.813891)', '2026-08-19 17:56:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126198 -2.813902)'), GeomFromEWKT('SRID=4674;POINT (-40.126301 -2.813891)'))) / (select extract(epoch from '2026-08-19 17:56:50'::timestamp) - extract(epoch from '2026-08-19 17:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126198 -2.813902)'), GeomFromEWKT('SRID=4674;POINT (-40.126301 -2.813891)'))) / (select extract(epoch from '2026-08-19 17:56:50'::timestamp) - extract(epoch from '2026-08-19 17:56:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126315 -2.813936)', '2026-08-19 17:57:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126301 -2.813891)'), GeomFromEWKT('SRID=4674;POINT (-40.126315 -2.813936)'))) / (select extract(epoch from '2026-08-19 17:57:06'::timestamp) - extract(epoch from '2026-08-19 17:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126301 -2.813891)'), GeomFromEWKT('SRID=4674;POINT (-40.126315 -2.813936)'))) / (select extract(epoch from '2026-08-19 17:57:06'::timestamp) - extract(epoch from '2026-08-19 17:56: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.126302 -2.813968)', '2026-08-19 17:57:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126315 -2.813936)'), GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.813968)'))) / (select extract(epoch from '2026-08-19 17:57:20'::timestamp) - extract(epoch from '2026-08-19 17:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126315 -2.813936)'), GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.813968)'))) / (select extract(epoch from '2026-08-19 17:57:20'::timestamp) - extract(epoch from '2026-08-19 17: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.1263 -2.813961)', '2026-08-19 17:57:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.813968)'), GeomFromEWKT('SRID=4674;POINT (-40.1263 -2.813961)'))) / (select extract(epoch from '2026-08-19 17:57:31'::timestamp) - extract(epoch from '2026-08-19 17:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.813968)'), GeomFromEWKT('SRID=4674;POINT (-40.1263 -2.813961)'))) / (select extract(epoch from '2026-08-19 17:57:31'::timestamp) - extract(epoch from '2026-08-19 17: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.126297 -2.813973)', '2026-08-19 17:57:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1263 -2.813961)'), GeomFromEWKT('SRID=4674;POINT (-40.126297 -2.813973)'))) / (select extract(epoch from '2026-08-19 17:57:43'::timestamp) - extract(epoch from '2026-08-19 17:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1263 -2.813961)'), GeomFromEWKT('SRID=4674;POINT (-40.126297 -2.813973)'))) / (select extract(epoch from '2026-08-19 17:57:43'::timestamp) - extract(epoch from '2026-08-19 17: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.126285 -2.813988)', '2026-08-19 17:58:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126297 -2.813973)'), GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813988)'))) / (select extract(epoch from '2026-08-19 17:58:07'::timestamp) - extract(epoch from '2026-08-19 17:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126297 -2.813973)'), GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813988)'))) / (select extract(epoch from '2026-08-19 17:58:07'::timestamp) - extract(epoch from '2026-08-19 17: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.126285 -2.813977)', '2026-08-19 17:58:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813988)'), GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813977)'))) / (select extract(epoch from '2026-08-19 17:58:18'::timestamp) - extract(epoch from '2026-08-19 17:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813988)'), GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813977)'))) / (select extract(epoch from '2026-08-19 17:58:18'::timestamp) - extract(epoch from '2026-08-19 17:58:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12629 -2.813984)', '2026-08-19 17:58:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813977)'), GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813984)'))) / (select extract(epoch from '2026-08-19 17:58:28'::timestamp) - extract(epoch from '2026-08-19 17:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813977)'), GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813984)'))) / (select extract(epoch from '2026-08-19 17:58:28'::timestamp) - extract(epoch from '2026-08-19 17:58: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.12629 -2.813991)', '2026-08-19 17:58:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813991)'))) / (select extract(epoch from '2026-08-19 17:58:46'::timestamp) - extract(epoch from '2026-08-19 17:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813991)'))) / (select extract(epoch from '2026-08-19 17:58:46'::timestamp) - extract(epoch from '2026-08-19 17:58: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.12629 -2.813993)', '2026-08-19 17:59:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813991)'), GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813993)'))) / (select extract(epoch from '2026-08-19 17:59:06'::timestamp) - extract(epoch from '2026-08-19 17:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813991)'), GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813993)'))) / (select extract(epoch from '2026-08-19 17:59:06'::timestamp) - extract(epoch from '2026-08-19 17:58: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.126283 -2.813987)', '2026-08-19 17:59:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813993)'), GeomFromEWKT('SRID=4674;POINT (-40.126283 -2.813987)'))) / (select extract(epoch from '2026-08-19 17:59:20'::timestamp) - extract(epoch from '2026-08-19 17:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.813993)'), GeomFromEWKT('SRID=4674;POINT (-40.126283 -2.813987)'))) / (select extract(epoch from '2026-08-19 17:59:20'::timestamp) - extract(epoch from '2026-08-19 17:59: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.126276 -2.813996)', '2026-08-19 17:59:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126283 -2.813987)'), GeomFromEWKT('SRID=4674;POINT (-40.126276 -2.813996)'))) / (select extract(epoch from '2026-08-19 17:59:32'::timestamp) - extract(epoch from '2026-08-19 17:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126283 -2.813987)'), GeomFromEWKT('SRID=4674;POINT (-40.126276 -2.813996)'))) / (select extract(epoch from '2026-08-19 17:59:32'::timestamp) - extract(epoch from '2026-08-19 17: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.126277 -2.813998)', '2026-08-19 17:59:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126276 -2.813996)'), GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.813998)'))) / (select extract(epoch from '2026-08-19 17:59:49'::timestamp) - extract(epoch from '2026-08-19 17:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126276 -2.813996)'), GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.813998)'))) / (select extract(epoch from '2026-08-19 17:59:49'::timestamp) - extract(epoch from '2026-08-19 17:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126275 -2.813999)', '2026-08-19 18:00:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.813998)'), GeomFromEWKT('SRID=4674;POINT (-40.126275 -2.813999)'))) / (select extract(epoch from '2026-08-19 18:00:01'::timestamp) - extract(epoch from '2026-08-19 17:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.813998)'), GeomFromEWKT('SRID=4674;POINT (-40.126275 -2.813999)'))) / (select extract(epoch from '2026-08-19 18:00:01'::timestamp) - extract(epoch from '2026-08-19 17:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126273 -2.814007)', '2026-08-19 18:00:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126275 -2.813999)'), GeomFromEWKT('SRID=4674;POINT (-40.126273 -2.814007)'))) / (select extract(epoch from '2026-08-19 18:00:13'::timestamp) - extract(epoch from '2026-08-19 18:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126275 -2.813999)'), GeomFromEWKT('SRID=4674;POINT (-40.126273 -2.814007)'))) / (select extract(epoch from '2026-08-19 18:00:13'::timestamp) - extract(epoch from '2026-08-19 18:00: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.126277 -2.814002)', '2026-08-19 18:00:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126273 -2.814007)'), GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.814002)'))) / (select extract(epoch from '2026-08-19 18:00:37'::timestamp) - extract(epoch from '2026-08-19 18:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126273 -2.814007)'), GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.814002)'))) / (select extract(epoch from '2026-08-19 18:00:37'::timestamp) - extract(epoch from '2026-08-19 18:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126277 -2.813997)', '2026-08-19 18:00:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.814002)'), GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.813997)'))) / (select extract(epoch from '2026-08-19 18:00:49'::timestamp) - extract(epoch from '2026-08-19 18:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.814002)'), GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.813997)'))) / (select extract(epoch from '2026-08-19 18:00:49'::timestamp) - extract(epoch from '2026-08-19 18:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126283 -2.814001)', '2026-08-19 18:01:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.813997)'), GeomFromEWKT('SRID=4674;POINT (-40.126283 -2.814001)'))) / (select extract(epoch from '2026-08-19 18:01:08'::timestamp) - extract(epoch from '2026-08-19 18:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126277 -2.813997)'), GeomFromEWKT('SRID=4674;POINT (-40.126283 -2.814001)'))) / (select extract(epoch from '2026-08-19 18:01:08'::timestamp) - extract(epoch from '2026-08-19 18:00: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.126288 -2.81399)', '2026-08-19 18:01:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126283 -2.814001)'), GeomFromEWKT('SRID=4674;POINT (-40.126288 -2.81399)'))) / (select extract(epoch from '2026-08-19 18:01:23'::timestamp) - extract(epoch from '2026-08-19 18:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126283 -2.814001)'), GeomFromEWKT('SRID=4674;POINT (-40.126288 -2.81399)'))) / (select extract(epoch from '2026-08-19 18:01:23'::timestamp) - extract(epoch from '2026-08-19 18:01: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.12629 -2.814004)', '2026-08-19 18:01:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126288 -2.81399)'), GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.814004)'))) / (select extract(epoch from '2026-08-19 18:01:41'::timestamp) - extract(epoch from '2026-08-19 18:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126288 -2.81399)'), GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.814004)'))) / (select extract(epoch from '2026-08-19 18:01:41'::timestamp) - extract(epoch from '2026-08-19 18:01: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.126289 -2.814016)', '2026-08-19 18:02:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.814004)'), GeomFromEWKT('SRID=4674;POINT (-40.126289 -2.814016)'))) / (select extract(epoch from '2026-08-19 18:02:01'::timestamp) - extract(epoch from '2026-08-19 18:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12629 -2.814004)'), GeomFromEWKT('SRID=4674;POINT (-40.126289 -2.814016)'))) / (select extract(epoch from '2026-08-19 18:02:01'::timestamp) - extract(epoch from '2026-08-19 18:01: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.126292 -2.814003)', '2026-08-19 18:02:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126289 -2.814016)'), GeomFromEWKT('SRID=4674;POINT (-40.126292 -2.814003)'))) / (select extract(epoch from '2026-08-19 18:02:09'::timestamp) - extract(epoch from '2026-08-19 18:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126289 -2.814016)'), GeomFromEWKT('SRID=4674;POINT (-40.126292 -2.814003)'))) / (select extract(epoch from '2026-08-19 18:02:09'::timestamp) - extract(epoch from '2026-08-19 18:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126294 -2.814011)', '2026-08-19 18:02:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126292 -2.814003)'), GeomFromEWKT('SRID=4674;POINT (-40.126294 -2.814011)'))) / (select extract(epoch from '2026-08-19 18:02:26'::timestamp) - extract(epoch from '2026-08-19 18:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126292 -2.814003)'), GeomFromEWKT('SRID=4674;POINT (-40.126294 -2.814011)'))) / (select extract(epoch from '2026-08-19 18:02:26'::timestamp) - extract(epoch from '2026-08-19 18:02: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.126299 -2.813998)', '2026-08-19 18:02:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126294 -2.814011)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813998)'))) / (select extract(epoch from '2026-08-19 18:02:44'::timestamp) - extract(epoch from '2026-08-19 18:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126294 -2.814011)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813998)'))) / (select extract(epoch from '2026-08-19 18:02:44'::timestamp) - extract(epoch from '2026-08-19 18: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.126302 -2.813988)', '2026-08-19 18:02:53', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813998)'), GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.813988)'))) / (select extract(epoch from '2026-08-19 18:02:53'::timestamp) - extract(epoch from '2026-08-19 18:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813998)'), GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.813988)'))) / (select extract(epoch from '2026-08-19 18:02:53'::timestamp) - extract(epoch from '2026-08-19 18:02: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.126304 -2.813991)', '2026-08-19 18:03:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.813988)'), GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813991)'))) / (select extract(epoch from '2026-08-19 18:03:07'::timestamp) - extract(epoch from '2026-08-19 18:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.813988)'), GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813991)'))) / (select extract(epoch from '2026-08-19 18:03:07'::timestamp) - extract(epoch from '2026-08-19 18:02: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.126299 -2.813989)', '2026-08-19 18:03:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813991)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813989)'))) / (select extract(epoch from '2026-08-19 18:03:20'::timestamp) - extract(epoch from '2026-08-19 18:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813991)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813989)'))) / (select extract(epoch from '2026-08-19 18:03:20'::timestamp) - extract(epoch from '2026-08-19 18:03: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.126299 -2.813998)', '2026-08-19 18:03:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813989)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813998)'))) / (select extract(epoch from '2026-08-19 18:03:37'::timestamp) - extract(epoch from '2026-08-19 18:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813989)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813998)'))) / (select extract(epoch from '2026-08-19 18:03:37'::timestamp) - extract(epoch from '2026-08-19 18:03:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126298 -2.81398)', '2026-08-19 18:03:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813998)'), GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.81398)'))) / (select extract(epoch from '2026-08-19 18:03:55'::timestamp) - extract(epoch from '2026-08-19 18:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813998)'), GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.81398)'))) / (select extract(epoch from '2026-08-19 18:03:55'::timestamp) - extract(epoch from '2026-08-19 18:03:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126299 -2.813986)', '2026-08-19 18:04:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.81398)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813986)'))) / (select extract(epoch from '2026-08-19 18:04:06'::timestamp) - extract(epoch from '2026-08-19 18:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.81398)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813986)'))) / (select extract(epoch from '2026-08-19 18:04:06'::timestamp) - extract(epoch from '2026-08-19 18:03: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.126298 -2.813969)', '2026-08-19 18:04:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813986)'), GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813969)'))) / (select extract(epoch from '2026-08-19 18:04:20'::timestamp) - extract(epoch from '2026-08-19 18:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813986)'), GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813969)'))) / (select extract(epoch from '2026-08-19 18:04:20'::timestamp) - extract(epoch from '2026-08-19 18:04: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.126294 -2.813976)', '2026-08-19 18:04:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813969)'), GeomFromEWKT('SRID=4674;POINT (-40.126294 -2.813976)'))) / (select extract(epoch from '2026-08-19 18:04:36'::timestamp) - extract(epoch from '2026-08-19 18:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813969)'), GeomFromEWKT('SRID=4674;POINT (-40.126294 -2.813976)'))) / (select extract(epoch from '2026-08-19 18:04:36'::timestamp) - extract(epoch from '2026-08-19 18: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.126291 -2.813975)', '2026-08-19 18:04:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126294 -2.813976)'), GeomFromEWKT('SRID=4674;POINT (-40.126291 -2.813975)'))) / (select extract(epoch from '2026-08-19 18:04:50'::timestamp) - extract(epoch from '2026-08-19 18:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126294 -2.813976)'), GeomFromEWKT('SRID=4674;POINT (-40.126291 -2.813975)'))) / (select extract(epoch from '2026-08-19 18:04:50'::timestamp) - extract(epoch from '2026-08-19 18:04: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.126285 -2.813974)', '2026-08-19 18:05:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126291 -2.813975)'), GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813974)'))) / (select extract(epoch from '2026-08-19 18:05:09'::timestamp) - extract(epoch from '2026-08-19 18:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126291 -2.813975)'), GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813974)'))) / (select extract(epoch from '2026-08-19 18:05:09'::timestamp) - extract(epoch from '2026-08-19 18:04: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.126286 -2.813988)', '2026-08-19 18:05:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813974)'), GeomFromEWKT('SRID=4674;POINT (-40.126286 -2.813988)'))) / (select extract(epoch from '2026-08-19 18:05:22'::timestamp) - extract(epoch from '2026-08-19 18:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126285 -2.813974)'), GeomFromEWKT('SRID=4674;POINT (-40.126286 -2.813988)'))) / (select extract(epoch from '2026-08-19 18:05:22'::timestamp) - extract(epoch from '2026-08-19 18:05: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.126287 -2.813983)', '2026-08-19 18:05:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126286 -2.813988)'), GeomFromEWKT('SRID=4674;POINT (-40.126287 -2.813983)'))) / (select extract(epoch from '2026-08-19 18:05:41'::timestamp) - extract(epoch from '2026-08-19 18:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126286 -2.813988)'), GeomFromEWKT('SRID=4674;POINT (-40.126287 -2.813983)'))) / (select extract(epoch from '2026-08-19 18:05:41'::timestamp) - extract(epoch from '2026-08-19 18:05: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.126289 -2.813984)', '2026-08-19 18:05:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126287 -2.813983)'), GeomFromEWKT('SRID=4674;POINT (-40.126289 -2.813984)'))) / (select extract(epoch from '2026-08-19 18:05:59'::timestamp) - extract(epoch from '2026-08-19 18:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126287 -2.813983)'), GeomFromEWKT('SRID=4674;POINT (-40.126289 -2.813984)'))) / (select extract(epoch from '2026-08-19 18:05:59'::timestamp) - extract(epoch from '2026-08-19 18:05: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.126291 -2.813974)', '2026-08-19 18:06:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126289 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.126291 -2.813974)'))) / (select extract(epoch from '2026-08-19 18:06:17'::timestamp) - extract(epoch from '2026-08-19 18:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126289 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.126291 -2.813974)'))) / (select extract(epoch from '2026-08-19 18:06:17'::timestamp) - extract(epoch from '2026-08-19 18:05: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.126301 -2.813976)', '2026-08-19 18:06:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126291 -2.813974)'), GeomFromEWKT('SRID=4674;POINT (-40.126301 -2.813976)'))) / (select extract(epoch from '2026-08-19 18:06:39'::timestamp) - extract(epoch from '2026-08-19 18:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126291 -2.813974)'), GeomFromEWKT('SRID=4674;POINT (-40.126301 -2.813976)'))) / (select extract(epoch from '2026-08-19 18:06:39'::timestamp) - extract(epoch from '2026-08-19 18: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.126303 -2.813968)', '2026-08-19 18:06:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126301 -2.813976)'), GeomFromEWKT('SRID=4674;POINT (-40.126303 -2.813968)'))) / (select extract(epoch from '2026-08-19 18:06:56'::timestamp) - extract(epoch from '2026-08-19 18:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126301 -2.813976)'), GeomFromEWKT('SRID=4674;POINT (-40.126303 -2.813968)'))) / (select extract(epoch from '2026-08-19 18:06:56'::timestamp) - extract(epoch from '2026-08-19 18:06: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.126298 -2.813954)', '2026-08-19 18:07:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126303 -2.813968)'), GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813954)'))) / (select extract(epoch from '2026-08-19 18:07:18'::timestamp) - extract(epoch from '2026-08-19 18:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126303 -2.813968)'), GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813954)'))) / (select extract(epoch from '2026-08-19 18:07:18'::timestamp) - extract(epoch from '2026-08-19 18:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126299 -2.813957)', '2026-08-19 18:07:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813954)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813957)'))) / (select extract(epoch from '2026-08-19 18:07:35'::timestamp) - extract(epoch from '2026-08-19 18:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813954)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813957)'))) / (select extract(epoch from '2026-08-19 18:07:35'::timestamp) - extract(epoch from '2026-08-19 18:07: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.126295 -2.813967)', '2026-08-19 18:07:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813957)'), GeomFromEWKT('SRID=4674;POINT (-40.126295 -2.813967)'))) / (select extract(epoch from '2026-08-19 18:07:46'::timestamp) - extract(epoch from '2026-08-19 18:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813957)'), GeomFromEWKT('SRID=4674;POINT (-40.126295 -2.813967)'))) / (select extract(epoch from '2026-08-19 18:07:46'::timestamp) - extract(epoch from '2026-08-19 18:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126299 -2.813977)', '2026-08-19 18:08:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126295 -2.813967)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813977)'))) / (select extract(epoch from '2026-08-19 18:08:05'::timestamp) - extract(epoch from '2026-08-19 18:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126295 -2.813967)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813977)'))) / (select extract(epoch from '2026-08-19 18:08:05'::timestamp) - extract(epoch from '2026-08-19 18:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126304 -2.813966)', '2026-08-19 18:08:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813977)'), GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813966)'))) / (select extract(epoch from '2026-08-19 18:08:21'::timestamp) - extract(epoch from '2026-08-19 18:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813977)'), GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813966)'))) / (select extract(epoch from '2026-08-19 18:08:21'::timestamp) - extract(epoch from '2026-08-19 18:08: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.126311 -2.813977)', '2026-08-19 18:08:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813966)'), GeomFromEWKT('SRID=4674;POINT (-40.126311 -2.813977)'))) / (select extract(epoch from '2026-08-19 18:08:35'::timestamp) - extract(epoch from '2026-08-19 18:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813966)'), GeomFromEWKT('SRID=4674;POINT (-40.126311 -2.813977)'))) / (select extract(epoch from '2026-08-19 18:08:35'::timestamp) - extract(epoch from '2026-08-19 18:08: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.126308 -2.813974)', '2026-08-19 18:08:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126311 -2.813977)'), GeomFromEWKT('SRID=4674;POINT (-40.126308 -2.813974)'))) / (select extract(epoch from '2026-08-19 18:08:49'::timestamp) - extract(epoch from '2026-08-19 18:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126311 -2.813977)'), GeomFromEWKT('SRID=4674;POINT (-40.126308 -2.813974)'))) / (select extract(epoch from '2026-08-19 18:08:49'::timestamp) - extract(epoch from '2026-08-19 18: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.126296 -2.813961)', '2026-08-19 18:09:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126308 -2.813974)'), GeomFromEWKT('SRID=4674;POINT (-40.126296 -2.813961)'))) / (select extract(epoch from '2026-08-19 18:09:07'::timestamp) - extract(epoch from '2026-08-19 18:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126308 -2.813974)'), GeomFromEWKT('SRID=4674;POINT (-40.126296 -2.813961)'))) / (select extract(epoch from '2026-08-19 18:09:07'::timestamp) - extract(epoch from '2026-08-19 18:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126297 -2.813981)', '2026-08-19 18:09:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126296 -2.813961)'), GeomFromEWKT('SRID=4674;POINT (-40.126297 -2.813981)'))) / (select extract(epoch from '2026-08-19 18:09:21'::timestamp) - extract(epoch from '2026-08-19 18:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126296 -2.813961)'), GeomFromEWKT('SRID=4674;POINT (-40.126297 -2.813981)'))) / (select extract(epoch from '2026-08-19 18:09:21'::timestamp) - extract(epoch from '2026-08-19 18:09: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.126298 -2.813981)', '2026-08-19 18:09:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126297 -2.813981)'), GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813981)'))) / (select extract(epoch from '2026-08-19 18:09:33'::timestamp) - extract(epoch from '2026-08-19 18:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126297 -2.813981)'), GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813981)'))) / (select extract(epoch from '2026-08-19 18:09:33'::timestamp) - extract(epoch from '2026-08-19 18:09: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.126296 -2.813984)', '2026-08-19 18:09:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813981)'), GeomFromEWKT('SRID=4674;POINT (-40.126296 -2.813984)'))) / (select extract(epoch from '2026-08-19 18:09:46'::timestamp) - extract(epoch from '2026-08-19 18:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126298 -2.813981)'), GeomFromEWKT('SRID=4674;POINT (-40.126296 -2.813984)'))) / (select extract(epoch from '2026-08-19 18:09:46'::timestamp) - extract(epoch from '2026-08-19 18:09: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.126295 -2.813985)', '2026-08-19 18:09:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126296 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.126295 -2.813985)'))) / (select extract(epoch from '2026-08-19 18:09:57'::timestamp) - extract(epoch from '2026-08-19 18:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126296 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.126295 -2.813985)'))) / (select extract(epoch from '2026-08-19 18:09:57'::timestamp) - extract(epoch from '2026-08-19 18:09: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.126299 -2.813982)', '2026-08-19 18:10:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126295 -2.813985)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813982)'))) / (select extract(epoch from '2026-08-19 18:10:12'::timestamp) - extract(epoch from '2026-08-19 18:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126295 -2.813985)'), GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813982)'))) / (select extract(epoch from '2026-08-19 18:10:12'::timestamp) - extract(epoch from '2026-08-19 18:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126305 -2.813984)', '2026-08-19 18:10:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813982)'), GeomFromEWKT('SRID=4674;POINT (-40.126305 -2.813984)'))) / (select extract(epoch from '2026-08-19 18:10:25'::timestamp) - extract(epoch from '2026-08-19 18:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126299 -2.813982)'), GeomFromEWKT('SRID=4674;POINT (-40.126305 -2.813984)'))) / (select extract(epoch from '2026-08-19 18:10:25'::timestamp) - extract(epoch from '2026-08-19 18:10: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.126304 -2.813981)', '2026-08-19 18:10:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126305 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813981)'))) / (select extract(epoch from '2026-08-19 18:10:41'::timestamp) - extract(epoch from '2026-08-19 18:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126305 -2.813984)'), GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813981)'))) / (select extract(epoch from '2026-08-19 18:10:41'::timestamp) - extract(epoch from '2026-08-19 18:10: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.126268 -2.813979)', '2026-08-19 18:10:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813981)'), GeomFromEWKT('SRID=4674;POINT (-40.126268 -2.813979)'))) / (select extract(epoch from '2026-08-19 18:10:50'::timestamp) - extract(epoch from '2026-08-19 18:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126304 -2.813981)'), GeomFromEWKT('SRID=4674;POINT (-40.126268 -2.813979)'))) / (select extract(epoch from '2026-08-19 18:10:50'::timestamp) - extract(epoch from '2026-08-19 18:10:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126179 -2.813987)', '2026-08-19 18:11:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126268 -2.813979)'), GeomFromEWKT('SRID=4674;POINT (-40.126179 -2.813987)'))) / (select extract(epoch from '2026-08-19 18:11:02'::timestamp) - extract(epoch from '2026-08-19 18:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126268 -2.813979)'), GeomFromEWKT('SRID=4674;POINT (-40.126179 -2.813987)'))) / (select extract(epoch from '2026-08-19 18:11:02'::timestamp) - extract(epoch from '2026-08-19 18:10: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.12609 -2.813926)', '2026-08-19 18:11:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126179 -2.813987)'), GeomFromEWKT('SRID=4674;POINT (-40.12609 -2.813926)'))) / (select extract(epoch from '2026-08-19 18:11:14'::timestamp) - extract(epoch from '2026-08-19 18:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126179 -2.813987)'), GeomFromEWKT('SRID=4674;POINT (-40.12609 -2.813926)'))) / (select extract(epoch from '2026-08-19 18:11:14'::timestamp) - extract(epoch from '2026-08-19 18:11: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.126109 -2.813903)', '2026-08-19 18:11:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12609 -2.813926)'), GeomFromEWKT('SRID=4674;POINT (-40.126109 -2.813903)'))) / (select extract(epoch from '2026-08-19 18:11:16'::timestamp) - extract(epoch from '2026-08-19 18:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12609 -2.813926)'), GeomFromEWKT('SRID=4674;POINT (-40.126109 -2.813903)'))) / (select extract(epoch from '2026-08-19 18:11:16'::timestamp) - extract(epoch from '2026-08-19 18:11: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.126146 -2.813879)', '2026-08-19 18:11:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126109 -2.813903)'), GeomFromEWKT('SRID=4674;POINT (-40.126146 -2.813879)'))) / (select extract(epoch from '2026-08-19 18:11:20'::timestamp) - extract(epoch from '2026-08-19 18:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126109 -2.813903)'), GeomFromEWKT('SRID=4674;POINT (-40.126146 -2.813879)'))) / (select extract(epoch from '2026-08-19 18:11:20'::timestamp) - extract(epoch from '2026-08-19 18: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.126252 -2.813893)', '2026-08-19 18:11:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126146 -2.813879)'), GeomFromEWKT('SRID=4674;POINT (-40.126252 -2.813893)'))) / (select extract(epoch from '2026-08-19 18:11:27'::timestamp) - extract(epoch from '2026-08-19 18:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126146 -2.813879)'), GeomFromEWKT('SRID=4674;POINT (-40.126252 -2.813893)'))) / (select extract(epoch from '2026-08-19 18:11:27'::timestamp) - extract(epoch from '2026-08-19 18:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126369 -2.813907)', '2026-08-19 18:11:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126252 -2.813893)'), GeomFromEWKT('SRID=4674;POINT (-40.126369 -2.813907)'))) / (select extract(epoch from '2026-08-19 18:11:33'::timestamp) - extract(epoch from '2026-08-19 18:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126252 -2.813893)'), GeomFromEWKT('SRID=4674;POINT (-40.126369 -2.813907)'))) / (select extract(epoch from '2026-08-19 18:11:33'::timestamp) - extract(epoch from '2026-08-19 18:11: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.126482 -2.81391)', '2026-08-19 18:11:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126369 -2.813907)'), GeomFromEWKT('SRID=4674;POINT (-40.126482 -2.81391)'))) / (select extract(epoch from '2026-08-19 18:11:39'::timestamp) - extract(epoch from '2026-08-19 18:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126369 -2.813907)'), GeomFromEWKT('SRID=4674;POINT (-40.126482 -2.81391)'))) / (select extract(epoch from '2026-08-19 18:11:39'::timestamp) - extract(epoch from '2026-08-19 18:11: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.126578 -2.813926)', '2026-08-19 18:11:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126482 -2.81391)'), GeomFromEWKT('SRID=4674;POINT (-40.126578 -2.813926)'))) / (select extract(epoch from '2026-08-19 18:11:45'::timestamp) - extract(epoch from '2026-08-19 18:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126482 -2.81391)'), GeomFromEWKT('SRID=4674;POINT (-40.126578 -2.813926)'))) / (select extract(epoch from '2026-08-19 18:11:45'::timestamp) - extract(epoch from '2026-08-19 18:11:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12668 -2.813983)', '2026-08-19 18:11:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126578 -2.813926)'), GeomFromEWKT('SRID=4674;POINT (-40.12668 -2.813983)'))) / (select extract(epoch from '2026-08-19 18:11:52'::timestamp) - extract(epoch from '2026-08-19 18:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126578 -2.813926)'), GeomFromEWKT('SRID=4674;POINT (-40.12668 -2.813983)'))) / (select extract(epoch from '2026-08-19 18:11:52'::timestamp) - extract(epoch from '2026-08-19 18: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.126829 -2.814064)', '2026-08-19 18:12:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12668 -2.813983)'), GeomFromEWKT('SRID=4674;POINT (-40.126829 -2.814064)'))) / (select extract(epoch from '2026-08-19 18:12:02'::timestamp) - extract(epoch from '2026-08-19 18:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12668 -2.813983)'), GeomFromEWKT('SRID=4674;POINT (-40.126829 -2.814064)'))) / (select extract(epoch from '2026-08-19 18:12:02'::timestamp) - extract(epoch from '2026-08-19 18:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12696 -2.81411)', '2026-08-19 18:12:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126829 -2.814064)'), GeomFromEWKT('SRID=4674;POINT (-40.12696 -2.81411)'))) / (select extract(epoch from '2026-08-19 18:12:10'::timestamp) - extract(epoch from '2026-08-19 18:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126829 -2.814064)'), GeomFromEWKT('SRID=4674;POINT (-40.12696 -2.81411)'))) / (select extract(epoch from '2026-08-19 18:12:10'::timestamp) - extract(epoch from '2026-08-19 18: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.127089 -2.81415)', '2026-08-19 18:12:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12696 -2.81411)'), GeomFromEWKT('SRID=4674;POINT (-40.127089 -2.81415)'))) / (select extract(epoch from '2026-08-19 18:12:18'::timestamp) - extract(epoch from '2026-08-19 18:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12696 -2.81411)'), GeomFromEWKT('SRID=4674;POINT (-40.127089 -2.81415)'))) / (select extract(epoch from '2026-08-19 18:12:18'::timestamp) - extract(epoch from '2026-08-19 18:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127215 -2.814214)', '2026-08-19 18:12:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127089 -2.81415)'), GeomFromEWKT('SRID=4674;POINT (-40.127215 -2.814214)'))) / (select extract(epoch from '2026-08-19 18:12:27'::timestamp) - extract(epoch from '2026-08-19 18:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127089 -2.81415)'), GeomFromEWKT('SRID=4674;POINT (-40.127215 -2.814214)'))) / (select extract(epoch from '2026-08-19 18:12:27'::timestamp) - extract(epoch from '2026-08-19 18:12: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.12729 -2.814279)', '2026-08-19 18:12:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127215 -2.814214)'), GeomFromEWKT('SRID=4674;POINT (-40.12729 -2.814279)'))) / (select extract(epoch from '2026-08-19 18:12:34'::timestamp) - extract(epoch from '2026-08-19 18:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127215 -2.814214)'), GeomFromEWKT('SRID=4674;POINT (-40.12729 -2.814279)'))) / (select extract(epoch from '2026-08-19 18:12:34'::timestamp) - extract(epoch from '2026-08-19 18:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127343 -2.814339)', '2026-08-19 18:12:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12729 -2.814279)'), GeomFromEWKT('SRID=4674;POINT (-40.127343 -2.814339)'))) / (select extract(epoch from '2026-08-19 18:12:42'::timestamp) - extract(epoch from '2026-08-19 18:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12729 -2.814279)'), GeomFromEWKT('SRID=4674;POINT (-40.127343 -2.814339)'))) / (select extract(epoch from '2026-08-19 18:12:42'::timestamp) - extract(epoch from '2026-08-19 18:12: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.127382 -2.814412)', '2026-08-19 18:12:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127343 -2.814339)'), GeomFromEWKT('SRID=4674;POINT (-40.127382 -2.814412)'))) / (select extract(epoch from '2026-08-19 18:12:52'::timestamp) - extract(epoch from '2026-08-19 18:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127343 -2.814339)'), GeomFromEWKT('SRID=4674;POINT (-40.127382 -2.814412)'))) / (select extract(epoch from '2026-08-19 18:12:52'::timestamp) - extract(epoch from '2026-08-19 18:12: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.127365 -2.814414)', '2026-08-19 18:13:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127382 -2.814412)'), GeomFromEWKT('SRID=4674;POINT (-40.127365 -2.814414)'))) / (select extract(epoch from '2026-08-19 18:13:02'::timestamp) - extract(epoch from '2026-08-19 18:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127382 -2.814412)'), GeomFromEWKT('SRID=4674;POINT (-40.127365 -2.814414)'))) / (select extract(epoch from '2026-08-19 18:13:02'::timestamp) - extract(epoch from '2026-08-19 18:12: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.127312 -2.814404)', '2026-08-19 18:13:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127365 -2.814414)'), GeomFromEWKT('SRID=4674;POINT (-40.127312 -2.814404)'))) / (select extract(epoch from '2026-08-19 18:13:16'::timestamp) - extract(epoch from '2026-08-19 18:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127365 -2.814414)'), GeomFromEWKT('SRID=4674;POINT (-40.127312 -2.814404)'))) / (select extract(epoch from '2026-08-19 18:13:16'::timestamp) - extract(epoch from '2026-08-19 18: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.127269 -2.814413)', '2026-08-19 18:13:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127312 -2.814404)'), GeomFromEWKT('SRID=4674;POINT (-40.127269 -2.814413)'))) / (select extract(epoch from '2026-08-19 18:13:30'::timestamp) - extract(epoch from '2026-08-19 18:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127312 -2.814404)'), GeomFromEWKT('SRID=4674;POINT (-40.127269 -2.814413)'))) / (select extract(epoch from '2026-08-19 18:13:30'::timestamp) - extract(epoch from '2026-08-19 18:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127263 -2.814403)', '2026-08-19 18:13:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127269 -2.814413)'), GeomFromEWKT('SRID=4674;POINT (-40.127263 -2.814403)'))) / (select extract(epoch from '2026-08-19 18:13:40'::timestamp) - extract(epoch from '2026-08-19 18:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127269 -2.814413)'), GeomFromEWKT('SRID=4674;POINT (-40.127263 -2.814403)'))) / (select extract(epoch from '2026-08-19 18:13:40'::timestamp) - extract(epoch from '2026-08-19 18:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127276 -2.814409)', '2026-08-19 18:13:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127263 -2.814403)'), GeomFromEWKT('SRID=4674;POINT (-40.127276 -2.814409)'))) / (select extract(epoch from '2026-08-19 18:13:48'::timestamp) - extract(epoch from '2026-08-19 18:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127263 -2.814403)'), GeomFromEWKT('SRID=4674;POINT (-40.127276 -2.814409)'))) / (select extract(epoch from '2026-08-19 18:13:48'::timestamp) - extract(epoch from '2026-08-19 18:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127246 -2.814402)', '2026-08-19 18:13:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127276 -2.814409)'), GeomFromEWKT('SRID=4674;POINT (-40.127246 -2.814402)'))) / (select extract(epoch from '2026-08-19 18:13:55'::timestamp) - extract(epoch from '2026-08-19 18:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127276 -2.814409)'), GeomFromEWKT('SRID=4674;POINT (-40.127246 -2.814402)'))) / (select extract(epoch from '2026-08-19 18:13:55'::timestamp) - extract(epoch from '2026-08-19 18:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12718 -2.814402)', '2026-08-19 18:14:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127246 -2.814402)'), GeomFromEWKT('SRID=4674;POINT (-40.12718 -2.814402)'))) / (select extract(epoch from '2026-08-19 18:14:07'::timestamp) - extract(epoch from '2026-08-19 18:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127246 -2.814402)'), GeomFromEWKT('SRID=4674;POINT (-40.12718 -2.814402)'))) / (select extract(epoch from '2026-08-19 18:14:07'::timestamp) - extract(epoch from '2026-08-19 18:13:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12716 -2.814406)', '2026-08-19 18:14:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12718 -2.814402)'), GeomFromEWKT('SRID=4674;POINT (-40.12716 -2.814406)'))) / (select extract(epoch from '2026-08-19 18:14:20'::timestamp) - extract(epoch from '2026-08-19 18:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12718 -2.814402)'), GeomFromEWKT('SRID=4674;POINT (-40.12716 -2.814406)'))) / (select extract(epoch from '2026-08-19 18:14:20'::timestamp) - extract(epoch from '2026-08-19 18:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127139 -2.8144)', '2026-08-19 18:14:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12716 -2.814406)'), GeomFromEWKT('SRID=4674;POINT (-40.127139 -2.8144)'))) / (select extract(epoch from '2026-08-19 18:14:33'::timestamp) - extract(epoch from '2026-08-19 18:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12716 -2.814406)'), GeomFromEWKT('SRID=4674;POINT (-40.127139 -2.8144)'))) / (select extract(epoch from '2026-08-19 18:14:33'::timestamp) - extract(epoch from '2026-08-19 18:14: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.127082 -2.814423)', '2026-08-19 18:14:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127139 -2.8144)'), GeomFromEWKT('SRID=4674;POINT (-40.127082 -2.814423)'))) / (select extract(epoch from '2026-08-19 18:14:49'::timestamp) - extract(epoch from '2026-08-19 18:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127139 -2.8144)'), GeomFromEWKT('SRID=4674;POINT (-40.127082 -2.814423)'))) / (select extract(epoch from '2026-08-19 18:14:49'::timestamp) - extract(epoch from '2026-08-19 18:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127048 -2.814439)', '2026-08-19 18:15:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127082 -2.814423)'), GeomFromEWKT('SRID=4674;POINT (-40.127048 -2.814439)'))) / (select extract(epoch from '2026-08-19 18:15:05'::timestamp) - extract(epoch from '2026-08-19 18:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127082 -2.814423)'), GeomFromEWKT('SRID=4674;POINT (-40.127048 -2.814439)'))) / (select extract(epoch from '2026-08-19 18:15:05'::timestamp) - extract(epoch from '2026-08-19 18:14:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127021 -2.814445)', '2026-08-19 18:15:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127048 -2.814439)'), GeomFromEWKT('SRID=4674;POINT (-40.127021 -2.814445)'))) / (select extract(epoch from '2026-08-19 18:15:16'::timestamp) - extract(epoch from '2026-08-19 18:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127048 -2.814439)'), GeomFromEWKT('SRID=4674;POINT (-40.127021 -2.814445)'))) / (select extract(epoch from '2026-08-19 18:15:16'::timestamp) - extract(epoch from '2026-08-19 18: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.127036 -2.814454)', '2026-08-19 18:15:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127021 -2.814445)'), GeomFromEWKT('SRID=4674;POINT (-40.127036 -2.814454)'))) / (select extract(epoch from '2026-08-19 18:15:25'::timestamp) - extract(epoch from '2026-08-19 18:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127021 -2.814445)'), GeomFromEWKT('SRID=4674;POINT (-40.127036 -2.814454)'))) / (select extract(epoch from '2026-08-19 18:15:25'::timestamp) - extract(epoch from '2026-08-19 18: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.127025 -2.814453)', '2026-08-19 18:15:37', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127036 -2.814454)'), GeomFromEWKT('SRID=4674;POINT (-40.127025 -2.814453)'))) / (select extract(epoch from '2026-08-19 18:15:37'::timestamp) - extract(epoch from '2026-08-19 18:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127036 -2.814454)'), GeomFromEWKT('SRID=4674;POINT (-40.127025 -2.814453)'))) / (select extract(epoch from '2026-08-19 18:15:37'::timestamp) - extract(epoch from '2026-08-19 18:15: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.126992 -2.814443)', '2026-08-19 18:15:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127025 -2.814453)'), GeomFromEWKT('SRID=4674;POINT (-40.126992 -2.814443)'))) / (select extract(epoch from '2026-08-19 18:15:48'::timestamp) - extract(epoch from '2026-08-19 18:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127025 -2.814453)'), GeomFromEWKT('SRID=4674;POINT (-40.126992 -2.814443)'))) / (select extract(epoch from '2026-08-19 18:15:48'::timestamp) - extract(epoch from '2026-08-19 18: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.126923 -2.814467)', '2026-08-19 18:16:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126992 -2.814443)'), GeomFromEWKT('SRID=4674;POINT (-40.126923 -2.814467)'))) / (select extract(epoch from '2026-08-19 18:16:02'::timestamp) - extract(epoch from '2026-08-19 18:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126992 -2.814443)'), GeomFromEWKT('SRID=4674;POINT (-40.126923 -2.814467)'))) / (select extract(epoch from '2026-08-19 18:16:02'::timestamp) - extract(epoch from '2026-08-19 18:15: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.126862 -2.814477)', '2026-08-19 18:16:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126923 -2.814467)'), GeomFromEWKT('SRID=4674;POINT (-40.126862 -2.814477)'))) / (select extract(epoch from '2026-08-19 18:16:16'::timestamp) - extract(epoch from '2026-08-19 18:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126923 -2.814467)'), GeomFromEWKT('SRID=4674;POINT (-40.126862 -2.814477)'))) / (select extract(epoch from '2026-08-19 18:16:16'::timestamp) - extract(epoch from '2026-08-19 18:16: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.126869 -2.814506)', '2026-08-19 18:16:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126862 -2.814477)'), GeomFromEWKT('SRID=4674;POINT (-40.126869 -2.814506)'))) / (select extract(epoch from '2026-08-19 18:16:26'::timestamp) - extract(epoch from '2026-08-19 18:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126862 -2.814477)'), GeomFromEWKT('SRID=4674;POINT (-40.126869 -2.814506)'))) / (select extract(epoch from '2026-08-19 18:16:26'::timestamp) - extract(epoch from '2026-08-19 18:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126848 -2.814508)', '2026-08-19 18:16:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126869 -2.814506)'), GeomFromEWKT('SRID=4674;POINT (-40.126848 -2.814508)'))) / (select extract(epoch from '2026-08-19 18:16:39'::timestamp) - extract(epoch from '2026-08-19 18:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126869 -2.814506)'), GeomFromEWKT('SRID=4674;POINT (-40.126848 -2.814508)'))) / (select extract(epoch from '2026-08-19 18:16:39'::timestamp) - extract(epoch from '2026-08-19 18:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126774 -2.814494)', '2026-08-19 18:16:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126848 -2.814508)'), GeomFromEWKT('SRID=4674;POINT (-40.126774 -2.814494)'))) / (select extract(epoch from '2026-08-19 18:16:56'::timestamp) - extract(epoch from '2026-08-19 18:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126848 -2.814508)'), GeomFromEWKT('SRID=4674;POINT (-40.126774 -2.814494)'))) / (select extract(epoch from '2026-08-19 18:16:56'::timestamp) - extract(epoch from '2026-08-19 18:16: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.126744 -2.814513)', '2026-08-19 18:17:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126774 -2.814494)'), GeomFromEWKT('SRID=4674;POINT (-40.126744 -2.814513)'))) / (select extract(epoch from '2026-08-19 18:17:08'::timestamp) - extract(epoch from '2026-08-19 18:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126774 -2.814494)'), GeomFromEWKT('SRID=4674;POINT (-40.126744 -2.814513)'))) / (select extract(epoch from '2026-08-19 18:17:08'::timestamp) - extract(epoch from '2026-08-19 18:16: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.12672 -2.814537)', '2026-08-19 18:17:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126744 -2.814513)'), GeomFromEWKT('SRID=4674;POINT (-40.12672 -2.814537)'))) / (select extract(epoch from '2026-08-19 18:17:19'::timestamp) - extract(epoch from '2026-08-19 18:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126744 -2.814513)'), GeomFromEWKT('SRID=4674;POINT (-40.12672 -2.814537)'))) / (select extract(epoch from '2026-08-19 18:17:19'::timestamp) - extract(epoch from '2026-08-19 18:17:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126663 -2.814516)', '2026-08-19 18:17:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12672 -2.814537)'), GeomFromEWKT('SRID=4674;POINT (-40.126663 -2.814516)'))) / (select extract(epoch from '2026-08-19 18:17:32'::timestamp) - extract(epoch from '2026-08-19 18:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12672 -2.814537)'), GeomFromEWKT('SRID=4674;POINT (-40.126663 -2.814516)'))) / (select extract(epoch from '2026-08-19 18:17:32'::timestamp) - extract(epoch from '2026-08-19 18:17: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.126657 -2.814528)', '2026-08-19 18:17:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126663 -2.814516)'), GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.814528)'))) / (select extract(epoch from '2026-08-19 18:17:43'::timestamp) - extract(epoch from '2026-08-19 18:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126663 -2.814516)'), GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.814528)'))) / (select extract(epoch from '2026-08-19 18:17:43'::timestamp) - extract(epoch from '2026-08-19 18:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126632 -2.814536)', '2026-08-19 18:17:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.814528)'), GeomFromEWKT('SRID=4674;POINT (-40.126632 -2.814536)'))) / (select extract(epoch from '2026-08-19 18:17:51'::timestamp) - extract(epoch from '2026-08-19 18:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.814528)'), GeomFromEWKT('SRID=4674;POINT (-40.126632 -2.814536)'))) / (select extract(epoch from '2026-08-19 18:17:51'::timestamp) - extract(epoch from '2026-08-19 18:17: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.126571 -2.814561)', '2026-08-19 18:18:03', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126632 -2.814536)'), GeomFromEWKT('SRID=4674;POINT (-40.126571 -2.814561)'))) / (select extract(epoch from '2026-08-19 18:18:03'::timestamp) - extract(epoch from '2026-08-19 18:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126632 -2.814536)'), GeomFromEWKT('SRID=4674;POINT (-40.126571 -2.814561)'))) / (select extract(epoch from '2026-08-19 18:18:03'::timestamp) - extract(epoch from '2026-08-19 18:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126531 -2.814596)', '2026-08-19 18:18:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126571 -2.814561)'), GeomFromEWKT('SRID=4674;POINT (-40.126531 -2.814596)'))) / (select extract(epoch from '2026-08-19 18:18:13'::timestamp) - extract(epoch from '2026-08-19 18:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126571 -2.814561)'), GeomFromEWKT('SRID=4674;POINT (-40.126531 -2.814596)'))) / (select extract(epoch from '2026-08-19 18:18:13'::timestamp) - extract(epoch from '2026-08-19 18:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126477 -2.814597)', '2026-08-19 18:18:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126531 -2.814596)'), GeomFromEWKT('SRID=4674;POINT (-40.126477 -2.814597)'))) / (select extract(epoch from '2026-08-19 18:18:26'::timestamp) - extract(epoch from '2026-08-19 18:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126531 -2.814596)'), GeomFromEWKT('SRID=4674;POINT (-40.126477 -2.814597)'))) / (select extract(epoch from '2026-08-19 18:18:26'::timestamp) - extract(epoch from '2026-08-19 18:18:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126419 -2.814601)', '2026-08-19 18:18:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126477 -2.814597)'), GeomFromEWKT('SRID=4674;POINT (-40.126419 -2.814601)'))) / (select extract(epoch from '2026-08-19 18:18:40'::timestamp) - extract(epoch from '2026-08-19 18:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126477 -2.814597)'), GeomFromEWKT('SRID=4674;POINT (-40.126419 -2.814601)'))) / (select extract(epoch from '2026-08-19 18:18:40'::timestamp) - extract(epoch from '2026-08-19 18: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.126366 -2.814632)', '2026-08-19 18:18:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126419 -2.814601)'), GeomFromEWKT('SRID=4674;POINT (-40.126366 -2.814632)'))) / (select extract(epoch from '2026-08-19 18:18:53'::timestamp) - extract(epoch from '2026-08-19 18:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126419 -2.814601)'), GeomFromEWKT('SRID=4674;POINT (-40.126366 -2.814632)'))) / (select extract(epoch from '2026-08-19 18:18:53'::timestamp) - extract(epoch from '2026-08-19 18:18: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.126343 -2.814647)', '2026-08-19 18:19:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126366 -2.814632)'), GeomFromEWKT('SRID=4674;POINT (-40.126343 -2.814647)'))) / (select extract(epoch from '2026-08-19 18:19:04'::timestamp) - extract(epoch from '2026-08-19 18:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126366 -2.814632)'), GeomFromEWKT('SRID=4674;POINT (-40.126343 -2.814647)'))) / (select extract(epoch from '2026-08-19 18:19:04'::timestamp) - extract(epoch from '2026-08-19 18:18: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.126302 -2.814674)', '2026-08-19 18:19:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126343 -2.814647)'), GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.814674)'))) / (select extract(epoch from '2026-08-19 18:19:16'::timestamp) - extract(epoch from '2026-08-19 18:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126343 -2.814647)'), GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.814674)'))) / (select extract(epoch from '2026-08-19 18:19:16'::timestamp) - extract(epoch from '2026-08-19 18:19: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.126231 -2.814696)', '2026-08-19 18:19:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.814674)'), GeomFromEWKT('SRID=4674;POINT (-40.126231 -2.814696)'))) / (select extract(epoch from '2026-08-19 18:19:28'::timestamp) - extract(epoch from '2026-08-19 18:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126302 -2.814674)'), GeomFromEWKT('SRID=4674;POINT (-40.126231 -2.814696)'))) / (select extract(epoch from '2026-08-19 18:19:28'::timestamp) - extract(epoch from '2026-08-19 18:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126159 -2.814721)', '2026-08-19 18:19:42', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126231 -2.814696)'), GeomFromEWKT('SRID=4674;POINT (-40.126159 -2.814721)'))) / (select extract(epoch from '2026-08-19 18:19:42'::timestamp) - extract(epoch from '2026-08-19 18:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126231 -2.814696)'), GeomFromEWKT('SRID=4674;POINT (-40.126159 -2.814721)'))) / (select extract(epoch from '2026-08-19 18:19:42'::timestamp) - extract(epoch from '2026-08-19 18:19: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.126136 -2.81473)', '2026-08-19 18:19:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126159 -2.814721)'), GeomFromEWKT('SRID=4674;POINT (-40.126136 -2.81473)'))) / (select extract(epoch from '2026-08-19 18:19:53'::timestamp) - extract(epoch from '2026-08-19 18:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126159 -2.814721)'), GeomFromEWKT('SRID=4674;POINT (-40.126136 -2.81473)'))) / (select extract(epoch from '2026-08-19 18:19:53'::timestamp) - extract(epoch from '2026-08-19 18:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12611 -2.814713)', '2026-08-19 18:20:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126136 -2.81473)'), GeomFromEWKT('SRID=4674;POINT (-40.12611 -2.814713)'))) / (select extract(epoch from '2026-08-19 18:20:08'::timestamp) - extract(epoch from '2026-08-19 18:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126136 -2.81473)'), GeomFromEWKT('SRID=4674;POINT (-40.12611 -2.814713)'))) / (select extract(epoch from '2026-08-19 18:20:08'::timestamp) - extract(epoch from '2026-08-19 18:19: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.126059 -2.814722)', '2026-08-19 18:20:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12611 -2.814713)'), GeomFromEWKT('SRID=4674;POINT (-40.126059 -2.814722)'))) / (select extract(epoch from '2026-08-19 18:20:20'::timestamp) - extract(epoch from '2026-08-19 18:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12611 -2.814713)'), GeomFromEWKT('SRID=4674;POINT (-40.126059 -2.814722)'))) / (select extract(epoch from '2026-08-19 18:20:20'::timestamp) - extract(epoch from '2026-08-19 18:20: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.126043 -2.814727)', '2026-08-19 18:20:31', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126059 -2.814722)'), GeomFromEWKT('SRID=4674;POINT (-40.126043 -2.814727)'))) / (select extract(epoch from '2026-08-19 18:20:31'::timestamp) - extract(epoch from '2026-08-19 18:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126059 -2.814722)'), GeomFromEWKT('SRID=4674;POINT (-40.126043 -2.814727)'))) / (select extract(epoch from '2026-08-19 18:20:31'::timestamp) - extract(epoch from '2026-08-19 18:20:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126001 -2.814756)', '2026-08-19 18:20:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126043 -2.814727)'), GeomFromEWKT('SRID=4674;POINT (-40.126001 -2.814756)'))) / (select extract(epoch from '2026-08-19 18:20:49'::timestamp) - extract(epoch from '2026-08-19 18:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126043 -2.814727)'), GeomFromEWKT('SRID=4674;POINT (-40.126001 -2.814756)'))) / (select extract(epoch from '2026-08-19 18:20:49'::timestamp) - extract(epoch from '2026-08-19 18:20: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.125955 -2.814795)', '2026-08-19 18:21:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126001 -2.814756)'), GeomFromEWKT('SRID=4674;POINT (-40.125955 -2.814795)'))) / (select extract(epoch from '2026-08-19 18:21:01'::timestamp) - extract(epoch from '2026-08-19 18:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126001 -2.814756)'), GeomFromEWKT('SRID=4674;POINT (-40.125955 -2.814795)'))) / (select extract(epoch from '2026-08-19 18:21:01'::timestamp) - extract(epoch from '2026-08-19 18:20: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.125878 -2.814791)', '2026-08-19 18:21:16', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125955 -2.814795)'), GeomFromEWKT('SRID=4674;POINT (-40.125878 -2.814791)'))) / (select extract(epoch from '2026-08-19 18:21:16'::timestamp) - extract(epoch from '2026-08-19 18:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125955 -2.814795)'), GeomFromEWKT('SRID=4674;POINT (-40.125878 -2.814791)'))) / (select extract(epoch from '2026-08-19 18:21:16'::timestamp) - extract(epoch from '2026-08-19 18: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.125838 -2.81482)', '2026-08-19 18:21:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125878 -2.814791)'), GeomFromEWKT('SRID=4674;POINT (-40.125838 -2.81482)'))) / (select extract(epoch from '2026-08-19 18:21:28'::timestamp) - extract(epoch from '2026-08-19 18:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125878 -2.814791)'), GeomFromEWKT('SRID=4674;POINT (-40.125838 -2.81482)'))) / (select extract(epoch from '2026-08-19 18:21:28'::timestamp) - extract(epoch from '2026-08-19 18:21:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125783 -2.814841)', '2026-08-19 18:21:40', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125838 -2.81482)'), GeomFromEWKT('SRID=4674;POINT (-40.125783 -2.814841)'))) / (select extract(epoch from '2026-08-19 18:21:40'::timestamp) - extract(epoch from '2026-08-19 18:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125838 -2.81482)'), GeomFromEWKT('SRID=4674;POINT (-40.125783 -2.814841)'))) / (select extract(epoch from '2026-08-19 18:21:40'::timestamp) - extract(epoch from '2026-08-19 18:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125741 -2.814858)', '2026-08-19 18:21:51', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125783 -2.814841)'), GeomFromEWKT('SRID=4674;POINT (-40.125741 -2.814858)'))) / (select extract(epoch from '2026-08-19 18:21:51'::timestamp) - extract(epoch from '2026-08-19 18:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125783 -2.814841)'), GeomFromEWKT('SRID=4674;POINT (-40.125741 -2.814858)'))) / (select extract(epoch from '2026-08-19 18:21:51'::timestamp) - extract(epoch from '2026-08-19 18:21: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.125686 -2.814887)', '2026-08-19 18:22:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125741 -2.814858)'), GeomFromEWKT('SRID=4674;POINT (-40.125686 -2.814887)'))) / (select extract(epoch from '2026-08-19 18:22:02'::timestamp) - extract(epoch from '2026-08-19 18:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125741 -2.814858)'), GeomFromEWKT('SRID=4674;POINT (-40.125686 -2.814887)'))) / (select extract(epoch from '2026-08-19 18:22:02'::timestamp) - extract(epoch from '2026-08-19 18:21:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125655 -2.814918)', '2026-08-19 18:22:16', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125686 -2.814887)'), GeomFromEWKT('SRID=4674;POINT (-40.125655 -2.814918)'))) / (select extract(epoch from '2026-08-19 18:22:16'::timestamp) - extract(epoch from '2026-08-19 18:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125686 -2.814887)'), GeomFromEWKT('SRID=4674;POINT (-40.125655 -2.814918)'))) / (select extract(epoch from '2026-08-19 18:22:16'::timestamp) - extract(epoch from '2026-08-19 18:22: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.125664 -2.814929)', '2026-08-19 18:22:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125655 -2.814918)'), GeomFromEWKT('SRID=4674;POINT (-40.125664 -2.814929)'))) / (select extract(epoch from '2026-08-19 18:22:26'::timestamp) - extract(epoch from '2026-08-19 18:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125655 -2.814918)'), GeomFromEWKT('SRID=4674;POINT (-40.125664 -2.814929)'))) / (select extract(epoch from '2026-08-19 18:22:26'::timestamp) - extract(epoch from '2026-08-19 18:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125629 -2.814924)', '2026-08-19 18:22:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125664 -2.814929)'), GeomFromEWKT('SRID=4674;POINT (-40.125629 -2.814924)'))) / (select extract(epoch from '2026-08-19 18:22:34'::timestamp) - extract(epoch from '2026-08-19 18:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125664 -2.814929)'), GeomFromEWKT('SRID=4674;POINT (-40.125629 -2.814924)'))) / (select extract(epoch from '2026-08-19 18:22:34'::timestamp) - extract(epoch from '2026-08-19 18:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125587 -2.814924)', '2026-08-19 18:22:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125629 -2.814924)'), GeomFromEWKT('SRID=4674;POINT (-40.125587 -2.814924)'))) / (select extract(epoch from '2026-08-19 18:22:43'::timestamp) - extract(epoch from '2026-08-19 18:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125629 -2.814924)'), GeomFromEWKT('SRID=4674;POINT (-40.125587 -2.814924)'))) / (select extract(epoch from '2026-08-19 18:22:43'::timestamp) - extract(epoch from '2026-08-19 18:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125573 -2.814946)', '2026-08-19 18:22:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125587 -2.814924)'), GeomFromEWKT('SRID=4674;POINT (-40.125573 -2.814946)'))) / (select extract(epoch from '2026-08-19 18:22:53'::timestamp) - extract(epoch from '2026-08-19 18:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125587 -2.814924)'), GeomFromEWKT('SRID=4674;POINT (-40.125573 -2.814946)'))) / (select extract(epoch from '2026-08-19 18:22:53'::timestamp) - extract(epoch from '2026-08-19 18:22: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.125535 -2.81495)', '2026-08-19 18:23:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125573 -2.814946)'), GeomFromEWKT('SRID=4674;POINT (-40.125535 -2.81495)'))) / (select extract(epoch from '2026-08-19 18:23:05'::timestamp) - extract(epoch from '2026-08-19 18:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125573 -2.814946)'), GeomFromEWKT('SRID=4674;POINT (-40.125535 -2.81495)'))) / (select extract(epoch from '2026-08-19 18:23:05'::timestamp) - extract(epoch from '2026-08-19 18:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125477 -2.81496)', '2026-08-19 18:23:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125535 -2.81495)'), GeomFromEWKT('SRID=4674;POINT (-40.125477 -2.81496)'))) / (select extract(epoch from '2026-08-19 18:23:19'::timestamp) - extract(epoch from '2026-08-19 18:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125535 -2.81495)'), GeomFromEWKT('SRID=4674;POINT (-40.125477 -2.81496)'))) / (select extract(epoch from '2026-08-19 18:23:19'::timestamp) - extract(epoch from '2026-08-19 18:23: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.125449 -2.814978)', '2026-08-19 18:23:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125477 -2.81496)'), GeomFromEWKT('SRID=4674;POINT (-40.125449 -2.814978)'))) / (select extract(epoch from '2026-08-19 18:23:32'::timestamp) - extract(epoch from '2026-08-19 18:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125477 -2.81496)'), GeomFromEWKT('SRID=4674;POINT (-40.125449 -2.814978)'))) / (select extract(epoch from '2026-08-19 18:23:32'::timestamp) - extract(epoch from '2026-08-19 18:23: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.125368 -2.814996)', '2026-08-19 18:23:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125449 -2.814978)'), GeomFromEWKT('SRID=4674;POINT (-40.125368 -2.814996)'))) / (select extract(epoch from '2026-08-19 18:23:45'::timestamp) - extract(epoch from '2026-08-19 18:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125449 -2.814978)'), GeomFromEWKT('SRID=4674;POINT (-40.125368 -2.814996)'))) / (select extract(epoch from '2026-08-19 18:23:45'::timestamp) - extract(epoch from '2026-08-19 18:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125347 -2.815037)', '2026-08-19 18:23:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125368 -2.814996)'), GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.815037)'))) / (select extract(epoch from '2026-08-19 18:23:59'::timestamp) - extract(epoch from '2026-08-19 18:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125368 -2.814996)'), GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.815037)'))) / (select extract(epoch from '2026-08-19 18:23:59'::timestamp) - extract(epoch from '2026-08-19 18:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125308 -2.815061)', '2026-08-19 18:24:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.815037)'), GeomFromEWKT('SRID=4674;POINT (-40.125308 -2.815061)'))) / (select extract(epoch from '2026-08-19 18:24:10'::timestamp) - extract(epoch from '2026-08-19 18:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125347 -2.815037)'), GeomFromEWKT('SRID=4674;POINT (-40.125308 -2.815061)'))) / (select extract(epoch from '2026-08-19 18:24:10'::timestamp) - extract(epoch from '2026-08-19 18:23: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.125246 -2.815077)', '2026-08-19 18:24:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125308 -2.815061)'), GeomFromEWKT('SRID=4674;POINT (-40.125246 -2.815077)'))) / (select extract(epoch from '2026-08-19 18:24:25'::timestamp) - extract(epoch from '2026-08-19 18:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125308 -2.815061)'), GeomFromEWKT('SRID=4674;POINT (-40.125246 -2.815077)'))) / (select extract(epoch from '2026-08-19 18:24:25'::timestamp) - extract(epoch from '2026-08-19 18:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12523 -2.815084)', '2026-08-19 18:24:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125246 -2.815077)'), GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.815084)'))) / (select extract(epoch from '2026-08-19 18:24:38'::timestamp) - extract(epoch from '2026-08-19 18:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125246 -2.815077)'), GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.815084)'))) / (select extract(epoch from '2026-08-19 18:24:38'::timestamp) - extract(epoch from '2026-08-19 18: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.125172 -2.815078)', '2026-08-19 18:24:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.815084)'), GeomFromEWKT('SRID=4674;POINT (-40.125172 -2.815078)'))) / (select extract(epoch from '2026-08-19 18:24:52'::timestamp) - extract(epoch from '2026-08-19 18:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12523 -2.815084)'), GeomFromEWKT('SRID=4674;POINT (-40.125172 -2.815078)'))) / (select extract(epoch from '2026-08-19 18:24:52'::timestamp) - extract(epoch from '2026-08-19 18:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125131 -2.815104)', '2026-08-19 18:25:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125172 -2.815078)'), GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.815104)'))) / (select extract(epoch from '2026-08-19 18:25:07'::timestamp) - extract(epoch from '2026-08-19 18:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125172 -2.815078)'), GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.815104)'))) / (select extract(epoch from '2026-08-19 18:25:07'::timestamp) - extract(epoch from '2026-08-19 18:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125106 -2.815118)', '2026-08-19 18:25:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.815104)'), GeomFromEWKT('SRID=4674;POINT (-40.125106 -2.815118)'))) / (select extract(epoch from '2026-08-19 18:25:18'::timestamp) - extract(epoch from '2026-08-19 18:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125131 -2.815104)'), GeomFromEWKT('SRID=4674;POINT (-40.125106 -2.815118)'))) / (select extract(epoch from '2026-08-19 18:25:18'::timestamp) - extract(epoch from '2026-08-19 18:25: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.125059 -2.815138)', '2026-08-19 18:25:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125106 -2.815118)'), GeomFromEWKT('SRID=4674;POINT (-40.125059 -2.815138)'))) / (select extract(epoch from '2026-08-19 18:25:32'::timestamp) - extract(epoch from '2026-08-19 18:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125106 -2.815118)'), GeomFromEWKT('SRID=4674;POINT (-40.125059 -2.815138)'))) / (select extract(epoch from '2026-08-19 18:25:32'::timestamp) - extract(epoch from '2026-08-19 18:25: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.125008 -2.815178)', '2026-08-19 18:25:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125059 -2.815138)'), GeomFromEWKT('SRID=4674;POINT (-40.125008 -2.815178)'))) / (select extract(epoch from '2026-08-19 18:25:47'::timestamp) - extract(epoch from '2026-08-19 18:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125059 -2.815138)'), GeomFromEWKT('SRID=4674;POINT (-40.125008 -2.815178)'))) / (select extract(epoch from '2026-08-19 18:25:47'::timestamp) - extract(epoch from '2026-08-19 18:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.124969 -2.815212)', '2026-08-19 18:26:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125008 -2.815178)'), GeomFromEWKT('SRID=4674;POINT (-40.124969 -2.815212)'))) / (select extract(epoch from '2026-08-19 18:26:00'::timestamp) - extract(epoch from '2026-08-19 18:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125008 -2.815178)'), GeomFromEWKT('SRID=4674;POINT (-40.124969 -2.815212)'))) / (select extract(epoch from '2026-08-19 18:26:00'::timestamp) - extract(epoch from '2026-08-19 18:25:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.124915 -2.815225)', '2026-08-19 18:26:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124969 -2.815212)'), GeomFromEWKT('SRID=4674;POINT (-40.124915 -2.815225)'))) / (select extract(epoch from '2026-08-19 18:26:12'::timestamp) - extract(epoch from '2026-08-19 18:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124969 -2.815212)'), GeomFromEWKT('SRID=4674;POINT (-40.124915 -2.815225)'))) / (select extract(epoch from '2026-08-19 18:26:12'::timestamp) - extract(epoch from '2026-08-19 18:26: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.124881 -2.815237)', '2026-08-19 18:26:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124915 -2.815225)'), GeomFromEWKT('SRID=4674;POINT (-40.124881 -2.815237)'))) / (select extract(epoch from '2026-08-19 18:26:25'::timestamp) - extract(epoch from '2026-08-19 18:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124915 -2.815225)'), GeomFromEWKT('SRID=4674;POINT (-40.124881 -2.815237)'))) / (select extract(epoch from '2026-08-19 18:26:25'::timestamp) - extract(epoch from '2026-08-19 18:26: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.124852 -2.815241)', '2026-08-19 18:26:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124881 -2.815237)'), GeomFromEWKT('SRID=4674;POINT (-40.124852 -2.815241)'))) / (select extract(epoch from '2026-08-19 18:26:41'::timestamp) - extract(epoch from '2026-08-19 18:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124881 -2.815237)'), GeomFromEWKT('SRID=4674;POINT (-40.124852 -2.815241)'))) / (select extract(epoch from '2026-08-19 18:26:41'::timestamp) - extract(epoch from '2026-08-19 18:26: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.124825 -2.815283)', '2026-08-19 18:26:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124852 -2.815241)'), GeomFromEWKT('SRID=4674;POINT (-40.124825 -2.815283)'))) / (select extract(epoch from '2026-08-19 18:26:53'::timestamp) - extract(epoch from '2026-08-19 18:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124852 -2.815241)'), GeomFromEWKT('SRID=4674;POINT (-40.124825 -2.815283)'))) / (select extract(epoch from '2026-08-19 18:26:53'::timestamp) - extract(epoch from '2026-08-19 18:26: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.1248 -2.815283)', '2026-08-19 18:27:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124825 -2.815283)'), GeomFromEWKT('SRID=4674;POINT (-40.1248 -2.815283)'))) / (select extract(epoch from '2026-08-19 18:27:06'::timestamp) - extract(epoch from '2026-08-19 18:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124825 -2.815283)'), GeomFromEWKT('SRID=4674;POINT (-40.1248 -2.815283)'))) / (select extract(epoch from '2026-08-19 18:27:06'::timestamp) - extract(epoch from '2026-08-19 18:26:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.124799 -2.815312)', '2026-08-19 18:27:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1248 -2.815283)'), GeomFromEWKT('SRID=4674;POINT (-40.124799 -2.815312)'))) / (select extract(epoch from '2026-08-19 18:27:17'::timestamp) - extract(epoch from '2026-08-19 18:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1248 -2.815283)'), GeomFromEWKT('SRID=4674;POINT (-40.124799 -2.815312)'))) / (select extract(epoch from '2026-08-19 18:27:17'::timestamp) - extract(epoch from '2026-08-19 18:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.124805 -2.815442)', '2026-08-19 18:27:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124799 -2.815312)'), GeomFromEWKT('SRID=4674;POINT (-40.124805 -2.815442)'))) / (select extract(epoch from '2026-08-19 18:27:30'::timestamp) - extract(epoch from '2026-08-19 18:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124799 -2.815312)'), GeomFromEWKT('SRID=4674;POINT (-40.124805 -2.815442)'))) / (select extract(epoch from '2026-08-19 18:27:30'::timestamp) - extract(epoch from '2026-08-19 18:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.124864 -2.815622)', '2026-08-19 18:27:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124805 -2.815442)'), GeomFromEWKT('SRID=4674;POINT (-40.124864 -2.815622)'))) / (select extract(epoch from '2026-08-19 18:27:43'::timestamp) - extract(epoch from '2026-08-19 18:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124805 -2.815442)'), GeomFromEWKT('SRID=4674;POINT (-40.124864 -2.815622)'))) / (select extract(epoch from '2026-08-19 18:27:43'::timestamp) - extract(epoch from '2026-08-19 18:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.124922 -2.815725)', '2026-08-19 18:27:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124864 -2.815622)'), GeomFromEWKT('SRID=4674;POINT (-40.124922 -2.815725)'))) / (select extract(epoch from '2026-08-19 18:27:51'::timestamp) - extract(epoch from '2026-08-19 18:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124864 -2.815622)'), GeomFromEWKT('SRID=4674;POINT (-40.124922 -2.815725)'))) / (select extract(epoch from '2026-08-19 18:27:51'::timestamp) - extract(epoch from '2026-08-19 18:27:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.124965 -2.815834)', '2026-08-19 18:27:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124922 -2.815725)'), GeomFromEWKT('SRID=4674;POINT (-40.124965 -2.815834)'))) / (select extract(epoch from '2026-08-19 18:27:59'::timestamp) - extract(epoch from '2026-08-19 18:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124922 -2.815725)'), GeomFromEWKT('SRID=4674;POINT (-40.124965 -2.815834)'))) / (select extract(epoch from '2026-08-19 18:27:59'::timestamp) - extract(epoch from '2026-08-19 18:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125019 -2.81591)', '2026-08-19 18:28:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124965 -2.815834)'), GeomFromEWKT('SRID=4674;POINT (-40.125019 -2.81591)'))) / (select extract(epoch from '2026-08-19 18:28:05'::timestamp) - extract(epoch from '2026-08-19 18:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124965 -2.815834)'), GeomFromEWKT('SRID=4674;POINT (-40.125019 -2.81591)'))) / (select extract(epoch from '2026-08-19 18:28:05'::timestamp) - extract(epoch from '2026-08-19 18:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125112 -2.816031)', '2026-08-19 18:28:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125019 -2.81591)'), GeomFromEWKT('SRID=4674;POINT (-40.125112 -2.816031)'))) / (select extract(epoch from '2026-08-19 18:28:14'::timestamp) - extract(epoch from '2026-08-19 18:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125019 -2.81591)'), GeomFromEWKT('SRID=4674;POINT (-40.125112 -2.816031)'))) / (select extract(epoch from '2026-08-19 18:28:14'::timestamp) - extract(epoch from '2026-08-19 18:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125194 -2.816121)', '2026-08-19 18:28:21', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125112 -2.816031)'), GeomFromEWKT('SRID=4674;POINT (-40.125194 -2.816121)'))) / (select extract(epoch from '2026-08-19 18:28:21'::timestamp) - extract(epoch from '2026-08-19 18:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125112 -2.816031)'), GeomFromEWKT('SRID=4674;POINT (-40.125194 -2.816121)'))) / (select extract(epoch from '2026-08-19 18:28:21'::timestamp) - extract(epoch from '2026-08-19 18:28:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125288 -2.816203)', '2026-08-19 18:28:28', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125194 -2.816121)'), GeomFromEWKT('SRID=4674;POINT (-40.125288 -2.816203)'))) / (select extract(epoch from '2026-08-19 18:28:28'::timestamp) - extract(epoch from '2026-08-19 18:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125194 -2.816121)'), GeomFromEWKT('SRID=4674;POINT (-40.125288 -2.816203)'))) / (select extract(epoch from '2026-08-19 18:28:28'::timestamp) - extract(epoch from '2026-08-19 18:28: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.125371 -2.816294)', '2026-08-19 18:28:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125288 -2.816203)'), GeomFromEWKT('SRID=4674;POINT (-40.125371 -2.816294)'))) / (select extract(epoch from '2026-08-19 18:28:35'::timestamp) - extract(epoch from '2026-08-19 18:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125288 -2.816203)'), GeomFromEWKT('SRID=4674;POINT (-40.125371 -2.816294)'))) / (select extract(epoch from '2026-08-19 18:28:35'::timestamp) - extract(epoch from '2026-08-19 18:28: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.125441 -2.816362)', '2026-08-19 18:28:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125371 -2.816294)'), GeomFromEWKT('SRID=4674;POINT (-40.125441 -2.816362)'))) / (select extract(epoch from '2026-08-19 18:28:41'::timestamp) - extract(epoch from '2026-08-19 18:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125371 -2.816294)'), GeomFromEWKT('SRID=4674;POINT (-40.125441 -2.816362)'))) / (select extract(epoch from '2026-08-19 18:28:41'::timestamp) - extract(epoch from '2026-08-19 18:28: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.125534 -2.816472)', '2026-08-19 18:28:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125441 -2.816362)'), GeomFromEWKT('SRID=4674;POINT (-40.125534 -2.816472)'))) / (select extract(epoch from '2026-08-19 18:28:50'::timestamp) - extract(epoch from '2026-08-19 18:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125441 -2.816362)'), GeomFromEWKT('SRID=4674;POINT (-40.125534 -2.816472)'))) / (select extract(epoch from '2026-08-19 18:28:50'::timestamp) - extract(epoch from '2026-08-19 18:28:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125615 -2.81656)', '2026-08-19 18:28:57', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125534 -2.816472)'), GeomFromEWKT('SRID=4674;POINT (-40.125615 -2.81656)'))) / (select extract(epoch from '2026-08-19 18:28:57'::timestamp) - extract(epoch from '2026-08-19 18:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125534 -2.816472)'), GeomFromEWKT('SRID=4674;POINT (-40.125615 -2.81656)'))) / (select extract(epoch from '2026-08-19 18:28:57'::timestamp) - extract(epoch from '2026-08-19 18:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125703 -2.816643)', '2026-08-19 18:29:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125615 -2.81656)'), GeomFromEWKT('SRID=4674;POINT (-40.125703 -2.816643)'))) / (select extract(epoch from '2026-08-19 18:29:04'::timestamp) - extract(epoch from '2026-08-19 18:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125615 -2.81656)'), GeomFromEWKT('SRID=4674;POINT (-40.125703 -2.816643)'))) / (select extract(epoch from '2026-08-19 18:29:04'::timestamp) - extract(epoch from '2026-08-19 18:28: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.125808 -2.816721)', '2026-08-19 18:29:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125703 -2.816643)'), GeomFromEWKT('SRID=4674;POINT (-40.125808 -2.816721)'))) / (select extract(epoch from '2026-08-19 18:29:11'::timestamp) - extract(epoch from '2026-08-19 18:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125703 -2.816643)'), GeomFromEWKT('SRID=4674;POINT (-40.125808 -2.816721)'))) / (select extract(epoch from '2026-08-19 18:29:11'::timestamp) - extract(epoch from '2026-08-19 18:29: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.125882 -2.816779)', '2026-08-19 18:29:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125808 -2.816721)'), GeomFromEWKT('SRID=4674;POINT (-40.125882 -2.816779)'))) / (select extract(epoch from '2026-08-19 18:29:17'::timestamp) - extract(epoch from '2026-08-19 18:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125808 -2.816721)'), GeomFromEWKT('SRID=4674;POINT (-40.125882 -2.816779)'))) / (select extract(epoch from '2026-08-19 18:29:17'::timestamp) - extract(epoch from '2026-08-19 18: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.126004 -2.816883)', '2026-08-19 18:29:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125882 -2.816779)'), GeomFromEWKT('SRID=4674;POINT (-40.126004 -2.816883)'))) / (select extract(epoch from '2026-08-19 18:29:26'::timestamp) - extract(epoch from '2026-08-19 18:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125882 -2.816779)'), GeomFromEWKT('SRID=4674;POINT (-40.126004 -2.816883)'))) / (select extract(epoch from '2026-08-19 18:29:26'::timestamp) - extract(epoch from '2026-08-19 18:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126131 -2.816961)', '2026-08-19 18:29:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126004 -2.816883)'), GeomFromEWKT('SRID=4674;POINT (-40.126131 -2.816961)'))) / (select extract(epoch from '2026-08-19 18:29:34'::timestamp) - extract(epoch from '2026-08-19 18:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126004 -2.816883)'), GeomFromEWKT('SRID=4674;POINT (-40.126131 -2.816961)'))) / (select extract(epoch from '2026-08-19 18:29:34'::timestamp) - extract(epoch from '2026-08-19 18:29: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.126245 -2.817023)', '2026-08-19 18:29:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126131 -2.816961)'), GeomFromEWKT('SRID=4674;POINT (-40.126245 -2.817023)'))) / (select extract(epoch from '2026-08-19 18:29:41'::timestamp) - extract(epoch from '2026-08-19 18:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126131 -2.816961)'), GeomFromEWKT('SRID=4674;POINT (-40.126245 -2.817023)'))) / (select extract(epoch from '2026-08-19 18:29:41'::timestamp) - extract(epoch from '2026-08-19 18:29: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.126369 -2.817132)', '2026-08-19 18:29:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126245 -2.817023)'), GeomFromEWKT('SRID=4674;POINT (-40.126369 -2.817132)'))) / (select extract(epoch from '2026-08-19 18:29:50'::timestamp) - extract(epoch from '2026-08-19 18:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126245 -2.817023)'), GeomFromEWKT('SRID=4674;POINT (-40.126369 -2.817132)'))) / (select extract(epoch from '2026-08-19 18:29:50'::timestamp) - extract(epoch from '2026-08-19 18:29: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.126455 -2.8172)', '2026-08-19 18:29:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126369 -2.817132)'), GeomFromEWKT('SRID=4674;POINT (-40.126455 -2.8172)'))) / (select extract(epoch from '2026-08-19 18:29:56'::timestamp) - extract(epoch from '2026-08-19 18:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126369 -2.817132)'), GeomFromEWKT('SRID=4674;POINT (-40.126455 -2.8172)'))) / (select extract(epoch from '2026-08-19 18:29:56'::timestamp) - extract(epoch from '2026-08-19 18:29:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126566 -2.817307)', '2026-08-19 18:30:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126455 -2.8172)'), GeomFromEWKT('SRID=4674;POINT (-40.126566 -2.817307)'))) / (select extract(epoch from '2026-08-19 18:30:05'::timestamp) - extract(epoch from '2026-08-19 18:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126455 -2.8172)'), GeomFromEWKT('SRID=4674;POINT (-40.126566 -2.817307)'))) / (select extract(epoch from '2026-08-19 18:30:05'::timestamp) - extract(epoch from '2026-08-19 18:29: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.126655 -2.817378)', '2026-08-19 18:30:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126566 -2.817307)'), GeomFromEWKT('SRID=4674;POINT (-40.126655 -2.817378)'))) / (select extract(epoch from '2026-08-19 18:30:11'::timestamp) - extract(epoch from '2026-08-19 18:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126566 -2.817307)'), GeomFromEWKT('SRID=4674;POINT (-40.126655 -2.817378)'))) / (select extract(epoch from '2026-08-19 18:30:11'::timestamp) - extract(epoch from '2026-08-19 18:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12676 -2.817434)', '2026-08-19 18:30:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126655 -2.817378)'), GeomFromEWKT('SRID=4674;POINT (-40.12676 -2.817434)'))) / (select extract(epoch from '2026-08-19 18:30:18'::timestamp) - extract(epoch from '2026-08-19 18:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126655 -2.817378)'), GeomFromEWKT('SRID=4674;POINT (-40.12676 -2.817434)'))) / (select extract(epoch from '2026-08-19 18:30:18'::timestamp) - extract(epoch from '2026-08-19 18:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126871 -2.817496)', '2026-08-19 18:30:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12676 -2.817434)'), GeomFromEWKT('SRID=4674;POINT (-40.126871 -2.817496)'))) / (select extract(epoch from '2026-08-19 18:30:25'::timestamp) - extract(epoch from '2026-08-19 18:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12676 -2.817434)'), GeomFromEWKT('SRID=4674;POINT (-40.126871 -2.817496)'))) / (select extract(epoch from '2026-08-19 18:30:25'::timestamp) - extract(epoch from '2026-08-19 18:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127003 -2.81758)', '2026-08-19 18:30:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126871 -2.817496)'), GeomFromEWKT('SRID=4674;POINT (-40.127003 -2.81758)'))) / (select extract(epoch from '2026-08-19 18:30:34'::timestamp) - extract(epoch from '2026-08-19 18:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126871 -2.817496)'), GeomFromEWKT('SRID=4674;POINT (-40.127003 -2.81758)'))) / (select extract(epoch from '2026-08-19 18:30:34'::timestamp) - extract(epoch from '2026-08-19 18:30: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.127113 -2.817664)', '2026-08-19 18:30:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127003 -2.81758)'), GeomFromEWKT('SRID=4674;POINT (-40.127113 -2.817664)'))) / (select extract(epoch from '2026-08-19 18:30:42'::timestamp) - extract(epoch from '2026-08-19 18:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127003 -2.81758)'), GeomFromEWKT('SRID=4674;POINT (-40.127113 -2.817664)'))) / (select extract(epoch from '2026-08-19 18:30:42'::timestamp) - extract(epoch from '2026-08-19 18:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127242 -2.817763)', '2026-08-19 18:30:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127113 -2.817664)'), GeomFromEWKT('SRID=4674;POINT (-40.127242 -2.817763)'))) / (select extract(epoch from '2026-08-19 18:30:51'::timestamp) - extract(epoch from '2026-08-19 18:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127113 -2.817664)'), GeomFromEWKT('SRID=4674;POINT (-40.127242 -2.817763)'))) / (select extract(epoch from '2026-08-19 18:30:51'::timestamp) - extract(epoch from '2026-08-19 18:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127354 -2.817834)', '2026-08-19 18:30:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127242 -2.817763)'), GeomFromEWKT('SRID=4674;POINT (-40.127354 -2.817834)'))) / (select extract(epoch from '2026-08-19 18:30:58'::timestamp) - extract(epoch from '2026-08-19 18:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127242 -2.817763)'), GeomFromEWKT('SRID=4674;POINT (-40.127354 -2.817834)'))) / (select extract(epoch from '2026-08-19 18:30:58'::timestamp) - extract(epoch from '2026-08-19 18: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.127446 -2.817914)', '2026-08-19 18:31:05', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127354 -2.817834)'), GeomFromEWKT('SRID=4674;POINT (-40.127446 -2.817914)'))) / (select extract(epoch from '2026-08-19 18:31:05'::timestamp) - extract(epoch from '2026-08-19 18:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127354 -2.817834)'), GeomFromEWKT('SRID=4674;POINT (-40.127446 -2.817914)'))) / (select extract(epoch from '2026-08-19 18:31:05'::timestamp) - extract(epoch from '2026-08-19 18:30: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.127577 -2.818008)', '2026-08-19 18:31:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127446 -2.817914)'), GeomFromEWKT('SRID=4674;POINT (-40.127577 -2.818008)'))) / (select extract(epoch from '2026-08-19 18:31:14'::timestamp) - extract(epoch from '2026-08-19 18:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127446 -2.817914)'), GeomFromEWKT('SRID=4674;POINT (-40.127577 -2.818008)'))) / (select extract(epoch from '2026-08-19 18:31:14'::timestamp) - extract(epoch from '2026-08-19 18: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.127691 -2.818062)', '2026-08-19 18:31:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127577 -2.818008)'), GeomFromEWKT('SRID=4674;POINT (-40.127691 -2.818062)'))) / (select extract(epoch from '2026-08-19 18:31:21'::timestamp) - extract(epoch from '2026-08-19 18:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127577 -2.818008)'), GeomFromEWKT('SRID=4674;POINT (-40.127691 -2.818062)'))) / (select extract(epoch from '2026-08-19 18:31:21'::timestamp) - extract(epoch from '2026-08-19 18:31: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.127771 -2.818149)', '2026-08-19 18:31:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127691 -2.818062)'), GeomFromEWKT('SRID=4674;POINT (-40.127771 -2.818149)'))) / (select extract(epoch from '2026-08-19 18:31:28'::timestamp) - extract(epoch from '2026-08-19 18:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127691 -2.818062)'), GeomFromEWKT('SRID=4674;POINT (-40.127771 -2.818149)'))) / (select extract(epoch from '2026-08-19 18:31:28'::timestamp) - extract(epoch from '2026-08-19 18:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127854 -2.818222)', '2026-08-19 18:31:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127771 -2.818149)'), GeomFromEWKT('SRID=4674;POINT (-40.127854 -2.818222)'))) / (select extract(epoch from '2026-08-19 18:31:35'::timestamp) - extract(epoch from '2026-08-19 18:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127771 -2.818149)'), GeomFromEWKT('SRID=4674;POINT (-40.127854 -2.818222)'))) / (select extract(epoch from '2026-08-19 18:31:35'::timestamp) - extract(epoch from '2026-08-19 18:31: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.127981 -2.818243)', '2026-08-19 18:31:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127854 -2.818222)'), GeomFromEWKT('SRID=4674;POINT (-40.127981 -2.818243)'))) / (select extract(epoch from '2026-08-19 18:31:43'::timestamp) - extract(epoch from '2026-08-19 18:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127854 -2.818222)'), GeomFromEWKT('SRID=4674;POINT (-40.127981 -2.818243)'))) / (select extract(epoch from '2026-08-19 18:31:43'::timestamp) - extract(epoch from '2026-08-19 18:31: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.128074 -2.818284)', '2026-08-19 18:31:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127981 -2.818243)'), GeomFromEWKT('SRID=4674;POINT (-40.128074 -2.818284)'))) / (select extract(epoch from '2026-08-19 18:31:49'::timestamp) - extract(epoch from '2026-08-19 18:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127981 -2.818243)'), GeomFromEWKT('SRID=4674;POINT (-40.128074 -2.818284)'))) / (select extract(epoch from '2026-08-19 18:31:49'::timestamp) - extract(epoch from '2026-08-19 18:31: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.128165 -2.81836)', '2026-08-19 18:31:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128074 -2.818284)'), GeomFromEWKT('SRID=4674;POINT (-40.128165 -2.81836)'))) / (select extract(epoch from '2026-08-19 18:31:56'::timestamp) - extract(epoch from '2026-08-19 18:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128074 -2.818284)'), GeomFromEWKT('SRID=4674;POINT (-40.128165 -2.81836)'))) / (select extract(epoch from '2026-08-19 18:31:56'::timestamp) - extract(epoch from '2026-08-19 18: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.128249 -2.818445)', '2026-08-19 18:32:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128165 -2.81836)'), GeomFromEWKT('SRID=4674;POINT (-40.128249 -2.818445)'))) / (select extract(epoch from '2026-08-19 18:32:03'::timestamp) - extract(epoch from '2026-08-19 18:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128165 -2.81836)'), GeomFromEWKT('SRID=4674;POINT (-40.128249 -2.818445)'))) / (select extract(epoch from '2026-08-19 18:32:03'::timestamp) - extract(epoch from '2026-08-19 18:31: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.128343 -2.818541)', '2026-08-19 18:32:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128249 -2.818445)'), GeomFromEWKT('SRID=4674;POINT (-40.128343 -2.818541)'))) / (select extract(epoch from '2026-08-19 18:32:11'::timestamp) - extract(epoch from '2026-08-19 18:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128249 -2.818445)'), GeomFromEWKT('SRID=4674;POINT (-40.128343 -2.818541)'))) / (select extract(epoch from '2026-08-19 18:32:11'::timestamp) - extract(epoch from '2026-08-19 18:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128434 -2.81864)', '2026-08-19 18:32:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128343 -2.818541)'), GeomFromEWKT('SRID=4674;POINT (-40.128434 -2.81864)'))) / (select extract(epoch from '2026-08-19 18:32:19'::timestamp) - extract(epoch from '2026-08-19 18:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128343 -2.818541)'), GeomFromEWKT('SRID=4674;POINT (-40.128434 -2.81864)'))) / (select extract(epoch from '2026-08-19 18:32:19'::timestamp) - extract(epoch from '2026-08-19 18:32: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.128502 -2.818702)', '2026-08-19 18:32:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128434 -2.81864)'), GeomFromEWKT('SRID=4674;POINT (-40.128502 -2.818702)'))) / (select extract(epoch from '2026-08-19 18:32:25'::timestamp) - extract(epoch from '2026-08-19 18:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128434 -2.81864)'), GeomFromEWKT('SRID=4674;POINT (-40.128502 -2.818702)'))) / (select extract(epoch from '2026-08-19 18:32:25'::timestamp) - extract(epoch from '2026-08-19 18:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128589 -2.818761)', '2026-08-19 18:32:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128502 -2.818702)'), GeomFromEWKT('SRID=4674;POINT (-40.128589 -2.818761)'))) / (select extract(epoch from '2026-08-19 18:32:31'::timestamp) - extract(epoch from '2026-08-19 18:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128502 -2.818702)'), GeomFromEWKT('SRID=4674;POINT (-40.128589 -2.818761)'))) / (select extract(epoch from '2026-08-19 18:32:31'::timestamp) - extract(epoch from '2026-08-19 18:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128673 -2.818823)', '2026-08-19 18:32:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128589 -2.818761)'), GeomFromEWKT('SRID=4674;POINT (-40.128673 -2.818823)'))) / (select extract(epoch from '2026-08-19 18:32:37'::timestamp) - extract(epoch from '2026-08-19 18:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128589 -2.818761)'), GeomFromEWKT('SRID=4674;POINT (-40.128673 -2.818823)'))) / (select extract(epoch from '2026-08-19 18:32:37'::timestamp) - extract(epoch from '2026-08-19 18:32: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.128794 -2.818924)', '2026-08-19 18:32:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128673 -2.818823)'), GeomFromEWKT('SRID=4674;POINT (-40.128794 -2.818924)'))) / (select extract(epoch from '2026-08-19 18:32:46'::timestamp) - extract(epoch from '2026-08-19 18:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128673 -2.818823)'), GeomFromEWKT('SRID=4674;POINT (-40.128794 -2.818924)'))) / (select extract(epoch from '2026-08-19 18:32:46'::timestamp) - extract(epoch from '2026-08-19 18:32: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.128895 -2.819003)', '2026-08-19 18:32:53', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128794 -2.818924)'), GeomFromEWKT('SRID=4674;POINT (-40.128895 -2.819003)'))) / (select extract(epoch from '2026-08-19 18:32:53'::timestamp) - extract(epoch from '2026-08-19 18:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128794 -2.818924)'), GeomFromEWKT('SRID=4674;POINT (-40.128895 -2.819003)'))) / (select extract(epoch from '2026-08-19 18:32:53'::timestamp) - extract(epoch from '2026-08-19 18:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.129013 -2.819039)', '2026-08-19 18:33:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128895 -2.819003)'), GeomFromEWKT('SRID=4674;POINT (-40.129013 -2.819039)'))) / (select extract(epoch from '2026-08-19 18:33:00'::timestamp) - extract(epoch from '2026-08-19 18:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128895 -2.819003)'), GeomFromEWKT('SRID=4674;POINT (-40.129013 -2.819039)'))) / (select extract(epoch from '2026-08-19 18:33:00'::timestamp) - extract(epoch from '2026-08-19 18:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.129147 -2.819096)', '2026-08-19 18:33:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129013 -2.819039)'), GeomFromEWKT('SRID=4674;POINT (-40.129147 -2.819096)'))) / (select extract(epoch from '2026-08-19 18:33:08'::timestamp) - extract(epoch from '2026-08-19 18:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129013 -2.819039)'), GeomFromEWKT('SRID=4674;POINT (-40.129147 -2.819096)'))) / (select extract(epoch from '2026-08-19 18:33:08'::timestamp) - extract(epoch from '2026-08-19 18:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.129305 -2.819148)', '2026-08-19 18:33:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129147 -2.819096)'), GeomFromEWKT('SRID=4674;POINT (-40.129305 -2.819148)'))) / (select extract(epoch from '2026-08-19 18:33:17'::timestamp) - extract(epoch from '2026-08-19 18:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129147 -2.819096)'), GeomFromEWKT('SRID=4674;POINT (-40.129305 -2.819148)'))) / (select extract(epoch from '2026-08-19 18:33:17'::timestamp) - extract(epoch from '2026-08-19 18:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.129419 -2.819194)', '2026-08-19 18:33:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129305 -2.819148)'), GeomFromEWKT('SRID=4674;POINT (-40.129419 -2.819194)'))) / (select extract(epoch from '2026-08-19 18:33:24'::timestamp) - extract(epoch from '2026-08-19 18:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129305 -2.819148)'), GeomFromEWKT('SRID=4674;POINT (-40.129419 -2.819194)'))) / (select extract(epoch from '2026-08-19 18:33:24'::timestamp) - extract(epoch from '2026-08-19 18:33: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.129529 -2.819274)', '2026-08-19 18:33:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129419 -2.819194)'), GeomFromEWKT('SRID=4674;POINT (-40.129529 -2.819274)'))) / (select extract(epoch from '2026-08-19 18:33:32'::timestamp) - extract(epoch from '2026-08-19 18:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129419 -2.819194)'), GeomFromEWKT('SRID=4674;POINT (-40.129529 -2.819274)'))) / (select extract(epoch from '2026-08-19 18:33:32'::timestamp) - extract(epoch from '2026-08-19 18:33: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.129606 -2.819356)', '2026-08-19 18:33:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129529 -2.819274)'), GeomFromEWKT('SRID=4674;POINT (-40.129606 -2.819356)'))) / (select extract(epoch from '2026-08-19 18:33:39'::timestamp) - extract(epoch from '2026-08-19 18:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129529 -2.819274)'), GeomFromEWKT('SRID=4674;POINT (-40.129606 -2.819356)'))) / (select extract(epoch from '2026-08-19 18:33:39'::timestamp) - extract(epoch from '2026-08-19 18:33: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.129734 -2.819443)', '2026-08-19 18:33:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129606 -2.819356)'), GeomFromEWKT('SRID=4674;POINT (-40.129734 -2.819443)'))) / (select extract(epoch from '2026-08-19 18:33:48'::timestamp) - extract(epoch from '2026-08-19 18:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129606 -2.819356)'), GeomFromEWKT('SRID=4674;POINT (-40.129734 -2.819443)'))) / (select extract(epoch from '2026-08-19 18:33:48'::timestamp) - extract(epoch from '2026-08-19 18:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12983 -2.819521)', '2026-08-19 18:33:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129734 -2.819443)'), GeomFromEWKT('SRID=4674;POINT (-40.12983 -2.819521)'))) / (select extract(epoch from '2026-08-19 18:33:55'::timestamp) - extract(epoch from '2026-08-19 18:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129734 -2.819443)'), GeomFromEWKT('SRID=4674;POINT (-40.12983 -2.819521)'))) / (select extract(epoch from '2026-08-19 18:33:55'::timestamp) - extract(epoch from '2026-08-19 18:33: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.129969 -2.819634)', '2026-08-19 18:34:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12983 -2.819521)'), GeomFromEWKT('SRID=4674;POINT (-40.129969 -2.819634)'))) / (select extract(epoch from '2026-08-19 18:34:05'::timestamp) - extract(epoch from '2026-08-19 18:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12983 -2.819521)'), GeomFromEWKT('SRID=4674;POINT (-40.129969 -2.819634)'))) / (select extract(epoch from '2026-08-19 18:34:05'::timestamp) - extract(epoch from '2026-08-19 18:33: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.130086 -2.819693)', '2026-08-19 18:34:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129969 -2.819634)'), GeomFromEWKT('SRID=4674;POINT (-40.130086 -2.819693)'))) / (select extract(epoch from '2026-08-19 18:34:12'::timestamp) - extract(epoch from '2026-08-19 18:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129969 -2.819634)'), GeomFromEWKT('SRID=4674;POINT (-40.130086 -2.819693)'))) / (select extract(epoch from '2026-08-19 18:34:12'::timestamp) - extract(epoch from '2026-08-19 18:34: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.130202 -2.819747)', '2026-08-19 18:34:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130086 -2.819693)'), GeomFromEWKT('SRID=4674;POINT (-40.130202 -2.819747)'))) / (select extract(epoch from '2026-08-19 18:34:19'::timestamp) - extract(epoch from '2026-08-19 18:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130086 -2.819693)'), GeomFromEWKT('SRID=4674;POINT (-40.130202 -2.819747)'))) / (select extract(epoch from '2026-08-19 18:34:19'::timestamp) - extract(epoch from '2026-08-19 18:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130329 -2.819781)', '2026-08-19 18:34:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130202 -2.819747)'), GeomFromEWKT('SRID=4674;POINT (-40.130329 -2.819781)'))) / (select extract(epoch from '2026-08-19 18:34:26'::timestamp) - extract(epoch from '2026-08-19 18:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130202 -2.819747)'), GeomFromEWKT('SRID=4674;POINT (-40.130329 -2.819781)'))) / (select extract(epoch from '2026-08-19 18:34:26'::timestamp) - extract(epoch from '2026-08-19 18:34: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.130479 -2.819848)', '2026-08-19 18:34:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130329 -2.819781)'), GeomFromEWKT('SRID=4674;POINT (-40.130479 -2.819848)'))) / (select extract(epoch from '2026-08-19 18:34:35'::timestamp) - extract(epoch from '2026-08-19 18:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130329 -2.819781)'), GeomFromEWKT('SRID=4674;POINT (-40.130479 -2.819848)'))) / (select extract(epoch from '2026-08-19 18:34:35'::timestamp) - extract(epoch from '2026-08-19 18:34: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.130587 -2.819907)', '2026-08-19 18:34:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130479 -2.819848)'), GeomFromEWKT('SRID=4674;POINT (-40.130587 -2.819907)'))) / (select extract(epoch from '2026-08-19 18:34:42'::timestamp) - extract(epoch from '2026-08-19 18:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130479 -2.819848)'), GeomFromEWKT('SRID=4674;POINT (-40.130587 -2.819907)'))) / (select extract(epoch from '2026-08-19 18:34:42'::timestamp) - extract(epoch from '2026-08-19 18: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.130728 -2.819965)', '2026-08-19 18:34:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130587 -2.819907)'), GeomFromEWKT('SRID=4674;POINT (-40.130728 -2.819965)'))) / (select extract(epoch from '2026-08-19 18:34:50'::timestamp) - extract(epoch from '2026-08-19 18:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130587 -2.819907)'), GeomFromEWKT('SRID=4674;POINT (-40.130728 -2.819965)'))) / (select extract(epoch from '2026-08-19 18:34:50'::timestamp) - extract(epoch from '2026-08-19 18:34: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.130839 -2.820033)', '2026-08-19 18:34:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130728 -2.819965)'), GeomFromEWKT('SRID=4674;POINT (-40.130839 -2.820033)'))) / (select extract(epoch from '2026-08-19 18:34:57'::timestamp) - extract(epoch from '2026-08-19 18:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130728 -2.819965)'), GeomFromEWKT('SRID=4674;POINT (-40.130839 -2.820033)'))) / (select extract(epoch from '2026-08-19 18:34:57'::timestamp) - extract(epoch from '2026-08-19 18:34: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.13094 -2.820138)', '2026-08-19 18:35:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130839 -2.820033)'), GeomFromEWKT('SRID=4674;POINT (-40.13094 -2.820138)'))) / (select extract(epoch from '2026-08-19 18:35:05'::timestamp) - extract(epoch from '2026-08-19 18:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130839 -2.820033)'), GeomFromEWKT('SRID=4674;POINT (-40.13094 -2.820138)'))) / (select extract(epoch from '2026-08-19 18:35:05'::timestamp) - extract(epoch from '2026-08-19 18:34: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.131027 -2.820226)', '2026-08-19 18:35:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13094 -2.820138)'), GeomFromEWKT('SRID=4674;POINT (-40.131027 -2.820226)'))) / (select extract(epoch from '2026-08-19 18:35:12'::timestamp) - extract(epoch from '2026-08-19 18:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13094 -2.820138)'), GeomFromEWKT('SRID=4674;POINT (-40.131027 -2.820226)'))) / (select extract(epoch from '2026-08-19 18:35:12'::timestamp) - extract(epoch from '2026-08-19 18:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131114 -2.820329)', '2026-08-19 18:35:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131027 -2.820226)'), GeomFromEWKT('SRID=4674;POINT (-40.131114 -2.820329)'))) / (select extract(epoch from '2026-08-19 18:35:20'::timestamp) - extract(epoch from '2026-08-19 18:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131027 -2.820226)'), GeomFromEWKT('SRID=4674;POINT (-40.131114 -2.820329)'))) / (select extract(epoch from '2026-08-19 18:35:20'::timestamp) - extract(epoch from '2026-08-19 18:35: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.131183 -2.820404)', '2026-08-19 18:35:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131114 -2.820329)'), GeomFromEWKT('SRID=4674;POINT (-40.131183 -2.820404)'))) / (select extract(epoch from '2026-08-19 18:35:26'::timestamp) - extract(epoch from '2026-08-19 18:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131114 -2.820329)'), GeomFromEWKT('SRID=4674;POINT (-40.131183 -2.820404)'))) / (select extract(epoch from '2026-08-19 18:35:26'::timestamp) - extract(epoch from '2026-08-19 18:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131254 -2.820476)', '2026-08-19 18:35:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131183 -2.820404)'), GeomFromEWKT('SRID=4674;POINT (-40.131254 -2.820476)'))) / (select extract(epoch from '2026-08-19 18:35:32'::timestamp) - extract(epoch from '2026-08-19 18:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131183 -2.820404)'), GeomFromEWKT('SRID=4674;POINT (-40.131254 -2.820476)'))) / (select extract(epoch from '2026-08-19 18:35:32'::timestamp) - extract(epoch from '2026-08-19 18:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131351 -2.820549)', '2026-08-19 18:35:39', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131254 -2.820476)'), GeomFromEWKT('SRID=4674;POINT (-40.131351 -2.820549)'))) / (select extract(epoch from '2026-08-19 18:35:39'::timestamp) - extract(epoch from '2026-08-19 18:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131254 -2.820476)'), GeomFromEWKT('SRID=4674;POINT (-40.131351 -2.820549)'))) / (select extract(epoch from '2026-08-19 18:35:39'::timestamp) - extract(epoch from '2026-08-19 18: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.131435 -2.820629)', '2026-08-19 18:35:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131351 -2.820549)'), GeomFromEWKT('SRID=4674;POINT (-40.131435 -2.820629)'))) / (select extract(epoch from '2026-08-19 18:35:46'::timestamp) - extract(epoch from '2026-08-19 18:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131351 -2.820549)'), GeomFromEWKT('SRID=4674;POINT (-40.131435 -2.820629)'))) / (select extract(epoch from '2026-08-19 18:35:46'::timestamp) - extract(epoch from '2026-08-19 18:35:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131546 -2.820739)', '2026-08-19 18:35:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131435 -2.820629)'), GeomFromEWKT('SRID=4674;POINT (-40.131546 -2.820739)'))) / (select extract(epoch from '2026-08-19 18:35:55'::timestamp) - extract(epoch from '2026-08-19 18:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131435 -2.820629)'), GeomFromEWKT('SRID=4674;POINT (-40.131546 -2.820739)'))) / (select extract(epoch from '2026-08-19 18:35:55'::timestamp) - extract(epoch from '2026-08-19 18:35: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.131643 -2.820801)', '2026-08-19 18:36:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131546 -2.820739)'), GeomFromEWKT('SRID=4674;POINT (-40.131643 -2.820801)'))) / (select extract(epoch from '2026-08-19 18:36:02'::timestamp) - extract(epoch from '2026-08-19 18:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131546 -2.820739)'), GeomFromEWKT('SRID=4674;POINT (-40.131643 -2.820801)'))) / (select extract(epoch from '2026-08-19 18:36:02'::timestamp) - extract(epoch from '2026-08-19 18:35: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.131798 -2.820877)', '2026-08-19 18:36:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131643 -2.820801)'), GeomFromEWKT('SRID=4674;POINT (-40.131798 -2.820877)'))) / (select extract(epoch from '2026-08-19 18:36:11'::timestamp) - extract(epoch from '2026-08-19 18:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131643 -2.820801)'), GeomFromEWKT('SRID=4674;POINT (-40.131798 -2.820877)'))) / (select extract(epoch from '2026-08-19 18:36:11'::timestamp) - extract(epoch from '2026-08-19 18: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.131924 -2.82095)', '2026-08-19 18:36:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131798 -2.820877)'), GeomFromEWKT('SRID=4674;POINT (-40.131924 -2.82095)'))) / (select extract(epoch from '2026-08-19 18:36:19'::timestamp) - extract(epoch from '2026-08-19 18:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131798 -2.820877)'), GeomFromEWKT('SRID=4674;POINT (-40.131924 -2.82095)'))) / (select extract(epoch from '2026-08-19 18:36:19'::timestamp) - extract(epoch from '2026-08-19 18: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.132044 -2.821027)', '2026-08-19 18:36:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131924 -2.82095)'), GeomFromEWKT('SRID=4674;POINT (-40.132044 -2.821027)'))) / (select extract(epoch from '2026-08-19 18:36:27'::timestamp) - extract(epoch from '2026-08-19 18:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131924 -2.82095)'), GeomFromEWKT('SRID=4674;POINT (-40.132044 -2.821027)'))) / (select extract(epoch from '2026-08-19 18:36:27'::timestamp) - extract(epoch from '2026-08-19 18:36: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.132144 -2.821095)', '2026-08-19 18:36:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132044 -2.821027)'), GeomFromEWKT('SRID=4674;POINT (-40.132144 -2.821095)'))) / (select extract(epoch from '2026-08-19 18:36:34'::timestamp) - extract(epoch from '2026-08-19 18:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132044 -2.821027)'), GeomFromEWKT('SRID=4674;POINT (-40.132144 -2.821095)'))) / (select extract(epoch from '2026-08-19 18:36:34'::timestamp) - extract(epoch from '2026-08-19 18:36: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.13224 -2.821178)', '2026-08-19 18:36:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132144 -2.821095)'), GeomFromEWKT('SRID=4674;POINT (-40.13224 -2.821178)'))) / (select extract(epoch from '2026-08-19 18:36:41'::timestamp) - extract(epoch from '2026-08-19 18:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132144 -2.821095)'), GeomFromEWKT('SRID=4674;POINT (-40.13224 -2.821178)'))) / (select extract(epoch from '2026-08-19 18:36:41'::timestamp) - extract(epoch from '2026-08-19 18:36: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.132364 -2.82128)', '2026-08-19 18:36:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13224 -2.821178)'), GeomFromEWKT('SRID=4674;POINT (-40.132364 -2.82128)'))) / (select extract(epoch from '2026-08-19 18:36:50'::timestamp) - extract(epoch from '2026-08-19 18:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13224 -2.821178)'), GeomFromEWKT('SRID=4674;POINT (-40.132364 -2.82128)'))) / (select extract(epoch from '2026-08-19 18:36:50'::timestamp) - extract(epoch from '2026-08-19 18: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.132446 -2.821336)', '2026-08-19 18:36:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132364 -2.82128)'), GeomFromEWKT('SRID=4674;POINT (-40.132446 -2.821336)'))) / (select extract(epoch from '2026-08-19 18:36:56'::timestamp) - extract(epoch from '2026-08-19 18:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132364 -2.82128)'), GeomFromEWKT('SRID=4674;POINT (-40.132446 -2.821336)'))) / (select extract(epoch from '2026-08-19 18:36:56'::timestamp) - extract(epoch from '2026-08-19 18:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132551 -2.821429)', '2026-08-19 18:37:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132446 -2.821336)'), GeomFromEWKT('SRID=4674;POINT (-40.132551 -2.821429)'))) / (select extract(epoch from '2026-08-19 18:37:04'::timestamp) - extract(epoch from '2026-08-19 18:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132446 -2.821336)'), GeomFromEWKT('SRID=4674;POINT (-40.132551 -2.821429)'))) / (select extract(epoch from '2026-08-19 18:37:04'::timestamp) - extract(epoch from '2026-08-19 18: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.132654 -2.821503)', '2026-08-19 18:37:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132551 -2.821429)'), GeomFromEWKT('SRID=4674;POINT (-40.132654 -2.821503)'))) / (select extract(epoch from '2026-08-19 18:37:11'::timestamp) - extract(epoch from '2026-08-19 18:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132551 -2.821429)'), GeomFromEWKT('SRID=4674;POINT (-40.132654 -2.821503)'))) / (select extract(epoch from '2026-08-19 18:37:11'::timestamp) - extract(epoch from '2026-08-19 18:37:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132744 -2.821593)', '2026-08-19 18:37:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132654 -2.821503)'), GeomFromEWKT('SRID=4674;POINT (-40.132744 -2.821593)'))) / (select extract(epoch from '2026-08-19 18:37:19'::timestamp) - extract(epoch from '2026-08-19 18:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132654 -2.821503)'), GeomFromEWKT('SRID=4674;POINT (-40.132744 -2.821593)'))) / (select extract(epoch from '2026-08-19 18:37:19'::timestamp) - extract(epoch from '2026-08-19 18:37: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.132849 -2.821631)', '2026-08-19 18:37:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132744 -2.821593)'), GeomFromEWKT('SRID=4674;POINT (-40.132849 -2.821631)'))) / (select extract(epoch from '2026-08-19 18:37:26'::timestamp) - extract(epoch from '2026-08-19 18:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132744 -2.821593)'), GeomFromEWKT('SRID=4674;POINT (-40.132849 -2.821631)'))) / (select extract(epoch from '2026-08-19 18:37:26'::timestamp) - extract(epoch from '2026-08-19 18: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.132991 -2.821642)', '2026-08-19 18:37:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132849 -2.821631)'), GeomFromEWKT('SRID=4674;POINT (-40.132991 -2.821642)'))) / (select extract(epoch from '2026-08-19 18:37:34'::timestamp) - extract(epoch from '2026-08-19 18:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132849 -2.821631)'), GeomFromEWKT('SRID=4674;POINT (-40.132991 -2.821642)'))) / (select extract(epoch from '2026-08-19 18:37:34'::timestamp) - extract(epoch from '2026-08-19 18:37: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.133101 -2.821641)', '2026-08-19 18:37:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132991 -2.821642)'), GeomFromEWKT('SRID=4674;POINT (-40.133101 -2.821641)'))) / (select extract(epoch from '2026-08-19 18:37:40'::timestamp) - extract(epoch from '2026-08-19 18:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132991 -2.821642)'), GeomFromEWKT('SRID=4674;POINT (-40.133101 -2.821641)'))) / (select extract(epoch from '2026-08-19 18:37:40'::timestamp) - extract(epoch from '2026-08-19 18:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133279 -2.821627)', '2026-08-19 18:37:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133101 -2.821641)'), GeomFromEWKT('SRID=4674;POINT (-40.133279 -2.821627)'))) / (select extract(epoch from '2026-08-19 18:37:50'::timestamp) - extract(epoch from '2026-08-19 18:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133101 -2.821641)'), GeomFromEWKT('SRID=4674;POINT (-40.133279 -2.821627)'))) / (select extract(epoch from '2026-08-19 18:37:50'::timestamp) - extract(epoch from '2026-08-19 18:37: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.133421 -2.821607)', '2026-08-19 18:37:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133279 -2.821627)'), GeomFromEWKT('SRID=4674;POINT (-40.133421 -2.821607)'))) / (select extract(epoch from '2026-08-19 18:37:58'::timestamp) - extract(epoch from '2026-08-19 18:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133279 -2.821627)'), GeomFromEWKT('SRID=4674;POINT (-40.133421 -2.821607)'))) / (select extract(epoch from '2026-08-19 18:37:58'::timestamp) - extract(epoch from '2026-08-19 18: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.133567 -2.821612)', '2026-08-19 18:38:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133421 -2.821607)'), GeomFromEWKT('SRID=4674;POINT (-40.133567 -2.821612)'))) / (select extract(epoch from '2026-08-19 18:38:06'::timestamp) - extract(epoch from '2026-08-19 18:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133421 -2.821607)'), GeomFromEWKT('SRID=4674;POINT (-40.133567 -2.821612)'))) / (select extract(epoch from '2026-08-19 18:38:06'::timestamp) - extract(epoch from '2026-08-19 18:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133703 -2.821632)', '2026-08-19 18:38:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133567 -2.821612)'), GeomFromEWKT('SRID=4674;POINT (-40.133703 -2.821632)'))) / (select extract(epoch from '2026-08-19 18:38:13'::timestamp) - extract(epoch from '2026-08-19 18:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133567 -2.821612)'), GeomFromEWKT('SRID=4674;POINT (-40.133703 -2.821632)'))) / (select extract(epoch from '2026-08-19 18:38:13'::timestamp) - extract(epoch from '2026-08-19 18:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133822 -2.821668)', '2026-08-19 18:38:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133703 -2.821632)'), GeomFromEWKT('SRID=4674;POINT (-40.133822 -2.821668)'))) / (select extract(epoch from '2026-08-19 18:38:20'::timestamp) - extract(epoch from '2026-08-19 18:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133703 -2.821632)'), GeomFromEWKT('SRID=4674;POINT (-40.133822 -2.821668)'))) / (select extract(epoch from '2026-08-19 18:38:20'::timestamp) - extract(epoch from '2026-08-19 18:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133939 -2.821693)', '2026-08-19 18:38:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133822 -2.821668)'), GeomFromEWKT('SRID=4674;POINT (-40.133939 -2.821693)'))) / (select extract(epoch from '2026-08-19 18:38:27'::timestamp) - extract(epoch from '2026-08-19 18:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133822 -2.821668)'), GeomFromEWKT('SRID=4674;POINT (-40.133939 -2.821693)'))) / (select extract(epoch from '2026-08-19 18:38:27'::timestamp) - extract(epoch from '2026-08-19 18:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.134072 -2.821687)', '2026-08-19 18:38:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133939 -2.821693)'), GeomFromEWKT('SRID=4674;POINT (-40.134072 -2.821687)'))) / (select extract(epoch from '2026-08-19 18:38:35'::timestamp) - extract(epoch from '2026-08-19 18:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133939 -2.821693)'), GeomFromEWKT('SRID=4674;POINT (-40.134072 -2.821687)'))) / (select extract(epoch from '2026-08-19 18:38:35'::timestamp) - extract(epoch from '2026-08-19 18:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.134165 -2.821668)', '2026-08-19 18:38:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134072 -2.821687)'), GeomFromEWKT('SRID=4674;POINT (-40.134165 -2.821668)'))) / (select extract(epoch from '2026-08-19 18:38:41'::timestamp) - extract(epoch from '2026-08-19 18:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134072 -2.821687)'), GeomFromEWKT('SRID=4674;POINT (-40.134165 -2.821668)'))) / (select extract(epoch from '2026-08-19 18:38:41'::timestamp) - extract(epoch from '2026-08-19 18:38: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.134314 -2.821645)', '2026-08-19 18:38:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134165 -2.821668)'), GeomFromEWKT('SRID=4674;POINT (-40.134314 -2.821645)'))) / (select extract(epoch from '2026-08-19 18:38:50'::timestamp) - extract(epoch from '2026-08-19 18:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134165 -2.821668)'), GeomFromEWKT('SRID=4674;POINT (-40.134314 -2.821645)'))) / (select extract(epoch from '2026-08-19 18:38:50'::timestamp) - extract(epoch from '2026-08-19 18:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.134431 -2.821618)', '2026-08-19 18:38:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134314 -2.821645)'), GeomFromEWKT('SRID=4674;POINT (-40.134431 -2.821618)'))) / (select extract(epoch from '2026-08-19 18:38:57'::timestamp) - extract(epoch from '2026-08-19 18:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134314 -2.821645)'), GeomFromEWKT('SRID=4674;POINT (-40.134431 -2.821618)'))) / (select extract(epoch from '2026-08-19 18:38:57'::timestamp) - extract(epoch from '2026-08-19 18:38: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.134522 -2.821576)', '2026-08-19 18:39:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134431 -2.821618)'), GeomFromEWKT('SRID=4674;POINT (-40.134522 -2.821576)'))) / (select extract(epoch from '2026-08-19 18:39:03'::timestamp) - extract(epoch from '2026-08-19 18:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134431 -2.821618)'), GeomFromEWKT('SRID=4674;POINT (-40.134522 -2.821576)'))) / (select extract(epoch from '2026-08-19 18:39:03'::timestamp) - extract(epoch from '2026-08-19 18:38: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.134657 -2.821548)', '2026-08-19 18:39:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134522 -2.821576)'), GeomFromEWKT('SRID=4674;POINT (-40.134657 -2.821548)'))) / (select extract(epoch from '2026-08-19 18:39:11'::timestamp) - extract(epoch from '2026-08-19 18:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134522 -2.821576)'), GeomFromEWKT('SRID=4674;POINT (-40.134657 -2.821548)'))) / (select extract(epoch from '2026-08-19 18:39:11'::timestamp) - extract(epoch from '2026-08-19 18:39: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.134811 -2.821524)', '2026-08-19 18:39:20', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134657 -2.821548)'), GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.821524)'))) / (select extract(epoch from '2026-08-19 18:39:20'::timestamp) - extract(epoch from '2026-08-19 18:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134657 -2.821548)'), GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.821524)'))) / (select extract(epoch from '2026-08-19 18:39:20'::timestamp) - extract(epoch from '2026-08-19 18:39: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.134945 -2.821504)', '2026-08-19 18:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.821524)'), GeomFromEWKT('SRID=4674;POINT (-40.134945 -2.821504)'))) / (select extract(epoch from '2026-08-19 18:39:27'::timestamp) - extract(epoch from '2026-08-19 18:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134811 -2.821524)'), GeomFromEWKT('SRID=4674;POINT (-40.134945 -2.821504)'))) / (select extract(epoch from '2026-08-19 18:39:27'::timestamp) - extract(epoch from '2026-08-19 18:39: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.135096 -2.821502)', '2026-08-19 18:39:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134945 -2.821504)'), GeomFromEWKT('SRID=4674;POINT (-40.135096 -2.821502)'))) / (select extract(epoch from '2026-08-19 18:39:35'::timestamp) - extract(epoch from '2026-08-19 18:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134945 -2.821504)'), GeomFromEWKT('SRID=4674;POINT (-40.135096 -2.821502)'))) / (select extract(epoch from '2026-08-19 18:39:35'::timestamp) - extract(epoch from '2026-08-19 18:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.135289 -2.8215)', '2026-08-19 18:39:46', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135096 -2.821502)'), GeomFromEWKT('SRID=4674;POINT (-40.135289 -2.8215)'))) / (select extract(epoch from '2026-08-19 18:39:46'::timestamp) - extract(epoch from '2026-08-19 18:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135096 -2.821502)'), GeomFromEWKT('SRID=4674;POINT (-40.135289 -2.8215)'))) / (select extract(epoch from '2026-08-19 18:39:46'::timestamp) - extract(epoch from '2026-08-19 18:39: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.135416 -2.821501)', '2026-08-19 18:39:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135289 -2.8215)'), GeomFromEWKT('SRID=4674;POINT (-40.135416 -2.821501)'))) / (select extract(epoch from '2026-08-19 18:39:53'::timestamp) - extract(epoch from '2026-08-19 18:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135289 -2.8215)'), GeomFromEWKT('SRID=4674;POINT (-40.135416 -2.821501)'))) / (select extract(epoch from '2026-08-19 18:39:53'::timestamp) - extract(epoch from '2026-08-19 18:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.135599 -2.821533)', '2026-08-19 18:40:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135416 -2.821501)'), GeomFromEWKT('SRID=4674;POINT (-40.135599 -2.821533)'))) / (select extract(epoch from '2026-08-19 18:40:03'::timestamp) - extract(epoch from '2026-08-19 18:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135416 -2.821501)'), GeomFromEWKT('SRID=4674;POINT (-40.135599 -2.821533)'))) / (select extract(epoch from '2026-08-19 18:40:03'::timestamp) - extract(epoch from '2026-08-19 18:39: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.135734 -2.821604)', '2026-08-19 18:40:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135599 -2.821533)'), GeomFromEWKT('SRID=4674;POINT (-40.135734 -2.821604)'))) / (select extract(epoch from '2026-08-19 18:40:11'::timestamp) - extract(epoch from '2026-08-19 18:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135599 -2.821533)'), GeomFromEWKT('SRID=4674;POINT (-40.135734 -2.821604)'))) / (select extract(epoch from '2026-08-19 18:40:11'::timestamp) - extract(epoch from '2026-08-19 18:40: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.135863 -2.821623)', '2026-08-19 18:40:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135734 -2.821604)'), GeomFromEWKT('SRID=4674;POINT (-40.135863 -2.821623)'))) / (select extract(epoch from '2026-08-19 18:40:19'::timestamp) - extract(epoch from '2026-08-19 18:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135734 -2.821604)'), GeomFromEWKT('SRID=4674;POINT (-40.135863 -2.821623)'))) / (select extract(epoch from '2026-08-19 18:40:19'::timestamp) - extract(epoch from '2026-08-19 18: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.135959 -2.821592)', '2026-08-19 18:40:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135863 -2.821623)'), GeomFromEWKT('SRID=4674;POINT (-40.135959 -2.821592)'))) / (select extract(epoch from '2026-08-19 18:40:26'::timestamp) - extract(epoch from '2026-08-19 18:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135863 -2.821623)'), GeomFromEWKT('SRID=4674;POINT (-40.135959 -2.821592)'))) / (select extract(epoch from '2026-08-19 18:40:26'::timestamp) - extract(epoch from '2026-08-19 18:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136024 -2.821531)', '2026-08-19 18:40:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135959 -2.821592)'), GeomFromEWKT('SRID=4674;POINT (-40.136024 -2.821531)'))) / (select extract(epoch from '2026-08-19 18:40:33'::timestamp) - extract(epoch from '2026-08-19 18:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135959 -2.821592)'), GeomFromEWKT('SRID=4674;POINT (-40.136024 -2.821531)'))) / (select extract(epoch from '2026-08-19 18:40:33'::timestamp) - extract(epoch from '2026-08-19 18:40: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.136116 -2.821438)', '2026-08-19 18:40:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136024 -2.821531)'), GeomFromEWKT('SRID=4674;POINT (-40.136116 -2.821438)'))) / (select extract(epoch from '2026-08-19 18:40:43'::timestamp) - extract(epoch from '2026-08-19 18:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136024 -2.821531)'), GeomFromEWKT('SRID=4674;POINT (-40.136116 -2.821438)'))) / (select extract(epoch from '2026-08-19 18:40:43'::timestamp) - extract(epoch from '2026-08-19 18:40: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.13618 -2.821339)', '2026-08-19 18:40:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136116 -2.821438)'), GeomFromEWKT('SRID=4674;POINT (-40.13618 -2.821339)'))) / (select extract(epoch from '2026-08-19 18:40:53'::timestamp) - extract(epoch from '2026-08-19 18:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136116 -2.821438)'), GeomFromEWKT('SRID=4674;POINT (-40.13618 -2.821339)'))) / (select extract(epoch from '2026-08-19 18:40:53'::timestamp) - extract(epoch from '2026-08-19 18:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136209 -2.821241)', '2026-08-19 18:41:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13618 -2.821339)'), GeomFromEWKT('SRID=4674;POINT (-40.136209 -2.821241)'))) / (select extract(epoch from '2026-08-19 18:41:02'::timestamp) - extract(epoch from '2026-08-19 18:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13618 -2.821339)'), GeomFromEWKT('SRID=4674;POINT (-40.136209 -2.821241)'))) / (select extract(epoch from '2026-08-19 18:41:02'::timestamp) - extract(epoch from '2026-08-19 18:40: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.136249 -2.821147)', '2026-08-19 18:41:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136209 -2.821241)'), GeomFromEWKT('SRID=4674;POINT (-40.136249 -2.821147)'))) / (select extract(epoch from '2026-08-19 18:41:10'::timestamp) - extract(epoch from '2026-08-19 18:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136209 -2.821241)'), GeomFromEWKT('SRID=4674;POINT (-40.136249 -2.821147)'))) / (select extract(epoch from '2026-08-19 18:41:10'::timestamp) - extract(epoch from '2026-08-19 18: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.136271 -2.821028)', '2026-08-19 18:41:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136249 -2.821147)'), GeomFromEWKT('SRID=4674;POINT (-40.136271 -2.821028)'))) / (select extract(epoch from '2026-08-19 18:41:21'::timestamp) - extract(epoch from '2026-08-19 18:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136249 -2.821147)'), GeomFromEWKT('SRID=4674;POINT (-40.136271 -2.821028)'))) / (select extract(epoch from '2026-08-19 18:41:21'::timestamp) - extract(epoch from '2026-08-19 18: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.13629 -2.820942)', '2026-08-19 18:41:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136271 -2.821028)'), GeomFromEWKT('SRID=4674;POINT (-40.13629 -2.820942)'))) / (select extract(epoch from '2026-08-19 18:41:29'::timestamp) - extract(epoch from '2026-08-19 18:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136271 -2.821028)'), GeomFromEWKT('SRID=4674;POINT (-40.13629 -2.820942)'))) / (select extract(epoch from '2026-08-19 18:41:29'::timestamp) - extract(epoch from '2026-08-19 18: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.136313 -2.820859)', '2026-08-19 18:41:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13629 -2.820942)'), GeomFromEWKT('SRID=4674;POINT (-40.136313 -2.820859)'))) / (select extract(epoch from '2026-08-19 18:41:38'::timestamp) - extract(epoch from '2026-08-19 18:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13629 -2.820942)'), GeomFromEWKT('SRID=4674;POINT (-40.136313 -2.820859)'))) / (select extract(epoch from '2026-08-19 18:41:38'::timestamp) - extract(epoch from '2026-08-19 18:41: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.136327 -2.820792)', '2026-08-19 18:41:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136313 -2.820859)'), GeomFromEWKT('SRID=4674;POINT (-40.136327 -2.820792)'))) / (select extract(epoch from '2026-08-19 18:41:46'::timestamp) - extract(epoch from '2026-08-19 18:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136313 -2.820859)'), GeomFromEWKT('SRID=4674;POINT (-40.136327 -2.820792)'))) / (select extract(epoch from '2026-08-19 18:41:46'::timestamp) - extract(epoch from '2026-08-19 18: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.136331 -2.820697)', '2026-08-19 18:41:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136327 -2.820792)'), GeomFromEWKT('SRID=4674;POINT (-40.136331 -2.820697)'))) / (select extract(epoch from '2026-08-19 18:41:58'::timestamp) - extract(epoch from '2026-08-19 18:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136327 -2.820792)'), GeomFromEWKT('SRID=4674;POINT (-40.136331 -2.820697)'))) / (select extract(epoch from '2026-08-19 18:41:58'::timestamp) - extract(epoch from '2026-08-19 18:41: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.136365 -2.820544)', '2026-08-19 18:42:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136331 -2.820697)'), GeomFromEWKT('SRID=4674;POINT (-40.136365 -2.820544)'))) / (select extract(epoch from '2026-08-19 18:42:14'::timestamp) - extract(epoch from '2026-08-19 18:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136331 -2.820697)'), GeomFromEWKT('SRID=4674;POINT (-40.136365 -2.820544)'))) / (select extract(epoch from '2026-08-19 18:42:14'::timestamp) - extract(epoch from '2026-08-19 18:41: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.136377 -2.82036)', '2026-08-19 18:42:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136365 -2.820544)'), GeomFromEWKT('SRID=4674;POINT (-40.136377 -2.82036)'))) / (select extract(epoch from '2026-08-19 18:42:32'::timestamp) - extract(epoch from '2026-08-19 18:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136365 -2.820544)'), GeomFromEWKT('SRID=4674;POINT (-40.136377 -2.82036)'))) / (select extract(epoch from '2026-08-19 18:42:32'::timestamp) - extract(epoch from '2026-08-19 18:42: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.136379 -2.820214)', '2026-08-19 18:42:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136377 -2.82036)'), GeomFromEWKT('SRID=4674;POINT (-40.136379 -2.820214)'))) / (select extract(epoch from '2026-08-19 18:42:47'::timestamp) - extract(epoch from '2026-08-19 18:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136377 -2.82036)'), GeomFromEWKT('SRID=4674;POINT (-40.136379 -2.820214)'))) / (select extract(epoch from '2026-08-19 18:42:47'::timestamp) - extract(epoch from '2026-08-19 18:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136349 -2.820099)', '2026-08-19 18:43:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136379 -2.820214)'), GeomFromEWKT('SRID=4674;POINT (-40.136349 -2.820099)'))) / (select extract(epoch from '2026-08-19 18:43:02'::timestamp) - extract(epoch from '2026-08-19 18:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136379 -2.820214)'), GeomFromEWKT('SRID=4674;POINT (-40.136349 -2.820099)'))) / (select extract(epoch from '2026-08-19 18:43:02'::timestamp) - extract(epoch from '2026-08-19 18:42: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.136337 -2.82)', '2026-08-19 18:43:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136349 -2.820099)'), GeomFromEWKT('SRID=4674;POINT (-40.136337 -2.82)'))) / (select extract(epoch from '2026-08-19 18:43:16'::timestamp) - extract(epoch from '2026-08-19 18:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136349 -2.820099)'), GeomFromEWKT('SRID=4674;POINT (-40.136337 -2.82)'))) / (select extract(epoch from '2026-08-19 18:43:16'::timestamp) - extract(epoch from '2026-08-19 18:43: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.136351 -2.819882)', '2026-08-19 18:43:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136337 -2.82)'), GeomFromEWKT('SRID=4674;POINT (-40.136351 -2.819882)'))) / (select extract(epoch from '2026-08-19 18:43:31'::timestamp) - extract(epoch from '2026-08-19 18:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136337 -2.82)'), GeomFromEWKT('SRID=4674;POINT (-40.136351 -2.819882)'))) / (select extract(epoch from '2026-08-19 18:43:31'::timestamp) - extract(epoch from '2026-08-19 18:43: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.136372 -2.819799)', '2026-08-19 18:43:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136351 -2.819882)'), GeomFromEWKT('SRID=4674;POINT (-40.136372 -2.819799)'))) / (select extract(epoch from '2026-08-19 18:43:46'::timestamp) - extract(epoch from '2026-08-19 18:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136351 -2.819882)'), GeomFromEWKT('SRID=4674;POINT (-40.136372 -2.819799)'))) / (select extract(epoch from '2026-08-19 18:43:46'::timestamp) - extract(epoch from '2026-08-19 18:43: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.136475 -2.819813)', '2026-08-19 18:43:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136372 -2.819799)'), GeomFromEWKT('SRID=4674;POINT (-40.136475 -2.819813)'))) / (select extract(epoch from '2026-08-19 18:43:59'::timestamp) - extract(epoch from '2026-08-19 18:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136372 -2.819799)'), GeomFromEWKT('SRID=4674;POINT (-40.136475 -2.819813)'))) / (select extract(epoch from '2026-08-19 18:43:59'::timestamp) - extract(epoch from '2026-08-19 18:43: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.136547 -2.819836)', '2026-08-19 18:44:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136475 -2.819813)'), GeomFromEWKT('SRID=4674;POINT (-40.136547 -2.819836)'))) / (select extract(epoch from '2026-08-19 18:44:12'::timestamp) - extract(epoch from '2026-08-19 18:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136475 -2.819813)'), GeomFromEWKT('SRID=4674;POINT (-40.136547 -2.819836)'))) / (select extract(epoch from '2026-08-19 18:44:12'::timestamp) - extract(epoch from '2026-08-19 18:43:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136535 -2.819833)', '2026-08-19 18:44:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136547 -2.819836)'), GeomFromEWKT('SRID=4674;POINT (-40.136535 -2.819833)'))) / (select extract(epoch from '2026-08-19 18:44:22'::timestamp) - extract(epoch from '2026-08-19 18:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136547 -2.819836)'), GeomFromEWKT('SRID=4674;POINT (-40.136535 -2.819833)'))) / (select extract(epoch from '2026-08-19 18:44:22'::timestamp) - extract(epoch from '2026-08-19 18: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.136545 -2.819813)', '2026-08-19 18:44:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136535 -2.819833)'), GeomFromEWKT('SRID=4674;POINT (-40.136545 -2.819813)'))) / (select extract(epoch from '2026-08-19 18:44:33'::timestamp) - extract(epoch from '2026-08-19 18:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136535 -2.819833)'), GeomFromEWKT('SRID=4674;POINT (-40.136545 -2.819813)'))) / (select extract(epoch from '2026-08-19 18:44:33'::timestamp) - extract(epoch from '2026-08-19 18:44: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.136543 -2.819809)', '2026-08-19 18:44:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136545 -2.819813)'), GeomFromEWKT('SRID=4674;POINT (-40.136543 -2.819809)'))) / (select extract(epoch from '2026-08-19 18:44:47'::timestamp) - extract(epoch from '2026-08-19 18:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136545 -2.819813)'), GeomFromEWKT('SRID=4674;POINT (-40.136543 -2.819809)'))) / (select extract(epoch from '2026-08-19 18:44:47'::timestamp) - extract(epoch from '2026-08-19 18:44: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.136546 -2.819809)', '2026-08-19 18:45:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136543 -2.819809)'), GeomFromEWKT('SRID=4674;POINT (-40.136546 -2.819809)'))) / (select extract(epoch from '2026-08-19 18:45:04'::timestamp) - extract(epoch from '2026-08-19 18:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136543 -2.819809)'), GeomFromEWKT('SRID=4674;POINT (-40.136546 -2.819809)'))) / (select extract(epoch from '2026-08-19 18:45:04'::timestamp) - extract(epoch from '2026-08-19 18:44: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.136547 -2.81981)', '2026-08-19 18:45:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136546 -2.819809)'), GeomFromEWKT('SRID=4674;POINT (-40.136547 -2.81981)'))) / (select extract(epoch from '2026-08-19 18:45:19'::timestamp) - extract(epoch from '2026-08-19 18:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136546 -2.819809)'), GeomFromEWKT('SRID=4674;POINT (-40.136547 -2.81981)'))) / (select extract(epoch from '2026-08-19 18:45:19'::timestamp) - extract(epoch from '2026-08-19 18:45: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.13655 -2.819809)', '2026-08-19 18:45:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136547 -2.81981)'), GeomFromEWKT('SRID=4674;POINT (-40.13655 -2.819809)'))) / (select extract(epoch from '2026-08-19 18:45:35'::timestamp) - extract(epoch from '2026-08-19 18:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136547 -2.81981)'), GeomFromEWKT('SRID=4674;POINT (-40.13655 -2.819809)'))) / (select extract(epoch from '2026-08-19 18:45:35'::timestamp) - extract(epoch from '2026-08-19 18:45: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.136553 -2.819805)', '2026-08-19 18:45:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13655 -2.819809)'), GeomFromEWKT('SRID=4674;POINT (-40.136553 -2.819805)'))) / (select extract(epoch from '2026-08-19 18:45:54'::timestamp) - extract(epoch from '2026-08-19 18:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13655 -2.819809)'), GeomFromEWKT('SRID=4674;POINT (-40.136553 -2.819805)'))) / (select extract(epoch from '2026-08-19 18:45:54'::timestamp) - extract(epoch from '2026-08-19 18:45:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136548 -2.819808)', '2026-08-19 18:46:21', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136553 -2.819805)'), GeomFromEWKT('SRID=4674;POINT (-40.136548 -2.819808)'))) / (select extract(epoch from '2026-08-19 18:46:21'::timestamp) - extract(epoch from '2026-08-19 18:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136553 -2.819805)'), GeomFromEWKT('SRID=4674;POINT (-40.136548 -2.819808)'))) / (select extract(epoch from '2026-08-19 18:46:21'::timestamp) - extract(epoch from '2026-08-19 18:45:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136552 -2.819811)', '2026-08-19 18:46:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136548 -2.819808)'), GeomFromEWKT('SRID=4674;POINT (-40.136552 -2.819811)'))) / (select extract(epoch from '2026-08-19 18:46:44'::timestamp) - extract(epoch from '2026-08-19 18:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136548 -2.819808)'), GeomFromEWKT('SRID=4674;POINT (-40.136552 -2.819811)'))) / (select extract(epoch from '2026-08-19 18:46:44'::timestamp) - extract(epoch from '2026-08-19 18:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136544 -2.819813)', '2026-08-19 18:46:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136552 -2.819811)'), GeomFromEWKT('SRID=4674;POINT (-40.136544 -2.819813)'))) / (select extract(epoch from '2026-08-19 18:46:54'::timestamp) - extract(epoch from '2026-08-19 18:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136552 -2.819811)'), GeomFromEWKT('SRID=4674;POINT (-40.136544 -2.819813)'))) / (select extract(epoch from '2026-08-19 18:46:54'::timestamp) - extract(epoch from '2026-08-19 18:46: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.136531 -2.819813)', '2026-08-19 18:47:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136544 -2.819813)'), GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819813)'))) / (select extract(epoch from '2026-08-19 18:47:11'::timestamp) - extract(epoch from '2026-08-19 18:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136544 -2.819813)'), GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819813)'))) / (select extract(epoch from '2026-08-19 18:47:11'::timestamp) - extract(epoch from '2026-08-19 18:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136531 -2.819829)', '2026-08-19 18:47:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819813)'), GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819829)'))) / (select extract(epoch from '2026-08-19 18:47:28'::timestamp) - extract(epoch from '2026-08-19 18:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819813)'), GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819829)'))) / (select extract(epoch from '2026-08-19 18:47:28'::timestamp) - extract(epoch from '2026-08-19 18:47: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.136533 -2.819823)', '2026-08-19 18:47:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819829)'), GeomFromEWKT('SRID=4674;POINT (-40.136533 -2.819823)'))) / (select extract(epoch from '2026-08-19 18:47:42'::timestamp) - extract(epoch from '2026-08-19 18:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819829)'), GeomFromEWKT('SRID=4674;POINT (-40.136533 -2.819823)'))) / (select extract(epoch from '2026-08-19 18:47:42'::timestamp) - extract(epoch from '2026-08-19 18:47: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.136531 -2.819831)', '2026-08-19 18:47:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136533 -2.819823)'), GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819831)'))) / (select extract(epoch from '2026-08-19 18:47:58'::timestamp) - extract(epoch from '2026-08-19 18:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136533 -2.819823)'), GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819831)'))) / (select extract(epoch from '2026-08-19 18:47:58'::timestamp) - extract(epoch from '2026-08-19 18:47: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.136535 -2.819818)', '2026-08-19 18:48:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819831)'), GeomFromEWKT('SRID=4674;POINT (-40.136535 -2.819818)'))) / (select extract(epoch from '2026-08-19 18:48:12'::timestamp) - extract(epoch from '2026-08-19 18:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819831)'), GeomFromEWKT('SRID=4674;POINT (-40.136535 -2.819818)'))) / (select extract(epoch from '2026-08-19 18:48:12'::timestamp) - extract(epoch from '2026-08-19 18:47: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.136533 -2.819822)', '2026-08-19 18:48:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136535 -2.819818)'), GeomFromEWKT('SRID=4674;POINT (-40.136533 -2.819822)'))) / (select extract(epoch from '2026-08-19 18:48:27'::timestamp) - extract(epoch from '2026-08-19 18:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136535 -2.819818)'), GeomFromEWKT('SRID=4674;POINT (-40.136533 -2.819822)'))) / (select extract(epoch from '2026-08-19 18:48:27'::timestamp) - extract(epoch from '2026-08-19 18:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136521 -2.819825)', '2026-08-19 18:48:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136533 -2.819822)'), GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819825)'))) / (select extract(epoch from '2026-08-19 18:48:49'::timestamp) - extract(epoch from '2026-08-19 18:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136533 -2.819822)'), GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819825)'))) / (select extract(epoch from '2026-08-19 18:48:49'::timestamp) - extract(epoch from '2026-08-19 18:48: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.136527 -2.819822)', '2026-08-19 18:49:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819825)'), GeomFromEWKT('SRID=4674;POINT (-40.136527 -2.819822)'))) / (select extract(epoch from '2026-08-19 18:49:11'::timestamp) - extract(epoch from '2026-08-19 18:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819825)'), GeomFromEWKT('SRID=4674;POINT (-40.136527 -2.819822)'))) / (select extract(epoch from '2026-08-19 18:49:11'::timestamp) - extract(epoch from '2026-08-19 18:48: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.136521 -2.819827)', '2026-08-19 18:49:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136527 -2.819822)'), GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819827)'))) / (select extract(epoch from '2026-08-19 18:49:26'::timestamp) - extract(epoch from '2026-08-19 18:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136527 -2.819822)'), GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819827)'))) / (select extract(epoch from '2026-08-19 18:49:26'::timestamp) - extract(epoch from '2026-08-19 18: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.13653 -2.819832)', '2026-08-19 18:49:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819827)'), GeomFromEWKT('SRID=4674;POINT (-40.13653 -2.819832)'))) / (select extract(epoch from '2026-08-19 18:49:41'::timestamp) - extract(epoch from '2026-08-19 18:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819827)'), GeomFromEWKT('SRID=4674;POINT (-40.13653 -2.819832)'))) / (select extract(epoch from '2026-08-19 18:49:41'::timestamp) - extract(epoch from '2026-08-19 18:49: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.13653 -2.819842)', '2026-08-19 18:49:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13653 -2.819832)'), GeomFromEWKT('SRID=4674;POINT (-40.13653 -2.819842)'))) / (select extract(epoch from '2026-08-19 18:49:52'::timestamp) - extract(epoch from '2026-08-19 18:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13653 -2.819832)'), GeomFromEWKT('SRID=4674;POINT (-40.13653 -2.819842)'))) / (select extract(epoch from '2026-08-19 18:49:52'::timestamp) - extract(epoch from '2026-08-19 18:49: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.136532 -2.819836)', '2026-08-19 18:50:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13653 -2.819842)'), GeomFromEWKT('SRID=4674;POINT (-40.136532 -2.819836)'))) / (select extract(epoch from '2026-08-19 18:50:03'::timestamp) - extract(epoch from '2026-08-19 18:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13653 -2.819842)'), GeomFromEWKT('SRID=4674;POINT (-40.136532 -2.819836)'))) / (select extract(epoch from '2026-08-19 18:50:03'::timestamp) - extract(epoch from '2026-08-19 18:49: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.136525 -2.819843)', '2026-08-19 18:50:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136532 -2.819836)'), GeomFromEWKT('SRID=4674;POINT (-40.136525 -2.819843)'))) / (select extract(epoch from '2026-08-19 18:50:18'::timestamp) - extract(epoch from '2026-08-19 18:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136532 -2.819836)'), GeomFromEWKT('SRID=4674;POINT (-40.136525 -2.819843)'))) / (select extract(epoch from '2026-08-19 18:50:18'::timestamp) - extract(epoch from '2026-08-19 18:50: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.136522 -2.819849)', '2026-08-19 18:50:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136525 -2.819843)'), GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819849)'))) / (select extract(epoch from '2026-08-19 18:50:33'::timestamp) - extract(epoch from '2026-08-19 18:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136525 -2.819843)'), GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819849)'))) / (select extract(epoch from '2026-08-19 18:50:33'::timestamp) - extract(epoch from '2026-08-19 18:50: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.136518 -2.819855)', '2026-08-19 18:50:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819849)'), GeomFromEWKT('SRID=4674;POINT (-40.136518 -2.819855)'))) / (select extract(epoch from '2026-08-19 18:50:52'::timestamp) - extract(epoch from '2026-08-19 18:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819849)'), GeomFromEWKT('SRID=4674;POINT (-40.136518 -2.819855)'))) / (select extract(epoch from '2026-08-19 18:50:52'::timestamp) - extract(epoch from '2026-08-19 18:50: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.136521 -2.819839)', '2026-08-19 18:51:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136518 -2.819855)'), GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819839)'))) / (select extract(epoch from '2026-08-19 18:51:18'::timestamp) - extract(epoch from '2026-08-19 18:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136518 -2.819855)'), GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819839)'))) / (select extract(epoch from '2026-08-19 18:51:18'::timestamp) - extract(epoch from '2026-08-19 18:50: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.136517 -2.819835)', '2026-08-19 18:51:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819839)'), GeomFromEWKT('SRID=4674;POINT (-40.136517 -2.819835)'))) / (select extract(epoch from '2026-08-19 18:51:31'::timestamp) - extract(epoch from '2026-08-19 18:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819839)'), GeomFromEWKT('SRID=4674;POINT (-40.136517 -2.819835)'))) / (select extract(epoch from '2026-08-19 18:51:31'::timestamp) - extract(epoch from '2026-08-19 18:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136522 -2.819841)', '2026-08-19 18:51:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136517 -2.819835)'), GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819841)'))) / (select extract(epoch from '2026-08-19 18:51:43'::timestamp) - extract(epoch from '2026-08-19 18:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136517 -2.819835)'), GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819841)'))) / (select extract(epoch from '2026-08-19 18:51:43'::timestamp) - extract(epoch from '2026-08-19 18:51: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.136524 -2.819836)', '2026-08-19 18:52:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819841)'), GeomFromEWKT('SRID=4674;POINT (-40.136524 -2.819836)'))) / (select extract(epoch from '2026-08-19 18:52:07'::timestamp) - extract(epoch from '2026-08-19 18:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819841)'), GeomFromEWKT('SRID=4674;POINT (-40.136524 -2.819836)'))) / (select extract(epoch from '2026-08-19 18:52:07'::timestamp) - extract(epoch from '2026-08-19 18:51: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.136521 -2.819839)', '2026-08-19 18:52:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136524 -2.819836)'), GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819839)'))) / (select extract(epoch from '2026-08-19 18:52:24'::timestamp) - extract(epoch from '2026-08-19 18:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136524 -2.819836)'), GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819839)'))) / (select extract(epoch from '2026-08-19 18:52:24'::timestamp) - extract(epoch from '2026-08-19 18:52:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136522 -2.819844)', '2026-08-19 18:52:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819839)'), GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819844)'))) / (select extract(epoch from '2026-08-19 18:52:42'::timestamp) - extract(epoch from '2026-08-19 18:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136521 -2.819839)'), GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819844)'))) / (select extract(epoch from '2026-08-19 18:52:42'::timestamp) - extract(epoch from '2026-08-19 18:52: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.136526 -2.819843)', '2026-08-19 18:52:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819844)'), GeomFromEWKT('SRID=4674;POINT (-40.136526 -2.819843)'))) / (select extract(epoch from '2026-08-19 18:52:53'::timestamp) - extract(epoch from '2026-08-19 18:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136522 -2.819844)'), GeomFromEWKT('SRID=4674;POINT (-40.136526 -2.819843)'))) / (select extract(epoch from '2026-08-19 18:52:53'::timestamp) - extract(epoch from '2026-08-19 18:52: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.136529 -2.819834)', '2026-08-19 18:53:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136526 -2.819843)'), GeomFromEWKT('SRID=4674;POINT (-40.136529 -2.819834)'))) / (select extract(epoch from '2026-08-19 18:53:14'::timestamp) - extract(epoch from '2026-08-19 18:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136526 -2.819843)'), GeomFromEWKT('SRID=4674;POINT (-40.136529 -2.819834)'))) / (select extract(epoch from '2026-08-19 18:53:14'::timestamp) - extract(epoch from '2026-08-19 18: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.136531 -2.819839)', '2026-08-19 18:53:30', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136529 -2.819834)'), GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819839)'))) / (select extract(epoch from '2026-08-19 18:53:30'::timestamp) - extract(epoch from '2026-08-19 18:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136529 -2.819834)'), GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819839)'))) / (select extract(epoch from '2026-08-19 18:53:30'::timestamp) - extract(epoch from '2026-08-19 18:53:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136534 -2.81984)', '2026-08-19 18:53:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819839)'), GeomFromEWKT('SRID=4674;POINT (-40.136534 -2.81984)'))) / (select extract(epoch from '2026-08-19 18:53:49'::timestamp) - extract(epoch from '2026-08-19 18:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136531 -2.819839)'), GeomFromEWKT('SRID=4674;POINT (-40.136534 -2.81984)'))) / (select extract(epoch from '2026-08-19 18:53:49'::timestamp) - extract(epoch from '2026-08-19 18:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136532 -2.819835)', '2026-08-19 18:54:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136534 -2.81984)'), GeomFromEWKT('SRID=4674;POINT (-40.136532 -2.819835)'))) / (select extract(epoch from '2026-08-19 18:54:03'::timestamp) - extract(epoch from '2026-08-19 18:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136534 -2.81984)'), GeomFromEWKT('SRID=4674;POINT (-40.136532 -2.819835)'))) / (select extract(epoch from '2026-08-19 18:54:03'::timestamp) - extract(epoch from '2026-08-19 18:53: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.136529 -2.819828)', '2026-08-19 18:54:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136532 -2.819835)'), GeomFromEWKT('SRID=4674;POINT (-40.136529 -2.819828)'))) / (select extract(epoch from '2026-08-19 18:54:23'::timestamp) - extract(epoch from '2026-08-19 18:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136532 -2.819835)'), GeomFromEWKT('SRID=4674;POINT (-40.136529 -2.819828)'))) / (select extract(epoch from '2026-08-19 18:54:23'::timestamp) - extract(epoch from '2026-08-19 18:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136527 -2.819825)', '2026-08-19 18:54:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136529 -2.819828)'), GeomFromEWKT('SRID=4674;POINT (-40.136527 -2.819825)'))) / (select extract(epoch from '2026-08-19 18:54:38'::timestamp) - extract(epoch from '2026-08-19 18:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136529 -2.819828)'), GeomFromEWKT('SRID=4674;POINT (-40.136527 -2.819825)'))) / (select extract(epoch from '2026-08-19 18:54:38'::timestamp) - extract(epoch from '2026-08-19 18:54: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.136516 -2.819818)', '2026-08-19 18:54:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136527 -2.819825)'), GeomFromEWKT('SRID=4674;POINT (-40.136516 -2.819818)'))) / (select extract(epoch from '2026-08-19 18:54:58'::timestamp) - extract(epoch from '2026-08-19 18:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136527 -2.819825)'), GeomFromEWKT('SRID=4674;POINT (-40.136516 -2.819818)'))) / (select extract(epoch from '2026-08-19 18:54:58'::timestamp) - extract(epoch from '2026-08-19 18:54: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.136468 -2.819806)', '2026-08-19 18:55:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136516 -2.819818)'), GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.819806)'))) / (select extract(epoch from '2026-08-19 18:55:07'::timestamp) - extract(epoch from '2026-08-19 18:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136516 -2.819818)'), GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.819806)'))) / (select extract(epoch from '2026-08-19 18:55:07'::timestamp) - extract(epoch from '2026-08-19 18:54: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.136386 -2.819806)', '2026-08-19 18:55:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.819806)'), GeomFromEWKT('SRID=4674;POINT (-40.136386 -2.819806)'))) / (select extract(epoch from '2026-08-19 18:55:22'::timestamp) - extract(epoch from '2026-08-19 18:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136468 -2.819806)'), GeomFromEWKT('SRID=4674;POINT (-40.136386 -2.819806)'))) / (select extract(epoch from '2026-08-19 18:55:22'::timestamp) - extract(epoch from '2026-08-19 18:55: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.136413 -2.819778)', '2026-08-19 18:55:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136386 -2.819806)'), GeomFromEWKT('SRID=4674;POINT (-40.136413 -2.819778)'))) / (select extract(epoch from '2026-08-19 18:55:33'::timestamp) - extract(epoch from '2026-08-19 18:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136386 -2.819806)'), GeomFromEWKT('SRID=4674;POINT (-40.136413 -2.819778)'))) / (select extract(epoch from '2026-08-19 18:55:33'::timestamp) - extract(epoch from '2026-08-19 18:55:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136516 -2.819765)', '2026-08-19 18:55:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136413 -2.819778)'), GeomFromEWKT('SRID=4674;POINT (-40.136516 -2.819765)'))) / (select extract(epoch from '2026-08-19 18:55:45'::timestamp) - extract(epoch from '2026-08-19 18:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136413 -2.819778)'), GeomFromEWKT('SRID=4674;POINT (-40.136516 -2.819765)'))) / (select extract(epoch from '2026-08-19 18:55:45'::timestamp) - extract(epoch from '2026-08-19 18:55: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.136619 -2.819825)', '2026-08-19 18:56:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136516 -2.819765)'), GeomFromEWKT('SRID=4674;POINT (-40.136619 -2.819825)'))) / (select extract(epoch from '2026-08-19 18:56:02'::timestamp) - extract(epoch from '2026-08-19 18:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136516 -2.819765)'), GeomFromEWKT('SRID=4674;POINT (-40.136619 -2.819825)'))) / (select extract(epoch from '2026-08-19 18:56:02'::timestamp) - extract(epoch from '2026-08-19 18:55: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.136762 -2.81989)', '2026-08-19 18:56:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136619 -2.819825)'), GeomFromEWKT('SRID=4674;POINT (-40.136762 -2.81989)'))) / (select extract(epoch from '2026-08-19 18:56:22'::timestamp) - extract(epoch from '2026-08-19 18:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136619 -2.819825)'), GeomFromEWKT('SRID=4674;POINT (-40.136762 -2.81989)'))) / (select extract(epoch from '2026-08-19 18:56:22'::timestamp) - extract(epoch from '2026-08-19 18:56: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.136867 -2.819933)', '2026-08-19 18:56:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136762 -2.81989)'), GeomFromEWKT('SRID=4674;POINT (-40.136867 -2.819933)'))) / (select extract(epoch from '2026-08-19 18:56:38'::timestamp) - extract(epoch from '2026-08-19 18:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136762 -2.81989)'), GeomFromEWKT('SRID=4674;POINT (-40.136867 -2.819933)'))) / (select extract(epoch from '2026-08-19 18:56:38'::timestamp) - extract(epoch from '2026-08-19 18:56: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.136985 -2.820004)', '2026-08-19 18:56:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136867 -2.819933)'), GeomFromEWKT('SRID=4674;POINT (-40.136985 -2.820004)'))) / (select extract(epoch from '2026-08-19 18:56:55'::timestamp) - extract(epoch from '2026-08-19 18:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136867 -2.819933)'), GeomFromEWKT('SRID=4674;POINT (-40.136985 -2.820004)'))) / (select extract(epoch from '2026-08-19 18:56:55'::timestamp) - extract(epoch from '2026-08-19 18:56: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.137092 -2.820047)', '2026-08-19 18:57:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136985 -2.820004)'), GeomFromEWKT('SRID=4674;POINT (-40.137092 -2.820047)'))) / (select extract(epoch from '2026-08-19 18:57:13'::timestamp) - extract(epoch from '2026-08-19 18:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136985 -2.820004)'), GeomFromEWKT('SRID=4674;POINT (-40.137092 -2.820047)'))) / (select extract(epoch from '2026-08-19 18:57:13'::timestamp) - extract(epoch from '2026-08-19 18:56: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.137215 -2.82009)', '2026-08-19 18:57:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137092 -2.820047)'), GeomFromEWKT('SRID=4674;POINT (-40.137215 -2.82009)'))) / (select extract(epoch from '2026-08-19 18:57:31'::timestamp) - extract(epoch from '2026-08-19 18:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137092 -2.820047)'), GeomFromEWKT('SRID=4674;POINT (-40.137215 -2.82009)'))) / (select extract(epoch from '2026-08-19 18:57:31'::timestamp) - extract(epoch from '2026-08-19 18:57: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.137324 -2.820147)', '2026-08-19 18:57:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137215 -2.82009)'), GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.820147)'))) / (select extract(epoch from '2026-08-19 18:57:48'::timestamp) - extract(epoch from '2026-08-19 18:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137215 -2.82009)'), GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.820147)'))) / (select extract(epoch from '2026-08-19 18:57:48'::timestamp) - extract(epoch from '2026-08-19 18: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.137425 -2.820215)', '2026-08-19 18:58:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.820147)'), GeomFromEWKT('SRID=4674;POINT (-40.137425 -2.820215)'))) / (select extract(epoch from '2026-08-19 18:58:06'::timestamp) - extract(epoch from '2026-08-19 18:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137324 -2.820147)'), GeomFromEWKT('SRID=4674;POINT (-40.137425 -2.820215)'))) / (select extract(epoch from '2026-08-19 18:58:06'::timestamp) - extract(epoch from '2026-08-19 18:57: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.137518 -2.820259)', '2026-08-19 18:58:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137425 -2.820215)'), GeomFromEWKT('SRID=4674;POINT (-40.137518 -2.820259)'))) / (select extract(epoch from '2026-08-19 18:58:20'::timestamp) - extract(epoch from '2026-08-19 18:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137425 -2.820215)'), GeomFromEWKT('SRID=4674;POINT (-40.137518 -2.820259)'))) / (select extract(epoch from '2026-08-19 18:58:20'::timestamp) - extract(epoch from '2026-08-19 18:58: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.137628 -2.820312)', '2026-08-19 18:58:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137518 -2.820259)'), GeomFromEWKT('SRID=4674;POINT (-40.137628 -2.820312)'))) / (select extract(epoch from '2026-08-19 18:58:37'::timestamp) - extract(epoch from '2026-08-19 18:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137518 -2.820259)'), GeomFromEWKT('SRID=4674;POINT (-40.137628 -2.820312)'))) / (select extract(epoch from '2026-08-19 18:58:37'::timestamp) - extract(epoch from '2026-08-19 18:58: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.137752 -2.8204)', '2026-08-19 18:58:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137628 -2.820312)'), GeomFromEWKT('SRID=4674;POINT (-40.137752 -2.8204)'))) / (select extract(epoch from '2026-08-19 18:58:56'::timestamp) - extract(epoch from '2026-08-19 18:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137628 -2.820312)'), GeomFromEWKT('SRID=4674;POINT (-40.137752 -2.8204)'))) / (select extract(epoch from '2026-08-19 18:58:56'::timestamp) - extract(epoch from '2026-08-19 18: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.137846 -2.820467)', '2026-08-19 18:59:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137752 -2.8204)'), GeomFromEWKT('SRID=4674;POINT (-40.137846 -2.820467)'))) / (select extract(epoch from '2026-08-19 18:59:11'::timestamp) - extract(epoch from '2026-08-19 18:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137752 -2.8204)'), GeomFromEWKT('SRID=4674;POINT (-40.137846 -2.820467)'))) / (select extract(epoch from '2026-08-19 18:59:11'::timestamp) - extract(epoch from '2026-08-19 18:58: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.13799 -2.820552)', '2026-08-19 18:59:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137846 -2.820467)'), GeomFromEWKT('SRID=4674;POINT (-40.13799 -2.820552)'))) / (select extract(epoch from '2026-08-19 18:59:32'::timestamp) - extract(epoch from '2026-08-19 18:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137846 -2.820467)'), GeomFromEWKT('SRID=4674;POINT (-40.13799 -2.820552)'))) / (select extract(epoch from '2026-08-19 18:59:32'::timestamp) - extract(epoch from '2026-08-19 18:59:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.138132 -2.820621)', '2026-08-19 18:59:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13799 -2.820552)'), GeomFromEWKT('SRID=4674;POINT (-40.138132 -2.820621)'))) / (select extract(epoch from '2026-08-19 18:59:50'::timestamp) - extract(epoch from '2026-08-19 18:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13799 -2.820552)'), GeomFromEWKT('SRID=4674;POINT (-40.138132 -2.820621)'))) / (select extract(epoch from '2026-08-19 18:59:50'::timestamp) - extract(epoch from '2026-08-19 18:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.138265 -2.820695)', '2026-08-19 19:00:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138132 -2.820621)'), GeomFromEWKT('SRID=4674;POINT (-40.138265 -2.820695)'))) / (select extract(epoch from '2026-08-19 19:00:07'::timestamp) - extract(epoch from '2026-08-19 18:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138132 -2.820621)'), GeomFromEWKT('SRID=4674;POINT (-40.138265 -2.820695)'))) / (select extract(epoch from '2026-08-19 19:00:07'::timestamp) - extract(epoch from '2026-08-19 18:59: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.138386 -2.820756)', '2026-08-19 19:00:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138265 -2.820695)'), GeomFromEWKT('SRID=4674;POINT (-40.138386 -2.820756)'))) / (select extract(epoch from '2026-08-19 19:00:23'::timestamp) - extract(epoch from '2026-08-19 19:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138265 -2.820695)'), GeomFromEWKT('SRID=4674;POINT (-40.138386 -2.820756)'))) / (select extract(epoch from '2026-08-19 19:00:23'::timestamp) - extract(epoch from '2026-08-19 19:00: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.138465 -2.820814)', '2026-08-19 19:00:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138386 -2.820756)'), GeomFromEWKT('SRID=4674;POINT (-40.138465 -2.820814)'))) / (select extract(epoch from '2026-08-19 19:00:39'::timestamp) - extract(epoch from '2026-08-19 19:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138386 -2.820756)'), GeomFromEWKT('SRID=4674;POINT (-40.138465 -2.820814)'))) / (select extract(epoch from '2026-08-19 19:00:39'::timestamp) - extract(epoch from '2026-08-19 19: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.138569 -2.820862)', '2026-08-19 19:00:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138465 -2.820814)'), GeomFromEWKT('SRID=4674;POINT (-40.138569 -2.820862)'))) / (select extract(epoch from '2026-08-19 19:00:52'::timestamp) - extract(epoch from '2026-08-19 19:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138465 -2.820814)'), GeomFromEWKT('SRID=4674;POINT (-40.138569 -2.820862)'))) / (select extract(epoch from '2026-08-19 19:00:52'::timestamp) - extract(epoch from '2026-08-19 19:00:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.138681 -2.820916)', '2026-08-19 19:01:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138569 -2.820862)'), GeomFromEWKT('SRID=4674;POINT (-40.138681 -2.820916)'))) / (select extract(epoch from '2026-08-19 19:01:07'::timestamp) - extract(epoch from '2026-08-19 19:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138569 -2.820862)'), GeomFromEWKT('SRID=4674;POINT (-40.138681 -2.820916)'))) / (select extract(epoch from '2026-08-19 19:01:07'::timestamp) - extract(epoch from '2026-08-19 19:00: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.138828 -2.820982)', '2026-08-19 19:01:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138681 -2.820916)'), GeomFromEWKT('SRID=4674;POINT (-40.138828 -2.820982)'))) / (select extract(epoch from '2026-08-19 19:01:26'::timestamp) - extract(epoch from '2026-08-19 19:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138681 -2.820916)'), GeomFromEWKT('SRID=4674;POINT (-40.138828 -2.820982)'))) / (select extract(epoch from '2026-08-19 19:01:26'::timestamp) - extract(epoch from '2026-08-19 19:01: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.138931 -2.821024)', '2026-08-19 19:01:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138828 -2.820982)'), GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.821024)'))) / (select extract(epoch from '2026-08-19 19:01:41'::timestamp) - extract(epoch from '2026-08-19 19:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138828 -2.820982)'), GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.821024)'))) / (select extract(epoch from '2026-08-19 19:01:41'::timestamp) - extract(epoch from '2026-08-19 19:01:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.139045 -2.821077)', '2026-08-19 19:01:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.821024)'), GeomFromEWKT('SRID=4674;POINT (-40.139045 -2.821077)'))) / (select extract(epoch from '2026-08-19 19:01:59'::timestamp) - extract(epoch from '2026-08-19 19:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138931 -2.821024)'), GeomFromEWKT('SRID=4674;POINT (-40.139045 -2.821077)'))) / (select extract(epoch from '2026-08-19 19:01:59'::timestamp) - extract(epoch from '2026-08-19 19:01: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.139196 -2.82116)', '2026-08-19 19:02:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139045 -2.821077)'), GeomFromEWKT('SRID=4674;POINT (-40.139196 -2.82116)'))) / (select extract(epoch from '2026-08-19 19:02:21'::timestamp) - extract(epoch from '2026-08-19 19:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139045 -2.821077)'), GeomFromEWKT('SRID=4674;POINT (-40.139196 -2.82116)'))) / (select extract(epoch from '2026-08-19 19:02:21'::timestamp) - extract(epoch from '2026-08-19 19:01: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.139289 -2.821233)', '2026-08-19 19:02:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139196 -2.82116)'), GeomFromEWKT('SRID=4674;POINT (-40.139289 -2.821233)'))) / (select extract(epoch from '2026-08-19 19:02:35'::timestamp) - extract(epoch from '2026-08-19 19:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139196 -2.82116)'), GeomFromEWKT('SRID=4674;POINT (-40.139289 -2.821233)'))) / (select extract(epoch from '2026-08-19 19:02:35'::timestamp) - extract(epoch from '2026-08-19 19:02: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.139373 -2.821297)', '2026-08-19 19:02:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139289 -2.821233)'), GeomFromEWKT('SRID=4674;POINT (-40.139373 -2.821297)'))) / (select extract(epoch from '2026-08-19 19:02:49'::timestamp) - extract(epoch from '2026-08-19 19:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139289 -2.821233)'), GeomFromEWKT('SRID=4674;POINT (-40.139373 -2.821297)'))) / (select extract(epoch from '2026-08-19 19:02:49'::timestamp) - extract(epoch from '2026-08-19 19:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.139484 -2.821374)', '2026-08-19 19:03:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139373 -2.821297)'), GeomFromEWKT('SRID=4674;POINT (-40.139484 -2.821374)'))) / (select extract(epoch from '2026-08-19 19:03:06'::timestamp) - extract(epoch from '2026-08-19 19:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139373 -2.821297)'), GeomFromEWKT('SRID=4674;POINT (-40.139484 -2.821374)'))) / (select extract(epoch from '2026-08-19 19:03:06'::timestamp) - extract(epoch from '2026-08-19 19:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.13958 -2.821434)', '2026-08-19 19:03:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139484 -2.821374)'), GeomFromEWKT('SRID=4674;POINT (-40.13958 -2.821434)'))) / (select extract(epoch from '2026-08-19 19:03:23'::timestamp) - extract(epoch from '2026-08-19 19:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139484 -2.821374)'), GeomFromEWKT('SRID=4674;POINT (-40.13958 -2.821434)'))) / (select extract(epoch from '2026-08-19 19:03:23'::timestamp) - extract(epoch from '2026-08-19 19:03: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.139652 -2.821493)', '2026-08-19 19:03:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13958 -2.821434)'), GeomFromEWKT('SRID=4674;POINT (-40.139652 -2.821493)'))) / (select extract(epoch from '2026-08-19 19:03:36'::timestamp) - extract(epoch from '2026-08-19 19:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13958 -2.821434)'), GeomFromEWKT('SRID=4674;POINT (-40.139652 -2.821493)'))) / (select extract(epoch from '2026-08-19 19:03:36'::timestamp) - extract(epoch from '2026-08-19 19:03: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.139786 -2.821566)', '2026-08-19 19:03:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139652 -2.821493)'), GeomFromEWKT('SRID=4674;POINT (-40.139786 -2.821566)'))) / (select extract(epoch from '2026-08-19 19:03:53'::timestamp) - extract(epoch from '2026-08-19 19:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139652 -2.821493)'), GeomFromEWKT('SRID=4674;POINT (-40.139786 -2.821566)'))) / (select extract(epoch from '2026-08-19 19:03:53'::timestamp) - extract(epoch from '2026-08-19 19:03: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.13991 -2.821623)', '2026-08-19 19:04:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139786 -2.821566)'), GeomFromEWKT('SRID=4674;POINT (-40.13991 -2.821623)'))) / (select extract(epoch from '2026-08-19 19:04:09'::timestamp) - extract(epoch from '2026-08-19 19:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139786 -2.821566)'), GeomFromEWKT('SRID=4674;POINT (-40.13991 -2.821623)'))) / (select extract(epoch from '2026-08-19 19:04:09'::timestamp) - extract(epoch from '2026-08-19 19:03: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.140005 -2.821681)', '2026-08-19 19:04:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13991 -2.821623)'), GeomFromEWKT('SRID=4674;POINT (-40.140005 -2.821681)'))) / (select extract(epoch from '2026-08-19 19:04:23'::timestamp) - extract(epoch from '2026-08-19 19:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13991 -2.821623)'), GeomFromEWKT('SRID=4674;POINT (-40.140005 -2.821681)'))) / (select extract(epoch from '2026-08-19 19:04:23'::timestamp) - extract(epoch from '2026-08-19 19:04: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.140096 -2.821728)', '2026-08-19 19:04:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140005 -2.821681)'), GeomFromEWKT('SRID=4674;POINT (-40.140096 -2.821728)'))) / (select extract(epoch from '2026-08-19 19:04:35'::timestamp) - extract(epoch from '2026-08-19 19:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140005 -2.821681)'), GeomFromEWKT('SRID=4674;POINT (-40.140096 -2.821728)'))) / (select extract(epoch from '2026-08-19 19:04:35'::timestamp) - extract(epoch from '2026-08-19 19:04: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.140199 -2.821785)', '2026-08-19 19:04:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140096 -2.821728)'), GeomFromEWKT('SRID=4674;POINT (-40.140199 -2.821785)'))) / (select extract(epoch from '2026-08-19 19:04:53'::timestamp) - extract(epoch from '2026-08-19 19:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140096 -2.821728)'), GeomFromEWKT('SRID=4674;POINT (-40.140199 -2.821785)'))) / (select extract(epoch from '2026-08-19 19:04:53'::timestamp) - extract(epoch from '2026-08-19 19:04: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.140328 -2.821842)', '2026-08-19 19:05:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140199 -2.821785)'), GeomFromEWKT('SRID=4674;POINT (-40.140328 -2.821842)'))) / (select extract(epoch from '2026-08-19 19:05:10'::timestamp) - extract(epoch from '2026-08-19 19:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140199 -2.821785)'), GeomFromEWKT('SRID=4674;POINT (-40.140328 -2.821842)'))) / (select extract(epoch from '2026-08-19 19:05:10'::timestamp) - extract(epoch from '2026-08-19 19:04: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.140411 -2.821897)', '2026-08-19 19:05:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140328 -2.821842)'), GeomFromEWKT('SRID=4674;POINT (-40.140411 -2.821897)'))) / (select extract(epoch from '2026-08-19 19:05:25'::timestamp) - extract(epoch from '2026-08-19 19:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140328 -2.821842)'), GeomFromEWKT('SRID=4674;POINT (-40.140411 -2.821897)'))) / (select extract(epoch from '2026-08-19 19:05:25'::timestamp) - extract(epoch from '2026-08-19 19:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140516 -2.821967)', '2026-08-19 19:05:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140411 -2.821897)'), GeomFromEWKT('SRID=4674;POINT (-40.140516 -2.821967)'))) / (select extract(epoch from '2026-08-19 19:05:40'::timestamp) - extract(epoch from '2026-08-19 19:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140411 -2.821897)'), GeomFromEWKT('SRID=4674;POINT (-40.140516 -2.821967)'))) / (select extract(epoch from '2026-08-19 19:05:40'::timestamp) - extract(epoch from '2026-08-19 19:05: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.140612 -2.822025)', '2026-08-19 19:05:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140516 -2.821967)'), GeomFromEWKT('SRID=4674;POINT (-40.140612 -2.822025)'))) / (select extract(epoch from '2026-08-19 19:05:55'::timestamp) - extract(epoch from '2026-08-19 19:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140516 -2.821967)'), GeomFromEWKT('SRID=4674;POINT (-40.140612 -2.822025)'))) / (select extract(epoch from '2026-08-19 19:05:55'::timestamp) - extract(epoch from '2026-08-19 19: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.140737 -2.822084)', '2026-08-19 19:06:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140612 -2.822025)'), GeomFromEWKT('SRID=4674;POINT (-40.140737 -2.822084)'))) / (select extract(epoch from '2026-08-19 19:06:12'::timestamp) - extract(epoch from '2026-08-19 19:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140612 -2.822025)'), GeomFromEWKT('SRID=4674;POINT (-40.140737 -2.822084)'))) / (select extract(epoch from '2026-08-19 19:06:12'::timestamp) - extract(epoch from '2026-08-19 19: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.140825 -2.822137)', '2026-08-19 19:06:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140737 -2.822084)'), GeomFromEWKT('SRID=4674;POINT (-40.140825 -2.822137)'))) / (select extract(epoch from '2026-08-19 19:06:28'::timestamp) - extract(epoch from '2026-08-19 19:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140737 -2.822084)'), GeomFromEWKT('SRID=4674;POINT (-40.140825 -2.822137)'))) / (select extract(epoch from '2026-08-19 19:06:28'::timestamp) - extract(epoch from '2026-08-19 19:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140916 -2.822198)', '2026-08-19 19:06:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140825 -2.822137)'), GeomFromEWKT('SRID=4674;POINT (-40.140916 -2.822198)'))) / (select extract(epoch from '2026-08-19 19:06:42'::timestamp) - extract(epoch from '2026-08-19 19:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140825 -2.822137)'), GeomFromEWKT('SRID=4674;POINT (-40.140916 -2.822198)'))) / (select extract(epoch from '2026-08-19 19:06:42'::timestamp) - extract(epoch from '2026-08-19 19:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.141032 -2.82228)', '2026-08-19 19:07:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140916 -2.822198)'), GeomFromEWKT('SRID=4674;POINT (-40.141032 -2.82228)'))) / (select extract(epoch from '2026-08-19 19:07:02'::timestamp) - extract(epoch from '2026-08-19 19:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140916 -2.822198)'), GeomFromEWKT('SRID=4674;POINT (-40.141032 -2.82228)'))) / (select extract(epoch from '2026-08-19 19:07:02'::timestamp) - extract(epoch from '2026-08-19 19:06: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.14116 -2.822324)', '2026-08-19 19:07:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141032 -2.82228)'), GeomFromEWKT('SRID=4674;POINT (-40.14116 -2.822324)'))) / (select extract(epoch from '2026-08-19 19:07:19'::timestamp) - extract(epoch from '2026-08-19 19:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141032 -2.82228)'), GeomFromEWKT('SRID=4674;POINT (-40.14116 -2.822324)'))) / (select extract(epoch from '2026-08-19 19:07:19'::timestamp) - extract(epoch from '2026-08-19 19:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.141265 -2.822373)', '2026-08-19 19:07:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14116 -2.822324)'), GeomFromEWKT('SRID=4674;POINT (-40.141265 -2.822373)'))) / (select extract(epoch from '2026-08-19 19:07:33'::timestamp) - extract(epoch from '2026-08-19 19:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14116 -2.822324)'), GeomFromEWKT('SRID=4674;POINT (-40.141265 -2.822373)'))) / (select extract(epoch from '2026-08-19 19:07:33'::timestamp) - extract(epoch from '2026-08-19 19:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.141375 -2.822475)', '2026-08-19 19:07:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141265 -2.822373)'), GeomFromEWKT('SRID=4674;POINT (-40.141375 -2.822475)'))) / (select extract(epoch from '2026-08-19 19:07:53'::timestamp) - extract(epoch from '2026-08-19 19:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141265 -2.822373)'), GeomFromEWKT('SRID=4674;POINT (-40.141375 -2.822475)'))) / (select extract(epoch from '2026-08-19 19:07:53'::timestamp) - extract(epoch from '2026-08-19 19:07: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.141476 -2.82253)', '2026-08-19 19:08:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141375 -2.822475)'), GeomFromEWKT('SRID=4674;POINT (-40.141476 -2.82253)'))) / (select extract(epoch from '2026-08-19 19:08:09'::timestamp) - extract(epoch from '2026-08-19 19:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141375 -2.822475)'), GeomFromEWKT('SRID=4674;POINT (-40.141476 -2.82253)'))) / (select extract(epoch from '2026-08-19 19:08:09'::timestamp) - extract(epoch from '2026-08-19 19:07: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.141603 -2.822609)', '2026-08-19 19:08:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141476 -2.82253)'), GeomFromEWKT('SRID=4674;POINT (-40.141603 -2.822609)'))) / (select extract(epoch from '2026-08-19 19:08:27'::timestamp) - extract(epoch from '2026-08-19 19:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141476 -2.82253)'), GeomFromEWKT('SRID=4674;POINT (-40.141603 -2.822609)'))) / (select extract(epoch from '2026-08-19 19:08:27'::timestamp) - extract(epoch from '2026-08-19 19:08: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.141719 -2.822671)', '2026-08-19 19:08:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141603 -2.822609)'), GeomFromEWKT('SRID=4674;POINT (-40.141719 -2.822671)'))) / (select extract(epoch from '2026-08-19 19:08:45'::timestamp) - extract(epoch from '2026-08-19 19:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141603 -2.822609)'), GeomFromEWKT('SRID=4674;POINT (-40.141719 -2.822671)'))) / (select extract(epoch from '2026-08-19 19:08:45'::timestamp) - extract(epoch from '2026-08-19 19:08: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.141841 -2.822714)', '2026-08-19 19:09:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141719 -2.822671)'), GeomFromEWKT('SRID=4674;POINT (-40.141841 -2.822714)'))) / (select extract(epoch from '2026-08-19 19:09:02'::timestamp) - extract(epoch from '2026-08-19 19:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141719 -2.822671)'), GeomFromEWKT('SRID=4674;POINT (-40.141841 -2.822714)'))) / (select extract(epoch from '2026-08-19 19:09:02'::timestamp) - extract(epoch from '2026-08-19 19:08: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.141948 -2.822763)', '2026-08-19 19:09:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141841 -2.822714)'), GeomFromEWKT('SRID=4674;POINT (-40.141948 -2.822763)'))) / (select extract(epoch from '2026-08-19 19:09:17'::timestamp) - extract(epoch from '2026-08-19 19:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141841 -2.822714)'), GeomFromEWKT('SRID=4674;POINT (-40.141948 -2.822763)'))) / (select extract(epoch from '2026-08-19 19:09:17'::timestamp) - extract(epoch from '2026-08-19 19:09: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.142038 -2.822815)', '2026-08-19 19:09:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141948 -2.822763)'), GeomFromEWKT('SRID=4674;POINT (-40.142038 -2.822815)'))) / (select extract(epoch from '2026-08-19 19:09:31'::timestamp) - extract(epoch from '2026-08-19 19:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141948 -2.822763)'), GeomFromEWKT('SRID=4674;POINT (-40.142038 -2.822815)'))) / (select extract(epoch from '2026-08-19 19:09:31'::timestamp) - extract(epoch from '2026-08-19 19: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.142152 -2.82288)', '2026-08-19 19:09:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142038 -2.822815)'), GeomFromEWKT('SRID=4674;POINT (-40.142152 -2.82288)'))) / (select extract(epoch from '2026-08-19 19:09:47'::timestamp) - extract(epoch from '2026-08-19 19:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142038 -2.822815)'), GeomFromEWKT('SRID=4674;POINT (-40.142152 -2.82288)'))) / (select extract(epoch from '2026-08-19 19:09:47'::timestamp) - extract(epoch from '2026-08-19 19:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14227 -2.822935)', '2026-08-19 19:10:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142152 -2.82288)'), GeomFromEWKT('SRID=4674;POINT (-40.14227 -2.822935)'))) / (select extract(epoch from '2026-08-19 19:10:03'::timestamp) - extract(epoch from '2026-08-19 19:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142152 -2.82288)'), GeomFromEWKT('SRID=4674;POINT (-40.14227 -2.822935)'))) / (select extract(epoch from '2026-08-19 19:10:03'::timestamp) - extract(epoch from '2026-08-19 19:09: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.142364 -2.822986)', '2026-08-19 19:10:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14227 -2.822935)'), GeomFromEWKT('SRID=4674;POINT (-40.142364 -2.822986)'))) / (select extract(epoch from '2026-08-19 19:10:18'::timestamp) - extract(epoch from '2026-08-19 19:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14227 -2.822935)'), GeomFromEWKT('SRID=4674;POINT (-40.142364 -2.822986)'))) / (select extract(epoch from '2026-08-19 19:10:18'::timestamp) - extract(epoch from '2026-08-19 19:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.142472 -2.82304)', '2026-08-19 19:10:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142364 -2.822986)'), GeomFromEWKT('SRID=4674;POINT (-40.142472 -2.82304)'))) / (select extract(epoch from '2026-08-19 19:10:35'::timestamp) - extract(epoch from '2026-08-19 19:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142364 -2.822986)'), GeomFromEWKT('SRID=4674;POINT (-40.142472 -2.82304)'))) / (select extract(epoch from '2026-08-19 19:10:35'::timestamp) - extract(epoch from '2026-08-19 19:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14254 -2.823093)', '2026-08-19 19:10:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142472 -2.82304)'), GeomFromEWKT('SRID=4674;POINT (-40.14254 -2.823093)'))) / (select extract(epoch from '2026-08-19 19:10:46'::timestamp) - extract(epoch from '2026-08-19 19:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142472 -2.82304)'), GeomFromEWKT('SRID=4674;POINT (-40.14254 -2.823093)'))) / (select extract(epoch from '2026-08-19 19:10:46'::timestamp) - extract(epoch from '2026-08-19 19:10: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.142628 -2.823173)', '2026-08-19 19:10:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14254 -2.823093)'), GeomFromEWKT('SRID=4674;POINT (-40.142628 -2.823173)'))) / (select extract(epoch from '2026-08-19 19:10:58'::timestamp) - extract(epoch from '2026-08-19 19:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14254 -2.823093)'), GeomFromEWKT('SRID=4674;POINT (-40.142628 -2.823173)'))) / (select extract(epoch from '2026-08-19 19:10:58'::timestamp) - extract(epoch from '2026-08-19 19:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.142743 -2.823256)', '2026-08-19 19:11:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142628 -2.823173)'), GeomFromEWKT('SRID=4674;POINT (-40.142743 -2.823256)'))) / (select extract(epoch from '2026-08-19 19:11:15'::timestamp) - extract(epoch from '2026-08-19 19:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142628 -2.823173)'), GeomFromEWKT('SRID=4674;POINT (-40.142743 -2.823256)'))) / (select extract(epoch from '2026-08-19 19:11:15'::timestamp) - extract(epoch from '2026-08-19 19:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.142842 -2.823324)', '2026-08-19 19:11:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142743 -2.823256)'), GeomFromEWKT('SRID=4674;POINT (-40.142842 -2.823324)'))) / (select extract(epoch from '2026-08-19 19:11:29'::timestamp) - extract(epoch from '2026-08-19 19:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142743 -2.823256)'), GeomFromEWKT('SRID=4674;POINT (-40.142842 -2.823324)'))) / (select extract(epoch from '2026-08-19 19:11:29'::timestamp) - extract(epoch from '2026-08-19 19:11: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.142952 -2.823395)', '2026-08-19 19:11:46', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142842 -2.823324)'), GeomFromEWKT('SRID=4674;POINT (-40.142952 -2.823395)'))) / (select extract(epoch from '2026-08-19 19:11:46'::timestamp) - extract(epoch from '2026-08-19 19:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142842 -2.823324)'), GeomFromEWKT('SRID=4674;POINT (-40.142952 -2.823395)'))) / (select extract(epoch from '2026-08-19 19:11:46'::timestamp) - extract(epoch from '2026-08-19 19:11: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.143066 -2.823433)', '2026-08-19 19:12:03', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142952 -2.823395)'), GeomFromEWKT('SRID=4674;POINT (-40.143066 -2.823433)'))) / (select extract(epoch from '2026-08-19 19:12:03'::timestamp) - extract(epoch from '2026-08-19 19:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142952 -2.823395)'), GeomFromEWKT('SRID=4674;POINT (-40.143066 -2.823433)'))) / (select extract(epoch from '2026-08-19 19:12:03'::timestamp) - extract(epoch from '2026-08-19 19:11: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.143188 -2.823494)', '2026-08-19 19:12:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143066 -2.823433)'), GeomFromEWKT('SRID=4674;POINT (-40.143188 -2.823494)'))) / (select extract(epoch from '2026-08-19 19:12:22'::timestamp) - extract(epoch from '2026-08-19 19:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143066 -2.823433)'), GeomFromEWKT('SRID=4674;POINT (-40.143188 -2.823494)'))) / (select extract(epoch from '2026-08-19 19:12:22'::timestamp) - extract(epoch from '2026-08-19 19:12: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.143323 -2.823528)', '2026-08-19 19:12:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143188 -2.823494)'), GeomFromEWKT('SRID=4674;POINT (-40.143323 -2.823528)'))) / (select extract(epoch from '2026-08-19 19:12:40'::timestamp) - extract(epoch from '2026-08-19 19:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143188 -2.823494)'), GeomFromEWKT('SRID=4674;POINT (-40.143323 -2.823528)'))) / (select extract(epoch from '2026-08-19 19:12:40'::timestamp) - extract(epoch from '2026-08-19 19:12: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.143317 -2.82352)', '2026-08-19 19:12:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143323 -2.823528)'), GeomFromEWKT('SRID=4674;POINT (-40.143317 -2.82352)'))) / (select extract(epoch from '2026-08-19 19:12:48'::timestamp) - extract(epoch from '2026-08-19 19:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143323 -2.823528)'), GeomFromEWKT('SRID=4674;POINT (-40.143317 -2.82352)'))) / (select extract(epoch from '2026-08-19 19:12:48'::timestamp) - extract(epoch from '2026-08-19 19:12:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143319 -2.823533)', '2026-08-19 19:12:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143317 -2.82352)'), GeomFromEWKT('SRID=4674;POINT (-40.143319 -2.823533)'))) / (select extract(epoch from '2026-08-19 19:12:50'::timestamp) - extract(epoch from '2026-08-19 19:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143317 -2.82352)'), GeomFromEWKT('SRID=4674;POINT (-40.143319 -2.823533)'))) / (select extract(epoch from '2026-08-19 19:12:50'::timestamp) - extract(epoch from '2026-08-19 19:12: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.143324 -2.823586)', '2026-08-19 19:12:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143319 -2.823533)'), GeomFromEWKT('SRID=4674;POINT (-40.143324 -2.823586)'))) / (select extract(epoch from '2026-08-19 19:12:54'::timestamp) - extract(epoch from '2026-08-19 19:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143319 -2.823533)'), GeomFromEWKT('SRID=4674;POINT (-40.143324 -2.823586)'))) / (select extract(epoch from '2026-08-19 19:12:54'::timestamp) - extract(epoch from '2026-08-19 19:12: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.143311 -2.823722)', '2026-08-19 19:13:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143324 -2.823586)'), GeomFromEWKT('SRID=4674;POINT (-40.143311 -2.823722)'))) / (select extract(epoch from '2026-08-19 19:13:02'::timestamp) - extract(epoch from '2026-08-19 19:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143324 -2.823586)'), GeomFromEWKT('SRID=4674;POINT (-40.143311 -2.823722)'))) / (select extract(epoch from '2026-08-19 19:13:02'::timestamp) - extract(epoch from '2026-08-19 19:12:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14332 -2.823875)', '2026-08-19 19:13:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143311 -2.823722)'), GeomFromEWKT('SRID=4674;POINT (-40.14332 -2.823875)'))) / (select extract(epoch from '2026-08-19 19:13:11'::timestamp) - extract(epoch from '2026-08-19 19:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143311 -2.823722)'), GeomFromEWKT('SRID=4674;POINT (-40.14332 -2.823875)'))) / (select extract(epoch from '2026-08-19 19:13:11'::timestamp) - extract(epoch from '2026-08-19 19: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.143322 -2.824004)', '2026-08-19 19:13:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14332 -2.823875)'), GeomFromEWKT('SRID=4674;POINT (-40.143322 -2.824004)'))) / (select extract(epoch from '2026-08-19 19:13:19'::timestamp) - extract(epoch from '2026-08-19 19:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14332 -2.823875)'), GeomFromEWKT('SRID=4674;POINT (-40.143322 -2.824004)'))) / (select extract(epoch from '2026-08-19 19:13:19'::timestamp) - extract(epoch from '2026-08-19 19:13: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.143351 -2.824149)', '2026-08-19 19:13:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143322 -2.824004)'), GeomFromEWKT('SRID=4674;POINT (-40.143351 -2.824149)'))) / (select extract(epoch from '2026-08-19 19:13:28'::timestamp) - extract(epoch from '2026-08-19 19:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143322 -2.824004)'), GeomFromEWKT('SRID=4674;POINT (-40.143351 -2.824149)'))) / (select extract(epoch from '2026-08-19 19:13:28'::timestamp) - extract(epoch from '2026-08-19 19:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14337 -2.824238)', '2026-08-19 19:13:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143351 -2.824149)'), GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.824238)'))) / (select extract(epoch from '2026-08-19 19:13:34'::timestamp) - extract(epoch from '2026-08-19 19:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143351 -2.824149)'), GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.824238)'))) / (select extract(epoch from '2026-08-19 19:13:34'::timestamp) - extract(epoch from '2026-08-19 19:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143393 -2.824374)', '2026-08-19 19:13:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.824238)'), GeomFromEWKT('SRID=4674;POINT (-40.143393 -2.824374)'))) / (select extract(epoch from '2026-08-19 19:13:43'::timestamp) - extract(epoch from '2026-08-19 19:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14337 -2.824238)'), GeomFromEWKT('SRID=4674;POINT (-40.143393 -2.824374)'))) / (select extract(epoch from '2026-08-19 19:13:43'::timestamp) - extract(epoch from '2026-08-19 19:13: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.143403 -2.824437)', '2026-08-19 19:13:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143393 -2.824374)'), GeomFromEWKT('SRID=4674;POINT (-40.143403 -2.824437)'))) / (select extract(epoch from '2026-08-19 19:13:50'::timestamp) - extract(epoch from '2026-08-19 19:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143393 -2.824374)'), GeomFromEWKT('SRID=4674;POINT (-40.143403 -2.824437)'))) / (select extract(epoch from '2026-08-19 19:13:50'::timestamp) - extract(epoch from '2026-08-19 19:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.1435 -2.824486)', '2026-08-19 19:14:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143403 -2.824437)'), GeomFromEWKT('SRID=4674;POINT (-40.1435 -2.824486)'))) / (select extract(epoch from '2026-08-19 19:14:05'::timestamp) - extract(epoch from '2026-08-19 19:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143403 -2.824437)'), GeomFromEWKT('SRID=4674;POINT (-40.1435 -2.824486)'))) / (select extract(epoch from '2026-08-19 19:14:05'::timestamp) - extract(epoch from '2026-08-19 19:13: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.143605 -2.824501)', '2026-08-19 19:14:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1435 -2.824486)'), GeomFromEWKT('SRID=4674;POINT (-40.143605 -2.824501)'))) / (select extract(epoch from '2026-08-19 19:14:20'::timestamp) - extract(epoch from '2026-08-19 19:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1435 -2.824486)'), GeomFromEWKT('SRID=4674;POINT (-40.143605 -2.824501)'))) / (select extract(epoch from '2026-08-19 19:14:20'::timestamp) - extract(epoch from '2026-08-19 19:14: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.143716 -2.824521)', '2026-08-19 19:14:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143605 -2.824501)'), GeomFromEWKT('SRID=4674;POINT (-40.143716 -2.824521)'))) / (select extract(epoch from '2026-08-19 19:14:37'::timestamp) - extract(epoch from '2026-08-19 19:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143605 -2.824501)'), GeomFromEWKT('SRID=4674;POINT (-40.143716 -2.824521)'))) / (select extract(epoch from '2026-08-19 19:14:37'::timestamp) - extract(epoch from '2026-08-19 19:14: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.143758 -2.824554)', '2026-08-19 19:14:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143716 -2.824521)'), GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.824554)'))) / (select extract(epoch from '2026-08-19 19:14:49'::timestamp) - extract(epoch from '2026-08-19 19:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143716 -2.824521)'), GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.824554)'))) / (select extract(epoch from '2026-08-19 19:14:49'::timestamp) - extract(epoch from '2026-08-19 19:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143763 -2.82458)', '2026-08-19 19:15:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.824554)'), GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.82458)'))) / (select extract(epoch from '2026-08-19 19:15:08'::timestamp) - extract(epoch from '2026-08-19 19:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.824554)'), GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.82458)'))) / (select extract(epoch from '2026-08-19 19:15:08'::timestamp) - extract(epoch from '2026-08-19 19:14:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143761 -2.824575)', '2026-08-19 19:15:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.82458)'), GeomFromEWKT('SRID=4674;POINT (-40.143761 -2.824575)'))) / (select extract(epoch from '2026-08-19 19:15:27'::timestamp) - extract(epoch from '2026-08-19 19:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.82458)'), GeomFromEWKT('SRID=4674;POINT (-40.143761 -2.824575)'))) / (select extract(epoch from '2026-08-19 19:15:27'::timestamp) - extract(epoch from '2026-08-19 19:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143759 -2.824587)', '2026-08-19 19:15:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143761 -2.824575)'), GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.824587)'))) / (select extract(epoch from '2026-08-19 19:15:37'::timestamp) - extract(epoch from '2026-08-19 19:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143761 -2.824575)'), GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.824587)'))) / (select extract(epoch from '2026-08-19 19:15:37'::timestamp) - extract(epoch from '2026-08-19 19: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.143752 -2.824579)', '2026-08-19 19:15:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.824587)'), GeomFromEWKT('SRID=4674;POINT (-40.143752 -2.824579)'))) / (select extract(epoch from '2026-08-19 19:15:55'::timestamp) - extract(epoch from '2026-08-19 19:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.824587)'), GeomFromEWKT('SRID=4674;POINT (-40.143752 -2.824579)'))) / (select extract(epoch from '2026-08-19 19:15:55'::timestamp) - extract(epoch from '2026-08-19 19: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.143749 -2.82459)', '2026-08-19 19:16:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143752 -2.824579)'), GeomFromEWKT('SRID=4674;POINT (-40.143749 -2.82459)'))) / (select extract(epoch from '2026-08-19 19:16:12'::timestamp) - extract(epoch from '2026-08-19 19:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143752 -2.824579)'), GeomFromEWKT('SRID=4674;POINT (-40.143749 -2.82459)'))) / (select extract(epoch from '2026-08-19 19:16:12'::timestamp) - extract(epoch from '2026-08-19 19:15: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.143748 -2.824586)', '2026-08-19 19:16:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143749 -2.82459)'), GeomFromEWKT('SRID=4674;POINT (-40.143748 -2.824586)'))) / (select extract(epoch from '2026-08-19 19:16:29'::timestamp) - extract(epoch from '2026-08-19 19:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143749 -2.82459)'), GeomFromEWKT('SRID=4674;POINT (-40.143748 -2.824586)'))) / (select extract(epoch from '2026-08-19 19:16:29'::timestamp) - extract(epoch from '2026-08-19 19: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.143751 -2.824588)', '2026-08-19 19:16:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143748 -2.824586)'), GeomFromEWKT('SRID=4674;POINT (-40.143751 -2.824588)'))) / (select extract(epoch from '2026-08-19 19:16:50'::timestamp) - extract(epoch from '2026-08-19 19:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143748 -2.824586)'), GeomFromEWKT('SRID=4674;POINT (-40.143751 -2.824588)'))) / (select extract(epoch from '2026-08-19 19:16:50'::timestamp) - extract(epoch from '2026-08-19 19:16: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.143748 -2.82459)', '2026-08-19 19:17:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143751 -2.824588)'), GeomFromEWKT('SRID=4674;POINT (-40.143748 -2.82459)'))) / (select extract(epoch from '2026-08-19 19:17:04'::timestamp) - extract(epoch from '2026-08-19 19:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143751 -2.824588)'), GeomFromEWKT('SRID=4674;POINT (-40.143748 -2.82459)'))) / (select extract(epoch from '2026-08-19 19:17:04'::timestamp) - extract(epoch from '2026-08-19 19:16: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.143754 -2.824582)', '2026-08-19 19:17:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143748 -2.82459)'), GeomFromEWKT('SRID=4674;POINT (-40.143754 -2.824582)'))) / (select extract(epoch from '2026-08-19 19:17:19'::timestamp) - extract(epoch from '2026-08-19 19:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143748 -2.82459)'), GeomFromEWKT('SRID=4674;POINT (-40.143754 -2.824582)'))) / (select extract(epoch from '2026-08-19 19:17:19'::timestamp) - extract(epoch from '2026-08-19 19:17: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.143761 -2.824571)', '2026-08-19 19:17:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143754 -2.824582)'), GeomFromEWKT('SRID=4674;POINT (-40.143761 -2.824571)'))) / (select extract(epoch from '2026-08-19 19:17:34'::timestamp) - extract(epoch from '2026-08-19 19:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143754 -2.824582)'), GeomFromEWKT('SRID=4674;POINT (-40.143761 -2.824571)'))) / (select extract(epoch from '2026-08-19 19:17:34'::timestamp) - extract(epoch from '2026-08-19 19:17: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.143759 -2.824574)', '2026-08-19 19:17:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143761 -2.824571)'), GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.824574)'))) / (select extract(epoch from '2026-08-19 19:17:48'::timestamp) - extract(epoch from '2026-08-19 19:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143761 -2.824571)'), GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.824574)'))) / (select extract(epoch from '2026-08-19 19:17:48'::timestamp) - extract(epoch from '2026-08-19 19:17: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.143763 -2.824569)', '2026-08-19 19:17:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.824574)'), GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.824569)'))) / (select extract(epoch from '2026-08-19 19:17:59'::timestamp) - extract(epoch from '2026-08-19 19:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.824574)'), GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.824569)'))) / (select extract(epoch from '2026-08-19 19:17:59'::timestamp) - extract(epoch from '2026-08-19 19:17: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.143762 -2.824568)', '2026-08-19 19:18:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.824569)'), GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824568)'))) / (select extract(epoch from '2026-08-19 19:18:14'::timestamp) - extract(epoch from '2026-08-19 19:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.824569)'), GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824568)'))) / (select extract(epoch from '2026-08-19 19:18:14'::timestamp) - extract(epoch from '2026-08-19 19:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143758 -2.82457)', '2026-08-19 19:18:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824568)'), GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:18:31'::timestamp) - extract(epoch from '2026-08-19 19:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824568)'), GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:18:31'::timestamp) - extract(epoch from '2026-08-19 19:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143759 -2.82457)', '2026-08-19 19:18:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:18:45'::timestamp) - extract(epoch from '2026-08-19 19:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143758 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:18:45'::timestamp) - extract(epoch from '2026-08-19 19:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143757 -2.82457)', '2026-08-19 19:19:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143757 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:19:00'::timestamp) - extract(epoch from '2026-08-19 19:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143759 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143757 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:19:00'::timestamp) - extract(epoch from '2026-08-19 19:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14376 -2.82457)', '2026-08-19 19:19:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143757 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.14376 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:19:13'::timestamp) - extract(epoch from '2026-08-19 19:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143757 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.14376 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:19:13'::timestamp) - extract(epoch from '2026-08-19 19:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143767 -2.824568)', '2026-08-19 19:19:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14376 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143767 -2.824568)'))) / (select extract(epoch from '2026-08-19 19:19:29'::timestamp) - extract(epoch from '2026-08-19 19:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14376 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143767 -2.824568)'))) / (select extract(epoch from '2026-08-19 19:19:29'::timestamp) - extract(epoch from '2026-08-19 19:19: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.143767 -2.824568)', '2026-08-19 19:19:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143767 -2.824568)'), GeomFromEWKT('SRID=4674;POINT (-40.143767 -2.824568)'))) / (select extract(epoch from '2026-08-19 19:19:42'::timestamp) - extract(epoch from '2026-08-19 19:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143767 -2.824568)'), GeomFromEWKT('SRID=4674;POINT (-40.143767 -2.824568)'))) / (select extract(epoch from '2026-08-19 19:19:42'::timestamp) - extract(epoch from '2026-08-19 19:19: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.143766 -2.824569)', '2026-08-19 19:20:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143767 -2.824568)'), GeomFromEWKT('SRID=4674;POINT (-40.143766 -2.824569)'))) / (select extract(epoch from '2026-08-19 19:20:00'::timestamp) - extract(epoch from '2026-08-19 19:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143767 -2.824568)'), GeomFromEWKT('SRID=4674;POINT (-40.143766 -2.824569)'))) / (select extract(epoch from '2026-08-19 19:20:00'::timestamp) - extract(epoch from '2026-08-19 19:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143762 -2.824561)', '2026-08-19 19:20:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143766 -2.824569)'), GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824561)'))) / (select extract(epoch from '2026-08-19 19:20:11'::timestamp) - extract(epoch from '2026-08-19 19:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143766 -2.824569)'), GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824561)'))) / (select extract(epoch from '2026-08-19 19:20:11'::timestamp) - extract(epoch from '2026-08-19 19:20:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143764 -2.824561)', '2026-08-19 19:20:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824561)'), GeomFromEWKT('SRID=4674;POINT (-40.143764 -2.824561)'))) / (select extract(epoch from '2026-08-19 19:20:27'::timestamp) - extract(epoch from '2026-08-19 19:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824561)'), GeomFromEWKT('SRID=4674;POINT (-40.143764 -2.824561)'))) / (select extract(epoch from '2026-08-19 19:20:27'::timestamp) - extract(epoch from '2026-08-19 19:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143768 -2.824561)', '2026-08-19 19:20:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143764 -2.824561)'), GeomFromEWKT('SRID=4674;POINT (-40.143768 -2.824561)'))) / (select extract(epoch from '2026-08-19 19:20:40'::timestamp) - extract(epoch from '2026-08-19 19:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143764 -2.824561)'), GeomFromEWKT('SRID=4674;POINT (-40.143768 -2.824561)'))) / (select extract(epoch from '2026-08-19 19:20:40'::timestamp) - extract(epoch from '2026-08-19 19:20: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.143773 -2.824554)', '2026-08-19 19:20:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143768 -2.824561)'), GeomFromEWKT('SRID=4674;POINT (-40.143773 -2.824554)'))) / (select extract(epoch from '2026-08-19 19:20:50'::timestamp) - extract(epoch from '2026-08-19 19:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143768 -2.824561)'), GeomFromEWKT('SRID=4674;POINT (-40.143773 -2.824554)'))) / (select extract(epoch from '2026-08-19 19:20:50'::timestamp) - extract(epoch from '2026-08-19 19:20: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.14378 -2.824555)', '2026-08-19 19:21:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143773 -2.824554)'), GeomFromEWKT('SRID=4674;POINT (-40.14378 -2.824555)'))) / (select extract(epoch from '2026-08-19 19:21:01'::timestamp) - extract(epoch from '2026-08-19 19:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143773 -2.824554)'), GeomFromEWKT('SRID=4674;POINT (-40.14378 -2.824555)'))) / (select extract(epoch from '2026-08-19 19:21:01'::timestamp) - extract(epoch from '2026-08-19 19:20:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143778 -2.824552)', '2026-08-19 19:21:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14378 -2.824555)'), GeomFromEWKT('SRID=4674;POINT (-40.143778 -2.824552)'))) / (select extract(epoch from '2026-08-19 19:21:17'::timestamp) - extract(epoch from '2026-08-19 19:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14378 -2.824555)'), GeomFromEWKT('SRID=4674;POINT (-40.143778 -2.824552)'))) / (select extract(epoch from '2026-08-19 19:21:17'::timestamp) - extract(epoch from '2026-08-19 19: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.143778 -2.82456)', '2026-08-19 19:21:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143778 -2.824552)'), GeomFromEWKT('SRID=4674;POINT (-40.143778 -2.82456)'))) / (select extract(epoch from '2026-08-19 19:21:33'::timestamp) - extract(epoch from '2026-08-19 19:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143778 -2.824552)'), GeomFromEWKT('SRID=4674;POINT (-40.143778 -2.82456)'))) / (select extract(epoch from '2026-08-19 19:21:33'::timestamp) - extract(epoch from '2026-08-19 19:21: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.14378 -2.82456)', '2026-08-19 19:21:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143778 -2.82456)'), GeomFromEWKT('SRID=4674;POINT (-40.14378 -2.82456)'))) / (select extract(epoch from '2026-08-19 19:21:42'::timestamp) - extract(epoch from '2026-08-19 19:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143778 -2.82456)'), GeomFromEWKT('SRID=4674;POINT (-40.14378 -2.82456)'))) / (select extract(epoch from '2026-08-19 19:21:42'::timestamp) - extract(epoch from '2026-08-19 19:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143782 -2.824564)', '2026-08-19 19:21:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14378 -2.82456)'), GeomFromEWKT('SRID=4674;POINT (-40.143782 -2.824564)'))) / (select extract(epoch from '2026-08-19 19:21:55'::timestamp) - extract(epoch from '2026-08-19 19:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14378 -2.82456)'), GeomFromEWKT('SRID=4674;POINT (-40.143782 -2.824564)'))) / (select extract(epoch from '2026-08-19 19:21:55'::timestamp) - extract(epoch from '2026-08-19 19: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.143785 -2.824569)', '2026-08-19 19:22:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143782 -2.824564)'), GeomFromEWKT('SRID=4674;POINT (-40.143785 -2.824569)'))) / (select extract(epoch from '2026-08-19 19:22:07'::timestamp) - extract(epoch from '2026-08-19 19:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143782 -2.824564)'), GeomFromEWKT('SRID=4674;POINT (-40.143785 -2.824569)'))) / (select extract(epoch from '2026-08-19 19:22:07'::timestamp) - extract(epoch from '2026-08-19 19:21: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.143784 -2.824565)', '2026-08-19 19:22:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143785 -2.824569)'), GeomFromEWKT('SRID=4674;POINT (-40.143784 -2.824565)'))) / (select extract(epoch from '2026-08-19 19:22:20'::timestamp) - extract(epoch from '2026-08-19 19:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143785 -2.824569)'), GeomFromEWKT('SRID=4674;POINT (-40.143784 -2.824565)'))) / (select extract(epoch from '2026-08-19 19:22:20'::timestamp) - extract(epoch from '2026-08-19 19:22: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.143783 -2.824565)', '2026-08-19 19:22:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143784 -2.824565)'), GeomFromEWKT('SRID=4674;POINT (-40.143783 -2.824565)'))) / (select extract(epoch from '2026-08-19 19:22:31'::timestamp) - extract(epoch from '2026-08-19 19:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143784 -2.824565)'), GeomFromEWKT('SRID=4674;POINT (-40.143783 -2.824565)'))) / (select extract(epoch from '2026-08-19 19:22:31'::timestamp) - extract(epoch from '2026-08-19 19:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143781 -2.82457)', '2026-08-19 19:22:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143783 -2.824565)'), GeomFromEWKT('SRID=4674;POINT (-40.143781 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:22:40'::timestamp) - extract(epoch from '2026-08-19 19:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143783 -2.824565)'), GeomFromEWKT('SRID=4674;POINT (-40.143781 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:22:40'::timestamp) - extract(epoch from '2026-08-19 19:22: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.143787 -2.824573)', '2026-08-19 19:22:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143781 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143787 -2.824573)'))) / (select extract(epoch from '2026-08-19 19:22:52'::timestamp) - extract(epoch from '2026-08-19 19:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143781 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143787 -2.824573)'))) / (select extract(epoch from '2026-08-19 19:22:52'::timestamp) - extract(epoch from '2026-08-19 19:22: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.143784 -2.82457)', '2026-08-19 19:23:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143787 -2.824573)'), GeomFromEWKT('SRID=4674;POINT (-40.143784 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:23:05'::timestamp) - extract(epoch from '2026-08-19 19:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143787 -2.824573)'), GeomFromEWKT('SRID=4674;POINT (-40.143784 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:23:05'::timestamp) - extract(epoch from '2026-08-19 19:22: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.143786 -2.824567)', '2026-08-19 19:23:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143784 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143786 -2.824567)'))) / (select extract(epoch from '2026-08-19 19:23:18'::timestamp) - extract(epoch from '2026-08-19 19:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143784 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143786 -2.824567)'))) / (select extract(epoch from '2026-08-19 19:23:18'::timestamp) - extract(epoch from '2026-08-19 19:23: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.143789 -2.824583)', '2026-08-19 19:23:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143786 -2.824567)'), GeomFromEWKT('SRID=4674;POINT (-40.143789 -2.824583)'))) / (select extract(epoch from '2026-08-19 19:23:34'::timestamp) - extract(epoch from '2026-08-19 19:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143786 -2.824567)'), GeomFromEWKT('SRID=4674;POINT (-40.143789 -2.824583)'))) / (select extract(epoch from '2026-08-19 19:23:34'::timestamp) - extract(epoch from '2026-08-19 19:23: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.143783 -2.824582)', '2026-08-19 19:23:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143789 -2.824583)'), GeomFromEWKT('SRID=4674;POINT (-40.143783 -2.824582)'))) / (select extract(epoch from '2026-08-19 19:23:46'::timestamp) - extract(epoch from '2026-08-19 19:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143789 -2.824583)'), GeomFromEWKT('SRID=4674;POINT (-40.143783 -2.824582)'))) / (select extract(epoch from '2026-08-19 19:23:46'::timestamp) - extract(epoch from '2026-08-19 19:23:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143787 -2.824576)', '2026-08-19 19:24:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143783 -2.824582)'), GeomFromEWKT('SRID=4674;POINT (-40.143787 -2.824576)'))) / (select extract(epoch from '2026-08-19 19:24:00'::timestamp) - extract(epoch from '2026-08-19 19:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143783 -2.824582)'), GeomFromEWKT('SRID=4674;POINT (-40.143787 -2.824576)'))) / (select extract(epoch from '2026-08-19 19:24:00'::timestamp) - extract(epoch from '2026-08-19 19:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143788 -2.82457)', '2026-08-19 19:24:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143787 -2.824576)'), GeomFromEWKT('SRID=4674;POINT (-40.143788 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:24:17'::timestamp) - extract(epoch from '2026-08-19 19:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143787 -2.824576)'), GeomFromEWKT('SRID=4674;POINT (-40.143788 -2.82457)'))) / (select extract(epoch from '2026-08-19 19:24:17'::timestamp) - extract(epoch from '2026-08-19 19:24: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.143762 -2.824555)', '2026-08-19 19:24:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143788 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824555)'))) / (select extract(epoch from '2026-08-19 19:24:29'::timestamp) - extract(epoch from '2026-08-19 19:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143788 -2.82457)'), GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824555)'))) / (select extract(epoch from '2026-08-19 19:24:29'::timestamp) - extract(epoch from '2026-08-19 19:24: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.143654 -2.824557)', '2026-08-19 19:24:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824555)'), GeomFromEWKT('SRID=4674;POINT (-40.143654 -2.824557)'))) / (select extract(epoch from '2026-08-19 19:24:42'::timestamp) - extract(epoch from '2026-08-19 19:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143762 -2.824555)'), GeomFromEWKT('SRID=4674;POINT (-40.143654 -2.824557)'))) / (select extract(epoch from '2026-08-19 19:24:42'::timestamp) - extract(epoch from '2026-08-19 19:24: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.143625 -2.824556)', '2026-08-19 19:24:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143654 -2.824557)'), GeomFromEWKT('SRID=4674;POINT (-40.143625 -2.824556)'))) / (select extract(epoch from '2026-08-19 19:24:57'::timestamp) - extract(epoch from '2026-08-19 19:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143654 -2.824557)'), GeomFromEWKT('SRID=4674;POINT (-40.143625 -2.824556)'))) / (select extract(epoch from '2026-08-19 19:24:57'::timestamp) - extract(epoch from '2026-08-19 19:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143659 -2.824593)', '2026-08-19 19:25:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143625 -2.824556)'), GeomFromEWKT('SRID=4674;POINT (-40.143659 -2.824593)'))) / (select extract(epoch from '2026-08-19 19:25:05'::timestamp) - extract(epoch from '2026-08-19 19:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143625 -2.824556)'), GeomFromEWKT('SRID=4674;POINT (-40.143659 -2.824593)'))) / (select extract(epoch from '2026-08-19 19:25:05'::timestamp) - extract(epoch from '2026-08-19 19:24: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.143704 -2.824679)', '2026-08-19 19:25:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143659 -2.824593)'), GeomFromEWKT('SRID=4674;POINT (-40.143704 -2.824679)'))) / (select extract(epoch from '2026-08-19 19:25:19'::timestamp) - extract(epoch from '2026-08-19 19:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143659 -2.824593)'), GeomFromEWKT('SRID=4674;POINT (-40.143704 -2.824679)'))) / (select extract(epoch from '2026-08-19 19:25:19'::timestamp) - extract(epoch from '2026-08-19 19:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
