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'), 47356, 'SRID=4674;POINT (-36.357880141586 -5.0794340763241)', '2026-07-14 02:53:30', 4.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'), 47356, 'SRID=4674;POINT (-36.358028585091 -5.0794638320804)', '2026-07-14 02:53:37', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.357880141586 -5.0794340763241)'), GeomFromEWKT('SRID=4674;POINT (-36.358028585091 -5.0794638320804)'))) / (select extract(epoch from '2026-07-14 02:53:37'::timestamp) - extract(epoch from '2026-07-14 02:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.357880141586 -5.0794340763241)'), GeomFromEWKT('SRID=4674;POINT (-36.358028585091 -5.0794638320804)'))) / (select extract(epoch from '2026-07-14 02:53:37'::timestamp) - extract(epoch from '2026-07-14 02:53: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'), 47356, 'SRID=4674;POINT (-36.358159342781 -5.0795125309378)', '2026-07-14 02:53:43', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358028585091 -5.0794638320804)'), GeomFromEWKT('SRID=4674;POINT (-36.358159342781 -5.0795125309378)'))) / (select extract(epoch from '2026-07-14 02:53:43'::timestamp) - extract(epoch from '2026-07-14 02:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358028585091 -5.0794638320804)'), GeomFromEWKT('SRID=4674;POINT (-36.358159342781 -5.0795125309378)'))) / (select extract(epoch from '2026-07-14 02:53:43'::timestamp) - extract(epoch from '2026-07-14 02:53: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'), 47356, 'SRID=4674;POINT (-36.358274174854 -5.0794957671314)', '2026-07-14 02:53:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358159342781 -5.0795125309378)'), GeomFromEWKT('SRID=4674;POINT (-36.358274174854 -5.0794957671314)'))) / (select extract(epoch from '2026-07-14 02:53:49'::timestamp) - extract(epoch from '2026-07-14 02:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358159342781 -5.0795125309378)'), GeomFromEWKT('SRID=4674;POINT (-36.358274174854 -5.0794957671314)'))) / (select extract(epoch from '2026-07-14 02:53:49'::timestamp) - extract(epoch from '2026-07-14 02:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.358381630853 -5.0794307235628)', '2026-07-14 02:53:55', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358274174854 -5.0794957671314)'), GeomFromEWKT('SRID=4674;POINT (-36.358381630853 -5.0794307235628)'))) / (select extract(epoch from '2026-07-14 02:53:55'::timestamp) - extract(epoch from '2026-07-14 02:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358274174854 -5.0794957671314)'), GeomFromEWKT('SRID=4674;POINT (-36.358381630853 -5.0794307235628)'))) / (select extract(epoch from '2026-07-14 02:53:55'::timestamp) - extract(epoch from '2026-07-14 02:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.358455140144 -5.0793339964002)', '2026-07-14 02:54:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358381630853 -5.0794307235628)'), GeomFromEWKT('SRID=4674;POINT (-36.358455140144 -5.0793339964002)'))) / (select extract(epoch from '2026-07-14 02:54:01'::timestamp) - extract(epoch from '2026-07-14 02:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358381630853 -5.0794307235628)'), GeomFromEWKT('SRID=4674;POINT (-36.358455140144 -5.0793339964002)'))) / (select extract(epoch from '2026-07-14 02:54:01'::timestamp) - extract(epoch from '2026-07-14 02:53: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'), 47356, 'SRID=4674;POINT (-36.358490176499 -5.0791965331882)', '2026-07-14 02:54:08', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358455140144 -5.0793339964002)'), GeomFromEWKT('SRID=4674;POINT (-36.358490176499 -5.0791965331882)'))) / (select extract(epoch from '2026-07-14 02:54:08'::timestamp) - extract(epoch from '2026-07-14 02:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358455140144 -5.0793339964002)'), GeomFromEWKT('SRID=4674;POINT (-36.358490176499 -5.0791965331882)'))) / (select extract(epoch from '2026-07-14 02:54:08'::timestamp) - extract(epoch from '2026-07-14 02:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.358539126813 -5.0790299847722)', '2026-07-14 02:54:16', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358490176499 -5.0791965331882)'), GeomFromEWKT('SRID=4674;POINT (-36.358539126813 -5.0790299847722)'))) / (select extract(epoch from '2026-07-14 02:54:16'::timestamp) - extract(epoch from '2026-07-14 02:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358490176499 -5.0791965331882)'), GeomFromEWKT('SRID=4674;POINT (-36.358539126813 -5.0790299847722)'))) / (select extract(epoch from '2026-07-14 02:54:16'::timestamp) - extract(epoch from '2026-07-14 02:54:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.35856536217 -5.0788977183402)', '2026-07-14 02:54:22', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358539126813 -5.0790299847722)'), GeomFromEWKT('SRID=4674;POINT (-36.35856536217 -5.0788977183402)'))) / (select extract(epoch from '2026-07-14 02:54:22'::timestamp) - extract(epoch from '2026-07-14 02:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358539126813 -5.0790299847722)'), GeomFromEWKT('SRID=4674;POINT (-36.35856536217 -5.0788977183402)'))) / (select extract(epoch from '2026-07-14 02:54:22'::timestamp) - extract(epoch from '2026-07-14 02:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.358617581427 -5.0787979736924)', '2026-07-14 02:54:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.35856536217 -5.0788977183402)'), GeomFromEWKT('SRID=4674;POINT (-36.358617581427 -5.0787979736924)'))) / (select extract(epoch from '2026-07-14 02:54:27'::timestamp) - extract(epoch from '2026-07-14 02:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.35856536217 -5.0788977183402)'), GeomFromEWKT('SRID=4674;POINT (-36.358617581427 -5.0787979736924)'))) / (select extract(epoch from '2026-07-14 02:54:27'::timestamp) - extract(epoch from '2026-07-14 02:54: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'), 47356, 'SRID=4674;POINT (-36.35870735161 -5.0786971393973)', '2026-07-14 02:54:33', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358617581427 -5.0787979736924)'), GeomFromEWKT('SRID=4674;POINT (-36.35870735161 -5.0786971393973)'))) / (select extract(epoch from '2026-07-14 02:54:33'::timestamp) - extract(epoch from '2026-07-14 02:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358617581427 -5.0787979736924)'), GeomFromEWKT('SRID=4674;POINT (-36.35870735161 -5.0786971393973)'))) / (select extract(epoch from '2026-07-14 02:54:33'::timestamp) - extract(epoch from '2026-07-14 02:54: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'), 47356, 'SRID=4674;POINT (-36.358728557825 -5.0786861591041)', '2026-07-14 02:54:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.35870735161 -5.0786971393973)'), GeomFromEWKT('SRID=4674;POINT (-36.358728557825 -5.0786861591041)'))) / (select extract(epoch from '2026-07-14 02:54:34'::timestamp) - extract(epoch from '2026-07-14 02:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.35870735161 -5.0786971393973)'), GeomFromEWKT('SRID=4674;POINT (-36.358728557825 -5.0786861591041)'))) / (select extract(epoch from '2026-07-14 02:54:34'::timestamp) - extract(epoch from '2026-07-14 02:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.358843892813 -5.0786285754293)', '2026-07-14 02:54:40', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358728557825 -5.0786861591041)'), GeomFromEWKT('SRID=4674;POINT (-36.358843892813 -5.0786285754293)'))) / (select extract(epoch from '2026-07-14 02:54:40'::timestamp) - extract(epoch from '2026-07-14 02:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358728557825 -5.0786861591041)'), GeomFromEWKT('SRID=4674;POINT (-36.358843892813 -5.0786285754293)'))) / (select extract(epoch from '2026-07-14 02:54:40'::timestamp) - extract(epoch from '2026-07-14 02:54: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'), 47356, 'SRID=4674;POINT (-36.358932992443 -5.0785698182881)', '2026-07-14 02:54:45', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358843892813 -5.0786285754293)'), GeomFromEWKT('SRID=4674;POINT (-36.358932992443 -5.0785698182881)'))) / (select extract(epoch from '2026-07-14 02:54:45'::timestamp) - extract(epoch from '2026-07-14 02:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358843892813 -5.0786285754293)'), GeomFromEWKT('SRID=4674;POINT (-36.358932992443 -5.0785698182881)'))) / (select extract(epoch from '2026-07-14 02:54:45'::timestamp) - extract(epoch from '2026-07-14 02:54: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'), 47356, 'SRID=4674;POINT (-36.359047321603 -5.078463787213)', '2026-07-14 02:54:52', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358932992443 -5.0785698182881)'), GeomFromEWKT('SRID=4674;POINT (-36.359047321603 -5.078463787213)'))) / (select extract(epoch from '2026-07-14 02:54:52'::timestamp) - extract(epoch from '2026-07-14 02:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.358932992443 -5.0785698182881)'), GeomFromEWKT('SRID=4674;POINT (-36.359047321603 -5.078463787213)'))) / (select extract(epoch from '2026-07-14 02:54:52'::timestamp) - extract(epoch from '2026-07-14 02:54: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'), 47356, 'SRID=4674;POINT (-36.359166763723 -5.0783326942474)', '2026-07-14 02:55:00', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359047321603 -5.078463787213)'), GeomFromEWKT('SRID=4674;POINT (-36.359166763723 -5.0783326942474)'))) / (select extract(epoch from '2026-07-14 02:55:00'::timestamp) - extract(epoch from '2026-07-14 02:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359047321603 -5.078463787213)'), GeomFromEWKT('SRID=4674;POINT (-36.359166763723 -5.0783326942474)'))) / (select extract(epoch from '2026-07-14 02:55:00'::timestamp) - extract(epoch from '2026-07-14 02:54:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.359269693494 -5.0781700853258)', '2026-07-14 02:55:09', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359166763723 -5.0783326942474)'), GeomFromEWKT('SRID=4674;POINT (-36.359269693494 -5.0781700853258)'))) / (select extract(epoch from '2026-07-14 02:55:09'::timestamp) - extract(epoch from '2026-07-14 02:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359166763723 -5.0783326942474)'), GeomFromEWKT('SRID=4674;POINT (-36.359269693494 -5.0781700853258)'))) / (select extract(epoch from '2026-07-14 02:55:09'::timestamp) - extract(epoch from '2026-07-14 02:55:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.359345968813 -5.0780445244163)', '2026-07-14 02:55:16', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359269693494 -5.0781700853258)'), GeomFromEWKT('SRID=4674;POINT (-36.359345968813 -5.0780445244163)'))) / (select extract(epoch from '2026-07-14 02:55:16'::timestamp) - extract(epoch from '2026-07-14 02:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359269693494 -5.0781700853258)'), GeomFromEWKT('SRID=4674;POINT (-36.359345968813 -5.0780445244163)'))) / (select extract(epoch from '2026-07-14 02:55:16'::timestamp) - extract(epoch from '2026-07-14 02:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.359406737611 -5.0778829213232)', '2026-07-14 02:55:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359345968813 -5.0780445244163)'), GeomFromEWKT('SRID=4674;POINT (-36.359406737611 -5.0778829213232)'))) / (select extract(epoch from '2026-07-14 02:55:24'::timestamp) - extract(epoch from '2026-07-14 02:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359345968813 -5.0780445244163)'), GeomFromEWKT('SRID=4674;POINT (-36.359406737611 -5.0778829213232)'))) / (select extract(epoch from '2026-07-14 02:55:24'::timestamp) - extract(epoch from '2026-07-14 02:55: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'), 47356, 'SRID=4674;POINT (-36.359459040686 -5.0776909757406)', '2026-07-14 02:55:33', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359406737611 -5.0778829213232)'), GeomFromEWKT('SRID=4674;POINT (-36.359459040686 -5.0776909757406)'))) / (select extract(epoch from '2026-07-14 02:55:33'::timestamp) - extract(epoch from '2026-07-14 02:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359406737611 -5.0778829213232)'), GeomFromEWKT('SRID=4674;POINT (-36.359459040686 -5.0776909757406)'))) / (select extract(epoch from '2026-07-14 02:55:33'::timestamp) - extract(epoch from '2026-07-14 02:55:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.359496926889 -5.0775480642915)', '2026-07-14 02:55:40', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359459040686 -5.0776909757406)'), GeomFromEWKT('SRID=4674;POINT (-36.359496926889 -5.0775480642915)'))) / (select extract(epoch from '2026-07-14 02:55:40'::timestamp) - extract(epoch from '2026-07-14 02:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359459040686 -5.0776909757406)'), GeomFromEWKT('SRID=4674;POINT (-36.359496926889 -5.0775480642915)'))) / (select extract(epoch from '2026-07-14 02:55:40'::timestamp) - extract(epoch from '2026-07-14 02:55:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.35954093188 -5.0774303823709)', '2026-07-14 02:55:46', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359496926889 -5.0775480642915)'), GeomFromEWKT('SRID=4674;POINT (-36.35954093188 -5.0774303823709)'))) / (select extract(epoch from '2026-07-14 02:55:46'::timestamp) - extract(epoch from '2026-07-14 02:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359496926889 -5.0775480642915)'), GeomFromEWKT('SRID=4674;POINT (-36.35954093188 -5.0774303823709)'))) / (select extract(epoch from '2026-07-14 02:55:46'::timestamp) - extract(epoch from '2026-07-14 02: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'), 47356, 'SRID=4674;POINT (-36.359615866095 -5.0773283746094)', '2026-07-14 02:55:52', 4.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.35954093188 -5.0774303823709)'), GeomFromEWKT('SRID=4674;POINT (-36.359615866095 -5.0773283746094)'))) / (select extract(epoch from '2026-07-14 02:55:52'::timestamp) - extract(epoch from '2026-07-14 02:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.35954093188 -5.0774303823709)'), GeomFromEWKT('SRID=4674;POINT (-36.359615866095 -5.0773283746094)'))) / (select extract(epoch from '2026-07-14 02:55:52'::timestamp) - extract(epoch from '2026-07-14 02:55: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'), 47356, 'SRID=4674;POINT (-36.359703373164 -5.077205998823)', '2026-07-14 02:55:59', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359615866095 -5.0773283746094)'), GeomFromEWKT('SRID=4674;POINT (-36.359703373164 -5.077205998823)'))) / (select extract(epoch from '2026-07-14 02:55:59'::timestamp) - extract(epoch from '2026-07-14 02:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359615866095 -5.0773283746094)'), GeomFromEWKT('SRID=4674;POINT (-36.359703373164 -5.077205998823)'))) / (select extract(epoch from '2026-07-14 02:55:59'::timestamp) - extract(epoch from '2026-07-14 02:55:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.359764980152 -5.0770952738822)', '2026-07-14 02:56:05', 5.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359703373164 -5.077205998823)'), GeomFromEWKT('SRID=4674;POINT (-36.359764980152 -5.0770952738822)'))) / (select extract(epoch from '2026-07-14 02:56:05'::timestamp) - extract(epoch from '2026-07-14 02:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359703373164 -5.077205998823)'), GeomFromEWKT('SRID=4674;POINT (-36.359764980152 -5.0770952738822)'))) / (select extract(epoch from '2026-07-14 02:56:05'::timestamp) - extract(epoch from '2026-07-14 02:55:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.359849721193 -5.0769422203302)', '2026-07-14 02:56:13', 5.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359764980152 -5.0770952738822)'), GeomFromEWKT('SRID=4674;POINT (-36.359849721193 -5.0769422203302)'))) / (select extract(epoch from '2026-07-14 02:56:13'::timestamp) - extract(epoch from '2026-07-14 02:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359764980152 -5.0770952738822)'), GeomFromEWKT('SRID=4674;POINT (-36.359849721193 -5.0769422203302)'))) / (select extract(epoch from '2026-07-14 02:56:13'::timestamp) - extract(epoch from '2026-07-14 02:56:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.359913926572 -5.0768108759075)', '2026-07-14 02:56:20', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359849721193 -5.0769422203302)'), GeomFromEWKT('SRID=4674;POINT (-36.359913926572 -5.0768108759075)'))) / (select extract(epoch from '2026-07-14 02:56:20'::timestamp) - extract(epoch from '2026-07-14 02:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359849721193 -5.0769422203302)'), GeomFromEWKT('SRID=4674;POINT (-36.359913926572 -5.0768108759075)'))) / (select extract(epoch from '2026-07-14 02:56:20'::timestamp) - extract(epoch from '2026-07-14 02:56: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'), 47356, 'SRID=4674;POINT (-36.359991878271 -5.0766907632351)', '2026-07-14 02:56:27', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359913926572 -5.0768108759075)'), GeomFromEWKT('SRID=4674;POINT (-36.359991878271 -5.0766907632351)'))) / (select extract(epoch from '2026-07-14 02:56:27'::timestamp) - extract(epoch from '2026-07-14 02:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359913926572 -5.0768108759075)'), GeomFromEWKT('SRID=4674;POINT (-36.359991878271 -5.0766907632351)'))) / (select extract(epoch from '2026-07-14 02:56:27'::timestamp) - extract(epoch from '2026-07-14 02:56: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'), 47356, 'SRID=4674;POINT (-36.360072093084 -5.0765940360725)', '2026-07-14 02:56:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359991878271 -5.0766907632351)'), GeomFromEWKT('SRID=4674;POINT (-36.360072093084 -5.0765940360725)'))) / (select extract(epoch from '2026-07-14 02:56:33'::timestamp) - extract(epoch from '2026-07-14 02:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.359991878271 -5.0766907632351)'), GeomFromEWKT('SRID=4674;POINT (-36.360072093084 -5.0765940360725)'))) / (select extract(epoch from '2026-07-14 02:56:33'::timestamp) - extract(epoch from '2026-07-14 02:56:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.360167898238 -5.0765111390501)', '2026-07-14 02:56:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360072093084 -5.0765940360725)'), GeomFromEWKT('SRID=4674;POINT (-36.360167898238 -5.0765111390501)'))) / (select extract(epoch from '2026-07-14 02:56:39'::timestamp) - extract(epoch from '2026-07-14 02:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360072093084 -5.0765940360725)'), GeomFromEWKT('SRID=4674;POINT (-36.360167898238 -5.0765111390501)'))) / (select extract(epoch from '2026-07-14 02:56:39'::timestamp) - extract(epoch from '2026-07-14 02:56: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'), 47356, 'SRID=4674;POINT (-36.360263535753 -5.0764317624271)', '2026-07-14 02:56:45', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360167898238 -5.0765111390501)'), GeomFromEWKT('SRID=4674;POINT (-36.360263535753 -5.0764317624271)'))) / (select extract(epoch from '2026-07-14 02:56:45'::timestamp) - extract(epoch from '2026-07-14 02:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360167898238 -5.0765111390501)'), GeomFromEWKT('SRID=4674;POINT (-36.360263535753 -5.0764317624271)'))) / (select extract(epoch from '2026-07-14 02:56:45'::timestamp) - extract(epoch from '2026-07-14 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'), 47356, 'SRID=4674;POINT (-36.360348192975 -5.0763385556638)', '2026-07-14 02:56:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360263535753 -5.0764317624271)'), GeomFromEWKT('SRID=4674;POINT (-36.360348192975 -5.0763385556638)'))) / (select extract(epoch from '2026-07-14 02:56:51'::timestamp) - extract(epoch from '2026-07-14 02:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360263535753 -5.0764317624271)'), GeomFromEWKT('SRID=4674;POINT (-36.360348192975 -5.0763385556638)'))) / (select extract(epoch from '2026-07-14 02:56:51'::timestamp) - extract(epoch from '2026-07-14 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'), 47356, 'SRID=4674;POINT (-36.360429665074 -5.0762240588665)', '2026-07-14 02:56:58', 5.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360348192975 -5.0763385556638)'), GeomFromEWKT('SRID=4674;POINT (-36.360429665074 -5.0762240588665)'))) / (select extract(epoch from '2026-07-14 02:56:58'::timestamp) - extract(epoch from '2026-07-14 02:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360348192975 -5.0763385556638)'), GeomFromEWKT('SRID=4674;POINT (-36.360429665074 -5.0762240588665)'))) / (select extract(epoch from '2026-07-14 02:56:58'::timestamp) - extract(epoch from '2026-07-14 02:56: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'), 47356, 'SRID=4674;POINT (-36.360492864624 -5.0760943908244)', '2026-07-14 02:57:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360429665074 -5.0762240588665)'), GeomFromEWKT('SRID=4674;POINT (-36.360492864624 -5.0760943908244)'))) / (select extract(epoch from '2026-07-14 02:57:05'::timestamp) - extract(epoch from '2026-07-14 02:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360429665074 -5.0762240588665)'), GeomFromEWKT('SRID=4674;POINT (-36.360492864624 -5.0760943908244)'))) / (select extract(epoch from '2026-07-14 02:57:05'::timestamp) - extract(epoch from '2026-07-14 02:56: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'), 47356, 'SRID=4674;POINT (-36.360546760261 -5.0759759545326)', '2026-07-14 02:57:11', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360492864624 -5.0760943908244)'), GeomFromEWKT('SRID=4674;POINT (-36.360546760261 -5.0759759545326)'))) / (select extract(epoch from '2026-07-14 02:57:11'::timestamp) - extract(epoch from '2026-07-14 02:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360492864624 -5.0760943908244)'), GeomFromEWKT('SRID=4674;POINT (-36.360546760261 -5.0759759545326)'))) / (select extract(epoch from '2026-07-14 02:57:11'::timestamp) - extract(epoch from '2026-07-14 02:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.360605768859 -5.0758427660912)', '2026-07-14 02:57:18', 5.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360546760261 -5.0759759545326)'), GeomFromEWKT('SRID=4674;POINT (-36.360605768859 -5.0758427660912)'))) / (select extract(epoch from '2026-07-14 02:57:18'::timestamp) - extract(epoch from '2026-07-14 02:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360546760261 -5.0759759545326)'), GeomFromEWKT('SRID=4674;POINT (-36.360605768859 -5.0758427660912)'))) / (select extract(epoch from '2026-07-14 02:57:18'::timestamp) - extract(epoch from '2026-07-14 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'), 47356, 'SRID=4674;POINT (-36.36063166894 -5.0758079811931)', '2026-07-14 02:57:20', 6.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360605768859 -5.0758427660912)'), GeomFromEWKT('SRID=4674;POINT (-36.36063166894 -5.0758079811931)'))) / (select extract(epoch from '2026-07-14 02:57:20'::timestamp) - extract(epoch from '2026-07-14 02:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360605768859 -5.0758427660912)'), GeomFromEWKT('SRID=4674;POINT (-36.36063166894 -5.0758079811931)'))) / (select extract(epoch from '2026-07-14 02:57:20'::timestamp) - extract(epoch from '2026-07-14 02:57: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'), 47356, 'SRID=4674;POINT (-36.360653461888 -5.075770933181)', '2026-07-14 02:57:22', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.36063166894 -5.0758079811931)'), GeomFromEWKT('SRID=4674;POINT (-36.360653461888 -5.075770933181)'))) / (select extract(epoch from '2026-07-14 02:57:22'::timestamp) - extract(epoch from '2026-07-14 02:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.36063166894 -5.0758079811931)'), GeomFromEWKT('SRID=4674;POINT (-36.360653461888 -5.075770933181)'))) / (select extract(epoch from '2026-07-14 02:57:22'::timestamp) - extract(epoch from '2026-07-14 02:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.360730323941 -5.075675630942)', '2026-07-14 02:57:28', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360653461888 -5.075770933181)'), GeomFromEWKT('SRID=4674;POINT (-36.360730323941 -5.075675630942)'))) / (select extract(epoch from '2026-07-14 02:57:28'::timestamp) - extract(epoch from '2026-07-14 02:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360653461888 -5.075770933181)'), GeomFromEWKT('SRID=4674;POINT (-36.360730323941 -5.075675630942)'))) / (select extract(epoch from '2026-07-14 02:57:28'::timestamp) - extract(epoch from '2026-07-14 02: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'), 47356, 'SRID=4674;POINT (-36.36080224067 -5.0755640678108)', '2026-07-14 02:57:35', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360730323941 -5.075675630942)'), GeomFromEWKT('SRID=4674;POINT (-36.36080224067 -5.0755640678108)'))) / (select extract(epoch from '2026-07-14 02:57:35'::timestamp) - extract(epoch from '2026-07-14 02:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360730323941 -5.075675630942)'), GeomFromEWKT('SRID=4674;POINT (-36.36080224067 -5.0755640678108)'))) / (select extract(epoch from '2026-07-14 02:57:35'::timestamp) - extract(epoch from '2026-07-14 02:57: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'), 47356, 'SRID=4674;POINT (-36.360877929255 -5.0754622276872)', '2026-07-14 02:57:42', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.36080224067 -5.0755640678108)'), GeomFromEWKT('SRID=4674;POINT (-36.360877929255 -5.0754622276872)'))) / (select extract(epoch from '2026-07-14 02:57:42'::timestamp) - extract(epoch from '2026-07-14 02:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.36080224067 -5.0755640678108)'), GeomFromEWKT('SRID=4674;POINT (-36.360877929255 -5.0754622276872)'))) / (select extract(epoch from '2026-07-14 02:57:42'::timestamp) - extract(epoch from '2026-07-14 02:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.360916988924 -5.0753657519817)', '2026-07-14 02:57:48', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360877929255 -5.0754622276872)'), GeomFromEWKT('SRID=4674;POINT (-36.360916988924 -5.0753657519817)'))) / (select extract(epoch from '2026-07-14 02:57:48'::timestamp) - extract(epoch from '2026-07-14 02:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360877929255 -5.0754622276872)'), GeomFromEWKT('SRID=4674;POINT (-36.360916988924 -5.0753657519817)'))) / (select extract(epoch from '2026-07-14 02:57:48'::timestamp) - extract(epoch from '2026-07-14 02:57: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'), 47356, 'SRID=4674;POINT (-36.360938446596 -5.0752310547978)', '2026-07-14 02:57:56', 6.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360916988924 -5.0753657519817)'), GeomFromEWKT('SRID=4674;POINT (-36.360938446596 -5.0752310547978)'))) / (select extract(epoch from '2026-07-14 02:57:56'::timestamp) - extract(epoch from '2026-07-14 02:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360916988924 -5.0753657519817)'), GeomFromEWKT('SRID=4674;POINT (-36.360938446596 -5.0752310547978)'))) / (select extract(epoch from '2026-07-14 02:57:56'::timestamp) - extract(epoch from '2026-07-14 02:57: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'), 47356, 'SRID=4674;POINT (-36.360960993916 -5.075144469738)', '2026-07-14 02:58:01', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360938446596 -5.0752310547978)'), GeomFromEWKT('SRID=4674;POINT (-36.360960993916 -5.075144469738)'))) / (select extract(epoch from '2026-07-14 02:58:01'::timestamp) - extract(epoch from '2026-07-14 02:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360938446596 -5.0752310547978)'), GeomFromEWKT('SRID=4674;POINT (-36.360960993916 -5.075144469738)'))) / (select extract(epoch from '2026-07-14 02:58:01'::timestamp) - extract(epoch from '2026-07-14 02:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.360966777429 -5.0751110259444)', '2026-07-14 02:58:03', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360960993916 -5.075144469738)'), GeomFromEWKT('SRID=4674;POINT (-36.360966777429 -5.0751110259444)'))) / (select extract(epoch from '2026-07-14 02:58:03'::timestamp) - extract(epoch from '2026-07-14 02:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360960993916 -5.075144469738)'), GeomFromEWKT('SRID=4674;POINT (-36.360966777429 -5.0751110259444)'))) / (select extract(epoch from '2026-07-14 02:58:03'::timestamp) - extract(epoch from '2026-07-14 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'), 47356, 'SRID=4674;POINT (-36.360959317535 -5.0750733911991)', '2026-07-14 02:58:05', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360966777429 -5.0751110259444)'), GeomFromEWKT('SRID=4674;POINT (-36.360959317535 -5.0750733911991)'))) / (select extract(epoch from '2026-07-14 02:58:05'::timestamp) - extract(epoch from '2026-07-14 02:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360966777429 -5.0751110259444)'), GeomFromEWKT('SRID=4674;POINT (-36.360959317535 -5.0750733911991)'))) / (select extract(epoch from '2026-07-14 02:58:05'::timestamp) - extract(epoch from '2026-07-14 02:58: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'), 47356, 'SRID=4674;POINT (-36.360942637548 -5.0749424658716)', '2026-07-14 02:58:12', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360959317535 -5.0750733911991)'), GeomFromEWKT('SRID=4674;POINT (-36.360942637548 -5.0749424658716)'))) / (select extract(epoch from '2026-07-14 02:58:12'::timestamp) - extract(epoch from '2026-07-14 02:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360959317535 -5.0750733911991)'), GeomFromEWKT('SRID=4674;POINT (-36.360942637548 -5.0749424658716)'))) / (select extract(epoch from '2026-07-14 02:58:12'::timestamp) - extract(epoch from '2026-07-14 02:58:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.360976668075 -5.0748256221414)', '2026-07-14 02:58:18', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360942637548 -5.0749424658716)'), GeomFromEWKT('SRID=4674;POINT (-36.360976668075 -5.0748256221414)'))) / (select extract(epoch from '2026-07-14 02:58:18'::timestamp) - extract(epoch from '2026-07-14 02:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360942637548 -5.0749424658716)'), GeomFromEWKT('SRID=4674;POINT (-36.360976668075 -5.0748256221414)'))) / (select extract(epoch from '2026-07-14 02:58:18'::timestamp) - extract(epoch from '2026-07-14 02: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'), 47356, 'SRID=4674;POINT (-36.361040119082 -5.0746656954288)', '2026-07-14 02:58:26', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360976668075 -5.0748256221414)'), GeomFromEWKT('SRID=4674;POINT (-36.361040119082 -5.0746656954288)'))) / (select extract(epoch from '2026-07-14 02:58:26'::timestamp) - extract(epoch from '2026-07-14 02:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.360976668075 -5.0748256221414)'), GeomFromEWKT('SRID=4674;POINT (-36.361040119082 -5.0746656954288)'))) / (select extract(epoch from '2026-07-14 02:58:26'::timestamp) - extract(epoch from '2026-07-14 02:58: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'), 47356, 'SRID=4674;POINT (-36.361112287268 -5.0745008233935)', '2026-07-14 02:58:34', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361040119082 -5.0746656954288)'), GeomFromEWKT('SRID=4674;POINT (-36.361112287268 -5.0745008233935)'))) / (select extract(epoch from '2026-07-14 02:58:34'::timestamp) - extract(epoch from '2026-07-14 02:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361040119082 -5.0746656954288)'), GeomFromEWKT('SRID=4674;POINT (-36.361112287268 -5.0745008233935)'))) / (select extract(epoch from '2026-07-14 02:58:34'::timestamp) - extract(epoch from '2026-07-14 02:58: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'), 47356, 'SRID=4674;POINT (-36.361136259511 -5.0744457542896)', '2026-07-14 02:58:37', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361112287268 -5.0745008233935)'), GeomFromEWKT('SRID=4674;POINT (-36.361136259511 -5.0744457542896)'))) / (select extract(epoch from '2026-07-14 02:58:37'::timestamp) - extract(epoch from '2026-07-14 02:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361112287268 -5.0745008233935)'), GeomFromEWKT('SRID=4674;POINT (-36.361136259511 -5.0744457542896)'))) / (select extract(epoch from '2026-07-14 02:58:37'::timestamp) - extract(epoch from '2026-07-14 02:58: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'), 47356, 'SRID=4674;POINT (-36.361145647243 -5.0744082871825)', '2026-07-14 02:58:39', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361136259511 -5.0744457542896)'), GeomFromEWKT('SRID=4674;POINT (-36.361145647243 -5.0744082871825)'))) / (select extract(epoch from '2026-07-14 02:58:39'::timestamp) - extract(epoch from '2026-07-14 02:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361136259511 -5.0744457542896)'), GeomFromEWKT('SRID=4674;POINT (-36.361145647243 -5.0744082871825)'))) / (select extract(epoch from '2026-07-14 02:58:39'::timestamp) - extract(epoch from '2026-07-14 02: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'), 47356, 'SRID=4674;POINT (-36.361169787124 -5.0742677226663)', '2026-07-14 02:58:46', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361145647243 -5.0744082871825)'), GeomFromEWKT('SRID=4674;POINT (-36.361169787124 -5.0742677226663)'))) / (select extract(epoch from '2026-07-14 02:58:46'::timestamp) - extract(epoch from '2026-07-14 02:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361145647243 -5.0744082871825)'), GeomFromEWKT('SRID=4674;POINT (-36.361169787124 -5.0742677226663)'))) / (select extract(epoch from '2026-07-14 02:58:46'::timestamp) - extract(epoch from '2026-07-14 02:58: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'), 47356, 'SRID=4674;POINT (-36.361189736053 -5.0741493701935)', '2026-07-14 02:58:52', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361169787124 -5.0742677226663)'), GeomFromEWKT('SRID=4674;POINT (-36.361189736053 -5.0741493701935)'))) / (select extract(epoch from '2026-07-14 02:58:52'::timestamp) - extract(epoch from '2026-07-14 02:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361169787124 -5.0742677226663)'), GeomFromEWKT('SRID=4674;POINT (-36.361189736053 -5.0741493701935)'))) / (select extract(epoch from '2026-07-14 02:58:52'::timestamp) - extract(epoch from '2026-07-14 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'), 47356, 'SRID=4674;POINT (-36.361214127392 -5.0740099791437)', '2026-07-14 02:58:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361189736053 -5.0741493701935)'), GeomFromEWKT('SRID=4674;POINT (-36.361214127392 -5.0740099791437)'))) / (select extract(epoch from '2026-07-14 02:58:59'::timestamp) - extract(epoch from '2026-07-14 02:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361189736053 -5.0741493701935)'), GeomFromEWKT('SRID=4674;POINT (-36.361214127392 -5.0740099791437)'))) / (select extract(epoch from '2026-07-14 02:58:59'::timestamp) - extract(epoch from '2026-07-14 02:58:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.361237680539 -5.0739005953074)', '2026-07-14 02:59:05', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361214127392 -5.0740099791437)'), GeomFromEWKT('SRID=4674;POINT (-36.361237680539 -5.0739005953074)'))) / (select extract(epoch from '2026-07-14 02:59:05'::timestamp) - extract(epoch from '2026-07-14 02:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361214127392 -5.0740099791437)'), GeomFromEWKT('SRID=4674;POINT (-36.361237680539 -5.0739005953074)'))) / (select extract(epoch from '2026-07-14 02:59:05'::timestamp) - extract(epoch from '2026-07-14 02:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.361262071878 -5.0737547501922)', '2026-07-14 02:59:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361237680539 -5.0739005953074)'), GeomFromEWKT('SRID=4674;POINT (-36.361262071878 -5.0737547501922)'))) / (select extract(epoch from '2026-07-14 02:59:13'::timestamp) - extract(epoch from '2026-07-14 02:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361237680539 -5.0739005953074)'), GeomFromEWKT('SRID=4674;POINT (-36.361262071878 -5.0737547501922)'))) / (select extract(epoch from '2026-07-14 02:59:13'::timestamp) - extract(epoch from '2026-07-14 02:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.361275063828 -5.0736439414322)', '2026-07-14 02:59:19', 6.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361262071878 -5.0737547501922)'), GeomFromEWKT('SRID=4674;POINT (-36.361275063828 -5.0736439414322)'))) / (select extract(epoch from '2026-07-14 02:59:19'::timestamp) - extract(epoch from '2026-07-14 02:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361262071878 -5.0737547501922)'), GeomFromEWKT('SRID=4674;POINT (-36.361275063828 -5.0736439414322)'))) / (select extract(epoch from '2026-07-14 02:59:19'::timestamp) - extract(epoch from '2026-07-14 02:59: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'), 47356, 'SRID=4674;POINT (-36.361278165132 -5.0736255850643)', '2026-07-14 02:59:20', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361275063828 -5.0736439414322)'), GeomFromEWKT('SRID=4674;POINT (-36.361278165132 -5.0736255850643)'))) / (select extract(epoch from '2026-07-14 02:59:20'::timestamp) - extract(epoch from '2026-07-14 02:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361275063828 -5.0736439414322)'), GeomFromEWKT('SRID=4674;POINT (-36.361278165132 -5.0736255850643)'))) / (select extract(epoch from '2026-07-14 02:59:20'::timestamp) - extract(epoch from '2026-07-14 02:59: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'), 47356, 'SRID=4674;POINT (-36.361293168738 -5.0735527463257)', '2026-07-14 02:59:24', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361278165132 -5.0736255850643)'), GeomFromEWKT('SRID=4674;POINT (-36.361293168738 -5.0735527463257)'))) / (select extract(epoch from '2026-07-14 02:59:24'::timestamp) - extract(epoch from '2026-07-14 02:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361278165132 -5.0736255850643)'), GeomFromEWKT('SRID=4674;POINT (-36.361293168738 -5.0735527463257)'))) / (select extract(epoch from '2026-07-14 02:59:24'::timestamp) - extract(epoch from '2026-07-14 02: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'), 47356, 'SRID=4674;POINT (-36.361328121275 -5.0734499841928)', '2026-07-14 02:59:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361293168738 -5.0735527463257)'), GeomFromEWKT('SRID=4674;POINT (-36.361328121275 -5.0734499841928)'))) / (select extract(epoch from '2026-07-14 02:59:30'::timestamp) - extract(epoch from '2026-07-14 02:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361293168738 -5.0735527463257)'), GeomFromEWKT('SRID=4674;POINT (-36.361328121275 -5.0734499841928)'))) / (select extract(epoch from '2026-07-14 02:59:30'::timestamp) - extract(epoch from '2026-07-14 02:59:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.361350752413 -5.0733310449868)', '2026-07-14 02:59:37', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361328121275 -5.0734499841928)'), GeomFromEWKT('SRID=4674;POINT (-36.361350752413 -5.0733310449868)'))) / (select extract(epoch from '2026-07-14 02:59:37'::timestamp) - extract(epoch from '2026-07-14 02:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361328121275 -5.0734499841928)'), GeomFromEWKT('SRID=4674;POINT (-36.361350752413 -5.0733310449868)'))) / (select extract(epoch from '2026-07-14 02:59:37'::timestamp) - extract(epoch from '2026-07-14 02:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.361367180943 -5.0732263550162)', '2026-07-14 02:59:43', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361350752413 -5.0733310449868)'), GeomFromEWKT('SRID=4674;POINT (-36.361367180943 -5.0732263550162)'))) / (select extract(epoch from '2026-07-14 02:59:43'::timestamp) - extract(epoch from '2026-07-14 02:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361350752413 -5.0733310449868)'), GeomFromEWKT('SRID=4674;POINT (-36.361367180943 -5.0732263550162)'))) / (select extract(epoch from '2026-07-14 02:59:43'::timestamp) - extract(epoch from '2026-07-14 02:59: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'), 47356, 'SRID=4674;POINT (-36.361383860931 -5.0731725431979)', '2026-07-14 02:59:48', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361367180943 -5.0732263550162)'), GeomFromEWKT('SRID=4674;POINT (-36.361383860931 -5.0731725431979)'))) / (select extract(epoch from '2026-07-14 02:59:48'::timestamp) - extract(epoch from '2026-07-14 02:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361367180943 -5.0732263550162)'), GeomFromEWKT('SRID=4674;POINT (-36.361383860931 -5.0731725431979)'))) / (select extract(epoch from '2026-07-14 02:59:48'::timestamp) - extract(epoch from '2026-07-14 02:59:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.361389057711 -5.0731572881341)', '2026-07-14 02:59:50', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361383860931 -5.0731725431979)'), GeomFromEWKT('SRID=4674;POINT (-36.361389057711 -5.0731572881341)'))) / (select extract(epoch from '2026-07-14 02:59:50'::timestamp) - extract(epoch from '2026-07-14 02:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361383860931 -5.0731725431979)'), GeomFromEWKT('SRID=4674;POINT (-36.361389057711 -5.0731572881341)'))) / (select extract(epoch from '2026-07-14 02:59:50'::timestamp) - extract(epoch from '2026-07-14 02:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.361408587545 -5.0731195695698)', '2026-07-14 02:59:57', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361389057711 -5.0731572881341)'), GeomFromEWKT('SRID=4674;POINT (-36.361408587545 -5.0731195695698)'))) / (select extract(epoch from '2026-07-14 02:59:57'::timestamp) - extract(epoch from '2026-07-14 02:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361389057711 -5.0731572881341)'), GeomFromEWKT('SRID=4674;POINT (-36.361408587545 -5.0731195695698)'))) / (select extract(epoch from '2026-07-14 02:59:57'::timestamp) - extract(epoch from '2026-07-14 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'), 47356, 'SRID=4674;POINT (-36.361429877579 -5.0730899814516)', '2026-07-14 03:00:05', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361408587545 -5.0731195695698)'), GeomFromEWKT('SRID=4674;POINT (-36.361429877579 -5.0730899814516)'))) / (select extract(epoch from '2026-07-14 03:00:05'::timestamp) - extract(epoch from '2026-07-14 02:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361408587545 -5.0731195695698)'), GeomFromEWKT('SRID=4674;POINT (-36.361429877579 -5.0730899814516)'))) / (select extract(epoch from '2026-07-14 03:00:05'::timestamp) - extract(epoch from '2026-07-14 02:59: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'), 47356, 'SRID=4674;POINT (-36.361452089623 -5.0730669312179)', '2026-07-14 03:00:13', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361429877579 -5.0730899814516)'), GeomFromEWKT('SRID=4674;POINT (-36.361452089623 -5.0730669312179)'))) / (select extract(epoch from '2026-07-14 03:00:13'::timestamp) - extract(epoch from '2026-07-14 03:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361429877579 -5.0730899814516)'), GeomFromEWKT('SRID=4674;POINT (-36.361452089623 -5.0730669312179)'))) / (select extract(epoch from '2026-07-14 03:00:13'::timestamp) - extract(epoch from '2026-07-14 03:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47356, 'SRID=4674;POINT (-36.361463069916 -5.0730612315238)', '2026-07-14 03:00:17', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361452089623 -5.0730669312179)'), GeomFromEWKT('SRID=4674;POINT (-36.361463069916 -5.0730612315238)'))) / (select extract(epoch from '2026-07-14 03:00:17'::timestamp) - extract(epoch from '2026-07-14 03:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-36.361452089623 -5.0730669312179)'), GeomFromEWKT('SRID=4674;POINT (-36.361463069916 -5.0730612315238)'))) / (select extract(epoch from '2026-07-14 03:00:17'::timestamp) - extract(epoch from '2026-07-14 03:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
