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'), 47680, 'SRID=4674;POINT (-36.324769360945 -5.0729339942336)', '2026-07-20 02:30:09', 6.3999938964844, 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'), 47680, 'SRID=4674;POINT (-36.324947560206 -5.0729129556566)', '2026-07-20 02:30:16', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.324769360945 -5.0729339942336)'), GeomFromEWKT('SRID=4674;POINT (-36.324947560206 -5.0729129556566)'))) / (select extract(epoch from '2026-07-20 02:30:16'::timestamp) - extract(epoch from '2026-07-20 02:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.324769360945 -5.0729339942336)'), GeomFromEWKT('SRID=4674;POINT (-36.324947560206 -5.0729129556566)'))) / (select extract(epoch from '2026-07-20 02:30:16'::timestamp) - extract(epoch from '2026-07-20 02:30: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'), 47680, 'SRID=4674;POINT (-36.325138835236 -5.0728791765869)', '2026-07-20 02:30:24', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.324947560206 -5.0729129556566)'), GeomFromEWKT('SRID=4674;POINT (-36.325138835236 -5.0728791765869)'))) / (select extract(epoch from '2026-07-20 02:30:24'::timestamp) - extract(epoch from '2026-07-20 02:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.324947560206 -5.0729129556566)'), GeomFromEWKT('SRID=4674;POINT (-36.325138835236 -5.0728791765869)'))) / (select extract(epoch from '2026-07-20 02:30:24'::timestamp) - extract(epoch from '2026-07-20 02:30: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'), 47680, 'SRID=4674;POINT (-36.325322818011 -5.0728570483625)', '2026-07-20 02:30:31', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325138835236 -5.0728791765869)'), GeomFromEWKT('SRID=4674;POINT (-36.325322818011 -5.0728570483625)'))) / (select extract(epoch from '2026-07-20 02:30:31'::timestamp) - extract(epoch from '2026-07-20 02:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325138835236 -5.0728791765869)'), GeomFromEWKT('SRID=4674;POINT (-36.325322818011 -5.0728570483625)'))) / (select extract(epoch from '2026-07-20 02:30:31'::timestamp) - extract(epoch from '2026-07-20 02:30: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'), 47680, 'SRID=4674;POINT (-36.325467154384 -5.0728254485875)', '2026-07-20 02:30:37', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325322818011 -5.0728570483625)'), GeomFromEWKT('SRID=4674;POINT (-36.325467154384 -5.0728254485875)'))) / (select extract(epoch from '2026-07-20 02:30:37'::timestamp) - extract(epoch from '2026-07-20 02:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325322818011 -5.0728570483625)'), GeomFromEWKT('SRID=4674;POINT (-36.325467154384 -5.0728254485875)'))) / (select extract(epoch from '2026-07-20 02:30:37'::timestamp) - extract(epoch from '2026-07-20 02:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.325574191287 -5.0728142168373)', '2026-07-20 02:30:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325467154384 -5.0728254485875)'), GeomFromEWKT('SRID=4674;POINT (-36.325574191287 -5.0728142168373)'))) / (select extract(epoch from '2026-07-20 02:30:42'::timestamp) - extract(epoch from '2026-07-20 02:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325467154384 -5.0728254485875)'), GeomFromEWKT('SRID=4674;POINT (-36.325574191287 -5.0728142168373)'))) / (select extract(epoch from '2026-07-20 02:30:42'::timestamp) - extract(epoch from '2026-07-20 02:30: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'), 47680, 'SRID=4674;POINT (-36.325710816309 -5.0727867241949)', '2026-07-20 02:30:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325574191287 -5.0728142168373)'), GeomFromEWKT('SRID=4674;POINT (-36.325710816309 -5.0727867241949)'))) / (select extract(epoch from '2026-07-20 02:30:48'::timestamp) - extract(epoch from '2026-07-20 02:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325574191287 -5.0728142168373)'), GeomFromEWKT('SRID=4674;POINT (-36.325710816309 -5.0727867241949)'))) / (select extract(epoch from '2026-07-20 02:30:48'::timestamp) - extract(epoch from '2026-07-20 02:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.325826486573 -5.072773899883)', '2026-07-20 02:30:53', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325710816309 -5.0727867241949)'), GeomFromEWKT('SRID=4674;POINT (-36.325826486573 -5.072773899883)'))) / (select extract(epoch from '2026-07-20 02:30:53'::timestamp) - extract(epoch from '2026-07-20 02:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325710816309 -5.0727867241949)'), GeomFromEWKT('SRID=4674;POINT (-36.325826486573 -5.072773899883)'))) / (select extract(epoch from '2026-07-20 02:30:53'::timestamp) - extract(epoch from '2026-07-20 02:30: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'), 47680, 'SRID=4674;POINT (-36.325938552618 -5.0727906636894)', '2026-07-20 02:30:57', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325826486573 -5.072773899883)'), GeomFromEWKT('SRID=4674;POINT (-36.325938552618 -5.0727906636894)'))) / (select extract(epoch from '2026-07-20 02:30:57'::timestamp) - extract(epoch from '2026-07-20 02:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325826486573 -5.072773899883)'), GeomFromEWKT('SRID=4674;POINT (-36.325938552618 -5.0727906636894)'))) / (select extract(epoch from '2026-07-20 02:30:57'::timestamp) - extract(epoch from '2026-07-20 02:30:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.326056318358 -5.0727915856987)', '2026-07-20 02:31:02', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325938552618 -5.0727906636894)'), GeomFromEWKT('SRID=4674;POINT (-36.326056318358 -5.0727915856987)'))) / (select extract(epoch from '2026-07-20 02:31:02'::timestamp) - extract(epoch from '2026-07-20 02:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.325938552618 -5.0727906636894)'), GeomFromEWKT('SRID=4674;POINT (-36.326056318358 -5.0727915856987)'))) / (select extract(epoch from '2026-07-20 02:31:02'::timestamp) - extract(epoch from '2026-07-20 02:30: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'), 47680, 'SRID=4674;POINT (-36.326196631417 -5.0727729778737)', '2026-07-20 02:31:08', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326056318358 -5.0727915856987)'), GeomFromEWKT('SRID=4674;POINT (-36.326196631417 -5.0727729778737)'))) / (select extract(epoch from '2026-07-20 02:31:08'::timestamp) - extract(epoch from '2026-07-20 02:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326056318358 -5.0727915856987)'), GeomFromEWKT('SRID=4674;POINT (-36.326196631417 -5.0727729778737)'))) / (select extract(epoch from '2026-07-20 02:31:08'::timestamp) - extract(epoch from '2026-07-20 02:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.326392181218 -5.0727307330817)', '2026-07-20 02:31:16', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326196631417 -5.0727729778737)'), GeomFromEWKT('SRID=4674;POINT (-36.326392181218 -5.0727307330817)'))) / (select extract(epoch from '2026-07-20 02:31:16'::timestamp) - extract(epoch from '2026-07-20 02:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326196631417 -5.0727729778737)'), GeomFromEWKT('SRID=4674;POINT (-36.326392181218 -5.0727307330817)'))) / (select extract(epoch from '2026-07-20 02:31:16'::timestamp) - extract(epoch from '2026-07-20 02:31: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'), 47680, 'SRID=4674;POINT (-36.326590161771 -5.0727126281708)', '2026-07-20 02:31:24', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326392181218 -5.0727307330817)'), GeomFromEWKT('SRID=4674;POINT (-36.326590161771 -5.0727126281708)'))) / (select extract(epoch from '2026-07-20 02:31:24'::timestamp) - extract(epoch from '2026-07-20 02:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326392181218 -5.0727307330817)'), GeomFromEWKT('SRID=4674;POINT (-36.326590161771 -5.0727126281708)'))) / (select extract(epoch from '2026-07-20 02:31:24'::timestamp) - extract(epoch from '2026-07-20 02:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.326789148152 -5.0727121252567)', '2026-07-20 02:31:32', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326590161771 -5.0727126281708)'), GeomFromEWKT('SRID=4674;POINT (-36.326789148152 -5.0727121252567)'))) / (select extract(epoch from '2026-07-20 02:31:32'::timestamp) - extract(epoch from '2026-07-20 02:31:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326590161771 -5.0727126281708)'), GeomFromEWKT('SRID=4674;POINT (-36.326789148152 -5.0727121252567)'))) / (select extract(epoch from '2026-07-20 02:31:32'::timestamp) - extract(epoch from '2026-07-20 02:31: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'), 47680, 'SRID=4674;POINT (-36.326972963288 -5.0727039948106)', '2026-07-20 02:31:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326789148152 -5.0727121252567)'), GeomFromEWKT('SRID=4674;POINT (-36.326972963288 -5.0727039948106)'))) / (select extract(epoch from '2026-07-20 02:31:39'::timestamp) - extract(epoch from '2026-07-20 02:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326789148152 -5.0727121252567)'), GeomFromEWKT('SRID=4674;POINT (-36.326972963288 -5.0727039948106)'))) / (select extract(epoch from '2026-07-20 02:31:39'::timestamp) - extract(epoch from '2026-07-20 02:31: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'), 47680, 'SRID=4674;POINT (-36.327000455931 -5.0727031566203)', '2026-07-20 02:31:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326972963288 -5.0727039948106)'), GeomFromEWKT('SRID=4674;POINT (-36.327000455931 -5.0727031566203)'))) / (select extract(epoch from '2026-07-20 02:31:40'::timestamp) - extract(epoch from '2026-07-20 02:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.326972963288 -5.0727039948106)'), GeomFromEWKT('SRID=4674;POINT (-36.327000455931 -5.0727031566203)'))) / (select extract(epoch from '2026-07-20 02:31:40'::timestamp) - extract(epoch from '2026-07-20 02:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.327205477282 -5.0726992171258)', '2026-07-20 02:31:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327000455931 -5.0727031566203)'), GeomFromEWKT('SRID=4674;POINT (-36.327205477282 -5.0726992171258)'))) / (select extract(epoch from '2026-07-20 02:31:48'::timestamp) - extract(epoch from '2026-07-20 02:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327000455931 -5.0727031566203)'), GeomFromEWKT('SRID=4674;POINT (-36.327205477282 -5.0726992171258)'))) / (select extract(epoch from '2026-07-20 02:31:48'::timestamp) - extract(epoch from '2026-07-20 02:31: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'), 47680, 'SRID=4674;POINT (-36.327258199453 -5.0727020669729)', '2026-07-20 02:31:50', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327205477282 -5.0726992171258)'), GeomFromEWKT('SRID=4674;POINT (-36.327258199453 -5.0727020669729)'))) / (select extract(epoch from '2026-07-20 02:31:50'::timestamp) - extract(epoch from '2026-07-20 02:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327205477282 -5.0726992171258)'), GeomFromEWKT('SRID=4674;POINT (-36.327258199453 -5.0727020669729)'))) / (select extract(epoch from '2026-07-20 02:31:50'::timestamp) - extract(epoch from '2026-07-20 02:31: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'), 47680, 'SRID=4674;POINT (-36.327449139208 -5.0726992171258)', '2026-07-20 02:31:58', 1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327258199453 -5.0727020669729)'), GeomFromEWKT('SRID=4674;POINT (-36.327449139208 -5.0726992171258)'))) / (select extract(epoch from '2026-07-20 02:31:58'::timestamp) - extract(epoch from '2026-07-20 02:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327258199453 -5.0727020669729)'), GeomFromEWKT('SRID=4674;POINT (-36.327449139208 -5.0726992171258)'))) / (select extract(epoch from '2026-07-20 02:31:58'::timestamp) - extract(epoch from '2026-07-20 02:31: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'), 47680, 'SRID=4674;POINT (-36.327616525814 -5.072720842436)', '2026-07-20 02:32:04', 1.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327449139208 -5.0726992171258)'), GeomFromEWKT('SRID=4674;POINT (-36.327616525814 -5.072720842436)'))) / (select extract(epoch from '2026-07-20 02:32:04'::timestamp) - extract(epoch from '2026-07-20 02:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327449139208 -5.0726992171258)'), GeomFromEWKT('SRID=4674;POINT (-36.327616525814 -5.072720842436)'))) / (select extract(epoch from '2026-07-20 02:32:04'::timestamp) - extract(epoch from '2026-07-20 02:31: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'), 47680, 'SRID=4674;POINT (-36.327807549387 -5.0727037433535)', '2026-07-20 02:32:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327616525814 -5.072720842436)'), GeomFromEWKT('SRID=4674;POINT (-36.327807549387 -5.0727037433535)'))) / (select extract(epoch from '2026-07-20 02:32:12'::timestamp) - extract(epoch from '2026-07-20 02:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327616525814 -5.072720842436)'), GeomFromEWKT('SRID=4674;POINT (-36.327807549387 -5.0727037433535)'))) / (select extract(epoch from '2026-07-20 02:32:12'::timestamp) - extract(epoch from '2026-07-20 02:32: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'), 47680, 'SRID=4674;POINT (-36.327832276002 -5.0726965349168)', '2026-07-20 02:32:13', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327807549387 -5.0727037433535)'), GeomFromEWKT('SRID=4674;POINT (-36.327832276002 -5.0726965349168)'))) / (select extract(epoch from '2026-07-20 02:32:13'::timestamp) - extract(epoch from '2026-07-20 02:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327807549387 -5.0727037433535)'), GeomFromEWKT('SRID=4674;POINT (-36.327832276002 -5.0726965349168)'))) / (select extract(epoch from '2026-07-20 02:32:13'::timestamp) - extract(epoch from '2026-07-20 02:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.328021623194 -5.0726530328393)', '2026-07-20 02:32:21', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327832276002 -5.0726965349168)'), GeomFromEWKT('SRID=4674;POINT (-36.328021623194 -5.0726530328393)'))) / (select extract(epoch from '2026-07-20 02:32:21'::timestamp) - extract(epoch from '2026-07-20 02:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.327832276002 -5.0726965349168)'), GeomFromEWKT('SRID=4674;POINT (-36.328021623194 -5.0726530328393)'))) / (select extract(epoch from '2026-07-20 02:32:21'::timestamp) - extract(epoch from '2026-07-20 02:32: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'), 47680, 'SRID=4674;POINT (-36.32804626599 -5.0726541224867)', '2026-07-20 02:32:22', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.328021623194 -5.0726530328393)'), GeomFromEWKT('SRID=4674;POINT (-36.32804626599 -5.0726541224867)'))) / (select extract(epoch from '2026-07-20 02:32:22'::timestamp) - extract(epoch from '2026-07-20 02:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.328021623194 -5.0726530328393)'), GeomFromEWKT('SRID=4674;POINT (-36.32804626599 -5.0726541224867)'))) / (select extract(epoch from '2026-07-20 02:32:22'::timestamp) - extract(epoch from '2026-07-20 02:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.328190518543 -5.0726561341435)', '2026-07-20 02:32:28', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.32804626599 -5.0726541224867)'), GeomFromEWKT('SRID=4674;POINT (-36.328190518543 -5.0726561341435)'))) / (select extract(epoch from '2026-07-20 02:32:28'::timestamp) - extract(epoch from '2026-07-20 02:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.32804626599 -5.0726541224867)'), GeomFromEWKT('SRID=4674;POINT (-36.328190518543 -5.0726561341435)'))) / (select extract(epoch from '2026-07-20 02:32:28'::timestamp) - extract(epoch from '2026-07-20 02:32: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'), 47680, 'SRID=4674;POINT (-36.328332172707 -5.0726701319218)', '2026-07-20 02:32:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.328190518543 -5.0726561341435)'), GeomFromEWKT('SRID=4674;POINT (-36.328332172707 -5.0726701319218)'))) / (select extract(epoch from '2026-07-20 02:32:34'::timestamp) - extract(epoch from '2026-07-20 02:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.328190518543 -5.0726561341435)'), GeomFromEWKT('SRID=4674;POINT (-36.328332172707 -5.0726701319218)'))) / (select extract(epoch from '2026-07-20 02:32:34'::timestamp) - extract(epoch from '2026-07-20 02:32: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'), 47680, 'SRID=4674;POINT (-36.328476341441 -5.0727029889822)', '2026-07-20 02:32:40', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.328332172707 -5.0726701319218)'), GeomFromEWKT('SRID=4674;POINT (-36.328476341441 -5.0727029889822)'))) / (select extract(epoch from '2026-07-20 02:32:40'::timestamp) - extract(epoch from '2026-07-20 02:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.328332172707 -5.0726701319218)'), GeomFromEWKT('SRID=4674;POINT (-36.328476341441 -5.0727029889822)'))) / (select extract(epoch from '2026-07-20 02:32:40'::timestamp) - extract(epoch from '2026-07-20 02:32: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'), 47680, 'SRID=4674;POINT (-36.32861757651 -5.0727046653628)', '2026-07-20 02:32:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.328476341441 -5.0727029889822)'), GeomFromEWKT('SRID=4674;POINT (-36.32861757651 -5.0727046653628)'))) / (select extract(epoch from '2026-07-20 02:32:46'::timestamp) - extract(epoch from '2026-07-20 02:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.328476341441 -5.0727029889822)'), GeomFromEWKT('SRID=4674;POINT (-36.32861757651 -5.0727046653628)'))) / (select extract(epoch from '2026-07-20 02:32:46'::timestamp) - extract(epoch from '2026-07-20 02:32:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.328714555129 -5.0727096945047)', '2026-07-20 02:32:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.32861757651 -5.0727046653628)'), GeomFromEWKT('SRID=4674;POINT (-36.328714555129 -5.0727096945047)'))) / (select extract(epoch from '2026-07-20 02:32:51'::timestamp) - extract(epoch from '2026-07-20 02:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.32861757651 -5.0727046653628)'), GeomFromEWKT('SRID=4674;POINT (-36.328714555129 -5.0727096945047)'))) / (select extract(epoch from '2026-07-20 02:32:51'::timestamp) - extract(epoch from '2026-07-20 02:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.370128784329 -5.0678908545524)', '2026-07-20 04:58:23', 15.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.328714555129 -5.0727096945047)'), GeomFromEWKT('SRID=4674;POINT (-36.370128784329 -5.0678908545524)'))) / (select extract(epoch from '2026-07-20 04:58:23'::timestamp) - extract(epoch from '2026-07-20 02:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.328714555129 -5.0727096945047)'), GeomFromEWKT('SRID=4674;POINT (-36.370128784329 -5.0678908545524)'))) / (select extract(epoch from '2026-07-20 04:58:23'::timestamp) - extract(epoch from '2026-07-20 02:32: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'), 47680, 'SRID=4674;POINT (-36.370135322213 -5.0678783655167)', '2026-07-20 04:58:37', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.370128784329 -5.0678908545524)'), GeomFromEWKT('SRID=4674;POINT (-36.370135322213 -5.0678783655167)'))) / (select extract(epoch from '2026-07-20 04:58:37'::timestamp) - extract(epoch from '2026-07-20 04:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.370128784329 -5.0678908545524)'), GeomFromEWKT('SRID=4674;POINT (-36.370135322213 -5.0678783655167)'))) / (select extract(epoch from '2026-07-20 04:58:37'::timestamp) - extract(epoch from '2026-07-20 04: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'), 47680, 'SRID=4674;POINT (-36.37013557367 -5.0678804609925)', '2026-07-20 04:58:44', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.370135322213 -5.0678783655167)'), GeomFromEWKT('SRID=4674;POINT (-36.37013557367 -5.0678804609925)'))) / (select extract(epoch from '2026-07-20 04:58:44'::timestamp) - extract(epoch from '2026-07-20 04:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.370135322213 -5.0678783655167)'), GeomFromEWKT('SRID=4674;POINT (-36.37013557367 -5.0678804609925)'))) / (select extract(epoch from '2026-07-20 04:58:44'::timestamp) - extract(epoch from '2026-07-20 04:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.370132640004 -5.0678751803935)', '2026-07-20 04:59:00', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.37013557367 -5.0678804609925)'), GeomFromEWKT('SRID=4674;POINT (-36.370132640004 -5.0678751803935)'))) / (select extract(epoch from '2026-07-20 04:59:00'::timestamp) - extract(epoch from '2026-07-20 04:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.37013557367 -5.0678804609925)'), GeomFromEWKT('SRID=4674;POINT (-36.370132640004 -5.0678751803935)'))) / (select extract(epoch from '2026-07-20 04:59:00'::timestamp) - extract(epoch from '2026-07-20 04:58: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'), 47680, 'SRID=4674;POINT (-36.370145296678 -5.067889848724)', '2026-07-20 04:59:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.370132640004 -5.0678751803935)'), GeomFromEWKT('SRID=4674;POINT (-36.370145296678 -5.067889848724)'))) / (select extract(epoch from '2026-07-20 04:59:20'::timestamp) - extract(epoch from '2026-07-20 04:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.370132640004 -5.0678751803935)'), GeomFromEWKT('SRID=4674;POINT (-36.370145296678 -5.067889848724)'))) / (select extract(epoch from '2026-07-20 04:59:20'::timestamp) - extract(epoch from '2026-07-20 04: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'), 47680, 'SRID=4674;POINT (-36.370135657489 -5.0678940396756)', '2026-07-20 05:00:06', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.370145296678 -5.067889848724)'), GeomFromEWKT('SRID=4674;POINT (-36.370135657489 -5.0678940396756)'))) / (select extract(epoch from '2026-07-20 05:00:06'::timestamp) - extract(epoch from '2026-07-20 04:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.370145296678 -5.067889848724)'), GeomFromEWKT('SRID=4674;POINT (-36.370135657489 -5.0678940396756)'))) / (select extract(epoch from '2026-07-20 05:00:06'::timestamp) - extract(epoch from '2026-07-20 04:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47680, 'SRID=4674;POINT (-36.370130963624 -5.0678817182779)', '2026-07-20 05:00:22', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.370135657489 -5.0678940396756)'), GeomFromEWKT('SRID=4674;POINT (-36.370130963624 -5.0678817182779)'))) / (select extract(epoch from '2026-07-20 05:00:22'::timestamp) - extract(epoch from '2026-07-20 05:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.370135657489 -5.0678940396756)'), GeomFromEWKT('SRID=4674;POINT (-36.370130963624 -5.0678817182779)'))) / (select extract(epoch from '2026-07-20 05:00:22'::timestamp) - extract(epoch from '2026-07-20 05:00:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
