BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.356835 -2.807955)', '2026-07-17 04:53:52', 3.2, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.356684 -2.807885)', '2026-07-17 04:54:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356835 -2.807955)'), GeomFromEWKT('SRID=4674;POINT (-40.356684 -2.807885)'))) / (select extract(epoch from '2026-07-17 04:54:00'::timestamp) - extract(epoch from '2026-07-17 04:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356835 -2.807955)'), GeomFromEWKT('SRID=4674;POINT (-40.356684 -2.807885)'))) / (select extract(epoch from '2026-07-17 04:54:00'::timestamp) - extract(epoch from '2026-07-17 04:53:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.356539 -2.807801)', '2026-07-17 04:54:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356684 -2.807885)'), GeomFromEWKT('SRID=4674;POINT (-40.356539 -2.807801)'))) / (select extract(epoch from '2026-07-17 04:54:08'::timestamp) - extract(epoch from '2026-07-17 04:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356684 -2.807885)'), GeomFromEWKT('SRID=4674;POINT (-40.356539 -2.807801)'))) / (select extract(epoch from '2026-07-17 04:54:08'::timestamp) - extract(epoch from '2026-07-17 04:54: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'), 47804, 'SRID=4674;POINT (-40.356389 -2.80772)', '2026-07-17 04:54:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356539 -2.807801)'), GeomFromEWKT('SRID=4674;POINT (-40.356389 -2.80772)'))) / (select extract(epoch from '2026-07-17 04:54:16'::timestamp) - extract(epoch from '2026-07-17 04:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356539 -2.807801)'), GeomFromEWKT('SRID=4674;POINT (-40.356389 -2.80772)'))) / (select extract(epoch from '2026-07-17 04:54:16'::timestamp) - extract(epoch from '2026-07-17 04:54: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'), 47804, 'SRID=4674;POINT (-40.356199 -2.807679)', '2026-07-17 04:54:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356389 -2.80772)'), GeomFromEWKT('SRID=4674;POINT (-40.356199 -2.807679)'))) / (select extract(epoch from '2026-07-17 04:54:25'::timestamp) - extract(epoch from '2026-07-17 04:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356389 -2.80772)'), GeomFromEWKT('SRID=4674;POINT (-40.356199 -2.807679)'))) / (select extract(epoch from '2026-07-17 04:54:25'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47804, 'SRID=4674;POINT (-40.356022 -2.807658)', '2026-07-17 04:54:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356199 -2.807679)'), GeomFromEWKT('SRID=4674;POINT (-40.356022 -2.807658)'))) / (select extract(epoch from '2026-07-17 04:54:33'::timestamp) - extract(epoch from '2026-07-17 04:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356199 -2.807679)'), GeomFromEWKT('SRID=4674;POINT (-40.356022 -2.807658)'))) / (select extract(epoch from '2026-07-17 04:54:33'::timestamp) - extract(epoch from '2026-07-17 04:54: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'), 47804, 'SRID=4674;POINT (-40.355844 -2.807639)', '2026-07-17 04:54:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356022 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.355844 -2.807639)'))) / (select extract(epoch from '2026-07-17 04:54:41'::timestamp) - extract(epoch from '2026-07-17 04:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356022 -2.807658)'), GeomFromEWKT('SRID=4674;POINT (-40.355844 -2.807639)'))) / (select extract(epoch from '2026-07-17 04:54:41'::timestamp) - extract(epoch from '2026-07-17 04:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.35565 -2.807613)', '2026-07-17 04:54:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355844 -2.807639)'), GeomFromEWKT('SRID=4674;POINT (-40.35565 -2.807613)'))) / (select extract(epoch from '2026-07-17 04:54:50'::timestamp) - extract(epoch from '2026-07-17 04:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355844 -2.807639)'), GeomFromEWKT('SRID=4674;POINT (-40.35565 -2.807613)'))) / (select extract(epoch from '2026-07-17 04:54:50'::timestamp) - extract(epoch from '2026-07-17 04:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.355464 -2.807585)', '2026-07-17 04:54:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35565 -2.807613)'), GeomFromEWKT('SRID=4674;POINT (-40.355464 -2.807585)'))) / (select extract(epoch from '2026-07-17 04:54:59'::timestamp) - extract(epoch from '2026-07-17 04:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35565 -2.807613)'), GeomFromEWKT('SRID=4674;POINT (-40.355464 -2.807585)'))) / (select extract(epoch from '2026-07-17 04:54:59'::timestamp) - extract(epoch from '2026-07-17 04:54: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'), 47804, 'SRID=4674;POINT (-40.355291 -2.807567)', '2026-07-17 04:55:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355464 -2.807585)'), GeomFromEWKT('SRID=4674;POINT (-40.355291 -2.807567)'))) / (select extract(epoch from '2026-07-17 04:55:07'::timestamp) - extract(epoch from '2026-07-17 04:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355464 -2.807585)'), GeomFromEWKT('SRID=4674;POINT (-40.355291 -2.807567)'))) / (select extract(epoch from '2026-07-17 04:55:07'::timestamp) - extract(epoch from '2026-07-17 04:54: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'), 47804, 'SRID=4674;POINT (-40.355123 -2.807543)', '2026-07-17 04:55:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355291 -2.807567)'), GeomFromEWKT('SRID=4674;POINT (-40.355123 -2.807543)'))) / (select extract(epoch from '2026-07-17 04:55:15'::timestamp) - extract(epoch from '2026-07-17 04:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355291 -2.807567)'), GeomFromEWKT('SRID=4674;POINT (-40.355123 -2.807543)'))) / (select extract(epoch from '2026-07-17 04:55:15'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47804, 'SRID=4674;POINT (-40.354937 -2.807533)', '2026-07-17 04:55:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355123 -2.807543)'), GeomFromEWKT('SRID=4674;POINT (-40.354937 -2.807533)'))) / (select extract(epoch from '2026-07-17 04:55:24'::timestamp) - extract(epoch from '2026-07-17 04:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355123 -2.807543)'), GeomFromEWKT('SRID=4674;POINT (-40.354937 -2.807533)'))) / (select extract(epoch from '2026-07-17 04:55:24'::timestamp) - extract(epoch from '2026-07-17 04:55: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'), 47804, 'SRID=4674;POINT (-40.354768 -2.807511)', '2026-07-17 04:55:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354937 -2.807533)'), GeomFromEWKT('SRID=4674;POINT (-40.354768 -2.807511)'))) / (select extract(epoch from '2026-07-17 04:55:32'::timestamp) - extract(epoch from '2026-07-17 04:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354937 -2.807533)'), GeomFromEWKT('SRID=4674;POINT (-40.354768 -2.807511)'))) / (select extract(epoch from '2026-07-17 04:55:32'::timestamp) - extract(epoch from '2026-07-17 04:55: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'), 47804, 'SRID=4674;POINT (-40.354554 -2.807457)', '2026-07-17 04:55:42', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354768 -2.807511)'), GeomFromEWKT('SRID=4674;POINT (-40.354554 -2.807457)'))) / (select extract(epoch from '2026-07-17 04:55:42'::timestamp) - extract(epoch from '2026-07-17 04:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354768 -2.807511)'), GeomFromEWKT('SRID=4674;POINT (-40.354554 -2.807457)'))) / (select extract(epoch from '2026-07-17 04:55:42'::timestamp) - extract(epoch from '2026-07-17 04:55: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'), 47804, 'SRID=4674;POINT (-40.354394 -2.807407)', '2026-07-17 04:55:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354554 -2.807457)'), GeomFromEWKT('SRID=4674;POINT (-40.354394 -2.807407)'))) / (select extract(epoch from '2026-07-17 04:55:50'::timestamp) - extract(epoch from '2026-07-17 04:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354554 -2.807457)'), GeomFromEWKT('SRID=4674;POINT (-40.354394 -2.807407)'))) / (select extract(epoch from '2026-07-17 04:55:50'::timestamp) - extract(epoch from '2026-07-17 04:55: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'), 47804, 'SRID=4674;POINT (-40.35422 -2.807339)', '2026-07-17 04:55:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354394 -2.807407)'), GeomFromEWKT('SRID=4674;POINT (-40.35422 -2.807339)'))) / (select extract(epoch from '2026-07-17 04:55:59'::timestamp) - extract(epoch from '2026-07-17 04:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354394 -2.807407)'), GeomFromEWKT('SRID=4674;POINT (-40.35422 -2.807339)'))) / (select extract(epoch from '2026-07-17 04:55:59'::timestamp) - extract(epoch from '2026-07-17 04:55:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.354038 -2.80728)', '2026-07-17 04:56:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35422 -2.807339)'), GeomFromEWKT('SRID=4674;POINT (-40.354038 -2.80728)'))) / (select extract(epoch from '2026-07-17 04:56:08'::timestamp) - extract(epoch from '2026-07-17 04:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35422 -2.807339)'), GeomFromEWKT('SRID=4674;POINT (-40.354038 -2.80728)'))) / (select extract(epoch from '2026-07-17 04:56:08'::timestamp) - extract(epoch from '2026-07-17 04:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.353888 -2.807224)', '2026-07-17 04:56:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354038 -2.80728)'), GeomFromEWKT('SRID=4674;POINT (-40.353888 -2.807224)'))) / (select extract(epoch from '2026-07-17 04:56:16'::timestamp) - extract(epoch from '2026-07-17 04:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354038 -2.80728)'), GeomFromEWKT('SRID=4674;POINT (-40.353888 -2.807224)'))) / (select extract(epoch from '2026-07-17 04:56:16'::timestamp) - extract(epoch from '2026-07-17 04:56: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'), 47804, 'SRID=4674;POINT (-40.353746 -2.807182)', '2026-07-17 04:56:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353888 -2.807224)'), GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.807182)'))) / (select extract(epoch from '2026-07-17 04:56:23'::timestamp) - extract(epoch from '2026-07-17 04:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353888 -2.807224)'), GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.807182)'))) / (select extract(epoch from '2026-07-17 04:56:23'::timestamp) - extract(epoch from '2026-07-17 04:56: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'), 47804, 'SRID=4674;POINT (-40.353601 -2.807161)', '2026-07-17 04:56:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.807182)'), GeomFromEWKT('SRID=4674;POINT (-40.353601 -2.807161)'))) / (select extract(epoch from '2026-07-17 04:56:30'::timestamp) - extract(epoch from '2026-07-17 04:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353746 -2.807182)'), GeomFromEWKT('SRID=4674;POINT (-40.353601 -2.807161)'))) / (select extract(epoch from '2026-07-17 04:56:30'::timestamp) - extract(epoch from '2026-07-17 04:56:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.35347 -2.807151)', '2026-07-17 04:56:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353601 -2.807161)'), GeomFromEWKT('SRID=4674;POINT (-40.35347 -2.807151)'))) / (select extract(epoch from '2026-07-17 04:56:36'::timestamp) - extract(epoch from '2026-07-17 04:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353601 -2.807161)'), GeomFromEWKT('SRID=4674;POINT (-40.35347 -2.807151)'))) / (select extract(epoch from '2026-07-17 04:56:36'::timestamp) - extract(epoch from '2026-07-17 04:56: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'), 47804, 'SRID=4674;POINT (-40.35324 -2.807125)', '2026-07-17 04:56:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35347 -2.807151)'), GeomFromEWKT('SRID=4674;POINT (-40.35324 -2.807125)'))) / (select extract(epoch from '2026-07-17 04:56:47'::timestamp) - extract(epoch from '2026-07-17 04:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35347 -2.807151)'), GeomFromEWKT('SRID=4674;POINT (-40.35324 -2.807125)'))) / (select extract(epoch from '2026-07-17 04:56:47'::timestamp) - extract(epoch from '2026-07-17 04:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.353054 -2.807086)', '2026-07-17 04:56:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35324 -2.807125)'), GeomFromEWKT('SRID=4674;POINT (-40.353054 -2.807086)'))) / (select extract(epoch from '2026-07-17 04:56:56'::timestamp) - extract(epoch from '2026-07-17 04:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35324 -2.807125)'), GeomFromEWKT('SRID=4674;POINT (-40.353054 -2.807086)'))) / (select extract(epoch from '2026-07-17 04:56:56'::timestamp) - extract(epoch from '2026-07-17 04:56: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'), 47804, 'SRID=4674;POINT (-40.352941 -2.807047)', '2026-07-17 04:57:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353054 -2.807086)'), GeomFromEWKT('SRID=4674;POINT (-40.352941 -2.807047)'))) / (select extract(epoch from '2026-07-17 04:57:02'::timestamp) - extract(epoch from '2026-07-17 04:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353054 -2.807086)'), GeomFromEWKT('SRID=4674;POINT (-40.352941 -2.807047)'))) / (select extract(epoch from '2026-07-17 04:57:02'::timestamp) - extract(epoch from '2026-07-17 04:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.352734 -2.806973)', '2026-07-17 04:57:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352941 -2.807047)'), GeomFromEWKT('SRID=4674;POINT (-40.352734 -2.806973)'))) / (select extract(epoch from '2026-07-17 04:57:12'::timestamp) - extract(epoch from '2026-07-17 04:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352941 -2.807047)'), GeomFromEWKT('SRID=4674;POINT (-40.352734 -2.806973)'))) / (select extract(epoch from '2026-07-17 04:57:12'::timestamp) - extract(epoch from '2026-07-17 04:57: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'), 47804, 'SRID=4674;POINT (-40.352527 -2.806906)', '2026-07-17 04:57:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352734 -2.806973)'), GeomFromEWKT('SRID=4674;POINT (-40.352527 -2.806906)'))) / (select extract(epoch from '2026-07-17 04:57:22'::timestamp) - extract(epoch from '2026-07-17 04:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352734 -2.806973)'), GeomFromEWKT('SRID=4674;POINT (-40.352527 -2.806906)'))) / (select extract(epoch from '2026-07-17 04:57:22'::timestamp) - extract(epoch from '2026-07-17 04:57: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'), 47804, 'SRID=4674;POINT (-40.352339 -2.806867)', '2026-07-17 04:57:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352527 -2.806906)'), GeomFromEWKT('SRID=4674;POINT (-40.352339 -2.806867)'))) / (select extract(epoch from '2026-07-17 04:57:31'::timestamp) - extract(epoch from '2026-07-17 04:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352527 -2.806906)'), GeomFromEWKT('SRID=4674;POINT (-40.352339 -2.806867)'))) / (select extract(epoch from '2026-07-17 04:57:31'::timestamp) - extract(epoch from '2026-07-17 04:57: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'), 47804, 'SRID=4674;POINT (-40.35217 -2.806829)', '2026-07-17 04:57:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352339 -2.806867)'), GeomFromEWKT('SRID=4674;POINT (-40.35217 -2.806829)'))) / (select extract(epoch from '2026-07-17 04:57:39'::timestamp) - extract(epoch from '2026-07-17 04:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352339 -2.806867)'), GeomFromEWKT('SRID=4674;POINT (-40.35217 -2.806829)'))) / (select extract(epoch from '2026-07-17 04:57:39'::timestamp) - extract(epoch from '2026-07-17 04:57:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.352016 -2.806822)', '2026-07-17 04:57:46', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35217 -2.806829)'), GeomFromEWKT('SRID=4674;POINT (-40.352016 -2.806822)'))) / (select extract(epoch from '2026-07-17 04:57:46'::timestamp) - extract(epoch from '2026-07-17 04:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35217 -2.806829)'), GeomFromEWKT('SRID=4674;POINT (-40.352016 -2.806822)'))) / (select extract(epoch from '2026-07-17 04:57:46'::timestamp) - extract(epoch from '2026-07-17 04:57: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'), 47804, 'SRID=4674;POINT (-40.351837 -2.806825)', '2026-07-17 04:57:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352016 -2.806822)'), GeomFromEWKT('SRID=4674;POINT (-40.351837 -2.806825)'))) / (select extract(epoch from '2026-07-17 04:57:54'::timestamp) - extract(epoch from '2026-07-17 04:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352016 -2.806822)'), GeomFromEWKT('SRID=4674;POINT (-40.351837 -2.806825)'))) / (select extract(epoch from '2026-07-17 04:57:54'::timestamp) - extract(epoch from '2026-07-17 04:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.35168 -2.806793)', '2026-07-17 04:58:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351837 -2.806825)'), GeomFromEWKT('SRID=4674;POINT (-40.35168 -2.806793)'))) / (select extract(epoch from '2026-07-17 04:58:01'::timestamp) - extract(epoch from '2026-07-17 04:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351837 -2.806825)'), GeomFromEWKT('SRID=4674;POINT (-40.35168 -2.806793)'))) / (select extract(epoch from '2026-07-17 04:58:01'::timestamp) - extract(epoch from '2026-07-17 04:57: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'), 47804, 'SRID=4674;POINT (-40.351495 -2.806733)', '2026-07-17 04:58:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35168 -2.806793)'), GeomFromEWKT('SRID=4674;POINT (-40.351495 -2.806733)'))) / (select extract(epoch from '2026-07-17 04:58:10'::timestamp) - extract(epoch from '2026-07-17 04:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35168 -2.806793)'), GeomFromEWKT('SRID=4674;POINT (-40.351495 -2.806733)'))) / (select extract(epoch from '2026-07-17 04:58:10'::timestamp) - extract(epoch from '2026-07-17 04:58: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'), 47804, 'SRID=4674;POINT (-40.351355 -2.806682)', '2026-07-17 04:58:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351495 -2.806733)'), GeomFromEWKT('SRID=4674;POINT (-40.351355 -2.806682)'))) / (select extract(epoch from '2026-07-17 04:58:17'::timestamp) - extract(epoch from '2026-07-17 04:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351495 -2.806733)'), GeomFromEWKT('SRID=4674;POINT (-40.351355 -2.806682)'))) / (select extract(epoch from '2026-07-17 04:58:17'::timestamp) - extract(epoch from '2026-07-17 04:58: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'), 47804, 'SRID=4674;POINT (-40.351165 -2.806616)', '2026-07-17 04:58:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351355 -2.806682)'), GeomFromEWKT('SRID=4674;POINT (-40.351165 -2.806616)'))) / (select extract(epoch from '2026-07-17 04:58:27'::timestamp) - extract(epoch from '2026-07-17 04:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351355 -2.806682)'), GeomFromEWKT('SRID=4674;POINT (-40.351165 -2.806616)'))) / (select extract(epoch from '2026-07-17 04:58:27'::timestamp) - extract(epoch from '2026-07-17 04:58: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'), 47804, 'SRID=4674;POINT (-40.350946 -2.806581)', '2026-07-17 04:58:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351165 -2.806616)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.806581)'))) / (select extract(epoch from '2026-07-17 04:58:37'::timestamp) - extract(epoch from '2026-07-17 04:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351165 -2.806616)'), GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.806581)'))) / (select extract(epoch from '2026-07-17 04:58:37'::timestamp) - extract(epoch from '2026-07-17 04:58: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'), 47804, 'SRID=4674;POINT (-40.350777 -2.806558)', '2026-07-17 04:58:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.806581)'), GeomFromEWKT('SRID=4674;POINT (-40.350777 -2.806558)'))) / (select extract(epoch from '2026-07-17 04:58:45'::timestamp) - extract(epoch from '2026-07-17 04:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350946 -2.806581)'), GeomFromEWKT('SRID=4674;POINT (-40.350777 -2.806558)'))) / (select extract(epoch from '2026-07-17 04:58:45'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47804, 'SRID=4674;POINT (-40.350599 -2.806519)', '2026-07-17 04:58:53', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350777 -2.806558)'), GeomFromEWKT('SRID=4674;POINT (-40.350599 -2.806519)'))) / (select extract(epoch from '2026-07-17 04:58:53'::timestamp) - extract(epoch from '2026-07-17 04:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350777 -2.806558)'), GeomFromEWKT('SRID=4674;POINT (-40.350599 -2.806519)'))) / (select extract(epoch from '2026-07-17 04:58:53'::timestamp) - extract(epoch from '2026-07-17 04:58: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'), 47804, 'SRID=4674;POINT (-40.350435 -2.806479)', '2026-07-17 04:59:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350599 -2.806519)'), GeomFromEWKT('SRID=4674;POINT (-40.350435 -2.806479)'))) / (select extract(epoch from '2026-07-17 04:59:01'::timestamp) - extract(epoch from '2026-07-17 04:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350599 -2.806519)'), GeomFromEWKT('SRID=4674;POINT (-40.350435 -2.806479)'))) / (select extract(epoch from '2026-07-17 04:59:01'::timestamp) - extract(epoch from '2026-07-17 04:58: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'), 47804, 'SRID=4674;POINT (-40.350293 -2.806401)', '2026-07-17 04:59:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350435 -2.806479)'), GeomFromEWKT('SRID=4674;POINT (-40.350293 -2.806401)'))) / (select extract(epoch from '2026-07-17 04:59:09'::timestamp) - extract(epoch from '2026-07-17 04:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350435 -2.806479)'), GeomFromEWKT('SRID=4674;POINT (-40.350293 -2.806401)'))) / (select extract(epoch from '2026-07-17 04:59:09'::timestamp) - extract(epoch from '2026-07-17 04:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.350174 -2.806354)', '2026-07-17 04:59:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350293 -2.806401)'), GeomFromEWKT('SRID=4674;POINT (-40.350174 -2.806354)'))) / (select extract(epoch from '2026-07-17 04:59:15'::timestamp) - extract(epoch from '2026-07-17 04:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350293 -2.806401)'), GeomFromEWKT('SRID=4674;POINT (-40.350174 -2.806354)'))) / (select extract(epoch from '2026-07-17 04:59:15'::timestamp) - extract(epoch from '2026-07-17 04:59: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'), 47804, 'SRID=4674;POINT (-40.350013 -2.806327)', '2026-07-17 04:59:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350174 -2.806354)'), GeomFromEWKT('SRID=4674;POINT (-40.350013 -2.806327)'))) / (select extract(epoch from '2026-07-17 04:59:23'::timestamp) - extract(epoch from '2026-07-17 04:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350174 -2.806354)'), GeomFromEWKT('SRID=4674;POINT (-40.350013 -2.806327)'))) / (select extract(epoch from '2026-07-17 04:59:23'::timestamp) - extract(epoch from '2026-07-17 04:59: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'), 47804, 'SRID=4674;POINT (-40.349844 -2.806315)', '2026-07-17 04:59:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350013 -2.806327)'), GeomFromEWKT('SRID=4674;POINT (-40.349844 -2.806315)'))) / (select extract(epoch from '2026-07-17 04:59:31'::timestamp) - extract(epoch from '2026-07-17 04:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350013 -2.806327)'), GeomFromEWKT('SRID=4674;POINT (-40.349844 -2.806315)'))) / (select extract(epoch from '2026-07-17 04:59:31'::timestamp) - extract(epoch from '2026-07-17 04:59: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'), 47804, 'SRID=4674;POINT (-40.349644 -2.806316)', '2026-07-17 04:59:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349844 -2.806315)'), GeomFromEWKT('SRID=4674;POINT (-40.349644 -2.806316)'))) / (select extract(epoch from '2026-07-17 04:59:40'::timestamp) - extract(epoch from '2026-07-17 04:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349844 -2.806315)'), GeomFromEWKT('SRID=4674;POINT (-40.349644 -2.806316)'))) / (select extract(epoch from '2026-07-17 04:59:40'::timestamp) - extract(epoch from '2026-07-17 04:59:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.349422 -2.806294)', '2026-07-17 04:59:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349644 -2.806316)'), GeomFromEWKT('SRID=4674;POINT (-40.349422 -2.806294)'))) / (select extract(epoch from '2026-07-17 04:59:50'::timestamp) - extract(epoch from '2026-07-17 04:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349644 -2.806316)'), GeomFromEWKT('SRID=4674;POINT (-40.349422 -2.806294)'))) / (select extract(epoch from '2026-07-17 04:59:50'::timestamp) - extract(epoch from '2026-07-17 04:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.349254 -2.806264)', '2026-07-17 04:59:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349422 -2.806294)'), GeomFromEWKT('SRID=4674;POINT (-40.349254 -2.806264)'))) / (select extract(epoch from '2026-07-17 04:59:58'::timestamp) - extract(epoch from '2026-07-17 04:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349422 -2.806294)'), GeomFromEWKT('SRID=4674;POINT (-40.349254 -2.806264)'))) / (select extract(epoch from '2026-07-17 04:59:58'::timestamp) - extract(epoch from '2026-07-17 04: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'), 47804, 'SRID=4674;POINT (-40.349092 -2.806232)', '2026-07-17 05:00:06', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349254 -2.806264)'), GeomFromEWKT('SRID=4674;POINT (-40.349092 -2.806232)'))) / (select extract(epoch from '2026-07-17 05:00:06'::timestamp) - extract(epoch from '2026-07-17 04:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349254 -2.806264)'), GeomFromEWKT('SRID=4674;POINT (-40.349092 -2.806232)'))) / (select extract(epoch from '2026-07-17 05:00:06'::timestamp) - extract(epoch from '2026-07-17 04:59: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'), 47804, 'SRID=4674;POINT (-40.348848 -2.806217)', '2026-07-17 05:00:17', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349092 -2.806232)'), GeomFromEWKT('SRID=4674;POINT (-40.348848 -2.806217)'))) / (select extract(epoch from '2026-07-17 05:00:17'::timestamp) - extract(epoch from '2026-07-17 05:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349092 -2.806232)'), GeomFromEWKT('SRID=4674;POINT (-40.348848 -2.806217)'))) / (select extract(epoch from '2026-07-17 05:00:17'::timestamp) - extract(epoch from '2026-07-17 05:00:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.348658 -2.806204)', '2026-07-17 05:00:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348848 -2.806217)'), GeomFromEWKT('SRID=4674;POINT (-40.348658 -2.806204)'))) / (select extract(epoch from '2026-07-17 05:00:26'::timestamp) - extract(epoch from '2026-07-17 05:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348848 -2.806217)'), GeomFromEWKT('SRID=4674;POINT (-40.348658 -2.806204)'))) / (select extract(epoch from '2026-07-17 05:00:26'::timestamp) - extract(epoch from '2026-07-17 05:00: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'), 47804, 'SRID=4674;POINT (-40.34844 -2.806171)', '2026-07-17 05:00:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348658 -2.806204)'), GeomFromEWKT('SRID=4674;POINT (-40.34844 -2.806171)'))) / (select extract(epoch from '2026-07-17 05:00:36'::timestamp) - extract(epoch from '2026-07-17 05:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348658 -2.806204)'), GeomFromEWKT('SRID=4674;POINT (-40.34844 -2.806171)'))) / (select extract(epoch from '2026-07-17 05:00:36'::timestamp) - extract(epoch from '2026-07-17 05:00: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'), 47804, 'SRID=4674;POINT (-40.348271 -2.806147)', '2026-07-17 05:00:44', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34844 -2.806171)'), GeomFromEWKT('SRID=4674;POINT (-40.348271 -2.806147)'))) / (select extract(epoch from '2026-07-17 05:00:44'::timestamp) - extract(epoch from '2026-07-17 05:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34844 -2.806171)'), GeomFromEWKT('SRID=4674;POINT (-40.348271 -2.806147)'))) / (select extract(epoch from '2026-07-17 05:00:44'::timestamp) - extract(epoch from '2026-07-17 05:00: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'), 47804, 'SRID=4674;POINT (-40.348113 -2.8061)', '2026-07-17 05:00:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348271 -2.806147)'), GeomFromEWKT('SRID=4674;POINT (-40.348113 -2.8061)'))) / (select extract(epoch from '2026-07-17 05:00:52'::timestamp) - extract(epoch from '2026-07-17 05:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348271 -2.806147)'), GeomFromEWKT('SRID=4674;POINT (-40.348113 -2.8061)'))) / (select extract(epoch from '2026-07-17 05:00:52'::timestamp) - extract(epoch from '2026-07-17 05:00: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'), 47804, 'SRID=4674;POINT (-40.347924 -2.806049)', '2026-07-17 05:01:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348113 -2.8061)'), GeomFromEWKT('SRID=4674;POINT (-40.347924 -2.806049)'))) / (select extract(epoch from '2026-07-17 05:01:01'::timestamp) - extract(epoch from '2026-07-17 05:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348113 -2.8061)'), GeomFromEWKT('SRID=4674;POINT (-40.347924 -2.806049)'))) / (select extract(epoch from '2026-07-17 05:01:01'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.347751 -2.80604)', '2026-07-17 05:01:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347924 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.347751 -2.80604)'))) / (select extract(epoch from '2026-07-17 05:01:09'::timestamp) - extract(epoch from '2026-07-17 05:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347924 -2.806049)'), GeomFromEWKT('SRID=4674;POINT (-40.347751 -2.80604)'))) / (select extract(epoch from '2026-07-17 05:01:09'::timestamp) - extract(epoch from '2026-07-17 05:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.347557 -2.806012)', '2026-07-17 05:01:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347751 -2.80604)'), GeomFromEWKT('SRID=4674;POINT (-40.347557 -2.806012)'))) / (select extract(epoch from '2026-07-17 05:01:18'::timestamp) - extract(epoch from '2026-07-17 05:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347751 -2.80604)'), GeomFromEWKT('SRID=4674;POINT (-40.347557 -2.806012)'))) / (select extract(epoch from '2026-07-17 05:01:18'::timestamp) - extract(epoch from '2026-07-17 05:01: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'), 47804, 'SRID=4674;POINT (-40.347384 -2.805978)', '2026-07-17 05:01:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347557 -2.806012)'), GeomFromEWKT('SRID=4674;POINT (-40.347384 -2.805978)'))) / (select extract(epoch from '2026-07-17 05:01:26'::timestamp) - extract(epoch from '2026-07-17 05:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347557 -2.806012)'), GeomFromEWKT('SRID=4674;POINT (-40.347384 -2.805978)'))) / (select extract(epoch from '2026-07-17 05:01:26'::timestamp) - extract(epoch from '2026-07-17 05:01:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.34721 -2.805963)', '2026-07-17 05:01:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347384 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.34721 -2.805963)'))) / (select extract(epoch from '2026-07-17 05:01:34'::timestamp) - extract(epoch from '2026-07-17 05:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347384 -2.805978)'), GeomFromEWKT('SRID=4674;POINT (-40.34721 -2.805963)'))) / (select extract(epoch from '2026-07-17 05:01:34'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.34702 -2.805939)', '2026-07-17 05:01:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34721 -2.805963)'), GeomFromEWKT('SRID=4674;POINT (-40.34702 -2.805939)'))) / (select extract(epoch from '2026-07-17 05:01:43'::timestamp) - extract(epoch from '2026-07-17 05:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34721 -2.805963)'), GeomFromEWKT('SRID=4674;POINT (-40.34702 -2.805939)'))) / (select extract(epoch from '2026-07-17 05:01:43'::timestamp) - extract(epoch from '2026-07-17 05:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.346812 -2.805898)', '2026-07-17 05:01:53', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34702 -2.805939)'), GeomFromEWKT('SRID=4674;POINT (-40.346812 -2.805898)'))) / (select extract(epoch from '2026-07-17 05:01:53'::timestamp) - extract(epoch from '2026-07-17 05:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34702 -2.805939)'), GeomFromEWKT('SRID=4674;POINT (-40.346812 -2.805898)'))) / (select extract(epoch from '2026-07-17 05:01:53'::timestamp) - extract(epoch from '2026-07-17 05:01: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'), 47804, 'SRID=4674;POINT (-40.346654 -2.805866)', '2026-07-17 05:02:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346812 -2.805898)'), GeomFromEWKT('SRID=4674;POINT (-40.346654 -2.805866)'))) / (select extract(epoch from '2026-07-17 05:02:01'::timestamp) - extract(epoch from '2026-07-17 05:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346812 -2.805898)'), GeomFromEWKT('SRID=4674;POINT (-40.346654 -2.805866)'))) / (select extract(epoch from '2026-07-17 05:02:01'::timestamp) - extract(epoch from '2026-07-17 05:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.346445 -2.805823)', '2026-07-17 05:02:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346654 -2.805866)'), GeomFromEWKT('SRID=4674;POINT (-40.346445 -2.805823)'))) / (select extract(epoch from '2026-07-17 05:02:11'::timestamp) - extract(epoch from '2026-07-17 05:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346654 -2.805866)'), GeomFromEWKT('SRID=4674;POINT (-40.346445 -2.805823)'))) / (select extract(epoch from '2026-07-17 05:02:11'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.346266 -2.805764)', '2026-07-17 05:02:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346445 -2.805823)'), GeomFromEWKT('SRID=4674;POINT (-40.346266 -2.805764)'))) / (select extract(epoch from '2026-07-17 05:02:20'::timestamp) - extract(epoch from '2026-07-17 05:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346445 -2.805823)'), GeomFromEWKT('SRID=4674;POINT (-40.346266 -2.805764)'))) / (select extract(epoch from '2026-07-17 05:02:20'::timestamp) - extract(epoch from '2026-07-17 05:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.346089 -2.805689)', '2026-07-17 05:02:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346266 -2.805764)'), GeomFromEWKT('SRID=4674;POINT (-40.346089 -2.805689)'))) / (select extract(epoch from '2026-07-17 05:02:29'::timestamp) - extract(epoch from '2026-07-17 05:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346266 -2.805764)'), GeomFromEWKT('SRID=4674;POINT (-40.346089 -2.805689)'))) / (select extract(epoch from '2026-07-17 05:02:29'::timestamp) - extract(epoch from '2026-07-17 05:02: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'), 47804, 'SRID=4674;POINT (-40.345892 -2.805625)', '2026-07-17 05:02:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346089 -2.805689)'), GeomFromEWKT('SRID=4674;POINT (-40.345892 -2.805625)'))) / (select extract(epoch from '2026-07-17 05:02:39'::timestamp) - extract(epoch from '2026-07-17 05:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346089 -2.805689)'), GeomFromEWKT('SRID=4674;POINT (-40.345892 -2.805625)'))) / (select extract(epoch from '2026-07-17 05:02:39'::timestamp) - extract(epoch from '2026-07-17 05:02: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'), 47804, 'SRID=4674;POINT (-40.345728 -2.805572)', '2026-07-17 05:02:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345892 -2.805625)'), GeomFromEWKT('SRID=4674;POINT (-40.345728 -2.805572)'))) / (select extract(epoch from '2026-07-17 05:02:48'::timestamp) - extract(epoch from '2026-07-17 05:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345892 -2.805625)'), GeomFromEWKT('SRID=4674;POINT (-40.345728 -2.805572)'))) / (select extract(epoch from '2026-07-17 05:02:48'::timestamp) - extract(epoch from '2026-07-17 05:02: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'), 47804, 'SRID=4674;POINT (-40.345598 -2.805514)', '2026-07-17 05:02:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345728 -2.805572)'), GeomFromEWKT('SRID=4674;POINT (-40.345598 -2.805514)'))) / (select extract(epoch from '2026-07-17 05:02:55'::timestamp) - extract(epoch from '2026-07-17 05:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345728 -2.805572)'), GeomFromEWKT('SRID=4674;POINT (-40.345598 -2.805514)'))) / (select extract(epoch from '2026-07-17 05:02:55'::timestamp) - extract(epoch from '2026-07-17 05:02: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'), 47804, 'SRID=4674;POINT (-40.345446 -2.805442)', '2026-07-17 05:03:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345598 -2.805514)'), GeomFromEWKT('SRID=4674;POINT (-40.345446 -2.805442)'))) / (select extract(epoch from '2026-07-17 05:03:03'::timestamp) - extract(epoch from '2026-07-17 05:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345598 -2.805514)'), GeomFromEWKT('SRID=4674;POINT (-40.345446 -2.805442)'))) / (select extract(epoch from '2026-07-17 05:03:03'::timestamp) - extract(epoch from '2026-07-17 05:02: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'), 47804, 'SRID=4674;POINT (-40.345279 -2.805361)', '2026-07-17 05:03:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345446 -2.805442)'), GeomFromEWKT('SRID=4674;POINT (-40.345279 -2.805361)'))) / (select extract(epoch from '2026-07-17 05:03:11'::timestamp) - extract(epoch from '2026-07-17 05:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345446 -2.805442)'), GeomFromEWKT('SRID=4674;POINT (-40.345279 -2.805361)'))) / (select extract(epoch from '2026-07-17 05:03:11'::timestamp) - extract(epoch from '2026-07-17 05:03: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'), 47804, 'SRID=4674;POINT (-40.345132 -2.805272)', '2026-07-17 05:03:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345279 -2.805361)'), GeomFromEWKT('SRID=4674;POINT (-40.345132 -2.805272)'))) / (select extract(epoch from '2026-07-17 05:03:19'::timestamp) - extract(epoch from '2026-07-17 05:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345279 -2.805361)'), GeomFromEWKT('SRID=4674;POINT (-40.345132 -2.805272)'))) / (select extract(epoch from '2026-07-17 05:03:19'::timestamp) - extract(epoch from '2026-07-17 05:03: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'), 47804, 'SRID=4674;POINT (-40.344958 -2.805168)', '2026-07-17 05:03:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345132 -2.805272)'), GeomFromEWKT('SRID=4674;POINT (-40.344958 -2.805168)'))) / (select extract(epoch from '2026-07-17 05:03:29'::timestamp) - extract(epoch from '2026-07-17 05:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345132 -2.805272)'), GeomFromEWKT('SRID=4674;POINT (-40.344958 -2.805168)'))) / (select extract(epoch from '2026-07-17 05:03:29'::timestamp) - extract(epoch from '2026-07-17 05:03: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'), 47804, 'SRID=4674;POINT (-40.344761 -2.805072)', '2026-07-17 05:03:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344958 -2.805168)'), GeomFromEWKT('SRID=4674;POINT (-40.344761 -2.805072)'))) / (select extract(epoch from '2026-07-17 05:03:39'::timestamp) - extract(epoch from '2026-07-17 05:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344958 -2.805168)'), GeomFromEWKT('SRID=4674;POINT (-40.344761 -2.805072)'))) / (select extract(epoch from '2026-07-17 05:03:39'::timestamp) - extract(epoch from '2026-07-17 05:03: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'), 47804, 'SRID=4674;POINT (-40.344613 -2.804993)', '2026-07-17 05:03:47', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344761 -2.805072)'), GeomFromEWKT('SRID=4674;POINT (-40.344613 -2.804993)'))) / (select extract(epoch from '2026-07-17 05:03:47'::timestamp) - extract(epoch from '2026-07-17 05:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344761 -2.805072)'), GeomFromEWKT('SRID=4674;POINT (-40.344613 -2.804993)'))) / (select extract(epoch from '2026-07-17 05:03:47'::timestamp) - extract(epoch from '2026-07-17 05:03: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'), 47804, 'SRID=4674;POINT (-40.344465 -2.804905)', '2026-07-17 05:03:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344613 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.344465 -2.804905)'))) / (select extract(epoch from '2026-07-17 05:03:55'::timestamp) - extract(epoch from '2026-07-17 05:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344613 -2.804993)'), GeomFromEWKT('SRID=4674;POINT (-40.344465 -2.804905)'))) / (select extract(epoch from '2026-07-17 05:03:55'::timestamp) - extract(epoch from '2026-07-17 05:03: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'), 47804, 'SRID=4674;POINT (-40.344328 -2.804803)', '2026-07-17 05:04:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344465 -2.804905)'), GeomFromEWKT('SRID=4674;POINT (-40.344328 -2.804803)'))) / (select extract(epoch from '2026-07-17 05:04:03'::timestamp) - extract(epoch from '2026-07-17 05:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344465 -2.804905)'), GeomFromEWKT('SRID=4674;POINT (-40.344328 -2.804803)'))) / (select extract(epoch from '2026-07-17 05:04:03'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.344187 -2.804705)', '2026-07-17 05:04:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344328 -2.804803)'), GeomFromEWKT('SRID=4674;POINT (-40.344187 -2.804705)'))) / (select extract(epoch from '2026-07-17 05:04:11'::timestamp) - extract(epoch from '2026-07-17 05:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344328 -2.804803)'), GeomFromEWKT('SRID=4674;POINT (-40.344187 -2.804705)'))) / (select extract(epoch from '2026-07-17 05:04:11'::timestamp) - extract(epoch from '2026-07-17 05:04: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'), 47804, 'SRID=4674;POINT (-40.344061 -2.804606)', '2026-07-17 05:04:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344187 -2.804705)'), GeomFromEWKT('SRID=4674;POINT (-40.344061 -2.804606)'))) / (select extract(epoch from '2026-07-17 05:04:19'::timestamp) - extract(epoch from '2026-07-17 05:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344187 -2.804705)'), GeomFromEWKT('SRID=4674;POINT (-40.344061 -2.804606)'))) / (select extract(epoch from '2026-07-17 05:04:19'::timestamp) - extract(epoch from '2026-07-17 05:04:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.343924 -2.804506)', '2026-07-17 05:04:27', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344061 -2.804606)'), GeomFromEWKT('SRID=4674;POINT (-40.343924 -2.804506)'))) / (select extract(epoch from '2026-07-17 05:04:27'::timestamp) - extract(epoch from '2026-07-17 05:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344061 -2.804606)'), GeomFromEWKT('SRID=4674;POINT (-40.343924 -2.804506)'))) / (select extract(epoch from '2026-07-17 05:04:27'::timestamp) - extract(epoch from '2026-07-17 05:04: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'), 47804, 'SRID=4674;POINT (-40.343729 -2.804379)', '2026-07-17 05:04:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343924 -2.804506)'), GeomFromEWKT('SRID=4674;POINT (-40.343729 -2.804379)'))) / (select extract(epoch from '2026-07-17 05:04:38'::timestamp) - extract(epoch from '2026-07-17 05:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343924 -2.804506)'), GeomFromEWKT('SRID=4674;POINT (-40.343729 -2.804379)'))) / (select extract(epoch from '2026-07-17 05:04:38'::timestamp) - extract(epoch from '2026-07-17 05:04: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'), 47804, 'SRID=4674;POINT (-40.343579 -2.804283)', '2026-07-17 05:04:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343729 -2.804379)'), GeomFromEWKT('SRID=4674;POINT (-40.343579 -2.804283)'))) / (select extract(epoch from '2026-07-17 05:04:46'::timestamp) - extract(epoch from '2026-07-17 05:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343729 -2.804379)'), GeomFromEWKT('SRID=4674;POINT (-40.343579 -2.804283)'))) / (select extract(epoch from '2026-07-17 05:04:46'::timestamp) - extract(epoch from '2026-07-17 05:04: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'), 47804, 'SRID=4674;POINT (-40.343393 -2.80416)', '2026-07-17 05:04:56', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343579 -2.804283)'), GeomFromEWKT('SRID=4674;POINT (-40.343393 -2.80416)'))) / (select extract(epoch from '2026-07-17 05:04:56'::timestamp) - extract(epoch from '2026-07-17 05:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343579 -2.804283)'), GeomFromEWKT('SRID=4674;POINT (-40.343393 -2.80416)'))) / (select extract(epoch from '2026-07-17 05:04:56'::timestamp) - extract(epoch from '2026-07-17 05:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.343262 -2.804052)', '2026-07-17 05:05:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343393 -2.80416)'), GeomFromEWKT('SRID=4674;POINT (-40.343262 -2.804052)'))) / (select extract(epoch from '2026-07-17 05:05:04'::timestamp) - extract(epoch from '2026-07-17 05:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343393 -2.80416)'), GeomFromEWKT('SRID=4674;POINT (-40.343262 -2.804052)'))) / (select extract(epoch from '2026-07-17 05:05:04'::timestamp) - extract(epoch from '2026-07-17 05:04: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'), 47804, 'SRID=4674;POINT (-40.343112 -2.803926)', '2026-07-17 05:05:13', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343262 -2.804052)'), GeomFromEWKT('SRID=4674;POINT (-40.343112 -2.803926)'))) / (select extract(epoch from '2026-07-17 05:05:13'::timestamp) - extract(epoch from '2026-07-17 05:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343262 -2.804052)'), GeomFromEWKT('SRID=4674;POINT (-40.343112 -2.803926)'))) / (select extract(epoch from '2026-07-17 05:05:13'::timestamp) - extract(epoch from '2026-07-17 05:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.34299 -2.803807)', '2026-07-17 05:05:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343112 -2.803926)'), GeomFromEWKT('SRID=4674;POINT (-40.34299 -2.803807)'))) / (select extract(epoch from '2026-07-17 05:05:21'::timestamp) - extract(epoch from '2026-07-17 05:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343112 -2.803926)'), GeomFromEWKT('SRID=4674;POINT (-40.34299 -2.803807)'))) / (select extract(epoch from '2026-07-17 05:05:21'::timestamp) - extract(epoch from '2026-07-17 05:05: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'), 47804, 'SRID=4674;POINT (-40.342783 -2.803634)', '2026-07-17 05:05:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34299 -2.803807)'), GeomFromEWKT('SRID=4674;POINT (-40.342783 -2.803634)'))) / (select extract(epoch from '2026-07-17 05:05:34'::timestamp) - extract(epoch from '2026-07-17 05:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34299 -2.803807)'), GeomFromEWKT('SRID=4674;POINT (-40.342783 -2.803634)'))) / (select extract(epoch from '2026-07-17 05:05:34'::timestamp) - extract(epoch from '2026-07-17 05:05: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'), 47804, 'SRID=4674;POINT (-40.342664 -2.803496)', '2026-07-17 05:05:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342783 -2.803634)'), GeomFromEWKT('SRID=4674;POINT (-40.342664 -2.803496)'))) / (select extract(epoch from '2026-07-17 05:05:43'::timestamp) - extract(epoch from '2026-07-17 05:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342783 -2.803634)'), GeomFromEWKT('SRID=4674;POINT (-40.342664 -2.803496)'))) / (select extract(epoch from '2026-07-17 05:05:43'::timestamp) - extract(epoch from '2026-07-17 05:05: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'), 47804, 'SRID=4674;POINT (-40.342562 -2.803366)', '2026-07-17 05:05:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342664 -2.803496)'), GeomFromEWKT('SRID=4674;POINT (-40.342562 -2.803366)'))) / (select extract(epoch from '2026-07-17 05:05:51'::timestamp) - extract(epoch from '2026-07-17 05:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342664 -2.803496)'), GeomFromEWKT('SRID=4674;POINT (-40.342562 -2.803366)'))) / (select extract(epoch from '2026-07-17 05:05:51'::timestamp) - extract(epoch from '2026-07-17 05:05: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'), 47804, 'SRID=4674;POINT (-40.342455 -2.803262)', '2026-07-17 05:05:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342562 -2.803366)'), GeomFromEWKT('SRID=4674;POINT (-40.342455 -2.803262)'))) / (select extract(epoch from '2026-07-17 05:05:58'::timestamp) - extract(epoch from '2026-07-17 05:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342562 -2.803366)'), GeomFromEWKT('SRID=4674;POINT (-40.342455 -2.803262)'))) / (select extract(epoch from '2026-07-17 05:05:58'::timestamp) - extract(epoch from '2026-07-17 05:05: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'), 47804, 'SRID=4674;POINT (-40.342312 -2.803185)', '2026-07-17 05:06:06', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342455 -2.803262)'), GeomFromEWKT('SRID=4674;POINT (-40.342312 -2.803185)'))) / (select extract(epoch from '2026-07-17 05:06:06'::timestamp) - extract(epoch from '2026-07-17 05:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342455 -2.803262)'), GeomFromEWKT('SRID=4674;POINT (-40.342312 -2.803185)'))) / (select extract(epoch from '2026-07-17 05:06:06'::timestamp) - extract(epoch from '2026-07-17 05:05: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'), 47804, 'SRID=4674;POINT (-40.342179 -2.803117)', '2026-07-17 05:06:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342312 -2.803185)'), GeomFromEWKT('SRID=4674;POINT (-40.342179 -2.803117)'))) / (select extract(epoch from '2026-07-17 05:06:13'::timestamp) - extract(epoch from '2026-07-17 05:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342312 -2.803185)'), GeomFromEWKT('SRID=4674;POINT (-40.342179 -2.803117)'))) / (select extract(epoch from '2026-07-17 05:06:13'::timestamp) - extract(epoch from '2026-07-17 05:06: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'), 47804, 'SRID=4674;POINT (-40.342051 -2.803012)', '2026-07-17 05:06:21', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342179 -2.803117)'), GeomFromEWKT('SRID=4674;POINT (-40.342051 -2.803012)'))) / (select extract(epoch from '2026-07-17 05:06:21'::timestamp) - extract(epoch from '2026-07-17 05:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342179 -2.803117)'), GeomFromEWKT('SRID=4674;POINT (-40.342051 -2.803012)'))) / (select extract(epoch from '2026-07-17 05:06:21'::timestamp) - extract(epoch from '2026-07-17 05:06: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'), 47804, 'SRID=4674;POINT (-40.341918 -2.802886)', '2026-07-17 05:06:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342051 -2.803012)'), GeomFromEWKT('SRID=4674;POINT (-40.341918 -2.802886)'))) / (select extract(epoch from '2026-07-17 05:06:30'::timestamp) - extract(epoch from '2026-07-17 05:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342051 -2.803012)'), GeomFromEWKT('SRID=4674;POINT (-40.341918 -2.802886)'))) / (select extract(epoch from '2026-07-17 05:06:30'::timestamp) - extract(epoch from '2026-07-17 05:06: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'), 47804, 'SRID=4674;POINT (-40.341789 -2.802718)', '2026-07-17 05:06:40', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341918 -2.802886)'), GeomFromEWKT('SRID=4674;POINT (-40.341789 -2.802718)'))) / (select extract(epoch from '2026-07-17 05:06:40'::timestamp) - extract(epoch from '2026-07-17 05:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341918 -2.802886)'), GeomFromEWKT('SRID=4674;POINT (-40.341789 -2.802718)'))) / (select extract(epoch from '2026-07-17 05:06:40'::timestamp) - extract(epoch from '2026-07-17 05:06: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'), 47804, 'SRID=4674;POINT (-40.341741 -2.802578)', '2026-07-17 05:06:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341789 -2.802718)'), GeomFromEWKT('SRID=4674;POINT (-40.341741 -2.802578)'))) / (select extract(epoch from '2026-07-17 05:06:47'::timestamp) - extract(epoch from '2026-07-17 05:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341789 -2.802718)'), GeomFromEWKT('SRID=4674;POINT (-40.341741 -2.802578)'))) / (select extract(epoch from '2026-07-17 05:06:47'::timestamp) - extract(epoch from '2026-07-17 05:06: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'), 47804, 'SRID=4674;POINT (-40.341661 -2.802412)', '2026-07-17 05:06:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341741 -2.802578)'), GeomFromEWKT('SRID=4674;POINT (-40.341661 -2.802412)'))) / (select extract(epoch from '2026-07-17 05:06:56'::timestamp) - extract(epoch from '2026-07-17 05:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341741 -2.802578)'), GeomFromEWKT('SRID=4674;POINT (-40.341661 -2.802412)'))) / (select extract(epoch from '2026-07-17 05:06:56'::timestamp) - extract(epoch from '2026-07-17 05:06: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'), 47804, 'SRID=4674;POINT (-40.341579 -2.802291)', '2026-07-17 05:07:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341661 -2.802412)'), GeomFromEWKT('SRID=4674;POINT (-40.341579 -2.802291)'))) / (select extract(epoch from '2026-07-17 05:07:04'::timestamp) - extract(epoch from '2026-07-17 05:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341661 -2.802412)'), GeomFromEWKT('SRID=4674;POINT (-40.341579 -2.802291)'))) / (select extract(epoch from '2026-07-17 05:07:04'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.341479 -2.802152)', '2026-07-17 05:07:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341579 -2.802291)'), GeomFromEWKT('SRID=4674;POINT (-40.341479 -2.802152)'))) / (select extract(epoch from '2026-07-17 05:07:13'::timestamp) - extract(epoch from '2026-07-17 05:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341579 -2.802291)'), GeomFromEWKT('SRID=4674;POINT (-40.341479 -2.802152)'))) / (select extract(epoch from '2026-07-17 05:07:13'::timestamp) - extract(epoch from '2026-07-17 05:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.341345 -2.801992)', '2026-07-17 05:07:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341479 -2.802152)'), GeomFromEWKT('SRID=4674;POINT (-40.341345 -2.801992)'))) / (select extract(epoch from '2026-07-17 05:07:23'::timestamp) - extract(epoch from '2026-07-17 05:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341479 -2.802152)'), GeomFromEWKT('SRID=4674;POINT (-40.341345 -2.801992)'))) / (select extract(epoch from '2026-07-17 05:07:23'::timestamp) - extract(epoch from '2026-07-17 05:07: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'), 47804, 'SRID=4674;POINT (-40.341244 -2.801855)', '2026-07-17 05:07:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341345 -2.801992)'), GeomFromEWKT('SRID=4674;POINT (-40.341244 -2.801855)'))) / (select extract(epoch from '2026-07-17 05:07:31'::timestamp) - extract(epoch from '2026-07-17 05:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341345 -2.801992)'), GeomFromEWKT('SRID=4674;POINT (-40.341244 -2.801855)'))) / (select extract(epoch from '2026-07-17 05:07:31'::timestamp) - extract(epoch from '2026-07-17 05:07: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'), 47804, 'SRID=4674;POINT (-40.341155 -2.80171)', '2026-07-17 05:07:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341244 -2.801855)'), GeomFromEWKT('SRID=4674;POINT (-40.341155 -2.80171)'))) / (select extract(epoch from '2026-07-17 05:07:39'::timestamp) - extract(epoch from '2026-07-17 05:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341244 -2.801855)'), GeomFromEWKT('SRID=4674;POINT (-40.341155 -2.80171)'))) / (select extract(epoch from '2026-07-17 05:07:39'::timestamp) - extract(epoch from '2026-07-17 05:07: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'), 47804, 'SRID=4674;POINT (-40.341043 -2.80151)', '2026-07-17 05:07:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341155 -2.80171)'), GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.80151)'))) / (select extract(epoch from '2026-07-17 05:07:50'::timestamp) - extract(epoch from '2026-07-17 05:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341155 -2.80171)'), GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.80151)'))) / (select extract(epoch from '2026-07-17 05:07:50'::timestamp) - extract(epoch from '2026-07-17 05:07: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'), 47804, 'SRID=4674;POINT (-40.34094 -2.801368)', '2026-07-17 05:07:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.80151)'), GeomFromEWKT('SRID=4674;POINT (-40.34094 -2.801368)'))) / (select extract(epoch from '2026-07-17 05:07:58'::timestamp) - extract(epoch from '2026-07-17 05:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341043 -2.80151)'), GeomFromEWKT('SRID=4674;POINT (-40.34094 -2.801368)'))) / (select extract(epoch from '2026-07-17 05:07:58'::timestamp) - extract(epoch from '2026-07-17 05:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.340844 -2.801202)', '2026-07-17 05:08:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34094 -2.801368)'), GeomFromEWKT('SRID=4674;POINT (-40.340844 -2.801202)'))) / (select extract(epoch from '2026-07-17 05:08:07'::timestamp) - extract(epoch from '2026-07-17 05:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34094 -2.801368)'), GeomFromEWKT('SRID=4674;POINT (-40.340844 -2.801202)'))) / (select extract(epoch from '2026-07-17 05:08:07'::timestamp) - extract(epoch from '2026-07-17 05:07: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'), 47804, 'SRID=4674;POINT (-40.340766 -2.801032)', '2026-07-17 05:08:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340844 -2.801202)'), GeomFromEWKT('SRID=4674;POINT (-40.340766 -2.801032)'))) / (select extract(epoch from '2026-07-17 05:08:16'::timestamp) - extract(epoch from '2026-07-17 05:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340844 -2.801202)'), GeomFromEWKT('SRID=4674;POINT (-40.340766 -2.801032)'))) / (select extract(epoch from '2026-07-17 05:08:16'::timestamp) - extract(epoch from '2026-07-17 05:08: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'), 47804, 'SRID=4674;POINT (-40.340678 -2.800879)', '2026-07-17 05:08:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340766 -2.801032)'), GeomFromEWKT('SRID=4674;POINT (-40.340678 -2.800879)'))) / (select extract(epoch from '2026-07-17 05:08:24'::timestamp) - extract(epoch from '2026-07-17 05:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340766 -2.801032)'), GeomFromEWKT('SRID=4674;POINT (-40.340678 -2.800879)'))) / (select extract(epoch from '2026-07-17 05:08:24'::timestamp) - extract(epoch from '2026-07-17 05:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.340581 -2.800728)', '2026-07-17 05:08:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340678 -2.800879)'), GeomFromEWKT('SRID=4674;POINT (-40.340581 -2.800728)'))) / (select extract(epoch from '2026-07-17 05:08:32'::timestamp) - extract(epoch from '2026-07-17 05:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340678 -2.800879)'), GeomFromEWKT('SRID=4674;POINT (-40.340581 -2.800728)'))) / (select extract(epoch from '2026-07-17 05:08:32'::timestamp) - extract(epoch from '2026-07-17 05:08: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'), 47804, 'SRID=4674;POINT (-40.340489 -2.800559)', '2026-07-17 05:08:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340581 -2.800728)'), GeomFromEWKT('SRID=4674;POINT (-40.340489 -2.800559)'))) / (select extract(epoch from '2026-07-17 05:08:41'::timestamp) - extract(epoch from '2026-07-17 05:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340581 -2.800728)'), GeomFromEWKT('SRID=4674;POINT (-40.340489 -2.800559)'))) / (select extract(epoch from '2026-07-17 05:08:41'::timestamp) - extract(epoch from '2026-07-17 05:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.340364 -2.800301)', '2026-07-17 05:08:54', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340489 -2.800559)'), GeomFromEWKT('SRID=4674;POINT (-40.340364 -2.800301)'))) / (select extract(epoch from '2026-07-17 05:08:54'::timestamp) - extract(epoch from '2026-07-17 05:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340489 -2.800559)'), GeomFromEWKT('SRID=4674;POINT (-40.340364 -2.800301)'))) / (select extract(epoch from '2026-07-17 05:08:54'::timestamp) - extract(epoch from '2026-07-17 05:08: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'), 47804, 'SRID=4674;POINT (-40.340287 -2.800097)', '2026-07-17 05:09:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340364 -2.800301)'), GeomFromEWKT('SRID=4674;POINT (-40.340287 -2.800097)'))) / (select extract(epoch from '2026-07-17 05:09:04'::timestamp) - extract(epoch from '2026-07-17 05:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340364 -2.800301)'), GeomFromEWKT('SRID=4674;POINT (-40.340287 -2.800097)'))) / (select extract(epoch from '2026-07-17 05:09:04'::timestamp) - extract(epoch from '2026-07-17 05:08: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'), 47804, 'SRID=4674;POINT (-40.340227 -2.799894)', '2026-07-17 05:09:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340287 -2.800097)'), GeomFromEWKT('SRID=4674;POINT (-40.340227 -2.799894)'))) / (select extract(epoch from '2026-07-17 05:09:14'::timestamp) - extract(epoch from '2026-07-17 05:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340287 -2.800097)'), GeomFromEWKT('SRID=4674;POINT (-40.340227 -2.799894)'))) / (select extract(epoch from '2026-07-17 05:09:14'::timestamp) - extract(epoch from '2026-07-17 05:09: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'), 47804, 'SRID=4674;POINT (-40.340199 -2.79973)', '2026-07-17 05:09:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340227 -2.799894)'), GeomFromEWKT('SRID=4674;POINT (-40.340199 -2.79973)'))) / (select extract(epoch from '2026-07-17 05:09:22'::timestamp) - extract(epoch from '2026-07-17 05:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340227 -2.799894)'), GeomFromEWKT('SRID=4674;POINT (-40.340199 -2.79973)'))) / (select extract(epoch from '2026-07-17 05:09:22'::timestamp) - extract(epoch from '2026-07-17 05:09: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'), 47804, 'SRID=4674;POINT (-40.340147 -2.799552)', '2026-07-17 05:09:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340199 -2.79973)'), GeomFromEWKT('SRID=4674;POINT (-40.340147 -2.799552)'))) / (select extract(epoch from '2026-07-17 05:09:31'::timestamp) - extract(epoch from '2026-07-17 05:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340199 -2.79973)'), GeomFromEWKT('SRID=4674;POINT (-40.340147 -2.799552)'))) / (select extract(epoch from '2026-07-17 05:09:31'::timestamp) - extract(epoch from '2026-07-17 05:09: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'), 47804, 'SRID=4674;POINT (-40.340112 -2.799438)', '2026-07-17 05:09:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340147 -2.799552)'), GeomFromEWKT('SRID=4674;POINT (-40.340112 -2.799438)'))) / (select extract(epoch from '2026-07-17 05:09:38'::timestamp) - extract(epoch from '2026-07-17 05:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340147 -2.799552)'), GeomFromEWKT('SRID=4674;POINT (-40.340112 -2.799438)'))) / (select extract(epoch from '2026-07-17 05:09:38'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.340033 -2.799288)', '2026-07-17 05:09:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340112 -2.799438)'), GeomFromEWKT('SRID=4674;POINT (-40.340033 -2.799288)'))) / (select extract(epoch from '2026-07-17 05:09:46'::timestamp) - extract(epoch from '2026-07-17 05:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340112 -2.799438)'), GeomFromEWKT('SRID=4674;POINT (-40.340033 -2.799288)'))) / (select extract(epoch from '2026-07-17 05:09:46'::timestamp) - extract(epoch from '2026-07-17 05:09: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'), 47804, 'SRID=4674;POINT (-40.339961 -2.799106)', '2026-07-17 05:09:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340033 -2.799288)'), GeomFromEWKT('SRID=4674;POINT (-40.339961 -2.799106)'))) / (select extract(epoch from '2026-07-17 05:09:55'::timestamp) - extract(epoch from '2026-07-17 05:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340033 -2.799288)'), GeomFromEWKT('SRID=4674;POINT (-40.339961 -2.799106)'))) / (select extract(epoch from '2026-07-17 05:09:55'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.339903 -2.79892)', '2026-07-17 05:10:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339961 -2.799106)'), GeomFromEWKT('SRID=4674;POINT (-40.339903 -2.79892)'))) / (select extract(epoch from '2026-07-17 05:10:04'::timestamp) - extract(epoch from '2026-07-17 05:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339961 -2.799106)'), GeomFromEWKT('SRID=4674;POINT (-40.339903 -2.79892)'))) / (select extract(epoch from '2026-07-17 05:10:04'::timestamp) - extract(epoch from '2026-07-17 05:09: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'), 47804, 'SRID=4674;POINT (-40.33984 -2.798771)', '2026-07-17 05:10:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339903 -2.79892)'), GeomFromEWKT('SRID=4674;POINT (-40.33984 -2.798771)'))) / (select extract(epoch from '2026-07-17 05:10:12'::timestamp) - extract(epoch from '2026-07-17 05:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339903 -2.79892)'), GeomFromEWKT('SRID=4674;POINT (-40.33984 -2.798771)'))) / (select extract(epoch from '2026-07-17 05:10:12'::timestamp) - extract(epoch from '2026-07-17 05:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.33975 -2.798599)', '2026-07-17 05:10:21', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33984 -2.798771)'), GeomFromEWKT('SRID=4674;POINT (-40.33975 -2.798599)'))) / (select extract(epoch from '2026-07-17 05:10:21'::timestamp) - extract(epoch from '2026-07-17 05:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33984 -2.798771)'), GeomFromEWKT('SRID=4674;POINT (-40.33975 -2.798599)'))) / (select extract(epoch from '2026-07-17 05:10:21'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.339685 -2.798422)', '2026-07-17 05:10:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33975 -2.798599)'), GeomFromEWKT('SRID=4674;POINT (-40.339685 -2.798422)'))) / (select extract(epoch from '2026-07-17 05:10:30'::timestamp) - extract(epoch from '2026-07-17 05:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33975 -2.798599)'), GeomFromEWKT('SRID=4674;POINT (-40.339685 -2.798422)'))) / (select extract(epoch from '2026-07-17 05:10:30'::timestamp) - extract(epoch from '2026-07-17 05:10:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.339643 -2.798247)', '2026-07-17 05:10:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339685 -2.798422)'), GeomFromEWKT('SRID=4674;POINT (-40.339643 -2.798247)'))) / (select extract(epoch from '2026-07-17 05:10:38'::timestamp) - extract(epoch from '2026-07-17 05:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339685 -2.798422)'), GeomFromEWKT('SRID=4674;POINT (-40.339643 -2.798247)'))) / (select extract(epoch from '2026-07-17 05:10:38'::timestamp) - extract(epoch from '2026-07-17 05:10: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'), 47804, 'SRID=4674;POINT (-40.339592 -2.798073)', '2026-07-17 05:10:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339643 -2.798247)'), GeomFromEWKT('SRID=4674;POINT (-40.339592 -2.798073)'))) / (select extract(epoch from '2026-07-17 05:10:46'::timestamp) - extract(epoch from '2026-07-17 05:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339643 -2.798247)'), GeomFromEWKT('SRID=4674;POINT (-40.339592 -2.798073)'))) / (select extract(epoch from '2026-07-17 05:10:46'::timestamp) - extract(epoch from '2026-07-17 05:10: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'), 47804, 'SRID=4674;POINT (-40.339517 -2.797868)', '2026-07-17 05:10:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339592 -2.798073)'), GeomFromEWKT('SRID=4674;POINT (-40.339517 -2.797868)'))) / (select extract(epoch from '2026-07-17 05:10:56'::timestamp) - extract(epoch from '2026-07-17 05:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339592 -2.798073)'), GeomFromEWKT('SRID=4674;POINT (-40.339517 -2.797868)'))) / (select extract(epoch from '2026-07-17 05:10:56'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.339422 -2.797684)', '2026-07-17 05:11:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339517 -2.797868)'), GeomFromEWKT('SRID=4674;POINT (-40.339422 -2.797684)'))) / (select extract(epoch from '2026-07-17 05:11:06'::timestamp) - extract(epoch from '2026-07-17 05:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339517 -2.797868)'), GeomFromEWKT('SRID=4674;POINT (-40.339422 -2.797684)'))) / (select extract(epoch from '2026-07-17 05:11:06'::timestamp) - extract(epoch from '2026-07-17 05:10: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'), 47804, 'SRID=4674;POINT (-40.339354 -2.797546)', '2026-07-17 05:11:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339422 -2.797684)'), GeomFromEWKT('SRID=4674;POINT (-40.339354 -2.797546)'))) / (select extract(epoch from '2026-07-17 05:11:13'::timestamp) - extract(epoch from '2026-07-17 05:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339422 -2.797684)'), GeomFromEWKT('SRID=4674;POINT (-40.339354 -2.797546)'))) / (select extract(epoch from '2026-07-17 05:11:13'::timestamp) - extract(epoch from '2026-07-17 05:11:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.339269 -2.797371)', '2026-07-17 05:11:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339354 -2.797546)'), GeomFromEWKT('SRID=4674;POINT (-40.339269 -2.797371)'))) / (select extract(epoch from '2026-07-17 05:11:22'::timestamp) - extract(epoch from '2026-07-17 05:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339354 -2.797546)'), GeomFromEWKT('SRID=4674;POINT (-40.339269 -2.797371)'))) / (select extract(epoch from '2026-07-17 05:11:22'::timestamp) - extract(epoch from '2026-07-17 05:11: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'), 47804, 'SRID=4674;POINT (-40.339199 -2.797239)', '2026-07-17 05:11:29', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339269 -2.797371)'), GeomFromEWKT('SRID=4674;POINT (-40.339199 -2.797239)'))) / (select extract(epoch from '2026-07-17 05:11:29'::timestamp) - extract(epoch from '2026-07-17 05:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339269 -2.797371)'), GeomFromEWKT('SRID=4674;POINT (-40.339199 -2.797239)'))) / (select extract(epoch from '2026-07-17 05:11:29'::timestamp) - extract(epoch from '2026-07-17 05:11: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'), 47804, 'SRID=4674;POINT (-40.339139 -2.79711)', '2026-07-17 05:11:36', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339199 -2.797239)'), GeomFromEWKT('SRID=4674;POINT (-40.339139 -2.79711)'))) / (select extract(epoch from '2026-07-17 05:11:36'::timestamp) - extract(epoch from '2026-07-17 05:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339199 -2.797239)'), GeomFromEWKT('SRID=4674;POINT (-40.339139 -2.79711)'))) / (select extract(epoch from '2026-07-17 05:11:36'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.339066 -2.796982)', '2026-07-17 05:11:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339139 -2.79711)'), GeomFromEWKT('SRID=4674;POINT (-40.339066 -2.796982)'))) / (select extract(epoch from '2026-07-17 05:11:43'::timestamp) - extract(epoch from '2026-07-17 05:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339139 -2.79711)'), GeomFromEWKT('SRID=4674;POINT (-40.339066 -2.796982)'))) / (select extract(epoch from '2026-07-17 05:11:43'::timestamp) - extract(epoch from '2026-07-17 05:11: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'), 47804, 'SRID=4674;POINT (-40.338965 -2.7968)', '2026-07-17 05:11:53', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339066 -2.796982)'), GeomFromEWKT('SRID=4674;POINT (-40.338965 -2.7968)'))) / (select extract(epoch from '2026-07-17 05:11:53'::timestamp) - extract(epoch from '2026-07-17 05:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339066 -2.796982)'), GeomFromEWKT('SRID=4674;POINT (-40.338965 -2.7968)'))) / (select extract(epoch from '2026-07-17 05:11:53'::timestamp) - extract(epoch from '2026-07-17 05:11: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'), 47804, 'SRID=4674;POINT (-40.338889 -2.796674)', '2026-07-17 05:12:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338965 -2.7968)'), GeomFromEWKT('SRID=4674;POINT (-40.338889 -2.796674)'))) / (select extract(epoch from '2026-07-17 05:12:00'::timestamp) - extract(epoch from '2026-07-17 05:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338965 -2.7968)'), GeomFromEWKT('SRID=4674;POINT (-40.338889 -2.796674)'))) / (select extract(epoch from '2026-07-17 05:12:00'::timestamp) - extract(epoch from '2026-07-17 05:11: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'), 47804, 'SRID=4674;POINT (-40.338811 -2.796515)', '2026-07-17 05:12:08', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338889 -2.796674)'), GeomFromEWKT('SRID=4674;POINT (-40.338811 -2.796515)'))) / (select extract(epoch from '2026-07-17 05:12:08'::timestamp) - extract(epoch from '2026-07-17 05:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338889 -2.796674)'), GeomFromEWKT('SRID=4674;POINT (-40.338811 -2.796515)'))) / (select extract(epoch from '2026-07-17 05:12:08'::timestamp) - extract(epoch from '2026-07-17 05:12: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'), 47804, 'SRID=4674;POINT (-40.338751 -2.796378)', '2026-07-17 05:12:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338811 -2.796515)'), GeomFromEWKT('SRID=4674;POINT (-40.338751 -2.796378)'))) / (select extract(epoch from '2026-07-17 05:12:15'::timestamp) - extract(epoch from '2026-07-17 05:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338811 -2.796515)'), GeomFromEWKT('SRID=4674;POINT (-40.338751 -2.796378)'))) / (select extract(epoch from '2026-07-17 05:12:15'::timestamp) - extract(epoch from '2026-07-17 05:12: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'), 47804, 'SRID=4674;POINT (-40.338695 -2.796255)', '2026-07-17 05:12:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338751 -2.796378)'), GeomFromEWKT('SRID=4674;POINT (-40.338695 -2.796255)'))) / (select extract(epoch from '2026-07-17 05:12:22'::timestamp) - extract(epoch from '2026-07-17 05:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338751 -2.796378)'), GeomFromEWKT('SRID=4674;POINT (-40.338695 -2.796255)'))) / (select extract(epoch from '2026-07-17 05:12:22'::timestamp) - extract(epoch from '2026-07-17 05:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.338612 -2.796086)', '2026-07-17 05:12:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338695 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.338612 -2.796086)'))) / (select extract(epoch from '2026-07-17 05:12:31'::timestamp) - extract(epoch from '2026-07-17 05:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338695 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.338612 -2.796086)'))) / (select extract(epoch from '2026-07-17 05:12:31'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.33853 -2.795928)', '2026-07-17 05:12:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338612 -2.796086)'), GeomFromEWKT('SRID=4674;POINT (-40.33853 -2.795928)'))) / (select extract(epoch from '2026-07-17 05:12:40'::timestamp) - extract(epoch from '2026-07-17 05:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338612 -2.796086)'), GeomFromEWKT('SRID=4674;POINT (-40.33853 -2.795928)'))) / (select extract(epoch from '2026-07-17 05:12:40'::timestamp) - extract(epoch from '2026-07-17 05:12: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'), 47804, 'SRID=4674;POINT (-40.338441 -2.79575)', '2026-07-17 05:12:49', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33853 -2.795928)'), GeomFromEWKT('SRID=4674;POINT (-40.338441 -2.79575)'))) / (select extract(epoch from '2026-07-17 05:12:49'::timestamp) - extract(epoch from '2026-07-17 05:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33853 -2.795928)'), GeomFromEWKT('SRID=4674;POINT (-40.338441 -2.79575)'))) / (select extract(epoch from '2026-07-17 05:12:49'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.338353 -2.795586)', '2026-07-17 05:12:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338441 -2.79575)'), GeomFromEWKT('SRID=4674;POINT (-40.338353 -2.795586)'))) / (select extract(epoch from '2026-07-17 05:12:58'::timestamp) - extract(epoch from '2026-07-17 05:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338441 -2.79575)'), GeomFromEWKT('SRID=4674;POINT (-40.338353 -2.795586)'))) / (select extract(epoch from '2026-07-17 05:12:58'::timestamp) - extract(epoch from '2026-07-17 05:12: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'), 47804, 'SRID=4674;POINT (-40.338284 -2.795439)', '2026-07-17 05:13:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338353 -2.795586)'), GeomFromEWKT('SRID=4674;POINT (-40.338284 -2.795439)'))) / (select extract(epoch from '2026-07-17 05:13:06'::timestamp) - extract(epoch from '2026-07-17 05:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338353 -2.795586)'), GeomFromEWKT('SRID=4674;POINT (-40.338284 -2.795439)'))) / (select extract(epoch from '2026-07-17 05:13:06'::timestamp) - extract(epoch from '2026-07-17 05:12: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'), 47804, 'SRID=4674;POINT (-40.338244 -2.795255)', '2026-07-17 05:13:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338284 -2.795439)'), GeomFromEWKT('SRID=4674;POINT (-40.338244 -2.795255)'))) / (select extract(epoch from '2026-07-17 05:13:15'::timestamp) - extract(epoch from '2026-07-17 05:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338284 -2.795439)'), GeomFromEWKT('SRID=4674;POINT (-40.338244 -2.795255)'))) / (select extract(epoch from '2026-07-17 05:13:15'::timestamp) - extract(epoch from '2026-07-17 05:13:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.338207 -2.795063)', '2026-07-17 05:13:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338244 -2.795255)'), GeomFromEWKT('SRID=4674;POINT (-40.338207 -2.795063)'))) / (select extract(epoch from '2026-07-17 05:13:24'::timestamp) - extract(epoch from '2026-07-17 05:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338244 -2.795255)'), GeomFromEWKT('SRID=4674;POINT (-40.338207 -2.795063)'))) / (select extract(epoch from '2026-07-17 05:13:24'::timestamp) - extract(epoch from '2026-07-17 05:13: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'), 47804, 'SRID=4674;POINT (-40.338159 -2.794878)', '2026-07-17 05:13:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338207 -2.795063)'), GeomFromEWKT('SRID=4674;POINT (-40.338159 -2.794878)'))) / (select extract(epoch from '2026-07-17 05:13:33'::timestamp) - extract(epoch from '2026-07-17 05:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338207 -2.795063)'), GeomFromEWKT('SRID=4674;POINT (-40.338159 -2.794878)'))) / (select extract(epoch from '2026-07-17 05:13:33'::timestamp) - extract(epoch from '2026-07-17 05:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.338109 -2.794717)', '2026-07-17 05:13:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338159 -2.794878)'), GeomFromEWKT('SRID=4674;POINT (-40.338109 -2.794717)'))) / (select extract(epoch from '2026-07-17 05:13:41'::timestamp) - extract(epoch from '2026-07-17 05:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338159 -2.794878)'), GeomFromEWKT('SRID=4674;POINT (-40.338109 -2.794717)'))) / (select extract(epoch from '2026-07-17 05:13:41'::timestamp) - extract(epoch from '2026-07-17 05:13: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'), 47804, 'SRID=4674;POINT (-40.338055 -2.794557)', '2026-07-17 05:13:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338109 -2.794717)'), GeomFromEWKT('SRID=4674;POINT (-40.338055 -2.794557)'))) / (select extract(epoch from '2026-07-17 05:13:49'::timestamp) - extract(epoch from '2026-07-17 05:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338109 -2.794717)'), GeomFromEWKT('SRID=4674;POINT (-40.338055 -2.794557)'))) / (select extract(epoch from '2026-07-17 05:13:49'::timestamp) - extract(epoch from '2026-07-17 05:13: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'), 47804, 'SRID=4674;POINT (-40.337994 -2.794382)', '2026-07-17 05:13:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338055 -2.794557)'), GeomFromEWKT('SRID=4674;POINT (-40.337994 -2.794382)'))) / (select extract(epoch from '2026-07-17 05:13:58'::timestamp) - extract(epoch from '2026-07-17 05:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338055 -2.794557)'), GeomFromEWKT('SRID=4674;POINT (-40.337994 -2.794382)'))) / (select extract(epoch from '2026-07-17 05:13:58'::timestamp) - extract(epoch from '2026-07-17 05:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.337893 -2.794231)', '2026-07-17 05:14:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337994 -2.794382)'), GeomFromEWKT('SRID=4674;POINT (-40.337893 -2.794231)'))) / (select extract(epoch from '2026-07-17 05:14:07'::timestamp) - extract(epoch from '2026-07-17 05:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337994 -2.794382)'), GeomFromEWKT('SRID=4674;POINT (-40.337893 -2.794231)'))) / (select extract(epoch from '2026-07-17 05:14:07'::timestamp) - extract(epoch from '2026-07-17 05:13: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'), 47804, 'SRID=4674;POINT (-40.337787 -2.794118)', '2026-07-17 05:14:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337893 -2.794231)'), GeomFromEWKT('SRID=4674;POINT (-40.337787 -2.794118)'))) / (select extract(epoch from '2026-07-17 05:14:15'::timestamp) - extract(epoch from '2026-07-17 05:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337893 -2.794231)'), GeomFromEWKT('SRID=4674;POINT (-40.337787 -2.794118)'))) / (select extract(epoch from '2026-07-17 05:14:15'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.337707 -2.793995)', '2026-07-17 05:14:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337787 -2.794118)'), GeomFromEWKT('SRID=4674;POINT (-40.337707 -2.793995)'))) / (select extract(epoch from '2026-07-17 05:14:22'::timestamp) - extract(epoch from '2026-07-17 05:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337787 -2.794118)'), GeomFromEWKT('SRID=4674;POINT (-40.337707 -2.793995)'))) / (select extract(epoch from '2026-07-17 05:14:22'::timestamp) - extract(epoch from '2026-07-17 05:14: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'), 47804, 'SRID=4674;POINT (-40.337594 -2.793862)', '2026-07-17 05:14:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337707 -2.793995)'), GeomFromEWKT('SRID=4674;POINT (-40.337594 -2.793862)'))) / (select extract(epoch from '2026-07-17 05:14:31'::timestamp) - extract(epoch from '2026-07-17 05:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337707 -2.793995)'), GeomFromEWKT('SRID=4674;POINT (-40.337594 -2.793862)'))) / (select extract(epoch from '2026-07-17 05:14:31'::timestamp) - extract(epoch from '2026-07-17 05:14: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'), 47804, 'SRID=4674;POINT (-40.33743 -2.793711)', '2026-07-17 05:14:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337594 -2.793862)'), GeomFromEWKT('SRID=4674;POINT (-40.33743 -2.793711)'))) / (select extract(epoch from '2026-07-17 05:14:42'::timestamp) - extract(epoch from '2026-07-17 05:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337594 -2.793862)'), GeomFromEWKT('SRID=4674;POINT (-40.33743 -2.793711)'))) / (select extract(epoch from '2026-07-17 05:14:42'::timestamp) - extract(epoch from '2026-07-17 05:14: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'), 47804, 'SRID=4674;POINT (-40.337274 -2.793588)', '2026-07-17 05:14:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33743 -2.793711)'), GeomFromEWKT('SRID=4674;POINT (-40.337274 -2.793588)'))) / (select extract(epoch from '2026-07-17 05:14:52'::timestamp) - extract(epoch from '2026-07-17 05:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33743 -2.793711)'), GeomFromEWKT('SRID=4674;POINT (-40.337274 -2.793588)'))) / (select extract(epoch from '2026-07-17 05:14:52'::timestamp) - extract(epoch from '2026-07-17 05:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.337161 -2.793494)', '2026-07-17 05:14:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337274 -2.793588)'), GeomFromEWKT('SRID=4674;POINT (-40.337161 -2.793494)'))) / (select extract(epoch from '2026-07-17 05:14:59'::timestamp) - extract(epoch from '2026-07-17 05:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337274 -2.793588)'), GeomFromEWKT('SRID=4674;POINT (-40.337161 -2.793494)'))) / (select extract(epoch from '2026-07-17 05:14:59'::timestamp) - extract(epoch from '2026-07-17 05:14: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'), 47804, 'SRID=4674;POINT (-40.337025 -2.793394)', '2026-07-17 05:15:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337161 -2.793494)'), GeomFromEWKT('SRID=4674;POINT (-40.337025 -2.793394)'))) / (select extract(epoch from '2026-07-17 05:15:08'::timestamp) - extract(epoch from '2026-07-17 05:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337161 -2.793494)'), GeomFromEWKT('SRID=4674;POINT (-40.337025 -2.793394)'))) / (select extract(epoch from '2026-07-17 05:15:08'::timestamp) - extract(epoch from '2026-07-17 05:14: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'), 47804, 'SRID=4674;POINT (-40.336901 -2.793277)', '2026-07-17 05:15:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337025 -2.793394)'), GeomFromEWKT('SRID=4674;POINT (-40.336901 -2.793277)'))) / (select extract(epoch from '2026-07-17 05:15:17'::timestamp) - extract(epoch from '2026-07-17 05:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337025 -2.793394)'), GeomFromEWKT('SRID=4674;POINT (-40.336901 -2.793277)'))) / (select extract(epoch from '2026-07-17 05:15:17'::timestamp) - extract(epoch from '2026-07-17 05:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.336762 -2.793145)', '2026-07-17 05:15:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336901 -2.793277)'), GeomFromEWKT('SRID=4674;POINT (-40.336762 -2.793145)'))) / (select extract(epoch from '2026-07-17 05:15:26'::timestamp) - extract(epoch from '2026-07-17 05:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336901 -2.793277)'), GeomFromEWKT('SRID=4674;POINT (-40.336762 -2.793145)'))) / (select extract(epoch from '2026-07-17 05:15:26'::timestamp) - extract(epoch from '2026-07-17 05:15: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'), 47804, 'SRID=4674;POINT (-40.336666 -2.793051)', '2026-07-17 05:15:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336762 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.793051)'))) / (select extract(epoch from '2026-07-17 05:15:33'::timestamp) - extract(epoch from '2026-07-17 05:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336762 -2.793145)'), GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.793051)'))) / (select extract(epoch from '2026-07-17 05:15:33'::timestamp) - extract(epoch from '2026-07-17 05:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.33656 -2.792955)', '2026-07-17 05:15:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.33656 -2.792955)'))) / (select extract(epoch from '2026-07-17 05:15:40'::timestamp) - extract(epoch from '2026-07-17 05:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336666 -2.793051)'), GeomFromEWKT('SRID=4674;POINT (-40.33656 -2.792955)'))) / (select extract(epoch from '2026-07-17 05:15:40'::timestamp) - extract(epoch from '2026-07-17 05:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.336466 -2.792852)', '2026-07-17 05:15:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33656 -2.792955)'), GeomFromEWKT('SRID=4674;POINT (-40.336466 -2.792852)'))) / (select extract(epoch from '2026-07-17 05:15:47'::timestamp) - extract(epoch from '2026-07-17 05:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33656 -2.792955)'), GeomFromEWKT('SRID=4674;POINT (-40.336466 -2.792852)'))) / (select extract(epoch from '2026-07-17 05:15:47'::timestamp) - extract(epoch from '2026-07-17 05:15: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'), 47804, 'SRID=4674;POINT (-40.336384 -2.79272)', '2026-07-17 05:15:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336466 -2.792852)'), GeomFromEWKT('SRID=4674;POINT (-40.336384 -2.79272)'))) / (select extract(epoch from '2026-07-17 05:15:55'::timestamp) - extract(epoch from '2026-07-17 05:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336466 -2.792852)'), GeomFromEWKT('SRID=4674;POINT (-40.336384 -2.79272)'))) / (select extract(epoch from '2026-07-17 05:15:55'::timestamp) - extract(epoch from '2026-07-17 05:15: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'), 47804, 'SRID=4674;POINT (-40.336271 -2.792551)', '2026-07-17 05:16:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336384 -2.79272)'), GeomFromEWKT('SRID=4674;POINT (-40.336271 -2.792551)'))) / (select extract(epoch from '2026-07-17 05:16:05'::timestamp) - extract(epoch from '2026-07-17 05:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336384 -2.79272)'), GeomFromEWKT('SRID=4674;POINT (-40.336271 -2.792551)'))) / (select extract(epoch from '2026-07-17 05:16:05'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.336183 -2.792412)', '2026-07-17 05:16:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336271 -2.792551)'), GeomFromEWKT('SRID=4674;POINT (-40.336183 -2.792412)'))) / (select extract(epoch from '2026-07-17 05:16:13'::timestamp) - extract(epoch from '2026-07-17 05:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336271 -2.792551)'), GeomFromEWKT('SRID=4674;POINT (-40.336183 -2.792412)'))) / (select extract(epoch from '2026-07-17 05:16:13'::timestamp) - extract(epoch from '2026-07-17 05:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.336101 -2.79227)', '2026-07-17 05:16:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336183 -2.792412)'), GeomFromEWKT('SRID=4674;POINT (-40.336101 -2.79227)'))) / (select extract(epoch from '2026-07-17 05:16:21'::timestamp) - extract(epoch from '2026-07-17 05:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336183 -2.792412)'), GeomFromEWKT('SRID=4674;POINT (-40.336101 -2.79227)'))) / (select extract(epoch from '2026-07-17 05:16:21'::timestamp) - extract(epoch from '2026-07-17 05:16: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'), 47804, 'SRID=4674;POINT (-40.336015 -2.792109)', '2026-07-17 05:16:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336101 -2.79227)'), GeomFromEWKT('SRID=4674;POINT (-40.336015 -2.792109)'))) / (select extract(epoch from '2026-07-17 05:16:30'::timestamp) - extract(epoch from '2026-07-17 05:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336101 -2.79227)'), GeomFromEWKT('SRID=4674;POINT (-40.336015 -2.792109)'))) / (select extract(epoch from '2026-07-17 05:16:30'::timestamp) - extract(epoch from '2026-07-17 05:16:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.335934 -2.791962)', '2026-07-17 05:16:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336015 -2.792109)'), GeomFromEWKT('SRID=4674;POINT (-40.335934 -2.791962)'))) / (select extract(epoch from '2026-07-17 05:16:38'::timestamp) - extract(epoch from '2026-07-17 05:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336015 -2.792109)'), GeomFromEWKT('SRID=4674;POINT (-40.335934 -2.791962)'))) / (select extract(epoch from '2026-07-17 05:16:38'::timestamp) - extract(epoch from '2026-07-17 05:16: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'), 47804, 'SRID=4674;POINT (-40.335832 -2.791808)', '2026-07-17 05:16:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335934 -2.791962)'), GeomFromEWKT('SRID=4674;POINT (-40.335832 -2.791808)'))) / (select extract(epoch from '2026-07-17 05:16:47'::timestamp) - extract(epoch from '2026-07-17 05:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335934 -2.791962)'), GeomFromEWKT('SRID=4674;POINT (-40.335832 -2.791808)'))) / (select extract(epoch from '2026-07-17 05:16:47'::timestamp) - extract(epoch from '2026-07-17 05:16:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.33575 -2.79168)', '2026-07-17 05:16:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335832 -2.791808)'), GeomFromEWKT('SRID=4674;POINT (-40.33575 -2.79168)'))) / (select extract(epoch from '2026-07-17 05:16:55'::timestamp) - extract(epoch from '2026-07-17 05:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335832 -2.791808)'), GeomFromEWKT('SRID=4674;POINT (-40.33575 -2.79168)'))) / (select extract(epoch from '2026-07-17 05:16:55'::timestamp) - extract(epoch from '2026-07-17 05:16:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.335634 -2.791568)', '2026-07-17 05:17:04', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33575 -2.79168)'), GeomFromEWKT('SRID=4674;POINT (-40.335634 -2.791568)'))) / (select extract(epoch from '2026-07-17 05:17:04'::timestamp) - extract(epoch from '2026-07-17 05:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33575 -2.79168)'), GeomFromEWKT('SRID=4674;POINT (-40.335634 -2.791568)'))) / (select extract(epoch from '2026-07-17 05:17:04'::timestamp) - extract(epoch from '2026-07-17 05:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.335509 -2.791461)', '2026-07-17 05:17:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335634 -2.791568)'), GeomFromEWKT('SRID=4674;POINT (-40.335509 -2.791461)'))) / (select extract(epoch from '2026-07-17 05:17:12'::timestamp) - extract(epoch from '2026-07-17 05:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335634 -2.791568)'), GeomFromEWKT('SRID=4674;POINT (-40.335509 -2.791461)'))) / (select extract(epoch from '2026-07-17 05:17:12'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.335391 -2.791354)', '2026-07-17 05:17:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335509 -2.791461)'), GeomFromEWKT('SRID=4674;POINT (-40.335391 -2.791354)'))) / (select extract(epoch from '2026-07-17 05:17:20'::timestamp) - extract(epoch from '2026-07-17 05:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335509 -2.791461)'), GeomFromEWKT('SRID=4674;POINT (-40.335391 -2.791354)'))) / (select extract(epoch from '2026-07-17 05:17:20'::timestamp) - extract(epoch from '2026-07-17 05:17: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'), 47804, 'SRID=4674;POINT (-40.335292 -2.791246)', '2026-07-17 05:17:29', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335391 -2.791354)'), GeomFromEWKT('SRID=4674;POINT (-40.335292 -2.791246)'))) / (select extract(epoch from '2026-07-17 05:17:29'::timestamp) - extract(epoch from '2026-07-17 05:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335391 -2.791354)'), GeomFromEWKT('SRID=4674;POINT (-40.335292 -2.791246)'))) / (select extract(epoch from '2026-07-17 05:17:29'::timestamp) - extract(epoch from '2026-07-17 05:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.335204 -2.791166)', '2026-07-17 05:17:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335292 -2.791246)'), GeomFromEWKT('SRID=4674;POINT (-40.335204 -2.791166)'))) / (select extract(epoch from '2026-07-17 05:17:36'::timestamp) - extract(epoch from '2026-07-17 05:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335292 -2.791246)'), GeomFromEWKT('SRID=4674;POINT (-40.335204 -2.791166)'))) / (select extract(epoch from '2026-07-17 05:17:36'::timestamp) - extract(epoch from '2026-07-17 05:17: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'), 47804, 'SRID=4674;POINT (-40.335054 -2.791025)', '2026-07-17 05:17:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335204 -2.791166)'), GeomFromEWKT('SRID=4674;POINT (-40.335054 -2.791025)'))) / (select extract(epoch from '2026-07-17 05:17:46'::timestamp) - extract(epoch from '2026-07-17 05:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335204 -2.791166)'), GeomFromEWKT('SRID=4674;POINT (-40.335054 -2.791025)'))) / (select extract(epoch from '2026-07-17 05:17:46'::timestamp) - extract(epoch from '2026-07-17 05:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.334901 -2.790903)', '2026-07-17 05:17:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335054 -2.791025)'), GeomFromEWKT('SRID=4674;POINT (-40.334901 -2.790903)'))) / (select extract(epoch from '2026-07-17 05:17:56'::timestamp) - extract(epoch from '2026-07-17 05:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335054 -2.791025)'), GeomFromEWKT('SRID=4674;POINT (-40.334901 -2.790903)'))) / (select extract(epoch from '2026-07-17 05:17:56'::timestamp) - extract(epoch from '2026-07-17 05:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.334796 -2.790787)', '2026-07-17 05:18:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334901 -2.790903)'), GeomFromEWKT('SRID=4674;POINT (-40.334796 -2.790787)'))) / (select extract(epoch from '2026-07-17 05:18:04'::timestamp) - extract(epoch from '2026-07-17 05:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334901 -2.790903)'), GeomFromEWKT('SRID=4674;POINT (-40.334796 -2.790787)'))) / (select extract(epoch from '2026-07-17 05:18:04'::timestamp) - extract(epoch from '2026-07-17 05:17: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'), 47804, 'SRID=4674;POINT (-40.334669 -2.790637)', '2026-07-17 05:18:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334796 -2.790787)'), GeomFromEWKT('SRID=4674;POINT (-40.334669 -2.790637)'))) / (select extract(epoch from '2026-07-17 05:18:14'::timestamp) - extract(epoch from '2026-07-17 05:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334796 -2.790787)'), GeomFromEWKT('SRID=4674;POINT (-40.334669 -2.790637)'))) / (select extract(epoch from '2026-07-17 05:18:14'::timestamp) - extract(epoch from '2026-07-17 05:18: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'), 47804, 'SRID=4674;POINT (-40.334571 -2.790486)', '2026-07-17 05:18:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334669 -2.790637)'), GeomFromEWKT('SRID=4674;POINT (-40.334571 -2.790486)'))) / (select extract(epoch from '2026-07-17 05:18:23'::timestamp) - extract(epoch from '2026-07-17 05:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334669 -2.790637)'), GeomFromEWKT('SRID=4674;POINT (-40.334571 -2.790486)'))) / (select extract(epoch from '2026-07-17 05:18:23'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.334495 -2.790372)', '2026-07-17 05:18:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334571 -2.790486)'), GeomFromEWKT('SRID=4674;POINT (-40.334495 -2.790372)'))) / (select extract(epoch from '2026-07-17 05:18:30'::timestamp) - extract(epoch from '2026-07-17 05:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334571 -2.790486)'), GeomFromEWKT('SRID=4674;POINT (-40.334495 -2.790372)'))) / (select extract(epoch from '2026-07-17 05:18:30'::timestamp) - extract(epoch from '2026-07-17 05:18:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.33438 -2.790215)', '2026-07-17 05:18:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334495 -2.790372)'), GeomFromEWKT('SRID=4674;POINT (-40.33438 -2.790215)'))) / (select extract(epoch from '2026-07-17 05:18:40'::timestamp) - extract(epoch from '2026-07-17 05:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334495 -2.790372)'), GeomFromEWKT('SRID=4674;POINT (-40.33438 -2.790215)'))) / (select extract(epoch from '2026-07-17 05:18:40'::timestamp) - extract(epoch from '2026-07-17 05:18: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'), 47804, 'SRID=4674;POINT (-40.334272 -2.79007)', '2026-07-17 05:18:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33438 -2.790215)'), GeomFromEWKT('SRID=4674;POINT (-40.334272 -2.79007)'))) / (select extract(epoch from '2026-07-17 05:18:49'::timestamp) - extract(epoch from '2026-07-17 05:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33438 -2.790215)'), GeomFromEWKT('SRID=4674;POINT (-40.334272 -2.79007)'))) / (select extract(epoch from '2026-07-17 05:18:49'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.33417 -2.789938)', '2026-07-17 05:18:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334272 -2.79007)'), GeomFromEWKT('SRID=4674;POINT (-40.33417 -2.789938)'))) / (select extract(epoch from '2026-07-17 05:18:57'::timestamp) - extract(epoch from '2026-07-17 05:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334272 -2.79007)'), GeomFromEWKT('SRID=4674;POINT (-40.33417 -2.789938)'))) / (select extract(epoch from '2026-07-17 05:18:57'::timestamp) - extract(epoch from '2026-07-17 05:18: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'), 47804, 'SRID=4674;POINT (-40.334075 -2.789816)', '2026-07-17 05:19:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33417 -2.789938)'), GeomFromEWKT('SRID=4674;POINT (-40.334075 -2.789816)'))) / (select extract(epoch from '2026-07-17 05:19:05'::timestamp) - extract(epoch from '2026-07-17 05:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33417 -2.789938)'), GeomFromEWKT('SRID=4674;POINT (-40.334075 -2.789816)'))) / (select extract(epoch from '2026-07-17 05:19:05'::timestamp) - extract(epoch from '2026-07-17 05:18: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'), 47804, 'SRID=4674;POINT (-40.333949 -2.789665)', '2026-07-17 05:19:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334075 -2.789816)'), GeomFromEWKT('SRID=4674;POINT (-40.333949 -2.789665)'))) / (select extract(epoch from '2026-07-17 05:19:15'::timestamp) - extract(epoch from '2026-07-17 05:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334075 -2.789816)'), GeomFromEWKT('SRID=4674;POINT (-40.333949 -2.789665)'))) / (select extract(epoch from '2026-07-17 05:19:15'::timestamp) - extract(epoch from '2026-07-17 05:19: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'), 47804, 'SRID=4674;POINT (-40.333877 -2.789532)', '2026-07-17 05:19:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333949 -2.789665)'), GeomFromEWKT('SRID=4674;POINT (-40.333877 -2.789532)'))) / (select extract(epoch from '2026-07-17 05:19:23'::timestamp) - extract(epoch from '2026-07-17 05:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333949 -2.789665)'), GeomFromEWKT('SRID=4674;POINT (-40.333877 -2.789532)'))) / (select extract(epoch from '2026-07-17 05:19:23'::timestamp) - extract(epoch from '2026-07-17 05:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.333777 -2.789423)', '2026-07-17 05:19:31', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333877 -2.789532)'), GeomFromEWKT('SRID=4674;POINT (-40.333777 -2.789423)'))) / (select extract(epoch from '2026-07-17 05:19:31'::timestamp) - extract(epoch from '2026-07-17 05:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333877 -2.789532)'), GeomFromEWKT('SRID=4674;POINT (-40.333777 -2.789423)'))) / (select extract(epoch from '2026-07-17 05:19:31'::timestamp) - extract(epoch from '2026-07-17 05:19: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'), 47804, 'SRID=4674;POINT (-40.333674 -2.789322)', '2026-07-17 05:19:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333777 -2.789423)'), GeomFromEWKT('SRID=4674;POINT (-40.333674 -2.789322)'))) / (select extract(epoch from '2026-07-17 05:19:38'::timestamp) - extract(epoch from '2026-07-17 05:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333777 -2.789423)'), GeomFromEWKT('SRID=4674;POINT (-40.333674 -2.789322)'))) / (select extract(epoch from '2026-07-17 05:19:38'::timestamp) - extract(epoch from '2026-07-17 05:19:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.333552 -2.789199)', '2026-07-17 05:19:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333674 -2.789322)'), GeomFromEWKT('SRID=4674;POINT (-40.333552 -2.789199)'))) / (select extract(epoch from '2026-07-17 05:19:47'::timestamp) - extract(epoch from '2026-07-17 05:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333674 -2.789322)'), GeomFromEWKT('SRID=4674;POINT (-40.333552 -2.789199)'))) / (select extract(epoch from '2026-07-17 05:19:47'::timestamp) - extract(epoch from '2026-07-17 05:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.333413 -2.789071)', '2026-07-17 05:19:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333552 -2.789199)'), GeomFromEWKT('SRID=4674;POINT (-40.333413 -2.789071)'))) / (select extract(epoch from '2026-07-17 05:19:56'::timestamp) - extract(epoch from '2026-07-17 05:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333552 -2.789199)'), GeomFromEWKT('SRID=4674;POINT (-40.333413 -2.789071)'))) / (select extract(epoch from '2026-07-17 05:19:56'::timestamp) - extract(epoch from '2026-07-17 05:19: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'), 47804, 'SRID=4674;POINT (-40.333269 -2.788971)', '2026-07-17 05:20:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333413 -2.789071)'), GeomFromEWKT('SRID=4674;POINT (-40.333269 -2.788971)'))) / (select extract(epoch from '2026-07-17 05:20:05'::timestamp) - extract(epoch from '2026-07-17 05:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333413 -2.789071)'), GeomFromEWKT('SRID=4674;POINT (-40.333269 -2.788971)'))) / (select extract(epoch from '2026-07-17 05:20:05'::timestamp) - extract(epoch from '2026-07-17 05:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.333123 -2.788836)', '2026-07-17 05:20:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333269 -2.788971)'), GeomFromEWKT('SRID=4674;POINT (-40.333123 -2.788836)'))) / (select extract(epoch from '2026-07-17 05:20:15'::timestamp) - extract(epoch from '2026-07-17 05:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333269 -2.788971)'), GeomFromEWKT('SRID=4674;POINT (-40.333123 -2.788836)'))) / (select extract(epoch from '2026-07-17 05:20:15'::timestamp) - extract(epoch from '2026-07-17 05:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.333011 -2.788729)', '2026-07-17 05:20:23', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333123 -2.788836)'), GeomFromEWKT('SRID=4674;POINT (-40.333011 -2.788729)'))) / (select extract(epoch from '2026-07-17 05:20:23'::timestamp) - extract(epoch from '2026-07-17 05:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333123 -2.788836)'), GeomFromEWKT('SRID=4674;POINT (-40.333011 -2.788729)'))) / (select extract(epoch from '2026-07-17 05:20:23'::timestamp) - extract(epoch from '2026-07-17 05:20: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'), 47804, 'SRID=4674;POINT (-40.332916 -2.788594)', '2026-07-17 05:20:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333011 -2.788729)'), GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.788594)'))) / (select extract(epoch from '2026-07-17 05:20:32'::timestamp) - extract(epoch from '2026-07-17 05:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333011 -2.788729)'), GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.788594)'))) / (select extract(epoch from '2026-07-17 05:20:32'::timestamp) - extract(epoch from '2026-07-17 05:20:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.332824 -2.788459)', '2026-07-17 05:20:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.788594)'), GeomFromEWKT('SRID=4674;POINT (-40.332824 -2.788459)'))) / (select extract(epoch from '2026-07-17 05:20:41'::timestamp) - extract(epoch from '2026-07-17 05:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332916 -2.788594)'), GeomFromEWKT('SRID=4674;POINT (-40.332824 -2.788459)'))) / (select extract(epoch from '2026-07-17 05:20:41'::timestamp) - extract(epoch from '2026-07-17 05:20: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'), 47804, 'SRID=4674;POINT (-40.332732 -2.788281)', '2026-07-17 05:20:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332824 -2.788459)'), GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.788281)'))) / (select extract(epoch from '2026-07-17 05:20:51'::timestamp) - extract(epoch from '2026-07-17 05:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332824 -2.788459)'), GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.788281)'))) / (select extract(epoch from '2026-07-17 05:20:51'::timestamp) - extract(epoch from '2026-07-17 05:20:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.33268 -2.788122)', '2026-07-17 05:20:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.788281)'), GeomFromEWKT('SRID=4674;POINT (-40.33268 -2.788122)'))) / (select extract(epoch from '2026-07-17 05:20:59'::timestamp) - extract(epoch from '2026-07-17 05:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332732 -2.788281)'), GeomFromEWKT('SRID=4674;POINT (-40.33268 -2.788122)'))) / (select extract(epoch from '2026-07-17 05:20:59'::timestamp) - extract(epoch from '2026-07-17 05:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.332605 -2.787964)', '2026-07-17 05:21:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33268 -2.788122)'), GeomFromEWKT('SRID=4674;POINT (-40.332605 -2.787964)'))) / (select extract(epoch from '2026-07-17 05:21:08'::timestamp) - extract(epoch from '2026-07-17 05:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33268 -2.788122)'), GeomFromEWKT('SRID=4674;POINT (-40.332605 -2.787964)'))) / (select extract(epoch from '2026-07-17 05:21:08'::timestamp) - extract(epoch from '2026-07-17 05:20: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'), 47804, 'SRID=4674;POINT (-40.332563 -2.787816)', '2026-07-17 05:21:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332605 -2.787964)'), GeomFromEWKT('SRID=4674;POINT (-40.332563 -2.787816)'))) / (select extract(epoch from '2026-07-17 05:21:16'::timestamp) - extract(epoch from '2026-07-17 05:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332605 -2.787964)'), GeomFromEWKT('SRID=4674;POINT (-40.332563 -2.787816)'))) / (select extract(epoch from '2026-07-17 05:21:16'::timestamp) - extract(epoch from '2026-07-17 05:21: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'), 47804, 'SRID=4674;POINT (-40.332522 -2.787672)', '2026-07-17 05:21:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332563 -2.787816)'), GeomFromEWKT('SRID=4674;POINT (-40.332522 -2.787672)'))) / (select extract(epoch from '2026-07-17 05:21:24'::timestamp) - extract(epoch from '2026-07-17 05:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332563 -2.787816)'), GeomFromEWKT('SRID=4674;POINT (-40.332522 -2.787672)'))) / (select extract(epoch from '2026-07-17 05:21:24'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.332453 -2.787499)', '2026-07-17 05:21:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332522 -2.787672)'), GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.787499)'))) / (select extract(epoch from '2026-07-17 05:21:33'::timestamp) - extract(epoch from '2026-07-17 05:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332522 -2.787672)'), GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.787499)'))) / (select extract(epoch from '2026-07-17 05:21:33'::timestamp) - extract(epoch from '2026-07-17 05:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.332351 -2.787276)', '2026-07-17 05:21:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.787499)'), GeomFromEWKT('SRID=4674;POINT (-40.332351 -2.787276)'))) / (select extract(epoch from '2026-07-17 05:21:45'::timestamp) - extract(epoch from '2026-07-17 05:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332453 -2.787499)'), GeomFromEWKT('SRID=4674;POINT (-40.332351 -2.787276)'))) / (select extract(epoch from '2026-07-17 05:21:45'::timestamp) - extract(epoch from '2026-07-17 05:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.332293 -2.787163)', '2026-07-17 05:21:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332351 -2.787276)'), GeomFromEWKT('SRID=4674;POINT (-40.332293 -2.787163)'))) / (select extract(epoch from '2026-07-17 05:21:52'::timestamp) - extract(epoch from '2026-07-17 05:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332351 -2.787276)'), GeomFromEWKT('SRID=4674;POINT (-40.332293 -2.787163)'))) / (select extract(epoch from '2026-07-17 05:21:52'::timestamp) - extract(epoch from '2026-07-17 05:21: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'), 47804, 'SRID=4674;POINT (-40.332225 -2.787069)', '2026-07-17 05:21:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332293 -2.787163)'), GeomFromEWKT('SRID=4674;POINT (-40.332225 -2.787069)'))) / (select extract(epoch from '2026-07-17 05:21:58'::timestamp) - extract(epoch from '2026-07-17 05:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332293 -2.787163)'), GeomFromEWKT('SRID=4674;POINT (-40.332225 -2.787069)'))) / (select extract(epoch from '2026-07-17 05:21:58'::timestamp) - extract(epoch from '2026-07-17 05:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.332131 -2.786937)', '2026-07-17 05:22:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332225 -2.787069)'), GeomFromEWKT('SRID=4674;POINT (-40.332131 -2.786937)'))) / (select extract(epoch from '2026-07-17 05:22:07'::timestamp) - extract(epoch from '2026-07-17 05:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332225 -2.787069)'), GeomFromEWKT('SRID=4674;POINT (-40.332131 -2.786937)'))) / (select extract(epoch from '2026-07-17 05:22:07'::timestamp) - extract(epoch from '2026-07-17 05:21: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'), 47804, 'SRID=4674;POINT (-40.332061 -2.786818)', '2026-07-17 05:22:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332131 -2.786937)'), GeomFromEWKT('SRID=4674;POINT (-40.332061 -2.786818)'))) / (select extract(epoch from '2026-07-17 05:22:14'::timestamp) - extract(epoch from '2026-07-17 05:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332131 -2.786937)'), GeomFromEWKT('SRID=4674;POINT (-40.332061 -2.786818)'))) / (select extract(epoch from '2026-07-17 05:22:14'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.331971 -2.786692)', '2026-07-17 05:22:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332061 -2.786818)'), GeomFromEWKT('SRID=4674;POINT (-40.331971 -2.786692)'))) / (select extract(epoch from '2026-07-17 05:22:22'::timestamp) - extract(epoch from '2026-07-17 05:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332061 -2.786818)'), GeomFromEWKT('SRID=4674;POINT (-40.331971 -2.786692)'))) / (select extract(epoch from '2026-07-17 05:22:22'::timestamp) - extract(epoch from '2026-07-17 05:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.331906 -2.786566)', '2026-07-17 05:22:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331971 -2.786692)'), GeomFromEWKT('SRID=4674;POINT (-40.331906 -2.786566)'))) / (select extract(epoch from '2026-07-17 05:22:29'::timestamp) - extract(epoch from '2026-07-17 05:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331971 -2.786692)'), GeomFromEWKT('SRID=4674;POINT (-40.331906 -2.786566)'))) / (select extract(epoch from '2026-07-17 05:22:29'::timestamp) - extract(epoch from '2026-07-17 05:22: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'), 47804, 'SRID=4674;POINT (-40.331839 -2.786448)', '2026-07-17 05:22:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331906 -2.786566)'), GeomFromEWKT('SRID=4674;POINT (-40.331839 -2.786448)'))) / (select extract(epoch from '2026-07-17 05:22:36'::timestamp) - extract(epoch from '2026-07-17 05:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331906 -2.786566)'), GeomFromEWKT('SRID=4674;POINT (-40.331839 -2.786448)'))) / (select extract(epoch from '2026-07-17 05:22:36'::timestamp) - extract(epoch from '2026-07-17 05:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.331763 -2.786319)', '2026-07-17 05:22:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331839 -2.786448)'), GeomFromEWKT('SRID=4674;POINT (-40.331763 -2.786319)'))) / (select extract(epoch from '2026-07-17 05:22:44'::timestamp) - extract(epoch from '2026-07-17 05:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331839 -2.786448)'), GeomFromEWKT('SRID=4674;POINT (-40.331763 -2.786319)'))) / (select extract(epoch from '2026-07-17 05:22:44'::timestamp) - extract(epoch from '2026-07-17 05:22: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'), 47804, 'SRID=4674;POINT (-40.331696 -2.786206)', '2026-07-17 05:22:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331763 -2.786319)'), GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.786206)'))) / (select extract(epoch from '2026-07-17 05:22:51'::timestamp) - extract(epoch from '2026-07-17 05:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331763 -2.786319)'), GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.786206)'))) / (select extract(epoch from '2026-07-17 05:22:51'::timestamp) - extract(epoch from '2026-07-17 05:22: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'), 47804, 'SRID=4674;POINT (-40.331629 -2.786058)', '2026-07-17 05:23:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.786206)'), GeomFromEWKT('SRID=4674;POINT (-40.331629 -2.786058)'))) / (select extract(epoch from '2026-07-17 05:23:00'::timestamp) - extract(epoch from '2026-07-17 05:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331696 -2.786206)'), GeomFromEWKT('SRID=4674;POINT (-40.331629 -2.786058)'))) / (select extract(epoch from '2026-07-17 05:23:00'::timestamp) - extract(epoch from '2026-07-17 05:22: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'), 47804, 'SRID=4674;POINT (-40.331558 -2.78592)', '2026-07-17 05:23:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331629 -2.786058)'), GeomFromEWKT('SRID=4674;POINT (-40.331558 -2.78592)'))) / (select extract(epoch from '2026-07-17 05:23:08'::timestamp) - extract(epoch from '2026-07-17 05:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331629 -2.786058)'), GeomFromEWKT('SRID=4674;POINT (-40.331558 -2.78592)'))) / (select extract(epoch from '2026-07-17 05:23:08'::timestamp) - extract(epoch from '2026-07-17 05:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.331449 -2.7858)', '2026-07-17 05:23:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331558 -2.78592)'), GeomFromEWKT('SRID=4674;POINT (-40.331449 -2.7858)'))) / (select extract(epoch from '2026-07-17 05:23:16'::timestamp) - extract(epoch from '2026-07-17 05:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331558 -2.78592)'), GeomFromEWKT('SRID=4674;POINT (-40.331449 -2.7858)'))) / (select extract(epoch from '2026-07-17 05:23:16'::timestamp) - extract(epoch from '2026-07-17 05:23: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'), 47804, 'SRID=4674;POINT (-40.331358 -2.785675)', '2026-07-17 05:23:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331449 -2.7858)'), GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.785675)'))) / (select extract(epoch from '2026-07-17 05:23:24'::timestamp) - extract(epoch from '2026-07-17 05:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331449 -2.7858)'), GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.785675)'))) / (select extract(epoch from '2026-07-17 05:23:24'::timestamp) - extract(epoch from '2026-07-17 05:23: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'), 47804, 'SRID=4674;POINT (-40.331302 -2.785548)', '2026-07-17 05:23:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.785675)'), GeomFromEWKT('SRID=4674;POINT (-40.331302 -2.785548)'))) / (select extract(epoch from '2026-07-17 05:23:31'::timestamp) - extract(epoch from '2026-07-17 05:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331358 -2.785675)'), GeomFromEWKT('SRID=4674;POINT (-40.331302 -2.785548)'))) / (select extract(epoch from '2026-07-17 05:23:31'::timestamp) - extract(epoch from '2026-07-17 05:23:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.331232 -2.785402)', '2026-07-17 05:23:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331302 -2.785548)'), GeomFromEWKT('SRID=4674;POINT (-40.331232 -2.785402)'))) / (select extract(epoch from '2026-07-17 05:23:39'::timestamp) - extract(epoch from '2026-07-17 05:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331302 -2.785548)'), GeomFromEWKT('SRID=4674;POINT (-40.331232 -2.785402)'))) / (select extract(epoch from '2026-07-17 05:23:39'::timestamp) - extract(epoch from '2026-07-17 05:23: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'), 47804, 'SRID=4674;POINT (-40.331185 -2.785284)', '2026-07-17 05:23:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331232 -2.785402)'), GeomFromEWKT('SRID=4674;POINT (-40.331185 -2.785284)'))) / (select extract(epoch from '2026-07-17 05:23:45'::timestamp) - extract(epoch from '2026-07-17 05:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331232 -2.785402)'), GeomFromEWKT('SRID=4674;POINT (-40.331185 -2.785284)'))) / (select extract(epoch from '2026-07-17 05:23:45'::timestamp) - extract(epoch from '2026-07-17 05:23: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'), 47804, 'SRID=4674;POINT (-40.331143 -2.785104)', '2026-07-17 05:23:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331185 -2.785284)'), GeomFromEWKT('SRID=4674;POINT (-40.331143 -2.785104)'))) / (select extract(epoch from '2026-07-17 05:23:54'::timestamp) - extract(epoch from '2026-07-17 05:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331185 -2.785284)'), GeomFromEWKT('SRID=4674;POINT (-40.331143 -2.785104)'))) / (select extract(epoch from '2026-07-17 05:23:54'::timestamp) - extract(epoch from '2026-07-17 05:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.331103 -2.784854)', '2026-07-17 05:24:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331143 -2.785104)'), GeomFromEWKT('SRID=4674;POINT (-40.331103 -2.784854)'))) / (select extract(epoch from '2026-07-17 05:24:06'::timestamp) - extract(epoch from '2026-07-17 05:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331143 -2.785104)'), GeomFromEWKT('SRID=4674;POINT (-40.331103 -2.784854)'))) / (select extract(epoch from '2026-07-17 05:24:06'::timestamp) - extract(epoch from '2026-07-17 05:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.33106 -2.784663)', '2026-07-17 05:24:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331103 -2.784854)'), GeomFromEWKT('SRID=4674;POINT (-40.33106 -2.784663)'))) / (select extract(epoch from '2026-07-17 05:24:16'::timestamp) - extract(epoch from '2026-07-17 05:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331103 -2.784854)'), GeomFromEWKT('SRID=4674;POINT (-40.33106 -2.784663)'))) / (select extract(epoch from '2026-07-17 05:24:16'::timestamp) - extract(epoch from '2026-07-17 05:24: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'), 47804, 'SRID=4674;POINT (-40.33102 -2.784515)', '2026-07-17 05:24:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33106 -2.784663)'), GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.784515)'))) / (select extract(epoch from '2026-07-17 05:24:24'::timestamp) - extract(epoch from '2026-07-17 05:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33106 -2.784663)'), GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.784515)'))) / (select extract(epoch from '2026-07-17 05:24:24'::timestamp) - extract(epoch from '2026-07-17 05:24: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'), 47804, 'SRID=4674;POINT (-40.330969 -2.784373)', '2026-07-17 05:24:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.784515)'), GeomFromEWKT('SRID=4674;POINT (-40.330969 -2.784373)'))) / (select extract(epoch from '2026-07-17 05:24:32'::timestamp) - extract(epoch from '2026-07-17 05:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33102 -2.784515)'), GeomFromEWKT('SRID=4674;POINT (-40.330969 -2.784373)'))) / (select extract(epoch from '2026-07-17 05:24:32'::timestamp) - extract(epoch from '2026-07-17 05:24: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'), 47804, 'SRID=4674;POINT (-40.330913 -2.784238)', '2026-07-17 05:24:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330969 -2.784373)'), GeomFromEWKT('SRID=4674;POINT (-40.330913 -2.784238)'))) / (select extract(epoch from '2026-07-17 05:24:39'::timestamp) - extract(epoch from '2026-07-17 05:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330969 -2.784373)'), GeomFromEWKT('SRID=4674;POINT (-40.330913 -2.784238)'))) / (select extract(epoch from '2026-07-17 05:24:39'::timestamp) - extract(epoch from '2026-07-17 05:24: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'), 47804, 'SRID=4674;POINT (-40.330851 -2.784076)', '2026-07-17 05:24:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330913 -2.784238)'), GeomFromEWKT('SRID=4674;POINT (-40.330851 -2.784076)'))) / (select extract(epoch from '2026-07-17 05:24:48'::timestamp) - extract(epoch from '2026-07-17 05:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330913 -2.784238)'), GeomFromEWKT('SRID=4674;POINT (-40.330851 -2.784076)'))) / (select extract(epoch from '2026-07-17 05:24:48'::timestamp) - extract(epoch from '2026-07-17 05:24: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'), 47804, 'SRID=4674;POINT (-40.330824 -2.78391)', '2026-07-17 05:24:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330851 -2.784076)'), GeomFromEWKT('SRID=4674;POINT (-40.330824 -2.78391)'))) / (select extract(epoch from '2026-07-17 05:24:56'::timestamp) - extract(epoch from '2026-07-17 05:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330851 -2.784076)'), GeomFromEWKT('SRID=4674;POINT (-40.330824 -2.78391)'))) / (select extract(epoch from '2026-07-17 05:24:56'::timestamp) - extract(epoch from '2026-07-17 05:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330806 -2.783768)', '2026-07-17 05:25:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330824 -2.78391)'), GeomFromEWKT('SRID=4674;POINT (-40.330806 -2.783768)'))) / (select extract(epoch from '2026-07-17 05:25:03'::timestamp) - extract(epoch from '2026-07-17 05:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330824 -2.78391)'), GeomFromEWKT('SRID=4674;POINT (-40.330806 -2.783768)'))) / (select extract(epoch from '2026-07-17 05:25:03'::timestamp) - extract(epoch from '2026-07-17 05:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330763 -2.783593)', '2026-07-17 05:25:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330806 -2.783768)'), GeomFromEWKT('SRID=4674;POINT (-40.330763 -2.783593)'))) / (select extract(epoch from '2026-07-17 05:25:12'::timestamp) - extract(epoch from '2026-07-17 05:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330806 -2.783768)'), GeomFromEWKT('SRID=4674;POINT (-40.330763 -2.783593)'))) / (select extract(epoch from '2026-07-17 05:25:12'::timestamp) - extract(epoch from '2026-07-17 05:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330699 -2.783412)', '2026-07-17 05:25:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330763 -2.783593)'), GeomFromEWKT('SRID=4674;POINT (-40.330699 -2.783412)'))) / (select extract(epoch from '2026-07-17 05:25:22'::timestamp) - extract(epoch from '2026-07-17 05:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330763 -2.783593)'), GeomFromEWKT('SRID=4674;POINT (-40.330699 -2.783412)'))) / (select extract(epoch from '2026-07-17 05:25:22'::timestamp) - extract(epoch from '2026-07-17 05:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330639 -2.783288)', '2026-07-17 05:25:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330699 -2.783412)'), GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.783288)'))) / (select extract(epoch from '2026-07-17 05:25:29'::timestamp) - extract(epoch from '2026-07-17 05:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330699 -2.783412)'), GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.783288)'))) / (select extract(epoch from '2026-07-17 05:25:29'::timestamp) - extract(epoch from '2026-07-17 05:25: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'), 47804, 'SRID=4674;POINT (-40.330573 -2.783139)', '2026-07-17 05:25:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.783288)'), GeomFromEWKT('SRID=4674;POINT (-40.330573 -2.783139)'))) / (select extract(epoch from '2026-07-17 05:25:37'::timestamp) - extract(epoch from '2026-07-17 05:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330639 -2.783288)'), GeomFromEWKT('SRID=4674;POINT (-40.330573 -2.783139)'))) / (select extract(epoch from '2026-07-17 05:25:37'::timestamp) - extract(epoch from '2026-07-17 05:25: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'), 47804, 'SRID=4674;POINT (-40.3305 -2.782988)', '2026-07-17 05:25:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330573 -2.783139)'), GeomFromEWKT('SRID=4674;POINT (-40.3305 -2.782988)'))) / (select extract(epoch from '2026-07-17 05:25:45'::timestamp) - extract(epoch from '2026-07-17 05:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330573 -2.783139)'), GeomFromEWKT('SRID=4674;POINT (-40.3305 -2.782988)'))) / (select extract(epoch from '2026-07-17 05:25:45'::timestamp) - extract(epoch from '2026-07-17 05:25: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'), 47804, 'SRID=4674;POINT (-40.330429 -2.782823)', '2026-07-17 05:25:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3305 -2.782988)'), GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.782823)'))) / (select extract(epoch from '2026-07-17 05:25:54'::timestamp) - extract(epoch from '2026-07-17 05:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3305 -2.782988)'), GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.782823)'))) / (select extract(epoch from '2026-07-17 05:25:54'::timestamp) - extract(epoch from '2026-07-17 05:25: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'), 47804, 'SRID=4674;POINT (-40.330377 -2.782648)', '2026-07-17 05:26:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.782823)'), GeomFromEWKT('SRID=4674;POINT (-40.330377 -2.782648)'))) / (select extract(epoch from '2026-07-17 05:26:03'::timestamp) - extract(epoch from '2026-07-17 05:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330429 -2.782823)'), GeomFromEWKT('SRID=4674;POINT (-40.330377 -2.782648)'))) / (select extract(epoch from '2026-07-17 05:26:03'::timestamp) - extract(epoch from '2026-07-17 05:25: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'), 47804, 'SRID=4674;POINT (-40.330326 -2.782514)', '2026-07-17 05:26:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330377 -2.782648)'), GeomFromEWKT('SRID=4674;POINT (-40.330326 -2.782514)'))) / (select extract(epoch from '2026-07-17 05:26:11'::timestamp) - extract(epoch from '2026-07-17 05:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330377 -2.782648)'), GeomFromEWKT('SRID=4674;POINT (-40.330326 -2.782514)'))) / (select extract(epoch from '2026-07-17 05:26:11'::timestamp) - extract(epoch from '2026-07-17 05:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330279 -2.782403)', '2026-07-17 05:26:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330326 -2.782514)'), GeomFromEWKT('SRID=4674;POINT (-40.330279 -2.782403)'))) / (select extract(epoch from '2026-07-17 05:26:17'::timestamp) - extract(epoch from '2026-07-17 05:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330326 -2.782514)'), GeomFromEWKT('SRID=4674;POINT (-40.330279 -2.782403)'))) / (select extract(epoch from '2026-07-17 05:26:17'::timestamp) - extract(epoch from '2026-07-17 05:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330205 -2.78224)', '2026-07-17 05:26:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330279 -2.782403)'), GeomFromEWKT('SRID=4674;POINT (-40.330205 -2.78224)'))) / (select extract(epoch from '2026-07-17 05:26:26'::timestamp) - extract(epoch from '2026-07-17 05:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330279 -2.782403)'), GeomFromEWKT('SRID=4674;POINT (-40.330205 -2.78224)'))) / (select extract(epoch from '2026-07-17 05:26:26'::timestamp) - extract(epoch from '2026-07-17 05:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330137 -2.782124)', '2026-07-17 05:26:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330205 -2.78224)'), GeomFromEWKT('SRID=4674;POINT (-40.330137 -2.782124)'))) / (select extract(epoch from '2026-07-17 05:26:33'::timestamp) - extract(epoch from '2026-07-17 05:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330205 -2.78224)'), GeomFromEWKT('SRID=4674;POINT (-40.330137 -2.782124)'))) / (select extract(epoch from '2026-07-17 05:26:33'::timestamp) - extract(epoch from '2026-07-17 05:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.330021 -2.781913)', '2026-07-17 05:26:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330137 -2.782124)'), GeomFromEWKT('SRID=4674;POINT (-40.330021 -2.781913)'))) / (select extract(epoch from '2026-07-17 05:26:45'::timestamp) - extract(epoch from '2026-07-17 05:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330137 -2.782124)'), GeomFromEWKT('SRID=4674;POINT (-40.330021 -2.781913)'))) / (select extract(epoch from '2026-07-17 05:26:45'::timestamp) - extract(epoch from '2026-07-17 05:26: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'), 47804, 'SRID=4674;POINT (-40.32997 -2.781781)', '2026-07-17 05:26:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330021 -2.781913)'), GeomFromEWKT('SRID=4674;POINT (-40.32997 -2.781781)'))) / (select extract(epoch from '2026-07-17 05:26:52'::timestamp) - extract(epoch from '2026-07-17 05:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330021 -2.781913)'), GeomFromEWKT('SRID=4674;POINT (-40.32997 -2.781781)'))) / (select extract(epoch from '2026-07-17 05:26:52'::timestamp) - extract(epoch from '2026-07-17 05:26:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329901 -2.781613)', '2026-07-17 05:27:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32997 -2.781781)'), GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.781613)'))) / (select extract(epoch from '2026-07-17 05:27:01'::timestamp) - extract(epoch from '2026-07-17 05:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32997 -2.781781)'), GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.781613)'))) / (select extract(epoch from '2026-07-17 05:27:01'::timestamp) - extract(epoch from '2026-07-17 05:26: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'), 47804, 'SRID=4674;POINT (-40.329878 -2.781503)', '2026-07-17 05:27:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.781613)'), GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.781503)'))) / (select extract(epoch from '2026-07-17 05:27:07'::timestamp) - extract(epoch from '2026-07-17 05:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329901 -2.781613)'), GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.781503)'))) / (select extract(epoch from '2026-07-17 05:27:07'::timestamp) - extract(epoch from '2026-07-17 05:27: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'), 47804, 'SRID=4674;POINT (-40.329823 -2.781318)', '2026-07-17 05:27:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.781503)'), GeomFromEWKT('SRID=4674;POINT (-40.329823 -2.781318)'))) / (select extract(epoch from '2026-07-17 05:27:16'::timestamp) - extract(epoch from '2026-07-17 05:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329878 -2.781503)'), GeomFromEWKT('SRID=4674;POINT (-40.329823 -2.781318)'))) / (select extract(epoch from '2026-07-17 05:27:16'::timestamp) - extract(epoch from '2026-07-17 05:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329795 -2.781182)', '2026-07-17 05:27:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329823 -2.781318)'), GeomFromEWKT('SRID=4674;POINT (-40.329795 -2.781182)'))) / (select extract(epoch from '2026-07-17 05:27:23'::timestamp) - extract(epoch from '2026-07-17 05:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329823 -2.781318)'), GeomFromEWKT('SRID=4674;POINT (-40.329795 -2.781182)'))) / (select extract(epoch from '2026-07-17 05:27:23'::timestamp) - extract(epoch from '2026-07-17 05:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329761 -2.781048)', '2026-07-17 05:27:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329795 -2.781182)'), GeomFromEWKT('SRID=4674;POINT (-40.329761 -2.781048)'))) / (select extract(epoch from '2026-07-17 05:27:30'::timestamp) - extract(epoch from '2026-07-17 05:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329795 -2.781182)'), GeomFromEWKT('SRID=4674;POINT (-40.329761 -2.781048)'))) / (select extract(epoch from '2026-07-17 05:27:30'::timestamp) - extract(epoch from '2026-07-17 05:27: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'), 47804, 'SRID=4674;POINT (-40.329722 -2.780915)', '2026-07-17 05:27:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329761 -2.781048)'), GeomFromEWKT('SRID=4674;POINT (-40.329722 -2.780915)'))) / (select extract(epoch from '2026-07-17 05:27:37'::timestamp) - extract(epoch from '2026-07-17 05:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329761 -2.781048)'), GeomFromEWKT('SRID=4674;POINT (-40.329722 -2.780915)'))) / (select extract(epoch from '2026-07-17 05:27:37'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.329669 -2.780749)', '2026-07-17 05:27:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329722 -2.780915)'), GeomFromEWKT('SRID=4674;POINT (-40.329669 -2.780749)'))) / (select extract(epoch from '2026-07-17 05:27:45'::timestamp) - extract(epoch from '2026-07-17 05:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329722 -2.780915)'), GeomFromEWKT('SRID=4674;POINT (-40.329669 -2.780749)'))) / (select extract(epoch from '2026-07-17 05:27:45'::timestamp) - extract(epoch from '2026-07-17 05:27: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'), 47804, 'SRID=4674;POINT (-40.32963 -2.780605)', '2026-07-17 05:27:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329669 -2.780749)'), GeomFromEWKT('SRID=4674;POINT (-40.32963 -2.780605)'))) / (select extract(epoch from '2026-07-17 05:27:52'::timestamp) - extract(epoch from '2026-07-17 05:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329669 -2.780749)'), GeomFromEWKT('SRID=4674;POINT (-40.32963 -2.780605)'))) / (select extract(epoch from '2026-07-17 05:27:52'::timestamp) - extract(epoch from '2026-07-17 05:27: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'), 47804, 'SRID=4674;POINT (-40.329591 -2.780448)', '2026-07-17 05:28:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32963 -2.780605)'), GeomFromEWKT('SRID=4674;POINT (-40.329591 -2.780448)'))) / (select extract(epoch from '2026-07-17 05:28:00'::timestamp) - extract(epoch from '2026-07-17 05:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32963 -2.780605)'), GeomFromEWKT('SRID=4674;POINT (-40.329591 -2.780448)'))) / (select extract(epoch from '2026-07-17 05:28:00'::timestamp) - extract(epoch from '2026-07-17 05:27:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329535 -2.780319)', '2026-07-17 05:28:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329591 -2.780448)'), GeomFromEWKT('SRID=4674;POINT (-40.329535 -2.780319)'))) / (select extract(epoch from '2026-07-17 05:28:07'::timestamp) - extract(epoch from '2026-07-17 05:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329591 -2.780448)'), GeomFromEWKT('SRID=4674;POINT (-40.329535 -2.780319)'))) / (select extract(epoch from '2026-07-17 05:28:07'::timestamp) - extract(epoch from '2026-07-17 05:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329474 -2.780174)', '2026-07-17 05:28:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329535 -2.780319)'), GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.780174)'))) / (select extract(epoch from '2026-07-17 05:28:15'::timestamp) - extract(epoch from '2026-07-17 05:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329535 -2.780319)'), GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.780174)'))) / (select extract(epoch from '2026-07-17 05:28:15'::timestamp) - extract(epoch from '2026-07-17 05:28:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329423 -2.779994)', '2026-07-17 05:28:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.780174)'), GeomFromEWKT('SRID=4674;POINT (-40.329423 -2.779994)'))) / (select extract(epoch from '2026-07-17 05:28:24'::timestamp) - extract(epoch from '2026-07-17 05:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329474 -2.780174)'), GeomFromEWKT('SRID=4674;POINT (-40.329423 -2.779994)'))) / (select extract(epoch from '2026-07-17 05:28:24'::timestamp) - extract(epoch from '2026-07-17 05:28: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'), 47804, 'SRID=4674;POINT (-40.329379 -2.779847)', '2026-07-17 05:28:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329423 -2.779994)'), GeomFromEWKT('SRID=4674;POINT (-40.329379 -2.779847)'))) / (select extract(epoch from '2026-07-17 05:28:32'::timestamp) - extract(epoch from '2026-07-17 05:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329423 -2.779994)'), GeomFromEWKT('SRID=4674;POINT (-40.329379 -2.779847)'))) / (select extract(epoch from '2026-07-17 05:28:32'::timestamp) - extract(epoch from '2026-07-17 05:28: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'), 47804, 'SRID=4674;POINT (-40.329317 -2.779656)', '2026-07-17 05:28:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329379 -2.779847)'), GeomFromEWKT('SRID=4674;POINT (-40.329317 -2.779656)'))) / (select extract(epoch from '2026-07-17 05:28:42'::timestamp) - extract(epoch from '2026-07-17 05:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329379 -2.779847)'), GeomFromEWKT('SRID=4674;POINT (-40.329317 -2.779656)'))) / (select extract(epoch from '2026-07-17 05:28:42'::timestamp) - extract(epoch from '2026-07-17 05:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.329289 -2.779526)', '2026-07-17 05:28:49', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329317 -2.779656)'), GeomFromEWKT('SRID=4674;POINT (-40.329289 -2.779526)'))) / (select extract(epoch from '2026-07-17 05:28:49'::timestamp) - extract(epoch from '2026-07-17 05:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329317 -2.779656)'), GeomFromEWKT('SRID=4674;POINT (-40.329289 -2.779526)'))) / (select extract(epoch from '2026-07-17 05:28:49'::timestamp) - extract(epoch from '2026-07-17 05:28: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'), 47804, 'SRID=4674;POINT (-40.329233 -2.779359)', '2026-07-17 05:28:58', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329289 -2.779526)'), GeomFromEWKT('SRID=4674;POINT (-40.329233 -2.779359)'))) / (select extract(epoch from '2026-07-17 05:28:58'::timestamp) - extract(epoch from '2026-07-17 05:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329289 -2.779526)'), GeomFromEWKT('SRID=4674;POINT (-40.329233 -2.779359)'))) / (select extract(epoch from '2026-07-17 05:28:58'::timestamp) - extract(epoch from '2026-07-17 05:28: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'), 47804, 'SRID=4674;POINT (-40.329164 -2.779214)', '2026-07-17 05:29:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329233 -2.779359)'), GeomFromEWKT('SRID=4674;POINT (-40.329164 -2.779214)'))) / (select extract(epoch from '2026-07-17 05:29:06'::timestamp) - extract(epoch from '2026-07-17 05:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329233 -2.779359)'), GeomFromEWKT('SRID=4674;POINT (-40.329164 -2.779214)'))) / (select extract(epoch from '2026-07-17 05:29:06'::timestamp) - extract(epoch from '2026-07-17 05:28: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'), 47804, 'SRID=4674;POINT (-40.32909 -2.779008)', '2026-07-17 05:29:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329164 -2.779214)'), GeomFromEWKT('SRID=4674;POINT (-40.32909 -2.779008)'))) / (select extract(epoch from '2026-07-17 05:29:17'::timestamp) - extract(epoch from '2026-07-17 05:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329164 -2.779214)'), GeomFromEWKT('SRID=4674;POINT (-40.32909 -2.779008)'))) / (select extract(epoch from '2026-07-17 05:29:17'::timestamp) - extract(epoch from '2026-07-17 05:29: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'), 47804, 'SRID=4674;POINT (-40.329039 -2.778839)', '2026-07-17 05:29:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32909 -2.779008)'), GeomFromEWKT('SRID=4674;POINT (-40.329039 -2.778839)'))) / (select extract(epoch from '2026-07-17 05:29:26'::timestamp) - extract(epoch from '2026-07-17 05:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32909 -2.779008)'), GeomFromEWKT('SRID=4674;POINT (-40.329039 -2.778839)'))) / (select extract(epoch from '2026-07-17 05:29:26'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328994 -2.778703)', '2026-07-17 05:29:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329039 -2.778839)'), GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.778703)'))) / (select extract(epoch from '2026-07-17 05:29:34'::timestamp) - extract(epoch from '2026-07-17 05:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329039 -2.778839)'), GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.778703)'))) / (select extract(epoch from '2026-07-17 05:29:34'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328937 -2.778539)', '2026-07-17 05:29:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.778703)'), GeomFromEWKT('SRID=4674;POINT (-40.328937 -2.778539)'))) / (select extract(epoch from '2026-07-17 05:29:43'::timestamp) - extract(epoch from '2026-07-17 05:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328994 -2.778703)'), GeomFromEWKT('SRID=4674;POINT (-40.328937 -2.778539)'))) / (select extract(epoch from '2026-07-17 05:29:43'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328852 -2.77839)', '2026-07-17 05:29:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328937 -2.778539)'), GeomFromEWKT('SRID=4674;POINT (-40.328852 -2.77839)'))) / (select extract(epoch from '2026-07-17 05:29:52'::timestamp) - extract(epoch from '2026-07-17 05:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328937 -2.778539)'), GeomFromEWKT('SRID=4674;POINT (-40.328852 -2.77839)'))) / (select extract(epoch from '2026-07-17 05:29:52'::timestamp) - extract(epoch from '2026-07-17 05:29: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'), 47804, 'SRID=4674;POINT (-40.328793 -2.778226)', '2026-07-17 05:30:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328852 -2.77839)'), GeomFromEWKT('SRID=4674;POINT (-40.328793 -2.778226)'))) / (select extract(epoch from '2026-07-17 05:30:01'::timestamp) - extract(epoch from '2026-07-17 05:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328852 -2.77839)'), GeomFromEWKT('SRID=4674;POINT (-40.328793 -2.778226)'))) / (select extract(epoch from '2026-07-17 05:30:01'::timestamp) - extract(epoch from '2026-07-17 05:29:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328736 -2.778063)', '2026-07-17 05:30:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328793 -2.778226)'), GeomFromEWKT('SRID=4674;POINT (-40.328736 -2.778063)'))) / (select extract(epoch from '2026-07-17 05:30:10'::timestamp) - extract(epoch from '2026-07-17 05:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328793 -2.778226)'), GeomFromEWKT('SRID=4674;POINT (-40.328736 -2.778063)'))) / (select extract(epoch from '2026-07-17 05:30:10'::timestamp) - extract(epoch from '2026-07-17 05:30: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'), 47804, 'SRID=4674;POINT (-40.328709 -2.777912)', '2026-07-17 05:30:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328736 -2.778063)'), GeomFromEWKT('SRID=4674;POINT (-40.328709 -2.777912)'))) / (select extract(epoch from '2026-07-17 05:30:18'::timestamp) - extract(epoch from '2026-07-17 05:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328736 -2.778063)'), GeomFromEWKT('SRID=4674;POINT (-40.328709 -2.777912)'))) / (select extract(epoch from '2026-07-17 05:30:18'::timestamp) - extract(epoch from '2026-07-17 05:30: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'), 47804, 'SRID=4674;POINT (-40.328665 -2.777719)', '2026-07-17 05:30:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328709 -2.777912)'), GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.777719)'))) / (select extract(epoch from '2026-07-17 05:30:27'::timestamp) - extract(epoch from '2026-07-17 05:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328709 -2.777912)'), GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.777719)'))) / (select extract(epoch from '2026-07-17 05:30:27'::timestamp) - extract(epoch from '2026-07-17 05:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328629 -2.777572)', '2026-07-17 05:30:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.777719)'), GeomFromEWKT('SRID=4674;POINT (-40.328629 -2.777572)'))) / (select extract(epoch from '2026-07-17 05:30:35'::timestamp) - extract(epoch from '2026-07-17 05:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328665 -2.777719)'), GeomFromEWKT('SRID=4674;POINT (-40.328629 -2.777572)'))) / (select extract(epoch from '2026-07-17 05:30:35'::timestamp) - extract(epoch from '2026-07-17 05:30:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328599 -2.777449)', '2026-07-17 05:30:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328629 -2.777572)'), GeomFromEWKT('SRID=4674;POINT (-40.328599 -2.777449)'))) / (select extract(epoch from '2026-07-17 05:30:41'::timestamp) - extract(epoch from '2026-07-17 05:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328629 -2.777572)'), GeomFromEWKT('SRID=4674;POINT (-40.328599 -2.777449)'))) / (select extract(epoch from '2026-07-17 05:30:41'::timestamp) - extract(epoch from '2026-07-17 05:30: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'), 47804, 'SRID=4674;POINT (-40.328584 -2.777333)', '2026-07-17 05:30:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328599 -2.777449)'), GeomFromEWKT('SRID=4674;POINT (-40.328584 -2.777333)'))) / (select extract(epoch from '2026-07-17 05:30:47'::timestamp) - extract(epoch from '2026-07-17 05:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328599 -2.777449)'), GeomFromEWKT('SRID=4674;POINT (-40.328584 -2.777333)'))) / (select extract(epoch from '2026-07-17 05:30:47'::timestamp) - extract(epoch from '2026-07-17 05:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328579 -2.777194)', '2026-07-17 05:30:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328584 -2.777333)'), GeomFromEWKT('SRID=4674;POINT (-40.328579 -2.777194)'))) / (select extract(epoch from '2026-07-17 05:30:54'::timestamp) - extract(epoch from '2026-07-17 05:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328584 -2.777333)'), GeomFromEWKT('SRID=4674;POINT (-40.328579 -2.777194)'))) / (select extract(epoch from '2026-07-17 05:30:54'::timestamp) - extract(epoch from '2026-07-17 05:30:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328569 -2.777057)', '2026-07-17 05:31:01', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328579 -2.777194)'), GeomFromEWKT('SRID=4674;POINT (-40.328569 -2.777057)'))) / (select extract(epoch from '2026-07-17 05:31:01'::timestamp) - extract(epoch from '2026-07-17 05:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328579 -2.777194)'), GeomFromEWKT('SRID=4674;POINT (-40.328569 -2.777057)'))) / (select extract(epoch from '2026-07-17 05:31:01'::timestamp) - extract(epoch from '2026-07-17 05:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32856 -2.77687)', '2026-07-17 05:31:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328569 -2.777057)'), GeomFromEWKT('SRID=4674;POINT (-40.32856 -2.77687)'))) / (select extract(epoch from '2026-07-17 05:31:10'::timestamp) - extract(epoch from '2026-07-17 05:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328569 -2.777057)'), GeomFromEWKT('SRID=4674;POINT (-40.32856 -2.77687)'))) / (select extract(epoch from '2026-07-17 05:31:10'::timestamp) - extract(epoch from '2026-07-17 05:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32855 -2.776726)', '2026-07-17 05:31:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32856 -2.77687)'), GeomFromEWKT('SRID=4674;POINT (-40.32855 -2.776726)'))) / (select extract(epoch from '2026-07-17 05:31:17'::timestamp) - extract(epoch from '2026-07-17 05:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32856 -2.77687)'), GeomFromEWKT('SRID=4674;POINT (-40.32855 -2.776726)'))) / (select extract(epoch from '2026-07-17 05:31:17'::timestamp) - extract(epoch from '2026-07-17 05:31: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'), 47804, 'SRID=4674;POINT (-40.328546 -2.776539)', '2026-07-17 05:31:26', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32855 -2.776726)'), GeomFromEWKT('SRID=4674;POINT (-40.328546 -2.776539)'))) / (select extract(epoch from '2026-07-17 05:31:26'::timestamp) - extract(epoch from '2026-07-17 05:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32855 -2.776726)'), GeomFromEWKT('SRID=4674;POINT (-40.328546 -2.776539)'))) / (select extract(epoch from '2026-07-17 05:31:26'::timestamp) - extract(epoch from '2026-07-17 05:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328521 -2.776395)', '2026-07-17 05:31:33', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328546 -2.776539)'), GeomFromEWKT('SRID=4674;POINT (-40.328521 -2.776395)'))) / (select extract(epoch from '2026-07-17 05:31:33'::timestamp) - extract(epoch from '2026-07-17 05:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328546 -2.776539)'), GeomFromEWKT('SRID=4674;POINT (-40.328521 -2.776395)'))) / (select extract(epoch from '2026-07-17 05:31:33'::timestamp) - extract(epoch from '2026-07-17 05:31: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'), 47804, 'SRID=4674;POINT (-40.328504 -2.776277)', '2026-07-17 05:31:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328521 -2.776395)'), GeomFromEWKT('SRID=4674;POINT (-40.328504 -2.776277)'))) / (select extract(epoch from '2026-07-17 05:31:39'::timestamp) - extract(epoch from '2026-07-17 05:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328521 -2.776395)'), GeomFromEWKT('SRID=4674;POINT (-40.328504 -2.776277)'))) / (select extract(epoch from '2026-07-17 05:31:39'::timestamp) - extract(epoch from '2026-07-17 05:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328479 -2.776135)', '2026-07-17 05:31:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328504 -2.776277)'), GeomFromEWKT('SRID=4674;POINT (-40.328479 -2.776135)'))) / (select extract(epoch from '2026-07-17 05:31:46'::timestamp) - extract(epoch from '2026-07-17 05:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328504 -2.776277)'), GeomFromEWKT('SRID=4674;POINT (-40.328479 -2.776135)'))) / (select extract(epoch from '2026-07-17 05:31:46'::timestamp) - extract(epoch from '2026-07-17 05:31: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'), 47804, 'SRID=4674;POINT (-40.328459 -2.775978)', '2026-07-17 05:31:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328479 -2.776135)'), GeomFromEWKT('SRID=4674;POINT (-40.328459 -2.775978)'))) / (select extract(epoch from '2026-07-17 05:31:54'::timestamp) - extract(epoch from '2026-07-17 05:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328479 -2.776135)'), GeomFromEWKT('SRID=4674;POINT (-40.328459 -2.775978)'))) / (select extract(epoch from '2026-07-17 05:31:54'::timestamp) - extract(epoch from '2026-07-17 05:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32843 -2.775817)', '2026-07-17 05:32:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328459 -2.775978)'), GeomFromEWKT('SRID=4674;POINT (-40.32843 -2.775817)'))) / (select extract(epoch from '2026-07-17 05:32:02'::timestamp) - extract(epoch from '2026-07-17 05:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328459 -2.775978)'), GeomFromEWKT('SRID=4674;POINT (-40.32843 -2.775817)'))) / (select extract(epoch from '2026-07-17 05:32:02'::timestamp) - extract(epoch from '2026-07-17 05:31: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'), 47804, 'SRID=4674;POINT (-40.328413 -2.775689)', '2026-07-17 05:32:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32843 -2.775817)'), GeomFromEWKT('SRID=4674;POINT (-40.328413 -2.775689)'))) / (select extract(epoch from '2026-07-17 05:32:09'::timestamp) - extract(epoch from '2026-07-17 05:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32843 -2.775817)'), GeomFromEWKT('SRID=4674;POINT (-40.328413 -2.775689)'))) / (select extract(epoch from '2026-07-17 05:32:09'::timestamp) - extract(epoch from '2026-07-17 05:32: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'), 47804, 'SRID=4674;POINT (-40.328415 -2.77554)', '2026-07-17 05:32:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328413 -2.775689)'), GeomFromEWKT('SRID=4674;POINT (-40.328415 -2.77554)'))) / (select extract(epoch from '2026-07-17 05:32:16'::timestamp) - extract(epoch from '2026-07-17 05:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328413 -2.775689)'), GeomFromEWKT('SRID=4674;POINT (-40.328415 -2.77554)'))) / (select extract(epoch from '2026-07-17 05:32:16'::timestamp) - extract(epoch from '2026-07-17 05:32: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'), 47804, 'SRID=4674;POINT (-40.328417 -2.775387)', '2026-07-17 05:32:24', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328415 -2.77554)'), GeomFromEWKT('SRID=4674;POINT (-40.328417 -2.775387)'))) / (select extract(epoch from '2026-07-17 05:32:24'::timestamp) - extract(epoch from '2026-07-17 05:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328415 -2.77554)'), GeomFromEWKT('SRID=4674;POINT (-40.328417 -2.775387)'))) / (select extract(epoch from '2026-07-17 05:32:24'::timestamp) - extract(epoch from '2026-07-17 05:32: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'), 47804, 'SRID=4674;POINT (-40.328427 -2.775219)', '2026-07-17 05:32:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328417 -2.775387)'), GeomFromEWKT('SRID=4674;POINT (-40.328427 -2.775219)'))) / (select extract(epoch from '2026-07-17 05:32:32'::timestamp) - extract(epoch from '2026-07-17 05:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328417 -2.775387)'), GeomFromEWKT('SRID=4674;POINT (-40.328427 -2.775219)'))) / (select extract(epoch from '2026-07-17 05:32:32'::timestamp) - extract(epoch from '2026-07-17 05:32:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328433 -2.775048)', '2026-07-17 05:32:40', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328427 -2.775219)'), GeomFromEWKT('SRID=4674;POINT (-40.328433 -2.775048)'))) / (select extract(epoch from '2026-07-17 05:32:40'::timestamp) - extract(epoch from '2026-07-17 05:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328427 -2.775219)'), GeomFromEWKT('SRID=4674;POINT (-40.328433 -2.775048)'))) / (select extract(epoch from '2026-07-17 05:32:40'::timestamp) - extract(epoch from '2026-07-17 05:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32842 -2.774891)', '2026-07-17 05:32:48', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328433 -2.775048)'), GeomFromEWKT('SRID=4674;POINT (-40.32842 -2.774891)'))) / (select extract(epoch from '2026-07-17 05:32:48'::timestamp) - extract(epoch from '2026-07-17 05:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328433 -2.775048)'), GeomFromEWKT('SRID=4674;POINT (-40.32842 -2.774891)'))) / (select extract(epoch from '2026-07-17 05:32:48'::timestamp) - extract(epoch from '2026-07-17 05:32:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32841 -2.774739)', '2026-07-17 05:32:56', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32842 -2.774891)'), GeomFromEWKT('SRID=4674;POINT (-40.32841 -2.774739)'))) / (select extract(epoch from '2026-07-17 05:32:56'::timestamp) - extract(epoch from '2026-07-17 05:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32842 -2.774891)'), GeomFromEWKT('SRID=4674;POINT (-40.32841 -2.774739)'))) / (select extract(epoch from '2026-07-17 05:32:56'::timestamp) - extract(epoch from '2026-07-17 05:32: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'), 47804, 'SRID=4674;POINT (-40.328403 -2.774564)', '2026-07-17 05:33:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32841 -2.774739)'), GeomFromEWKT('SRID=4674;POINT (-40.328403 -2.774564)'))) / (select extract(epoch from '2026-07-17 05:33:05'::timestamp) - extract(epoch from '2026-07-17 05:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32841 -2.774739)'), GeomFromEWKT('SRID=4674;POINT (-40.328403 -2.774564)'))) / (select extract(epoch from '2026-07-17 05:33:05'::timestamp) - extract(epoch from '2026-07-17 05:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328363 -2.77436)', '2026-07-17 05:33:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328403 -2.774564)'), GeomFromEWKT('SRID=4674;POINT (-40.328363 -2.77436)'))) / (select extract(epoch from '2026-07-17 05:33:15'::timestamp) - extract(epoch from '2026-07-17 05:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328403 -2.774564)'), GeomFromEWKT('SRID=4674;POINT (-40.328363 -2.77436)'))) / (select extract(epoch from '2026-07-17 05:33:15'::timestamp) - extract(epoch from '2026-07-17 05:33: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'), 47804, 'SRID=4674;POINT (-40.328333 -2.774177)', '2026-07-17 05:33:24', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328363 -2.77436)'), GeomFromEWKT('SRID=4674;POINT (-40.328333 -2.774177)'))) / (select extract(epoch from '2026-07-17 05:33:24'::timestamp) - extract(epoch from '2026-07-17 05:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328363 -2.77436)'), GeomFromEWKT('SRID=4674;POINT (-40.328333 -2.774177)'))) / (select extract(epoch from '2026-07-17 05:33:24'::timestamp) - extract(epoch from '2026-07-17 05:33: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'), 47804, 'SRID=4674;POINT (-40.328279 -2.774006)', '2026-07-17 05:33:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328333 -2.774177)'), GeomFromEWKT('SRID=4674;POINT (-40.328279 -2.774006)'))) / (select extract(epoch from '2026-07-17 05:33:33'::timestamp) - extract(epoch from '2026-07-17 05:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328333 -2.774177)'), GeomFromEWKT('SRID=4674;POINT (-40.328279 -2.774006)'))) / (select extract(epoch from '2026-07-17 05:33:33'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328291 -2.773892)', '2026-07-17 05:33:39', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328279 -2.774006)'), GeomFromEWKT('SRID=4674;POINT (-40.328291 -2.773892)'))) / (select extract(epoch from '2026-07-17 05:33:39'::timestamp) - extract(epoch from '2026-07-17 05:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328279 -2.774006)'), GeomFromEWKT('SRID=4674;POINT (-40.328291 -2.773892)'))) / (select extract(epoch from '2026-07-17 05:33:39'::timestamp) - extract(epoch from '2026-07-17 05:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328379 -2.773808)', '2026-07-17 05:33:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328291 -2.773892)'), GeomFromEWKT('SRID=4674;POINT (-40.328379 -2.773808)'))) / (select extract(epoch from '2026-07-17 05:33:45'::timestamp) - extract(epoch from '2026-07-17 05:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328291 -2.773892)'), GeomFromEWKT('SRID=4674;POINT (-40.328379 -2.773808)'))) / (select extract(epoch from '2026-07-17 05:33:45'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328474 -2.773692)', '2026-07-17 05:33:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328379 -2.773808)'), GeomFromEWKT('SRID=4674;POINT (-40.328474 -2.773692)'))) / (select extract(epoch from '2026-07-17 05:33:52'::timestamp) - extract(epoch from '2026-07-17 05:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328379 -2.773808)'), GeomFromEWKT('SRID=4674;POINT (-40.328474 -2.773692)'))) / (select extract(epoch from '2026-07-17 05:33:52'::timestamp) - extract(epoch from '2026-07-17 05:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328556 -2.773568)', '2026-07-17 05:33:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328474 -2.773692)'), GeomFromEWKT('SRID=4674;POINT (-40.328556 -2.773568)'))) / (select extract(epoch from '2026-07-17 05:33:59'::timestamp) - extract(epoch from '2026-07-17 05:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328474 -2.773692)'), GeomFromEWKT('SRID=4674;POINT (-40.328556 -2.773568)'))) / (select extract(epoch from '2026-07-17 05:33:59'::timestamp) - extract(epoch from '2026-07-17 05:33:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328605 -2.773431)', '2026-07-17 05:34:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328556 -2.773568)'), GeomFromEWKT('SRID=4674;POINT (-40.328605 -2.773431)'))) / (select extract(epoch from '2026-07-17 05:34:06'::timestamp) - extract(epoch from '2026-07-17 05:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328556 -2.773568)'), GeomFromEWKT('SRID=4674;POINT (-40.328605 -2.773431)'))) / (select extract(epoch from '2026-07-17 05:34:06'::timestamp) - extract(epoch from '2026-07-17 05:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328634 -2.773318)', '2026-07-17 05:34:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328605 -2.773431)'), GeomFromEWKT('SRID=4674;POINT (-40.328634 -2.773318)'))) / (select extract(epoch from '2026-07-17 05:34:12'::timestamp) - extract(epoch from '2026-07-17 05:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328605 -2.773431)'), GeomFromEWKT('SRID=4674;POINT (-40.328634 -2.773318)'))) / (select extract(epoch from '2026-07-17 05:34:12'::timestamp) - extract(epoch from '2026-07-17 05:34: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'), 47804, 'SRID=4674;POINT (-40.328627 -2.773185)', '2026-07-17 05:34:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328634 -2.773318)'), GeomFromEWKT('SRID=4674;POINT (-40.328627 -2.773185)'))) / (select extract(epoch from '2026-07-17 05:34:19'::timestamp) - extract(epoch from '2026-07-17 05:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328634 -2.773318)'), GeomFromEWKT('SRID=4674;POINT (-40.328627 -2.773185)'))) / (select extract(epoch from '2026-07-17 05:34:19'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328562 -2.773077)', '2026-07-17 05:34:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328627 -2.773185)'), GeomFromEWKT('SRID=4674;POINT (-40.328562 -2.773077)'))) / (select extract(epoch from '2026-07-17 05:34:26'::timestamp) - extract(epoch from '2026-07-17 05:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328627 -2.773185)'), GeomFromEWKT('SRID=4674;POINT (-40.328562 -2.773077)'))) / (select extract(epoch from '2026-07-17 05:34:26'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328438 -2.773017)', '2026-07-17 05:34:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328562 -2.773077)'), GeomFromEWKT('SRID=4674;POINT (-40.328438 -2.773017)'))) / (select extract(epoch from '2026-07-17 05:34:34'::timestamp) - extract(epoch from '2026-07-17 05:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328562 -2.773077)'), GeomFromEWKT('SRID=4674;POINT (-40.328438 -2.773017)'))) / (select extract(epoch from '2026-07-17 05:34:34'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328367 -2.773016)', '2026-07-17 05:34:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328438 -2.773017)'), GeomFromEWKT('SRID=4674;POINT (-40.328367 -2.773016)'))) / (select extract(epoch from '2026-07-17 05:34:40'::timestamp) - extract(epoch from '2026-07-17 05:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328438 -2.773017)'), GeomFromEWKT('SRID=4674;POINT (-40.328367 -2.773016)'))) / (select extract(epoch from '2026-07-17 05:34:40'::timestamp) - extract(epoch from '2026-07-17 05:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328342 -2.77301)', '2026-07-17 05:34:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328367 -2.773016)'), GeomFromEWKT('SRID=4674;POINT (-40.328342 -2.77301)'))) / (select extract(epoch from '2026-07-17 05:34:48'::timestamp) - extract(epoch from '2026-07-17 05:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328367 -2.773016)'), GeomFromEWKT('SRID=4674;POINT (-40.328342 -2.77301)'))) / (select extract(epoch from '2026-07-17 05:34:48'::timestamp) - extract(epoch from '2026-07-17 05:34:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328348 -2.773014)', '2026-07-17 05:34:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328342 -2.77301)'), GeomFromEWKT('SRID=4674;POINT (-40.328348 -2.773014)'))) / (select extract(epoch from '2026-07-17 05:34:58'::timestamp) - extract(epoch from '2026-07-17 05:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328342 -2.77301)'), GeomFromEWKT('SRID=4674;POINT (-40.328348 -2.773014)'))) / (select extract(epoch from '2026-07-17 05:34:58'::timestamp) - extract(epoch from '2026-07-17 05:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328381 -2.773018)', '2026-07-17 05:35:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328348 -2.773014)'), GeomFromEWKT('SRID=4674;POINT (-40.328381 -2.773018)'))) / (select extract(epoch from '2026-07-17 05:35:11'::timestamp) - extract(epoch from '2026-07-17 05:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328348 -2.773014)'), GeomFromEWKT('SRID=4674;POINT (-40.328381 -2.773018)'))) / (select extract(epoch from '2026-07-17 05:35:11'::timestamp) - extract(epoch from '2026-07-17 05:34: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'), 47804, 'SRID=4674;POINT (-40.328396 -2.77302)', '2026-07-17 05:35:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328381 -2.773018)'), GeomFromEWKT('SRID=4674;POINT (-40.328396 -2.77302)'))) / (select extract(epoch from '2026-07-17 05:35:22'::timestamp) - extract(epoch from '2026-07-17 05:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328381 -2.773018)'), GeomFromEWKT('SRID=4674;POINT (-40.328396 -2.77302)'))) / (select extract(epoch from '2026-07-17 05:35:22'::timestamp) - extract(epoch from '2026-07-17 05:35: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'), 47804, 'SRID=4674;POINT (-40.328404 -2.773014)', '2026-07-17 05:35:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328396 -2.77302)'), GeomFromEWKT('SRID=4674;POINT (-40.328404 -2.773014)'))) / (select extract(epoch from '2026-07-17 05:35:34'::timestamp) - extract(epoch from '2026-07-17 05:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328396 -2.77302)'), GeomFromEWKT('SRID=4674;POINT (-40.328404 -2.773014)'))) / (select extract(epoch from '2026-07-17 05:35:34'::timestamp) - extract(epoch from '2026-07-17 05:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328413 -2.773007)', '2026-07-17 05:35:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328404 -2.773014)'), GeomFromEWKT('SRID=4674;POINT (-40.328413 -2.773007)'))) / (select extract(epoch from '2026-07-17 05:35:43'::timestamp) - extract(epoch from '2026-07-17 05:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328404 -2.773014)'), GeomFromEWKT('SRID=4674;POINT (-40.328413 -2.773007)'))) / (select extract(epoch from '2026-07-17 05:35:43'::timestamp) - extract(epoch from '2026-07-17 05:35: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'), 47804, 'SRID=4674;POINT (-40.328421 -2.772978)', '2026-07-17 05:36:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328413 -2.773007)'), GeomFromEWKT('SRID=4674;POINT (-40.328421 -2.772978)'))) / (select extract(epoch from '2026-07-17 05:36:02'::timestamp) - extract(epoch from '2026-07-17 05:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328413 -2.773007)'), GeomFromEWKT('SRID=4674;POINT (-40.328421 -2.772978)'))) / (select extract(epoch from '2026-07-17 05:36:02'::timestamp) - extract(epoch from '2026-07-17 05:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328425 -2.772948)', '2026-07-17 05:36:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328421 -2.772978)'), GeomFromEWKT('SRID=4674;POINT (-40.328425 -2.772948)'))) / (select extract(epoch from '2026-07-17 05:36:27'::timestamp) - extract(epoch from '2026-07-17 05:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328421 -2.772978)'), GeomFromEWKT('SRID=4674;POINT (-40.328425 -2.772948)'))) / (select extract(epoch from '2026-07-17 05:36:27'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328433 -2.77294)', '2026-07-17 05:36:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328425 -2.772948)'), GeomFromEWKT('SRID=4674;POINT (-40.328433 -2.77294)'))) / (select extract(epoch from '2026-07-17 05:36:53'::timestamp) - extract(epoch from '2026-07-17 05:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328425 -2.772948)'), GeomFromEWKT('SRID=4674;POINT (-40.328433 -2.77294)'))) / (select extract(epoch from '2026-07-17 05:36:53'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328439 -2.772923)', '2026-07-17 05:37:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328433 -2.77294)'), GeomFromEWKT('SRID=4674;POINT (-40.328439 -2.772923)'))) / (select extract(epoch from '2026-07-17 05:37:08'::timestamp) - extract(epoch from '2026-07-17 05:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328433 -2.77294)'), GeomFromEWKT('SRID=4674;POINT (-40.328439 -2.772923)'))) / (select extract(epoch from '2026-07-17 05:37:08'::timestamp) - extract(epoch from '2026-07-17 05:36: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'), 47804, 'SRID=4674;POINT (-40.32845 -2.772918)', '2026-07-17 05:37:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328439 -2.772923)'), GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.772918)'))) / (select extract(epoch from '2026-07-17 05:37:25'::timestamp) - extract(epoch from '2026-07-17 05:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328439 -2.772923)'), GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.772918)'))) / (select extract(epoch from '2026-07-17 05:37:25'::timestamp) - extract(epoch from '2026-07-17 05:37:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328435 -2.772919)', '2026-07-17 05:37:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.772918)'), GeomFromEWKT('SRID=4674;POINT (-40.328435 -2.772919)'))) / (select extract(epoch from '2026-07-17 05:37:34'::timestamp) - extract(epoch from '2026-07-17 05:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32845 -2.772918)'), GeomFromEWKT('SRID=4674;POINT (-40.328435 -2.772919)'))) / (select extract(epoch from '2026-07-17 05:37:34'::timestamp) - extract(epoch from '2026-07-17 05:37: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'), 47804, 'SRID=4674;POINT (-40.328388 -2.772932)', '2026-07-17 05:37:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328435 -2.772919)'), GeomFromEWKT('SRID=4674;POINT (-40.328388 -2.772932)'))) / (select extract(epoch from '2026-07-17 05:37:45'::timestamp) - extract(epoch from '2026-07-17 05:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328435 -2.772919)'), GeomFromEWKT('SRID=4674;POINT (-40.328388 -2.772932)'))) / (select extract(epoch from '2026-07-17 05:37:45'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328361 -2.772932)', '2026-07-17 05:37:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328388 -2.772932)'), GeomFromEWKT('SRID=4674;POINT (-40.328361 -2.772932)'))) / (select extract(epoch from '2026-07-17 05:37:57'::timestamp) - extract(epoch from '2026-07-17 05:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328388 -2.772932)'), GeomFromEWKT('SRID=4674;POINT (-40.328361 -2.772932)'))) / (select extract(epoch from '2026-07-17 05:37:57'::timestamp) - extract(epoch from '2026-07-17 05:37:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328334 -2.772925)', '2026-07-17 05:38:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328361 -2.772932)'), GeomFromEWKT('SRID=4674;POINT (-40.328334 -2.772925)'))) / (select extract(epoch from '2026-07-17 05:38:13'::timestamp) - extract(epoch from '2026-07-17 05:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328361 -2.772932)'), GeomFromEWKT('SRID=4674;POINT (-40.328334 -2.772925)'))) / (select extract(epoch from '2026-07-17 05:38:13'::timestamp) - extract(epoch from '2026-07-17 05:37:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328319 -2.77291)', '2026-07-17 05:38:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328334 -2.772925)'), GeomFromEWKT('SRID=4674;POINT (-40.328319 -2.77291)'))) / (select extract(epoch from '2026-07-17 05:38:27'::timestamp) - extract(epoch from '2026-07-17 05:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328334 -2.772925)'), GeomFromEWKT('SRID=4674;POINT (-40.328319 -2.77291)'))) / (select extract(epoch from '2026-07-17 05:38:27'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328303 -2.772899)', '2026-07-17 05:38:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328319 -2.77291)'), GeomFromEWKT('SRID=4674;POINT (-40.328303 -2.772899)'))) / (select extract(epoch from '2026-07-17 05:38:38'::timestamp) - extract(epoch from '2026-07-17 05:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328319 -2.77291)'), GeomFromEWKT('SRID=4674;POINT (-40.328303 -2.772899)'))) / (select extract(epoch from '2026-07-17 05:38:38'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328281 -2.77289)', '2026-07-17 05:38:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328303 -2.772899)'), GeomFromEWKT('SRID=4674;POINT (-40.328281 -2.77289)'))) / (select extract(epoch from '2026-07-17 05:38:49'::timestamp) - extract(epoch from '2026-07-17 05:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328303 -2.772899)'), GeomFromEWKT('SRID=4674;POINT (-40.328281 -2.77289)'))) / (select extract(epoch from '2026-07-17 05:38:49'::timestamp) - extract(epoch from '2026-07-17 05:38: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'), 47804, 'SRID=4674;POINT (-40.328266 -2.772874)', '2026-07-17 05:38:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328281 -2.77289)'), GeomFromEWKT('SRID=4674;POINT (-40.328266 -2.772874)'))) / (select extract(epoch from '2026-07-17 05:38:58'::timestamp) - extract(epoch from '2026-07-17 05:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328281 -2.77289)'), GeomFromEWKT('SRID=4674;POINT (-40.328266 -2.772874)'))) / (select extract(epoch from '2026-07-17 05:38:58'::timestamp) - extract(epoch from '2026-07-17 05:38:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32824 -2.772839)', '2026-07-17 05:39:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328266 -2.772874)'), GeomFromEWKT('SRID=4674;POINT (-40.32824 -2.772839)'))) / (select extract(epoch from '2026-07-17 05:39:11'::timestamp) - extract(epoch from '2026-07-17 05:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328266 -2.772874)'), GeomFromEWKT('SRID=4674;POINT (-40.32824 -2.772839)'))) / (select extract(epoch from '2026-07-17 05:39:11'::timestamp) - extract(epoch from '2026-07-17 05:38: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'), 47804, 'SRID=4674;POINT (-40.328228 -2.772823)', '2026-07-17 05:39:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32824 -2.772839)'), GeomFromEWKT('SRID=4674;POINT (-40.328228 -2.772823)'))) / (select extract(epoch from '2026-07-17 05:39:20'::timestamp) - extract(epoch from '2026-07-17 05:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32824 -2.772839)'), GeomFromEWKT('SRID=4674;POINT (-40.328228 -2.772823)'))) / (select extract(epoch from '2026-07-17 05:39:20'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328209 -2.772798)', '2026-07-17 05:39:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328228 -2.772823)'), GeomFromEWKT('SRID=4674;POINT (-40.328209 -2.772798)'))) / (select extract(epoch from '2026-07-17 05:39:39'::timestamp) - extract(epoch from '2026-07-17 05:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328228 -2.772823)'), GeomFromEWKT('SRID=4674;POINT (-40.328209 -2.772798)'))) / (select extract(epoch from '2026-07-17 05:39:39'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328186 -2.772775)', '2026-07-17 05:39:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328209 -2.772798)'), GeomFromEWKT('SRID=4674;POINT (-40.328186 -2.772775)'))) / (select extract(epoch from '2026-07-17 05:39:47'::timestamp) - extract(epoch from '2026-07-17 05:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328209 -2.772798)'), GeomFromEWKT('SRID=4674;POINT (-40.328186 -2.772775)'))) / (select extract(epoch from '2026-07-17 05:39:47'::timestamp) - extract(epoch from '2026-07-17 05:39: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'), 47804, 'SRID=4674;POINT (-40.328162 -2.772755)', '2026-07-17 05:39:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328186 -2.772775)'), GeomFromEWKT('SRID=4674;POINT (-40.328162 -2.772755)'))) / (select extract(epoch from '2026-07-17 05:39:58'::timestamp) - extract(epoch from '2026-07-17 05:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328186 -2.772775)'), GeomFromEWKT('SRID=4674;POINT (-40.328162 -2.772755)'))) / (select extract(epoch from '2026-07-17 05:39:58'::timestamp) - extract(epoch from '2026-07-17 05:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328142 -2.77272)', '2026-07-17 05:40:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328162 -2.772755)'), GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.77272)'))) / (select extract(epoch from '2026-07-17 05:40:13'::timestamp) - extract(epoch from '2026-07-17 05:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328162 -2.772755)'), GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.77272)'))) / (select extract(epoch from '2026-07-17 05:40:13'::timestamp) - extract(epoch from '2026-07-17 05:39: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'), 47804, 'SRID=4674;POINT (-40.328133 -2.772704)', '2026-07-17 05:40:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.77272)'), GeomFromEWKT('SRID=4674;POINT (-40.328133 -2.772704)'))) / (select extract(epoch from '2026-07-17 05:40:25'::timestamp) - extract(epoch from '2026-07-17 05:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328142 -2.77272)'), GeomFromEWKT('SRID=4674;POINT (-40.328133 -2.772704)'))) / (select extract(epoch from '2026-07-17 05:40:25'::timestamp) - extract(epoch from '2026-07-17 05:40: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'), 47804, 'SRID=4674;POINT (-40.32811 -2.772679)', '2026-07-17 05:40:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328133 -2.772704)'), GeomFromEWKT('SRID=4674;POINT (-40.32811 -2.772679)'))) / (select extract(epoch from '2026-07-17 05:40:42'::timestamp) - extract(epoch from '2026-07-17 05:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328133 -2.772704)'), GeomFromEWKT('SRID=4674;POINT (-40.32811 -2.772679)'))) / (select extract(epoch from '2026-07-17 05:40:42'::timestamp) - extract(epoch from '2026-07-17 05:40: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'), 47804, 'SRID=4674;POINT (-40.328089 -2.772662)', '2026-07-17 05:40:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32811 -2.772679)'), GeomFromEWKT('SRID=4674;POINT (-40.328089 -2.772662)'))) / (select extract(epoch from '2026-07-17 05:40:57'::timestamp) - extract(epoch from '2026-07-17 05:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32811 -2.772679)'), GeomFromEWKT('SRID=4674;POINT (-40.328089 -2.772662)'))) / (select extract(epoch from '2026-07-17 05:40:57'::timestamp) - extract(epoch from '2026-07-17 05:40: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'), 47804, 'SRID=4674;POINT (-40.328074 -2.77264)', '2026-07-17 05:41:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328089 -2.772662)'), GeomFromEWKT('SRID=4674;POINT (-40.328074 -2.77264)'))) / (select extract(epoch from '2026-07-17 05:41:10'::timestamp) - extract(epoch from '2026-07-17 05:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328089 -2.772662)'), GeomFromEWKT('SRID=4674;POINT (-40.328074 -2.77264)'))) / (select extract(epoch from '2026-07-17 05:41:10'::timestamp) - extract(epoch from '2026-07-17 05:40: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'), 47804, 'SRID=4674;POINT (-40.328047 -2.772603)', '2026-07-17 05:41:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328074 -2.77264)'), GeomFromEWKT('SRID=4674;POINT (-40.328047 -2.772603)'))) / (select extract(epoch from '2026-07-17 05:41:22'::timestamp) - extract(epoch from '2026-07-17 05:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328074 -2.77264)'), GeomFromEWKT('SRID=4674;POINT (-40.328047 -2.772603)'))) / (select extract(epoch from '2026-07-17 05:41:22'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328034 -2.77259)', '2026-07-17 05:41:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328047 -2.772603)'), GeomFromEWKT('SRID=4674;POINT (-40.328034 -2.77259)'))) / (select extract(epoch from '2026-07-17 05:41:35'::timestamp) - extract(epoch from '2026-07-17 05:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328047 -2.772603)'), GeomFromEWKT('SRID=4674;POINT (-40.328034 -2.77259)'))) / (select extract(epoch from '2026-07-17 05:41:35'::timestamp) - extract(epoch from '2026-07-17 05:41: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'), 47804, 'SRID=4674;POINT (-40.328038 -2.772575)', '2026-07-17 05:41:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328034 -2.77259)'), GeomFromEWKT('SRID=4674;POINT (-40.328038 -2.772575)'))) / (select extract(epoch from '2026-07-17 05:41:47'::timestamp) - extract(epoch from '2026-07-17 05:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328034 -2.77259)'), GeomFromEWKT('SRID=4674;POINT (-40.328038 -2.772575)'))) / (select extract(epoch from '2026-07-17 05:41:47'::timestamp) - extract(epoch from '2026-07-17 05:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32802 -2.772553)', '2026-07-17 05:41:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328038 -2.772575)'), GeomFromEWKT('SRID=4674;POINT (-40.32802 -2.772553)'))) / (select extract(epoch from '2026-07-17 05:41:58'::timestamp) - extract(epoch from '2026-07-17 05:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328038 -2.772575)'), GeomFromEWKT('SRID=4674;POINT (-40.32802 -2.772553)'))) / (select extract(epoch from '2026-07-17 05:41:58'::timestamp) - extract(epoch from '2026-07-17 05:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327993 -2.772538)', '2026-07-17 05:42:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32802 -2.772553)'), GeomFromEWKT('SRID=4674;POINT (-40.327993 -2.772538)'))) / (select extract(epoch from '2026-07-17 05:42:12'::timestamp) - extract(epoch from '2026-07-17 05:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32802 -2.772553)'), GeomFromEWKT('SRID=4674;POINT (-40.327993 -2.772538)'))) / (select extract(epoch from '2026-07-17 05:42:12'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.32798 -2.772505)', '2026-07-17 05:42:29', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327993 -2.772538)'), GeomFromEWKT('SRID=4674;POINT (-40.32798 -2.772505)'))) / (select extract(epoch from '2026-07-17 05:42:29'::timestamp) - extract(epoch from '2026-07-17 05:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327993 -2.772538)'), GeomFromEWKT('SRID=4674;POINT (-40.32798 -2.772505)'))) / (select extract(epoch from '2026-07-17 05:42:29'::timestamp) - extract(epoch from '2026-07-17 05:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32796 -2.772493)', '2026-07-17 05:42:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32798 -2.772505)'), GeomFromEWKT('SRID=4674;POINT (-40.32796 -2.772493)'))) / (select extract(epoch from '2026-07-17 05:42:41'::timestamp) - extract(epoch from '2026-07-17 05:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32798 -2.772505)'), GeomFromEWKT('SRID=4674;POINT (-40.32796 -2.772493)'))) / (select extract(epoch from '2026-07-17 05:42:41'::timestamp) - extract(epoch from '2026-07-17 05:42: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'), 47804, 'SRID=4674;POINT (-40.327938 -2.772475)', '2026-07-17 05:42:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32796 -2.772493)'), GeomFromEWKT('SRID=4674;POINT (-40.327938 -2.772475)'))) / (select extract(epoch from '2026-07-17 05:42:53'::timestamp) - extract(epoch from '2026-07-17 05:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32796 -2.772493)'), GeomFromEWKT('SRID=4674;POINT (-40.327938 -2.772475)'))) / (select extract(epoch from '2026-07-17 05:42:53'::timestamp) - extract(epoch from '2026-07-17 05:42: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'), 47804, 'SRID=4674;POINT (-40.327907 -2.772452)', '2026-07-17 05:43:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327938 -2.772475)'), GeomFromEWKT('SRID=4674;POINT (-40.327907 -2.772452)'))) / (select extract(epoch from '2026-07-17 05:43:10'::timestamp) - extract(epoch from '2026-07-17 05:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327938 -2.772475)'), GeomFromEWKT('SRID=4674;POINT (-40.327907 -2.772452)'))) / (select extract(epoch from '2026-07-17 05:43:10'::timestamp) - extract(epoch from '2026-07-17 05:42: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'), 47804, 'SRID=4674;POINT (-40.327903 -2.77244)', '2026-07-17 05:43:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327907 -2.772452)'), GeomFromEWKT('SRID=4674;POINT (-40.327903 -2.77244)'))) / (select extract(epoch from '2026-07-17 05:43:20'::timestamp) - extract(epoch from '2026-07-17 05:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327907 -2.772452)'), GeomFromEWKT('SRID=4674;POINT (-40.327903 -2.77244)'))) / (select extract(epoch from '2026-07-17 05:43:20'::timestamp) - extract(epoch from '2026-07-17 05:43: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'), 47804, 'SRID=4674;POINT (-40.327894 -2.77243)', '2026-07-17 05:43:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327903 -2.77244)'), GeomFromEWKT('SRID=4674;POINT (-40.327894 -2.77243)'))) / (select extract(epoch from '2026-07-17 05:43:28'::timestamp) - extract(epoch from '2026-07-17 05:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327903 -2.77244)'), GeomFromEWKT('SRID=4674;POINT (-40.327894 -2.77243)'))) / (select extract(epoch from '2026-07-17 05:43:28'::timestamp) - extract(epoch from '2026-07-17 05:43:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327878 -2.772417)', '2026-07-17 05:43:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327894 -2.77243)'), GeomFromEWKT('SRID=4674;POINT (-40.327878 -2.772417)'))) / (select extract(epoch from '2026-07-17 05:43:38'::timestamp) - extract(epoch from '2026-07-17 05:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327894 -2.77243)'), GeomFromEWKT('SRID=4674;POINT (-40.327878 -2.772417)'))) / (select extract(epoch from '2026-07-17 05:43:38'::timestamp) - extract(epoch from '2026-07-17 05:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327858 -2.772402)', '2026-07-17 05:43:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327878 -2.772417)'), GeomFromEWKT('SRID=4674;POINT (-40.327858 -2.772402)'))) / (select extract(epoch from '2026-07-17 05:43:49'::timestamp) - extract(epoch from '2026-07-17 05:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327878 -2.772417)'), GeomFromEWKT('SRID=4674;POINT (-40.327858 -2.772402)'))) / (select extract(epoch from '2026-07-17 05:43:49'::timestamp) - extract(epoch from '2026-07-17 05:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327838 -2.772381)', '2026-07-17 05:44:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327858 -2.772402)'), GeomFromEWKT('SRID=4674;POINT (-40.327838 -2.772381)'))) / (select extract(epoch from '2026-07-17 05:44:03'::timestamp) - extract(epoch from '2026-07-17 05:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327858 -2.772402)'), GeomFromEWKT('SRID=4674;POINT (-40.327838 -2.772381)'))) / (select extract(epoch from '2026-07-17 05:44:03'::timestamp) - extract(epoch from '2026-07-17 05:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327821 -2.772362)', '2026-07-17 05:44:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327838 -2.772381)'), GeomFromEWKT('SRID=4674;POINT (-40.327821 -2.772362)'))) / (select extract(epoch from '2026-07-17 05:44:16'::timestamp) - extract(epoch from '2026-07-17 05:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327838 -2.772381)'), GeomFromEWKT('SRID=4674;POINT (-40.327821 -2.772362)'))) / (select extract(epoch from '2026-07-17 05:44:16'::timestamp) - extract(epoch from '2026-07-17 05:44: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'), 47804, 'SRID=4674;POINT (-40.327796 -2.772335)', '2026-07-17 05:44:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327821 -2.772362)'), GeomFromEWKT('SRID=4674;POINT (-40.327796 -2.772335)'))) / (select extract(epoch from '2026-07-17 05:44:30'::timestamp) - extract(epoch from '2026-07-17 05:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327821 -2.772362)'), GeomFromEWKT('SRID=4674;POINT (-40.327796 -2.772335)'))) / (select extract(epoch from '2026-07-17 05:44:30'::timestamp) - extract(epoch from '2026-07-17 05:44: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'), 47804, 'SRID=4674;POINT (-40.327777 -2.77231)', '2026-07-17 05:44:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327796 -2.772335)'), GeomFromEWKT('SRID=4674;POINT (-40.327777 -2.77231)'))) / (select extract(epoch from '2026-07-17 05:44:42'::timestamp) - extract(epoch from '2026-07-17 05:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327796 -2.772335)'), GeomFromEWKT('SRID=4674;POINT (-40.327777 -2.77231)'))) / (select extract(epoch from '2026-07-17 05:44:42'::timestamp) - extract(epoch from '2026-07-17 05:44:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327756 -2.772291)', '2026-07-17 05:44:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327777 -2.77231)'), GeomFromEWKT('SRID=4674;POINT (-40.327756 -2.772291)'))) / (select extract(epoch from '2026-07-17 05:44:52'::timestamp) - extract(epoch from '2026-07-17 05:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327777 -2.77231)'), GeomFromEWKT('SRID=4674;POINT (-40.327756 -2.772291)'))) / (select extract(epoch from '2026-07-17 05:44:52'::timestamp) - extract(epoch from '2026-07-17 05:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327734 -2.772268)', '2026-07-17 05:45:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327756 -2.772291)'), GeomFromEWKT('SRID=4674;POINT (-40.327734 -2.772268)'))) / (select extract(epoch from '2026-07-17 05:45:04'::timestamp) - extract(epoch from '2026-07-17 05:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327756 -2.772291)'), GeomFromEWKT('SRID=4674;POINT (-40.327734 -2.772268)'))) / (select extract(epoch from '2026-07-17 05:45:04'::timestamp) - extract(epoch from '2026-07-17 05:44:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327716 -2.772248)', '2026-07-17 05:45:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327734 -2.772268)'), GeomFromEWKT('SRID=4674;POINT (-40.327716 -2.772248)'))) / (select extract(epoch from '2026-07-17 05:45:15'::timestamp) - extract(epoch from '2026-07-17 05:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327734 -2.772268)'), GeomFromEWKT('SRID=4674;POINT (-40.327716 -2.772248)'))) / (select extract(epoch from '2026-07-17 05:45:15'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.327693 -2.772224)', '2026-07-17 05:45:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327716 -2.772248)'), GeomFromEWKT('SRID=4674;POINT (-40.327693 -2.772224)'))) / (select extract(epoch from '2026-07-17 05:45:27'::timestamp) - extract(epoch from '2026-07-17 05:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327716 -2.772248)'), GeomFromEWKT('SRID=4674;POINT (-40.327693 -2.772224)'))) / (select extract(epoch from '2026-07-17 05:45:27'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.327674 -2.772204)', '2026-07-17 05:45:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327693 -2.772224)'), GeomFromEWKT('SRID=4674;POINT (-40.327674 -2.772204)'))) / (select extract(epoch from '2026-07-17 05:45:37'::timestamp) - extract(epoch from '2026-07-17 05:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327693 -2.772224)'), GeomFromEWKT('SRID=4674;POINT (-40.327674 -2.772204)'))) / (select extract(epoch from '2026-07-17 05:45:37'::timestamp) - extract(epoch from '2026-07-17 05:45: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'), 47804, 'SRID=4674;POINT (-40.327661 -2.772185)', '2026-07-17 05:45:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327674 -2.772204)'), GeomFromEWKT('SRID=4674;POINT (-40.327661 -2.772185)'))) / (select extract(epoch from '2026-07-17 05:45:48'::timestamp) - extract(epoch from '2026-07-17 05:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327674 -2.772204)'), GeomFromEWKT('SRID=4674;POINT (-40.327661 -2.772185)'))) / (select extract(epoch from '2026-07-17 05:45:48'::timestamp) - extract(epoch from '2026-07-17 05:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327636 -2.772163)', '2026-07-17 05:46:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327661 -2.772185)'), GeomFromEWKT('SRID=4674;POINT (-40.327636 -2.772163)'))) / (select extract(epoch from '2026-07-17 05:46:01'::timestamp) - extract(epoch from '2026-07-17 05:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327661 -2.772185)'), GeomFromEWKT('SRID=4674;POINT (-40.327636 -2.772163)'))) / (select extract(epoch from '2026-07-17 05:46:01'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.327619 -2.772145)', '2026-07-17 05:46:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327636 -2.772163)'), GeomFromEWKT('SRID=4674;POINT (-40.327619 -2.772145)'))) / (select extract(epoch from '2026-07-17 05:46:14'::timestamp) - extract(epoch from '2026-07-17 05:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327636 -2.772163)'), GeomFromEWKT('SRID=4674;POINT (-40.327619 -2.772145)'))) / (select extract(epoch from '2026-07-17 05:46:14'::timestamp) - extract(epoch from '2026-07-17 05:46:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327597 -2.772116)', '2026-07-17 05:46:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327619 -2.772145)'), GeomFromEWKT('SRID=4674;POINT (-40.327597 -2.772116)'))) / (select extract(epoch from '2026-07-17 05:46:29'::timestamp) - extract(epoch from '2026-07-17 05:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327619 -2.772145)'), GeomFromEWKT('SRID=4674;POINT (-40.327597 -2.772116)'))) / (select extract(epoch from '2026-07-17 05:46:29'::timestamp) - extract(epoch from '2026-07-17 05:46: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'), 47804, 'SRID=4674;POINT (-40.327575 -2.772079)', '2026-07-17 05:46:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327597 -2.772116)'), GeomFromEWKT('SRID=4674;POINT (-40.327575 -2.772079)'))) / (select extract(epoch from '2026-07-17 05:46:42'::timestamp) - extract(epoch from '2026-07-17 05:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327597 -2.772116)'), GeomFromEWKT('SRID=4674;POINT (-40.327575 -2.772079)'))) / (select extract(epoch from '2026-07-17 05:46:42'::timestamp) - extract(epoch from '2026-07-17 05:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327536 -2.772016)', '2026-07-17 05:47:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327575 -2.772079)'), GeomFromEWKT('SRID=4674;POINT (-40.327536 -2.772016)'))) / (select extract(epoch from '2026-07-17 05:47:10'::timestamp) - extract(epoch from '2026-07-17 05:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327575 -2.772079)'), GeomFromEWKT('SRID=4674;POINT (-40.327536 -2.772016)'))) / (select extract(epoch from '2026-07-17 05:47:10'::timestamp) - extract(epoch from '2026-07-17 05:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327505 -2.771983)', '2026-07-17 05:47:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327536 -2.772016)'), GeomFromEWKT('SRID=4674;POINT (-40.327505 -2.771983)'))) / (select extract(epoch from '2026-07-17 05:47:40'::timestamp) - extract(epoch from '2026-07-17 05:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327536 -2.772016)'), GeomFromEWKT('SRID=4674;POINT (-40.327505 -2.771983)'))) / (select extract(epoch from '2026-07-17 05:47:40'::timestamp) - extract(epoch from '2026-07-17 05:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327471 -2.771931)', '2026-07-17 05:48:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327505 -2.771983)'), GeomFromEWKT('SRID=4674;POINT (-40.327471 -2.771931)'))) / (select extract(epoch from '2026-07-17 05:48:13'::timestamp) - extract(epoch from '2026-07-17 05:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327505 -2.771983)'), GeomFromEWKT('SRID=4674;POINT (-40.327471 -2.771931)'))) / (select extract(epoch from '2026-07-17 05:48:13'::timestamp) - extract(epoch from '2026-07-17 05:47: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'), 47804, 'SRID=4674;POINT (-40.327431 -2.771864)', '2026-07-17 05:48:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327471 -2.771931)'), GeomFromEWKT('SRID=4674;POINT (-40.327431 -2.771864)'))) / (select extract(epoch from '2026-07-17 05:48:41'::timestamp) - extract(epoch from '2026-07-17 05:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327471 -2.771931)'), GeomFromEWKT('SRID=4674;POINT (-40.327431 -2.771864)'))) / (select extract(epoch from '2026-07-17 05:48:41'::timestamp) - extract(epoch from '2026-07-17 05:48: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'), 47804, 'SRID=4674;POINT (-40.327437 -2.771822)', '2026-07-17 05:49:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327431 -2.771864)'), GeomFromEWKT('SRID=4674;POINT (-40.327437 -2.771822)'))) / (select extract(epoch from '2026-07-17 05:49:04'::timestamp) - extract(epoch from '2026-07-17 05:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327431 -2.771864)'), GeomFromEWKT('SRID=4674;POINT (-40.327437 -2.771822)'))) / (select extract(epoch from '2026-07-17 05:49:04'::timestamp) - extract(epoch from '2026-07-17 05:48: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'), 47804, 'SRID=4674;POINT (-40.32752 -2.771807)', '2026-07-17 05:49:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327437 -2.771822)'), GeomFromEWKT('SRID=4674;POINT (-40.32752 -2.771807)'))) / (select extract(epoch from '2026-07-17 05:49:35'::timestamp) - extract(epoch from '2026-07-17 05:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327437 -2.771822)'), GeomFromEWKT('SRID=4674;POINT (-40.32752 -2.771807)'))) / (select extract(epoch from '2026-07-17 05:49:35'::timestamp) - extract(epoch from '2026-07-17 05:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32761 -2.771817)', '2026-07-17 05:50:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32752 -2.771807)'), GeomFromEWKT('SRID=4674;POINT (-40.32761 -2.771817)'))) / (select extract(epoch from '2026-07-17 05:50:12'::timestamp) - extract(epoch from '2026-07-17 05:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32752 -2.771807)'), GeomFromEWKT('SRID=4674;POINT (-40.32761 -2.771817)'))) / (select extract(epoch from '2026-07-17 05:50:12'::timestamp) - extract(epoch from '2026-07-17 05:49: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'), 47804, 'SRID=4674;POINT (-40.327649 -2.771775)', '2026-07-17 05:50:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32761 -2.771817)'), GeomFromEWKT('SRID=4674;POINT (-40.327649 -2.771775)'))) / (select extract(epoch from '2026-07-17 05:50:38'::timestamp) - extract(epoch from '2026-07-17 05:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32761 -2.771817)'), GeomFromEWKT('SRID=4674;POINT (-40.327649 -2.771775)'))) / (select extract(epoch from '2026-07-17 05:50:38'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.327606 -2.77169)', '2026-07-17 05:50:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327649 -2.771775)'), GeomFromEWKT('SRID=4674;POINT (-40.327606 -2.77169)'))) / (select extract(epoch from '2026-07-17 05:50:44'::timestamp) - extract(epoch from '2026-07-17 05:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327649 -2.771775)'), GeomFromEWKT('SRID=4674;POINT (-40.327606 -2.77169)'))) / (select extract(epoch from '2026-07-17 05:50:44'::timestamp) - extract(epoch from '2026-07-17 05:50:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327647 -2.771582)', '2026-07-17 05:50:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327606 -2.77169)'), GeomFromEWKT('SRID=4674;POINT (-40.327647 -2.771582)'))) / (select extract(epoch from '2026-07-17 05:50:50'::timestamp) - extract(epoch from '2026-07-17 05:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327606 -2.77169)'), GeomFromEWKT('SRID=4674;POINT (-40.327647 -2.771582)'))) / (select extract(epoch from '2026-07-17 05:50:50'::timestamp) - extract(epoch from '2026-07-17 05:50: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'), 47804, 'SRID=4674;POINT (-40.327754 -2.771534)', '2026-07-17 05:50:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327647 -2.771582)'), GeomFromEWKT('SRID=4674;POINT (-40.327754 -2.771534)'))) / (select extract(epoch from '2026-07-17 05:50:56'::timestamp) - extract(epoch from '2026-07-17 05:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327647 -2.771582)'), GeomFromEWKT('SRID=4674;POINT (-40.327754 -2.771534)'))) / (select extract(epoch from '2026-07-17 05:50:56'::timestamp) - extract(epoch from '2026-07-17 05:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327939 -2.771488)', '2026-07-17 05:51:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327754 -2.771534)'), GeomFromEWKT('SRID=4674;POINT (-40.327939 -2.771488)'))) / (select extract(epoch from '2026-07-17 05:51:04'::timestamp) - extract(epoch from '2026-07-17 05:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327754 -2.771534)'), GeomFromEWKT('SRID=4674;POINT (-40.327939 -2.771488)'))) / (select extract(epoch from '2026-07-17 05:51:04'::timestamp) - extract(epoch from '2026-07-17 05:50:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328152 -2.771423)', '2026-07-17 05:51:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327939 -2.771488)'), GeomFromEWKT('SRID=4674;POINT (-40.328152 -2.771423)'))) / (select extract(epoch from '2026-07-17 05:51:13'::timestamp) - extract(epoch from '2026-07-17 05:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327939 -2.771488)'), GeomFromEWKT('SRID=4674;POINT (-40.328152 -2.771423)'))) / (select extract(epoch from '2026-07-17 05:51:13'::timestamp) - extract(epoch from '2026-07-17 05:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32826 -2.771331)', '2026-07-17 05:51:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328152 -2.771423)'), GeomFromEWKT('SRID=4674;POINT (-40.32826 -2.771331)'))) / (select extract(epoch from '2026-07-17 05:51:19'::timestamp) - extract(epoch from '2026-07-17 05:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328152 -2.771423)'), GeomFromEWKT('SRID=4674;POINT (-40.32826 -2.771331)'))) / (select extract(epoch from '2026-07-17 05:51:19'::timestamp) - extract(epoch from '2026-07-17 05:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328316 -2.771233)', '2026-07-17 05:51:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32826 -2.771331)'), GeomFromEWKT('SRID=4674;POINT (-40.328316 -2.771233)'))) / (select extract(epoch from '2026-07-17 05:51:24'::timestamp) - extract(epoch from '2026-07-17 05:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32826 -2.771331)'), GeomFromEWKT('SRID=4674;POINT (-40.328316 -2.771233)'))) / (select extract(epoch from '2026-07-17 05:51:24'::timestamp) - extract(epoch from '2026-07-17 05:51: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'), 47804, 'SRID=4674;POINT (-40.328324 -2.771111)', '2026-07-17 05:51:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328316 -2.771233)'), GeomFromEWKT('SRID=4674;POINT (-40.328324 -2.771111)'))) / (select extract(epoch from '2026-07-17 05:51:30'::timestamp) - extract(epoch from '2026-07-17 05:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328316 -2.771233)'), GeomFromEWKT('SRID=4674;POINT (-40.328324 -2.771111)'))) / (select extract(epoch from '2026-07-17 05:51:30'::timestamp) - extract(epoch from '2026-07-17 05:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328256 -2.770973)', '2026-07-17 05:51:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328324 -2.771111)'), GeomFromEWKT('SRID=4674;POINT (-40.328256 -2.770973)'))) / (select extract(epoch from '2026-07-17 05:51:37'::timestamp) - extract(epoch from '2026-07-17 05:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328324 -2.771111)'), GeomFromEWKT('SRID=4674;POINT (-40.328256 -2.770973)'))) / (select extract(epoch from '2026-07-17 05:51:37'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328231 -2.770847)', '2026-07-17 05:51:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328256 -2.770973)'), GeomFromEWKT('SRID=4674;POINT (-40.328231 -2.770847)'))) / (select extract(epoch from '2026-07-17 05:51:43'::timestamp) - extract(epoch from '2026-07-17 05:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328256 -2.770973)'), GeomFromEWKT('SRID=4674;POINT (-40.328231 -2.770847)'))) / (select extract(epoch from '2026-07-17 05:51:43'::timestamp) - extract(epoch from '2026-07-17 05:51:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328243 -2.770716)', '2026-07-17 05:51:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328231 -2.770847)'), GeomFromEWKT('SRID=4674;POINT (-40.328243 -2.770716)'))) / (select extract(epoch from '2026-07-17 05:51:49'::timestamp) - extract(epoch from '2026-07-17 05:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328231 -2.770847)'), GeomFromEWKT('SRID=4674;POINT (-40.328243 -2.770716)'))) / (select extract(epoch from '2026-07-17 05:51:49'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328203 -2.770559)', '2026-07-17 05:51:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328243 -2.770716)'), GeomFromEWKT('SRID=4674;POINT (-40.328203 -2.770559)'))) / (select extract(epoch from '2026-07-17 05:51:57'::timestamp) - extract(epoch from '2026-07-17 05:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328243 -2.770716)'), GeomFromEWKT('SRID=4674;POINT (-40.328203 -2.770559)'))) / (select extract(epoch from '2026-07-17 05:51:57'::timestamp) - extract(epoch from '2026-07-17 05:51: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'), 47804, 'SRID=4674;POINT (-40.328197 -2.770403)', '2026-07-17 05:52:04', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328203 -2.770559)'), GeomFromEWKT('SRID=4674;POINT (-40.328197 -2.770403)'))) / (select extract(epoch from '2026-07-17 05:52:04'::timestamp) - extract(epoch from '2026-07-17 05:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328203 -2.770559)'), GeomFromEWKT('SRID=4674;POINT (-40.328197 -2.770403)'))) / (select extract(epoch from '2026-07-17 05:52:04'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.328197 -2.770253)', '2026-07-17 05:52:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328197 -2.770403)'), GeomFromEWKT('SRID=4674;POINT (-40.328197 -2.770253)'))) / (select extract(epoch from '2026-07-17 05:52:11'::timestamp) - extract(epoch from '2026-07-17 05:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328197 -2.770403)'), GeomFromEWKT('SRID=4674;POINT (-40.328197 -2.770253)'))) / (select extract(epoch from '2026-07-17 05:52:11'::timestamp) - extract(epoch from '2026-07-17 05:52: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'), 47804, 'SRID=4674;POINT (-40.32819 -2.770081)', '2026-07-17 05:52:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328197 -2.770253)'), GeomFromEWKT('SRID=4674;POINT (-40.32819 -2.770081)'))) / (select extract(epoch from '2026-07-17 05:52:19'::timestamp) - extract(epoch from '2026-07-17 05:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328197 -2.770253)'), GeomFromEWKT('SRID=4674;POINT (-40.32819 -2.770081)'))) / (select extract(epoch from '2026-07-17 05:52:19'::timestamp) - extract(epoch from '2026-07-17 05:52:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328272 -2.769954)', '2026-07-17 05:52:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32819 -2.770081)'), GeomFromEWKT('SRID=4674;POINT (-40.328272 -2.769954)'))) / (select extract(epoch from '2026-07-17 05:52:26'::timestamp) - extract(epoch from '2026-07-17 05:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32819 -2.770081)'), GeomFromEWKT('SRID=4674;POINT (-40.328272 -2.769954)'))) / (select extract(epoch from '2026-07-17 05:52:26'::timestamp) - extract(epoch from '2026-07-17 05:52: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'), 47804, 'SRID=4674;POINT (-40.328288 -2.769834)', '2026-07-17 05:52:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328272 -2.769954)'), GeomFromEWKT('SRID=4674;POINT (-40.328288 -2.769834)'))) / (select extract(epoch from '2026-07-17 05:52:32'::timestamp) - extract(epoch from '2026-07-17 05:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328272 -2.769954)'), GeomFromEWKT('SRID=4674;POINT (-40.328288 -2.769834)'))) / (select extract(epoch from '2026-07-17 05:52:32'::timestamp) - extract(epoch from '2026-07-17 05:52: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'), 47804, 'SRID=4674;POINT (-40.328237 -2.769769)', '2026-07-17 05:52:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328288 -2.769834)'), GeomFromEWKT('SRID=4674;POINT (-40.328237 -2.769769)'))) / (select extract(epoch from '2026-07-17 05:52:37'::timestamp) - extract(epoch from '2026-07-17 05:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328288 -2.769834)'), GeomFromEWKT('SRID=4674;POINT (-40.328237 -2.769769)'))) / (select extract(epoch from '2026-07-17 05:52:37'::timestamp) - extract(epoch from '2026-07-17 05:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.328145 -2.769691)', '2026-07-17 05:52:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328237 -2.769769)'), GeomFromEWKT('SRID=4674;POINT (-40.328145 -2.769691)'))) / (select extract(epoch from '2026-07-17 05:52:44'::timestamp) - extract(epoch from '2026-07-17 05:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328237 -2.769769)'), GeomFromEWKT('SRID=4674;POINT (-40.328145 -2.769691)'))) / (select extract(epoch from '2026-07-17 05:52:44'::timestamp) - extract(epoch from '2026-07-17 05:52: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'), 47804, 'SRID=4674;POINT (-40.328083 -2.769592)', '2026-07-17 05:52:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328145 -2.769691)'), GeomFromEWKT('SRID=4674;POINT (-40.328083 -2.769592)'))) / (select extract(epoch from '2026-07-17 05:52:50'::timestamp) - extract(epoch from '2026-07-17 05:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328145 -2.769691)'), GeomFromEWKT('SRID=4674;POINT (-40.328083 -2.769592)'))) / (select extract(epoch from '2026-07-17 05:52:50'::timestamp) - extract(epoch from '2026-07-17 05:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327986 -2.769556)', '2026-07-17 05:52:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328083 -2.769592)'), GeomFromEWKT('SRID=4674;POINT (-40.327986 -2.769556)'))) / (select extract(epoch from '2026-07-17 05:52:56'::timestamp) - extract(epoch from '2026-07-17 05:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328083 -2.769592)'), GeomFromEWKT('SRID=4674;POINT (-40.327986 -2.769556)'))) / (select extract(epoch from '2026-07-17 05:52:56'::timestamp) - extract(epoch from '2026-07-17 05:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327918 -2.769542)', '2026-07-17 05:53:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327986 -2.769556)'), GeomFromEWKT('SRID=4674;POINT (-40.327918 -2.769542)'))) / (select extract(epoch from '2026-07-17 05:53:04'::timestamp) - extract(epoch from '2026-07-17 05:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327986 -2.769556)'), GeomFromEWKT('SRID=4674;POINT (-40.327918 -2.769542)'))) / (select extract(epoch from '2026-07-17 05:53:04'::timestamp) - extract(epoch from '2026-07-17 05:52: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'), 47804, 'SRID=4674;POINT (-40.327901 -2.76954)', '2026-07-17 05:53:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327918 -2.769542)'), GeomFromEWKT('SRID=4674;POINT (-40.327901 -2.76954)'))) / (select extract(epoch from '2026-07-17 05:53:17'::timestamp) - extract(epoch from '2026-07-17 05:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327918 -2.769542)'), GeomFromEWKT('SRID=4674;POINT (-40.327901 -2.76954)'))) / (select extract(epoch from '2026-07-17 05:53:17'::timestamp) - extract(epoch from '2026-07-17 05:53: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'), 47804, 'SRID=4674;POINT (-40.327919 -2.769535)', '2026-07-17 05:53:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327901 -2.76954)'), GeomFromEWKT('SRID=4674;POINT (-40.327919 -2.769535)'))) / (select extract(epoch from '2026-07-17 05:53:34'::timestamp) - extract(epoch from '2026-07-17 05:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327901 -2.76954)'), GeomFromEWKT('SRID=4674;POINT (-40.327919 -2.769535)'))) / (select extract(epoch from '2026-07-17 05:53:34'::timestamp) - extract(epoch from '2026-07-17 05:53: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'), 47804, 'SRID=4674;POINT (-40.327938 -2.769525)', '2026-07-17 05:53:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327919 -2.769535)'), GeomFromEWKT('SRID=4674;POINT (-40.327938 -2.769525)'))) / (select extract(epoch from '2026-07-17 05:53:47'::timestamp) - extract(epoch from '2026-07-17 05:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327919 -2.769535)'), GeomFromEWKT('SRID=4674;POINT (-40.327938 -2.769525)'))) / (select extract(epoch from '2026-07-17 05:53:47'::timestamp) - extract(epoch from '2026-07-17 05:53: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'), 47804, 'SRID=4674;POINT (-40.327946 -2.769517)', '2026-07-17 05:54:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327938 -2.769525)'), GeomFromEWKT('SRID=4674;POINT (-40.327946 -2.769517)'))) / (select extract(epoch from '2026-07-17 05:54:01'::timestamp) - extract(epoch from '2026-07-17 05:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327938 -2.769525)'), GeomFromEWKT('SRID=4674;POINT (-40.327946 -2.769517)'))) / (select extract(epoch from '2026-07-17 05:54:01'::timestamp) - extract(epoch from '2026-07-17 05:53:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327948 -2.769512)', '2026-07-17 05:54:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327946 -2.769517)'), GeomFromEWKT('SRID=4674;POINT (-40.327948 -2.769512)'))) / (select extract(epoch from '2026-07-17 05:54:11'::timestamp) - extract(epoch from '2026-07-17 05:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327946 -2.769517)'), GeomFromEWKT('SRID=4674;POINT (-40.327948 -2.769512)'))) / (select extract(epoch from '2026-07-17 05:54:11'::timestamp) - extract(epoch from '2026-07-17 05:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327954 -2.769503)', '2026-07-17 05:54:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327948 -2.769512)'), GeomFromEWKT('SRID=4674;POINT (-40.327954 -2.769503)'))) / (select extract(epoch from '2026-07-17 05:54:25'::timestamp) - extract(epoch from '2026-07-17 05:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327948 -2.769512)'), GeomFromEWKT('SRID=4674;POINT (-40.327954 -2.769503)'))) / (select extract(epoch from '2026-07-17 05:54:25'::timestamp) - extract(epoch from '2026-07-17 05:54: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'), 47804, 'SRID=4674;POINT (-40.327945 -2.769492)', '2026-07-17 05:54:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327954 -2.769503)'), GeomFromEWKT('SRID=4674;POINT (-40.327945 -2.769492)'))) / (select extract(epoch from '2026-07-17 05:54:42'::timestamp) - extract(epoch from '2026-07-17 05:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327954 -2.769503)'), GeomFromEWKT('SRID=4674;POINT (-40.327945 -2.769492)'))) / (select extract(epoch from '2026-07-17 05:54:42'::timestamp) - extract(epoch from '2026-07-17 05:54: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'), 47804, 'SRID=4674;POINT (-40.327946 -2.769498)', '2026-07-17 05:54:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327945 -2.769492)'), GeomFromEWKT('SRID=4674;POINT (-40.327946 -2.769498)'))) / (select extract(epoch from '2026-07-17 05:54:56'::timestamp) - extract(epoch from '2026-07-17 05:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327945 -2.769492)'), GeomFromEWKT('SRID=4674;POINT (-40.327946 -2.769498)'))) / (select extract(epoch from '2026-07-17 05:54:56'::timestamp) - extract(epoch from '2026-07-17 05:54: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'), 47804, 'SRID=4674;POINT (-40.327933 -2.769486)', '2026-07-17 05:55:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327946 -2.769498)'), GeomFromEWKT('SRID=4674;POINT (-40.327933 -2.769486)'))) / (select extract(epoch from '2026-07-17 05:55:09'::timestamp) - extract(epoch from '2026-07-17 05:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327946 -2.769498)'), GeomFromEWKT('SRID=4674;POINT (-40.327933 -2.769486)'))) / (select extract(epoch from '2026-07-17 05:55:09'::timestamp) - extract(epoch from '2026-07-17 05:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327913 -2.769476)', '2026-07-17 05:55:22', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327933 -2.769486)'), GeomFromEWKT('SRID=4674;POINT (-40.327913 -2.769476)'))) / (select extract(epoch from '2026-07-17 05:55:22'::timestamp) - extract(epoch from '2026-07-17 05:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327933 -2.769486)'), GeomFromEWKT('SRID=4674;POINT (-40.327913 -2.769476)'))) / (select extract(epoch from '2026-07-17 05:55:22'::timestamp) - extract(epoch from '2026-07-17 05:55: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'), 47804, 'SRID=4674;POINT (-40.327868 -2.769495)', '2026-07-17 05:55:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327913 -2.769476)'), GeomFromEWKT('SRID=4674;POINT (-40.327868 -2.769495)'))) / (select extract(epoch from '2026-07-17 05:55:33'::timestamp) - extract(epoch from '2026-07-17 05:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327913 -2.769476)'), GeomFromEWKT('SRID=4674;POINT (-40.327868 -2.769495)'))) / (select extract(epoch from '2026-07-17 05:55:33'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.327845 -2.769497)', '2026-07-17 05:55:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327868 -2.769495)'), GeomFromEWKT('SRID=4674;POINT (-40.327845 -2.769497)'))) / (select extract(epoch from '2026-07-17 05:55:42'::timestamp) - extract(epoch from '2026-07-17 05:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327868 -2.769495)'), GeomFromEWKT('SRID=4674;POINT (-40.327845 -2.769497)'))) / (select extract(epoch from '2026-07-17 05:55:42'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.327799 -2.769502)', '2026-07-17 05:55:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327845 -2.769497)'), GeomFromEWKT('SRID=4674;POINT (-40.327799 -2.769502)'))) / (select extract(epoch from '2026-07-17 05:55:54'::timestamp) - extract(epoch from '2026-07-17 05:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327845 -2.769497)'), GeomFromEWKT('SRID=4674;POINT (-40.327799 -2.769502)'))) / (select extract(epoch from '2026-07-17 05:55:54'::timestamp) - extract(epoch from '2026-07-17 05:55: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'), 47804, 'SRID=4674;POINT (-40.327755 -2.769497)', '2026-07-17 05:56:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327799 -2.769502)'), GeomFromEWKT('SRID=4674;POINT (-40.327755 -2.769497)'))) / (select extract(epoch from '2026-07-17 05:56:05'::timestamp) - extract(epoch from '2026-07-17 05:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327799 -2.769502)'), GeomFromEWKT('SRID=4674;POINT (-40.327755 -2.769497)'))) / (select extract(epoch from '2026-07-17 05:56:05'::timestamp) - extract(epoch from '2026-07-17 05:55: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'), 47804, 'SRID=4674;POINT (-40.327752 -2.769485)', '2026-07-17 05:56:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327755 -2.769497)'), GeomFromEWKT('SRID=4674;POINT (-40.327752 -2.769485)'))) / (select extract(epoch from '2026-07-17 05:56:17'::timestamp) - extract(epoch from '2026-07-17 05:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327755 -2.769497)'), GeomFromEWKT('SRID=4674;POINT (-40.327752 -2.769485)'))) / (select extract(epoch from '2026-07-17 05:56:17'::timestamp) - extract(epoch from '2026-07-17 05:56: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'), 47804, 'SRID=4674;POINT (-40.32776 -2.769466)', '2026-07-17 05:56:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327752 -2.769485)'), GeomFromEWKT('SRID=4674;POINT (-40.32776 -2.769466)'))) / (select extract(epoch from '2026-07-17 05:56:32'::timestamp) - extract(epoch from '2026-07-17 05:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327752 -2.769485)'), GeomFromEWKT('SRID=4674;POINT (-40.32776 -2.769466)'))) / (select extract(epoch from '2026-07-17 05:56:32'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.327767 -2.769459)', '2026-07-17 05:56:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32776 -2.769466)'), GeomFromEWKT('SRID=4674;POINT (-40.327767 -2.769459)'))) / (select extract(epoch from '2026-07-17 05:56:46'::timestamp) - extract(epoch from '2026-07-17 05:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32776 -2.769466)'), GeomFromEWKT('SRID=4674;POINT (-40.327767 -2.769459)'))) / (select extract(epoch from '2026-07-17 05:56:46'::timestamp) - extract(epoch from '2026-07-17 05:56: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'), 47804, 'SRID=4674;POINT (-40.327766 -2.769449)', '2026-07-17 05:57:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327767 -2.769459)'), GeomFromEWKT('SRID=4674;POINT (-40.327766 -2.769449)'))) / (select extract(epoch from '2026-07-17 05:57:00'::timestamp) - extract(epoch from '2026-07-17 05:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327767 -2.769459)'), GeomFromEWKT('SRID=4674;POINT (-40.327766 -2.769449)'))) / (select extract(epoch from '2026-07-17 05:57:00'::timestamp) - extract(epoch from '2026-07-17 05:56: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'), 47804, 'SRID=4674;POINT (-40.327766 -2.769446)', '2026-07-17 05:57:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327766 -2.769449)'), GeomFromEWKT('SRID=4674;POINT (-40.327766 -2.769446)'))) / (select extract(epoch from '2026-07-17 05:57:14'::timestamp) - extract(epoch from '2026-07-17 05:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327766 -2.769449)'), GeomFromEWKT('SRID=4674;POINT (-40.327766 -2.769446)'))) / (select extract(epoch from '2026-07-17 05:57:14'::timestamp) - extract(epoch from '2026-07-17 05:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32777 -2.769445)', '2026-07-17 05:57:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327766 -2.769446)'), GeomFromEWKT('SRID=4674;POINT (-40.32777 -2.769445)'))) / (select extract(epoch from '2026-07-17 05:57:24'::timestamp) - extract(epoch from '2026-07-17 05:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327766 -2.769446)'), GeomFromEWKT('SRID=4674;POINT (-40.32777 -2.769445)'))) / (select extract(epoch from '2026-07-17 05:57:24'::timestamp) - extract(epoch from '2026-07-17 05:57: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'), 47804, 'SRID=4674;POINT (-40.327745 -2.769452)', '2026-07-17 05:57:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32777 -2.769445)'), GeomFromEWKT('SRID=4674;POINT (-40.327745 -2.769452)'))) / (select extract(epoch from '2026-07-17 05:57:36'::timestamp) - extract(epoch from '2026-07-17 05:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32777 -2.769445)'), GeomFromEWKT('SRID=4674;POINT (-40.327745 -2.769452)'))) / (select extract(epoch from '2026-07-17 05:57:36'::timestamp) - extract(epoch from '2026-07-17 05:57: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'), 47804, 'SRID=4674;POINT (-40.327696 -2.769459)', '2026-07-17 05:57:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327745 -2.769452)'), GeomFromEWKT('SRID=4674;POINT (-40.327696 -2.769459)'))) / (select extract(epoch from '2026-07-17 05:57:46'::timestamp) - extract(epoch from '2026-07-17 05:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327745 -2.769452)'), GeomFromEWKT('SRID=4674;POINT (-40.327696 -2.769459)'))) / (select extract(epoch from '2026-07-17 05:57:46'::timestamp) - extract(epoch from '2026-07-17 05:57: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'), 47804, 'SRID=4674;POINT (-40.327677 -2.769464)', '2026-07-17 05:57:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327696 -2.769459)'), GeomFromEWKT('SRID=4674;POINT (-40.327677 -2.769464)'))) / (select extract(epoch from '2026-07-17 05:57:56'::timestamp) - extract(epoch from '2026-07-17 05:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327696 -2.769459)'), GeomFromEWKT('SRID=4674;POINT (-40.327677 -2.769464)'))) / (select extract(epoch from '2026-07-17 05:57:56'::timestamp) - extract(epoch from '2026-07-17 05:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327659 -2.769462)', '2026-07-17 05:58:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327677 -2.769464)'), GeomFromEWKT('SRID=4674;POINT (-40.327659 -2.769462)'))) / (select extract(epoch from '2026-07-17 05:58:08'::timestamp) - extract(epoch from '2026-07-17 05:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327677 -2.769464)'), GeomFromEWKT('SRID=4674;POINT (-40.327659 -2.769462)'))) / (select extract(epoch from '2026-07-17 05:58:08'::timestamp) - extract(epoch from '2026-07-17 05:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327625 -2.769452)', '2026-07-17 05:58:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327659 -2.769462)'), GeomFromEWKT('SRID=4674;POINT (-40.327625 -2.769452)'))) / (select extract(epoch from '2026-07-17 05:58:23'::timestamp) - extract(epoch from '2026-07-17 05:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327659 -2.769462)'), GeomFromEWKT('SRID=4674;POINT (-40.327625 -2.769452)'))) / (select extract(epoch from '2026-07-17 05:58:23'::timestamp) - extract(epoch from '2026-07-17 05:58: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'), 47804, 'SRID=4674;POINT (-40.327601 -2.769453)', '2026-07-17 05:58:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327625 -2.769452)'), GeomFromEWKT('SRID=4674;POINT (-40.327601 -2.769453)'))) / (select extract(epoch from '2026-07-17 05:58:35'::timestamp) - extract(epoch from '2026-07-17 05:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327625 -2.769452)'), GeomFromEWKT('SRID=4674;POINT (-40.327601 -2.769453)'))) / (select extract(epoch from '2026-07-17 05:58:35'::timestamp) - extract(epoch from '2026-07-17 05:58: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'), 47804, 'SRID=4674;POINT (-40.327578 -2.769452)', '2026-07-17 05:58:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327601 -2.769453)'), GeomFromEWKT('SRID=4674;POINT (-40.327578 -2.769452)'))) / (select extract(epoch from '2026-07-17 05:58:48'::timestamp) - extract(epoch from '2026-07-17 05:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327601 -2.769453)'), GeomFromEWKT('SRID=4674;POINT (-40.327578 -2.769452)'))) / (select extract(epoch from '2026-07-17 05:58:48'::timestamp) - extract(epoch from '2026-07-17 05:58: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'), 47804, 'SRID=4674;POINT (-40.327564 -2.769437)', '2026-07-17 05:59:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327578 -2.769452)'), GeomFromEWKT('SRID=4674;POINT (-40.327564 -2.769437)'))) / (select extract(epoch from '2026-07-17 05:59:00'::timestamp) - extract(epoch from '2026-07-17 05:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327578 -2.769452)'), GeomFromEWKT('SRID=4674;POINT (-40.327564 -2.769437)'))) / (select extract(epoch from '2026-07-17 05:59:00'::timestamp) - extract(epoch from '2026-07-17 05:58: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'), 47804, 'SRID=4674;POINT (-40.327563 -2.769422)', '2026-07-17 05:59:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327564 -2.769437)'), GeomFromEWKT('SRID=4674;POINT (-40.327563 -2.769422)'))) / (select extract(epoch from '2026-07-17 05:59:14'::timestamp) - extract(epoch from '2026-07-17 05:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327564 -2.769437)'), GeomFromEWKT('SRID=4674;POINT (-40.327563 -2.769422)'))) / (select extract(epoch from '2026-07-17 05:59:14'::timestamp) - extract(epoch from '2026-07-17 05:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327521 -2.769418)', '2026-07-17 05:59:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327563 -2.769422)'), GeomFromEWKT('SRID=4674;POINT (-40.327521 -2.769418)'))) / (select extract(epoch from '2026-07-17 05:59:26'::timestamp) - extract(epoch from '2026-07-17 05:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327563 -2.769422)'), GeomFromEWKT('SRID=4674;POINT (-40.327521 -2.769418)'))) / (select extract(epoch from '2026-07-17 05:59:26'::timestamp) - extract(epoch from '2026-07-17 05:59: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'), 47804, 'SRID=4674;POINT (-40.327476 -2.769403)', '2026-07-17 05:59:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327521 -2.769418)'), GeomFromEWKT('SRID=4674;POINT (-40.327476 -2.769403)'))) / (select extract(epoch from '2026-07-17 05:59:38'::timestamp) - extract(epoch from '2026-07-17 05:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327521 -2.769418)'), GeomFromEWKT('SRID=4674;POINT (-40.327476 -2.769403)'))) / (select extract(epoch from '2026-07-17 05:59:38'::timestamp) - extract(epoch from '2026-07-17 05:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327454 -2.769386)', '2026-07-17 05:59:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327476 -2.769403)'), GeomFromEWKT('SRID=4674;POINT (-40.327454 -2.769386)'))) / (select extract(epoch from '2026-07-17 05:59:50'::timestamp) - extract(epoch from '2026-07-17 05:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327476 -2.769403)'), GeomFromEWKT('SRID=4674;POINT (-40.327454 -2.769386)'))) / (select extract(epoch from '2026-07-17 05:59:50'::timestamp) - extract(epoch from '2026-07-17 05:59: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'), 47804, 'SRID=4674;POINT (-40.327448 -2.769371)', '2026-07-17 06:00:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327454 -2.769386)'), GeomFromEWKT('SRID=4674;POINT (-40.327448 -2.769371)'))) / (select extract(epoch from '2026-07-17 06:00:04'::timestamp) - extract(epoch from '2026-07-17 05:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327454 -2.769386)'), GeomFromEWKT('SRID=4674;POINT (-40.327448 -2.769371)'))) / (select extract(epoch from '2026-07-17 06:00:04'::timestamp) - extract(epoch from '2026-07-17 05: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'), 47804, 'SRID=4674;POINT (-40.327438 -2.769358)', '2026-07-17 06:00:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327448 -2.769371)'), GeomFromEWKT('SRID=4674;POINT (-40.327438 -2.769358)'))) / (select extract(epoch from '2026-07-17 06:00:18'::timestamp) - extract(epoch from '2026-07-17 06:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327448 -2.769371)'), GeomFromEWKT('SRID=4674;POINT (-40.327438 -2.769358)'))) / (select extract(epoch from '2026-07-17 06:00:18'::timestamp) - extract(epoch from '2026-07-17 06:00: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'), 47804, 'SRID=4674;POINT (-40.327413 -2.769347)', '2026-07-17 06:00:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327438 -2.769358)'), GeomFromEWKT('SRID=4674;POINT (-40.327413 -2.769347)'))) / (select extract(epoch from '2026-07-17 06:00:39'::timestamp) - extract(epoch from '2026-07-17 06:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327438 -2.769358)'), GeomFromEWKT('SRID=4674;POINT (-40.327413 -2.769347)'))) / (select extract(epoch from '2026-07-17 06:00:39'::timestamp) - extract(epoch from '2026-07-17 06:00: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'), 47804, 'SRID=4674;POINT (-40.327403 -2.769343)', '2026-07-17 06:00:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327413 -2.769347)'), GeomFromEWKT('SRID=4674;POINT (-40.327403 -2.769343)'))) / (select extract(epoch from '2026-07-17 06:00:53'::timestamp) - extract(epoch from '2026-07-17 06:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327413 -2.769347)'), GeomFromEWKT('SRID=4674;POINT (-40.327403 -2.769343)'))) / (select extract(epoch from '2026-07-17 06:00:53'::timestamp) - extract(epoch from '2026-07-17 06: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'), 47804, 'SRID=4674;POINT (-40.32739 -2.769353)', '2026-07-17 06:01:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327403 -2.769343)'), GeomFromEWKT('SRID=4674;POINT (-40.32739 -2.769353)'))) / (select extract(epoch from '2026-07-17 06:01:08'::timestamp) - extract(epoch from '2026-07-17 06:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327403 -2.769343)'), GeomFromEWKT('SRID=4674;POINT (-40.32739 -2.769353)'))) / (select extract(epoch from '2026-07-17 06:01:08'::timestamp) - extract(epoch from '2026-07-17 06:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327377 -2.769336)', '2026-07-17 06:01:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32739 -2.769353)'), GeomFromEWKT('SRID=4674;POINT (-40.327377 -2.769336)'))) / (select extract(epoch from '2026-07-17 06:01:23'::timestamp) - extract(epoch from '2026-07-17 06:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32739 -2.769353)'), GeomFromEWKT('SRID=4674;POINT (-40.327377 -2.769336)'))) / (select extract(epoch from '2026-07-17 06:01:23'::timestamp) - extract(epoch from '2026-07-17 06: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'), 47804, 'SRID=4674;POINT (-40.327348 -2.76932)', '2026-07-17 06:01:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327377 -2.769336)'), GeomFromEWKT('SRID=4674;POINT (-40.327348 -2.76932)'))) / (select extract(epoch from '2026-07-17 06:01:36'::timestamp) - extract(epoch from '2026-07-17 06:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327377 -2.769336)'), GeomFromEWKT('SRID=4674;POINT (-40.327348 -2.76932)'))) / (select extract(epoch from '2026-07-17 06:01:36'::timestamp) - extract(epoch from '2026-07-17 06: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'), 47804, 'SRID=4674;POINT (-40.327316 -2.769304)', '2026-07-17 06:01:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327348 -2.76932)'), GeomFromEWKT('SRID=4674;POINT (-40.327316 -2.769304)'))) / (select extract(epoch from '2026-07-17 06:01:48'::timestamp) - extract(epoch from '2026-07-17 06:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327348 -2.76932)'), GeomFromEWKT('SRID=4674;POINT (-40.327316 -2.769304)'))) / (select extract(epoch from '2026-07-17 06:01:48'::timestamp) - extract(epoch from '2026-07-17 06:01:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327304 -2.769289)', '2026-07-17 06:02:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327316 -2.769304)'), GeomFromEWKT('SRID=4674;POINT (-40.327304 -2.769289)'))) / (select extract(epoch from '2026-07-17 06:02:05'::timestamp) - extract(epoch from '2026-07-17 06:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327316 -2.769304)'), GeomFromEWKT('SRID=4674;POINT (-40.327304 -2.769289)'))) / (select extract(epoch from '2026-07-17 06:02:05'::timestamp) - extract(epoch from '2026-07-17 06:01:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327312 -2.769286)', '2026-07-17 06:02:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327304 -2.769289)'), GeomFromEWKT('SRID=4674;POINT (-40.327312 -2.769286)'))) / (select extract(epoch from '2026-07-17 06:02:21'::timestamp) - extract(epoch from '2026-07-17 06:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327304 -2.769289)'), GeomFromEWKT('SRID=4674;POINT (-40.327312 -2.769286)'))) / (select extract(epoch from '2026-07-17 06:02:21'::timestamp) - extract(epoch from '2026-07-17 06:02: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'), 47804, 'SRID=4674;POINT (-40.327317 -2.769271)', '2026-07-17 06:02:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327312 -2.769286)'), GeomFromEWKT('SRID=4674;POINT (-40.327317 -2.769271)'))) / (select extract(epoch from '2026-07-17 06:02:34'::timestamp) - extract(epoch from '2026-07-17 06:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327312 -2.769286)'), GeomFromEWKT('SRID=4674;POINT (-40.327317 -2.769271)'))) / (select extract(epoch from '2026-07-17 06:02:34'::timestamp) - extract(epoch from '2026-07-17 06: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'), 47804, 'SRID=4674;POINT (-40.327313 -2.769259)', '2026-07-17 06:02:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327317 -2.769271)'), GeomFromEWKT('SRID=4674;POINT (-40.327313 -2.769259)'))) / (select extract(epoch from '2026-07-17 06:02:50'::timestamp) - extract(epoch from '2026-07-17 06:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327317 -2.769271)'), GeomFromEWKT('SRID=4674;POINT (-40.327313 -2.769259)'))) / (select extract(epoch from '2026-07-17 06:02:50'::timestamp) - extract(epoch from '2026-07-17 06:02: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'), 47804, 'SRID=4674;POINT (-40.327282 -2.769269)', '2026-07-17 06:03:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327313 -2.769259)'), GeomFromEWKT('SRID=4674;POINT (-40.327282 -2.769269)'))) / (select extract(epoch from '2026-07-17 06:03:02'::timestamp) - extract(epoch from '2026-07-17 06:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327313 -2.769259)'), GeomFromEWKT('SRID=4674;POINT (-40.327282 -2.769269)'))) / (select extract(epoch from '2026-07-17 06:03:02'::timestamp) - extract(epoch from '2026-07-17 06:02: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'), 47804, 'SRID=4674;POINT (-40.327255 -2.769281)', '2026-07-17 06:03:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327282 -2.769269)'), GeomFromEWKT('SRID=4674;POINT (-40.327255 -2.769281)'))) / (select extract(epoch from '2026-07-17 06:03:10'::timestamp) - extract(epoch from '2026-07-17 06:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327282 -2.769269)'), GeomFromEWKT('SRID=4674;POINT (-40.327255 -2.769281)'))) / (select extract(epoch from '2026-07-17 06:03:10'::timestamp) - extract(epoch from '2026-07-17 06:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327216 -2.769315)', '2026-07-17 06:03:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327255 -2.769281)'), GeomFromEWKT('SRID=4674;POINT (-40.327216 -2.769315)'))) / (select extract(epoch from '2026-07-17 06:03:24'::timestamp) - extract(epoch from '2026-07-17 06:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327255 -2.769281)'), GeomFromEWKT('SRID=4674;POINT (-40.327216 -2.769315)'))) / (select extract(epoch from '2026-07-17 06:03:24'::timestamp) - extract(epoch from '2026-07-17 06:03: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'), 47804, 'SRID=4674;POINT (-40.327201 -2.769354)', '2026-07-17 06:03:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327216 -2.769315)'), GeomFromEWKT('SRID=4674;POINT (-40.327201 -2.769354)'))) / (select extract(epoch from '2026-07-17 06:03:35'::timestamp) - extract(epoch from '2026-07-17 06:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327216 -2.769315)'), GeomFromEWKT('SRID=4674;POINT (-40.327201 -2.769354)'))) / (select extract(epoch from '2026-07-17 06:03:35'::timestamp) - extract(epoch from '2026-07-17 06:03: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'), 47804, 'SRID=4674;POINT (-40.327189 -2.769378)', '2026-07-17 06:03:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327201 -2.769354)'), GeomFromEWKT('SRID=4674;POINT (-40.327189 -2.769378)'))) / (select extract(epoch from '2026-07-17 06:03:45'::timestamp) - extract(epoch from '2026-07-17 06:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327201 -2.769354)'), GeomFromEWKT('SRID=4674;POINT (-40.327189 -2.769378)'))) / (select extract(epoch from '2026-07-17 06:03:45'::timestamp) - extract(epoch from '2026-07-17 06:03: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'), 47804, 'SRID=4674;POINT (-40.327173 -2.769395)', '2026-07-17 06:04:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327189 -2.769378)'), GeomFromEWKT('SRID=4674;POINT (-40.327173 -2.769395)'))) / (select extract(epoch from '2026-07-17 06:04:00'::timestamp) - extract(epoch from '2026-07-17 06:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327189 -2.769378)'), GeomFromEWKT('SRID=4674;POINT (-40.327173 -2.769395)'))) / (select extract(epoch from '2026-07-17 06:04:00'::timestamp) - extract(epoch from '2026-07-17 06:03:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327164 -2.769423)', '2026-07-17 06:04:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327173 -2.769395)'), GeomFromEWKT('SRID=4674;POINT (-40.327164 -2.769423)'))) / (select extract(epoch from '2026-07-17 06:04:17'::timestamp) - extract(epoch from '2026-07-17 06:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327173 -2.769395)'), GeomFromEWKT('SRID=4674;POINT (-40.327164 -2.769423)'))) / (select extract(epoch from '2026-07-17 06:04:17'::timestamp) - extract(epoch from '2026-07-17 06:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327135 -2.76943)', '2026-07-17 06:04:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327164 -2.769423)'), GeomFromEWKT('SRID=4674;POINT (-40.327135 -2.76943)'))) / (select extract(epoch from '2026-07-17 06:04:28'::timestamp) - extract(epoch from '2026-07-17 06:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327164 -2.769423)'), GeomFromEWKT('SRID=4674;POINT (-40.327135 -2.76943)'))) / (select extract(epoch from '2026-07-17 06:04:28'::timestamp) - extract(epoch from '2026-07-17 06:04: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'), 47804, 'SRID=4674;POINT (-40.327117 -2.76945)', '2026-07-17 06:04:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327135 -2.76943)'), GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.76945)'))) / (select extract(epoch from '2026-07-17 06:04:38'::timestamp) - extract(epoch from '2026-07-17 06:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327135 -2.76943)'), GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.76945)'))) / (select extract(epoch from '2026-07-17 06:04:38'::timestamp) - extract(epoch from '2026-07-17 06:04: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'), 47804, 'SRID=4674;POINT (-40.32711 -2.769466)', '2026-07-17 06:04:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.76945)'), GeomFromEWKT('SRID=4674;POINT (-40.32711 -2.769466)'))) / (select extract(epoch from '2026-07-17 06:04:48'::timestamp) - extract(epoch from '2026-07-17 06:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.76945)'), GeomFromEWKT('SRID=4674;POINT (-40.32711 -2.769466)'))) / (select extract(epoch from '2026-07-17 06:04:48'::timestamp) - extract(epoch from '2026-07-17 06:04: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'), 47804, 'SRID=4674;POINT (-40.327109 -2.769487)', '2026-07-17 06:05:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32711 -2.769466)'), GeomFromEWKT('SRID=4674;POINT (-40.327109 -2.769487)'))) / (select extract(epoch from '2026-07-17 06:05:01'::timestamp) - extract(epoch from '2026-07-17 06:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32711 -2.769466)'), GeomFromEWKT('SRID=4674;POINT (-40.327109 -2.769487)'))) / (select extract(epoch from '2026-07-17 06:05:01'::timestamp) - extract(epoch from '2026-07-17 06:04: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'), 47804, 'SRID=4674;POINT (-40.327087 -2.769502)', '2026-07-17 06:05:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327109 -2.769487)'), GeomFromEWKT('SRID=4674;POINT (-40.327087 -2.769502)'))) / (select extract(epoch from '2026-07-17 06:05:12'::timestamp) - extract(epoch from '2026-07-17 06:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327109 -2.769487)'), GeomFromEWKT('SRID=4674;POINT (-40.327087 -2.769502)'))) / (select extract(epoch from '2026-07-17 06:05:12'::timestamp) - extract(epoch from '2026-07-17 06:05: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'), 47804, 'SRID=4674;POINT (-40.32707 -2.769514)', '2026-07-17 06:05:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327087 -2.769502)'), GeomFromEWKT('SRID=4674;POINT (-40.32707 -2.769514)'))) / (select extract(epoch from '2026-07-17 06:05:23'::timestamp) - extract(epoch from '2026-07-17 06:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327087 -2.769502)'), GeomFromEWKT('SRID=4674;POINT (-40.32707 -2.769514)'))) / (select extract(epoch from '2026-07-17 06:05:23'::timestamp) - extract(epoch from '2026-07-17 06:05: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'), 47804, 'SRID=4674;POINT (-40.327046 -2.769521)', '2026-07-17 06:05:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32707 -2.769514)'), GeomFromEWKT('SRID=4674;POINT (-40.327046 -2.769521)'))) / (select extract(epoch from '2026-07-17 06:05:35'::timestamp) - extract(epoch from '2026-07-17 06:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32707 -2.769514)'), GeomFromEWKT('SRID=4674;POINT (-40.327046 -2.769521)'))) / (select extract(epoch from '2026-07-17 06:05:35'::timestamp) - extract(epoch from '2026-07-17 06:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327021 -2.76953)', '2026-07-17 06:05:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327046 -2.769521)'), GeomFromEWKT('SRID=4674;POINT (-40.327021 -2.76953)'))) / (select extract(epoch from '2026-07-17 06:05:45'::timestamp) - extract(epoch from '2026-07-17 06:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327046 -2.769521)'), GeomFromEWKT('SRID=4674;POINT (-40.327021 -2.76953)'))) / (select extract(epoch from '2026-07-17 06:05:45'::timestamp) - extract(epoch from '2026-07-17 06:05: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'), 47804, 'SRID=4674;POINT (-40.326993 -2.769555)', '2026-07-17 06:05:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327021 -2.76953)'), GeomFromEWKT('SRID=4674;POINT (-40.326993 -2.769555)'))) / (select extract(epoch from '2026-07-17 06:05:58'::timestamp) - extract(epoch from '2026-07-17 06:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327021 -2.76953)'), GeomFromEWKT('SRID=4674;POINT (-40.326993 -2.769555)'))) / (select extract(epoch from '2026-07-17 06:05:58'::timestamp) - extract(epoch from '2026-07-17 06:05:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326977 -2.769581)', '2026-07-17 06:06:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326993 -2.769555)'), GeomFromEWKT('SRID=4674;POINT (-40.326977 -2.769581)'))) / (select extract(epoch from '2026-07-17 06:06:08'::timestamp) - extract(epoch from '2026-07-17 06:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326993 -2.769555)'), GeomFromEWKT('SRID=4674;POINT (-40.326977 -2.769581)'))) / (select extract(epoch from '2026-07-17 06:06:08'::timestamp) - extract(epoch from '2026-07-17 06:05: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'), 47804, 'SRID=4674;POINT (-40.326969 -2.769603)', '2026-07-17 06:06:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326977 -2.769581)'), GeomFromEWKT('SRID=4674;POINT (-40.326969 -2.769603)'))) / (select extract(epoch from '2026-07-17 06:06:21'::timestamp) - extract(epoch from '2026-07-17 06:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326977 -2.769581)'), GeomFromEWKT('SRID=4674;POINT (-40.326969 -2.769603)'))) / (select extract(epoch from '2026-07-17 06:06:21'::timestamp) - extract(epoch from '2026-07-17 06:06: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'), 47804, 'SRID=4674;POINT (-40.326946 -2.769616)', '2026-07-17 06:06:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326969 -2.769603)'), GeomFromEWKT('SRID=4674;POINT (-40.326946 -2.769616)'))) / (select extract(epoch from '2026-07-17 06:06:35'::timestamp) - extract(epoch from '2026-07-17 06:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326969 -2.769603)'), GeomFromEWKT('SRID=4674;POINT (-40.326946 -2.769616)'))) / (select extract(epoch from '2026-07-17 06:06:35'::timestamp) - extract(epoch from '2026-07-17 06:06: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'), 47804, 'SRID=4674;POINT (-40.326895 -2.769641)', '2026-07-17 06:06:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326946 -2.769616)'), GeomFromEWKT('SRID=4674;POINT (-40.326895 -2.769641)'))) / (select extract(epoch from '2026-07-17 06:06:53'::timestamp) - extract(epoch from '2026-07-17 06:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326946 -2.769616)'), GeomFromEWKT('SRID=4674;POINT (-40.326895 -2.769641)'))) / (select extract(epoch from '2026-07-17 06:06:53'::timestamp) - extract(epoch from '2026-07-17 06:06:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326837 -2.769665)', '2026-07-17 06:07:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326895 -2.769641)'), GeomFromEWKT('SRID=4674;POINT (-40.326837 -2.769665)'))) / (select extract(epoch from '2026-07-17 06:07:11'::timestamp) - extract(epoch from '2026-07-17 06:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326895 -2.769641)'), GeomFromEWKT('SRID=4674;POINT (-40.326837 -2.769665)'))) / (select extract(epoch from '2026-07-17 06:07:11'::timestamp) - extract(epoch from '2026-07-17 06:06:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326746 -2.7697)', '2026-07-17 06:07:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326837 -2.769665)'), GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.7697)'))) / (select extract(epoch from '2026-07-17 06:07:31'::timestamp) - extract(epoch from '2026-07-17 06:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326837 -2.769665)'), GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.7697)'))) / (select extract(epoch from '2026-07-17 06:07:31'::timestamp) - extract(epoch from '2026-07-17 06:07: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'), 47804, 'SRID=4674;POINT (-40.326709 -2.769719)', '2026-07-17 06:07:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.7697)'), GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.769719)'))) / (select extract(epoch from '2026-07-17 06:07:43'::timestamp) - extract(epoch from '2026-07-17 06:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326746 -2.7697)'), GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.769719)'))) / (select extract(epoch from '2026-07-17 06:07:43'::timestamp) - extract(epoch from '2026-07-17 06:07: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'), 47804, 'SRID=4674;POINT (-40.326699 -2.769715)', '2026-07-17 06:07:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.769719)'), GeomFromEWKT('SRID=4674;POINT (-40.326699 -2.769715)'))) / (select extract(epoch from '2026-07-17 06:07:49'::timestamp) - extract(epoch from '2026-07-17 06:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326709 -2.769719)'), GeomFromEWKT('SRID=4674;POINT (-40.326699 -2.769715)'))) / (select extract(epoch from '2026-07-17 06:07:49'::timestamp) - extract(epoch from '2026-07-17 06:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326712 -2.769717)', '2026-07-17 06:08:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326699 -2.769715)'), GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.769717)'))) / (select extract(epoch from '2026-07-17 06:08:03'::timestamp) - extract(epoch from '2026-07-17 06:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326699 -2.769715)'), GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.769717)'))) / (select extract(epoch from '2026-07-17 06:08:03'::timestamp) - extract(epoch from '2026-07-17 06:07: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'), 47804, 'SRID=4674;POINT (-40.326738 -2.769708)', '2026-07-17 06:08:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.769717)'), GeomFromEWKT('SRID=4674;POINT (-40.326738 -2.769708)'))) / (select extract(epoch from '2026-07-17 06:08:18'::timestamp) - extract(epoch from '2026-07-17 06:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.769717)'), GeomFromEWKT('SRID=4674;POINT (-40.326738 -2.769708)'))) / (select extract(epoch from '2026-07-17 06:08:18'::timestamp) - extract(epoch from '2026-07-17 06:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326755 -2.769694)', '2026-07-17 06:08:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326738 -2.769708)'), GeomFromEWKT('SRID=4674;POINT (-40.326755 -2.769694)'))) / (select extract(epoch from '2026-07-17 06:08:28'::timestamp) - extract(epoch from '2026-07-17 06:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326738 -2.769708)'), GeomFromEWKT('SRID=4674;POINT (-40.326755 -2.769694)'))) / (select extract(epoch from '2026-07-17 06:08:28'::timestamp) - extract(epoch from '2026-07-17 06:08: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'), 47804, 'SRID=4674;POINT (-40.326784 -2.769681)', '2026-07-17 06:08:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326755 -2.769694)'), GeomFromEWKT('SRID=4674;POINT (-40.326784 -2.769681)'))) / (select extract(epoch from '2026-07-17 06:08:47'::timestamp) - extract(epoch from '2026-07-17 06:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326755 -2.769694)'), GeomFromEWKT('SRID=4674;POINT (-40.326784 -2.769681)'))) / (select extract(epoch from '2026-07-17 06:08:47'::timestamp) - extract(epoch from '2026-07-17 06:08: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'), 47804, 'SRID=4674;POINT (-40.326803 -2.769677)', '2026-07-17 06:08:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326784 -2.769681)'), GeomFromEWKT('SRID=4674;POINT (-40.326803 -2.769677)'))) / (select extract(epoch from '2026-07-17 06:08:56'::timestamp) - extract(epoch from '2026-07-17 06:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326784 -2.769681)'), GeomFromEWKT('SRID=4674;POINT (-40.326803 -2.769677)'))) / (select extract(epoch from '2026-07-17 06:08:56'::timestamp) - extract(epoch from '2026-07-17 06:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326821 -2.769673)', '2026-07-17 06:09:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326803 -2.769677)'), GeomFromEWKT('SRID=4674;POINT (-40.326821 -2.769673)'))) / (select extract(epoch from '2026-07-17 06:09:06'::timestamp) - extract(epoch from '2026-07-17 06:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326803 -2.769677)'), GeomFromEWKT('SRID=4674;POINT (-40.326821 -2.769673)'))) / (select extract(epoch from '2026-07-17 06:09:06'::timestamp) - extract(epoch from '2026-07-17 06:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326846 -2.769668)', '2026-07-17 06:09:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326821 -2.769673)'), GeomFromEWKT('SRID=4674;POINT (-40.326846 -2.769668)'))) / (select extract(epoch from '2026-07-17 06:09:18'::timestamp) - extract(epoch from '2026-07-17 06:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326821 -2.769673)'), GeomFromEWKT('SRID=4674;POINT (-40.326846 -2.769668)'))) / (select extract(epoch from '2026-07-17 06:09:18'::timestamp) - extract(epoch from '2026-07-17 06:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32686 -2.769665)', '2026-07-17 06:09:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326846 -2.769668)'), GeomFromEWKT('SRID=4674;POINT (-40.32686 -2.769665)'))) / (select extract(epoch from '2026-07-17 06:09:29'::timestamp) - extract(epoch from '2026-07-17 06:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326846 -2.769668)'), GeomFromEWKT('SRID=4674;POINT (-40.32686 -2.769665)'))) / (select extract(epoch from '2026-07-17 06:09:29'::timestamp) - extract(epoch from '2026-07-17 06:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.326885 -2.769658)', '2026-07-17 06:09:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32686 -2.769665)'), GeomFromEWKT('SRID=4674;POINT (-40.326885 -2.769658)'))) / (select extract(epoch from '2026-07-17 06:09:43'::timestamp) - extract(epoch from '2026-07-17 06:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32686 -2.769665)'), GeomFromEWKT('SRID=4674;POINT (-40.326885 -2.769658)'))) / (select extract(epoch from '2026-07-17 06:09:43'::timestamp) - extract(epoch from '2026-07-17 06:09: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'), 47804, 'SRID=4674;POINT (-40.326907 -2.769654)', '2026-07-17 06:09:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326885 -2.769658)'), GeomFromEWKT('SRID=4674;POINT (-40.326907 -2.769654)'))) / (select extract(epoch from '2026-07-17 06:09:52'::timestamp) - extract(epoch from '2026-07-17 06:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326885 -2.769658)'), GeomFromEWKT('SRID=4674;POINT (-40.326907 -2.769654)'))) / (select extract(epoch from '2026-07-17 06:09:52'::timestamp) - extract(epoch from '2026-07-17 06:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32694 -2.769649)', '2026-07-17 06:10:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326907 -2.769654)'), GeomFromEWKT('SRID=4674;POINT (-40.32694 -2.769649)'))) / (select extract(epoch from '2026-07-17 06:10:10'::timestamp) - extract(epoch from '2026-07-17 06:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326907 -2.769654)'), GeomFromEWKT('SRID=4674;POINT (-40.32694 -2.769649)'))) / (select extract(epoch from '2026-07-17 06:10:10'::timestamp) - extract(epoch from '2026-07-17 06:09: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'), 47804, 'SRID=4674;POINT (-40.326961 -2.769637)', '2026-07-17 06:10:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32694 -2.769649)'), GeomFromEWKT('SRID=4674;POINT (-40.326961 -2.769637)'))) / (select extract(epoch from '2026-07-17 06:10:20'::timestamp) - extract(epoch from '2026-07-17 06:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32694 -2.769649)'), GeomFromEWKT('SRID=4674;POINT (-40.326961 -2.769637)'))) / (select extract(epoch from '2026-07-17 06:10:20'::timestamp) - extract(epoch from '2026-07-17 06:10: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'), 47804, 'SRID=4674;POINT (-40.326977 -2.769642)', '2026-07-17 06:10:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326961 -2.769637)'), GeomFromEWKT('SRID=4674;POINT (-40.326977 -2.769642)'))) / (select extract(epoch from '2026-07-17 06:10:27'::timestamp) - extract(epoch from '2026-07-17 06:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326961 -2.769637)'), GeomFromEWKT('SRID=4674;POINT (-40.326977 -2.769642)'))) / (select extract(epoch from '2026-07-17 06:10:27'::timestamp) - extract(epoch from '2026-07-17 06:10: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'), 47804, 'SRID=4674;POINT (-40.326997 -2.769643)', '2026-07-17 06:10:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326977 -2.769642)'), GeomFromEWKT('SRID=4674;POINT (-40.326997 -2.769643)'))) / (select extract(epoch from '2026-07-17 06:10:39'::timestamp) - extract(epoch from '2026-07-17 06:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326977 -2.769642)'), GeomFromEWKT('SRID=4674;POINT (-40.326997 -2.769643)'))) / (select extract(epoch from '2026-07-17 06:10:39'::timestamp) - extract(epoch from '2026-07-17 06:10: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'), 47804, 'SRID=4674;POINT (-40.327015 -2.769638)', '2026-07-17 06:10:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326997 -2.769643)'), GeomFromEWKT('SRID=4674;POINT (-40.327015 -2.769638)'))) / (select extract(epoch from '2026-07-17 06:10:51'::timestamp) - extract(epoch from '2026-07-17 06:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326997 -2.769643)'), GeomFromEWKT('SRID=4674;POINT (-40.327015 -2.769638)'))) / (select extract(epoch from '2026-07-17 06:10:51'::timestamp) - extract(epoch from '2026-07-17 06:10: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'), 47804, 'SRID=4674;POINT (-40.327044 -2.769629)', '2026-07-17 06:11:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327015 -2.769638)'), GeomFromEWKT('SRID=4674;POINT (-40.327044 -2.769629)'))) / (select extract(epoch from '2026-07-17 06:11:06'::timestamp) - extract(epoch from '2026-07-17 06:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327015 -2.769638)'), GeomFromEWKT('SRID=4674;POINT (-40.327044 -2.769629)'))) / (select extract(epoch from '2026-07-17 06:11:06'::timestamp) - extract(epoch from '2026-07-17 06:10:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327059 -2.769627)', '2026-07-17 06:11:15', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327044 -2.769629)'), GeomFromEWKT('SRID=4674;POINT (-40.327059 -2.769627)'))) / (select extract(epoch from '2026-07-17 06:11:15'::timestamp) - extract(epoch from '2026-07-17 06:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327044 -2.769629)'), GeomFromEWKT('SRID=4674;POINT (-40.327059 -2.769627)'))) / (select extract(epoch from '2026-07-17 06:11:15'::timestamp) - extract(epoch from '2026-07-17 06:11:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327074 -2.769615)', '2026-07-17 06:11:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327059 -2.769627)'), GeomFromEWKT('SRID=4674;POINT (-40.327074 -2.769615)'))) / (select extract(epoch from '2026-07-17 06:11:26'::timestamp) - extract(epoch from '2026-07-17 06:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327059 -2.769627)'), GeomFromEWKT('SRID=4674;POINT (-40.327074 -2.769615)'))) / (select extract(epoch from '2026-07-17 06:11:26'::timestamp) - extract(epoch from '2026-07-17 06: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'), 47804, 'SRID=4674;POINT (-40.327097 -2.769598)', '2026-07-17 06:11:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327074 -2.769615)'), GeomFromEWKT('SRID=4674;POINT (-40.327097 -2.769598)'))) / (select extract(epoch from '2026-07-17 06:11:41'::timestamp) - extract(epoch from '2026-07-17 06:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327074 -2.769615)'), GeomFromEWKT('SRID=4674;POINT (-40.327097 -2.769598)'))) / (select extract(epoch from '2026-07-17 06:11:41'::timestamp) - extract(epoch from '2026-07-17 06:11: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'), 47804, 'SRID=4674;POINT (-40.327119 -2.769587)', '2026-07-17 06:11:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327097 -2.769598)'), GeomFromEWKT('SRID=4674;POINT (-40.327119 -2.769587)'))) / (select extract(epoch from '2026-07-17 06:11:55'::timestamp) - extract(epoch from '2026-07-17 06:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327097 -2.769598)'), GeomFromEWKT('SRID=4674;POINT (-40.327119 -2.769587)'))) / (select extract(epoch from '2026-07-17 06:11:55'::timestamp) - extract(epoch from '2026-07-17 06:11: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'), 47804, 'SRID=4674;POINT (-40.327143 -2.769576)', '2026-07-17 06:12:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327119 -2.769587)'), GeomFromEWKT('SRID=4674;POINT (-40.327143 -2.769576)'))) / (select extract(epoch from '2026-07-17 06:12:06'::timestamp) - extract(epoch from '2026-07-17 06:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327119 -2.769587)'), GeomFromEWKT('SRID=4674;POINT (-40.327143 -2.769576)'))) / (select extract(epoch from '2026-07-17 06:12:06'::timestamp) - extract(epoch from '2026-07-17 06:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.32716 -2.769566)', '2026-07-17 06:12:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327143 -2.769576)'), GeomFromEWKT('SRID=4674;POINT (-40.32716 -2.769566)'))) / (select extract(epoch from '2026-07-17 06:12:15'::timestamp) - extract(epoch from '2026-07-17 06:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327143 -2.769576)'), GeomFromEWKT('SRID=4674;POINT (-40.32716 -2.769566)'))) / (select extract(epoch from '2026-07-17 06:12:15'::timestamp) - extract(epoch from '2026-07-17 06:12: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'), 47804, 'SRID=4674;POINT (-40.327177 -2.769556)', '2026-07-17 06:12:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32716 -2.769566)'), GeomFromEWKT('SRID=4674;POINT (-40.327177 -2.769556)'))) / (select extract(epoch from '2026-07-17 06:12:25'::timestamp) - extract(epoch from '2026-07-17 06:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32716 -2.769566)'), GeomFromEWKT('SRID=4674;POINT (-40.327177 -2.769556)'))) / (select extract(epoch from '2026-07-17 06:12:25'::timestamp) - extract(epoch from '2026-07-17 06:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47804, 'SRID=4674;POINT (-40.327192 -2.769545)', '2026-07-17 06:12:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327177 -2.769556)'), GeomFromEWKT('SRID=4674;POINT (-40.327192 -2.769545)'))) / (select extract(epoch from '2026-07-17 06:12:34'::timestamp) - extract(epoch from '2026-07-17 06:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327177 -2.769556)'), GeomFromEWKT('SRID=4674;POINT (-40.327192 -2.769545)'))) / (select extract(epoch from '2026-07-17 06:12:34'::timestamp) - extract(epoch from '2026-07-17 06:12: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'), 47804, 'SRID=4674;POINT (-40.327211 -2.769536)', '2026-07-17 06:12:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327192 -2.769545)'), GeomFromEWKT('SRID=4674;POINT (-40.327211 -2.769536)'))) / (select extract(epoch from '2026-07-17 06:12:45'::timestamp) - extract(epoch from '2026-07-17 06:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327192 -2.769545)'), GeomFromEWKT('SRID=4674;POINT (-40.327211 -2.769536)'))) / (select extract(epoch from '2026-07-17 06:12:45'::timestamp) - extract(epoch from '2026-07-17 06:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
