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'), 47682, 'SRID=4674;POINT (-36.319817081094 -5.072105275467)', '2026-07-22 02:56:19', 5.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'), 47682, 'SRID=4674;POINT (-36.319902744144 -5.0720222946256)', '2026-07-22 02:56:26', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.319817081094 -5.072105275467)'), GeomFromEWKT('SRID=4674;POINT (-36.319902744144 -5.0720222946256)'))) / (select extract(epoch from '2026-07-22 02:56:26'::timestamp) - extract(epoch from '2026-07-22 02:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.319817081094 -5.072105275467)'), GeomFromEWKT('SRID=4674;POINT (-36.319902744144 -5.0720222946256)'))) / (select extract(epoch from '2026-07-22 02:56:26'::timestamp) - extract(epoch from '2026-07-22 02:56: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'), 47682, 'SRID=4674;POINT (-36.320037441328 -5.0719686504453)', '2026-07-22 02:56:32', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.319902744144 -5.0720222946256)'), GeomFromEWKT('SRID=4674;POINT (-36.320037441328 -5.0719686504453)'))) / (select extract(epoch from '2026-07-22 02:56:32'::timestamp) - extract(epoch from '2026-07-22 02:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.319902744144 -5.0720222946256)'), GeomFromEWKT('SRID=4674;POINT (-36.320037441328 -5.0719686504453)'))) / (select extract(epoch from '2026-07-22 02:56:32'::timestamp) - extract(epoch from '2026-07-22 02: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'), 47682, 'SRID=4674;POINT (-36.320192171261 -5.0718326959759)', '2026-07-22 02:56:36', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320037441328 -5.0719686504453)'), GeomFromEWKT('SRID=4674;POINT (-36.320192171261 -5.0718326959759)'))) / (select extract(epoch from '2026-07-22 02:56:36'::timestamp) - extract(epoch from '2026-07-22 02:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320037441328 -5.0719686504453)'), GeomFromEWKT('SRID=4674;POINT (-36.320192171261 -5.0718326959759)'))) / (select extract(epoch from '2026-07-22 02:56:36'::timestamp) - extract(epoch from '2026-07-22 02: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'), 47682, 'SRID=4674;POINT (-36.320279762149 -5.0717552471906)', '2026-07-22 02:56:39', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320192171261 -5.0718326959759)'), GeomFromEWKT('SRID=4674;POINT (-36.320279762149 -5.0717552471906)'))) / (select extract(epoch from '2026-07-22 02:56:39'::timestamp) - extract(epoch from '2026-07-22 02:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320192171261 -5.0718326959759)'), GeomFromEWKT('SRID=4674;POINT (-36.320279762149 -5.0717552471906)'))) / (select extract(epoch from '2026-07-22 02:56:39'::timestamp) - extract(epoch from '2026-07-22 02:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.320388894528 -5.0715981703252)', '2026-07-22 02:56:45', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320279762149 -5.0717552471906)'), GeomFromEWKT('SRID=4674;POINT (-36.320388894528 -5.0715981703252)'))) / (select extract(epoch from '2026-07-22 02:56:45'::timestamp) - extract(epoch from '2026-07-22 02:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320279762149 -5.0717552471906)'), GeomFromEWKT('SRID=4674;POINT (-36.320388894528 -5.0715981703252)'))) / (select extract(epoch from '2026-07-22 02:56:45'::timestamp) - extract(epoch from '2026-07-22 02:56: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'), 47682, 'SRID=4674;POINT (-36.32039828226 -5.0715754553676)', '2026-07-22 02:56:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320388894528 -5.0715981703252)'), GeomFromEWKT('SRID=4674;POINT (-36.32039828226 -5.0715754553676)'))) / (select extract(epoch from '2026-07-22 02:56:46'::timestamp) - extract(epoch from '2026-07-22 02:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320388894528 -5.0715981703252)'), GeomFromEWKT('SRID=4674;POINT (-36.32039828226 -5.0715754553676)'))) / (select extract(epoch from '2026-07-22 02:56:46'::timestamp) - extract(epoch from '2026-07-22 02:56: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'), 47682, 'SRID=4674;POINT (-36.320470869541 -5.0713874492794)', '2026-07-22 02:56:53', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.32039828226 -5.0715754553676)'), GeomFromEWKT('SRID=4674;POINT (-36.320470869541 -5.0713874492794)'))) / (select extract(epoch from '2026-07-22 02:56:53'::timestamp) - extract(epoch from '2026-07-22 02:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.32039828226 -5.0715754553676)'), GeomFromEWKT('SRID=4674;POINT (-36.320470869541 -5.0713874492794)'))) / (select extract(epoch from '2026-07-22 02:56:53'::timestamp) - extract(epoch from '2026-07-22 02: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'), 47682, 'SRID=4674;POINT (-36.320500038564 -5.0713461264968)', '2026-07-22 02:56:55', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320470869541 -5.0713874492794)'), GeomFromEWKT('SRID=4674;POINT (-36.320500038564 -5.0713461264968)'))) / (select extract(epoch from '2026-07-22 02:56:55'::timestamp) - extract(epoch from '2026-07-22 02:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320470869541 -5.0713874492794)'), GeomFromEWKT('SRID=4674;POINT (-36.320500038564 -5.0713461264968)'))) / (select extract(epoch from '2026-07-22 02:56:55'::timestamp) - extract(epoch from '2026-07-22 02:56: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'), 47682, 'SRID=4674;POINT (-36.320606740192 -5.0712961703539)', '2026-07-22 02:57:01', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320500038564 -5.0713461264968)'), GeomFromEWKT('SRID=4674;POINT (-36.320606740192 -5.0712961703539)'))) / (select extract(epoch from '2026-07-22 02:57:01'::timestamp) - extract(epoch from '2026-07-22 02:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320500038564 -5.0713461264968)'), GeomFromEWKT('SRID=4674;POINT (-36.320606740192 -5.0712961703539)'))) / (select extract(epoch from '2026-07-22 02:57:01'::timestamp) - extract(epoch from '2026-07-22 02:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.320795752108 -5.0712796580046)', '2026-07-22 02:57:10', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320606740192 -5.0712961703539)'), GeomFromEWKT('SRID=4674;POINT (-36.320795752108 -5.0712796580046)'))) / (select extract(epoch from '2026-07-22 02:57:10'::timestamp) - extract(epoch from '2026-07-22 02:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320606740192 -5.0712961703539)'), GeomFromEWKT('SRID=4674;POINT (-36.320795752108 -5.0712796580046)'))) / (select extract(epoch from '2026-07-22 02:57:10'::timestamp) - extract(epoch from '2026-07-22 02:57: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'), 47682, 'SRID=4674;POINT (-36.320818886161 -5.0712743774056)', '2026-07-22 02:57:11', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320795752108 -5.0712796580046)'), GeomFromEWKT('SRID=4674;POINT (-36.320818886161 -5.0712743774056)'))) / (select extract(epoch from '2026-07-22 02:57:11'::timestamp) - extract(epoch from '2026-07-22 02:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320795752108 -5.0712796580046)'), GeomFromEWKT('SRID=4674;POINT (-36.320818886161 -5.0712743774056)'))) / (select extract(epoch from '2026-07-22 02:57:11'::timestamp) - extract(epoch from '2026-07-22 02:57: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'), 47682, 'SRID=4674;POINT (-36.320928940549 -5.0712080765516)', '2026-07-22 02:57:17', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320818886161 -5.0712743774056)'), GeomFromEWKT('SRID=4674;POINT (-36.320928940549 -5.0712080765516)'))) / (select extract(epoch from '2026-07-22 02:57:17'::timestamp) - extract(epoch from '2026-07-22 02:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320818886161 -5.0712743774056)'), GeomFromEWKT('SRID=4674;POINT (-36.320928940549 -5.0712080765516)'))) / (select extract(epoch from '2026-07-22 02:57:17'::timestamp) - extract(epoch from '2026-07-22 02:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321054333821 -5.0710975192487)', '2026-07-22 02:57:25', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320928940549 -5.0712080765516)'), GeomFromEWKT('SRID=4674;POINT (-36.321054333821 -5.0710975192487)'))) / (select extract(epoch from '2026-07-22 02:57:25'::timestamp) - extract(epoch from '2026-07-22 02:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.320928940549 -5.0712080765516)'), GeomFromEWKT('SRID=4674;POINT (-36.321054333821 -5.0710975192487)'))) / (select extract(epoch from '2026-07-22 02:57:25'::timestamp) - extract(epoch from '2026-07-22 02:57: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'), 47682, 'SRID=4674;POINT (-36.321170339361 -5.0710074976087)', '2026-07-22 02:57:32', 4.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321054333821 -5.0710975192487)'), GeomFromEWKT('SRID=4674;POINT (-36.321170339361 -5.0710074976087)'))) / (select extract(epoch from '2026-07-22 02:57:32'::timestamp) - extract(epoch from '2026-07-22 02:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321054333821 -5.0710975192487)'), GeomFromEWKT('SRID=4674;POINT (-36.321170339361 -5.0710074976087)'))) / (select extract(epoch from '2026-07-22 02:57:32'::timestamp) - extract(epoch from '2026-07-22 02:57: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'), 47682, 'SRID=4674;POINT (-36.321300761774 -5.0709444656968)', '2026-07-22 02:57:39', 3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321170339361 -5.0710074976087)'), GeomFromEWKT('SRID=4674;POINT (-36.321300761774 -5.0709444656968)'))) / (select extract(epoch from '2026-07-22 02:57:39'::timestamp) - extract(epoch from '2026-07-22 02:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321170339361 -5.0710074976087)'), GeomFromEWKT('SRID=4674;POINT (-36.321300761774 -5.0709444656968)'))) / (select extract(epoch from '2026-07-22 02:57:39'::timestamp) - extract(epoch from '2026-07-22 02:57: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'), 47682, 'SRID=4674;POINT (-36.321440571919 -5.0708908215165)', '2026-07-22 02:57:46', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321300761774 -5.0709444656968)'), GeomFromEWKT('SRID=4674;POINT (-36.321440571919 -5.0708908215165)'))) / (select extract(epoch from '2026-07-22 02:57:46'::timestamp) - extract(epoch from '2026-07-22 02:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321300761774 -5.0709444656968)'), GeomFromEWKT('SRID=4674;POINT (-36.321440571919 -5.0708908215165)'))) / (select extract(epoch from '2026-07-22 02:57:46'::timestamp) - extract(epoch from '2026-07-22 02:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321556745097 -5.0707776658237)', '2026-07-22 02:57:54', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321440571919 -5.0708908215165)'), GeomFromEWKT('SRID=4674;POINT (-36.321556745097 -5.0707776658237)'))) / (select extract(epoch from '2026-07-22 02:57:54'::timestamp) - extract(epoch from '2026-07-22 02:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321440571919 -5.0708908215165)'), GeomFromEWKT('SRID=4674;POINT (-36.321556745097 -5.0707776658237)'))) / (select extract(epoch from '2026-07-22 02:57:54'::timestamp) - extract(epoch from '2026-07-22 02: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'), 47682, 'SRID=4674;POINT (-36.321652634069 -5.0706868898124)', '2026-07-22 02:58:01', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321556745097 -5.0707776658237)'), GeomFromEWKT('SRID=4674;POINT (-36.321652634069 -5.0706868898124)'))) / (select extract(epoch from '2026-07-22 02:58:01'::timestamp) - extract(epoch from '2026-07-22 02:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321556745097 -5.0707776658237)'), GeomFromEWKT('SRID=4674;POINT (-36.321652634069 -5.0706868898124)'))) / (select extract(epoch from '2026-07-22 02:58:01'::timestamp) - extract(epoch from '2026-07-22 02:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321719689295 -5.0706763286144)', '2026-07-22 02:58:06', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321652634069 -5.0706868898124)'), GeomFromEWKT('SRID=4674;POINT (-36.321719689295 -5.0706763286144)'))) / (select extract(epoch from '2026-07-22 02:58:06'::timestamp) - extract(epoch from '2026-07-22 02:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321652634069 -5.0706868898124)'), GeomFromEWKT('SRID=4674;POINT (-36.321719689295 -5.0706763286144)'))) / (select extract(epoch from '2026-07-22 02:58:06'::timestamp) - extract(epoch from '2026-07-22 02:58:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321743661538 -5.0706869736314)', '2026-07-22 02:58:09', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321719689295 -5.0706763286144)'), GeomFromEWKT('SRID=4674;POINT (-36.321743661538 -5.0706869736314)'))) / (select extract(epoch from '2026-07-22 02:58:09'::timestamp) - extract(epoch from '2026-07-22 02:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321719689295 -5.0706763286144)'), GeomFromEWKT('SRID=4674;POINT (-36.321743661538 -5.0706869736314)'))) / (select extract(epoch from '2026-07-22 02:58:09'::timestamp) - extract(epoch from '2026-07-22 02:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321749361232 -5.0706957746297)', '2026-07-22 02:58:10', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321743661538 -5.0706869736314)'), GeomFromEWKT('SRID=4674;POINT (-36.321749361232 -5.0706957746297)'))) / (select extract(epoch from '2026-07-22 02:58:10'::timestamp) - extract(epoch from '2026-07-22 02:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321743661538 -5.0706869736314)'), GeomFromEWKT('SRID=4674;POINT (-36.321749361232 -5.0706957746297)'))) / (select extract(epoch from '2026-07-22 02:58:10'::timestamp) - extract(epoch from '2026-07-22 02: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'), 47682, 'SRID=4674;POINT (-36.321767633781 -5.0707924179733)', '2026-07-22 02:58:17', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321749361232 -5.0706957746297)'), GeomFromEWKT('SRID=4674;POINT (-36.321767633781 -5.0707924179733)'))) / (select extract(epoch from '2026-07-22 02:58:17'::timestamp) - extract(epoch from '2026-07-22 02:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321749361232 -5.0706957746297)'), GeomFromEWKT('SRID=4674;POINT (-36.321767633781 -5.0707924179733)'))) / (select extract(epoch from '2026-07-22 02:58:17'::timestamp) - extract(epoch from '2026-07-22 02:58:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321775931865 -5.070931725204)', '2026-07-22 02:58:25', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321767633781 -5.0707924179733)'), GeomFromEWKT('SRID=4674;POINT (-36.321775931865 -5.070931725204)'))) / (select extract(epoch from '2026-07-22 02:58:25'::timestamp) - extract(epoch from '2026-07-22 02:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321767633781 -5.0707924179733)'), GeomFromEWKT('SRID=4674;POINT (-36.321775931865 -5.070931725204)'))) / (select extract(epoch from '2026-07-22 02:58:25'::timestamp) - extract(epoch from '2026-07-22 02: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'), 47682, 'SRID=4674;POINT (-36.321794288233 -5.0710843596607)', '2026-07-22 02:58:33', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321775931865 -5.070931725204)'), GeomFromEWKT('SRID=4674;POINT (-36.321794288233 -5.0710843596607)'))) / (select extract(epoch from '2026-07-22 02:58:33'::timestamp) - extract(epoch from '2026-07-22 02:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321775931865 -5.070931725204)'), GeomFromEWKT('SRID=4674;POINT (-36.321794288233 -5.0710843596607)'))) / (select extract(epoch from '2026-07-22 02:58:33'::timestamp) - extract(epoch from '2026-07-22 02:58: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'), 47682, 'SRID=4674;POINT (-36.321804346517 -5.0712007842958)', '2026-07-22 02:58:40', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321794288233 -5.0710843596607)'), GeomFromEWKT('SRID=4674;POINT (-36.321804346517 -5.0712007842958)'))) / (select extract(epoch from '2026-07-22 02:58:40'::timestamp) - extract(epoch from '2026-07-22 02:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321794288233 -5.0710843596607)'), GeomFromEWKT('SRID=4674;POINT (-36.321804346517 -5.0712007842958)'))) / (select extract(epoch from '2026-07-22 02:58:40'::timestamp) - extract(epoch from '2026-07-22 02:58: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'), 47682, 'SRID=4674;POINT (-36.321819433942 -5.0713250879198)', '2026-07-22 02:58:46', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321804346517 -5.0712007842958)'), GeomFromEWKT('SRID=4674;POINT (-36.321819433942 -5.0713250879198)'))) / (select extract(epoch from '2026-07-22 02:58:46'::timestamp) - extract(epoch from '2026-07-22 02:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321804346517 -5.0712007842958)'), GeomFromEWKT('SRID=4674;POINT (-36.321819433942 -5.0713250879198)'))) / (select extract(epoch from '2026-07-22 02:58:46'::timestamp) - extract(epoch from '2026-07-22 02:58: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'), 47682, 'SRID=4674;POINT (-36.321835862473 -5.0714537501335)', '2026-07-22 02:58:53', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321819433942 -5.0713250879198)'), GeomFromEWKT('SRID=4674;POINT (-36.321835862473 -5.0714537501335)'))) / (select extract(epoch from '2026-07-22 02:58:53'::timestamp) - extract(epoch from '2026-07-22 02:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321819433942 -5.0713250879198)'), GeomFromEWKT('SRID=4674;POINT (-36.321835862473 -5.0714537501335)'))) / (select extract(epoch from '2026-07-22 02:58:53'::timestamp) - extract(epoch from '2026-07-22 02:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321850866079 -5.0715901236981)', '2026-07-22 02:59:00', 3.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321835862473 -5.0714537501335)'), GeomFromEWKT('SRID=4674;POINT (-36.321850866079 -5.0715901236981)'))) / (select extract(epoch from '2026-07-22 02:59:00'::timestamp) - extract(epoch from '2026-07-22 02:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321835862473 -5.0714537501335)'), GeomFromEWKT('SRID=4674;POINT (-36.321850866079 -5.0715901236981)'))) / (select extract(epoch from '2026-07-22 02:59:00'::timestamp) - extract(epoch from '2026-07-22 02:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321863690391 -5.0716892816126)', '2026-07-22 02:59:06', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321850866079 -5.0715901236981)'), GeomFromEWKT('SRID=4674;POINT (-36.321863690391 -5.0716892816126)'))) / (select extract(epoch from '2026-07-22 02:59:06'::timestamp) - extract(epoch from '2026-07-22 02:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321850866079 -5.0715901236981)'), GeomFromEWKT('SRID=4674;POINT (-36.321863690391 -5.0716892816126)'))) / (select extract(epoch from '2026-07-22 02:59:06'::timestamp) - extract(epoch from '2026-07-22 02: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'), 47682, 'SRID=4674;POINT (-36.321859583259 -5.0718047842383)', '2026-07-22 02:59:12', 3.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321863690391 -5.0716892816126)'), GeomFromEWKT('SRID=4674;POINT (-36.321859583259 -5.0718047842383)'))) / (select extract(epoch from '2026-07-22 02:59:12'::timestamp) - extract(epoch from '2026-07-22 02:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321863690391 -5.0716892816126)'), GeomFromEWKT('SRID=4674;POINT (-36.321859583259 -5.0718047842383)'))) / (select extract(epoch from '2026-07-22 02:59:12'::timestamp) - extract(epoch from '2026-07-22 02:59:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.32186293602 -5.0719163473696)', '2026-07-22 02:59:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321859583259 -5.0718047842383)'), GeomFromEWKT('SRID=4674;POINT (-36.32186293602 -5.0719163473696)'))) / (select extract(epoch from '2026-07-22 02:59:18'::timestamp) - extract(epoch from '2026-07-22 02:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321859583259 -5.0718047842383)'), GeomFromEWKT('SRID=4674;POINT (-36.32186293602 -5.0719163473696)'))) / (select extract(epoch from '2026-07-22 02:59:18'::timestamp) - extract(epoch from '2026-07-22 02:59: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'), 47682, 'SRID=4674;POINT (-36.321871988475 -5.072062863037)', '2026-07-22 02:59:26', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.32186293602 -5.0719163473696)'), GeomFromEWKT('SRID=4674;POINT (-36.321871988475 -5.072062863037)'))) / (select extract(epoch from '2026-07-22 02:59:26'::timestamp) - extract(epoch from '2026-07-22 02:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.32186293602 -5.0719163473696)'), GeomFromEWKT('SRID=4674;POINT (-36.321871988475 -5.072062863037)'))) / (select extract(epoch from '2026-07-22 02:59:26'::timestamp) - extract(epoch from '2026-07-22 02: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'), 47682, 'SRID=4674;POINT (-36.321877688169 -5.0721794553101)', '2026-07-22 02:59:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321871988475 -5.072062863037)'), GeomFromEWKT('SRID=4674;POINT (-36.321877688169 -5.0721794553101)'))) / (select extract(epoch from '2026-07-22 02:59:32'::timestamp) - extract(epoch from '2026-07-22 02:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321871988475 -5.072062863037)'), GeomFromEWKT('SRID=4674;POINT (-36.321877688169 -5.0721794553101)'))) / (select extract(epoch from '2026-07-22 02:59:32'::timestamp) - extract(epoch from '2026-07-22 02:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321889590472 -5.0723251327872)', '2026-07-22 02:59:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321877688169 -5.0721794553101)'), GeomFromEWKT('SRID=4674;POINT (-36.321889590472 -5.0723251327872)'))) / (select extract(epoch from '2026-07-22 02:59:40'::timestamp) - extract(epoch from '2026-07-22 02:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321877688169 -5.0721794553101)'), GeomFromEWKT('SRID=4674;POINT (-36.321889590472 -5.0723251327872)'))) / (select extract(epoch from '2026-07-22 02:59:40'::timestamp) - extract(epoch from '2026-07-22 02:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321912053972 -5.072401156649)', '2026-07-22 02:59:44', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321889590472 -5.0723251327872)'), GeomFromEWKT('SRID=4674;POINT (-36.321912053972 -5.072401156649)'))) / (select extract(epoch from '2026-07-22 02:59:44'::timestamp) - extract(epoch from '2026-07-22 02:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321889590472 -5.0723251327872)'), GeomFromEWKT('SRID=4674;POINT (-36.321912053972 -5.072401156649)'))) / (select extract(epoch from '2026-07-22 02:59:44'::timestamp) - extract(epoch from '2026-07-22 02:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321944994852 -5.0724903400987)', '2026-07-22 02:59:50', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321912053972 -5.072401156649)'), GeomFromEWKT('SRID=4674;POINT (-36.321944994852 -5.0724903400987)'))) / (select extract(epoch from '2026-07-22 02:59:50'::timestamp) - extract(epoch from '2026-07-22 02:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321912053972 -5.072401156649)'), GeomFromEWKT('SRID=4674;POINT (-36.321944994852 -5.0724903400987)'))) / (select extract(epoch from '2026-07-22 02:59:50'::timestamp) - extract(epoch from '2026-07-22 02:59: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'), 47682, 'SRID=4674;POINT (-36.321962093934 -5.0725830439478)', '2026-07-22 02:59:56', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321944994852 -5.0724903400987)'), GeomFromEWKT('SRID=4674;POINT (-36.321962093934 -5.0725830439478)'))) / (select extract(epoch from '2026-07-22 02:59:56'::timestamp) - extract(epoch from '2026-07-22 02:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321944994852 -5.0724903400987)'), GeomFromEWKT('SRID=4674;POINT (-36.321962093934 -5.0725830439478)'))) / (select extract(epoch from '2026-07-22 02:59:56'::timestamp) - extract(epoch from '2026-07-22 02:59:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.321980198845 -5.0726494286209)', '2026-07-22 03:00:02', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321962093934 -5.0725830439478)'), GeomFromEWKT('SRID=4674;POINT (-36.321980198845 -5.0726494286209)'))) / (select extract(epoch from '2026-07-22 03:00:02'::timestamp) - extract(epoch from '2026-07-22 02:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321962093934 -5.0725830439478)'), GeomFromEWKT('SRID=4674;POINT (-36.321980198845 -5.0726494286209)'))) / (select extract(epoch from '2026-07-22 03:00:02'::timestamp) - extract(epoch from '2026-07-22 02:59: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'), 47682, 'SRID=4674;POINT (-36.321994867176 -5.0726883206517)', '2026-07-22 03:00:08', 2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321980198845 -5.0726494286209)'), GeomFromEWKT('SRID=4674;POINT (-36.321994867176 -5.0726883206517)'))) / (select extract(epoch from '2026-07-22 03:00:08'::timestamp) - extract(epoch from '2026-07-22 03:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321980198845 -5.0726494286209)'), GeomFromEWKT('SRID=4674;POINT (-36.321994867176 -5.0726883206517)'))) / (select extract(epoch from '2026-07-22 03:00:08'::timestamp) - extract(epoch from '2026-07-22 03:00: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'), 47682, 'SRID=4674;POINT (-36.3220447395 -5.0727268774062)', '2026-07-22 03:00:19', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321994867176 -5.0726883206517)'), GeomFromEWKT('SRID=4674;POINT (-36.3220447395 -5.0727268774062)'))) / (select extract(epoch from '2026-07-22 03:00:19'::timestamp) - extract(epoch from '2026-07-22 03:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.321994867176 -5.0726883206517)'), GeomFromEWKT('SRID=4674;POINT (-36.3220447395 -5.0727268774062)'))) / (select extract(epoch from '2026-07-22 03:00:19'::timestamp) - extract(epoch from '2026-07-22 03:00: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'), 47682, 'SRID=4674;POINT (-36.322118919343 -5.0727343373001)', '2026-07-22 03:00:37', 2.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.3220447395 -5.0727268774062)'), GeomFromEWKT('SRID=4674;POINT (-36.322118919343 -5.0727343373001)'))) / (select extract(epoch from '2026-07-22 03:00:37'::timestamp) - extract(epoch from '2026-07-22 03:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.3220447395 -5.0727268774062)'), GeomFromEWKT('SRID=4674;POINT (-36.322118919343 -5.0727343373001)'))) / (select extract(epoch from '2026-07-22 03:00:37'::timestamp) - extract(epoch from '2026-07-22 03:00: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'), 47682, 'SRID=4674;POINT (-36.322196451947 -5.0727189984173)', '2026-07-22 03:00:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322118919343 -5.0727343373001)'), GeomFromEWKT('SRID=4674;POINT (-36.322196451947 -5.0727189984173)'))) / (select extract(epoch from '2026-07-22 03:00:58'::timestamp) - extract(epoch from '2026-07-22 03:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322118919343 -5.0727343373001)'), GeomFromEWKT('SRID=4674;POINT (-36.322196451947 -5.0727189984173)'))) / (select extract(epoch from '2026-07-22 03:00:58'::timestamp) - extract(epoch from '2026-07-22 03:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.322261663154 -5.0726772565395)', '2026-07-22 03:01:23', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322196451947 -5.0727189984173)'), GeomFromEWKT('SRID=4674;POINT (-36.322261663154 -5.0726772565395)'))) / (select extract(epoch from '2026-07-22 03:01:23'::timestamp) - extract(epoch from '2026-07-22 03:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322196451947 -5.0727189984173)'), GeomFromEWKT('SRID=4674;POINT (-36.322261663154 -5.0726772565395)'))) / (select extract(epoch from '2026-07-22 03:01:23'::timestamp) - extract(epoch from '2026-07-22 03:00: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'), 47682, 'SRID=4674;POINT (-36.322284042835 -5.0726588163525)', '2026-07-22 03:01:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322261663154 -5.0726772565395)'), GeomFromEWKT('SRID=4674;POINT (-36.322284042835 -5.0726588163525)'))) / (select extract(epoch from '2026-07-22 03:01:32'::timestamp) - extract(epoch from '2026-07-22 03:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322261663154 -5.0726772565395)'), GeomFromEWKT('SRID=4674;POINT (-36.322284042835 -5.0726588163525)'))) / (select extract(epoch from '2026-07-22 03:01:32'::timestamp) - extract(epoch from '2026-07-22 03: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'), 47682, 'SRID=4674;POINT (-36.322606746107 -5.0722866598517)', '2026-07-22 03:15:25', 17.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322284042835 -5.0726588163525)'), GeomFromEWKT('SRID=4674;POINT (-36.322606746107 -5.0722866598517)'))) / (select extract(epoch from '2026-07-22 03:15:25'::timestamp) - extract(epoch from '2026-07-22 03:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322284042835 -5.0726588163525)'), GeomFromEWKT('SRID=4674;POINT (-36.322606746107 -5.0722866598517)'))) / (select extract(epoch from '2026-07-22 03:15:25'::timestamp) - extract(epoch from '2026-07-22 03:01: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'), 47682, 'SRID=4674;POINT (-36.322722835466 -5.0721328519285)', '2026-07-22 03:15:33', 16.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322606746107 -5.0722866598517)'), GeomFromEWKT('SRID=4674;POINT (-36.322722835466 -5.0721328519285)'))) / (select extract(epoch from '2026-07-22 03:15:33'::timestamp) - extract(epoch from '2026-07-22 03:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322606746107 -5.0722866598517)'), GeomFromEWKT('SRID=4674;POINT (-36.322722835466 -5.0721328519285)'))) / (select extract(epoch from '2026-07-22 03:15:33'::timestamp) - extract(epoch from '2026-07-22 03:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.322825262323 -5.071988767013)', '2026-07-22 03:15:38', 10.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322722835466 -5.0721328519285)'), GeomFromEWKT('SRID=4674;POINT (-36.322825262323 -5.071988767013)'))) / (select extract(epoch from '2026-07-22 03:15:38'::timestamp) - extract(epoch from '2026-07-22 03:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322722835466 -5.0721328519285)'), GeomFromEWKT('SRID=4674;POINT (-36.322825262323 -5.071988767013)'))) / (select extract(epoch from '2026-07-22 03:15:38'::timestamp) - extract(epoch from '2026-07-22 03:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47682, 'SRID=4674;POINT (-36.322867590934 -5.0719467736781)', '2026-07-22 03:15:46', 15.599975585938, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322825262323 -5.071988767013)'), GeomFromEWKT('SRID=4674;POINT (-36.322867590934 -5.0719467736781)'))) / (select extract(epoch from '2026-07-22 03:15:46'::timestamp) - extract(epoch from '2026-07-22 03:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.322825262323 -5.071988767013)'), GeomFromEWKT('SRID=4674;POINT (-36.322867590934 -5.0719467736781)'))) / (select extract(epoch from '2026-07-22 03:15:46'::timestamp) - extract(epoch from '2026-07-22 03:15:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
