 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330411 -2.772923)', '2026-06-22 07:37:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330436 -2.772765)'), GeomFromEWKT('SRID=4674;POINT (-40.330411 -2.772923)'))) / (select extract(epoch from '2026-06-22 07:37:44'::timestamp) - extract(epoch from '2026-06-22 07:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330436 -2.772765)'), GeomFromEWKT('SRID=4674;POINT (-40.330411 -2.772923)'))) / (select extract(epoch from '2026-06-22 07:37:44'::timestamp) - extract(epoch from '2026-06-22 07:37: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'), 46725, 'SRID=4674;POINT (-40.330402 -2.773055)', '2026-06-22 07:37:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330411 -2.772923)'), GeomFromEWKT('SRID=4674;POINT (-40.330402 -2.773055)'))) / (select extract(epoch from '2026-06-22 07:37:50'::timestamp) - extract(epoch from '2026-06-22 07:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330411 -2.772923)'), GeomFromEWKT('SRID=4674;POINT (-40.330402 -2.773055)'))) / (select extract(epoch from '2026-06-22 07:37:50'::timestamp) - extract(epoch from '2026-06-22 07:37:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330406 -2.773148)', '2026-06-22 07:37:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330402 -2.773055)'), GeomFromEWKT('SRID=4674;POINT (-40.330406 -2.773148)'))) / (select extract(epoch from '2026-06-22 07:37:54'::timestamp) - extract(epoch from '2026-06-22 07:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330402 -2.773055)'), GeomFromEWKT('SRID=4674;POINT (-40.330406 -2.773148)'))) / (select extract(epoch from '2026-06-22 07:37:54'::timestamp) - extract(epoch from '2026-06-22 07:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330419 -2.773326)', '2026-06-22 07:38:02', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330406 -2.773148)'), GeomFromEWKT('SRID=4674;POINT (-40.330419 -2.773326)'))) / (select extract(epoch from '2026-06-22 07:38:02'::timestamp) - extract(epoch from '2026-06-22 07:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330406 -2.773148)'), GeomFromEWKT('SRID=4674;POINT (-40.330419 -2.773326)'))) / (select extract(epoch from '2026-06-22 07:38:02'::timestamp) - extract(epoch from '2026-06-22 07:37: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'), 46725, 'SRID=4674;POINT (-40.330424 -2.773501)', '2026-06-22 07:38:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330419 -2.773326)'), GeomFromEWKT('SRID=4674;POINT (-40.330424 -2.773501)'))) / (select extract(epoch from '2026-06-22 07:38:10'::timestamp) - extract(epoch from '2026-06-22 07:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330419 -2.773326)'), GeomFromEWKT('SRID=4674;POINT (-40.330424 -2.773501)'))) / (select extract(epoch from '2026-06-22 07:38:10'::timestamp) - extract(epoch from '2026-06-22 07:38: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'), 46725, 'SRID=4674;POINT (-40.330437 -2.773681)', '2026-06-22 07:38:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330424 -2.773501)'), GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.773681)'))) / (select extract(epoch from '2026-06-22 07:38:18'::timestamp) - extract(epoch from '2026-06-22 07:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330424 -2.773501)'), GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.773681)'))) / (select extract(epoch from '2026-06-22 07:38:18'::timestamp) - extract(epoch from '2026-06-22 07:38: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'), 46725, 'SRID=4674;POINT (-40.330461 -2.773822)', '2026-06-22 07:38:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.773681)'), GeomFromEWKT('SRID=4674;POINT (-40.330461 -2.773822)'))) / (select extract(epoch from '2026-06-22 07:38:24'::timestamp) - extract(epoch from '2026-06-22 07:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330437 -2.773681)'), GeomFromEWKT('SRID=4674;POINT (-40.330461 -2.773822)'))) / (select extract(epoch from '2026-06-22 07:38:24'::timestamp) - extract(epoch from '2026-06-22 07:38: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'), 46725, 'SRID=4674;POINT (-40.330491 -2.773976)', '2026-06-22 07:38:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330461 -2.773822)'), GeomFromEWKT('SRID=4674;POINT (-40.330491 -2.773976)'))) / (select extract(epoch from '2026-06-22 07:38:31'::timestamp) - extract(epoch from '2026-06-22 07:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330461 -2.773822)'), GeomFromEWKT('SRID=4674;POINT (-40.330491 -2.773976)'))) / (select extract(epoch from '2026-06-22 07:38:31'::timestamp) - extract(epoch from '2026-06-22 07:38: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'), 46725, 'SRID=4674;POINT (-40.330502 -2.77411)', '2026-06-22 07:38:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330491 -2.773976)'), GeomFromEWKT('SRID=4674;POINT (-40.330502 -2.77411)'))) / (select extract(epoch from '2026-06-22 07:38:37'::timestamp) - extract(epoch from '2026-06-22 07:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330491 -2.773976)'), GeomFromEWKT('SRID=4674;POINT (-40.330502 -2.77411)'))) / (select extract(epoch from '2026-06-22 07:38:37'::timestamp) - extract(epoch from '2026-06-22 07:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330511 -2.774229)', '2026-06-22 07:38:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330502 -2.77411)'), GeomFromEWKT('SRID=4674;POINT (-40.330511 -2.774229)'))) / (select extract(epoch from '2026-06-22 07:38:42'::timestamp) - extract(epoch from '2026-06-22 07:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330502 -2.77411)'), GeomFromEWKT('SRID=4674;POINT (-40.330511 -2.774229)'))) / (select extract(epoch from '2026-06-22 07:38:42'::timestamp) - extract(epoch from '2026-06-22 07:38: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'), 46725, 'SRID=4674;POINT (-40.330532 -2.774366)', '2026-06-22 07:38:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330511 -2.774229)'), GeomFromEWKT('SRID=4674;POINT (-40.330532 -2.774366)'))) / (select extract(epoch from '2026-06-22 07:38:48'::timestamp) - extract(epoch from '2026-06-22 07:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330511 -2.774229)'), GeomFromEWKT('SRID=4674;POINT (-40.330532 -2.774366)'))) / (select extract(epoch from '2026-06-22 07:38:48'::timestamp) - extract(epoch from '2026-06-22 07:38: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'), 46725, 'SRID=4674;POINT (-40.330562 -2.774479)', '2026-06-22 07:38:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330532 -2.774366)'), GeomFromEWKT('SRID=4674;POINT (-40.330562 -2.774479)'))) / (select extract(epoch from '2026-06-22 07:38:53'::timestamp) - extract(epoch from '2026-06-22 07:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330532 -2.774366)'), GeomFromEWKT('SRID=4674;POINT (-40.330562 -2.774479)'))) / (select extract(epoch from '2026-06-22 07:38:53'::timestamp) - extract(epoch from '2026-06-22 07:38:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330572 -2.774598)', '2026-06-22 07:38:58', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330562 -2.774479)'), GeomFromEWKT('SRID=4674;POINT (-40.330572 -2.774598)'))) / (select extract(epoch from '2026-06-22 07:38:58'::timestamp) - extract(epoch from '2026-06-22 07:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330562 -2.774479)'), GeomFromEWKT('SRID=4674;POINT (-40.330572 -2.774598)'))) / (select extract(epoch from '2026-06-22 07:38:58'::timestamp) - extract(epoch from '2026-06-22 07:38: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'), 46725, 'SRID=4674;POINT (-40.330571 -2.774731)', '2026-06-22 07:39:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330572 -2.774598)'), GeomFromEWKT('SRID=4674;POINT (-40.330571 -2.774731)'))) / (select extract(epoch from '2026-06-22 07:39:04'::timestamp) - extract(epoch from '2026-06-22 07:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330572 -2.774598)'), GeomFromEWKT('SRID=4674;POINT (-40.330571 -2.774731)'))) / (select extract(epoch from '2026-06-22 07:39:04'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.330577 -2.774845)', '2026-06-22 07:39:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330571 -2.774731)'), GeomFromEWKT('SRID=4674;POINT (-40.330577 -2.774845)'))) / (select extract(epoch from '2026-06-22 07:39:09'::timestamp) - extract(epoch from '2026-06-22 07:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330571 -2.774731)'), GeomFromEWKT('SRID=4674;POINT (-40.330577 -2.774845)'))) / (select extract(epoch from '2026-06-22 07:39:09'::timestamp) - extract(epoch from '2026-06-22 07:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330574 -2.774957)', '2026-06-22 07:39:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330577 -2.774845)'), GeomFromEWKT('SRID=4674;POINT (-40.330574 -2.774957)'))) / (select extract(epoch from '2026-06-22 07:39:14'::timestamp) - extract(epoch from '2026-06-22 07:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330577 -2.774845)'), GeomFromEWKT('SRID=4674;POINT (-40.330574 -2.774957)'))) / (select extract(epoch from '2026-06-22 07:39:14'::timestamp) - extract(epoch from '2026-06-22 07:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330583 -2.77514)', '2026-06-22 07:39:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330574 -2.774957)'), GeomFromEWKT('SRID=4674;POINT (-40.330583 -2.77514)'))) / (select extract(epoch from '2026-06-22 07:39:22'::timestamp) - extract(epoch from '2026-06-22 07:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330574 -2.774957)'), GeomFromEWKT('SRID=4674;POINT (-40.330583 -2.77514)'))) / (select extract(epoch from '2026-06-22 07:39:22'::timestamp) - extract(epoch from '2026-06-22 07:39: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'), 46725, 'SRID=4674;POINT (-40.33059 -2.775279)', '2026-06-22 07:39:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330583 -2.77514)'), GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.775279)'))) / (select extract(epoch from '2026-06-22 07:39:29'::timestamp) - extract(epoch from '2026-06-22 07:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330583 -2.77514)'), GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.775279)'))) / (select extract(epoch from '2026-06-22 07:39:29'::timestamp) - extract(epoch from '2026-06-22 07:39: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'), 46725, 'SRID=4674;POINT (-40.330576 -2.775437)', '2026-06-22 07:39:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.775279)'), GeomFromEWKT('SRID=4674;POINT (-40.330576 -2.775437)'))) / (select extract(epoch from '2026-06-22 07:39:36'::timestamp) - extract(epoch from '2026-06-22 07:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33059 -2.775279)'), GeomFromEWKT('SRID=4674;POINT (-40.330576 -2.775437)'))) / (select extract(epoch from '2026-06-22 07:39:36'::timestamp) - extract(epoch from '2026-06-22 07:39: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'), 46725, 'SRID=4674;POINT (-40.330561 -2.77564)', '2026-06-22 07:39:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330576 -2.775437)'), GeomFromEWKT('SRID=4674;POINT (-40.330561 -2.77564)'))) / (select extract(epoch from '2026-06-22 07:39:45'::timestamp) - extract(epoch from '2026-06-22 07:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330576 -2.775437)'), GeomFromEWKT('SRID=4674;POINT (-40.330561 -2.77564)'))) / (select extract(epoch from '2026-06-22 07:39:45'::timestamp) - extract(epoch from '2026-06-22 07:39: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'), 46725, 'SRID=4674;POINT (-40.330537 -2.77577)', '2026-06-22 07:39:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330561 -2.77564)'), GeomFromEWKT('SRID=4674;POINT (-40.330537 -2.77577)'))) / (select extract(epoch from '2026-06-22 07:39:51'::timestamp) - extract(epoch from '2026-06-22 07:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330561 -2.77564)'), GeomFromEWKT('SRID=4674;POINT (-40.330537 -2.77577)'))) / (select extract(epoch from '2026-06-22 07:39:51'::timestamp) - extract(epoch from '2026-06-22 07:39: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'), 46725, 'SRID=4674;POINT (-40.330507 -2.775872)', '2026-06-22 07:39:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330537 -2.77577)'), GeomFromEWKT('SRID=4674;POINT (-40.330507 -2.775872)'))) / (select extract(epoch from '2026-06-22 07:39:56'::timestamp) - extract(epoch from '2026-06-22 07:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330537 -2.77577)'), GeomFromEWKT('SRID=4674;POINT (-40.330507 -2.775872)'))) / (select extract(epoch from '2026-06-22 07:39:56'::timestamp) - extract(epoch from '2026-06-22 07:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330473 -2.77604)', '2026-06-22 07:40:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330507 -2.775872)'), GeomFromEWKT('SRID=4674;POINT (-40.330473 -2.77604)'))) / (select extract(epoch from '2026-06-22 07:40:04'::timestamp) - extract(epoch from '2026-06-22 07:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330507 -2.775872)'), GeomFromEWKT('SRID=4674;POINT (-40.330473 -2.77604)'))) / (select extract(epoch from '2026-06-22 07:40:04'::timestamp) - extract(epoch from '2026-06-22 07:39: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'), 46725, 'SRID=4674;POINT (-40.330489 -2.776151)', '2026-06-22 07:40:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330473 -2.77604)'), GeomFromEWKT('SRID=4674;POINT (-40.330489 -2.776151)'))) / (select extract(epoch from '2026-06-22 07:40:09'::timestamp) - extract(epoch from '2026-06-22 07:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330473 -2.77604)'), GeomFromEWKT('SRID=4674;POINT (-40.330489 -2.776151)'))) / (select extract(epoch from '2026-06-22 07:40:09'::timestamp) - extract(epoch from '2026-06-22 07:40: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'), 46725, 'SRID=4674;POINT (-40.330494 -2.776286)', '2026-06-22 07:40:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330489 -2.776151)'), GeomFromEWKT('SRID=4674;POINT (-40.330494 -2.776286)'))) / (select extract(epoch from '2026-06-22 07:40:15'::timestamp) - extract(epoch from '2026-06-22 07:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330489 -2.776151)'), GeomFromEWKT('SRID=4674;POINT (-40.330494 -2.776286)'))) / (select extract(epoch from '2026-06-22 07:40:15'::timestamp) - extract(epoch from '2026-06-22 07:40: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'), 46725, 'SRID=4674;POINT (-40.33053 -2.776443)', '2026-06-22 07:40:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330494 -2.776286)'), GeomFromEWKT('SRID=4674;POINT (-40.33053 -2.776443)'))) / (select extract(epoch from '2026-06-22 07:40:22'::timestamp) - extract(epoch from '2026-06-22 07:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330494 -2.776286)'), GeomFromEWKT('SRID=4674;POINT (-40.33053 -2.776443)'))) / (select extract(epoch from '2026-06-22 07:40:22'::timestamp) - extract(epoch from '2026-06-22 07:40: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'), 46725, 'SRID=4674;POINT (-40.330556 -2.776599)', '2026-06-22 07:40:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33053 -2.776443)'), GeomFromEWKT('SRID=4674;POINT (-40.330556 -2.776599)'))) / (select extract(epoch from '2026-06-22 07:40:29'::timestamp) - extract(epoch from '2026-06-22 07:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33053 -2.776443)'), GeomFromEWKT('SRID=4674;POINT (-40.330556 -2.776599)'))) / (select extract(epoch from '2026-06-22 07:40:29'::timestamp) - extract(epoch from '2026-06-22 07:40: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'), 46725, 'SRID=4674;POINT (-40.330603 -2.776799)', '2026-06-22 07:40:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330556 -2.776599)'), GeomFromEWKT('SRID=4674;POINT (-40.330603 -2.776799)'))) / (select extract(epoch from '2026-06-22 07:40:38'::timestamp) - extract(epoch from '2026-06-22 07:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330556 -2.776599)'), GeomFromEWKT('SRID=4674;POINT (-40.330603 -2.776799)'))) / (select extract(epoch from '2026-06-22 07:40:38'::timestamp) - extract(epoch from '2026-06-22 07:40: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'), 46725, 'SRID=4674;POINT (-40.330659 -2.776977)', '2026-06-22 07:40:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330603 -2.776799)'), GeomFromEWKT('SRID=4674;POINT (-40.330659 -2.776977)'))) / (select extract(epoch from '2026-06-22 07:40:46'::timestamp) - extract(epoch from '2026-06-22 07:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330603 -2.776799)'), GeomFromEWKT('SRID=4674;POINT (-40.330659 -2.776977)'))) / (select extract(epoch from '2026-06-22 07:40:46'::timestamp) - extract(epoch from '2026-06-22 07:40: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'), 46725, 'SRID=4674;POINT (-40.3307 -2.777146)', '2026-06-22 07:40:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330659 -2.776977)'), GeomFromEWKT('SRID=4674;POINT (-40.3307 -2.777146)'))) / (select extract(epoch from '2026-06-22 07:40:54'::timestamp) - extract(epoch from '2026-06-22 07:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330659 -2.776977)'), GeomFromEWKT('SRID=4674;POINT (-40.3307 -2.777146)'))) / (select extract(epoch from '2026-06-22 07:40:54'::timestamp) - extract(epoch from '2026-06-22 07:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330719 -2.777305)', '2026-06-22 07:41:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3307 -2.777146)'), GeomFromEWKT('SRID=4674;POINT (-40.330719 -2.777305)'))) / (select extract(epoch from '2026-06-22 07:41:01'::timestamp) - extract(epoch from '2026-06-22 07:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3307 -2.777146)'), GeomFromEWKT('SRID=4674;POINT (-40.330719 -2.777305)'))) / (select extract(epoch from '2026-06-22 07:41:01'::timestamp) - extract(epoch from '2026-06-22 07:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330754 -2.777459)', '2026-06-22 07:41:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330719 -2.777305)'), GeomFromEWKT('SRID=4674;POINT (-40.330754 -2.777459)'))) / (select extract(epoch from '2026-06-22 07:41:08'::timestamp) - extract(epoch from '2026-06-22 07:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330719 -2.777305)'), GeomFromEWKT('SRID=4674;POINT (-40.330754 -2.777459)'))) / (select extract(epoch from '2026-06-22 07:41:08'::timestamp) - extract(epoch from '2026-06-22 07:41: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'), 46725, 'SRID=4674;POINT (-40.330808 -2.777593)', '2026-06-22 07:41:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330754 -2.777459)'), GeomFromEWKT('SRID=4674;POINT (-40.330808 -2.777593)'))) / (select extract(epoch from '2026-06-22 07:41:14'::timestamp) - extract(epoch from '2026-06-22 07:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330754 -2.777459)'), GeomFromEWKT('SRID=4674;POINT (-40.330808 -2.777593)'))) / (select extract(epoch from '2026-06-22 07:41:14'::timestamp) - extract(epoch from '2026-06-22 07:41: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'), 46725, 'SRID=4674;POINT (-40.330839 -2.777746)', '2026-06-22 07:41:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330808 -2.777593)'), GeomFromEWKT('SRID=4674;POINT (-40.330839 -2.777746)'))) / (select extract(epoch from '2026-06-22 07:41:21'::timestamp) - extract(epoch from '2026-06-22 07:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330808 -2.777593)'), GeomFromEWKT('SRID=4674;POINT (-40.330839 -2.777746)'))) / (select extract(epoch from '2026-06-22 07:41:21'::timestamp) - extract(epoch from '2026-06-22 07:41: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'), 46725, 'SRID=4674;POINT (-40.330882 -2.777935)', '2026-06-22 07:41:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330839 -2.777746)'), GeomFromEWKT('SRID=4674;POINT (-40.330882 -2.777935)'))) / (select extract(epoch from '2026-06-22 07:41:29'::timestamp) - extract(epoch from '2026-06-22 07:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330839 -2.777746)'), GeomFromEWKT('SRID=4674;POINT (-40.330882 -2.777935)'))) / (select extract(epoch from '2026-06-22 07:41:29'::timestamp) - extract(epoch from '2026-06-22 07:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.33093 -2.778086)', '2026-06-22 07:41:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330882 -2.777935)'), GeomFromEWKT('SRID=4674;POINT (-40.33093 -2.778086)'))) / (select extract(epoch from '2026-06-22 07:41:36'::timestamp) - extract(epoch from '2026-06-22 07:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330882 -2.777935)'), GeomFromEWKT('SRID=4674;POINT (-40.33093 -2.778086)'))) / (select extract(epoch from '2026-06-22 07:41:36'::timestamp) - extract(epoch from '2026-06-22 07:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330978 -2.778224)', '2026-06-22 07:41:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33093 -2.778086)'), GeomFromEWKT('SRID=4674;POINT (-40.330978 -2.778224)'))) / (select extract(epoch from '2026-06-22 07:41:42'::timestamp) - extract(epoch from '2026-06-22 07:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33093 -2.778086)'), GeomFromEWKT('SRID=4674;POINT (-40.330978 -2.778224)'))) / (select extract(epoch from '2026-06-22 07:41:42'::timestamp) - extract(epoch from '2026-06-22 07:41: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'), 46725, 'SRID=4674;POINT (-40.331035 -2.778356)', '2026-06-22 07:41:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330978 -2.778224)'), GeomFromEWKT('SRID=4674;POINT (-40.331035 -2.778356)'))) / (select extract(epoch from '2026-06-22 07:41:48'::timestamp) - extract(epoch from '2026-06-22 07:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330978 -2.778224)'), GeomFromEWKT('SRID=4674;POINT (-40.331035 -2.778356)'))) / (select extract(epoch from '2026-06-22 07:41:48'::timestamp) - extract(epoch from '2026-06-22 07:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331069 -2.778474)', '2026-06-22 07:41:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331035 -2.778356)'), GeomFromEWKT('SRID=4674;POINT (-40.331069 -2.778474)'))) / (select extract(epoch from '2026-06-22 07:41:54'::timestamp) - extract(epoch from '2026-06-22 07:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331035 -2.778356)'), GeomFromEWKT('SRID=4674;POINT (-40.331069 -2.778474)'))) / (select extract(epoch from '2026-06-22 07:41:54'::timestamp) - extract(epoch from '2026-06-22 07:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331034 -2.778614)', '2026-06-22 07:42:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331069 -2.778474)'), GeomFromEWKT('SRID=4674;POINT (-40.331034 -2.778614)'))) / (select extract(epoch from '2026-06-22 07:42:01'::timestamp) - extract(epoch from '2026-06-22 07:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331069 -2.778474)'), GeomFromEWKT('SRID=4674;POINT (-40.331034 -2.778614)'))) / (select extract(epoch from '2026-06-22 07:42:01'::timestamp) - extract(epoch from '2026-06-22 07:41: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'), 46725, 'SRID=4674;POINT (-40.33099 -2.77876)', '2026-06-22 07:42:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331034 -2.778614)'), GeomFromEWKT('SRID=4674;POINT (-40.33099 -2.77876)'))) / (select extract(epoch from '2026-06-22 07:42:08'::timestamp) - extract(epoch from '2026-06-22 07:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331034 -2.778614)'), GeomFromEWKT('SRID=4674;POINT (-40.33099 -2.77876)'))) / (select extract(epoch from '2026-06-22 07:42:08'::timestamp) - extract(epoch from '2026-06-22 07:42: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'), 46725, 'SRID=4674;POINT (-40.331033 -2.778847)', '2026-06-22 07:42:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33099 -2.77876)'), GeomFromEWKT('SRID=4674;POINT (-40.331033 -2.778847)'))) / (select extract(epoch from '2026-06-22 07:42:13'::timestamp) - extract(epoch from '2026-06-22 07:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33099 -2.77876)'), GeomFromEWKT('SRID=4674;POINT (-40.331033 -2.778847)'))) / (select extract(epoch from '2026-06-22 07:42:13'::timestamp) - extract(epoch from '2026-06-22 07:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331121 -2.778878)', '2026-06-22 07:42:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331033 -2.778847)'), GeomFromEWKT('SRID=4674;POINT (-40.331121 -2.778878)'))) / (select extract(epoch from '2026-06-22 07:42:17'::timestamp) - extract(epoch from '2026-06-22 07:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331033 -2.778847)'), GeomFromEWKT('SRID=4674;POINT (-40.331121 -2.778878)'))) / (select extract(epoch from '2026-06-22 07:42:17'::timestamp) - extract(epoch from '2026-06-22 07:42: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'), 46725, 'SRID=4674;POINT (-40.331252 -2.778909)', '2026-06-22 07:42:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331121 -2.778878)'), GeomFromEWKT('SRID=4674;POINT (-40.331252 -2.778909)'))) / (select extract(epoch from '2026-06-22 07:42:23'::timestamp) - extract(epoch from '2026-06-22 07:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331121 -2.778878)'), GeomFromEWKT('SRID=4674;POINT (-40.331252 -2.778909)'))) / (select extract(epoch from '2026-06-22 07:42:23'::timestamp) - extract(epoch from '2026-06-22 07:42: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'), 46725, 'SRID=4674;POINT (-40.331305 -2.778987)', '2026-06-22 07:42:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331252 -2.778909)'), GeomFromEWKT('SRID=4674;POINT (-40.331305 -2.778987)'))) / (select extract(epoch from '2026-06-22 07:42:29'::timestamp) - extract(epoch from '2026-06-22 07:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331252 -2.778909)'), GeomFromEWKT('SRID=4674;POINT (-40.331305 -2.778987)'))) / (select extract(epoch from '2026-06-22 07:42:29'::timestamp) - extract(epoch from '2026-06-22 07:42: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'), 46725, 'SRID=4674;POINT (-40.331298 -2.779006)', '2026-06-22 07:42:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331305 -2.778987)'), GeomFromEWKT('SRID=4674;POINT (-40.331298 -2.779006)'))) / (select extract(epoch from '2026-06-22 07:42:31'::timestamp) - extract(epoch from '2026-06-22 07:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331305 -2.778987)'), GeomFromEWKT('SRID=4674;POINT (-40.331298 -2.779006)'))) / (select extract(epoch from '2026-06-22 07:42:31'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.331265 -2.779022)', '2026-06-22 07:42:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331298 -2.779006)'), GeomFromEWKT('SRID=4674;POINT (-40.331265 -2.779022)'))) / (select extract(epoch from '2026-06-22 07:42:35'::timestamp) - extract(epoch from '2026-06-22 07:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331298 -2.779006)'), GeomFromEWKT('SRID=4674;POINT (-40.331265 -2.779022)'))) / (select extract(epoch from '2026-06-22 07:42:35'::timestamp) - extract(epoch from '2026-06-22 07:42: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'), 46725, 'SRID=4674;POINT (-40.331222 -2.779015)', '2026-06-22 07:42:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331265 -2.779022)'), GeomFromEWKT('SRID=4674;POINT (-40.331222 -2.779015)'))) / (select extract(epoch from '2026-06-22 07:42:44'::timestamp) - extract(epoch from '2026-06-22 07:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331265 -2.779022)'), GeomFromEWKT('SRID=4674;POINT (-40.331222 -2.779015)'))) / (select extract(epoch from '2026-06-22 07:42:44'::timestamp) - extract(epoch from '2026-06-22 07:42: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'), 46725, 'SRID=4674;POINT (-40.331193 -2.77898)', '2026-06-22 07:42:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331222 -2.779015)'), GeomFromEWKT('SRID=4674;POINT (-40.331193 -2.77898)'))) / (select extract(epoch from '2026-06-22 07:42:55'::timestamp) - extract(epoch from '2026-06-22 07:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331222 -2.779015)'), GeomFromEWKT('SRID=4674;POINT (-40.331193 -2.77898)'))) / (select extract(epoch from '2026-06-22 07:42:55'::timestamp) - extract(epoch from '2026-06-22 07:42: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'), 46725, 'SRID=4674;POINT (-40.331184 -2.77894)', '2026-06-22 07:43:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331193 -2.77898)'), GeomFromEWKT('SRID=4674;POINT (-40.331184 -2.77894)'))) / (select extract(epoch from '2026-06-22 07:43:06'::timestamp) - extract(epoch from '2026-06-22 07:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331193 -2.77898)'), GeomFromEWKT('SRID=4674;POINT (-40.331184 -2.77894)'))) / (select extract(epoch from '2026-06-22 07:43:06'::timestamp) - extract(epoch from '2026-06-22 07:42: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'), 46725, 'SRID=4674;POINT (-40.33116 -2.778958)', '2026-06-22 07:43:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331184 -2.77894)'), GeomFromEWKT('SRID=4674;POINT (-40.33116 -2.778958)'))) / (select extract(epoch from '2026-06-22 07:43:31'::timestamp) - extract(epoch from '2026-06-22 07:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331184 -2.77894)'), GeomFromEWKT('SRID=4674;POINT (-40.33116 -2.778958)'))) / (select extract(epoch from '2026-06-22 07:43:31'::timestamp) - extract(epoch from '2026-06-22 07:43:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331155 -2.77896)', '2026-06-22 07:43:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33116 -2.778958)'), GeomFromEWKT('SRID=4674;POINT (-40.331155 -2.77896)'))) / (select extract(epoch from '2026-06-22 07:43:44'::timestamp) - extract(epoch from '2026-06-22 07:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33116 -2.778958)'), GeomFromEWKT('SRID=4674;POINT (-40.331155 -2.77896)'))) / (select extract(epoch from '2026-06-22 07:43:44'::timestamp) - extract(epoch from '2026-06-22 07:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331089 -2.778954)', '2026-06-22 07:46:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331155 -2.77896)'), GeomFromEWKT('SRID=4674;POINT (-40.331089 -2.778954)'))) / (select extract(epoch from '2026-06-22 07:46:02'::timestamp) - extract(epoch from '2026-06-22 07:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331155 -2.77896)'), GeomFromEWKT('SRID=4674;POINT (-40.331089 -2.778954)'))) / (select extract(epoch from '2026-06-22 07:46:02'::timestamp) - extract(epoch from '2026-06-22 07:43: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'), 46725, 'SRID=4674;POINT (-40.331035 -2.77898)', '2026-06-22 07:46:12', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331089 -2.778954)'), GeomFromEWKT('SRID=4674;POINT (-40.331035 -2.77898)'))) / (select extract(epoch from '2026-06-22 07:46:12'::timestamp) - extract(epoch from '2026-06-22 07:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331089 -2.778954)'), GeomFromEWKT('SRID=4674;POINT (-40.331035 -2.77898)'))) / (select extract(epoch from '2026-06-22 07:46:12'::timestamp) - extract(epoch from '2026-06-22 07:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330934 -2.779008)', '2026-06-22 07:46:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331035 -2.77898)'), GeomFromEWKT('SRID=4674;POINT (-40.330934 -2.779008)'))) / (select extract(epoch from '2026-06-22 07:46:28'::timestamp) - extract(epoch from '2026-06-22 07:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331035 -2.77898)'), GeomFromEWKT('SRID=4674;POINT (-40.330934 -2.779008)'))) / (select extract(epoch from '2026-06-22 07:46:28'::timestamp) - extract(epoch from '2026-06-22 07:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330861 -2.779034)', '2026-06-22 07:46:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330934 -2.779008)'), GeomFromEWKT('SRID=4674;POINT (-40.330861 -2.779034)'))) / (select extract(epoch from '2026-06-22 07:46:41'::timestamp) - extract(epoch from '2026-06-22 07:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330934 -2.779008)'), GeomFromEWKT('SRID=4674;POINT (-40.330861 -2.779034)'))) / (select extract(epoch from '2026-06-22 07:46:41'::timestamp) - extract(epoch from '2026-06-22 07:46: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'), 46725, 'SRID=4674;POINT (-40.330849 -2.779028)', '2026-06-22 07:46:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330861 -2.779034)'), GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.779028)'))) / (select extract(epoch from '2026-06-22 07:46:54'::timestamp) - extract(epoch from '2026-06-22 07:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330861 -2.779034)'), GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.779028)'))) / (select extract(epoch from '2026-06-22 07:46:54'::timestamp) - extract(epoch from '2026-06-22 07:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.330819 -2.779048)', '2026-06-22 07:47:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.779028)'), GeomFromEWKT('SRID=4674;POINT (-40.330819 -2.779048)'))) / (select extract(epoch from '2026-06-22 07:47:02'::timestamp) - extract(epoch from '2026-06-22 07:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330849 -2.779028)'), GeomFromEWKT('SRID=4674;POINT (-40.330819 -2.779048)'))) / (select extract(epoch from '2026-06-22 07:47:02'::timestamp) - extract(epoch from '2026-06-22 07:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.33086 -2.779074)', '2026-06-22 07:48:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330819 -2.779048)'), GeomFromEWKT('SRID=4674;POINT (-40.33086 -2.779074)'))) / (select extract(epoch from '2026-06-22 07:48:49'::timestamp) - extract(epoch from '2026-06-22 07:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330819 -2.779048)'), GeomFromEWKT('SRID=4674;POINT (-40.33086 -2.779074)'))) / (select extract(epoch from '2026-06-22 07:48:49'::timestamp) - extract(epoch from '2026-06-22 07:47: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'), 46725, 'SRID=4674;POINT (-40.330935 -2.779041)', '2026-06-22 07:49:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33086 -2.779074)'), GeomFromEWKT('SRID=4674;POINT (-40.330935 -2.779041)'))) / (select extract(epoch from '2026-06-22 07:49:20'::timestamp) - extract(epoch from '2026-06-22 07:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33086 -2.779074)'), GeomFromEWKT('SRID=4674;POINT (-40.330935 -2.779041)'))) / (select extract(epoch from '2026-06-22 07:49:20'::timestamp) - extract(epoch from '2026-06-22 07:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331022 -2.779053)', '2026-06-22 07:49:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330935 -2.779041)'), GeomFromEWKT('SRID=4674;POINT (-40.331022 -2.779053)'))) / (select extract(epoch from '2026-06-22 07:49:49'::timestamp) - extract(epoch from '2026-06-22 07:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330935 -2.779041)'), GeomFromEWKT('SRID=4674;POINT (-40.331022 -2.779053)'))) / (select extract(epoch from '2026-06-22 07:49:49'::timestamp) - extract(epoch from '2026-06-22 07:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331072 -2.779056)', '2026-06-22 07:50:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331022 -2.779053)'), GeomFromEWKT('SRID=4674;POINT (-40.331072 -2.779056)'))) / (select extract(epoch from '2026-06-22 07:50:04'::timestamp) - extract(epoch from '2026-06-22 07:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331022 -2.779053)'), GeomFromEWKT('SRID=4674;POINT (-40.331072 -2.779056)'))) / (select extract(epoch from '2026-06-22 07:50:04'::timestamp) - extract(epoch from '2026-06-22 07:49: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'), 46725, 'SRID=4674;POINT (-40.331112 -2.779062)', '2026-06-22 07:50:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331072 -2.779056)'), GeomFromEWKT('SRID=4674;POINT (-40.331112 -2.779062)'))) / (select extract(epoch from '2026-06-22 07:50:20'::timestamp) - extract(epoch from '2026-06-22 07:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331072 -2.779056)'), GeomFromEWKT('SRID=4674;POINT (-40.331112 -2.779062)'))) / (select extract(epoch from '2026-06-22 07:50:20'::timestamp) - extract(epoch from '2026-06-22 07:50: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'), 46725, 'SRID=4674;POINT (-40.331219 -2.779077)', '2026-06-22 07:51:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331112 -2.779062)'), GeomFromEWKT('SRID=4674;POINT (-40.331219 -2.779077)'))) / (select extract(epoch from '2026-06-22 07:51:00'::timestamp) - extract(epoch from '2026-06-22 07:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331112 -2.779062)'), GeomFromEWKT('SRID=4674;POINT (-40.331219 -2.779077)'))) / (select extract(epoch from '2026-06-22 07:51:00'::timestamp) - extract(epoch from '2026-06-22 07:50: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'), 46725, 'SRID=4674;POINT (-40.331257 -2.779064)', '2026-06-22 07:51:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331219 -2.779077)'), GeomFromEWKT('SRID=4674;POINT (-40.331257 -2.779064)'))) / (select extract(epoch from '2026-06-22 07:51:10'::timestamp) - extract(epoch from '2026-06-22 07:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331219 -2.779077)'), GeomFromEWKT('SRID=4674;POINT (-40.331257 -2.779064)'))) / (select extract(epoch from '2026-06-22 07:51:10'::timestamp) - extract(epoch from '2026-06-22 07:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331306 -2.778982)', '2026-06-22 07:51:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331257 -2.779064)'), GeomFromEWKT('SRID=4674;POINT (-40.331306 -2.778982)'))) / (select extract(epoch from '2026-06-22 07:51:31'::timestamp) - extract(epoch from '2026-06-22 07:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331257 -2.779064)'), GeomFromEWKT('SRID=4674;POINT (-40.331306 -2.778982)'))) / (select extract(epoch from '2026-06-22 07:51:31'::timestamp) - extract(epoch from '2026-06-22 07:51: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'), 46725, 'SRID=4674;POINT (-40.331376 -2.778913)', '2026-06-22 07:51:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331306 -2.778982)'), GeomFromEWKT('SRID=4674;POINT (-40.331376 -2.778913)'))) / (select extract(epoch from '2026-06-22 07:51:37'::timestamp) - extract(epoch from '2026-06-22 07:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331306 -2.778982)'), GeomFromEWKT('SRID=4674;POINT (-40.331376 -2.778913)'))) / (select extract(epoch from '2026-06-22 07:51:37'::timestamp) - extract(epoch from '2026-06-22 07:51:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331469 -2.778926)', '2026-06-22 07:51:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331376 -2.778913)'), GeomFromEWKT('SRID=4674;POINT (-40.331469 -2.778926)'))) / (select extract(epoch from '2026-06-22 07:51:42'::timestamp) - extract(epoch from '2026-06-22 07:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331376 -2.778913)'), GeomFromEWKT('SRID=4674;POINT (-40.331469 -2.778926)'))) / (select extract(epoch from '2026-06-22 07:51:42'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.331568 -2.779052)', '2026-06-22 07:51:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331469 -2.778926)'), GeomFromEWKT('SRID=4674;POINT (-40.331568 -2.779052)'))) / (select extract(epoch from '2026-06-22 07:51:50'::timestamp) - extract(epoch from '2026-06-22 07:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331469 -2.778926)'), GeomFromEWKT('SRID=4674;POINT (-40.331568 -2.779052)'))) / (select extract(epoch from '2026-06-22 07:51:50'::timestamp) - extract(epoch from '2026-06-22 07:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331617 -2.779184)', '2026-06-22 07:51:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331568 -2.779052)'), GeomFromEWKT('SRID=4674;POINT (-40.331617 -2.779184)'))) / (select extract(epoch from '2026-06-22 07:51:56'::timestamp) - extract(epoch from '2026-06-22 07:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331568 -2.779052)'), GeomFromEWKT('SRID=4674;POINT (-40.331617 -2.779184)'))) / (select extract(epoch from '2026-06-22 07:51:56'::timestamp) - extract(epoch from '2026-06-22 07:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331654 -2.779311)', '2026-06-22 07:52:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331617 -2.779184)'), GeomFromEWKT('SRID=4674;POINT (-40.331654 -2.779311)'))) / (select extract(epoch from '2026-06-22 07:52:02'::timestamp) - extract(epoch from '2026-06-22 07:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331617 -2.779184)'), GeomFromEWKT('SRID=4674;POINT (-40.331654 -2.779311)'))) / (select extract(epoch from '2026-06-22 07:52:02'::timestamp) - extract(epoch from '2026-06-22 07:51: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'), 46725, 'SRID=4674;POINT (-40.331703 -2.779466)', '2026-06-22 07:52:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331654 -2.779311)'), GeomFromEWKT('SRID=4674;POINT (-40.331703 -2.779466)'))) / (select extract(epoch from '2026-06-22 07:52:09'::timestamp) - extract(epoch from '2026-06-22 07:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331654 -2.779311)'), GeomFromEWKT('SRID=4674;POINT (-40.331703 -2.779466)'))) / (select extract(epoch from '2026-06-22 07:52:09'::timestamp) - extract(epoch from '2026-06-22 07:52: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'), 46725, 'SRID=4674;POINT (-40.33177 -2.779604)', '2026-06-22 07:52:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331703 -2.779466)'), GeomFromEWKT('SRID=4674;POINT (-40.33177 -2.779604)'))) / (select extract(epoch from '2026-06-22 07:52:15'::timestamp) - extract(epoch from '2026-06-22 07:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331703 -2.779466)'), GeomFromEWKT('SRID=4674;POINT (-40.33177 -2.779604)'))) / (select extract(epoch from '2026-06-22 07:52:15'::timestamp) - extract(epoch from '2026-06-22 07:52: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'), 46725, 'SRID=4674;POINT (-40.33184 -2.779724)', '2026-06-22 07:52:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33177 -2.779604)'), GeomFromEWKT('SRID=4674;POINT (-40.33184 -2.779724)'))) / (select extract(epoch from '2026-06-22 07:52:21'::timestamp) - extract(epoch from '2026-06-22 07:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33177 -2.779604)'), GeomFromEWKT('SRID=4674;POINT (-40.33184 -2.779724)'))) / (select extract(epoch from '2026-06-22 07:52:21'::timestamp) - extract(epoch from '2026-06-22 07:52:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.331933 -2.779882)', '2026-06-22 07:52:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33184 -2.779724)'), GeomFromEWKT('SRID=4674;POINT (-40.331933 -2.779882)'))) / (select extract(epoch from '2026-06-22 07:52:29'::timestamp) - extract(epoch from '2026-06-22 07:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33184 -2.779724)'), GeomFromEWKT('SRID=4674;POINT (-40.331933 -2.779882)'))) / (select extract(epoch from '2026-06-22 07:52:29'::timestamp) - extract(epoch from '2026-06-22 07:52: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'), 46725, 'SRID=4674;POINT (-40.332018 -2.780018)', '2026-06-22 07:52:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331933 -2.779882)'), GeomFromEWKT('SRID=4674;POINT (-40.332018 -2.780018)'))) / (select extract(epoch from '2026-06-22 07:52:36'::timestamp) - extract(epoch from '2026-06-22 07:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331933 -2.779882)'), GeomFromEWKT('SRID=4674;POINT (-40.332018 -2.780018)'))) / (select extract(epoch from '2026-06-22 07:52:36'::timestamp) - extract(epoch from '2026-06-22 07:52: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'), 46725, 'SRID=4674;POINT (-40.332146 -2.780147)', '2026-06-22 07:52:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332018 -2.780018)'), GeomFromEWKT('SRID=4674;POINT (-40.332146 -2.780147)'))) / (select extract(epoch from '2026-06-22 07:52:44'::timestamp) - extract(epoch from '2026-06-22 07:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332018 -2.780018)'), GeomFromEWKT('SRID=4674;POINT (-40.332146 -2.780147)'))) / (select extract(epoch from '2026-06-22 07:52:44'::timestamp) - extract(epoch from '2026-06-22 07:52: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'), 46725, 'SRID=4674;POINT (-40.332247 -2.780274)', '2026-06-22 07:52:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332146 -2.780147)'), GeomFromEWKT('SRID=4674;POINT (-40.332247 -2.780274)'))) / (select extract(epoch from '2026-06-22 07:52:51'::timestamp) - extract(epoch from '2026-06-22 07:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332146 -2.780147)'), GeomFromEWKT('SRID=4674;POINT (-40.332247 -2.780274)'))) / (select extract(epoch from '2026-06-22 07:52:51'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.332336 -2.780386)', '2026-06-22 07:52:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332247 -2.780274)'), GeomFromEWKT('SRID=4674;POINT (-40.332336 -2.780386)'))) / (select extract(epoch from '2026-06-22 07:52:57'::timestamp) - extract(epoch from '2026-06-22 07:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332247 -2.780274)'), GeomFromEWKT('SRID=4674;POINT (-40.332336 -2.780386)'))) / (select extract(epoch from '2026-06-22 07:52:57'::timestamp) - extract(epoch from '2026-06-22 07:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.332421 -2.780525)', '2026-06-22 07:53:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332336 -2.780386)'), GeomFromEWKT('SRID=4674;POINT (-40.332421 -2.780525)'))) / (select extract(epoch from '2026-06-22 07:53:04'::timestamp) - extract(epoch from '2026-06-22 07:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332336 -2.780386)'), GeomFromEWKT('SRID=4674;POINT (-40.332421 -2.780525)'))) / (select extract(epoch from '2026-06-22 07:53:04'::timestamp) - extract(epoch from '2026-06-22 07:52: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'), 46725, 'SRID=4674;POINT (-40.332508 -2.780644)', '2026-06-22 07:53:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332421 -2.780525)'), GeomFromEWKT('SRID=4674;POINT (-40.332508 -2.780644)'))) / (select extract(epoch from '2026-06-22 07:53:10'::timestamp) - extract(epoch from '2026-06-22 07:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332421 -2.780525)'), GeomFromEWKT('SRID=4674;POINT (-40.332508 -2.780644)'))) / (select extract(epoch from '2026-06-22 07:53:10'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.332633 -2.780785)', '2026-06-22 07:53:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332508 -2.780644)'), GeomFromEWKT('SRID=4674;POINT (-40.332633 -2.780785)'))) / (select extract(epoch from '2026-06-22 07:53:18'::timestamp) - extract(epoch from '2026-06-22 07:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332508 -2.780644)'), GeomFromEWKT('SRID=4674;POINT (-40.332633 -2.780785)'))) / (select extract(epoch from '2026-06-22 07:53:18'::timestamp) - extract(epoch from '2026-06-22 07:53: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'), 46725, 'SRID=4674;POINT (-40.332717 -2.78089)', '2026-06-22 07:53:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332633 -2.780785)'), GeomFromEWKT('SRID=4674;POINT (-40.332717 -2.78089)'))) / (select extract(epoch from '2026-06-22 07:53:24'::timestamp) - extract(epoch from '2026-06-22 07:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332633 -2.780785)'), GeomFromEWKT('SRID=4674;POINT (-40.332717 -2.78089)'))) / (select extract(epoch from '2026-06-22 07:53:24'::timestamp) - extract(epoch from '2026-06-22 07:53: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'), 46725, 'SRID=4674;POINT (-40.332802 -2.780986)', '2026-06-22 07:53:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332717 -2.78089)'), GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.780986)'))) / (select extract(epoch from '2026-06-22 07:53:29'::timestamp) - extract(epoch from '2026-06-22 07:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332717 -2.78089)'), GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.780986)'))) / (select extract(epoch from '2026-06-22 07:53:29'::timestamp) - extract(epoch from '2026-06-22 07:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.332893 -2.78108)', '2026-06-22 07:53:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.780986)'), GeomFromEWKT('SRID=4674;POINT (-40.332893 -2.78108)'))) / (select extract(epoch from '2026-06-22 07:53:35'::timestamp) - extract(epoch from '2026-06-22 07:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332802 -2.780986)'), GeomFromEWKT('SRID=4674;POINT (-40.332893 -2.78108)'))) / (select extract(epoch from '2026-06-22 07:53:35'::timestamp) - extract(epoch from '2026-06-22 07:53: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'), 46725, 'SRID=4674;POINT (-40.333009 -2.781199)', '2026-06-22 07:53:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332893 -2.78108)'), GeomFromEWKT('SRID=4674;POINT (-40.333009 -2.781199)'))) / (select extract(epoch from '2026-06-22 07:53:42'::timestamp) - extract(epoch from '2026-06-22 07:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332893 -2.78108)'), GeomFromEWKT('SRID=4674;POINT (-40.333009 -2.781199)'))) / (select extract(epoch from '2026-06-22 07:53:42'::timestamp) - extract(epoch from '2026-06-22 07:53: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'), 46725, 'SRID=4674;POINT (-40.3331 -2.781304)', '2026-06-22 07:53:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333009 -2.781199)'), GeomFromEWKT('SRID=4674;POINT (-40.3331 -2.781304)'))) / (select extract(epoch from '2026-06-22 07:53:48'::timestamp) - extract(epoch from '2026-06-22 07:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333009 -2.781199)'), GeomFromEWKT('SRID=4674;POINT (-40.3331 -2.781304)'))) / (select extract(epoch from '2026-06-22 07:53:48'::timestamp) - extract(epoch from '2026-06-22 07:53: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'), 46725, 'SRID=4674;POINT (-40.333177 -2.781417)', '2026-06-22 07:53:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3331 -2.781304)'), GeomFromEWKT('SRID=4674;POINT (-40.333177 -2.781417)'))) / (select extract(epoch from '2026-06-22 07:53:54'::timestamp) - extract(epoch from '2026-06-22 07:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3331 -2.781304)'), GeomFromEWKT('SRID=4674;POINT (-40.333177 -2.781417)'))) / (select extract(epoch from '2026-06-22 07:53:54'::timestamp) - extract(epoch from '2026-06-22 07:53: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'), 46725, 'SRID=4674;POINT (-40.333242 -2.781541)', '2026-06-22 07:54:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333177 -2.781417)'), GeomFromEWKT('SRID=4674;POINT (-40.333242 -2.781541)'))) / (select extract(epoch from '2026-06-22 07:54:00'::timestamp) - extract(epoch from '2026-06-22 07:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333177 -2.781417)'), GeomFromEWKT('SRID=4674;POINT (-40.333242 -2.781541)'))) / (select extract(epoch from '2026-06-22 07:54:00'::timestamp) - extract(epoch from '2026-06-22 07:53: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'), 46725, 'SRID=4674;POINT (-40.333337 -2.781712)', '2026-06-22 07:54:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333242 -2.781541)'), GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.781712)'))) / (select extract(epoch from '2026-06-22 07:54:08'::timestamp) - extract(epoch from '2026-06-22 07:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333242 -2.781541)'), GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.781712)'))) / (select extract(epoch from '2026-06-22 07:54:08'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.333452 -2.781853)', '2026-06-22 07:54:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.781712)'), GeomFromEWKT('SRID=4674;POINT (-40.333452 -2.781853)'))) / (select extract(epoch from '2026-06-22 07:54:16'::timestamp) - extract(epoch from '2026-06-22 07:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.781712)'), GeomFromEWKT('SRID=4674;POINT (-40.333452 -2.781853)'))) / (select extract(epoch from '2026-06-22 07:54:16'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.333542 -2.781984)', '2026-06-22 07:54:23', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333452 -2.781853)'), GeomFromEWKT('SRID=4674;POINT (-40.333542 -2.781984)'))) / (select extract(epoch from '2026-06-22 07:54:23'::timestamp) - extract(epoch from '2026-06-22 07:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333452 -2.781853)'), GeomFromEWKT('SRID=4674;POINT (-40.333542 -2.781984)'))) / (select extract(epoch from '2026-06-22 07:54:23'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.333599 -2.782081)', '2026-06-22 07:54:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333542 -2.781984)'), GeomFromEWKT('SRID=4674;POINT (-40.333599 -2.782081)'))) / (select extract(epoch from '2026-06-22 07:54:28'::timestamp) - extract(epoch from '2026-06-22 07:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333542 -2.781984)'), GeomFromEWKT('SRID=4674;POINT (-40.333599 -2.782081)'))) / (select extract(epoch from '2026-06-22 07:54:28'::timestamp) - extract(epoch from '2026-06-22 07:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.33367 -2.782225)', '2026-06-22 07:54:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333599 -2.782081)'), GeomFromEWKT('SRID=4674;POINT (-40.33367 -2.782225)'))) / (select extract(epoch from '2026-06-22 07:54:35'::timestamp) - extract(epoch from '2026-06-22 07:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333599 -2.782081)'), GeomFromEWKT('SRID=4674;POINT (-40.33367 -2.782225)'))) / (select extract(epoch from '2026-06-22 07:54:35'::timestamp) - extract(epoch from '2026-06-22 07:54: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'), 46725, 'SRID=4674;POINT (-40.333763 -2.782386)', '2026-06-22 07:54:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33367 -2.782225)'), GeomFromEWKT('SRID=4674;POINT (-40.333763 -2.782386)'))) / (select extract(epoch from '2026-06-22 07:54:43'::timestamp) - extract(epoch from '2026-06-22 07:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33367 -2.782225)'), GeomFromEWKT('SRID=4674;POINT (-40.333763 -2.782386)'))) / (select extract(epoch from '2026-06-22 07:54:43'::timestamp) - extract(epoch from '2026-06-22 07:54: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'), 46725, 'SRID=4674;POINT (-40.333854 -2.782465)', '2026-06-22 07:54:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333763 -2.782386)'), GeomFromEWKT('SRID=4674;POINT (-40.333854 -2.782465)'))) / (select extract(epoch from '2026-06-22 07:54:48'::timestamp) - extract(epoch from '2026-06-22 07:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333763 -2.782386)'), GeomFromEWKT('SRID=4674;POINT (-40.333854 -2.782465)'))) / (select extract(epoch from '2026-06-22 07:54:48'::timestamp) - extract(epoch from '2026-06-22 07:54:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.333957 -2.782564)', '2026-06-22 07:54:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333854 -2.782465)'), GeomFromEWKT('SRID=4674;POINT (-40.333957 -2.782564)'))) / (select extract(epoch from '2026-06-22 07:54:54'::timestamp) - extract(epoch from '2026-06-22 07:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333854 -2.782465)'), GeomFromEWKT('SRID=4674;POINT (-40.333957 -2.782564)'))) / (select extract(epoch from '2026-06-22 07:54:54'::timestamp) - extract(epoch from '2026-06-22 07:54: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'), 46725, 'SRID=4674;POINT (-40.334046 -2.782661)', '2026-06-22 07:55:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333957 -2.782564)'), GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.782661)'))) / (select extract(epoch from '2026-06-22 07:55:00'::timestamp) - extract(epoch from '2026-06-22 07:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333957 -2.782564)'), GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.782661)'))) / (select extract(epoch from '2026-06-22 07:55:00'::timestamp) - extract(epoch from '2026-06-22 07:54: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'), 46725, 'SRID=4674;POINT (-40.334117 -2.782767)', '2026-06-22 07:55:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.782661)'), GeomFromEWKT('SRID=4674;POINT (-40.334117 -2.782767)'))) / (select extract(epoch from '2026-06-22 07:55:06'::timestamp) - extract(epoch from '2026-06-22 07:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334046 -2.782661)'), GeomFromEWKT('SRID=4674;POINT (-40.334117 -2.782767)'))) / (select extract(epoch from '2026-06-22 07:55:06'::timestamp) - extract(epoch from '2026-06-22 07:55: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'), 46725, 'SRID=4674;POINT (-40.334193 -2.782902)', '2026-06-22 07:55:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334117 -2.782767)'), GeomFromEWKT('SRID=4674;POINT (-40.334193 -2.782902)'))) / (select extract(epoch from '2026-06-22 07:55:12'::timestamp) - extract(epoch from '2026-06-22 07:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334117 -2.782767)'), GeomFromEWKT('SRID=4674;POINT (-40.334193 -2.782902)'))) / (select extract(epoch from '2026-06-22 07:55:12'::timestamp) - extract(epoch from '2026-06-22 07:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.334282 -2.783043)', '2026-06-22 07:55:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334193 -2.782902)'), GeomFromEWKT('SRID=4674;POINT (-40.334282 -2.783043)'))) / (select extract(epoch from '2026-06-22 07:55:19'::timestamp) - extract(epoch from '2026-06-22 07:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334193 -2.782902)'), GeomFromEWKT('SRID=4674;POINT (-40.334282 -2.783043)'))) / (select extract(epoch from '2026-06-22 07:55:19'::timestamp) - extract(epoch from '2026-06-22 07:55: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'), 46725, 'SRID=4674;POINT (-40.334382 -2.783176)', '2026-06-22 07:55:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334282 -2.783043)'), GeomFromEWKT('SRID=4674;POINT (-40.334382 -2.783176)'))) / (select extract(epoch from '2026-06-22 07:55:26'::timestamp) - extract(epoch from '2026-06-22 07:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334282 -2.783043)'), GeomFromEWKT('SRID=4674;POINT (-40.334382 -2.783176)'))) / (select extract(epoch from '2026-06-22 07:55:26'::timestamp) - extract(epoch from '2026-06-22 07:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.334495 -2.783328)', '2026-06-22 07:55:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334382 -2.783176)'), GeomFromEWKT('SRID=4674;POINT (-40.334495 -2.783328)'))) / (select extract(epoch from '2026-06-22 07:55:34'::timestamp) - extract(epoch from '2026-06-22 07:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334382 -2.783176)'), GeomFromEWKT('SRID=4674;POINT (-40.334495 -2.783328)'))) / (select extract(epoch from '2026-06-22 07:55:34'::timestamp) - extract(epoch from '2026-06-22 07:55: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'), 46725, 'SRID=4674;POINT (-40.334587 -2.783487)', '2026-06-22 07:55:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334495 -2.783328)'), GeomFromEWKT('SRID=4674;POINT (-40.334587 -2.783487)'))) / (select extract(epoch from '2026-06-22 07:55:42'::timestamp) - extract(epoch from '2026-06-22 07:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334495 -2.783328)'), GeomFromEWKT('SRID=4674;POINT (-40.334587 -2.783487)'))) / (select extract(epoch from '2026-06-22 07:55:42'::timestamp) - extract(epoch from '2026-06-22 07:55: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'), 46725, 'SRID=4674;POINT (-40.33467 -2.783606)', '2026-06-22 07:55:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334587 -2.783487)'), GeomFromEWKT('SRID=4674;POINT (-40.33467 -2.783606)'))) / (select extract(epoch from '2026-06-22 07:55:48'::timestamp) - extract(epoch from '2026-06-22 07:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334587 -2.783487)'), GeomFromEWKT('SRID=4674;POINT (-40.33467 -2.783606)'))) / (select extract(epoch from '2026-06-22 07:55:48'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.334778 -2.783739)', '2026-06-22 07:55:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33467 -2.783606)'), GeomFromEWKT('SRID=4674;POINT (-40.334778 -2.783739)'))) / (select extract(epoch from '2026-06-22 07:55:55'::timestamp) - extract(epoch from '2026-06-22 07:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33467 -2.783606)'), GeomFromEWKT('SRID=4674;POINT (-40.334778 -2.783739)'))) / (select extract(epoch from '2026-06-22 07:55:55'::timestamp) - extract(epoch from '2026-06-22 07:55: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'), 46725, 'SRID=4674;POINT (-40.334912 -2.783903)', '2026-06-22 07:56:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334778 -2.783739)'), GeomFromEWKT('SRID=4674;POINT (-40.334912 -2.783903)'))) / (select extract(epoch from '2026-06-22 07:56:04'::timestamp) - extract(epoch from '2026-06-22 07:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334778 -2.783739)'), GeomFromEWKT('SRID=4674;POINT (-40.334912 -2.783903)'))) / (select extract(epoch from '2026-06-22 07:56:04'::timestamp) - extract(epoch from '2026-06-22 07:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.334971 -2.784026)', '2026-06-22 07:56:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334912 -2.783903)'), GeomFromEWKT('SRID=4674;POINT (-40.334971 -2.784026)'))) / (select extract(epoch from '2026-06-22 07:56:10'::timestamp) - extract(epoch from '2026-06-22 07:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334912 -2.783903)'), GeomFromEWKT('SRID=4674;POINT (-40.334971 -2.784026)'))) / (select extract(epoch from '2026-06-22 07:56:10'::timestamp) - extract(epoch from '2026-06-22 07:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.335032 -2.784155)', '2026-06-22 07:56:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334971 -2.784026)'), GeomFromEWKT('SRID=4674;POINT (-40.335032 -2.784155)'))) / (select extract(epoch from '2026-06-22 07:56:16'::timestamp) - extract(epoch from '2026-06-22 07:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334971 -2.784026)'), GeomFromEWKT('SRID=4674;POINT (-40.335032 -2.784155)'))) / (select extract(epoch from '2026-06-22 07:56:16'::timestamp) - extract(epoch from '2026-06-22 07:56: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'), 46725, 'SRID=4674;POINT (-40.335104 -2.784267)', '2026-06-22 07:56:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335032 -2.784155)'), GeomFromEWKT('SRID=4674;POINT (-40.335104 -2.784267)'))) / (select extract(epoch from '2026-06-22 07:56:22'::timestamp) - extract(epoch from '2026-06-22 07:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335032 -2.784155)'), GeomFromEWKT('SRID=4674;POINT (-40.335104 -2.784267)'))) / (select extract(epoch from '2026-06-22 07:56:22'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.335165 -2.784372)', '2026-06-22 07:56:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335104 -2.784267)'), GeomFromEWKT('SRID=4674;POINT (-40.335165 -2.784372)'))) / (select extract(epoch from '2026-06-22 07:56:27'::timestamp) - extract(epoch from '2026-06-22 07:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335104 -2.784267)'), GeomFromEWKT('SRID=4674;POINT (-40.335165 -2.784372)'))) / (select extract(epoch from '2026-06-22 07:56:27'::timestamp) - extract(epoch from '2026-06-22 07:56:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.335214 -2.784481)', '2026-06-22 07:56:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335165 -2.784372)'), GeomFromEWKT('SRID=4674;POINT (-40.335214 -2.784481)'))) / (select extract(epoch from '2026-06-22 07:56:32'::timestamp) - extract(epoch from '2026-06-22 07:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335165 -2.784372)'), GeomFromEWKT('SRID=4674;POINT (-40.335214 -2.784481)'))) / (select extract(epoch from '2026-06-22 07:56:32'::timestamp) - extract(epoch from '2026-06-22 07:56: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'), 46725, 'SRID=4674;POINT (-40.335302 -2.784645)', '2026-06-22 07:56:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335214 -2.784481)'), GeomFromEWKT('SRID=4674;POINT (-40.335302 -2.784645)'))) / (select extract(epoch from '2026-06-22 07:56:40'::timestamp) - extract(epoch from '2026-06-22 07:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335214 -2.784481)'), GeomFromEWKT('SRID=4674;POINT (-40.335302 -2.784645)'))) / (select extract(epoch from '2026-06-22 07:56:40'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.335422 -2.784798)', '2026-06-22 07:56:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335302 -2.784645)'), GeomFromEWKT('SRID=4674;POINT (-40.335422 -2.784798)'))) / (select extract(epoch from '2026-06-22 07:56:48'::timestamp) - extract(epoch from '2026-06-22 07:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335302 -2.784645)'), GeomFromEWKT('SRID=4674;POINT (-40.335422 -2.784798)'))) / (select extract(epoch from '2026-06-22 07:56:48'::timestamp) - extract(epoch from '2026-06-22 07:56: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'), 46725, 'SRID=4674;POINT (-40.335517 -2.784936)', '2026-06-22 07:56:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335422 -2.784798)'), GeomFromEWKT('SRID=4674;POINT (-40.335517 -2.784936)'))) / (select extract(epoch from '2026-06-22 07:56:56'::timestamp) - extract(epoch from '2026-06-22 07:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335422 -2.784798)'), GeomFromEWKT('SRID=4674;POINT (-40.335517 -2.784936)'))) / (select extract(epoch from '2026-06-22 07:56:56'::timestamp) - extract(epoch from '2026-06-22 07:56: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'), 46725, 'SRID=4674;POINT (-40.335639 -2.785112)', '2026-06-22 07:57:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335517 -2.784936)'), GeomFromEWKT('SRID=4674;POINT (-40.335639 -2.785112)'))) / (select extract(epoch from '2026-06-22 07:57:05'::timestamp) - extract(epoch from '2026-06-22 07:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335517 -2.784936)'), GeomFromEWKT('SRID=4674;POINT (-40.335639 -2.785112)'))) / (select extract(epoch from '2026-06-22 07:57:05'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.335755 -2.785244)', '2026-06-22 07:57:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335639 -2.785112)'), GeomFromEWKT('SRID=4674;POINT (-40.335755 -2.785244)'))) / (select extract(epoch from '2026-06-22 07:57:13'::timestamp) - extract(epoch from '2026-06-22 07:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335639 -2.785112)'), GeomFromEWKT('SRID=4674;POINT (-40.335755 -2.785244)'))) / (select extract(epoch from '2026-06-22 07:57:13'::timestamp) - extract(epoch from '2026-06-22 07:57: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'), 46725, 'SRID=4674;POINT (-40.335857 -2.785377)', '2026-06-22 07:57:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335755 -2.785244)'), GeomFromEWKT('SRID=4674;POINT (-40.335857 -2.785377)'))) / (select extract(epoch from '2026-06-22 07:57:20'::timestamp) - extract(epoch from '2026-06-22 07:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335755 -2.785244)'), GeomFromEWKT('SRID=4674;POINT (-40.335857 -2.785377)'))) / (select extract(epoch from '2026-06-22 07:57:20'::timestamp) - extract(epoch from '2026-06-22 07:57:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.335947 -2.785511)', '2026-06-22 07:57:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335857 -2.785377)'), GeomFromEWKT('SRID=4674;POINT (-40.335947 -2.785511)'))) / (select extract(epoch from '2026-06-22 07:57:27'::timestamp) - extract(epoch from '2026-06-22 07:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335857 -2.785377)'), GeomFromEWKT('SRID=4674;POINT (-40.335947 -2.785511)'))) / (select extract(epoch from '2026-06-22 07:57:27'::timestamp) - extract(epoch from '2026-06-22 07:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.336016 -2.785627)', '2026-06-22 07:57:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335947 -2.785511)'), GeomFromEWKT('SRID=4674;POINT (-40.336016 -2.785627)'))) / (select extract(epoch from '2026-06-22 07:57:33'::timestamp) - extract(epoch from '2026-06-22 07:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335947 -2.785511)'), GeomFromEWKT('SRID=4674;POINT (-40.336016 -2.785627)'))) / (select extract(epoch from '2026-06-22 07:57:33'::timestamp) - extract(epoch from '2026-06-22 07:57: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'), 46725, 'SRID=4674;POINT (-40.336097 -2.78577)', '2026-06-22 07:57:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336016 -2.785627)'), GeomFromEWKT('SRID=4674;POINT (-40.336097 -2.78577)'))) / (select extract(epoch from '2026-06-22 07:57:40'::timestamp) - extract(epoch from '2026-06-22 07:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336016 -2.785627)'), GeomFromEWKT('SRID=4674;POINT (-40.336097 -2.78577)'))) / (select extract(epoch from '2026-06-22 07:57:40'::timestamp) - extract(epoch from '2026-06-22 07:57: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'), 46725, 'SRID=4674;POINT (-40.336181 -2.785874)', '2026-06-22 07:57:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336097 -2.78577)'), GeomFromEWKT('SRID=4674;POINT (-40.336181 -2.785874)'))) / (select extract(epoch from '2026-06-22 07:57:46'::timestamp) - extract(epoch from '2026-06-22 07:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336097 -2.78577)'), GeomFromEWKT('SRID=4674;POINT (-40.336181 -2.785874)'))) / (select extract(epoch from '2026-06-22 07:57:46'::timestamp) - extract(epoch from '2026-06-22 07:57: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'), 46725, 'SRID=4674;POINT (-40.336284 -2.785958)', '2026-06-22 07:57:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336181 -2.785874)'), GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.785958)'))) / (select extract(epoch from '2026-06-22 07:57:52'::timestamp) - extract(epoch from '2026-06-22 07:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336181 -2.785874)'), GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.785958)'))) / (select extract(epoch from '2026-06-22 07:57:52'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.336414 -2.786093)', '2026-06-22 07:58:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.785958)'), GeomFromEWKT('SRID=4674;POINT (-40.336414 -2.786093)'))) / (select extract(epoch from '2026-06-22 07:58:00'::timestamp) - extract(epoch from '2026-06-22 07:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336284 -2.785958)'), GeomFromEWKT('SRID=4674;POINT (-40.336414 -2.786093)'))) / (select extract(epoch from '2026-06-22 07:58:00'::timestamp) - extract(epoch from '2026-06-22 07:57: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'), 46725, 'SRID=4674;POINT (-40.336545 -2.78626)', '2026-06-22 07:58:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336414 -2.786093)'), GeomFromEWKT('SRID=4674;POINT (-40.336545 -2.78626)'))) / (select extract(epoch from '2026-06-22 07:58:09'::timestamp) - extract(epoch from '2026-06-22 07:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336414 -2.786093)'), GeomFromEWKT('SRID=4674;POINT (-40.336545 -2.78626)'))) / (select extract(epoch from '2026-06-22 07:58:09'::timestamp) - extract(epoch from '2026-06-22 07:58: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'), 46725, 'SRID=4674;POINT (-40.336673 -2.786398)', '2026-06-22 07:58:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336545 -2.78626)'), GeomFromEWKT('SRID=4674;POINT (-40.336673 -2.786398)'))) / (select extract(epoch from '2026-06-22 07:58:17'::timestamp) - extract(epoch from '2026-06-22 07:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336545 -2.78626)'), GeomFromEWKT('SRID=4674;POINT (-40.336673 -2.786398)'))) / (select extract(epoch from '2026-06-22 07:58:17'::timestamp) - extract(epoch from '2026-06-22 07:58: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'), 46725, 'SRID=4674;POINT (-40.336772 -2.786492)', '2026-06-22 07:58:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336673 -2.786398)'), GeomFromEWKT('SRID=4674;POINT (-40.336772 -2.786492)'))) / (select extract(epoch from '2026-06-22 07:58:23'::timestamp) - extract(epoch from '2026-06-22 07:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336673 -2.786398)'), GeomFromEWKT('SRID=4674;POINT (-40.336772 -2.786492)'))) / (select extract(epoch from '2026-06-22 07:58:23'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.336886 -2.786634)', '2026-06-22 07:58:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336772 -2.786492)'), GeomFromEWKT('SRID=4674;POINT (-40.336886 -2.786634)'))) / (select extract(epoch from '2026-06-22 07:58:31'::timestamp) - extract(epoch from '2026-06-22 07:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336772 -2.786492)'), GeomFromEWKT('SRID=4674;POINT (-40.336886 -2.786634)'))) / (select extract(epoch from '2026-06-22 07:58:31'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.336953 -2.786726)', '2026-06-22 07:58:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336886 -2.786634)'), GeomFromEWKT('SRID=4674;POINT (-40.336953 -2.786726)'))) / (select extract(epoch from '2026-06-22 07:58:36'::timestamp) - extract(epoch from '2026-06-22 07:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336886 -2.786634)'), GeomFromEWKT('SRID=4674;POINT (-40.336953 -2.786726)'))) / (select extract(epoch from '2026-06-22 07:58:36'::timestamp) - extract(epoch from '2026-06-22 07:58: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'), 46725, 'SRID=4674;POINT (-40.337017 -2.786853)', '2026-06-22 07:58:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336953 -2.786726)'), GeomFromEWKT('SRID=4674;POINT (-40.337017 -2.786853)'))) / (select extract(epoch from '2026-06-22 07:58:42'::timestamp) - extract(epoch from '2026-06-22 07:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336953 -2.786726)'), GeomFromEWKT('SRID=4674;POINT (-40.337017 -2.786853)'))) / (select extract(epoch from '2026-06-22 07:58:42'::timestamp) - extract(epoch from '2026-06-22 07:58: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'), 46725, 'SRID=4674;POINT (-40.337108 -2.787012)', '2026-06-22 07:58:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337017 -2.786853)'), GeomFromEWKT('SRID=4674;POINT (-40.337108 -2.787012)'))) / (select extract(epoch from '2026-06-22 07:58:50'::timestamp) - extract(epoch from '2026-06-22 07:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337017 -2.786853)'), GeomFromEWKT('SRID=4674;POINT (-40.337108 -2.787012)'))) / (select extract(epoch from '2026-06-22 07:58:50'::timestamp) - extract(epoch from '2026-06-22 07:58: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'), 46725, 'SRID=4674;POINT (-40.3372 -2.78715)', '2026-06-22 07:58:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337108 -2.787012)'), GeomFromEWKT('SRID=4674;POINT (-40.3372 -2.78715)'))) / (select extract(epoch from '2026-06-22 07:58:57'::timestamp) - extract(epoch from '2026-06-22 07:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337108 -2.787012)'), GeomFromEWKT('SRID=4674;POINT (-40.3372 -2.78715)'))) / (select extract(epoch from '2026-06-22 07:58:57'::timestamp) - extract(epoch from '2026-06-22 07:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.337298 -2.787283)', '2026-06-22 07:59:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3372 -2.78715)'), GeomFromEWKT('SRID=4674;POINT (-40.337298 -2.787283)'))) / (select extract(epoch from '2026-06-22 07:59:04'::timestamp) - extract(epoch from '2026-06-22 07:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3372 -2.78715)'), GeomFromEWKT('SRID=4674;POINT (-40.337298 -2.787283)'))) / (select extract(epoch from '2026-06-22 07:59:04'::timestamp) - extract(epoch from '2026-06-22 07:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.337347 -2.787386)', '2026-06-22 07:59:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337298 -2.787283)'), GeomFromEWKT('SRID=4674;POINT (-40.337347 -2.787386)'))) / (select extract(epoch from '2026-06-22 07:59:09'::timestamp) - extract(epoch from '2026-06-22 07:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337298 -2.787283)'), GeomFromEWKT('SRID=4674;POINT (-40.337347 -2.787386)'))) / (select extract(epoch from '2026-06-22 07:59:09'::timestamp) - extract(epoch from '2026-06-22 07:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.337412 -2.787509)', '2026-06-22 07:59:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337347 -2.787386)'), GeomFromEWKT('SRID=4674;POINT (-40.337412 -2.787509)'))) / (select extract(epoch from '2026-06-22 07:59:15'::timestamp) - extract(epoch from '2026-06-22 07:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337347 -2.787386)'), GeomFromEWKT('SRID=4674;POINT (-40.337412 -2.787509)'))) / (select extract(epoch from '2026-06-22 07:59:15'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.337514 -2.787692)', '2026-06-22 07:59:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337412 -2.787509)'), GeomFromEWKT('SRID=4674;POINT (-40.337514 -2.787692)'))) / (select extract(epoch from '2026-06-22 07:59:24'::timestamp) - extract(epoch from '2026-06-22 07:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337412 -2.787509)'), GeomFromEWKT('SRID=4674;POINT (-40.337514 -2.787692)'))) / (select extract(epoch from '2026-06-22 07:59:24'::timestamp) - extract(epoch from '2026-06-22 07: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'), 46725, 'SRID=4674;POINT (-40.337609 -2.787786)', '2026-06-22 07:59:30', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337514 -2.787692)'), GeomFromEWKT('SRID=4674;POINT (-40.337609 -2.787786)'))) / (select extract(epoch from '2026-06-22 07:59:30'::timestamp) - extract(epoch from '2026-06-22 07:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337514 -2.787692)'), GeomFromEWKT('SRID=4674;POINT (-40.337609 -2.787786)'))) / (select extract(epoch from '2026-06-22 07:59:30'::timestamp) - extract(epoch from '2026-06-22 07:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.337687 -2.78789)', '2026-06-22 07:59:36', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337609 -2.787786)'), GeomFromEWKT('SRID=4674;POINT (-40.337687 -2.78789)'))) / (select extract(epoch from '2026-06-22 07:59:36'::timestamp) - extract(epoch from '2026-06-22 07:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337609 -2.787786)'), GeomFromEWKT('SRID=4674;POINT (-40.337687 -2.78789)'))) / (select extract(epoch from '2026-06-22 07:59:36'::timestamp) - extract(epoch from '2026-06-22 07:59: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'), 46725, 'SRID=4674;POINT (-40.337763 -2.788005)', '2026-06-22 07:59:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337687 -2.78789)'), GeomFromEWKT('SRID=4674;POINT (-40.337763 -2.788005)'))) / (select extract(epoch from '2026-06-22 07:59:42'::timestamp) - extract(epoch from '2026-06-22 07:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337687 -2.78789)'), GeomFromEWKT('SRID=4674;POINT (-40.337763 -2.788005)'))) / (select extract(epoch from '2026-06-22 07:59:42'::timestamp) - extract(epoch from '2026-06-22 07:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.337832 -2.788131)', '2026-06-22 07:59:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337763 -2.788005)'), GeomFromEWKT('SRID=4674;POINT (-40.337832 -2.788131)'))) / (select extract(epoch from '2026-06-22 07:59:48'::timestamp) - extract(epoch from '2026-06-22 07:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337763 -2.788005)'), GeomFromEWKT('SRID=4674;POINT (-40.337832 -2.788131)'))) / (select extract(epoch from '2026-06-22 07:59:48'::timestamp) - extract(epoch from '2026-06-22 07:59: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'), 46725, 'SRID=4674;POINT (-40.337913 -2.78825)', '2026-06-22 07:59:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337832 -2.788131)'), GeomFromEWKT('SRID=4674;POINT (-40.337913 -2.78825)'))) / (select extract(epoch from '2026-06-22 07:59:54'::timestamp) - extract(epoch from '2026-06-22 07:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337832 -2.788131)'), GeomFromEWKT('SRID=4674;POINT (-40.337913 -2.78825)'))) / (select extract(epoch from '2026-06-22 07:59:54'::timestamp) - extract(epoch from '2026-06-22 07:59: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'), 46725, 'SRID=4674;POINT (-40.338015 -2.788371)', '2026-06-22 08:00:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337913 -2.78825)'), GeomFromEWKT('SRID=4674;POINT (-40.338015 -2.788371)'))) / (select extract(epoch from '2026-06-22 08:00:01'::timestamp) - extract(epoch from '2026-06-22 07:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337913 -2.78825)'), GeomFromEWKT('SRID=4674;POINT (-40.338015 -2.788371)'))) / (select extract(epoch from '2026-06-22 08:00:01'::timestamp) - extract(epoch from '2026-06-22 07:59: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'), 46725, 'SRID=4674;POINT (-40.33812 -2.788515)', '2026-06-22 08:00:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338015 -2.788371)'), GeomFromEWKT('SRID=4674;POINT (-40.33812 -2.788515)'))) / (select extract(epoch from '2026-06-22 08:00:09'::timestamp) - extract(epoch from '2026-06-22 08:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338015 -2.788371)'), GeomFromEWKT('SRID=4674;POINT (-40.33812 -2.788515)'))) / (select extract(epoch from '2026-06-22 08:00:09'::timestamp) - extract(epoch from '2026-06-22 08:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.338217 -2.788677)', '2026-06-22 08:00:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33812 -2.788515)'), GeomFromEWKT('SRID=4674;POINT (-40.338217 -2.788677)'))) / (select extract(epoch from '2026-06-22 08:00:17'::timestamp) - extract(epoch from '2026-06-22 08:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33812 -2.788515)'), GeomFromEWKT('SRID=4674;POINT (-40.338217 -2.788677)'))) / (select extract(epoch from '2026-06-22 08:00:17'::timestamp) - extract(epoch from '2026-06-22 08:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.33831 -2.788775)', '2026-06-22 08:00:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338217 -2.788677)'), GeomFromEWKT('SRID=4674;POINT (-40.33831 -2.788775)'))) / (select extract(epoch from '2026-06-22 08:00:23'::timestamp) - extract(epoch from '2026-06-22 08:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338217 -2.788677)'), GeomFromEWKT('SRID=4674;POINT (-40.33831 -2.788775)'))) / (select extract(epoch from '2026-06-22 08:00:23'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.338409 -2.788886)', '2026-06-22 08:00:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33831 -2.788775)'), GeomFromEWKT('SRID=4674;POINT (-40.338409 -2.788886)'))) / (select extract(epoch from '2026-06-22 08:00:29'::timestamp) - extract(epoch from '2026-06-22 08:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33831 -2.788775)'), GeomFromEWKT('SRID=4674;POINT (-40.338409 -2.788886)'))) / (select extract(epoch from '2026-06-22 08:00:29'::timestamp) - extract(epoch from '2026-06-22 08:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.338519 -2.788994)', '2026-06-22 08:00:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338409 -2.788886)'), GeomFromEWKT('SRID=4674;POINT (-40.338519 -2.788994)'))) / (select extract(epoch from '2026-06-22 08:00:36'::timestamp) - extract(epoch from '2026-06-22 08:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338409 -2.788886)'), GeomFromEWKT('SRID=4674;POINT (-40.338519 -2.788994)'))) / (select extract(epoch from '2026-06-22 08:00:36'::timestamp) - extract(epoch from '2026-06-22 08:00: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'), 46725, 'SRID=4674;POINT (-40.338607 -2.78916)', '2026-06-22 08:00:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338519 -2.788994)'), GeomFromEWKT('SRID=4674;POINT (-40.338607 -2.78916)'))) / (select extract(epoch from '2026-06-22 08:00:44'::timestamp) - extract(epoch from '2026-06-22 08:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338519 -2.788994)'), GeomFromEWKT('SRID=4674;POINT (-40.338607 -2.78916)'))) / (select extract(epoch from '2026-06-22 08:00:44'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.338679 -2.789308)', '2026-06-22 08:00:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338607 -2.78916)'), GeomFromEWKT('SRID=4674;POINT (-40.338679 -2.789308)'))) / (select extract(epoch from '2026-06-22 08:00:51'::timestamp) - extract(epoch from '2026-06-22 08:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338607 -2.78916)'), GeomFromEWKT('SRID=4674;POINT (-40.338679 -2.789308)'))) / (select extract(epoch from '2026-06-22 08:00:51'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.338755 -2.7894)', '2026-06-22 08:00:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338679 -2.789308)'), GeomFromEWKT('SRID=4674;POINT (-40.338755 -2.7894)'))) / (select extract(epoch from '2026-06-22 08:00:56'::timestamp) - extract(epoch from '2026-06-22 08:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338679 -2.789308)'), GeomFromEWKT('SRID=4674;POINT (-40.338755 -2.7894)'))) / (select extract(epoch from '2026-06-22 08:00:56'::timestamp) - extract(epoch from '2026-06-22 08:00: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'), 46725, 'SRID=4674;POINT (-40.338853 -2.789492)', '2026-06-22 08:01:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338755 -2.7894)'), GeomFromEWKT('SRID=4674;POINT (-40.338853 -2.789492)'))) / (select extract(epoch from '2026-06-22 08:01:02'::timestamp) - extract(epoch from '2026-06-22 08:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338755 -2.7894)'), GeomFromEWKT('SRID=4674;POINT (-40.338853 -2.789492)'))) / (select extract(epoch from '2026-06-22 08:01:02'::timestamp) - extract(epoch from '2026-06-22 08:00: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'), 46725, 'SRID=4674;POINT (-40.338931 -2.789597)', '2026-06-22 08:01:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338853 -2.789492)'), GeomFromEWKT('SRID=4674;POINT (-40.338931 -2.789597)'))) / (select extract(epoch from '2026-06-22 08:01:08'::timestamp) - extract(epoch from '2026-06-22 08:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338853 -2.789492)'), GeomFromEWKT('SRID=4674;POINT (-40.338931 -2.789597)'))) / (select extract(epoch from '2026-06-22 08:01:08'::timestamp) - extract(epoch from '2026-06-22 08:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.338991 -2.789725)', '2026-06-22 08:01:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338931 -2.789597)'), GeomFromEWKT('SRID=4674;POINT (-40.338991 -2.789725)'))) / (select extract(epoch from '2026-06-22 08:01:14'::timestamp) - extract(epoch from '2026-06-22 08:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338931 -2.789597)'), GeomFromEWKT('SRID=4674;POINT (-40.338991 -2.789725)'))) / (select extract(epoch from '2026-06-22 08:01:14'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.339102 -2.789902)', '2026-06-22 08:01:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338991 -2.789725)'), GeomFromEWKT('SRID=4674;POINT (-40.339102 -2.789902)'))) / (select extract(epoch from '2026-06-22 08:01:23'::timestamp) - extract(epoch from '2026-06-22 08:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338991 -2.789725)'), GeomFromEWKT('SRID=4674;POINT (-40.339102 -2.789902)'))) / (select extract(epoch from '2026-06-22 08:01:23'::timestamp) - extract(epoch from '2026-06-22 08:01: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'), 46725, 'SRID=4674;POINT (-40.339202 -2.790054)', '2026-06-22 08:01:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339102 -2.789902)'), GeomFromEWKT('SRID=4674;POINT (-40.339202 -2.790054)'))) / (select extract(epoch from '2026-06-22 08:01:31'::timestamp) - extract(epoch from '2026-06-22 08:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339102 -2.789902)'), GeomFromEWKT('SRID=4674;POINT (-40.339202 -2.790054)'))) / (select extract(epoch from '2026-06-22 08:01:31'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.339314 -2.790186)', '2026-06-22 08:01:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339202 -2.790054)'), GeomFromEWKT('SRID=4674;POINT (-40.339314 -2.790186)'))) / (select extract(epoch from '2026-06-22 08:01:38'::timestamp) - extract(epoch from '2026-06-22 08:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339202 -2.790054)'), GeomFromEWKT('SRID=4674;POINT (-40.339314 -2.790186)'))) / (select extract(epoch from '2026-06-22 08:01:38'::timestamp) - extract(epoch from '2026-06-22 08:01: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'), 46725, 'SRID=4674;POINT (-40.339375 -2.790265)', '2026-06-22 08:01:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339314 -2.790186)'), GeomFromEWKT('SRID=4674;POINT (-40.339375 -2.790265)'))) / (select extract(epoch from '2026-06-22 08:01:43'::timestamp) - extract(epoch from '2026-06-22 08:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339314 -2.790186)'), GeomFromEWKT('SRID=4674;POINT (-40.339375 -2.790265)'))) / (select extract(epoch from '2026-06-22 08:01:43'::timestamp) - extract(epoch from '2026-06-22 08:01: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'), 46725, 'SRID=4674;POINT (-40.339457 -2.790388)', '2026-06-22 08:01:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339375 -2.790265)'), GeomFromEWKT('SRID=4674;POINT (-40.339457 -2.790388)'))) / (select extract(epoch from '2026-06-22 08:01:49'::timestamp) - extract(epoch from '2026-06-22 08:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339375 -2.790265)'), GeomFromEWKT('SRID=4674;POINT (-40.339457 -2.790388)'))) / (select extract(epoch from '2026-06-22 08:01:49'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.339538 -2.790507)', '2026-06-22 08:01:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339457 -2.790388)'), GeomFromEWKT('SRID=4674;POINT (-40.339538 -2.790507)'))) / (select extract(epoch from '2026-06-22 08:01:55'::timestamp) - extract(epoch from '2026-06-22 08:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339457 -2.790388)'), GeomFromEWKT('SRID=4674;POINT (-40.339538 -2.790507)'))) / (select extract(epoch from '2026-06-22 08:01:55'::timestamp) - extract(epoch from '2026-06-22 08:01: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'), 46725, 'SRID=4674;POINT (-40.339666 -2.790697)', '2026-06-22 08:02:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339538 -2.790507)'), GeomFromEWKT('SRID=4674;POINT (-40.339666 -2.790697)'))) / (select extract(epoch from '2026-06-22 08:02:05'::timestamp) - extract(epoch from '2026-06-22 08:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339538 -2.790507)'), GeomFromEWKT('SRID=4674;POINT (-40.339666 -2.790697)'))) / (select extract(epoch from '2026-06-22 08:02:05'::timestamp) - extract(epoch from '2026-06-22 08:01: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'), 46725, 'SRID=4674;POINT (-40.339791 -2.790829)', '2026-06-22 08:02:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339666 -2.790697)'), GeomFromEWKT('SRID=4674;POINT (-40.339791 -2.790829)'))) / (select extract(epoch from '2026-06-22 08:02:13'::timestamp) - extract(epoch from '2026-06-22 08:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339666 -2.790697)'), GeomFromEWKT('SRID=4674;POINT (-40.339791 -2.790829)'))) / (select extract(epoch from '2026-06-22 08:02:13'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.339874 -2.790967)', '2026-06-22 08:02:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339791 -2.790829)'), GeomFromEWKT('SRID=4674;POINT (-40.339874 -2.790967)'))) / (select extract(epoch from '2026-06-22 08:02:20'::timestamp) - extract(epoch from '2026-06-22 08:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339791 -2.790829)'), GeomFromEWKT('SRID=4674;POINT (-40.339874 -2.790967)'))) / (select extract(epoch from '2026-06-22 08:02:20'::timestamp) - extract(epoch from '2026-06-22 08:02: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'), 46725, 'SRID=4674;POINT (-40.339964 -2.791126)', '2026-06-22 08:02:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339874 -2.790967)'), GeomFromEWKT('SRID=4674;POINT (-40.339964 -2.791126)'))) / (select extract(epoch from '2026-06-22 08:02:28'::timestamp) - extract(epoch from '2026-06-22 08:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339874 -2.790967)'), GeomFromEWKT('SRID=4674;POINT (-40.339964 -2.791126)'))) / (select extract(epoch from '2026-06-22 08:02:28'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.340074 -2.79123)', '2026-06-22 08:02:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339964 -2.791126)'), GeomFromEWKT('SRID=4674;POINT (-40.340074 -2.79123)'))) / (select extract(epoch from '2026-06-22 08:02:34'::timestamp) - extract(epoch from '2026-06-22 08:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339964 -2.791126)'), GeomFromEWKT('SRID=4674;POINT (-40.340074 -2.79123)'))) / (select extract(epoch from '2026-06-22 08:02:34'::timestamp) - extract(epoch from '2026-06-22 08:02: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'), 46725, 'SRID=4674;POINT (-40.340196 -2.791315)', '2026-06-22 08:02:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340074 -2.79123)'), GeomFromEWKT('SRID=4674;POINT (-40.340196 -2.791315)'))) / (select extract(epoch from '2026-06-22 08:02:40'::timestamp) - extract(epoch from '2026-06-22 08:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340074 -2.79123)'), GeomFromEWKT('SRID=4674;POINT (-40.340196 -2.791315)'))) / (select extract(epoch from '2026-06-22 08:02:40'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.340268 -2.791395)', '2026-06-22 08:02:45', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340196 -2.791315)'), GeomFromEWKT('SRID=4674;POINT (-40.340268 -2.791395)'))) / (select extract(epoch from '2026-06-22 08:02:45'::timestamp) - extract(epoch from '2026-06-22 08:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340196 -2.791315)'), GeomFromEWKT('SRID=4674;POINT (-40.340268 -2.791395)'))) / (select extract(epoch from '2026-06-22 08:02:45'::timestamp) - extract(epoch from '2026-06-22 08:02: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'), 46725, 'SRID=4674;POINT (-40.340395 -2.791533)', '2026-06-22 08:02:53', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340268 -2.791395)'), GeomFromEWKT('SRID=4674;POINT (-40.340395 -2.791533)'))) / (select extract(epoch from '2026-06-22 08:02:53'::timestamp) - extract(epoch from '2026-06-22 08:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340268 -2.791395)'), GeomFromEWKT('SRID=4674;POINT (-40.340395 -2.791533)'))) / (select extract(epoch from '2026-06-22 08:02:53'::timestamp) - extract(epoch from '2026-06-22 08:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.340535 -2.791681)', '2026-06-22 08:03:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340395 -2.791533)'), GeomFromEWKT('SRID=4674;POINT (-40.340535 -2.791681)'))) / (select extract(epoch from '2026-06-22 08:03:01'::timestamp) - extract(epoch from '2026-06-22 08:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340395 -2.791533)'), GeomFromEWKT('SRID=4674;POINT (-40.340535 -2.791681)'))) / (select extract(epoch from '2026-06-22 08:03:01'::timestamp) - extract(epoch from '2026-06-22 08:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.340618 -2.791796)', '2026-06-22 08:03:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340535 -2.791681)'), GeomFromEWKT('SRID=4674;POINT (-40.340618 -2.791796)'))) / (select extract(epoch from '2026-06-22 08:03:07'::timestamp) - extract(epoch from '2026-06-22 08:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340535 -2.791681)'), GeomFromEWKT('SRID=4674;POINT (-40.340618 -2.791796)'))) / (select extract(epoch from '2026-06-22 08:03:07'::timestamp) - extract(epoch from '2026-06-22 08:03: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'), 46725, 'SRID=4674;POINT (-40.340698 -2.791913)', '2026-06-22 08:03:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340618 -2.791796)'), GeomFromEWKT('SRID=4674;POINT (-40.340698 -2.791913)'))) / (select extract(epoch from '2026-06-22 08:03:13'::timestamp) - extract(epoch from '2026-06-22 08:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340618 -2.791796)'), GeomFromEWKT('SRID=4674;POINT (-40.340698 -2.791913)'))) / (select extract(epoch from '2026-06-22 08:03:13'::timestamp) - extract(epoch from '2026-06-22 08:03:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.340801 -2.792047)', '2026-06-22 08:03:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340698 -2.791913)'), GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.792047)'))) / (select extract(epoch from '2026-06-22 08:03:20'::timestamp) - extract(epoch from '2026-06-22 08:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340698 -2.791913)'), GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.792047)'))) / (select extract(epoch from '2026-06-22 08:03:20'::timestamp) - extract(epoch from '2026-06-22 08:03: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'), 46725, 'SRID=4674;POINT (-40.340917 -2.792193)', '2026-06-22 08:03:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.340917 -2.792193)'))) / (select extract(epoch from '2026-06-22 08:03:28'::timestamp) - extract(epoch from '2026-06-22 08:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340801 -2.792047)'), GeomFromEWKT('SRID=4674;POINT (-40.340917 -2.792193)'))) / (select extract(epoch from '2026-06-22 08:03:28'::timestamp) - extract(epoch from '2026-06-22 08:03:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.341027 -2.792352)', '2026-06-22 08:03:36', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340917 -2.792193)'), GeomFromEWKT('SRID=4674;POINT (-40.341027 -2.792352)'))) / (select extract(epoch from '2026-06-22 08:03:36'::timestamp) - extract(epoch from '2026-06-22 08:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340917 -2.792193)'), GeomFromEWKT('SRID=4674;POINT (-40.341027 -2.792352)'))) / (select extract(epoch from '2026-06-22 08:03:36'::timestamp) - extract(epoch from '2026-06-22 08:03: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'), 46725, 'SRID=4674;POINT (-40.341158 -2.792512)', '2026-06-22 08:03:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341027 -2.792352)'), GeomFromEWKT('SRID=4674;POINT (-40.341158 -2.792512)'))) / (select extract(epoch from '2026-06-22 08:03:45'::timestamp) - extract(epoch from '2026-06-22 08:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341027 -2.792352)'), GeomFromEWKT('SRID=4674;POINT (-40.341158 -2.792512)'))) / (select extract(epoch from '2026-06-22 08:03:45'::timestamp) - extract(epoch from '2026-06-22 08:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.34128 -2.79268)', '2026-06-22 08:03:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341158 -2.792512)'), GeomFromEWKT('SRID=4674;POINT (-40.34128 -2.79268)'))) / (select extract(epoch from '2026-06-22 08:03:54'::timestamp) - extract(epoch from '2026-06-22 08:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341158 -2.792512)'), GeomFromEWKT('SRID=4674;POINT (-40.34128 -2.79268)'))) / (select extract(epoch from '2026-06-22 08:03:54'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.341368 -2.792827)', '2026-06-22 08:04:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34128 -2.79268)'), GeomFromEWKT('SRID=4674;POINT (-40.341368 -2.792827)'))) / (select extract(epoch from '2026-06-22 08:04:01'::timestamp) - extract(epoch from '2026-06-22 08:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34128 -2.79268)'), GeomFromEWKT('SRID=4674;POINT (-40.341368 -2.792827)'))) / (select extract(epoch from '2026-06-22 08:04:01'::timestamp) - extract(epoch from '2026-06-22 08:03: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'), 46725, 'SRID=4674;POINT (-40.34149 -2.792965)', '2026-06-22 08:04:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341368 -2.792827)'), GeomFromEWKT('SRID=4674;POINT (-40.34149 -2.792965)'))) / (select extract(epoch from '2026-06-22 08:04:09'::timestamp) - extract(epoch from '2026-06-22 08:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341368 -2.792827)'), GeomFromEWKT('SRID=4674;POINT (-40.34149 -2.792965)'))) / (select extract(epoch from '2026-06-22 08:04:09'::timestamp) - extract(epoch from '2026-06-22 08:04: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'), 46725, 'SRID=4674;POINT (-40.341589 -2.793058)', '2026-06-22 08:04:15', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34149 -2.792965)'), GeomFromEWKT('SRID=4674;POINT (-40.341589 -2.793058)'))) / (select extract(epoch from '2026-06-22 08:04:15'::timestamp) - extract(epoch from '2026-06-22 08:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34149 -2.792965)'), GeomFromEWKT('SRID=4674;POINT (-40.341589 -2.793058)'))) / (select extract(epoch from '2026-06-22 08:04:15'::timestamp) - extract(epoch from '2026-06-22 08:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.341712 -2.793181)', '2026-06-22 08:04:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341589 -2.793058)'), GeomFromEWKT('SRID=4674;POINT (-40.341712 -2.793181)'))) / (select extract(epoch from '2026-06-22 08:04:23'::timestamp) - extract(epoch from '2026-06-22 08:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341589 -2.793058)'), GeomFromEWKT('SRID=4674;POINT (-40.341712 -2.793181)'))) / (select extract(epoch from '2026-06-22 08:04:23'::timestamp) - extract(epoch from '2026-06-22 08:04: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'), 46725, 'SRID=4674;POINT (-40.341807 -2.793314)', '2026-06-22 08:04:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341712 -2.793181)'), GeomFromEWKT('SRID=4674;POINT (-40.341807 -2.793314)'))) / (select extract(epoch from '2026-06-22 08:04:30'::timestamp) - extract(epoch from '2026-06-22 08:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341712 -2.793181)'), GeomFromEWKT('SRID=4674;POINT (-40.341807 -2.793314)'))) / (select extract(epoch from '2026-06-22 08:04:30'::timestamp) - extract(epoch from '2026-06-22 08:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.341899 -2.793449)', '2026-06-22 08:04:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341807 -2.793314)'), GeomFromEWKT('SRID=4674;POINT (-40.341899 -2.793449)'))) / (select extract(epoch from '2026-06-22 08:04:37'::timestamp) - extract(epoch from '2026-06-22 08:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341807 -2.793314)'), GeomFromEWKT('SRID=4674;POINT (-40.341899 -2.793449)'))) / (select extract(epoch from '2026-06-22 08:04:37'::timestamp) - extract(epoch from '2026-06-22 08:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.342004 -2.793628)', '2026-06-22 08:04:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341899 -2.793449)'), GeomFromEWKT('SRID=4674;POINT (-40.342004 -2.793628)'))) / (select extract(epoch from '2026-06-22 08:04:46'::timestamp) - extract(epoch from '2026-06-22 08:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341899 -2.793449)'), GeomFromEWKT('SRID=4674;POINT (-40.342004 -2.793628)'))) / (select extract(epoch from '2026-06-22 08:04:46'::timestamp) - extract(epoch from '2026-06-22 08:04: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'), 46725, 'SRID=4674;POINT (-40.342133 -2.793764)', '2026-06-22 08:04:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342004 -2.793628)'), GeomFromEWKT('SRID=4674;POINT (-40.342133 -2.793764)'))) / (select extract(epoch from '2026-06-22 08:04:54'::timestamp) - extract(epoch from '2026-06-22 08:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342004 -2.793628)'), GeomFromEWKT('SRID=4674;POINT (-40.342133 -2.793764)'))) / (select extract(epoch from '2026-06-22 08:04:54'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.342247 -2.793888)', '2026-06-22 08:05:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342133 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.342247 -2.793888)'))) / (select extract(epoch from '2026-06-22 08:05:01'::timestamp) - extract(epoch from '2026-06-22 08:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342133 -2.793764)'), GeomFromEWKT('SRID=4674;POINT (-40.342247 -2.793888)'))) / (select extract(epoch from '2026-06-22 08:05:01'::timestamp) - extract(epoch from '2026-06-22 08:04: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'), 46725, 'SRID=4674;POINT (-40.342341 -2.793986)', '2026-06-22 08:05:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342247 -2.793888)'), GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.793986)'))) / (select extract(epoch from '2026-06-22 08:05:07'::timestamp) - extract(epoch from '2026-06-22 08:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342247 -2.793888)'), GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.793986)'))) / (select extract(epoch from '2026-06-22 08:05:07'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.342477 -2.794097)', '2026-06-22 08:05:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.793986)'), GeomFromEWKT('SRID=4674;POINT (-40.342477 -2.794097)'))) / (select extract(epoch from '2026-06-22 08:05:14'::timestamp) - extract(epoch from '2026-06-22 08:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.793986)'), GeomFromEWKT('SRID=4674;POINT (-40.342477 -2.794097)'))) / (select extract(epoch from '2026-06-22 08:05:14'::timestamp) - extract(epoch from '2026-06-22 08:05: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'), 46725, 'SRID=4674;POINT (-40.342612 -2.794251)', '2026-06-22 08:05:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342477 -2.794097)'), GeomFromEWKT('SRID=4674;POINT (-40.342612 -2.794251)'))) / (select extract(epoch from '2026-06-22 08:05:23'::timestamp) - extract(epoch from '2026-06-22 08:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342477 -2.794097)'), GeomFromEWKT('SRID=4674;POINT (-40.342612 -2.794251)'))) / (select extract(epoch from '2026-06-22 08:05:23'::timestamp) - extract(epoch from '2026-06-22 08:05: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'), 46725, 'SRID=4674;POINT (-40.342707 -2.794388)', '2026-06-22 08:05:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342612 -2.794251)'), GeomFromEWKT('SRID=4674;POINT (-40.342707 -2.794388)'))) / (select extract(epoch from '2026-06-22 08:05:30'::timestamp) - extract(epoch from '2026-06-22 08:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342612 -2.794251)'), GeomFromEWKT('SRID=4674;POINT (-40.342707 -2.794388)'))) / (select extract(epoch from '2026-06-22 08:05:30'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.342784 -2.794476)', '2026-06-22 08:05:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342707 -2.794388)'), GeomFromEWKT('SRID=4674;POINT (-40.342784 -2.794476)'))) / (select extract(epoch from '2026-06-22 08:05:35'::timestamp) - extract(epoch from '2026-06-22 08:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342707 -2.794388)'), GeomFromEWKT('SRID=4674;POINT (-40.342784 -2.794476)'))) / (select extract(epoch from '2026-06-22 08:05:35'::timestamp) - extract(epoch from '2026-06-22 08:05: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'), 46725, 'SRID=4674;POINT (-40.342861 -2.794553)', '2026-06-22 08:05:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342784 -2.794476)'), GeomFromEWKT('SRID=4674;POINT (-40.342861 -2.794553)'))) / (select extract(epoch from '2026-06-22 08:05:40'::timestamp) - extract(epoch from '2026-06-22 08:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342784 -2.794476)'), GeomFromEWKT('SRID=4674;POINT (-40.342861 -2.794553)'))) / (select extract(epoch from '2026-06-22 08:05:40'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.343003 -2.794686)', '2026-06-22 08:05:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342861 -2.794553)'), GeomFromEWKT('SRID=4674;POINT (-40.343003 -2.794686)'))) / (select extract(epoch from '2026-06-22 08:05:48'::timestamp) - extract(epoch from '2026-06-22 08:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342861 -2.794553)'), GeomFromEWKT('SRID=4674;POINT (-40.343003 -2.794686)'))) / (select extract(epoch from '2026-06-22 08:05:48'::timestamp) - extract(epoch from '2026-06-22 08:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.343129 -2.794816)', '2026-06-22 08:05:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343003 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.343129 -2.794816)'))) / (select extract(epoch from '2026-06-22 08:05:56'::timestamp) - extract(epoch from '2026-06-22 08:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343003 -2.794686)'), GeomFromEWKT('SRID=4674;POINT (-40.343129 -2.794816)'))) / (select extract(epoch from '2026-06-22 08:05:56'::timestamp) - extract(epoch from '2026-06-22 08:05: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'), 46725, 'SRID=4674;POINT (-40.343215 -2.79493)', '2026-06-22 08:06:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343129 -2.794816)'), GeomFromEWKT('SRID=4674;POINT (-40.343215 -2.79493)'))) / (select extract(epoch from '2026-06-22 08:06:02'::timestamp) - extract(epoch from '2026-06-22 08:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343129 -2.794816)'), GeomFromEWKT('SRID=4674;POINT (-40.343215 -2.79493)'))) / (select extract(epoch from '2026-06-22 08:06:02'::timestamp) - extract(epoch from '2026-06-22 08:05: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'), 46725, 'SRID=4674;POINT (-40.343267 -2.79502)', '2026-06-22 08:06:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343215 -2.79493)'), GeomFromEWKT('SRID=4674;POINT (-40.343267 -2.79502)'))) / (select extract(epoch from '2026-06-22 08:06:07'::timestamp) - extract(epoch from '2026-06-22 08:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343215 -2.79493)'), GeomFromEWKT('SRID=4674;POINT (-40.343267 -2.79502)'))) / (select extract(epoch from '2026-06-22 08:06:07'::timestamp) - extract(epoch from '2026-06-22 08:06: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'), 46725, 'SRID=4674;POINT (-40.343321 -2.795146)', '2026-06-22 08:06:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343267 -2.79502)'), GeomFromEWKT('SRID=4674;POINT (-40.343321 -2.795146)'))) / (select extract(epoch from '2026-06-22 08:06:13'::timestamp) - extract(epoch from '2026-06-22 08:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343267 -2.79502)'), GeomFromEWKT('SRID=4674;POINT (-40.343321 -2.795146)'))) / (select extract(epoch from '2026-06-22 08:06:13'::timestamp) - extract(epoch from '2026-06-22 08:06:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.343425 -2.795307)', '2026-06-22 08:06:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343321 -2.795146)'), GeomFromEWKT('SRID=4674;POINT (-40.343425 -2.795307)'))) / (select extract(epoch from '2026-06-22 08:06:21'::timestamp) - extract(epoch from '2026-06-22 08:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343321 -2.795146)'), GeomFromEWKT('SRID=4674;POINT (-40.343425 -2.795307)'))) / (select extract(epoch from '2026-06-22 08:06:21'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.343512 -2.795442)', '2026-06-22 08:06:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343425 -2.795307)'), GeomFromEWKT('SRID=4674;POINT (-40.343512 -2.795442)'))) / (select extract(epoch from '2026-06-22 08:06:28'::timestamp) - extract(epoch from '2026-06-22 08:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343425 -2.795307)'), GeomFromEWKT('SRID=4674;POINT (-40.343512 -2.795442)'))) / (select extract(epoch from '2026-06-22 08:06:28'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.343616 -2.795578)', '2026-06-22 08:06:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343512 -2.795442)'), GeomFromEWKT('SRID=4674;POINT (-40.343616 -2.795578)'))) / (select extract(epoch from '2026-06-22 08:06:36'::timestamp) - extract(epoch from '2026-06-22 08:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343512 -2.795442)'), GeomFromEWKT('SRID=4674;POINT (-40.343616 -2.795578)'))) / (select extract(epoch from '2026-06-22 08:06:36'::timestamp) - extract(epoch from '2026-06-22 08:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.343714 -2.795712)', '2026-06-22 08:06:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343616 -2.795578)'), GeomFromEWKT('SRID=4674;POINT (-40.343714 -2.795712)'))) / (select extract(epoch from '2026-06-22 08:06:43'::timestamp) - extract(epoch from '2026-06-22 08:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343616 -2.795578)'), GeomFromEWKT('SRID=4674;POINT (-40.343714 -2.795712)'))) / (select extract(epoch from '2026-06-22 08:06:43'::timestamp) - extract(epoch from '2026-06-22 08:06: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'), 46725, 'SRID=4674;POINT (-40.343851 -2.795886)', '2026-06-22 08:06:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343714 -2.795712)'), GeomFromEWKT('SRID=4674;POINT (-40.343851 -2.795886)'))) / (select extract(epoch from '2026-06-22 08:06:52'::timestamp) - extract(epoch from '2026-06-22 08:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343714 -2.795712)'), GeomFromEWKT('SRID=4674;POINT (-40.343851 -2.795886)'))) / (select extract(epoch from '2026-06-22 08:06:52'::timestamp) - extract(epoch from '2026-06-22 08:06:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.343967 -2.795978)', '2026-06-22 08:06:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343851 -2.795886)'), GeomFromEWKT('SRID=4674;POINT (-40.343967 -2.795978)'))) / (select extract(epoch from '2026-06-22 08:06:58'::timestamp) - extract(epoch from '2026-06-22 08:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343851 -2.795886)'), GeomFromEWKT('SRID=4674;POINT (-40.343967 -2.795978)'))) / (select extract(epoch from '2026-06-22 08:06:58'::timestamp) - extract(epoch from '2026-06-22 08:06: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'), 46725, 'SRID=4674;POINT (-40.344073 -2.796063)', '2026-06-22 08:07:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343967 -2.795978)'), GeomFromEWKT('SRID=4674;POINT (-40.344073 -2.796063)'))) / (select extract(epoch from '2026-06-22 08:07:04'::timestamp) - extract(epoch from '2026-06-22 08:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343967 -2.795978)'), GeomFromEWKT('SRID=4674;POINT (-40.344073 -2.796063)'))) / (select extract(epoch from '2026-06-22 08:07:04'::timestamp) - extract(epoch from '2026-06-22 08:06: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'), 46725, 'SRID=4674;POINT (-40.344191 -2.796149)', '2026-06-22 08:07:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344073 -2.796063)'), GeomFromEWKT('SRID=4674;POINT (-40.344191 -2.796149)'))) / (select extract(epoch from '2026-06-22 08:07:10'::timestamp) - extract(epoch from '2026-06-22 08:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344073 -2.796063)'), GeomFromEWKT('SRID=4674;POINT (-40.344191 -2.796149)'))) / (select extract(epoch from '2026-06-22 08:07:10'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.344311 -2.796251)', '2026-06-22 08:07:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344191 -2.796149)'), GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.796251)'))) / (select extract(epoch from '2026-06-22 08:07:17'::timestamp) - extract(epoch from '2026-06-22 08:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344191 -2.796149)'), GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.796251)'))) / (select extract(epoch from '2026-06-22 08:07:17'::timestamp) - extract(epoch from '2026-06-22 08:07: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'), 46725, 'SRID=4674;POINT (-40.344408 -2.796385)', '2026-06-22 08:07:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.344408 -2.796385)'))) / (select extract(epoch from '2026-06-22 08:07:24'::timestamp) - extract(epoch from '2026-06-22 08:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344311 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.344408 -2.796385)'))) / (select extract(epoch from '2026-06-22 08:07:24'::timestamp) - extract(epoch from '2026-06-22 08:07: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'), 46725, 'SRID=4674;POINT (-40.344454 -2.796526)', '2026-06-22 08:07:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344408 -2.796385)'), GeomFromEWKT('SRID=4674;POINT (-40.344454 -2.796526)'))) / (select extract(epoch from '2026-06-22 08:07:31'::timestamp) - extract(epoch from '2026-06-22 08:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344408 -2.796385)'), GeomFromEWKT('SRID=4674;POINT (-40.344454 -2.796526)'))) / (select extract(epoch from '2026-06-22 08:07:31'::timestamp) - extract(epoch from '2026-06-22 08:07: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'), 46725, 'SRID=4674;POINT (-40.344515 -2.796704)', '2026-06-22 08:07:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344454 -2.796526)'), GeomFromEWKT('SRID=4674;POINT (-40.344515 -2.796704)'))) / (select extract(epoch from '2026-06-22 08:07:39'::timestamp) - extract(epoch from '2026-06-22 08:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344454 -2.796526)'), GeomFromEWKT('SRID=4674;POINT (-40.344515 -2.796704)'))) / (select extract(epoch from '2026-06-22 08:07:39'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.344582 -2.796827)', '2026-06-22 08:07:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344515 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.344582 -2.796827)'))) / (select extract(epoch from '2026-06-22 08:07:45'::timestamp) - extract(epoch from '2026-06-22 08:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344515 -2.796704)'), GeomFromEWKT('SRID=4674;POINT (-40.344582 -2.796827)'))) / (select extract(epoch from '2026-06-22 08:07:45'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.344673 -2.796965)', '2026-06-22 08:07:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344582 -2.796827)'), GeomFromEWKT('SRID=4674;POINT (-40.344673 -2.796965)'))) / (select extract(epoch from '2026-06-22 08:07:52'::timestamp) - extract(epoch from '2026-06-22 08:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344582 -2.796827)'), GeomFromEWKT('SRID=4674;POINT (-40.344673 -2.796965)'))) / (select extract(epoch from '2026-06-22 08:07:52'::timestamp) - extract(epoch from '2026-06-22 08:07: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'), 46725, 'SRID=4674;POINT (-40.344773 -2.797101)', '2026-06-22 08:07:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344673 -2.796965)'), GeomFromEWKT('SRID=4674;POINT (-40.344773 -2.797101)'))) / (select extract(epoch from '2026-06-22 08:07:59'::timestamp) - extract(epoch from '2026-06-22 08:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344673 -2.796965)'), GeomFromEWKT('SRID=4674;POINT (-40.344773 -2.797101)'))) / (select extract(epoch from '2026-06-22 08:07:59'::timestamp) - extract(epoch from '2026-06-22 08:07: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'), 46725, 'SRID=4674;POINT (-40.34488 -2.79722)', '2026-06-22 08:08:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344773 -2.797101)'), GeomFromEWKT('SRID=4674;POINT (-40.34488 -2.79722)'))) / (select extract(epoch from '2026-06-22 08:08:06'::timestamp) - extract(epoch from '2026-06-22 08:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344773 -2.797101)'), GeomFromEWKT('SRID=4674;POINT (-40.34488 -2.79722)'))) / (select extract(epoch from '2026-06-22 08:08:06'::timestamp) - extract(epoch from '2026-06-22 08:07: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'), 46725, 'SRID=4674;POINT (-40.345038 -2.797324)', '2026-06-22 08:08:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34488 -2.79722)'), GeomFromEWKT('SRID=4674;POINT (-40.345038 -2.797324)'))) / (select extract(epoch from '2026-06-22 08:08:14'::timestamp) - extract(epoch from '2026-06-22 08:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34488 -2.79722)'), GeomFromEWKT('SRID=4674;POINT (-40.345038 -2.797324)'))) / (select extract(epoch from '2026-06-22 08:08:14'::timestamp) - extract(epoch from '2026-06-22 08:08: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'), 46725, 'SRID=4674;POINT (-40.345212 -2.797444)', '2026-06-22 08:08:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345038 -2.797324)'), GeomFromEWKT('SRID=4674;POINT (-40.345212 -2.797444)'))) / (select extract(epoch from '2026-06-22 08:08:23'::timestamp) - extract(epoch from '2026-06-22 08:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345038 -2.797324)'), GeomFromEWKT('SRID=4674;POINT (-40.345212 -2.797444)'))) / (select extract(epoch from '2026-06-22 08:08:23'::timestamp) - extract(epoch from '2026-06-22 08:08: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'), 46725, 'SRID=4674;POINT (-40.345371 -2.797585)', '2026-06-22 08:08:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345212 -2.797444)'), GeomFromEWKT('SRID=4674;POINT (-40.345371 -2.797585)'))) / (select extract(epoch from '2026-06-22 08:08:32'::timestamp) - extract(epoch from '2026-06-22 08:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345212 -2.797444)'), GeomFromEWKT('SRID=4674;POINT (-40.345371 -2.797585)'))) / (select extract(epoch from '2026-06-22 08:08:32'::timestamp) - extract(epoch from '2026-06-22 08:08: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'), 46725, 'SRID=4674;POINT (-40.345519 -2.797711)', '2026-06-22 08:08:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345371 -2.797585)'), GeomFromEWKT('SRID=4674;POINT (-40.345519 -2.797711)'))) / (select extract(epoch from '2026-06-22 08:08:40'::timestamp) - extract(epoch from '2026-06-22 08:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345371 -2.797585)'), GeomFromEWKT('SRID=4674;POINT (-40.345519 -2.797711)'))) / (select extract(epoch from '2026-06-22 08:08:40'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.345628 -2.797783)', '2026-06-22 08:08:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345519 -2.797711)'), GeomFromEWKT('SRID=4674;POINT (-40.345628 -2.797783)'))) / (select extract(epoch from '2026-06-22 08:08:46'::timestamp) - extract(epoch from '2026-06-22 08:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345519 -2.797711)'), GeomFromEWKT('SRID=4674;POINT (-40.345628 -2.797783)'))) / (select extract(epoch from '2026-06-22 08:08:46'::timestamp) - extract(epoch from '2026-06-22 08:08: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'), 46725, 'SRID=4674;POINT (-40.345757 -2.797922)', '2026-06-22 08:08:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345628 -2.797783)'), GeomFromEWKT('SRID=4674;POINT (-40.345757 -2.797922)'))) / (select extract(epoch from '2026-06-22 08:08:54'::timestamp) - extract(epoch from '2026-06-22 08:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345628 -2.797783)'), GeomFromEWKT('SRID=4674;POINT (-40.345757 -2.797922)'))) / (select extract(epoch from '2026-06-22 08:08:54'::timestamp) - extract(epoch from '2026-06-22 08:08: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'), 46725, 'SRID=4674;POINT (-40.345822 -2.798038)', '2026-06-22 08:09:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345757 -2.797922)'), GeomFromEWKT('SRID=4674;POINT (-40.345822 -2.798038)'))) / (select extract(epoch from '2026-06-22 08:09:00'::timestamp) - extract(epoch from '2026-06-22 08:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345757 -2.797922)'), GeomFromEWKT('SRID=4674;POINT (-40.345822 -2.798038)'))) / (select extract(epoch from '2026-06-22 08:09:00'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.345876 -2.798168)', '2026-06-22 08:09:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345822 -2.798038)'), GeomFromEWKT('SRID=4674;POINT (-40.345876 -2.798168)'))) / (select extract(epoch from '2026-06-22 08:09:06'::timestamp) - extract(epoch from '2026-06-22 08:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345822 -2.798038)'), GeomFromEWKT('SRID=4674;POINT (-40.345876 -2.798168)'))) / (select extract(epoch from '2026-06-22 08:09:06'::timestamp) - extract(epoch from '2026-06-22 08:09: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'), 46725, 'SRID=4674;POINT (-40.345941 -2.798284)', '2026-06-22 08:09:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345876 -2.798168)'), GeomFromEWKT('SRID=4674;POINT (-40.345941 -2.798284)'))) / (select extract(epoch from '2026-06-22 08:09:12'::timestamp) - extract(epoch from '2026-06-22 08:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345876 -2.798168)'), GeomFromEWKT('SRID=4674;POINT (-40.345941 -2.798284)'))) / (select extract(epoch from '2026-06-22 08:09:12'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.34608 -2.798442)', '2026-06-22 08:09:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345941 -2.798284)'), GeomFromEWKT('SRID=4674;POINT (-40.34608 -2.798442)'))) / (select extract(epoch from '2026-06-22 08:09:21'::timestamp) - extract(epoch from '2026-06-22 08:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345941 -2.798284)'), GeomFromEWKT('SRID=4674;POINT (-40.34608 -2.798442)'))) / (select extract(epoch from '2026-06-22 08:09:21'::timestamp) - extract(epoch from '2026-06-22 08:09: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'), 46725, 'SRID=4674;POINT (-40.346204 -2.798548)', '2026-06-22 08:09:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34608 -2.798442)'), GeomFromEWKT('SRID=4674;POINT (-40.346204 -2.798548)'))) / (select extract(epoch from '2026-06-22 08:09:28'::timestamp) - extract(epoch from '2026-06-22 08:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34608 -2.798442)'), GeomFromEWKT('SRID=4674;POINT (-40.346204 -2.798548)'))) / (select extract(epoch from '2026-06-22 08:09:28'::timestamp) - extract(epoch from '2026-06-22 08:09:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.346356 -2.798693)', '2026-06-22 08:09:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346204 -2.798548)'), GeomFromEWKT('SRID=4674;POINT (-40.346356 -2.798693)'))) / (select extract(epoch from '2026-06-22 08:09:37'::timestamp) - extract(epoch from '2026-06-22 08:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346204 -2.798548)'), GeomFromEWKT('SRID=4674;POINT (-40.346356 -2.798693)'))) / (select extract(epoch from '2026-06-22 08:09:37'::timestamp) - extract(epoch from '2026-06-22 08:09: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'), 46725, 'SRID=4674;POINT (-40.346465 -2.798774)', '2026-06-22 08:09:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346356 -2.798693)'), GeomFromEWKT('SRID=4674;POINT (-40.346465 -2.798774)'))) / (select extract(epoch from '2026-06-22 08:09:43'::timestamp) - extract(epoch from '2026-06-22 08:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346356 -2.798693)'), GeomFromEWKT('SRID=4674;POINT (-40.346465 -2.798774)'))) / (select extract(epoch from '2026-06-22 08:09:43'::timestamp) - extract(epoch from '2026-06-22 08:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.346575 -2.7989)', '2026-06-22 08:09:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346465 -2.798774)'), GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.7989)'))) / (select extract(epoch from '2026-06-22 08:09:50'::timestamp) - extract(epoch from '2026-06-22 08:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346465 -2.798774)'), GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.7989)'))) / (select extract(epoch from '2026-06-22 08:09:50'::timestamp) - extract(epoch from '2026-06-22 08:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.34668 -2.799035)', '2026-06-22 08:09:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.7989)'), GeomFromEWKT('SRID=4674;POINT (-40.34668 -2.799035)'))) / (select extract(epoch from '2026-06-22 08:09:57'::timestamp) - extract(epoch from '2026-06-22 08:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346575 -2.7989)'), GeomFromEWKT('SRID=4674;POINT (-40.34668 -2.799035)'))) / (select extract(epoch from '2026-06-22 08:09:57'::timestamp) - extract(epoch from '2026-06-22 08:09: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'), 46725, 'SRID=4674;POINT (-40.346772 -2.799205)', '2026-06-22 08:10:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34668 -2.799035)'), GeomFromEWKT('SRID=4674;POINT (-40.346772 -2.799205)'))) / (select extract(epoch from '2026-06-22 08:10:06'::timestamp) - extract(epoch from '2026-06-22 08:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34668 -2.799035)'), GeomFromEWKT('SRID=4674;POINT (-40.346772 -2.799205)'))) / (select extract(epoch from '2026-06-22 08:10:06'::timestamp) - extract(epoch from '2026-06-22 08:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.346842 -2.799325)', '2026-06-22 08:10:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346772 -2.799205)'), GeomFromEWKT('SRID=4674;POINT (-40.346842 -2.799325)'))) / (select extract(epoch from '2026-06-22 08:10:12'::timestamp) - extract(epoch from '2026-06-22 08:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346772 -2.799205)'), GeomFromEWKT('SRID=4674;POINT (-40.346842 -2.799325)'))) / (select extract(epoch from '2026-06-22 08:10:12'::timestamp) - extract(epoch from '2026-06-22 08:10: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'), 46725, 'SRID=4674;POINT (-40.346987 -2.799448)', '2026-06-22 08:10:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346842 -2.799325)'), GeomFromEWKT('SRID=4674;POINT (-40.346987 -2.799448)'))) / (select extract(epoch from '2026-06-22 08:10:20'::timestamp) - extract(epoch from '2026-06-22 08:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346842 -2.799325)'), GeomFromEWKT('SRID=4674;POINT (-40.346987 -2.799448)'))) / (select extract(epoch from '2026-06-22 08:10:20'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.347102 -2.799557)', '2026-06-22 08:10:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346987 -2.799448)'), GeomFromEWKT('SRID=4674;POINT (-40.347102 -2.799557)'))) / (select extract(epoch from '2026-06-22 08:10:27'::timestamp) - extract(epoch from '2026-06-22 08:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346987 -2.799448)'), GeomFromEWKT('SRID=4674;POINT (-40.347102 -2.799557)'))) / (select extract(epoch from '2026-06-22 08:10:27'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.347252 -2.799701)', '2026-06-22 08:10:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347102 -2.799557)'), GeomFromEWKT('SRID=4674;POINT (-40.347252 -2.799701)'))) / (select extract(epoch from '2026-06-22 08:10:36'::timestamp) - extract(epoch from '2026-06-22 08:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347102 -2.799557)'), GeomFromEWKT('SRID=4674;POINT (-40.347252 -2.799701)'))) / (select extract(epoch from '2026-06-22 08:10:36'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.347388 -2.79985)', '2026-06-22 08:10:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347252 -2.799701)'), GeomFromEWKT('SRID=4674;POINT (-40.347388 -2.79985)'))) / (select extract(epoch from '2026-06-22 08:10:45'::timestamp) - extract(epoch from '2026-06-22 08:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347252 -2.799701)'), GeomFromEWKT('SRID=4674;POINT (-40.347388 -2.79985)'))) / (select extract(epoch from '2026-06-22 08:10:45'::timestamp) - extract(epoch from '2026-06-22 08:10: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'), 46725, 'SRID=4674;POINT (-40.34752 -2.799976)', '2026-06-22 08:10:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347388 -2.79985)'), GeomFromEWKT('SRID=4674;POINT (-40.34752 -2.799976)'))) / (select extract(epoch from '2026-06-22 08:10:53'::timestamp) - extract(epoch from '2026-06-22 08:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347388 -2.79985)'), GeomFromEWKT('SRID=4674;POINT (-40.34752 -2.799976)'))) / (select extract(epoch from '2026-06-22 08:10:53'::timestamp) - extract(epoch from '2026-06-22 08:10: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'), 46725, 'SRID=4674;POINT (-40.34766 -2.800103)', '2026-06-22 08:11:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34752 -2.799976)'), GeomFromEWKT('SRID=4674;POINT (-40.34766 -2.800103)'))) / (select extract(epoch from '2026-06-22 08:11:01'::timestamp) - extract(epoch from '2026-06-22 08:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34752 -2.799976)'), GeomFromEWKT('SRID=4674;POINT (-40.34766 -2.800103)'))) / (select extract(epoch from '2026-06-22 08:11:01'::timestamp) - extract(epoch from '2026-06-22 08:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.347787 -2.800204)', '2026-06-22 08:11:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34766 -2.800103)'), GeomFromEWKT('SRID=4674;POINT (-40.347787 -2.800204)'))) / (select extract(epoch from '2026-06-22 08:11:08'::timestamp) - extract(epoch from '2026-06-22 08:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34766 -2.800103)'), GeomFromEWKT('SRID=4674;POINT (-40.347787 -2.800204)'))) / (select extract(epoch from '2026-06-22 08:11:08'::timestamp) - extract(epoch from '2026-06-22 08:11: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'), 46725, 'SRID=4674;POINT (-40.347901 -2.800327)', '2026-06-22 08:11:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347787 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.347901 -2.800327)'))) / (select extract(epoch from '2026-06-22 08:11:15'::timestamp) - extract(epoch from '2026-06-22 08:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347787 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.347901 -2.800327)'))) / (select extract(epoch from '2026-06-22 08:11:15'::timestamp) - extract(epoch from '2026-06-22 08:11: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'), 46725, 'SRID=4674;POINT (-40.348022 -2.800422)', '2026-06-22 08:11:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347901 -2.800327)'), GeomFromEWKT('SRID=4674;POINT (-40.348022 -2.800422)'))) / (select extract(epoch from '2026-06-22 08:11:22'::timestamp) - extract(epoch from '2026-06-22 08:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347901 -2.800327)'), GeomFromEWKT('SRID=4674;POINT (-40.348022 -2.800422)'))) / (select extract(epoch from '2026-06-22 08:11:22'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.348145 -2.800528)', '2026-06-22 08:11:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348022 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.348145 -2.800528)'))) / (select extract(epoch from '2026-06-22 08:11:29'::timestamp) - extract(epoch from '2026-06-22 08:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348022 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.348145 -2.800528)'))) / (select extract(epoch from '2026-06-22 08:11:29'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.348254 -2.800639)', '2026-06-22 08:11:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348145 -2.800528)'), GeomFromEWKT('SRID=4674;POINT (-40.348254 -2.800639)'))) / (select extract(epoch from '2026-06-22 08:11:36'::timestamp) - extract(epoch from '2026-06-22 08:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348145 -2.800528)'), GeomFromEWKT('SRID=4674;POINT (-40.348254 -2.800639)'))) / (select extract(epoch from '2026-06-22 08:11:36'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.348378 -2.800807)', '2026-06-22 08:11:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348254 -2.800639)'), GeomFromEWKT('SRID=4674;POINT (-40.348378 -2.800807)'))) / (select extract(epoch from '2026-06-22 08:11:45'::timestamp) - extract(epoch from '2026-06-22 08:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348254 -2.800639)'), GeomFromEWKT('SRID=4674;POINT (-40.348378 -2.800807)'))) / (select extract(epoch from '2026-06-22 08:11:45'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.348492 -2.800952)', '2026-06-22 08:11:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348378 -2.800807)'), GeomFromEWKT('SRID=4674;POINT (-40.348492 -2.800952)'))) / (select extract(epoch from '2026-06-22 08:11:53'::timestamp) - extract(epoch from '2026-06-22 08:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348378 -2.800807)'), GeomFromEWKT('SRID=4674;POINT (-40.348492 -2.800952)'))) / (select extract(epoch from '2026-06-22 08:11:53'::timestamp) - extract(epoch from '2026-06-22 08:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.348588 -2.801078)', '2026-06-22 08:12:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348492 -2.800952)'), GeomFromEWKT('SRID=4674;POINT (-40.348588 -2.801078)'))) / (select extract(epoch from '2026-06-22 08:12:00'::timestamp) - extract(epoch from '2026-06-22 08:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348492 -2.800952)'), GeomFromEWKT('SRID=4674;POINT (-40.348588 -2.801078)'))) / (select extract(epoch from '2026-06-22 08:12:00'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.348712 -2.801189)', '2026-06-22 08:12:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348588 -2.801078)'), GeomFromEWKT('SRID=4674;POINT (-40.348712 -2.801189)'))) / (select extract(epoch from '2026-06-22 08:12:07'::timestamp) - extract(epoch from '2026-06-22 08:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348588 -2.801078)'), GeomFromEWKT('SRID=4674;POINT (-40.348712 -2.801189)'))) / (select extract(epoch from '2026-06-22 08:12:07'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.348794 -2.80126)', '2026-06-22 08:12:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348712 -2.801189)'), GeomFromEWKT('SRID=4674;POINT (-40.348794 -2.80126)'))) / (select extract(epoch from '2026-06-22 08:12:12'::timestamp) - extract(epoch from '2026-06-22 08:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348712 -2.801189)'), GeomFromEWKT('SRID=4674;POINT (-40.348794 -2.80126)'))) / (select extract(epoch from '2026-06-22 08:12:12'::timestamp) - extract(epoch from '2026-06-22 08:12: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'), 46725, 'SRID=4674;POINT (-40.348921 -2.801391)', '2026-06-22 08:12:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348794 -2.80126)'), GeomFromEWKT('SRID=4674;POINT (-40.348921 -2.801391)'))) / (select extract(epoch from '2026-06-22 08:12:20'::timestamp) - extract(epoch from '2026-06-22 08:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348794 -2.80126)'), GeomFromEWKT('SRID=4674;POINT (-40.348921 -2.801391)'))) / (select extract(epoch from '2026-06-22 08:12:20'::timestamp) - extract(epoch from '2026-06-22 08:12: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'), 46725, 'SRID=4674;POINT (-40.349045 -2.801534)', '2026-06-22 08:12:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348921 -2.801391)'), GeomFromEWKT('SRID=4674;POINT (-40.349045 -2.801534)'))) / (select extract(epoch from '2026-06-22 08:12:28'::timestamp) - extract(epoch from '2026-06-22 08:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348921 -2.801391)'), GeomFromEWKT('SRID=4674;POINT (-40.349045 -2.801534)'))) / (select extract(epoch from '2026-06-22 08:12:28'::timestamp) - extract(epoch from '2026-06-22 08:12: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'), 46725, 'SRID=4674;POINT (-40.349137 -2.801676)', '2026-06-22 08:12:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349045 -2.801534)'), GeomFromEWKT('SRID=4674;POINT (-40.349137 -2.801676)'))) / (select extract(epoch from '2026-06-22 08:12:35'::timestamp) - extract(epoch from '2026-06-22 08:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349045 -2.801534)'), GeomFromEWKT('SRID=4674;POINT (-40.349137 -2.801676)'))) / (select extract(epoch from '2026-06-22 08:12:35'::timestamp) - extract(epoch from '2026-06-22 08:12: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'), 46725, 'SRID=4674;POINT (-40.349235 -2.801846)', '2026-06-22 08:12:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349137 -2.801676)'), GeomFromEWKT('SRID=4674;POINT (-40.349235 -2.801846)'))) / (select extract(epoch from '2026-06-22 08:12:44'::timestamp) - extract(epoch from '2026-06-22 08:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349137 -2.801676)'), GeomFromEWKT('SRID=4674;POINT (-40.349235 -2.801846)'))) / (select extract(epoch from '2026-06-22 08:12:44'::timestamp) - extract(epoch from '2026-06-22 08:12:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.34936 -2.801992)', '2026-06-22 08:12:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349235 -2.801846)'), GeomFromEWKT('SRID=4674;POINT (-40.34936 -2.801992)'))) / (select extract(epoch from '2026-06-22 08:12:52'::timestamp) - extract(epoch from '2026-06-22 08:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349235 -2.801846)'), GeomFromEWKT('SRID=4674;POINT (-40.34936 -2.801992)'))) / (select extract(epoch from '2026-06-22 08:12:52'::timestamp) - extract(epoch from '2026-06-22 08:12: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'), 46725, 'SRID=4674;POINT (-40.349478 -2.802102)', '2026-06-22 08:12:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34936 -2.801992)'), GeomFromEWKT('SRID=4674;POINT (-40.349478 -2.802102)'))) / (select extract(epoch from '2026-06-22 08:12:59'::timestamp) - extract(epoch from '2026-06-22 08:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34936 -2.801992)'), GeomFromEWKT('SRID=4674;POINT (-40.349478 -2.802102)'))) / (select extract(epoch from '2026-06-22 08:12:59'::timestamp) - extract(epoch from '2026-06-22 08:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.34956 -2.80221)', '2026-06-22 08:13:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349478 -2.802102)'), GeomFromEWKT('SRID=4674;POINT (-40.34956 -2.80221)'))) / (select extract(epoch from '2026-06-22 08:13:05'::timestamp) - extract(epoch from '2026-06-22 08:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349478 -2.802102)'), GeomFromEWKT('SRID=4674;POINT (-40.34956 -2.80221)'))) / (select extract(epoch from '2026-06-22 08:13:05'::timestamp) - extract(epoch from '2026-06-22 08:12: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'), 46725, 'SRID=4674;POINT (-40.349741 -2.802394)', '2026-06-22 08:13:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34956 -2.80221)'), GeomFromEWKT('SRID=4674;POINT (-40.349741 -2.802394)'))) / (select extract(epoch from '2026-06-22 08:13:16'::timestamp) - extract(epoch from '2026-06-22 08:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34956 -2.80221)'), GeomFromEWKT('SRID=4674;POINT (-40.349741 -2.802394)'))) / (select extract(epoch from '2026-06-22 08:13:16'::timestamp) - extract(epoch from '2026-06-22 08:13: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'), 46725, 'SRID=4674;POINT (-40.349883 -2.802516)', '2026-06-22 08:13:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349741 -2.802394)'), GeomFromEWKT('SRID=4674;POINT (-40.349883 -2.802516)'))) / (select extract(epoch from '2026-06-22 08:13:24'::timestamp) - extract(epoch from '2026-06-22 08:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349741 -2.802394)'), GeomFromEWKT('SRID=4674;POINT (-40.349883 -2.802516)'))) / (select extract(epoch from '2026-06-22 08:13:24'::timestamp) - extract(epoch from '2026-06-22 08:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.349998 -2.802611)', '2026-06-22 08:13:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349883 -2.802516)'), GeomFromEWKT('SRID=4674;POINT (-40.349998 -2.802611)'))) / (select extract(epoch from '2026-06-22 08:13:30'::timestamp) - extract(epoch from '2026-06-22 08:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349883 -2.802516)'), GeomFromEWKT('SRID=4674;POINT (-40.349998 -2.802611)'))) / (select extract(epoch from '2026-06-22 08:13:30'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.350157 -2.802694)', '2026-06-22 08:13:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349998 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.350157 -2.802694)'))) / (select extract(epoch from '2026-06-22 08:13:37'::timestamp) - extract(epoch from '2026-06-22 08:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349998 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.350157 -2.802694)'))) / (select extract(epoch from '2026-06-22 08:13:37'::timestamp) - extract(epoch from '2026-06-22 08:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.350388 -2.802849)', '2026-06-22 08:13:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350157 -2.802694)'), GeomFromEWKT('SRID=4674;POINT (-40.350388 -2.802849)'))) / (select extract(epoch from '2026-06-22 08:13:48'::timestamp) - extract(epoch from '2026-06-22 08:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350157 -2.802694)'), GeomFromEWKT('SRID=4674;POINT (-40.350388 -2.802849)'))) / (select extract(epoch from '2026-06-22 08:13:48'::timestamp) - extract(epoch from '2026-06-22 08:13: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'), 46725, 'SRID=4674;POINT (-40.35051 -2.802985)', '2026-06-22 08:13:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350388 -2.802849)'), GeomFromEWKT('SRID=4674;POINT (-40.35051 -2.802985)'))) / (select extract(epoch from '2026-06-22 08:13:56'::timestamp) - extract(epoch from '2026-06-22 08:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350388 -2.802849)'), GeomFromEWKT('SRID=4674;POINT (-40.35051 -2.802985)'))) / (select extract(epoch from '2026-06-22 08:13:56'::timestamp) - extract(epoch from '2026-06-22 08:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.350641 -2.803151)', '2026-06-22 08:14:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35051 -2.802985)'), GeomFromEWKT('SRID=4674;POINT (-40.350641 -2.803151)'))) / (select extract(epoch from '2026-06-22 08:14:05'::timestamp) - extract(epoch from '2026-06-22 08:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35051 -2.802985)'), GeomFromEWKT('SRID=4674;POINT (-40.350641 -2.803151)'))) / (select extract(epoch from '2026-06-22 08:14:05'::timestamp) - extract(epoch from '2026-06-22 08:13: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'), 46725, 'SRID=4674;POINT (-40.350826 -2.803326)', '2026-06-22 08:14:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350641 -2.803151)'), GeomFromEWKT('SRID=4674;POINT (-40.350826 -2.803326)'))) / (select extract(epoch from '2026-06-22 08:14:16'::timestamp) - extract(epoch from '2026-06-22 08:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350641 -2.803151)'), GeomFromEWKT('SRID=4674;POINT (-40.350826 -2.803326)'))) / (select extract(epoch from '2026-06-22 08:14:16'::timestamp) - extract(epoch from '2026-06-22 08:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.350982 -2.803458)', '2026-06-22 08:14:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350826 -2.803326)'), GeomFromEWKT('SRID=4674;POINT (-40.350982 -2.803458)'))) / (select extract(epoch from '2026-06-22 08:14:25'::timestamp) - extract(epoch from '2026-06-22 08:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350826 -2.803326)'), GeomFromEWKT('SRID=4674;POINT (-40.350982 -2.803458)'))) / (select extract(epoch from '2026-06-22 08:14:25'::timestamp) - extract(epoch from '2026-06-22 08:14: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'), 46725, 'SRID=4674;POINT (-40.351134 -2.803606)', '2026-06-22 08:14:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350982 -2.803458)'), GeomFromEWKT('SRID=4674;POINT (-40.351134 -2.803606)'))) / (select extract(epoch from '2026-06-22 08:14:34'::timestamp) - extract(epoch from '2026-06-22 08:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350982 -2.803458)'), GeomFromEWKT('SRID=4674;POINT (-40.351134 -2.803606)'))) / (select extract(epoch from '2026-06-22 08:14:34'::timestamp) - extract(epoch from '2026-06-22 08:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.351307 -2.803741)', '2026-06-22 08:14:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351134 -2.803606)'), GeomFromEWKT('SRID=4674;POINT (-40.351307 -2.803741)'))) / (select extract(epoch from '2026-06-22 08:14:43'::timestamp) - extract(epoch from '2026-06-22 08:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351134 -2.803606)'), GeomFromEWKT('SRID=4674;POINT (-40.351307 -2.803741)'))) / (select extract(epoch from '2026-06-22 08:14:43'::timestamp) - extract(epoch from '2026-06-22 08:14: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'), 46725, 'SRID=4674;POINT (-40.351435 -2.803853)', '2026-06-22 08:14:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351307 -2.803741)'), GeomFromEWKT('SRID=4674;POINT (-40.351435 -2.803853)'))) / (select extract(epoch from '2026-06-22 08:14:50'::timestamp) - extract(epoch from '2026-06-22 08:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351307 -2.803741)'), GeomFromEWKT('SRID=4674;POINT (-40.351435 -2.803853)'))) / (select extract(epoch from '2026-06-22 08:14:50'::timestamp) - extract(epoch from '2026-06-22 08:14: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'), 46725, 'SRID=4674;POINT (-40.351585 -2.803973)', '2026-06-22 08:14:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351435 -2.803853)'), GeomFromEWKT('SRID=4674;POINT (-40.351585 -2.803973)'))) / (select extract(epoch from '2026-06-22 08:14:58'::timestamp) - extract(epoch from '2026-06-22 08:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351435 -2.803853)'), GeomFromEWKT('SRID=4674;POINT (-40.351585 -2.803973)'))) / (select extract(epoch from '2026-06-22 08:14:58'::timestamp) - extract(epoch from '2026-06-22 08:14: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'), 46725, 'SRID=4674;POINT (-40.351704 -2.804093)', '2026-06-22 08:15:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351585 -2.803973)'), GeomFromEWKT('SRID=4674;POINT (-40.351704 -2.804093)'))) / (select extract(epoch from '2026-06-22 08:15:05'::timestamp) - extract(epoch from '2026-06-22 08:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351585 -2.803973)'), GeomFromEWKT('SRID=4674;POINT (-40.351704 -2.804093)'))) / (select extract(epoch from '2026-06-22 08:15:05'::timestamp) - extract(epoch from '2026-06-22 08:14: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'), 46725, 'SRID=4674;POINT (-40.351825 -2.804242)', '2026-06-22 08:15:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351704 -2.804093)'), GeomFromEWKT('SRID=4674;POINT (-40.351825 -2.804242)'))) / (select extract(epoch from '2026-06-22 08:15:13'::timestamp) - extract(epoch from '2026-06-22 08:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351704 -2.804093)'), GeomFromEWKT('SRID=4674;POINT (-40.351825 -2.804242)'))) / (select extract(epoch from '2026-06-22 08:15:13'::timestamp) - extract(epoch from '2026-06-22 08:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.351959 -2.804338)', '2026-06-22 08:15:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351825 -2.804242)'), GeomFromEWKT('SRID=4674;POINT (-40.351959 -2.804338)'))) / (select extract(epoch from '2026-06-22 08:15:20'::timestamp) - extract(epoch from '2026-06-22 08:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351825 -2.804242)'), GeomFromEWKT('SRID=4674;POINT (-40.351959 -2.804338)'))) / (select extract(epoch from '2026-06-22 08:15:20'::timestamp) - extract(epoch from '2026-06-22 08:15: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'), 46725, 'SRID=4674;POINT (-40.352093 -2.80448)', '2026-06-22 08:15:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351959 -2.804338)'), GeomFromEWKT('SRID=4674;POINT (-40.352093 -2.80448)'))) / (select extract(epoch from '2026-06-22 08:15:28'::timestamp) - extract(epoch from '2026-06-22 08:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351959 -2.804338)'), GeomFromEWKT('SRID=4674;POINT (-40.352093 -2.80448)'))) / (select extract(epoch from '2026-06-22 08:15:28'::timestamp) - extract(epoch from '2026-06-22 08:15: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'), 46725, 'SRID=4674;POINT (-40.352217 -2.804546)', '2026-06-22 08:15:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352093 -2.80448)'), GeomFromEWKT('SRID=4674;POINT (-40.352217 -2.804546)'))) / (select extract(epoch from '2026-06-22 08:15:34'::timestamp) - extract(epoch from '2026-06-22 08:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352093 -2.80448)'), GeomFromEWKT('SRID=4674;POINT (-40.352217 -2.804546)'))) / (select extract(epoch from '2026-06-22 08:15:34'::timestamp) - extract(epoch from '2026-06-22 08:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.352357 -2.804628)', '2026-06-22 08:15:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352217 -2.804546)'), GeomFromEWKT('SRID=4674;POINT (-40.352357 -2.804628)'))) / (select extract(epoch from '2026-06-22 08:15:41'::timestamp) - extract(epoch from '2026-06-22 08:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352217 -2.804546)'), GeomFromEWKT('SRID=4674;POINT (-40.352357 -2.804628)'))) / (select extract(epoch from '2026-06-22 08:15:41'::timestamp) - extract(epoch from '2026-06-22 08:15: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'), 46725, 'SRID=4674;POINT (-40.352481 -2.804705)', '2026-06-22 08:15:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352357 -2.804628)'), GeomFromEWKT('SRID=4674;POINT (-40.352481 -2.804705)'))) / (select extract(epoch from '2026-06-22 08:15:47'::timestamp) - extract(epoch from '2026-06-22 08:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352357 -2.804628)'), GeomFromEWKT('SRID=4674;POINT (-40.352481 -2.804705)'))) / (select extract(epoch from '2026-06-22 08:15:47'::timestamp) - extract(epoch from '2026-06-22 08:15: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'), 46725, 'SRID=4674;POINT (-40.352628 -2.804788)', '2026-06-22 08:15:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352481 -2.804705)'), GeomFromEWKT('SRID=4674;POINT (-40.352628 -2.804788)'))) / (select extract(epoch from '2026-06-22 08:15:54'::timestamp) - extract(epoch from '2026-06-22 08:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352481 -2.804705)'), GeomFromEWKT('SRID=4674;POINT (-40.352628 -2.804788)'))) / (select extract(epoch from '2026-06-22 08:15:54'::timestamp) - extract(epoch from '2026-06-22 08: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'), 46725, 'SRID=4674;POINT (-40.352773 -2.804878)', '2026-06-22 08:16:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352628 -2.804788)'), GeomFromEWKT('SRID=4674;POINT (-40.352773 -2.804878)'))) / (select extract(epoch from '2026-06-22 08:16:01'::timestamp) - extract(epoch from '2026-06-22 08:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352628 -2.804788)'), GeomFromEWKT('SRID=4674;POINT (-40.352773 -2.804878)'))) / (select extract(epoch from '2026-06-22 08:16:01'::timestamp) - extract(epoch from '2026-06-22 08:15:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46725, 'SRID=4674;POINT (-40.3529 -2.804938)', '2026-06-22 08:16:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352773 -2.804878)'), GeomFromEWKT('SRID=4674;POINT (-40.3529 -2.804938)'))) / (select extract(epoch from '2026-06-22 08:16:07'::timestamp) - extract(epoch from '2026-06-22 08:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352773 -2.804878)'), GeomFromEWKT('SRID=4674;POINT (-40.3529 -2.804938)'))) / (select extract(epoch from '2026-06-22 08:16:07'::timestamp) - extract(epoch from '2026-06-22 08:16: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'), 46725, 'SRID=4674;POINT (-40.35303 -2.804987)', '2026-06-22 08:16:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3529 -2.804938)'), GeomFromEWKT('SRID=4674;POINT (-40.35303 -2.804987)'))) / (select extract(epoch from '2026-06-22 08:16:13'::timestamp) - extract(epoch from '2026-06-22 08:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3529 -2.804938)'), GeomFromEWKT('SRID=4674;POINT (-40.35303 -2.804987)'))) / (select extract(epoch from '2026-06-22 08:16:13'::timestamp) - extract(epoch from '2026-06-22 08:16: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'), 46725, 'SRID=4674;POINT (-40.353157 -2.805035)', '2026-06-22 08:16:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35303 -2.804987)'), GeomFromEWKT('SRID=4674;POINT (-40.353157 -2.805035)'))) / (select extract(epoch from '2026-06-22 08:16:19'::timestamp) - extract(epoch from '2026-06-22 08:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35303 -2.804987)'), GeomFromEWKT('SRID=4674;POINT (-40.353157 -2.805035)'))) / (select extract(epoch from '2026-06-22 08:16:19'::timestamp) - extract(epoch from '2026-06-22 08:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
