BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.612057 -5.099887)', '2026-07-22 16:52:47', -44.6, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.612197 -5.099991)', '2026-07-22 16:52:55', -40, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.612057 -5.099887)'), GeomFromEWKT('SRID=4674;POINT (-36.612197 -5.099991)'))) / (select extract(epoch from '2026-07-22 16:52:55'::timestamp) - extract(epoch from '2026-07-22 16:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.612057 -5.099887)'), GeomFromEWKT('SRID=4674;POINT (-36.612197 -5.099991)'))) / (select extract(epoch from '2026-07-22 16:52:55'::timestamp) - extract(epoch from '2026-07-22 16:52: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'), 47714, 'SRID=4674;POINT (-36.612621 -5.100208)', '2026-07-22 16:53:10', -23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.612197 -5.099991)'), GeomFromEWKT('SRID=4674;POINT (-36.612621 -5.100208)'))) / (select extract(epoch from '2026-07-22 16:53:10'::timestamp) - extract(epoch from '2026-07-22 16:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.612197 -5.099991)'), GeomFromEWKT('SRID=4674;POINT (-36.612621 -5.100208)'))) / (select extract(epoch from '2026-07-22 16:53:10'::timestamp) - extract(epoch from '2026-07-22 16:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.613055 -5.100339)', '2026-07-22 16:53:24', -9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.612621 -5.100208)'), GeomFromEWKT('SRID=4674;POINT (-36.613055 -5.100339)'))) / (select extract(epoch from '2026-07-22 16:53:24'::timestamp) - extract(epoch from '2026-07-22 16:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.612621 -5.100208)'), GeomFromEWKT('SRID=4674;POINT (-36.613055 -5.100339)'))) / (select extract(epoch from '2026-07-22 16:53:24'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47714, 'SRID=4674;POINT (-36.61355 -5.100362)', '2026-07-22 16:53:38', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.613055 -5.100339)'), GeomFromEWKT('SRID=4674;POINT (-36.61355 -5.100362)'))) / (select extract(epoch from '2026-07-22 16:53:38'::timestamp) - extract(epoch from '2026-07-22 16:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.613055 -5.100339)'), GeomFromEWKT('SRID=4674;POINT (-36.61355 -5.100362)'))) / (select extract(epoch from '2026-07-22 16:53:38'::timestamp) - extract(epoch from '2026-07-22 16: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'), 47714, 'SRID=4674;POINT (-36.613609 -5.10037)', '2026-07-22 16:53:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.61355 -5.100362)'), GeomFromEWKT('SRID=4674;POINT (-36.613609 -5.10037)'))) / (select extract(epoch from '2026-07-22 16:53:40'::timestamp) - extract(epoch from '2026-07-22 16:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.61355 -5.100362)'), GeomFromEWKT('SRID=4674;POINT (-36.613609 -5.10037)'))) / (select extract(epoch from '2026-07-22 16:53:40'::timestamp) - extract(epoch from '2026-07-22 16:53: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'), 47714, 'SRID=4674;POINT (-36.613741 -5.100409)', '2026-07-22 16:53:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.613609 -5.10037)'), GeomFromEWKT('SRID=4674;POINT (-36.613741 -5.100409)'))) / (select extract(epoch from '2026-07-22 16:53:45'::timestamp) - extract(epoch from '2026-07-22 16:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.613609 -5.10037)'), GeomFromEWKT('SRID=4674;POINT (-36.613741 -5.100409)'))) / (select extract(epoch from '2026-07-22 16:53:45'::timestamp) - extract(epoch from '2026-07-22 16:53: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'), 47714, 'SRID=4674;POINT (-36.614193 -5.100558)', '2026-07-22 16:54:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.613741 -5.100409)'), GeomFromEWKT('SRID=4674;POINT (-36.614193 -5.100558)'))) / (select extract(epoch from '2026-07-22 16:54:03'::timestamp) - extract(epoch from '2026-07-22 16:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.613741 -5.100409)'), GeomFromEWKT('SRID=4674;POINT (-36.614193 -5.100558)'))) / (select extract(epoch from '2026-07-22 16:54:03'::timestamp) - extract(epoch from '2026-07-22 16:53: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'), 47714, 'SRID=4674;POINT (-36.614267 -5.100582)', '2026-07-22 16:54:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.614193 -5.100558)'), GeomFromEWKT('SRID=4674;POINT (-36.614267 -5.100582)'))) / (select extract(epoch from '2026-07-22 16:54:06'::timestamp) - extract(epoch from '2026-07-22 16:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.614193 -5.100558)'), GeomFromEWKT('SRID=4674;POINT (-36.614267 -5.100582)'))) / (select extract(epoch from '2026-07-22 16:54:06'::timestamp) - extract(epoch from '2026-07-22 16:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.614703 -5.100742)', '2026-07-22 16:54:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.614267 -5.100582)'), GeomFromEWKT('SRID=4674;POINT (-36.614703 -5.100742)'))) / (select extract(epoch from '2026-07-22 16:54:24'::timestamp) - extract(epoch from '2026-07-22 16:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.614267 -5.100582)'), GeomFromEWKT('SRID=4674;POINT (-36.614703 -5.100742)'))) / (select extract(epoch from '2026-07-22 16:54:24'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47714, 'SRID=4674;POINT (-36.614726 -5.100751)', '2026-07-22 16:54:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.614703 -5.100742)'), GeomFromEWKT('SRID=4674;POINT (-36.614726 -5.100751)'))) / (select extract(epoch from '2026-07-22 16:54:25'::timestamp) - extract(epoch from '2026-07-22 16:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.614703 -5.100742)'), GeomFromEWKT('SRID=4674;POINT (-36.614726 -5.100751)'))) / (select extract(epoch from '2026-07-22 16:54:25'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47714, 'SRID=4674;POINT (-36.615064 -5.100841)', '2026-07-22 16:54:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.614726 -5.100751)'), GeomFromEWKT('SRID=4674;POINT (-36.615064 -5.100841)'))) / (select extract(epoch from '2026-07-22 16:54:39'::timestamp) - extract(epoch from '2026-07-22 16:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.614726 -5.100751)'), GeomFromEWKT('SRID=4674;POINT (-36.615064 -5.100841)'))) / (select extract(epoch from '2026-07-22 16:54:39'::timestamp) - extract(epoch from '2026-07-22 16:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.615392 -5.100885)', '2026-07-22 16:54:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.615064 -5.100841)'), GeomFromEWKT('SRID=4674;POINT (-36.615392 -5.100885)'))) / (select extract(epoch from '2026-07-22 16:54:53'::timestamp) - extract(epoch from '2026-07-22 16:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.615064 -5.100841)'), GeomFromEWKT('SRID=4674;POINT (-36.615392 -5.100885)'))) / (select extract(epoch from '2026-07-22 16:54:53'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47714, 'SRID=4674;POINT (-36.615708 -5.100894)', '2026-07-22 16:55:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.615392 -5.100885)'), GeomFromEWKT('SRID=4674;POINT (-36.615708 -5.100894)'))) / (select extract(epoch from '2026-07-22 16:55:07'::timestamp) - extract(epoch from '2026-07-22 16:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.615392 -5.100885)'), GeomFromEWKT('SRID=4674;POINT (-36.615708 -5.100894)'))) / (select extract(epoch from '2026-07-22 16:55:07'::timestamp) - extract(epoch from '2026-07-22 16:54: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'), 47714, 'SRID=4674;POINT (-36.616057 -5.100881)', '2026-07-22 16:55:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.615708 -5.100894)'), GeomFromEWKT('SRID=4674;POINT (-36.616057 -5.100881)'))) / (select extract(epoch from '2026-07-22 16:55:22'::timestamp) - extract(epoch from '2026-07-22 16:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.615708 -5.100894)'), GeomFromEWKT('SRID=4674;POINT (-36.616057 -5.100881)'))) / (select extract(epoch from '2026-07-22 16:55:22'::timestamp) - extract(epoch from '2026-07-22 16:55:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.616498 -5.100815)', '2026-07-22 16:55:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.616057 -5.100881)'), GeomFromEWKT('SRID=4674;POINT (-36.616498 -5.100815)'))) / (select extract(epoch from '2026-07-22 16:55:40'::timestamp) - extract(epoch from '2026-07-22 16:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.616057 -5.100881)'), GeomFromEWKT('SRID=4674;POINT (-36.616498 -5.100815)'))) / (select extract(epoch from '2026-07-22 16:55:40'::timestamp) - extract(epoch from '2026-07-22 16:55:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.616825 -5.100748)', '2026-07-22 16:55:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.616498 -5.100815)'), GeomFromEWKT('SRID=4674;POINT (-36.616825 -5.100748)'))) / (select extract(epoch from '2026-07-22 16:55:53'::timestamp) - extract(epoch from '2026-07-22 16:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.616498 -5.100815)'), GeomFromEWKT('SRID=4674;POINT (-36.616825 -5.100748)'))) / (select extract(epoch from '2026-07-22 16:55:53'::timestamp) - extract(epoch from '2026-07-22 16:55: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'), 47714, 'SRID=4674;POINT (-36.617187 -5.100641)', '2026-07-22 16:56:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.616825 -5.100748)'), GeomFromEWKT('SRID=4674;POINT (-36.617187 -5.100641)'))) / (select extract(epoch from '2026-07-22 16:56:08'::timestamp) - extract(epoch from '2026-07-22 16:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.616825 -5.100748)'), GeomFromEWKT('SRID=4674;POINT (-36.617187 -5.100641)'))) / (select extract(epoch from '2026-07-22 16:56:08'::timestamp) - extract(epoch from '2026-07-22 16:55: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'), 47714, 'SRID=4674;POINT (-36.617626 -5.1005)', '2026-07-22 16:56:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.617187 -5.100641)'), GeomFromEWKT('SRID=4674;POINT (-36.617626 -5.1005)'))) / (select extract(epoch from '2026-07-22 16:56:26'::timestamp) - extract(epoch from '2026-07-22 16:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.617187 -5.100641)'), GeomFromEWKT('SRID=4674;POINT (-36.617626 -5.1005)'))) / (select extract(epoch from '2026-07-22 16:56:26'::timestamp) - extract(epoch from '2026-07-22 16:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.618059 -5.100368)', '2026-07-22 16:56:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.617626 -5.1005)'), GeomFromEWKT('SRID=4674;POINT (-36.618059 -5.100368)'))) / (select extract(epoch from '2026-07-22 16:56:44'::timestamp) - extract(epoch from '2026-07-22 16:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.617626 -5.1005)'), GeomFromEWKT('SRID=4674;POINT (-36.618059 -5.100368)'))) / (select extract(epoch from '2026-07-22 16:56:44'::timestamp) - extract(epoch from '2026-07-22 16:56: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'), 47714, 'SRID=4674;POINT (-36.618108 -5.100354)', '2026-07-22 16:56:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.618059 -5.100368)'), GeomFromEWKT('SRID=4674;POINT (-36.618108 -5.100354)'))) / (select extract(epoch from '2026-07-22 16:56:46'::timestamp) - extract(epoch from '2026-07-22 16:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.618059 -5.100368)'), GeomFromEWKT('SRID=4674;POINT (-36.618108 -5.100354)'))) / (select extract(epoch from '2026-07-22 16:56:46'::timestamp) - extract(epoch from '2026-07-22 16:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.618549 -5.100249)', '2026-07-22 16:57:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.618108 -5.100354)'), GeomFromEWKT('SRID=4674;POINT (-36.618549 -5.100249)'))) / (select extract(epoch from '2026-07-22 16:57:04'::timestamp) - extract(epoch from '2026-07-22 16:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.618108 -5.100354)'), GeomFromEWKT('SRID=4674;POINT (-36.618549 -5.100249)'))) / (select extract(epoch from '2026-07-22 16:57:04'::timestamp) - extract(epoch from '2026-07-22 16:56:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.618995 -5.100137)', '2026-07-22 16:57:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.618549 -5.100249)'), GeomFromEWKT('SRID=4674;POINT (-36.618995 -5.100137)'))) / (select extract(epoch from '2026-07-22 16:57:22'::timestamp) - extract(epoch from '2026-07-22 16:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.618549 -5.100249)'), GeomFromEWKT('SRID=4674;POINT (-36.618995 -5.100137)'))) / (select extract(epoch from '2026-07-22 16:57:22'::timestamp) - extract(epoch from '2026-07-22 16:57: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'), 47714, 'SRID=4674;POINT (-36.61902 -5.100131)', '2026-07-22 16:57:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.618995 -5.100137)'), GeomFromEWKT('SRID=4674;POINT (-36.61902 -5.100131)'))) / (select extract(epoch from '2026-07-22 16:57:23'::timestamp) - extract(epoch from '2026-07-22 16:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.618995 -5.100137)'), GeomFromEWKT('SRID=4674;POINT (-36.61902 -5.100131)'))) / (select extract(epoch from '2026-07-22 16:57:23'::timestamp) - extract(epoch from '2026-07-22 16:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.619392 -5.100069)', '2026-07-22 16:57:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.61902 -5.100131)'), GeomFromEWKT('SRID=4674;POINT (-36.619392 -5.100069)'))) / (select extract(epoch from '2026-07-22 16:57:38'::timestamp) - extract(epoch from '2026-07-22 16:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.61902 -5.100131)'), GeomFromEWKT('SRID=4674;POINT (-36.619392 -5.100069)'))) / (select extract(epoch from '2026-07-22 16:57:38'::timestamp) - extract(epoch from '2026-07-22 16:57: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'), 47714, 'SRID=4674;POINT (-36.619694 -5.100088)', '2026-07-22 16:57:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.619392 -5.100069)'), GeomFromEWKT('SRID=4674;POINT (-36.619694 -5.100088)'))) / (select extract(epoch from '2026-07-22 16:57:50'::timestamp) - extract(epoch from '2026-07-22 16:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.619392 -5.100069)'), GeomFromEWKT('SRID=4674;POINT (-36.619694 -5.100088)'))) / (select extract(epoch from '2026-07-22 16:57:50'::timestamp) - extract(epoch from '2026-07-22 16:57: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'), 47714, 'SRID=4674;POINT (-36.619989 -5.100158)', '2026-07-22 16:58:02', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.619694 -5.100088)'), GeomFromEWKT('SRID=4674;POINT (-36.619989 -5.100158)'))) / (select extract(epoch from '2026-07-22 16:58:02'::timestamp) - extract(epoch from '2026-07-22 16:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.619694 -5.100088)'), GeomFromEWKT('SRID=4674;POINT (-36.619989 -5.100158)'))) / (select extract(epoch from '2026-07-22 16:58:02'::timestamp) - extract(epoch from '2026-07-22 16:57: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'), 47714, 'SRID=4674;POINT (-36.620198 -5.100297)', '2026-07-22 16:58:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.619989 -5.100158)'), GeomFromEWKT('SRID=4674;POINT (-36.620198 -5.100297)'))) / (select extract(epoch from '2026-07-22 16:58:12'::timestamp) - extract(epoch from '2026-07-22 16:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.619989 -5.100158)'), GeomFromEWKT('SRID=4674;POINT (-36.620198 -5.100297)'))) / (select extract(epoch from '2026-07-22 16:58:12'::timestamp) - extract(epoch from '2026-07-22 16:58: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'), 47714, 'SRID=4674;POINT (-36.620499 -5.100536)', '2026-07-22 16:58:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.620198 -5.100297)'), GeomFromEWKT('SRID=4674;POINT (-36.620499 -5.100536)'))) / (select extract(epoch from '2026-07-22 16:58:27'::timestamp) - extract(epoch from '2026-07-22 16:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.620198 -5.100297)'), GeomFromEWKT('SRID=4674;POINT (-36.620499 -5.100536)'))) / (select extract(epoch from '2026-07-22 16:58:27'::timestamp) - extract(epoch from '2026-07-22 16:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.620873 -5.1008)', '2026-07-22 16:58:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.620499 -5.100536)'), GeomFromEWKT('SRID=4674;POINT (-36.620873 -5.1008)'))) / (select extract(epoch from '2026-07-22 16:58:45'::timestamp) - extract(epoch from '2026-07-22 16:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.620499 -5.100536)'), GeomFromEWKT('SRID=4674;POINT (-36.620873 -5.1008)'))) / (select extract(epoch from '2026-07-22 16:58:45'::timestamp) - extract(epoch from '2026-07-22 16:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.621211 -5.100983)', '2026-07-22 16:59:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.620873 -5.1008)'), GeomFromEWKT('SRID=4674;POINT (-36.621211 -5.100983)'))) / (select extract(epoch from '2026-07-22 16:59:00'::timestamp) - extract(epoch from '2026-07-22 16:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.620873 -5.1008)'), GeomFromEWKT('SRID=4674;POINT (-36.621211 -5.100983)'))) / (select extract(epoch from '2026-07-22 16:59:00'::timestamp) - extract(epoch from '2026-07-22 16:58:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.62161 -5.101203)', '2026-07-22 16:59:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.621211 -5.100983)'), GeomFromEWKT('SRID=4674;POINT (-36.62161 -5.101203)'))) / (select extract(epoch from '2026-07-22 16:59:18'::timestamp) - extract(epoch from '2026-07-22 16:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.621211 -5.100983)'), GeomFromEWKT('SRID=4674;POINT (-36.62161 -5.101203)'))) / (select extract(epoch from '2026-07-22 16:59:18'::timestamp) - extract(epoch from '2026-07-22 16:59:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.621974 -5.101378)', '2026-07-22 16:59:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.62161 -5.101203)'), GeomFromEWKT('SRID=4674;POINT (-36.621974 -5.101378)'))) / (select extract(epoch from '2026-07-22 16:59:34'::timestamp) - extract(epoch from '2026-07-22 16:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.62161 -5.101203)'), GeomFromEWKT('SRID=4674;POINT (-36.621974 -5.101378)'))) / (select extract(epoch from '2026-07-22 16:59:34'::timestamp) - extract(epoch from '2026-07-22 16:59: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'), 47714, 'SRID=4674;POINT (-36.62239 -5.101513)', '2026-07-22 16:59:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.621974 -5.101378)'), GeomFromEWKT('SRID=4674;POINT (-36.62239 -5.101513)'))) / (select extract(epoch from '2026-07-22 16:59:51'::timestamp) - extract(epoch from '2026-07-22 16:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.621974 -5.101378)'), GeomFromEWKT('SRID=4674;POINT (-36.62239 -5.101513)'))) / (select extract(epoch from '2026-07-22 16:59:51'::timestamp) - extract(epoch from '2026-07-22 16:59: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'), 47714, 'SRID=4674;POINT (-36.622824 -5.101666)', '2026-07-22 17:00:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.62239 -5.101513)'), GeomFromEWKT('SRID=4674;POINT (-36.622824 -5.101666)'))) / (select extract(epoch from '2026-07-22 17:00:09'::timestamp) - extract(epoch from '2026-07-22 16:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.62239 -5.101513)'), GeomFromEWKT('SRID=4674;POINT (-36.622824 -5.101666)'))) / (select extract(epoch from '2026-07-22 17:00:09'::timestamp) - extract(epoch from '2026-07-22 16:59: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'), 47714, 'SRID=4674;POINT (-36.623174 -5.101823)', '2026-07-22 17:00:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.622824 -5.101666)'), GeomFromEWKT('SRID=4674;POINT (-36.623174 -5.101823)'))) / (select extract(epoch from '2026-07-22 17:00:24'::timestamp) - extract(epoch from '2026-07-22 17:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.622824 -5.101666)'), GeomFromEWKT('SRID=4674;POINT (-36.623174 -5.101823)'))) / (select extract(epoch from '2026-07-22 17:00:24'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47714, 'SRID=4674;POINT (-36.623525 -5.101999)', '2026-07-22 17:00:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.623174 -5.101823)'), GeomFromEWKT('SRID=4674;POINT (-36.623525 -5.101999)'))) / (select extract(epoch from '2026-07-22 17:00:40'::timestamp) - extract(epoch from '2026-07-22 17:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.623174 -5.101823)'), GeomFromEWKT('SRID=4674;POINT (-36.623525 -5.101999)'))) / (select extract(epoch from '2026-07-22 17:00:40'::timestamp) - extract(epoch from '2026-07-22 17:00: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'), 47714, 'SRID=4674;POINT (-36.62378 -5.102166)', '2026-07-22 17:00:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.623525 -5.101999)'), GeomFromEWKT('SRID=4674;POINT (-36.62378 -5.102166)'))) / (select extract(epoch from '2026-07-22 17:00:53'::timestamp) - extract(epoch from '2026-07-22 17:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.623525 -5.101999)'), GeomFromEWKT('SRID=4674;POINT (-36.62378 -5.102166)'))) / (select extract(epoch from '2026-07-22 17:00:53'::timestamp) - extract(epoch from '2026-07-22 17:00: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'), 47714, 'SRID=4674;POINT (-36.624027 -5.102402)', '2026-07-22 17:01:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.62378 -5.102166)'), GeomFromEWKT('SRID=4674;POINT (-36.624027 -5.102402)'))) / (select extract(epoch from '2026-07-22 17:01:07'::timestamp) - extract(epoch from '2026-07-22 17:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.62378 -5.102166)'), GeomFromEWKT('SRID=4674;POINT (-36.624027 -5.102402)'))) / (select extract(epoch from '2026-07-22 17:01:07'::timestamp) - extract(epoch from '2026-07-22 17:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.624292 -5.102732)', '2026-07-22 17:01:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.624027 -5.102402)'), GeomFromEWKT('SRID=4674;POINT (-36.624292 -5.102732)'))) / (select extract(epoch from '2026-07-22 17:01:24'::timestamp) - extract(epoch from '2026-07-22 17:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.624027 -5.102402)'), GeomFromEWKT('SRID=4674;POINT (-36.624292 -5.102732)'))) / (select extract(epoch from '2026-07-22 17:01:24'::timestamp) - extract(epoch from '2026-07-22 17:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.624517 -5.103067)', '2026-07-22 17:01:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.624292 -5.102732)'), GeomFromEWKT('SRID=4674;POINT (-36.624517 -5.103067)'))) / (select extract(epoch from '2026-07-22 17:01:40'::timestamp) - extract(epoch from '2026-07-22 17:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.624292 -5.102732)'), GeomFromEWKT('SRID=4674;POINT (-36.624517 -5.103067)'))) / (select extract(epoch from '2026-07-22 17:01:40'::timestamp) - extract(epoch from '2026-07-22 17:01: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'), 47714, 'SRID=4674;POINT (-36.624744 -5.103452)', '2026-07-22 17:01:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.624517 -5.103067)'), GeomFromEWKT('SRID=4674;POINT (-36.624744 -5.103452)'))) / (select extract(epoch from '2026-07-22 17:01:58'::timestamp) - extract(epoch from '2026-07-22 17:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.624517 -5.103067)'), GeomFromEWKT('SRID=4674;POINT (-36.624744 -5.103452)'))) / (select extract(epoch from '2026-07-22 17:01:58'::timestamp) - extract(epoch from '2026-07-22 17:01: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'), 47714, 'SRID=4674;POINT (-36.624974 -5.103802)', '2026-07-22 17:02:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.624744 -5.103452)'), GeomFromEWKT('SRID=4674;POINT (-36.624974 -5.103802)'))) / (select extract(epoch from '2026-07-22 17:02:16'::timestamp) - extract(epoch from '2026-07-22 17:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.624744 -5.103452)'), GeomFromEWKT('SRID=4674;POINT (-36.624974 -5.103802)'))) / (select extract(epoch from '2026-07-22 17:02:16'::timestamp) - extract(epoch from '2026-07-22 17:01:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.625184 -5.104029)', '2026-07-22 17:02:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.624974 -5.103802)'), GeomFromEWKT('SRID=4674;POINT (-36.625184 -5.104029)'))) / (select extract(epoch from '2026-07-22 17:02:30'::timestamp) - extract(epoch from '2026-07-22 17:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.624974 -5.103802)'), GeomFromEWKT('SRID=4674;POINT (-36.625184 -5.104029)'))) / (select extract(epoch from '2026-07-22 17:02:30'::timestamp) - extract(epoch from '2026-07-22 17:02:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.62538 -5.104239)', '2026-07-22 17:02:44', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.625184 -5.104029)'), GeomFromEWKT('SRID=4674;POINT (-36.62538 -5.104239)'))) / (select extract(epoch from '2026-07-22 17:02:44'::timestamp) - extract(epoch from '2026-07-22 17:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.625184 -5.104029)'), GeomFromEWKT('SRID=4674;POINT (-36.62538 -5.104239)'))) / (select extract(epoch from '2026-07-22 17:02:44'::timestamp) - extract(epoch from '2026-07-22 17:02: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'), 47714, 'SRID=4674;POINT (-36.625619 -5.104495)', '2026-07-22 17:03:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.62538 -5.104239)'), GeomFromEWKT('SRID=4674;POINT (-36.625619 -5.104495)'))) / (select extract(epoch from '2026-07-22 17:03:00'::timestamp) - extract(epoch from '2026-07-22 17:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.62538 -5.104239)'), GeomFromEWKT('SRID=4674;POINT (-36.625619 -5.104495)'))) / (select extract(epoch from '2026-07-22 17:03:00'::timestamp) - extract(epoch from '2026-07-22 17:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47714, 'SRID=4674;POINT (-36.6258 -5.104608)', '2026-07-22 17:03:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.625619 -5.104495)'), GeomFromEWKT('SRID=4674;POINT (-36.6258 -5.104608)'))) / (select extract(epoch from '2026-07-22 17:03:09'::timestamp) - extract(epoch from '2026-07-22 17:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.625619 -5.104495)'), GeomFromEWKT('SRID=4674;POINT (-36.6258 -5.104608)'))) / (select extract(epoch from '2026-07-22 17:03:09'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47714, 'SRID=4674;POINT (-36.626148 -5.104764)', '2026-07-22 17:03:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.6258 -5.104608)'), GeomFromEWKT('SRID=4674;POINT (-36.626148 -5.104764)'))) / (select extract(epoch from '2026-07-22 17:03:25'::timestamp) - extract(epoch from '2026-07-22 17:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.6258 -5.104608)'), GeomFromEWKT('SRID=4674;POINT (-36.626148 -5.104764)'))) / (select extract(epoch from '2026-07-22 17:03:25'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47714, 'SRID=4674;POINT (-36.626512 -5.104924)', '2026-07-22 17:03:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.626148 -5.104764)'), GeomFromEWKT('SRID=4674;POINT (-36.626512 -5.104924)'))) / (select extract(epoch from '2026-07-22 17:03:42'::timestamp) - extract(epoch from '2026-07-22 17:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.626148 -5.104764)'), GeomFromEWKT('SRID=4674;POINT (-36.626512 -5.104924)'))) / (select extract(epoch from '2026-07-22 17:03:42'::timestamp) - extract(epoch from '2026-07-22 17:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
