 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.458813 -2.799489)', '2026-06-09 18:30:06', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458819 -2.79949)'), GeomFromEWKT('SRID=4674;POINT (-40.458813 -2.799489)'))) / (select extract(epoch from '2026-06-09 18:30:06'::timestamp) - extract(epoch from '2026-06-09 18:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458819 -2.79949)'), GeomFromEWKT('SRID=4674;POINT (-40.458813 -2.799489)'))) / (select extract(epoch from '2026-06-09 18:30:06'::timestamp) - extract(epoch from '2026-06-09 18:29: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'), 46728, 'SRID=4674;POINT (-40.458808 -2.799496)', '2026-06-09 18:30:15', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458813 -2.799489)'), GeomFromEWKT('SRID=4674;POINT (-40.458808 -2.799496)'))) / (select extract(epoch from '2026-06-09 18:30:15'::timestamp) - extract(epoch from '2026-06-09 18:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458813 -2.799489)'), GeomFromEWKT('SRID=4674;POINT (-40.458808 -2.799496)'))) / (select extract(epoch from '2026-06-09 18:30:15'::timestamp) - extract(epoch from '2026-06-09 18:30: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'), 46728, 'SRID=4674;POINT (-40.458808 -2.799508)', '2026-06-09 18:30:25', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458808 -2.799496)'), GeomFromEWKT('SRID=4674;POINT (-40.458808 -2.799508)'))) / (select extract(epoch from '2026-06-09 18:30:25'::timestamp) - extract(epoch from '2026-06-09 18:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458808 -2.799496)'), GeomFromEWKT('SRID=4674;POINT (-40.458808 -2.799508)'))) / (select extract(epoch from '2026-06-09 18:30:25'::timestamp) - extract(epoch from '2026-06-09 18:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.458803 -2.799513)', '2026-06-09 18:30:33', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458808 -2.799508)'), GeomFromEWKT('SRID=4674;POINT (-40.458803 -2.799513)'))) / (select extract(epoch from '2026-06-09 18:30:33'::timestamp) - extract(epoch from '2026-06-09 18:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458808 -2.799508)'), GeomFromEWKT('SRID=4674;POINT (-40.458803 -2.799513)'))) / (select extract(epoch from '2026-06-09 18:30:33'::timestamp) - extract(epoch from '2026-06-09 18:30: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'), 46728, 'SRID=4674;POINT (-40.458799 -2.799516)', '2026-06-09 18:30:41', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458803 -2.799513)'), GeomFromEWKT('SRID=4674;POINT (-40.458799 -2.799516)'))) / (select extract(epoch from '2026-06-09 18:30:41'::timestamp) - extract(epoch from '2026-06-09 18:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458803 -2.799513)'), GeomFromEWKT('SRID=4674;POINT (-40.458799 -2.799516)'))) / (select extract(epoch from '2026-06-09 18:30:41'::timestamp) - extract(epoch from '2026-06-09 18:30: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'), 46728, 'SRID=4674;POINT (-40.458799 -2.799516)', '2026-06-09 18:30:50', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458799 -2.799516)'), GeomFromEWKT('SRID=4674;POINT (-40.458799 -2.799516)'))) / (select extract(epoch from '2026-06-09 18:30:50'::timestamp) - extract(epoch from '2026-06-09 18:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458799 -2.799516)'), GeomFromEWKT('SRID=4674;POINT (-40.458799 -2.799516)'))) / (select extract(epoch from '2026-06-09 18:30:50'::timestamp) - extract(epoch from '2026-06-09 18:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.458796 -2.799516)', '2026-06-09 18:30:59', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458799 -2.799516)'), GeomFromEWKT('SRID=4674;POINT (-40.458796 -2.799516)'))) / (select extract(epoch from '2026-06-09 18:30:59'::timestamp) - extract(epoch from '2026-06-09 18:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458799 -2.799516)'), GeomFromEWKT('SRID=4674;POINT (-40.458796 -2.799516)'))) / (select extract(epoch from '2026-06-09 18:30:59'::timestamp) - extract(epoch from '2026-06-09 18:30: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'), 46728, 'SRID=4674;POINT (-40.458791 -2.799508)', '2026-06-09 18:31:07', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458796 -2.799516)'), GeomFromEWKT('SRID=4674;POINT (-40.458791 -2.799508)'))) / (select extract(epoch from '2026-06-09 18:31:07'::timestamp) - extract(epoch from '2026-06-09 18:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458796 -2.799516)'), GeomFromEWKT('SRID=4674;POINT (-40.458791 -2.799508)'))) / (select extract(epoch from '2026-06-09 18:31:07'::timestamp) - extract(epoch from '2026-06-09 18:30: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'), 46728, 'SRID=4674;POINT (-40.458754 -2.799507)', '2026-06-09 18:31:21', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458791 -2.799508)'), GeomFromEWKT('SRID=4674;POINT (-40.458754 -2.799507)'))) / (select extract(epoch from '2026-06-09 18:31:21'::timestamp) - extract(epoch from '2026-06-09 18:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458791 -2.799508)'), GeomFromEWKT('SRID=4674;POINT (-40.458754 -2.799507)'))) / (select extract(epoch from '2026-06-09 18:31:21'::timestamp) - extract(epoch from '2026-06-09 18:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.458725 -2.799514)', '2026-06-09 18:31:34', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458754 -2.799507)'), GeomFromEWKT('SRID=4674;POINT (-40.458725 -2.799514)'))) / (select extract(epoch from '2026-06-09 18:31:34'::timestamp) - extract(epoch from '2026-06-09 18:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458754 -2.799507)'), GeomFromEWKT('SRID=4674;POINT (-40.458725 -2.799514)'))) / (select extract(epoch from '2026-06-09 18:31:34'::timestamp) - extract(epoch from '2026-06-09 18:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.458727 -2.799511)', '2026-06-09 18:31:40', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458725 -2.799514)'), GeomFromEWKT('SRID=4674;POINT (-40.458727 -2.799511)'))) / (select extract(epoch from '2026-06-09 18:31:40'::timestamp) - extract(epoch from '2026-06-09 18:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458725 -2.799514)'), GeomFromEWKT('SRID=4674;POINT (-40.458727 -2.799511)'))) / (select extract(epoch from '2026-06-09 18:31:40'::timestamp) - extract(epoch from '2026-06-09 18:31: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'), 46728, 'SRID=4674;POINT (-40.458702 -2.799505)', '2026-06-09 18:31:51', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458727 -2.799511)'), GeomFromEWKT('SRID=4674;POINT (-40.458702 -2.799505)'))) / (select extract(epoch from '2026-06-09 18:31:51'::timestamp) - extract(epoch from '2026-06-09 18:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458727 -2.799511)'), GeomFromEWKT('SRID=4674;POINT (-40.458702 -2.799505)'))) / (select extract(epoch from '2026-06-09 18:31:51'::timestamp) - extract(epoch from '2026-06-09 18:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.458655 -2.799515)', '2026-06-09 18:32:04', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458702 -2.799505)'), GeomFromEWKT('SRID=4674;POINT (-40.458655 -2.799515)'))) / (select extract(epoch from '2026-06-09 18:32:04'::timestamp) - extract(epoch from '2026-06-09 18:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458702 -2.799505)'), GeomFromEWKT('SRID=4674;POINT (-40.458655 -2.799515)'))) / (select extract(epoch from '2026-06-09 18:32:04'::timestamp) - extract(epoch from '2026-06-09 18:31: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'), 46728, 'SRID=4674;POINT (-40.458619 -2.799516)', '2026-06-09 18:32:16', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458655 -2.799515)'), GeomFromEWKT('SRID=4674;POINT (-40.458619 -2.799516)'))) / (select extract(epoch from '2026-06-09 18:32:16'::timestamp) - extract(epoch from '2026-06-09 18:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458655 -2.799515)'), GeomFromEWKT('SRID=4674;POINT (-40.458619 -2.799516)'))) / (select extract(epoch from '2026-06-09 18:32:16'::timestamp) - extract(epoch from '2026-06-09 18:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.45859 -2.79951)', '2026-06-09 18:32:28', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458619 -2.799516)'), GeomFromEWKT('SRID=4674;POINT (-40.45859 -2.79951)'))) / (select extract(epoch from '2026-06-09 18:32:28'::timestamp) - extract(epoch from '2026-06-09 18:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458619 -2.799516)'), GeomFromEWKT('SRID=4674;POINT (-40.45859 -2.79951)'))) / (select extract(epoch from '2026-06-09 18:32:28'::timestamp) - extract(epoch from '2026-06-09 18:32: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'), 46728, 'SRID=4674;POINT (-40.458548 -2.799508)', '2026-06-09 18:32:38', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45859 -2.79951)'), GeomFromEWKT('SRID=4674;POINT (-40.458548 -2.799508)'))) / (select extract(epoch from '2026-06-09 18:32:38'::timestamp) - extract(epoch from '2026-06-09 18:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45859 -2.79951)'), GeomFromEWKT('SRID=4674;POINT (-40.458548 -2.799508)'))) / (select extract(epoch from '2026-06-09 18:32:38'::timestamp) - extract(epoch from '2026-06-09 18:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.458507 -2.799514)', '2026-06-09 18:32:47', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458548 -2.799508)'), GeomFromEWKT('SRID=4674;POINT (-40.458507 -2.799514)'))) / (select extract(epoch from '2026-06-09 18:32:47'::timestamp) - extract(epoch from '2026-06-09 18:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458548 -2.799508)'), GeomFromEWKT('SRID=4674;POINT (-40.458507 -2.799514)'))) / (select extract(epoch from '2026-06-09 18:32:47'::timestamp) - extract(epoch from '2026-06-09 18:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.458501 -2.79953)', '2026-06-09 18:33:01', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458507 -2.799514)'), GeomFromEWKT('SRID=4674;POINT (-40.458501 -2.79953)'))) / (select extract(epoch from '2026-06-09 18:33:01'::timestamp) - extract(epoch from '2026-06-09 18:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458507 -2.799514)'), GeomFromEWKT('SRID=4674;POINT (-40.458501 -2.79953)'))) / (select extract(epoch from '2026-06-09 18:33:01'::timestamp) - extract(epoch from '2026-06-09 18:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.458504 -2.799537)', '2026-06-09 18:33:10', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458501 -2.79953)'), GeomFromEWKT('SRID=4674;POINT (-40.458504 -2.799537)'))) / (select extract(epoch from '2026-06-09 18:33:10'::timestamp) - extract(epoch from '2026-06-09 18:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458501 -2.79953)'), GeomFromEWKT('SRID=4674;POINT (-40.458504 -2.799537)'))) / (select extract(epoch from '2026-06-09 18:33:10'::timestamp) - extract(epoch from '2026-06-09 18:33: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'), 46728, 'SRID=4674;POINT (-40.458502 -2.799539)', '2026-06-09 18:33:22', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458504 -2.799537)'), GeomFromEWKT('SRID=4674;POINT (-40.458502 -2.799539)'))) / (select extract(epoch from '2026-06-09 18:33:22'::timestamp) - extract(epoch from '2026-06-09 18:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458504 -2.799537)'), GeomFromEWKT('SRID=4674;POINT (-40.458502 -2.799539)'))) / (select extract(epoch from '2026-06-09 18:33:22'::timestamp) - extract(epoch from '2026-06-09 18:33: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'), 46728, 'SRID=4674;POINT (-40.458468 -2.799542)', '2026-06-09 18:33:34', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458502 -2.799539)'), GeomFromEWKT('SRID=4674;POINT (-40.458468 -2.799542)'))) / (select extract(epoch from '2026-06-09 18:33:34'::timestamp) - extract(epoch from '2026-06-09 18:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458502 -2.799539)'), GeomFromEWKT('SRID=4674;POINT (-40.458468 -2.799542)'))) / (select extract(epoch from '2026-06-09 18:33:34'::timestamp) - extract(epoch from '2026-06-09 18:33: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'), 46728, 'SRID=4674;POINT (-40.458407 -2.799567)', '2026-06-09 18:33:49', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458468 -2.799542)'), GeomFromEWKT('SRID=4674;POINT (-40.458407 -2.799567)'))) / (select extract(epoch from '2026-06-09 18:33:49'::timestamp) - extract(epoch from '2026-06-09 18:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458468 -2.799542)'), GeomFromEWKT('SRID=4674;POINT (-40.458407 -2.799567)'))) / (select extract(epoch from '2026-06-09 18:33:49'::timestamp) - extract(epoch from '2026-06-09 18:33: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'), 46728, 'SRID=4674;POINT (-40.458327 -2.799564)', '2026-06-09 18:34:07', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458407 -2.799567)'), GeomFromEWKT('SRID=4674;POINT (-40.458327 -2.799564)'))) / (select extract(epoch from '2026-06-09 18:34:07'::timestamp) - extract(epoch from '2026-06-09 18:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458407 -2.799567)'), GeomFromEWKT('SRID=4674;POINT (-40.458327 -2.799564)'))) / (select extract(epoch from '2026-06-09 18:34:07'::timestamp) - extract(epoch from '2026-06-09 18:33: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'), 46728, 'SRID=4674;POINT (-40.458282 -2.799569)', '2026-06-09 18:34:19', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458327 -2.799564)'), GeomFromEWKT('SRID=4674;POINT (-40.458282 -2.799569)'))) / (select extract(epoch from '2026-06-09 18:34:19'::timestamp) - extract(epoch from '2026-06-09 18:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458327 -2.799564)'), GeomFromEWKT('SRID=4674;POINT (-40.458282 -2.799569)'))) / (select extract(epoch from '2026-06-09 18:34:19'::timestamp) - extract(epoch from '2026-06-09 18:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.458255 -2.799579)', '2026-06-09 18:34:28', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458282 -2.799569)'), GeomFromEWKT('SRID=4674;POINT (-40.458255 -2.799579)'))) / (select extract(epoch from '2026-06-09 18:34:28'::timestamp) - extract(epoch from '2026-06-09 18:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458282 -2.799569)'), GeomFromEWKT('SRID=4674;POINT (-40.458255 -2.799579)'))) / (select extract(epoch from '2026-06-09 18:34:28'::timestamp) - extract(epoch from '2026-06-09 18:34: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'), 46728, 'SRID=4674;POINT (-40.458206 -2.79959)', '2026-06-09 18:34:40', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458255 -2.799579)'), GeomFromEWKT('SRID=4674;POINT (-40.458206 -2.79959)'))) / (select extract(epoch from '2026-06-09 18:34:40'::timestamp) - extract(epoch from '2026-06-09 18:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458255 -2.799579)'), GeomFromEWKT('SRID=4674;POINT (-40.458206 -2.79959)'))) / (select extract(epoch from '2026-06-09 18:34:40'::timestamp) - extract(epoch from '2026-06-09 18:34: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'), 46728, 'SRID=4674;POINT (-40.458179 -2.79958)', '2026-06-09 18:34:51', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458206 -2.79959)'), GeomFromEWKT('SRID=4674;POINT (-40.458179 -2.79958)'))) / (select extract(epoch from '2026-06-09 18:34:51'::timestamp) - extract(epoch from '2026-06-09 18:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458206 -2.79959)'), GeomFromEWKT('SRID=4674;POINT (-40.458179 -2.79958)'))) / (select extract(epoch from '2026-06-09 18:34:51'::timestamp) - extract(epoch from '2026-06-09 18:34: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'), 46728, 'SRID=4674;POINT (-40.458134 -2.799585)', '2026-06-09 18:35:06', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458179 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.458134 -2.799585)'))) / (select extract(epoch from '2026-06-09 18:35:06'::timestamp) - extract(epoch from '2026-06-09 18:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458179 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.458134 -2.799585)'))) / (select extract(epoch from '2026-06-09 18:35:06'::timestamp) - extract(epoch from '2026-06-09 18:34: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'), 46728, 'SRID=4674;POINT (-40.458108 -2.799591)', '2026-06-09 18:35:18', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458134 -2.799585)'), GeomFromEWKT('SRID=4674;POINT (-40.458108 -2.799591)'))) / (select extract(epoch from '2026-06-09 18:35:18'::timestamp) - extract(epoch from '2026-06-09 18:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458134 -2.799585)'), GeomFromEWKT('SRID=4674;POINT (-40.458108 -2.799591)'))) / (select extract(epoch from '2026-06-09 18:35:18'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46728, 'SRID=4674;POINT (-40.458082 -2.799595)', '2026-06-09 18:35:25', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458108 -2.799591)'), GeomFromEWKT('SRID=4674;POINT (-40.458082 -2.799595)'))) / (select extract(epoch from '2026-06-09 18:35:25'::timestamp) - extract(epoch from '2026-06-09 18:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458108 -2.799591)'), GeomFromEWKT('SRID=4674;POINT (-40.458082 -2.799595)'))) / (select extract(epoch from '2026-06-09 18:35:25'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46728, 'SRID=4674;POINT (-40.458028 -2.799592)', '2026-06-09 18:35:38', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458082 -2.799595)'), GeomFromEWKT('SRID=4674;POINT (-40.458028 -2.799592)'))) / (select extract(epoch from '2026-06-09 18:35:38'::timestamp) - extract(epoch from '2026-06-09 18:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458082 -2.799595)'), GeomFromEWKT('SRID=4674;POINT (-40.458028 -2.799592)'))) / (select extract(epoch from '2026-06-09 18:35:38'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46728, 'SRID=4674;POINT (-40.457985 -2.799592)', '2026-06-09 18:35:52', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458028 -2.799592)'), GeomFromEWKT('SRID=4674;POINT (-40.457985 -2.799592)'))) / (select extract(epoch from '2026-06-09 18:35:52'::timestamp) - extract(epoch from '2026-06-09 18:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.458028 -2.799592)'), GeomFromEWKT('SRID=4674;POINT (-40.457985 -2.799592)'))) / (select extract(epoch from '2026-06-09 18:35:52'::timestamp) - extract(epoch from '2026-06-09 18:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457933 -2.799591)', '2026-06-09 18:36:02', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457985 -2.799592)'), GeomFromEWKT('SRID=4674;POINT (-40.457933 -2.799591)'))) / (select extract(epoch from '2026-06-09 18:36:02'::timestamp) - extract(epoch from '2026-06-09 18:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457985 -2.799592)'), GeomFromEWKT('SRID=4674;POINT (-40.457933 -2.799591)'))) / (select extract(epoch from '2026-06-09 18:36:02'::timestamp) - extract(epoch from '2026-06-09 18:35: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'), 46728, 'SRID=4674;POINT (-40.457873 -2.799611)', '2026-06-09 18:36:14', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457933 -2.799591)'), GeomFromEWKT('SRID=4674;POINT (-40.457873 -2.799611)'))) / (select extract(epoch from '2026-06-09 18:36:14'::timestamp) - extract(epoch from '2026-06-09 18:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457933 -2.799591)'), GeomFromEWKT('SRID=4674;POINT (-40.457873 -2.799611)'))) / (select extract(epoch from '2026-06-09 18:36:14'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46728, 'SRID=4674;POINT (-40.457837 -2.799636)', '2026-06-09 18:36:25', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457873 -2.799611)'), GeomFromEWKT('SRID=4674;POINT (-40.457837 -2.799636)'))) / (select extract(epoch from '2026-06-09 18:36:25'::timestamp) - extract(epoch from '2026-06-09 18:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457873 -2.799611)'), GeomFromEWKT('SRID=4674;POINT (-40.457837 -2.799636)'))) / (select extract(epoch from '2026-06-09 18:36:25'::timestamp) - extract(epoch from '2026-06-09 18:36:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457806 -2.799637)', '2026-06-09 18:36:38', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457837 -2.799636)'), GeomFromEWKT('SRID=4674;POINT (-40.457806 -2.799637)'))) / (select extract(epoch from '2026-06-09 18:36:38'::timestamp) - extract(epoch from '2026-06-09 18:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457837 -2.799636)'), GeomFromEWKT('SRID=4674;POINT (-40.457806 -2.799637)'))) / (select extract(epoch from '2026-06-09 18:36:38'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46728, 'SRID=4674;POINT (-40.457765 -2.799655)', '2026-06-09 18:36:49', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457806 -2.799637)'), GeomFromEWKT('SRID=4674;POINT (-40.457765 -2.799655)'))) / (select extract(epoch from '2026-06-09 18:36:49'::timestamp) - extract(epoch from '2026-06-09 18:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457806 -2.799637)'), GeomFromEWKT('SRID=4674;POINT (-40.457765 -2.799655)'))) / (select extract(epoch from '2026-06-09 18:36:49'::timestamp) - extract(epoch from '2026-06-09 18:36:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457732 -2.79965)', '2026-06-09 18:37:00', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457765 -2.799655)'), GeomFromEWKT('SRID=4674;POINT (-40.457732 -2.79965)'))) / (select extract(epoch from '2026-06-09 18:37:00'::timestamp) - extract(epoch from '2026-06-09 18:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457765 -2.799655)'), GeomFromEWKT('SRID=4674;POINT (-40.457732 -2.79965)'))) / (select extract(epoch from '2026-06-09 18:37:00'::timestamp) - extract(epoch from '2026-06-09 18:36: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'), 46728, 'SRID=4674;POINT (-40.457686 -2.799621)', '2026-06-09 18:37:13', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457732 -2.79965)'), GeomFromEWKT('SRID=4674;POINT (-40.457686 -2.799621)'))) / (select extract(epoch from '2026-06-09 18:37:13'::timestamp) - extract(epoch from '2026-06-09 18:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457732 -2.79965)'), GeomFromEWKT('SRID=4674;POINT (-40.457686 -2.799621)'))) / (select extract(epoch from '2026-06-09 18:37:13'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46728, 'SRID=4674;POINT (-40.45765 -2.799627)', '2026-06-09 18:37:25', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457686 -2.799621)'), GeomFromEWKT('SRID=4674;POINT (-40.45765 -2.799627)'))) / (select extract(epoch from '2026-06-09 18:37:25'::timestamp) - extract(epoch from '2026-06-09 18:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457686 -2.799621)'), GeomFromEWKT('SRID=4674;POINT (-40.45765 -2.799627)'))) / (select extract(epoch from '2026-06-09 18:37:25'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46728, 'SRID=4674;POINT (-40.457605 -2.799622)', '2026-06-09 18:37:37', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45765 -2.799627)'), GeomFromEWKT('SRID=4674;POINT (-40.457605 -2.799622)'))) / (select extract(epoch from '2026-06-09 18:37:37'::timestamp) - extract(epoch from '2026-06-09 18:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45765 -2.799627)'), GeomFromEWKT('SRID=4674;POINT (-40.457605 -2.799622)'))) / (select extract(epoch from '2026-06-09 18:37:37'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46728, 'SRID=4674;POINT (-40.457597 -2.799613)', '2026-06-09 18:37:50', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457605 -2.799622)'), GeomFromEWKT('SRID=4674;POINT (-40.457597 -2.799613)'))) / (select extract(epoch from '2026-06-09 18:37:50'::timestamp) - extract(epoch from '2026-06-09 18:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457605 -2.799622)'), GeomFromEWKT('SRID=4674;POINT (-40.457597 -2.799613)'))) / (select extract(epoch from '2026-06-09 18:37:50'::timestamp) - extract(epoch from '2026-06-09 18:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.45757 -2.799628)', '2026-06-09 18:37:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457597 -2.799613)'), GeomFromEWKT('SRID=4674;POINT (-40.45757 -2.799628)'))) / (select extract(epoch from '2026-06-09 18:37:59'::timestamp) - extract(epoch from '2026-06-09 18:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457597 -2.799613)'), GeomFromEWKT('SRID=4674;POINT (-40.45757 -2.799628)'))) / (select extract(epoch from '2026-06-09 18:37:59'::timestamp) - extract(epoch from '2026-06-09 18:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457544 -2.799625)', '2026-06-09 18:38:11', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45757 -2.799628)'), GeomFromEWKT('SRID=4674;POINT (-40.457544 -2.799625)'))) / (select extract(epoch from '2026-06-09 18:38:11'::timestamp) - extract(epoch from '2026-06-09 18:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45757 -2.799628)'), GeomFromEWKT('SRID=4674;POINT (-40.457544 -2.799625)'))) / (select extract(epoch from '2026-06-09 18:38:11'::timestamp) - extract(epoch from '2026-06-09 18:37: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'), 46728, 'SRID=4674;POINT (-40.457522 -2.799639)', '2026-06-09 18:38:21', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457544 -2.799625)'), GeomFromEWKT('SRID=4674;POINT (-40.457522 -2.799639)'))) / (select extract(epoch from '2026-06-09 18:38:21'::timestamp) - extract(epoch from '2026-06-09 18:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457544 -2.799625)'), GeomFromEWKT('SRID=4674;POINT (-40.457522 -2.799639)'))) / (select extract(epoch from '2026-06-09 18:38:21'::timestamp) - extract(epoch from '2026-06-09 18:38: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'), 46728, 'SRID=4674;POINT (-40.457496 -2.799655)', '2026-06-09 18:38:32', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457522 -2.799639)'), GeomFromEWKT('SRID=4674;POINT (-40.457496 -2.799655)'))) / (select extract(epoch from '2026-06-09 18:38:32'::timestamp) - extract(epoch from '2026-06-09 18:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457522 -2.799639)'), GeomFromEWKT('SRID=4674;POINT (-40.457496 -2.799655)'))) / (select extract(epoch from '2026-06-09 18:38:32'::timestamp) - extract(epoch from '2026-06-09 18:38:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457488 -2.79967)', '2026-06-09 18:38:42', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457496 -2.799655)'), GeomFromEWKT('SRID=4674;POINT (-40.457488 -2.79967)'))) / (select extract(epoch from '2026-06-09 18:38:42'::timestamp) - extract(epoch from '2026-06-09 18:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457496 -2.799655)'), GeomFromEWKT('SRID=4674;POINT (-40.457488 -2.79967)'))) / (select extract(epoch from '2026-06-09 18:38:42'::timestamp) - extract(epoch from '2026-06-09 18:38: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'), 46728, 'SRID=4674;POINT (-40.457471 -2.799675)', '2026-06-09 18:38:54', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457488 -2.79967)'), GeomFromEWKT('SRID=4674;POINT (-40.457471 -2.799675)'))) / (select extract(epoch from '2026-06-09 18:38:54'::timestamp) - extract(epoch from '2026-06-09 18:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457488 -2.79967)'), GeomFromEWKT('SRID=4674;POINT (-40.457471 -2.799675)'))) / (select extract(epoch from '2026-06-09 18:38:54'::timestamp) - extract(epoch from '2026-06-09 18:38:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457445 -2.799664)', '2026-06-09 18:39:04', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457471 -2.799675)'), GeomFromEWKT('SRID=4674;POINT (-40.457445 -2.799664)'))) / (select extract(epoch from '2026-06-09 18:39:04'::timestamp) - extract(epoch from '2026-06-09 18:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457471 -2.799675)'), GeomFromEWKT('SRID=4674;POINT (-40.457445 -2.799664)'))) / (select extract(epoch from '2026-06-09 18:39:04'::timestamp) - extract(epoch from '2026-06-09 18:38: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'), 46728, 'SRID=4674;POINT (-40.457419 -2.799642)', '2026-06-09 18:39:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457445 -2.799664)'), GeomFromEWKT('SRID=4674;POINT (-40.457419 -2.799642)'))) / (select extract(epoch from '2026-06-09 18:39:15'::timestamp) - extract(epoch from '2026-06-09 18:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457445 -2.799664)'), GeomFromEWKT('SRID=4674;POINT (-40.457419 -2.799642)'))) / (select extract(epoch from '2026-06-09 18:39:15'::timestamp) - extract(epoch from '2026-06-09 18:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457366 -2.79964)', '2026-06-09 18:39:26', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457419 -2.799642)'), GeomFromEWKT('SRID=4674;POINT (-40.457366 -2.79964)'))) / (select extract(epoch from '2026-06-09 18:39:26'::timestamp) - extract(epoch from '2026-06-09 18:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457419 -2.799642)'), GeomFromEWKT('SRID=4674;POINT (-40.457366 -2.79964)'))) / (select extract(epoch from '2026-06-09 18:39:26'::timestamp) - extract(epoch from '2026-06-09 18:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457311 -2.799639)', '2026-06-09 18:39:41', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457366 -2.79964)'), GeomFromEWKT('SRID=4674;POINT (-40.457311 -2.799639)'))) / (select extract(epoch from '2026-06-09 18:39:41'::timestamp) - extract(epoch from '2026-06-09 18:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457366 -2.79964)'), GeomFromEWKT('SRID=4674;POINT (-40.457311 -2.799639)'))) / (select extract(epoch from '2026-06-09 18:39:41'::timestamp) - extract(epoch from '2026-06-09 18:39: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'), 46728, 'SRID=4674;POINT (-40.457242 -2.799633)', '2026-06-09 18:39:58', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457311 -2.799639)'), GeomFromEWKT('SRID=4674;POINT (-40.457242 -2.799633)'))) / (select extract(epoch from '2026-06-09 18:39:58'::timestamp) - extract(epoch from '2026-06-09 18:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457311 -2.799639)'), GeomFromEWKT('SRID=4674;POINT (-40.457242 -2.799633)'))) / (select extract(epoch from '2026-06-09 18:39:58'::timestamp) - extract(epoch from '2026-06-09 18:39:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457235 -2.79964)', '2026-06-09 18:40:07', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457242 -2.799633)'), GeomFromEWKT('SRID=4674;POINT (-40.457235 -2.79964)'))) / (select extract(epoch from '2026-06-09 18:40:07'::timestamp) - extract(epoch from '2026-06-09 18:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457242 -2.799633)'), GeomFromEWKT('SRID=4674;POINT (-40.457235 -2.79964)'))) / (select extract(epoch from '2026-06-09 18:40:07'::timestamp) - extract(epoch from '2026-06-09 18:39: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'), 46728, 'SRID=4674;POINT (-40.45722 -2.799633)', '2026-06-09 18:40:21', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457235 -2.79964)'), GeomFromEWKT('SRID=4674;POINT (-40.45722 -2.799633)'))) / (select extract(epoch from '2026-06-09 18:40:21'::timestamp) - extract(epoch from '2026-06-09 18:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457235 -2.79964)'), GeomFromEWKT('SRID=4674;POINT (-40.45722 -2.799633)'))) / (select extract(epoch from '2026-06-09 18:40:21'::timestamp) - extract(epoch from '2026-06-09 18:40:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457208 -2.799628)', '2026-06-09 18:40:29', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45722 -2.799633)'), GeomFromEWKT('SRID=4674;POINT (-40.457208 -2.799628)'))) / (select extract(epoch from '2026-06-09 18:40:29'::timestamp) - extract(epoch from '2026-06-09 18:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45722 -2.799633)'), GeomFromEWKT('SRID=4674;POINT (-40.457208 -2.799628)'))) / (select extract(epoch from '2026-06-09 18:40:29'::timestamp) - extract(epoch from '2026-06-09 18:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457157 -2.799631)', '2026-06-09 18:40:39', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457208 -2.799628)'), GeomFromEWKT('SRID=4674;POINT (-40.457157 -2.799631)'))) / (select extract(epoch from '2026-06-09 18:40:39'::timestamp) - extract(epoch from '2026-06-09 18:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457208 -2.799628)'), GeomFromEWKT('SRID=4674;POINT (-40.457157 -2.799631)'))) / (select extract(epoch from '2026-06-09 18:40:39'::timestamp) - extract(epoch from '2026-06-09 18:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.457124 -2.799661)', '2026-06-09 18:40:51', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457157 -2.799631)'), GeomFromEWKT('SRID=4674;POINT (-40.457124 -2.799661)'))) / (select extract(epoch from '2026-06-09 18:40:51'::timestamp) - extract(epoch from '2026-06-09 18:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457157 -2.799631)'), GeomFromEWKT('SRID=4674;POINT (-40.457124 -2.799661)'))) / (select extract(epoch from '2026-06-09 18:40:51'::timestamp) - extract(epoch from '2026-06-09 18:40: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'), 46728, 'SRID=4674;POINT (-40.457096 -2.799675)', '2026-06-09 18:41:00', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457124 -2.799661)'), GeomFromEWKT('SRID=4674;POINT (-40.457096 -2.799675)'))) / (select extract(epoch from '2026-06-09 18:41:00'::timestamp) - extract(epoch from '2026-06-09 18:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457124 -2.799661)'), GeomFromEWKT('SRID=4674;POINT (-40.457096 -2.799675)'))) / (select extract(epoch from '2026-06-09 18:41:00'::timestamp) - extract(epoch from '2026-06-09 18:40: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'), 46728, 'SRID=4674;POINT (-40.457038 -2.799682)', '2026-06-09 18:41:12', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457096 -2.799675)'), GeomFromEWKT('SRID=4674;POINT (-40.457038 -2.799682)'))) / (select extract(epoch from '2026-06-09 18:41:12'::timestamp) - extract(epoch from '2026-06-09 18:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457096 -2.799675)'), GeomFromEWKT('SRID=4674;POINT (-40.457038 -2.799682)'))) / (select extract(epoch from '2026-06-09 18:41:12'::timestamp) - extract(epoch from '2026-06-09 18:41: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'), 46728, 'SRID=4674;POINT (-40.45703 -2.799699)', '2026-06-09 18:41:23', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457038 -2.799682)'), GeomFromEWKT('SRID=4674;POINT (-40.45703 -2.799699)'))) / (select extract(epoch from '2026-06-09 18:41:23'::timestamp) - extract(epoch from '2026-06-09 18:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457038 -2.799682)'), GeomFromEWKT('SRID=4674;POINT (-40.45703 -2.799699)'))) / (select extract(epoch from '2026-06-09 18:41:23'::timestamp) - extract(epoch from '2026-06-09 18:41: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'), 46728, 'SRID=4674;POINT (-40.457034 -2.799701)', '2026-06-09 18:41:32', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45703 -2.799699)'), GeomFromEWKT('SRID=4674;POINT (-40.457034 -2.799701)'))) / (select extract(epoch from '2026-06-09 18:41:32'::timestamp) - extract(epoch from '2026-06-09 18:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45703 -2.799699)'), GeomFromEWKT('SRID=4674;POINT (-40.457034 -2.799701)'))) / (select extract(epoch from '2026-06-09 18:41:32'::timestamp) - extract(epoch from '2026-06-09 18:41: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'), 46728, 'SRID=4674;POINT (-40.457039 -2.799704)', '2026-06-09 18:41:40', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457034 -2.799701)'), GeomFromEWKT('SRID=4674;POINT (-40.457039 -2.799704)'))) / (select extract(epoch from '2026-06-09 18:41:40'::timestamp) - extract(epoch from '2026-06-09 18:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457034 -2.799701)'), GeomFromEWKT('SRID=4674;POINT (-40.457039 -2.799704)'))) / (select extract(epoch from '2026-06-09 18:41:40'::timestamp) - extract(epoch from '2026-06-09 18:41: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'), 46728, 'SRID=4674;POINT (-40.457039 -2.799705)', '2026-06-09 18:41:46', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457039 -2.799704)'), GeomFromEWKT('SRID=4674;POINT (-40.457039 -2.799705)'))) / (select extract(epoch from '2026-06-09 18:41:46'::timestamp) - extract(epoch from '2026-06-09 18:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457039 -2.799704)'), GeomFromEWKT('SRID=4674;POINT (-40.457039 -2.799705)'))) / (select extract(epoch from '2026-06-09 18:41:46'::timestamp) - extract(epoch from '2026-06-09 18:41: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'), 46728, 'SRID=4674;POINT (-40.457017 -2.799696)', '2026-06-09 18:41:55', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457039 -2.799705)'), GeomFromEWKT('SRID=4674;POINT (-40.457017 -2.799696)'))) / (select extract(epoch from '2026-06-09 18:41:55'::timestamp) - extract(epoch from '2026-06-09 18:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457039 -2.799705)'), GeomFromEWKT('SRID=4674;POINT (-40.457017 -2.799696)'))) / (select extract(epoch from '2026-06-09 18:41:55'::timestamp) - extract(epoch from '2026-06-09 18:41: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'), 46728, 'SRID=4674;POINT (-40.456965 -2.799682)', '2026-06-09 18:42:08', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457017 -2.799696)'), GeomFromEWKT('SRID=4674;POINT (-40.456965 -2.799682)'))) / (select extract(epoch from '2026-06-09 18:42:08'::timestamp) - extract(epoch from '2026-06-09 18:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.457017 -2.799696)'), GeomFromEWKT('SRID=4674;POINT (-40.456965 -2.799682)'))) / (select extract(epoch from '2026-06-09 18:42:08'::timestamp) - extract(epoch from '2026-06-09 18:41: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'), 46728, 'SRID=4674;POINT (-40.456926 -2.799664)', '2026-06-09 18:42:19', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456965 -2.799682)'), GeomFromEWKT('SRID=4674;POINT (-40.456926 -2.799664)'))) / (select extract(epoch from '2026-06-09 18:42:19'::timestamp) - extract(epoch from '2026-06-09 18:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456965 -2.799682)'), GeomFromEWKT('SRID=4674;POINT (-40.456926 -2.799664)'))) / (select extract(epoch from '2026-06-09 18:42:19'::timestamp) - extract(epoch from '2026-06-09 18:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.456899 -2.79966)', '2026-06-09 18:42:33', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456926 -2.799664)'), GeomFromEWKT('SRID=4674;POINT (-40.456899 -2.79966)'))) / (select extract(epoch from '2026-06-09 18:42:33'::timestamp) - extract(epoch from '2026-06-09 18:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456926 -2.799664)'), GeomFromEWKT('SRID=4674;POINT (-40.456899 -2.79966)'))) / (select extract(epoch from '2026-06-09 18:42:33'::timestamp) - extract(epoch from '2026-06-09 18:42: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'), 46728, 'SRID=4674;POINT (-40.456856 -2.799681)', '2026-06-09 18:42:43', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456899 -2.79966)'), GeomFromEWKT('SRID=4674;POINT (-40.456856 -2.799681)'))) / (select extract(epoch from '2026-06-09 18:42:43'::timestamp) - extract(epoch from '2026-06-09 18:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456899 -2.79966)'), GeomFromEWKT('SRID=4674;POINT (-40.456856 -2.799681)'))) / (select extract(epoch from '2026-06-09 18:42:43'::timestamp) - extract(epoch from '2026-06-09 18:42: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'), 46728, 'SRID=4674;POINT (-40.45681 -2.79968)', '2026-06-09 18:42:58', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456856 -2.799681)'), GeomFromEWKT('SRID=4674;POINT (-40.45681 -2.79968)'))) / (select extract(epoch from '2026-06-09 18:42:58'::timestamp) - extract(epoch from '2026-06-09 18:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456856 -2.799681)'), GeomFromEWKT('SRID=4674;POINT (-40.45681 -2.79968)'))) / (select extract(epoch from '2026-06-09 18:42:58'::timestamp) - extract(epoch from '2026-06-09 18:42: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'), 46728, 'SRID=4674;POINT (-40.456784 -2.799679)', '2026-06-09 18:43:08', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45681 -2.79968)'), GeomFromEWKT('SRID=4674;POINT (-40.456784 -2.799679)'))) / (select extract(epoch from '2026-06-09 18:43:08'::timestamp) - extract(epoch from '2026-06-09 18:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45681 -2.79968)'), GeomFromEWKT('SRID=4674;POINT (-40.456784 -2.799679)'))) / (select extract(epoch from '2026-06-09 18:43:08'::timestamp) - extract(epoch from '2026-06-09 18:42: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'), 46728, 'SRID=4674;POINT (-40.456758 -2.799692)', '2026-06-09 18:43:19', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456784 -2.799679)'), GeomFromEWKT('SRID=4674;POINT (-40.456758 -2.799692)'))) / (select extract(epoch from '2026-06-09 18:43:19'::timestamp) - extract(epoch from '2026-06-09 18:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456784 -2.799679)'), GeomFromEWKT('SRID=4674;POINT (-40.456758 -2.799692)'))) / (select extract(epoch from '2026-06-09 18:43:19'::timestamp) - extract(epoch from '2026-06-09 18:43: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'), 46728, 'SRID=4674;POINT (-40.456719 -2.799687)', '2026-06-09 18:43:33', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456758 -2.799692)'), GeomFromEWKT('SRID=4674;POINT (-40.456719 -2.799687)'))) / (select extract(epoch from '2026-06-09 18:43:33'::timestamp) - extract(epoch from '2026-06-09 18:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456758 -2.799692)'), GeomFromEWKT('SRID=4674;POINT (-40.456719 -2.799687)'))) / (select extract(epoch from '2026-06-09 18:43:33'::timestamp) - extract(epoch from '2026-06-09 18:43: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'), 46728, 'SRID=4674;POINT (-40.456685 -2.799681)', '2026-06-09 18:43:46', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456719 -2.799687)'), GeomFromEWKT('SRID=4674;POINT (-40.456685 -2.799681)'))) / (select extract(epoch from '2026-06-09 18:43:46'::timestamp) - extract(epoch from '2026-06-09 18:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456719 -2.799687)'), GeomFromEWKT('SRID=4674;POINT (-40.456685 -2.799681)'))) / (select extract(epoch from '2026-06-09 18:43:46'::timestamp) - extract(epoch from '2026-06-09 18:43: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'), 46728, 'SRID=4674;POINT (-40.456658 -2.799687)', '2026-06-09 18:43:58', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456685 -2.799681)'), GeomFromEWKT('SRID=4674;POINT (-40.456658 -2.799687)'))) / (select extract(epoch from '2026-06-09 18:43:58'::timestamp) - extract(epoch from '2026-06-09 18:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456685 -2.799681)'), GeomFromEWKT('SRID=4674;POINT (-40.456658 -2.799687)'))) / (select extract(epoch from '2026-06-09 18:43:58'::timestamp) - extract(epoch from '2026-06-09 18:43: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'), 46728, 'SRID=4674;POINT (-40.456625 -2.799693)', '2026-06-09 18:44:11', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456658 -2.799687)'), GeomFromEWKT('SRID=4674;POINT (-40.456625 -2.799693)'))) / (select extract(epoch from '2026-06-09 18:44:11'::timestamp) - extract(epoch from '2026-06-09 18:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456658 -2.799687)'), GeomFromEWKT('SRID=4674;POINT (-40.456625 -2.799693)'))) / (select extract(epoch from '2026-06-09 18:44:11'::timestamp) - extract(epoch from '2026-06-09 18:43: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'), 46728, 'SRID=4674;POINT (-40.456617 -2.799678)', '2026-06-09 18:44:22', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456625 -2.799693)'), GeomFromEWKT('SRID=4674;POINT (-40.456617 -2.799678)'))) / (select extract(epoch from '2026-06-09 18:44:22'::timestamp) - extract(epoch from '2026-06-09 18:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456625 -2.799693)'), GeomFromEWKT('SRID=4674;POINT (-40.456617 -2.799678)'))) / (select extract(epoch from '2026-06-09 18:44:22'::timestamp) - extract(epoch from '2026-06-09 18:44: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'), 46728, 'SRID=4674;POINT (-40.456606 -2.799675)', '2026-06-09 18:44:28', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456617 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.456606 -2.799675)'))) / (select extract(epoch from '2026-06-09 18:44:28'::timestamp) - extract(epoch from '2026-06-09 18:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456617 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.456606 -2.799675)'))) / (select extract(epoch from '2026-06-09 18:44:28'::timestamp) - extract(epoch from '2026-06-09 18:44: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'), 46728, 'SRID=4674;POINT (-40.456586 -2.799687)', '2026-06-09 18:44:35', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456606 -2.799675)'), GeomFromEWKT('SRID=4674;POINT (-40.456586 -2.799687)'))) / (select extract(epoch from '2026-06-09 18:44:35'::timestamp) - extract(epoch from '2026-06-09 18:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456606 -2.799675)'), GeomFromEWKT('SRID=4674;POINT (-40.456586 -2.799687)'))) / (select extract(epoch from '2026-06-09 18:44:35'::timestamp) - extract(epoch from '2026-06-09 18:44: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'), 46728, 'SRID=4674;POINT (-40.456534 -2.799695)', '2026-06-09 18:44:47', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456586 -2.799687)'), GeomFromEWKT('SRID=4674;POINT (-40.456534 -2.799695)'))) / (select extract(epoch from '2026-06-09 18:44:47'::timestamp) - extract(epoch from '2026-06-09 18:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456586 -2.799687)'), GeomFromEWKT('SRID=4674;POINT (-40.456534 -2.799695)'))) / (select extract(epoch from '2026-06-09 18:44:47'::timestamp) - extract(epoch from '2026-06-09 18:44: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'), 46728, 'SRID=4674;POINT (-40.456527 -2.799696)', '2026-06-09 18:44:55', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456534 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.456527 -2.799696)'))) / (select extract(epoch from '2026-06-09 18:44:55'::timestamp) - extract(epoch from '2026-06-09 18:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456534 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.456527 -2.799696)'))) / (select extract(epoch from '2026-06-09 18:44:55'::timestamp) - extract(epoch from '2026-06-09 18:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.456486 -2.79969)', '2026-06-09 18:45:06', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456527 -2.799696)'), GeomFromEWKT('SRID=4674;POINT (-40.456486 -2.79969)'))) / (select extract(epoch from '2026-06-09 18:45:06'::timestamp) - extract(epoch from '2026-06-09 18:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456527 -2.799696)'), GeomFromEWKT('SRID=4674;POINT (-40.456486 -2.79969)'))) / (select extract(epoch from '2026-06-09 18:45:06'::timestamp) - extract(epoch from '2026-06-09 18:44: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'), 46728, 'SRID=4674;POINT (-40.456424 -2.799696)', '2026-06-09 18:45:22', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456486 -2.79969)'), GeomFromEWKT('SRID=4674;POINT (-40.456424 -2.799696)'))) / (select extract(epoch from '2026-06-09 18:45:22'::timestamp) - extract(epoch from '2026-06-09 18:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456486 -2.79969)'), GeomFromEWKT('SRID=4674;POINT (-40.456424 -2.799696)'))) / (select extract(epoch from '2026-06-09 18:45:22'::timestamp) - extract(epoch from '2026-06-09 18:45: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'), 46728, 'SRID=4674;POINT (-40.456381 -2.799678)', '2026-06-09 18:45:35', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456424 -2.799696)'), GeomFromEWKT('SRID=4674;POINT (-40.456381 -2.799678)'))) / (select extract(epoch from '2026-06-09 18:45:35'::timestamp) - extract(epoch from '2026-06-09 18:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456424 -2.799696)'), GeomFromEWKT('SRID=4674;POINT (-40.456381 -2.799678)'))) / (select extract(epoch from '2026-06-09 18:45:35'::timestamp) - extract(epoch from '2026-06-09 18:45: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'), 46728, 'SRID=4674;POINT (-40.456334 -2.799667)', '2026-06-09 18:45:48', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456381 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.456334 -2.799667)'))) / (select extract(epoch from '2026-06-09 18:45:48'::timestamp) - extract(epoch from '2026-06-09 18:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456381 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.456334 -2.799667)'))) / (select extract(epoch from '2026-06-09 18:45:48'::timestamp) - extract(epoch from '2026-06-09 18:45: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'), 46728, 'SRID=4674;POINT (-40.456294 -2.799691)', '2026-06-09 18:46:00', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456334 -2.799667)'), GeomFromEWKT('SRID=4674;POINT (-40.456294 -2.799691)'))) / (select extract(epoch from '2026-06-09 18:46:00'::timestamp) - extract(epoch from '2026-06-09 18:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456334 -2.799667)'), GeomFromEWKT('SRID=4674;POINT (-40.456294 -2.799691)'))) / (select extract(epoch from '2026-06-09 18:46:00'::timestamp) - extract(epoch from '2026-06-09 18:45: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'), 46728, 'SRID=4674;POINT (-40.456226 -2.799691)', '2026-06-09 18:46:14', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456294 -2.799691)'), GeomFromEWKT('SRID=4674;POINT (-40.456226 -2.799691)'))) / (select extract(epoch from '2026-06-09 18:46:14'::timestamp) - extract(epoch from '2026-06-09 18:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456294 -2.799691)'), GeomFromEWKT('SRID=4674;POINT (-40.456226 -2.799691)'))) / (select extract(epoch from '2026-06-09 18:46:14'::timestamp) - extract(epoch from '2026-06-09 18:46: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'), 46728, 'SRID=4674;POINT (-40.456191 -2.799676)', '2026-06-09 18:46:26', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456226 -2.799691)'), GeomFromEWKT('SRID=4674;POINT (-40.456191 -2.799676)'))) / (select extract(epoch from '2026-06-09 18:46:26'::timestamp) - extract(epoch from '2026-06-09 18:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456226 -2.799691)'), GeomFromEWKT('SRID=4674;POINT (-40.456191 -2.799676)'))) / (select extract(epoch from '2026-06-09 18:46:26'::timestamp) - extract(epoch from '2026-06-09 18:46:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.456162 -2.799681)', '2026-06-09 18:46:41', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456191 -2.799676)'), GeomFromEWKT('SRID=4674;POINT (-40.456162 -2.799681)'))) / (select extract(epoch from '2026-06-09 18:46:41'::timestamp) - extract(epoch from '2026-06-09 18:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456191 -2.799676)'), GeomFromEWKT('SRID=4674;POINT (-40.456162 -2.799681)'))) / (select extract(epoch from '2026-06-09 18:46:41'::timestamp) - extract(epoch from '2026-06-09 18:46: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'), 46728, 'SRID=4674;POINT (-40.456148 -2.799678)', '2026-06-09 18:46:53', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456162 -2.799681)'), GeomFromEWKT('SRID=4674;POINT (-40.456148 -2.799678)'))) / (select extract(epoch from '2026-06-09 18:46:53'::timestamp) - extract(epoch from '2026-06-09 18:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456162 -2.799681)'), GeomFromEWKT('SRID=4674;POINT (-40.456148 -2.799678)'))) / (select extract(epoch from '2026-06-09 18:46:53'::timestamp) - extract(epoch from '2026-06-09 18:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.456103 -2.799689)', '2026-06-09 18:47:03', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456148 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.456103 -2.799689)'))) / (select extract(epoch from '2026-06-09 18:47:03'::timestamp) - extract(epoch from '2026-06-09 18:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456148 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.456103 -2.799689)'))) / (select extract(epoch from '2026-06-09 18:47:03'::timestamp) - extract(epoch from '2026-06-09 18:46: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'), 46728, 'SRID=4674;POINT (-40.456053 -2.799665)', '2026-06-09 18:47:16', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456103 -2.799689)'), GeomFromEWKT('SRID=4674;POINT (-40.456053 -2.799665)'))) / (select extract(epoch from '2026-06-09 18:47:16'::timestamp) - extract(epoch from '2026-06-09 18:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456103 -2.799689)'), GeomFromEWKT('SRID=4674;POINT (-40.456053 -2.799665)'))) / (select extract(epoch from '2026-06-09 18:47:16'::timestamp) - extract(epoch from '2026-06-09 18:47: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'), 46728, 'SRID=4674;POINT (-40.456008 -2.799652)', '2026-06-09 18:47:29', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456053 -2.799665)'), GeomFromEWKT('SRID=4674;POINT (-40.456008 -2.799652)'))) / (select extract(epoch from '2026-06-09 18:47:29'::timestamp) - extract(epoch from '2026-06-09 18:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456053 -2.799665)'), GeomFromEWKT('SRID=4674;POINT (-40.456008 -2.799652)'))) / (select extract(epoch from '2026-06-09 18:47:29'::timestamp) - extract(epoch from '2026-06-09 18:47: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'), 46728, 'SRID=4674;POINT (-40.455933 -2.799673)', '2026-06-09 18:47:46', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456008 -2.799652)'), GeomFromEWKT('SRID=4674;POINT (-40.455933 -2.799673)'))) / (select extract(epoch from '2026-06-09 18:47:46'::timestamp) - extract(epoch from '2026-06-09 18:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.456008 -2.799652)'), GeomFromEWKT('SRID=4674;POINT (-40.455933 -2.799673)'))) / (select extract(epoch from '2026-06-09 18:47:46'::timestamp) - extract(epoch from '2026-06-09 18:47:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.455891 -2.799689)', '2026-06-09 18:47:56', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455933 -2.799673)'), GeomFromEWKT('SRID=4674;POINT (-40.455891 -2.799689)'))) / (select extract(epoch from '2026-06-09 18:47:56'::timestamp) - extract(epoch from '2026-06-09 18:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455933 -2.799673)'), GeomFromEWKT('SRID=4674;POINT (-40.455891 -2.799689)'))) / (select extract(epoch from '2026-06-09 18:47:56'::timestamp) - extract(epoch from '2026-06-09 18:47: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'), 46728, 'SRID=4674;POINT (-40.455858 -2.799715)', '2026-06-09 18:48:11', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455891 -2.799689)'), GeomFromEWKT('SRID=4674;POINT (-40.455858 -2.799715)'))) / (select extract(epoch from '2026-06-09 18:48:11'::timestamp) - extract(epoch from '2026-06-09 18:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455891 -2.799689)'), GeomFromEWKT('SRID=4674;POINT (-40.455858 -2.799715)'))) / (select extract(epoch from '2026-06-09 18:48:11'::timestamp) - extract(epoch from '2026-06-09 18:47: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'), 46728, 'SRID=4674;POINT (-40.455825 -2.799695)', '2026-06-09 18:48:24', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455858 -2.799715)'), GeomFromEWKT('SRID=4674;POINT (-40.455825 -2.799695)'))) / (select extract(epoch from '2026-06-09 18:48:24'::timestamp) - extract(epoch from '2026-06-09 18:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455858 -2.799715)'), GeomFromEWKT('SRID=4674;POINT (-40.455825 -2.799695)'))) / (select extract(epoch from '2026-06-09 18:48:24'::timestamp) - extract(epoch from '2026-06-09 18:48: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'), 46728, 'SRID=4674;POINT (-40.455813 -2.799685)', '2026-06-09 18:48:35', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455825 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.455813 -2.799685)'))) / (select extract(epoch from '2026-06-09 18:48:35'::timestamp) - extract(epoch from '2026-06-09 18:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455825 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.455813 -2.799685)'))) / (select extract(epoch from '2026-06-09 18:48:35'::timestamp) - extract(epoch from '2026-06-09 18:48: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'), 46728, 'SRID=4674;POINT (-40.455764 -2.799678)', '2026-06-09 18:48:46', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455813 -2.799685)'), GeomFromEWKT('SRID=4674;POINT (-40.455764 -2.799678)'))) / (select extract(epoch from '2026-06-09 18:48:46'::timestamp) - extract(epoch from '2026-06-09 18:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455813 -2.799685)'), GeomFromEWKT('SRID=4674;POINT (-40.455764 -2.799678)'))) / (select extract(epoch from '2026-06-09 18:48:46'::timestamp) - extract(epoch from '2026-06-09 18:48: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'), 46728, 'SRID=4674;POINT (-40.455716 -2.799668)', '2026-06-09 18:49:02', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455764 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.455716 -2.799668)'))) / (select extract(epoch from '2026-06-09 18:49:02'::timestamp) - extract(epoch from '2026-06-09 18:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455764 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.455716 -2.799668)'))) / (select extract(epoch from '2026-06-09 18:49:02'::timestamp) - extract(epoch from '2026-06-09 18:48: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'), 46728, 'SRID=4674;POINT (-40.455635 -2.799646)', '2026-06-09 18:49:14', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455716 -2.799668)'), GeomFromEWKT('SRID=4674;POINT (-40.455635 -2.799646)'))) / (select extract(epoch from '2026-06-09 18:49:14'::timestamp) - extract(epoch from '2026-06-09 18:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455716 -2.799668)'), GeomFromEWKT('SRID=4674;POINT (-40.455635 -2.799646)'))) / (select extract(epoch from '2026-06-09 18:49:14'::timestamp) - extract(epoch from '2026-06-09 18:49: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'), 46728, 'SRID=4674;POINT (-40.455602 -2.799668)', '2026-06-09 18:49:24', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455635 -2.799646)'), GeomFromEWKT('SRID=4674;POINT (-40.455602 -2.799668)'))) / (select extract(epoch from '2026-06-09 18:49:24'::timestamp) - extract(epoch from '2026-06-09 18:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455635 -2.799646)'), GeomFromEWKT('SRID=4674;POINT (-40.455602 -2.799668)'))) / (select extract(epoch from '2026-06-09 18:49:24'::timestamp) - extract(epoch from '2026-06-09 18:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.455597 -2.799686)', '2026-06-09 18:49:37', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455602 -2.799668)'), GeomFromEWKT('SRID=4674;POINT (-40.455597 -2.799686)'))) / (select extract(epoch from '2026-06-09 18:49:37'::timestamp) - extract(epoch from '2026-06-09 18:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455602 -2.799668)'), GeomFromEWKT('SRID=4674;POINT (-40.455597 -2.799686)'))) / (select extract(epoch from '2026-06-09 18:49:37'::timestamp) - extract(epoch from '2026-06-09 18:49: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'), 46728, 'SRID=4674;POINT (-40.455567 -2.799684)', '2026-06-09 18:49:47', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455597 -2.799686)'), GeomFromEWKT('SRID=4674;POINT (-40.455567 -2.799684)'))) / (select extract(epoch from '2026-06-09 18:49:47'::timestamp) - extract(epoch from '2026-06-09 18:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455597 -2.799686)'), GeomFromEWKT('SRID=4674;POINT (-40.455567 -2.799684)'))) / (select extract(epoch from '2026-06-09 18:49:47'::timestamp) - extract(epoch from '2026-06-09 18:49: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'), 46728, 'SRID=4674;POINT (-40.455527 -2.799697)', '2026-06-09 18:50:03', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455567 -2.799684)'), GeomFromEWKT('SRID=4674;POINT (-40.455527 -2.799697)'))) / (select extract(epoch from '2026-06-09 18:50:03'::timestamp) - extract(epoch from '2026-06-09 18:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455567 -2.799684)'), GeomFromEWKT('SRID=4674;POINT (-40.455527 -2.799697)'))) / (select extract(epoch from '2026-06-09 18:50:03'::timestamp) - extract(epoch from '2026-06-09 18:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.455482 -2.799678)', '2026-06-09 18:50:15', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455527 -2.799697)'), GeomFromEWKT('SRID=4674;POINT (-40.455482 -2.799678)'))) / (select extract(epoch from '2026-06-09 18:50:15'::timestamp) - extract(epoch from '2026-06-09 18:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455527 -2.799697)'), GeomFromEWKT('SRID=4674;POINT (-40.455482 -2.799678)'))) / (select extract(epoch from '2026-06-09 18:50:15'::timestamp) - extract(epoch from '2026-06-09 18:50: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'), 46728, 'SRID=4674;POINT (-40.45545 -2.799668)', '2026-06-09 18:50:25', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455482 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.45545 -2.799668)'))) / (select extract(epoch from '2026-06-09 18:50:25'::timestamp) - extract(epoch from '2026-06-09 18:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455482 -2.799678)'), GeomFromEWKT('SRID=4674;POINT (-40.45545 -2.799668)'))) / (select extract(epoch from '2026-06-09 18:50:25'::timestamp) - extract(epoch from '2026-06-09 18:50:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.455416 -2.799674)', '2026-06-09 18:50:37', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45545 -2.799668)'), GeomFromEWKT('SRID=4674;POINT (-40.455416 -2.799674)'))) / (select extract(epoch from '2026-06-09 18:50:37'::timestamp) - extract(epoch from '2026-06-09 18:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45545 -2.799668)'), GeomFromEWKT('SRID=4674;POINT (-40.455416 -2.799674)'))) / (select extract(epoch from '2026-06-09 18:50:37'::timestamp) - extract(epoch from '2026-06-09 18:50: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'), 46728, 'SRID=4674;POINT (-40.455408 -2.79968)', '2026-06-09 18:50:46', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455416 -2.799674)'), GeomFromEWKT('SRID=4674;POINT (-40.455408 -2.79968)'))) / (select extract(epoch from '2026-06-09 18:50:46'::timestamp) - extract(epoch from '2026-06-09 18:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455416 -2.799674)'), GeomFromEWKT('SRID=4674;POINT (-40.455408 -2.79968)'))) / (select extract(epoch from '2026-06-09 18:50:46'::timestamp) - extract(epoch from '2026-06-09 18:50: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'), 46728, 'SRID=4674;POINT (-40.455366 -2.799698)', '2026-06-09 18:51:00', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455408 -2.79968)'), GeomFromEWKT('SRID=4674;POINT (-40.455366 -2.799698)'))) / (select extract(epoch from '2026-06-09 18:51:00'::timestamp) - extract(epoch from '2026-06-09 18:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455408 -2.79968)'), GeomFromEWKT('SRID=4674;POINT (-40.455366 -2.799698)'))) / (select extract(epoch from '2026-06-09 18:51:00'::timestamp) - extract(epoch from '2026-06-09 18:50: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'), 46728, 'SRID=4674;POINT (-40.455334 -2.799695)', '2026-06-09 18:51:13', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455366 -2.799698)'), GeomFromEWKT('SRID=4674;POINT (-40.455334 -2.799695)'))) / (select extract(epoch from '2026-06-09 18:51:13'::timestamp) - extract(epoch from '2026-06-09 18:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455366 -2.799698)'), GeomFromEWKT('SRID=4674;POINT (-40.455334 -2.799695)'))) / (select extract(epoch from '2026-06-09 18:51:13'::timestamp) - extract(epoch from '2026-06-09 18:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.455327 -2.799688)', '2026-06-09 18:51:23', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455334 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.455327 -2.799688)'))) / (select extract(epoch from '2026-06-09 18:51:23'::timestamp) - extract(epoch from '2026-06-09 18:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455334 -2.799695)'), GeomFromEWKT('SRID=4674;POINT (-40.455327 -2.799688)'))) / (select extract(epoch from '2026-06-09 18:51:23'::timestamp) - extract(epoch from '2026-06-09 18:51: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'), 46728, 'SRID=4674;POINT (-40.455284 -2.799702)', '2026-06-09 18:51:34', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455327 -2.799688)'), GeomFromEWKT('SRID=4674;POINT (-40.455284 -2.799702)'))) / (select extract(epoch from '2026-06-09 18:51:34'::timestamp) - extract(epoch from '2026-06-09 18:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455327 -2.799688)'), GeomFromEWKT('SRID=4674;POINT (-40.455284 -2.799702)'))) / (select extract(epoch from '2026-06-09 18:51:34'::timestamp) - extract(epoch from '2026-06-09 18:51: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'), 46728, 'SRID=4674;POINT (-40.455254 -2.799703)', '2026-06-09 18:51:41', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455284 -2.799702)'), GeomFromEWKT('SRID=4674;POINT (-40.455254 -2.799703)'))) / (select extract(epoch from '2026-06-09 18:51:41'::timestamp) - extract(epoch from '2026-06-09 18:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455284 -2.799702)'), GeomFromEWKT('SRID=4674;POINT (-40.455254 -2.799703)'))) / (select extract(epoch from '2026-06-09 18:51:41'::timestamp) - extract(epoch from '2026-06-09 18:51: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'), 46728, 'SRID=4674;POINT (-40.455198 -2.799697)', '2026-06-09 18:51:55', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455254 -2.799703)'), GeomFromEWKT('SRID=4674;POINT (-40.455198 -2.799697)'))) / (select extract(epoch from '2026-06-09 18:51:55'::timestamp) - extract(epoch from '2026-06-09 18:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455254 -2.799703)'), GeomFromEWKT('SRID=4674;POINT (-40.455198 -2.799697)'))) / (select extract(epoch from '2026-06-09 18:51:55'::timestamp) - extract(epoch from '2026-06-09 18:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.455134 -2.799679)', '2026-06-09 18:52:09', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455198 -2.799697)'), GeomFromEWKT('SRID=4674;POINT (-40.455134 -2.799679)'))) / (select extract(epoch from '2026-06-09 18:52:09'::timestamp) - extract(epoch from '2026-06-09 18:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455198 -2.799697)'), GeomFromEWKT('SRID=4674;POINT (-40.455134 -2.799679)'))) / (select extract(epoch from '2026-06-09 18:52:09'::timestamp) - extract(epoch from '2026-06-09 18:51: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'), 46728, 'SRID=4674;POINT (-40.45514 -2.799676)', '2026-06-09 18:52:22', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455134 -2.799679)'), GeomFromEWKT('SRID=4674;POINT (-40.45514 -2.799676)'))) / (select extract(epoch from '2026-06-09 18:52:22'::timestamp) - extract(epoch from '2026-06-09 18:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455134 -2.799679)'), GeomFromEWKT('SRID=4674;POINT (-40.45514 -2.799676)'))) / (select extract(epoch from '2026-06-09 18:52:22'::timestamp) - extract(epoch from '2026-06-09 18:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.455139 -2.799685)', '2026-06-09 18:52:29', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45514 -2.799676)'), GeomFromEWKT('SRID=4674;POINT (-40.455139 -2.799685)'))) / (select extract(epoch from '2026-06-09 18:52:29'::timestamp) - extract(epoch from '2026-06-09 18:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45514 -2.799676)'), GeomFromEWKT('SRID=4674;POINT (-40.455139 -2.799685)'))) / (select extract(epoch from '2026-06-09 18:52:29'::timestamp) - extract(epoch from '2026-06-09 18:52: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'), 46728, 'SRID=4674;POINT (-40.455139 -2.799689)', '2026-06-09 18:52:37', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455139 -2.799685)'), GeomFromEWKT('SRID=4674;POINT (-40.455139 -2.799689)'))) / (select extract(epoch from '2026-06-09 18:52:37'::timestamp) - extract(epoch from '2026-06-09 18:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455139 -2.799685)'), GeomFromEWKT('SRID=4674;POINT (-40.455139 -2.799689)'))) / (select extract(epoch from '2026-06-09 18:52:37'::timestamp) - extract(epoch from '2026-06-09 18:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.45514 -2.799689)', '2026-06-09 18:52:47', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455139 -2.799689)'), GeomFromEWKT('SRID=4674;POINT (-40.45514 -2.799689)'))) / (select extract(epoch from '2026-06-09 18:52:47'::timestamp) - extract(epoch from '2026-06-09 18:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455139 -2.799689)'), GeomFromEWKT('SRID=4674;POINT (-40.45514 -2.799689)'))) / (select extract(epoch from '2026-06-09 18:52:47'::timestamp) - extract(epoch from '2026-06-09 18:52: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'), 46728, 'SRID=4674;POINT (-40.455136 -2.799691)', '2026-06-09 18:52:52', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45514 -2.799689)'), GeomFromEWKT('SRID=4674;POINT (-40.455136 -2.799691)'))) / (select extract(epoch from '2026-06-09 18:52:52'::timestamp) - extract(epoch from '2026-06-09 18:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45514 -2.799689)'), GeomFromEWKT('SRID=4674;POINT (-40.455136 -2.799691)'))) / (select extract(epoch from '2026-06-09 18:52:52'::timestamp) - extract(epoch from '2026-06-09 18:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.455137 -2.799694)', '2026-06-09 18:53:01', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455136 -2.799691)'), GeomFromEWKT('SRID=4674;POINT (-40.455137 -2.799694)'))) / (select extract(epoch from '2026-06-09 18:53:01'::timestamp) - extract(epoch from '2026-06-09 18:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455136 -2.799691)'), GeomFromEWKT('SRID=4674;POINT (-40.455137 -2.799694)'))) / (select extract(epoch from '2026-06-09 18:53:01'::timestamp) - extract(epoch from '2026-06-09 18:52: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'), 46728, 'SRID=4674;POINT (-40.455142 -2.79969)', '2026-06-09 18:53:10', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455137 -2.799694)'), GeomFromEWKT('SRID=4674;POINT (-40.455142 -2.79969)'))) / (select extract(epoch from '2026-06-09 18:53:10'::timestamp) - extract(epoch from '2026-06-09 18:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455137 -2.799694)'), GeomFromEWKT('SRID=4674;POINT (-40.455142 -2.79969)'))) / (select extract(epoch from '2026-06-09 18:53:10'::timestamp) - extract(epoch from '2026-06-09 18:53: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'), 46728, 'SRID=4674;POINT (-40.455146 -2.799688)', '2026-06-09 18:53:16', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455142 -2.79969)'), GeomFromEWKT('SRID=4674;POINT (-40.455146 -2.799688)'))) / (select extract(epoch from '2026-06-09 18:53:16'::timestamp) - extract(epoch from '2026-06-09 18:53:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455142 -2.79969)'), GeomFromEWKT('SRID=4674;POINT (-40.455146 -2.799688)'))) / (select extract(epoch from '2026-06-09 18:53:16'::timestamp) - extract(epoch from '2026-06-09 18:53:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.455138 -2.799692)', '2026-06-09 18:53:27', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455146 -2.799688)'), GeomFromEWKT('SRID=4674;POINT (-40.455138 -2.799692)'))) / (select extract(epoch from '2026-06-09 18:53:27'::timestamp) - extract(epoch from '2026-06-09 18:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455146 -2.799688)'), GeomFromEWKT('SRID=4674;POINT (-40.455138 -2.799692)'))) / (select extract(epoch from '2026-06-09 18:53:27'::timestamp) - extract(epoch from '2026-06-09 18:53: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'), 46728, 'SRID=4674;POINT (-40.455098 -2.799698)', '2026-06-09 18:53:41', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455138 -2.799692)'), GeomFromEWKT('SRID=4674;POINT (-40.455098 -2.799698)'))) / (select extract(epoch from '2026-06-09 18:53:41'::timestamp) - extract(epoch from '2026-06-09 18:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455138 -2.799692)'), GeomFromEWKT('SRID=4674;POINT (-40.455098 -2.799698)'))) / (select extract(epoch from '2026-06-09 18:53:41'::timestamp) - extract(epoch from '2026-06-09 18:53: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'), 46728, 'SRID=4674;POINT (-40.455093 -2.799698)', '2026-06-09 18:53:48', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455098 -2.799698)'), GeomFromEWKT('SRID=4674;POINT (-40.455093 -2.799698)'))) / (select extract(epoch from '2026-06-09 18:53:48'::timestamp) - extract(epoch from '2026-06-09 18:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455098 -2.799698)'), GeomFromEWKT('SRID=4674;POINT (-40.455093 -2.799698)'))) / (select extract(epoch from '2026-06-09 18:53:48'::timestamp) - extract(epoch from '2026-06-09 18:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.455062 -2.799704)', '2026-06-09 18:54:02', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455093 -2.799698)'), GeomFromEWKT('SRID=4674;POINT (-40.455062 -2.799704)'))) / (select extract(epoch from '2026-06-09 18:54:02'::timestamp) - extract(epoch from '2026-06-09 18:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455093 -2.799698)'), GeomFromEWKT('SRID=4674;POINT (-40.455062 -2.799704)'))) / (select extract(epoch from '2026-06-09 18:54:02'::timestamp) - extract(epoch from '2026-06-09 18:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.455036 -2.799709)', '2026-06-09 18:54:14', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455062 -2.799704)'), GeomFromEWKT('SRID=4674;POINT (-40.455036 -2.799709)'))) / (select extract(epoch from '2026-06-09 18:54:14'::timestamp) - extract(epoch from '2026-06-09 18:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455062 -2.799704)'), GeomFromEWKT('SRID=4674;POINT (-40.455036 -2.799709)'))) / (select extract(epoch from '2026-06-09 18:54:14'::timestamp) - extract(epoch from '2026-06-09 18:54: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'), 46728, 'SRID=4674;POINT (-40.454992 -2.799703)', '2026-06-09 18:54:25', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455036 -2.799709)'), GeomFromEWKT('SRID=4674;POINT (-40.454992 -2.799703)'))) / (select extract(epoch from '2026-06-09 18:54:25'::timestamp) - extract(epoch from '2026-06-09 18:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.455036 -2.799709)'), GeomFromEWKT('SRID=4674;POINT (-40.454992 -2.799703)'))) / (select extract(epoch from '2026-06-09 18:54:25'::timestamp) - extract(epoch from '2026-06-09 18:54:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454964 -2.79969)', '2026-06-09 18:54:37', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454992 -2.799703)'), GeomFromEWKT('SRID=4674;POINT (-40.454964 -2.79969)'))) / (select extract(epoch from '2026-06-09 18:54:37'::timestamp) - extract(epoch from '2026-06-09 18:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454992 -2.799703)'), GeomFromEWKT('SRID=4674;POINT (-40.454964 -2.79969)'))) / (select extract(epoch from '2026-06-09 18:54:37'::timestamp) - extract(epoch from '2026-06-09 18:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454915 -2.799679)', '2026-06-09 18:54:48', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454964 -2.79969)'), GeomFromEWKT('SRID=4674;POINT (-40.454915 -2.799679)'))) / (select extract(epoch from '2026-06-09 18:54:48'::timestamp) - extract(epoch from '2026-06-09 18:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454964 -2.79969)'), GeomFromEWKT('SRID=4674;POINT (-40.454915 -2.799679)'))) / (select extract(epoch from '2026-06-09 18:54:48'::timestamp) - extract(epoch from '2026-06-09 18:54: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'), 46728, 'SRID=4674;POINT (-40.454869 -2.799674)', '2026-06-09 18:55:02', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454915 -2.799679)'), GeomFromEWKT('SRID=4674;POINT (-40.454869 -2.799674)'))) / (select extract(epoch from '2026-06-09 18:55:02'::timestamp) - extract(epoch from '2026-06-09 18:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454915 -2.799679)'), GeomFromEWKT('SRID=4674;POINT (-40.454869 -2.799674)'))) / (select extract(epoch from '2026-06-09 18:55:02'::timestamp) - extract(epoch from '2026-06-09 18:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454835 -2.799682)', '2026-06-09 18:55:12', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454869 -2.799674)'), GeomFromEWKT('SRID=4674;POINT (-40.454835 -2.799682)'))) / (select extract(epoch from '2026-06-09 18:55:12'::timestamp) - extract(epoch from '2026-06-09 18:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454869 -2.799674)'), GeomFromEWKT('SRID=4674;POINT (-40.454835 -2.799682)'))) / (select extract(epoch from '2026-06-09 18:55:12'::timestamp) - extract(epoch from '2026-06-09 18:55: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'), 46728, 'SRID=4674;POINT (-40.454809 -2.799682)', '2026-06-09 18:55:24', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454835 -2.799682)'), GeomFromEWKT('SRID=4674;POINT (-40.454809 -2.799682)'))) / (select extract(epoch from '2026-06-09 18:55:24'::timestamp) - extract(epoch from '2026-06-09 18:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454835 -2.799682)'), GeomFromEWKT('SRID=4674;POINT (-40.454809 -2.799682)'))) / (select extract(epoch from '2026-06-09 18:55:24'::timestamp) - extract(epoch from '2026-06-09 18:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454794 -2.799693)', '2026-06-09 18:55:31', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454809 -2.799682)'), GeomFromEWKT('SRID=4674;POINT (-40.454794 -2.799693)'))) / (select extract(epoch from '2026-06-09 18:55:31'::timestamp) - extract(epoch from '2026-06-09 18:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454809 -2.799682)'), GeomFromEWKT('SRID=4674;POINT (-40.454794 -2.799693)'))) / (select extract(epoch from '2026-06-09 18:55:31'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46728, 'SRID=4674;POINT (-40.454751 -2.799721)', '2026-06-09 18:55:44', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454794 -2.799693)'), GeomFromEWKT('SRID=4674;POINT (-40.454751 -2.799721)'))) / (select extract(epoch from '2026-06-09 18:55:44'::timestamp) - extract(epoch from '2026-06-09 18:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454794 -2.799693)'), GeomFromEWKT('SRID=4674;POINT (-40.454751 -2.799721)'))) / (select extract(epoch from '2026-06-09 18:55:44'::timestamp) - extract(epoch from '2026-06-09 18:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454723 -2.799709)', '2026-06-09 18:55:57', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454751 -2.799721)'), GeomFromEWKT('SRID=4674;POINT (-40.454723 -2.799709)'))) / (select extract(epoch from '2026-06-09 18:55:57'::timestamp) - extract(epoch from '2026-06-09 18:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454751 -2.799721)'), GeomFromEWKT('SRID=4674;POINT (-40.454723 -2.799709)'))) / (select extract(epoch from '2026-06-09 18:55:57'::timestamp) - extract(epoch from '2026-06-09 18:55: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'), 46728, 'SRID=4674;POINT (-40.454683 -2.799708)', '2026-06-09 18:56:07', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454723 -2.799709)'), GeomFromEWKT('SRID=4674;POINT (-40.454683 -2.799708)'))) / (select extract(epoch from '2026-06-09 18:56:07'::timestamp) - extract(epoch from '2026-06-09 18:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454723 -2.799709)'), GeomFromEWKT('SRID=4674;POINT (-40.454683 -2.799708)'))) / (select extract(epoch from '2026-06-09 18:56:07'::timestamp) - extract(epoch from '2026-06-09 18:55: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'), 46728, 'SRID=4674;POINT (-40.454628 -2.799721)', '2026-06-09 18:56:21', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454683 -2.799708)'), GeomFromEWKT('SRID=4674;POINT (-40.454628 -2.799721)'))) / (select extract(epoch from '2026-06-09 18:56:21'::timestamp) - extract(epoch from '2026-06-09 18:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454683 -2.799708)'), GeomFromEWKT('SRID=4674;POINT (-40.454628 -2.799721)'))) / (select extract(epoch from '2026-06-09 18:56:21'::timestamp) - extract(epoch from '2026-06-09 18:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454576 -2.79972)', '2026-06-09 18:56:35', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454628 -2.799721)'), GeomFromEWKT('SRID=4674;POINT (-40.454576 -2.79972)'))) / (select extract(epoch from '2026-06-09 18:56:35'::timestamp) - extract(epoch from '2026-06-09 18:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454628 -2.799721)'), GeomFromEWKT('SRID=4674;POINT (-40.454576 -2.79972)'))) / (select extract(epoch from '2026-06-09 18:56:35'::timestamp) - extract(epoch from '2026-06-09 18:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454527 -2.799711)', '2026-06-09 18:56:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454576 -2.79972)'), GeomFromEWKT('SRID=4674;POINT (-40.454527 -2.799711)'))) / (select extract(epoch from '2026-06-09 18:56:48'::timestamp) - extract(epoch from '2026-06-09 18:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454576 -2.79972)'), GeomFromEWKT('SRID=4674;POINT (-40.454527 -2.799711)'))) / (select extract(epoch from '2026-06-09 18:56:48'::timestamp) - extract(epoch from '2026-06-09 18:56: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'), 46728, 'SRID=4674;POINT (-40.454486 -2.7997)', '2026-06-09 18:57:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454527 -2.799711)'), GeomFromEWKT('SRID=4674;POINT (-40.454486 -2.7997)'))) / (select extract(epoch from '2026-06-09 18:57:02'::timestamp) - extract(epoch from '2026-06-09 18:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454527 -2.799711)'), GeomFromEWKT('SRID=4674;POINT (-40.454486 -2.7997)'))) / (select extract(epoch from '2026-06-09 18:57:02'::timestamp) - extract(epoch from '2026-06-09 18:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454438 -2.799713)', '2026-06-09 18:57:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454486 -2.7997)'), GeomFromEWKT('SRID=4674;POINT (-40.454438 -2.799713)'))) / (select extract(epoch from '2026-06-09 18:57:15'::timestamp) - extract(epoch from '2026-06-09 18:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454486 -2.7997)'), GeomFromEWKT('SRID=4674;POINT (-40.454438 -2.799713)'))) / (select extract(epoch from '2026-06-09 18:57:15'::timestamp) - extract(epoch from '2026-06-09 18:57: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'), 46728, 'SRID=4674;POINT (-40.45438 -2.799733)', '2026-06-09 18:57:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454438 -2.799713)'), GeomFromEWKT('SRID=4674;POINT (-40.45438 -2.799733)'))) / (select extract(epoch from '2026-06-09 18:57:28'::timestamp) - extract(epoch from '2026-06-09 18:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454438 -2.799713)'), GeomFromEWKT('SRID=4674;POINT (-40.45438 -2.799733)'))) / (select extract(epoch from '2026-06-09 18:57:28'::timestamp) - extract(epoch from '2026-06-09 18:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454335 -2.799748)', '2026-06-09 18:57:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45438 -2.799733)'), GeomFromEWKT('SRID=4674;POINT (-40.454335 -2.799748)'))) / (select extract(epoch from '2026-06-09 18:57:41'::timestamp) - extract(epoch from '2026-06-09 18:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45438 -2.799733)'), GeomFromEWKT('SRID=4674;POINT (-40.454335 -2.799748)'))) / (select extract(epoch from '2026-06-09 18:57:41'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46728, 'SRID=4674;POINT (-40.45431 -2.799749)', '2026-06-09 18:57:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454335 -2.799748)'), GeomFromEWKT('SRID=4674;POINT (-40.45431 -2.799749)'))) / (select extract(epoch from '2026-06-09 18:57:53'::timestamp) - extract(epoch from '2026-06-09 18:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454335 -2.799748)'), GeomFromEWKT('SRID=4674;POINT (-40.45431 -2.799749)'))) / (select extract(epoch from '2026-06-09 18:57:53'::timestamp) - extract(epoch from '2026-06-09 18:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454298 -2.799752)', '2026-06-09 18:58:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45431 -2.799749)'), GeomFromEWKT('SRID=4674;POINT (-40.454298 -2.799752)'))) / (select extract(epoch from '2026-06-09 18:58:07'::timestamp) - extract(epoch from '2026-06-09 18:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45431 -2.799749)'), GeomFromEWKT('SRID=4674;POINT (-40.454298 -2.799752)'))) / (select extract(epoch from '2026-06-09 18:58:07'::timestamp) - extract(epoch from '2026-06-09 18:57: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'), 46728, 'SRID=4674;POINT (-40.454289 -2.799748)', '2026-06-09 18:58:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454298 -2.799752)'), GeomFromEWKT('SRID=4674;POINT (-40.454289 -2.799748)'))) / (select extract(epoch from '2026-06-09 18:58:19'::timestamp) - extract(epoch from '2026-06-09 18:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454298 -2.799752)'), GeomFromEWKT('SRID=4674;POINT (-40.454289 -2.799748)'))) / (select extract(epoch from '2026-06-09 18:58:19'::timestamp) - extract(epoch from '2026-06-09 18:58:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454267 -2.799759)', '2026-06-09 18:58:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454289 -2.799748)'), GeomFromEWKT('SRID=4674;POINT (-40.454267 -2.799759)'))) / (select extract(epoch from '2026-06-09 18:58:34'::timestamp) - extract(epoch from '2026-06-09 18:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454289 -2.799748)'), GeomFromEWKT('SRID=4674;POINT (-40.454267 -2.799759)'))) / (select extract(epoch from '2026-06-09 18:58:34'::timestamp) - extract(epoch from '2026-06-09 18:58: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'), 46728, 'SRID=4674;POINT (-40.454276 -2.799775)', '2026-06-09 18:58:46', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454267 -2.799759)'), GeomFromEWKT('SRID=4674;POINT (-40.454276 -2.799775)'))) / (select extract(epoch from '2026-06-09 18:58:46'::timestamp) - extract(epoch from '2026-06-09 18:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454267 -2.799759)'), GeomFromEWKT('SRID=4674;POINT (-40.454276 -2.799775)'))) / (select extract(epoch from '2026-06-09 18:58:46'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46728, 'SRID=4674;POINT (-40.454271 -2.799784)', '2026-06-09 18:58:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454276 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.454271 -2.799784)'))) / (select extract(epoch from '2026-06-09 18:58:55'::timestamp) - extract(epoch from '2026-06-09 18:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454276 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.454271 -2.799784)'))) / (select extract(epoch from '2026-06-09 18:58:55'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46728, 'SRID=4674;POINT (-40.454259 -2.799792)', '2026-06-09 18:59:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454271 -2.799784)'), GeomFromEWKT('SRID=4674;POINT (-40.454259 -2.799792)'))) / (select extract(epoch from '2026-06-09 18:59:05'::timestamp) - extract(epoch from '2026-06-09 18:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454271 -2.799784)'), GeomFromEWKT('SRID=4674;POINT (-40.454259 -2.799792)'))) / (select extract(epoch from '2026-06-09 18:59:05'::timestamp) - extract(epoch from '2026-06-09 18:58: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'), 46728, 'SRID=4674;POINT (-40.454255 -2.799784)', '2026-06-09 18:59:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454259 -2.799792)'), GeomFromEWKT('SRID=4674;POINT (-40.454255 -2.799784)'))) / (select extract(epoch from '2026-06-09 18:59:15'::timestamp) - extract(epoch from '2026-06-09 18:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454259 -2.799792)'), GeomFromEWKT('SRID=4674;POINT (-40.454255 -2.799784)'))) / (select extract(epoch from '2026-06-09 18:59:15'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46728, 'SRID=4674;POINT (-40.454243 -2.799777)', '2026-06-09 18:59:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454255 -2.799784)'), GeomFromEWKT('SRID=4674;POINT (-40.454243 -2.799777)'))) / (select extract(epoch from '2026-06-09 18:59:22'::timestamp) - extract(epoch from '2026-06-09 18:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454255 -2.799784)'), GeomFromEWKT('SRID=4674;POINT (-40.454243 -2.799777)'))) / (select extract(epoch from '2026-06-09 18:59:22'::timestamp) - extract(epoch from '2026-06-09 18:59:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454214 -2.799781)', '2026-06-09 18:59:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454243 -2.799777)'), GeomFromEWKT('SRID=4674;POINT (-40.454214 -2.799781)'))) / (select extract(epoch from '2026-06-09 18:59:32'::timestamp) - extract(epoch from '2026-06-09 18:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454243 -2.799777)'), GeomFromEWKT('SRID=4674;POINT (-40.454214 -2.799781)'))) / (select extract(epoch from '2026-06-09 18:59:32'::timestamp) - extract(epoch from '2026-06-09 18:59: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'), 46728, 'SRID=4674;POINT (-40.454171 -2.799787)', '2026-06-09 18:59:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454214 -2.799781)'), GeomFromEWKT('SRID=4674;POINT (-40.454171 -2.799787)'))) / (select extract(epoch from '2026-06-09 18:59:43'::timestamp) - extract(epoch from '2026-06-09 18:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454214 -2.799781)'), GeomFromEWKT('SRID=4674;POINT (-40.454171 -2.799787)'))) / (select extract(epoch from '2026-06-09 18:59:43'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46728, 'SRID=4674;POINT (-40.454136 -2.799789)', '2026-06-09 18:59:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454171 -2.799787)'), GeomFromEWKT('SRID=4674;POINT (-40.454136 -2.799789)'))) / (select extract(epoch from '2026-06-09 18:59:55'::timestamp) - extract(epoch from '2026-06-09 18:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454171 -2.799787)'), GeomFromEWKT('SRID=4674;POINT (-40.454136 -2.799789)'))) / (select extract(epoch from '2026-06-09 18:59:55'::timestamp) - extract(epoch from '2026-06-09 18: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'), 46728, 'SRID=4674;POINT (-40.454134 -2.799771)', '2026-06-09 19:00:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454136 -2.799789)'), GeomFromEWKT('SRID=4674;POINT (-40.454134 -2.799771)'))) / (select extract(epoch from '2026-06-09 19:00:06'::timestamp) - extract(epoch from '2026-06-09 18:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454136 -2.799789)'), GeomFromEWKT('SRID=4674;POINT (-40.454134 -2.799771)'))) / (select extract(epoch from '2026-06-09 19:00:06'::timestamp) - extract(epoch from '2026-06-09 18:59: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'), 46728, 'SRID=4674;POINT (-40.454138 -2.799764)', '2026-06-09 19:00:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454134 -2.799771)'), GeomFromEWKT('SRID=4674;POINT (-40.454138 -2.799764)'))) / (select extract(epoch from '2026-06-09 19:00:13'::timestamp) - extract(epoch from '2026-06-09 19:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454134 -2.799771)'), GeomFromEWKT('SRID=4674;POINT (-40.454138 -2.799764)'))) / (select extract(epoch from '2026-06-09 19:00:13'::timestamp) - extract(epoch from '2026-06-09 19:00: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'), 46728, 'SRID=4674;POINT (-40.454137 -2.799762)', '2026-06-09 19:00:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454138 -2.799764)'), GeomFromEWKT('SRID=4674;POINT (-40.454137 -2.799762)'))) / (select extract(epoch from '2026-06-09 19:00:24'::timestamp) - extract(epoch from '2026-06-09 19:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454138 -2.799764)'), GeomFromEWKT('SRID=4674;POINT (-40.454137 -2.799762)'))) / (select extract(epoch from '2026-06-09 19:00:24'::timestamp) - extract(epoch from '2026-06-09 19:00: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'), 46728, 'SRID=4674;POINT (-40.454137 -2.799768)', '2026-06-09 19:00:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454137 -2.799762)'), GeomFromEWKT('SRID=4674;POINT (-40.454137 -2.799768)'))) / (select extract(epoch from '2026-06-09 19:00:32'::timestamp) - extract(epoch from '2026-06-09 19:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454137 -2.799762)'), GeomFromEWKT('SRID=4674;POINT (-40.454137 -2.799768)'))) / (select extract(epoch from '2026-06-09 19:00:32'::timestamp) - extract(epoch from '2026-06-09 19:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.45414 -2.799782)', '2026-06-09 19:00:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454137 -2.799768)'), GeomFromEWKT('SRID=4674;POINT (-40.45414 -2.799782)'))) / (select extract(epoch from '2026-06-09 19:00:41'::timestamp) - extract(epoch from '2026-06-09 19:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454137 -2.799768)'), GeomFromEWKT('SRID=4674;POINT (-40.45414 -2.799782)'))) / (select extract(epoch from '2026-06-09 19:00:41'::timestamp) - extract(epoch from '2026-06-09 19:00: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'), 46728, 'SRID=4674;POINT (-40.454135 -2.799793)', '2026-06-09 19:00:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45414 -2.799782)'), GeomFromEWKT('SRID=4674;POINT (-40.454135 -2.799793)'))) / (select extract(epoch from '2026-06-09 19:00:49'::timestamp) - extract(epoch from '2026-06-09 19:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45414 -2.799782)'), GeomFromEWKT('SRID=4674;POINT (-40.454135 -2.799793)'))) / (select extract(epoch from '2026-06-09 19:00:49'::timestamp) - extract(epoch from '2026-06-09 19:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454142 -2.799796)', '2026-06-09 19:00:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454135 -2.799793)'), GeomFromEWKT('SRID=4674;POINT (-40.454142 -2.799796)'))) / (select extract(epoch from '2026-06-09 19:00:58'::timestamp) - extract(epoch from '2026-06-09 19:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454135 -2.799793)'), GeomFromEWKT('SRID=4674;POINT (-40.454142 -2.799796)'))) / (select extract(epoch from '2026-06-09 19:00:58'::timestamp) - extract(epoch from '2026-06-09 19:00: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'), 46728, 'SRID=4674;POINT (-40.454139 -2.7998)', '2026-06-09 19:01:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454142 -2.799796)'), GeomFromEWKT('SRID=4674;POINT (-40.454139 -2.7998)'))) / (select extract(epoch from '2026-06-09 19:01:08'::timestamp) - extract(epoch from '2026-06-09 19:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454142 -2.799796)'), GeomFromEWKT('SRID=4674;POINT (-40.454139 -2.7998)'))) / (select extract(epoch from '2026-06-09 19:01:08'::timestamp) - extract(epoch from '2026-06-09 19: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'), 46728, 'SRID=4674;POINT (-40.45412 -2.799808)', '2026-06-09 19:01:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454139 -2.7998)'), GeomFromEWKT('SRID=4674;POINT (-40.45412 -2.799808)'))) / (select extract(epoch from '2026-06-09 19:01:16'::timestamp) - extract(epoch from '2026-06-09 19:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454139 -2.7998)'), GeomFromEWKT('SRID=4674;POINT (-40.45412 -2.799808)'))) / (select extract(epoch from '2026-06-09 19:01:16'::timestamp) - extract(epoch from '2026-06-09 19:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.454068 -2.799828)', '2026-06-09 19:01:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45412 -2.799808)'), GeomFromEWKT('SRID=4674;POINT (-40.454068 -2.799828)'))) / (select extract(epoch from '2026-06-09 19:01:30'::timestamp) - extract(epoch from '2026-06-09 19:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45412 -2.799808)'), GeomFromEWKT('SRID=4674;POINT (-40.454068 -2.799828)'))) / (select extract(epoch from '2026-06-09 19:01:30'::timestamp) - extract(epoch from '2026-06-09 19:01: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'), 46728, 'SRID=4674;POINT (-40.454019 -2.799847)', '2026-06-09 19:01:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454068 -2.799828)'), GeomFromEWKT('SRID=4674;POINT (-40.454019 -2.799847)'))) / (select extract(epoch from '2026-06-09 19:01:43'::timestamp) - extract(epoch from '2026-06-09 19:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454068 -2.799828)'), GeomFromEWKT('SRID=4674;POINT (-40.454019 -2.799847)'))) / (select extract(epoch from '2026-06-09 19:01:43'::timestamp) - extract(epoch from '2026-06-09 19:01: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'), 46728, 'SRID=4674;POINT (-40.453953 -2.79982)', '2026-06-09 19:01:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454019 -2.799847)'), GeomFromEWKT('SRID=4674;POINT (-40.453953 -2.79982)'))) / (select extract(epoch from '2026-06-09 19:01:56'::timestamp) - extract(epoch from '2026-06-09 19:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.454019 -2.799847)'), GeomFromEWKT('SRID=4674;POINT (-40.453953 -2.79982)'))) / (select extract(epoch from '2026-06-09 19:01:56'::timestamp) - extract(epoch from '2026-06-09 19:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.453925 -2.799803)', '2026-06-09 19:02:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453953 -2.79982)'), GeomFromEWKT('SRID=4674;POINT (-40.453925 -2.799803)'))) / (select extract(epoch from '2026-06-09 19:02:08'::timestamp) - extract(epoch from '2026-06-09 19:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453953 -2.79982)'), GeomFromEWKT('SRID=4674;POINT (-40.453925 -2.799803)'))) / (select extract(epoch from '2026-06-09 19:02:08'::timestamp) - extract(epoch from '2026-06-09 19:01: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'), 46728, 'SRID=4674;POINT (-40.453882 -2.799793)', '2026-06-09 19:02:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453925 -2.799803)'), GeomFromEWKT('SRID=4674;POINT (-40.453882 -2.799793)'))) / (select extract(epoch from '2026-06-09 19:02:21'::timestamp) - extract(epoch from '2026-06-09 19:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453925 -2.799803)'), GeomFromEWKT('SRID=4674;POINT (-40.453882 -2.799793)'))) / (select extract(epoch from '2026-06-09 19:02:21'::timestamp) - extract(epoch from '2026-06-09 19:02: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'), 46728, 'SRID=4674;POINT (-40.453853 -2.799795)', '2026-06-09 19:02:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453882 -2.799793)'), GeomFromEWKT('SRID=4674;POINT (-40.453853 -2.799795)'))) / (select extract(epoch from '2026-06-09 19:02:33'::timestamp) - extract(epoch from '2026-06-09 19:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453882 -2.799793)'), GeomFromEWKT('SRID=4674;POINT (-40.453853 -2.799795)'))) / (select extract(epoch from '2026-06-09 19:02:33'::timestamp) - extract(epoch from '2026-06-09 19:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.453836 -2.799803)', '2026-06-09 19:02:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453853 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.453836 -2.799803)'))) / (select extract(epoch from '2026-06-09 19:02:41'::timestamp) - extract(epoch from '2026-06-09 19:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453853 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.453836 -2.799803)'))) / (select extract(epoch from '2026-06-09 19:02:41'::timestamp) - extract(epoch from '2026-06-09 19:02: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'), 46728, 'SRID=4674;POINT (-40.453822 -2.79981)', '2026-06-09 19:02:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453836 -2.799803)'), GeomFromEWKT('SRID=4674;POINT (-40.453822 -2.79981)'))) / (select extract(epoch from '2026-06-09 19:02:50'::timestamp) - extract(epoch from '2026-06-09 19:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453836 -2.799803)'), GeomFromEWKT('SRID=4674;POINT (-40.453822 -2.79981)'))) / (select extract(epoch from '2026-06-09 19:02:50'::timestamp) - extract(epoch from '2026-06-09 19:02:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.453799 -2.799823)', '2026-06-09 19:02:59', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453822 -2.79981)'), GeomFromEWKT('SRID=4674;POINT (-40.453799 -2.799823)'))) / (select extract(epoch from '2026-06-09 19:02:59'::timestamp) - extract(epoch from '2026-06-09 19:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453822 -2.79981)'), GeomFromEWKT('SRID=4674;POINT (-40.453799 -2.799823)'))) / (select extract(epoch from '2026-06-09 19:02:59'::timestamp) - extract(epoch from '2026-06-09 19:02: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'), 46728, 'SRID=4674;POINT (-40.453775 -2.799829)', '2026-06-09 19:03:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453799 -2.799823)'), GeomFromEWKT('SRID=4674;POINT (-40.453775 -2.799829)'))) / (select extract(epoch from '2026-06-09 19:03:10'::timestamp) - extract(epoch from '2026-06-09 19:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453799 -2.799823)'), GeomFromEWKT('SRID=4674;POINT (-40.453775 -2.799829)'))) / (select extract(epoch from '2026-06-09 19:03:10'::timestamp) - extract(epoch from '2026-06-09 19:02: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'), 46728, 'SRID=4674;POINT (-40.453742 -2.799835)', '2026-06-09 19:03:19', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453775 -2.799829)'), GeomFromEWKT('SRID=4674;POINT (-40.453742 -2.799835)'))) / (select extract(epoch from '2026-06-09 19:03:19'::timestamp) - extract(epoch from '2026-06-09 19:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453775 -2.799829)'), GeomFromEWKT('SRID=4674;POINT (-40.453742 -2.799835)'))) / (select extract(epoch from '2026-06-09 19:03:19'::timestamp) - extract(epoch from '2026-06-09 19:03: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'), 46728, 'SRID=4674;POINT (-40.453708 -2.799805)', '2026-06-09 19:03:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453742 -2.799835)'), GeomFromEWKT('SRID=4674;POINT (-40.453708 -2.799805)'))) / (select extract(epoch from '2026-06-09 19:03:33'::timestamp) - extract(epoch from '2026-06-09 19:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453742 -2.799835)'), GeomFromEWKT('SRID=4674;POINT (-40.453708 -2.799805)'))) / (select extract(epoch from '2026-06-09 19:03:33'::timestamp) - extract(epoch from '2026-06-09 19:03: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'), 46728, 'SRID=4674;POINT (-40.453688 -2.799798)', '2026-06-09 19:03:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453708 -2.799805)'), GeomFromEWKT('SRID=4674;POINT (-40.453688 -2.799798)'))) / (select extract(epoch from '2026-06-09 19:03:42'::timestamp) - extract(epoch from '2026-06-09 19:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453708 -2.799805)'), GeomFromEWKT('SRID=4674;POINT (-40.453688 -2.799798)'))) / (select extract(epoch from '2026-06-09 19:03:42'::timestamp) - extract(epoch from '2026-06-09 19:03: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'), 46728, 'SRID=4674;POINT (-40.453629 -2.799841)', '2026-06-09 19:03:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453688 -2.799798)'), GeomFromEWKT('SRID=4674;POINT (-40.453629 -2.799841)'))) / (select extract(epoch from '2026-06-09 19:03:55'::timestamp) - extract(epoch from '2026-06-09 19:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453688 -2.799798)'), GeomFromEWKT('SRID=4674;POINT (-40.453629 -2.799841)'))) / (select extract(epoch from '2026-06-09 19:03:55'::timestamp) - extract(epoch from '2026-06-09 19:03: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'), 46728, 'SRID=4674;POINT (-40.453606 -2.799839)', '2026-06-09 19:04:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453629 -2.799841)'), GeomFromEWKT('SRID=4674;POINT (-40.453606 -2.799839)'))) / (select extract(epoch from '2026-06-09 19:04:08'::timestamp) - extract(epoch from '2026-06-09 19:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453629 -2.799841)'), GeomFromEWKT('SRID=4674;POINT (-40.453606 -2.799839)'))) / (select extract(epoch from '2026-06-09 19:04:08'::timestamp) - extract(epoch from '2026-06-09 19:03: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'), 46728, 'SRID=4674;POINT (-40.45361 -2.799848)', '2026-06-09 19:04:22', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453606 -2.799839)'), GeomFromEWKT('SRID=4674;POINT (-40.45361 -2.799848)'))) / (select extract(epoch from '2026-06-09 19:04:22'::timestamp) - extract(epoch from '2026-06-09 19:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453606 -2.799839)'), GeomFromEWKT('SRID=4674;POINT (-40.45361 -2.799848)'))) / (select extract(epoch from '2026-06-09 19:04:22'::timestamp) - extract(epoch from '2026-06-09 19:04: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'), 46728, 'SRID=4674;POINT (-40.453614 -2.799838)', '2026-06-09 19:04:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45361 -2.799848)'), GeomFromEWKT('SRID=4674;POINT (-40.453614 -2.799838)'))) / (select extract(epoch from '2026-06-09 19:04:31'::timestamp) - extract(epoch from '2026-06-09 19:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45361 -2.799848)'), GeomFromEWKT('SRID=4674;POINT (-40.453614 -2.799838)'))) / (select extract(epoch from '2026-06-09 19:04:31'::timestamp) - extract(epoch from '2026-06-09 19:04: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'), 46728, 'SRID=4674;POINT (-40.453611 -2.799836)', '2026-06-09 19:04:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453614 -2.799838)'), GeomFromEWKT('SRID=4674;POINT (-40.453611 -2.799836)'))) / (select extract(epoch from '2026-06-09 19:04:40'::timestamp) - extract(epoch from '2026-06-09 19:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453614 -2.799838)'), GeomFromEWKT('SRID=4674;POINT (-40.453611 -2.799836)'))) / (select extract(epoch from '2026-06-09 19:04:40'::timestamp) - extract(epoch from '2026-06-09 19:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.45361 -2.799837)', '2026-06-09 19:04:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453611 -2.799836)'), GeomFromEWKT('SRID=4674;POINT (-40.45361 -2.799837)'))) / (select extract(epoch from '2026-06-09 19:04:49'::timestamp) - extract(epoch from '2026-06-09 19:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453611 -2.799836)'), GeomFromEWKT('SRID=4674;POINT (-40.45361 -2.799837)'))) / (select extract(epoch from '2026-06-09 19:04:49'::timestamp) - extract(epoch from '2026-06-09 19:04: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'), 46728, 'SRID=4674;POINT (-40.453607 -2.79984)', '2026-06-09 19:04:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45361 -2.799837)'), GeomFromEWKT('SRID=4674;POINT (-40.453607 -2.79984)'))) / (select extract(epoch from '2026-06-09 19:04:56'::timestamp) - extract(epoch from '2026-06-09 19:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45361 -2.799837)'), GeomFromEWKT('SRID=4674;POINT (-40.453607 -2.79984)'))) / (select extract(epoch from '2026-06-09 19:04:56'::timestamp) - extract(epoch from '2026-06-09 19:04: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'), 46728, 'SRID=4674;POINT (-40.453604 -2.799836)', '2026-06-09 19:05:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453607 -2.79984)'), GeomFromEWKT('SRID=4674;POINT (-40.453604 -2.799836)'))) / (select extract(epoch from '2026-06-09 19:05:09'::timestamp) - extract(epoch from '2026-06-09 19:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453607 -2.79984)'), GeomFromEWKT('SRID=4674;POINT (-40.453604 -2.799836)'))) / (select extract(epoch from '2026-06-09 19:05:09'::timestamp) - extract(epoch from '2026-06-09 19:04: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'), 46728, 'SRID=4674;POINT (-40.453608 -2.799826)', '2026-06-09 19:05:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453604 -2.799836)'), GeomFromEWKT('SRID=4674;POINT (-40.453608 -2.799826)'))) / (select extract(epoch from '2026-06-09 19:05:18'::timestamp) - extract(epoch from '2026-06-09 19:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453604 -2.799836)'), GeomFromEWKT('SRID=4674;POINT (-40.453608 -2.799826)'))) / (select extract(epoch from '2026-06-09 19:05:18'::timestamp) - extract(epoch from '2026-06-09 19:05: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'), 46728, 'SRID=4674;POINT (-40.453606 -2.799829)', '2026-06-09 19:05:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453608 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.453606 -2.799829)'))) / (select extract(epoch from '2026-06-09 19:05:28'::timestamp) - extract(epoch from '2026-06-09 19:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453608 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.453606 -2.799829)'))) / (select extract(epoch from '2026-06-09 19:05:28'::timestamp) - extract(epoch from '2026-06-09 19:05: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'), 46728, 'SRID=4674;POINT (-40.453601 -2.79983)', '2026-06-09 19:05:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453606 -2.799829)'), GeomFromEWKT('SRID=4674;POINT (-40.453601 -2.79983)'))) / (select extract(epoch from '2026-06-09 19:05:36'::timestamp) - extract(epoch from '2026-06-09 19:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453606 -2.799829)'), GeomFromEWKT('SRID=4674;POINT (-40.453601 -2.79983)'))) / (select extract(epoch from '2026-06-09 19:05:36'::timestamp) - extract(epoch from '2026-06-09 19:05: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'), 46728, 'SRID=4674;POINT (-40.4536 -2.799824)', '2026-06-09 19:05:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453601 -2.79983)'), GeomFromEWKT('SRID=4674;POINT (-40.4536 -2.799824)'))) / (select extract(epoch from '2026-06-09 19:05:45'::timestamp) - extract(epoch from '2026-06-09 19:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453601 -2.79983)'), GeomFromEWKT('SRID=4674;POINT (-40.4536 -2.799824)'))) / (select extract(epoch from '2026-06-09 19:05:45'::timestamp) - extract(epoch from '2026-06-09 19:05: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'), 46728, 'SRID=4674;POINT (-40.453601 -2.799821)', '2026-06-09 19:05:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4536 -2.799824)'), GeomFromEWKT('SRID=4674;POINT (-40.453601 -2.799821)'))) / (select extract(epoch from '2026-06-09 19:05:54'::timestamp) - extract(epoch from '2026-06-09 19:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4536 -2.799824)'), GeomFromEWKT('SRID=4674;POINT (-40.453601 -2.799821)'))) / (select extract(epoch from '2026-06-09 19:05:54'::timestamp) - extract(epoch from '2026-06-09 19:05: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'), 46728, 'SRID=4674;POINT (-40.4536 -2.799821)', '2026-06-09 19:06:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453601 -2.799821)'), GeomFromEWKT('SRID=4674;POINT (-40.4536 -2.799821)'))) / (select extract(epoch from '2026-06-09 19:06:01'::timestamp) - extract(epoch from '2026-06-09 19:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453601 -2.799821)'), GeomFromEWKT('SRID=4674;POINT (-40.4536 -2.799821)'))) / (select extract(epoch from '2026-06-09 19:06:01'::timestamp) - extract(epoch from '2026-06-09 19:05: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'), 46728, 'SRID=4674;POINT (-40.453594 -2.799821)', '2026-06-09 19:06:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4536 -2.799821)'), GeomFromEWKT('SRID=4674;POINT (-40.453594 -2.799821)'))) / (select extract(epoch from '2026-06-09 19:06:14'::timestamp) - extract(epoch from '2026-06-09 19:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4536 -2.799821)'), GeomFromEWKT('SRID=4674;POINT (-40.453594 -2.799821)'))) / (select extract(epoch from '2026-06-09 19:06:14'::timestamp) - extract(epoch from '2026-06-09 19:06: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'), 46728, 'SRID=4674;POINT (-40.453585 -2.799833)', '2026-06-09 19:06:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453594 -2.799821)'), GeomFromEWKT('SRID=4674;POINT (-40.453585 -2.799833)'))) / (select extract(epoch from '2026-06-09 19:06:21'::timestamp) - extract(epoch from '2026-06-09 19:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453594 -2.799821)'), GeomFromEWKT('SRID=4674;POINT (-40.453585 -2.799833)'))) / (select extract(epoch from '2026-06-09 19:06:21'::timestamp) - extract(epoch from '2026-06-09 19:06:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.453566 -2.799878)', '2026-06-09 19:06:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453585 -2.799833)'), GeomFromEWKT('SRID=4674;POINT (-40.453566 -2.799878)'))) / (select extract(epoch from '2026-06-09 19:06:34'::timestamp) - extract(epoch from '2026-06-09 19:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453585 -2.799833)'), GeomFromEWKT('SRID=4674;POINT (-40.453566 -2.799878)'))) / (select extract(epoch from '2026-06-09 19:06:34'::timestamp) - extract(epoch from '2026-06-09 19:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.453532 -2.799884)', '2026-06-09 19:06:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453566 -2.799878)'), GeomFromEWKT('SRID=4674;POINT (-40.453532 -2.799884)'))) / (select extract(epoch from '2026-06-09 19:06:46'::timestamp) - extract(epoch from '2026-06-09 19:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453566 -2.799878)'), GeomFromEWKT('SRID=4674;POINT (-40.453532 -2.799884)'))) / (select extract(epoch from '2026-06-09 19:06:46'::timestamp) - extract(epoch from '2026-06-09 19:06: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'), 46728, 'SRID=4674;POINT (-40.453517 -2.799838)', '2026-06-09 19:06:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453532 -2.799884)'), GeomFromEWKT('SRID=4674;POINT (-40.453517 -2.799838)'))) / (select extract(epoch from '2026-06-09 19:06:57'::timestamp) - extract(epoch from '2026-06-09 19:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453532 -2.799884)'), GeomFromEWKT('SRID=4674;POINT (-40.453517 -2.799838)'))) / (select extract(epoch from '2026-06-09 19:06:57'::timestamp) - extract(epoch from '2026-06-09 19:06: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'), 46728, 'SRID=4674;POINT (-40.453498 -2.7998)', '2026-06-09 19:07:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453517 -2.799838)'), GeomFromEWKT('SRID=4674;POINT (-40.453498 -2.7998)'))) / (select extract(epoch from '2026-06-09 19:07:08'::timestamp) - extract(epoch from '2026-06-09 19:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453517 -2.799838)'), GeomFromEWKT('SRID=4674;POINT (-40.453498 -2.7998)'))) / (select extract(epoch from '2026-06-09 19:07:08'::timestamp) - extract(epoch from '2026-06-09 19:06: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'), 46728, 'SRID=4674;POINT (-40.453488 -2.799797)', '2026-06-09 19:07:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453498 -2.7998)'), GeomFromEWKT('SRID=4674;POINT (-40.453488 -2.799797)'))) / (select extract(epoch from '2026-06-09 19:07:17'::timestamp) - extract(epoch from '2026-06-09 19:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453498 -2.7998)'), GeomFromEWKT('SRID=4674;POINT (-40.453488 -2.799797)'))) / (select extract(epoch from '2026-06-09 19:07:17'::timestamp) - extract(epoch from '2026-06-09 19:07: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'), 46728, 'SRID=4674;POINT (-40.453478 -2.799814)', '2026-06-09 19:07:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453488 -2.799797)'), GeomFromEWKT('SRID=4674;POINT (-40.453478 -2.799814)'))) / (select extract(epoch from '2026-06-09 19:07:29'::timestamp) - extract(epoch from '2026-06-09 19:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453488 -2.799797)'), GeomFromEWKT('SRID=4674;POINT (-40.453478 -2.799814)'))) / (select extract(epoch from '2026-06-09 19:07:29'::timestamp) - extract(epoch from '2026-06-09 19:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.453481 -2.799813)', '2026-06-09 19:07:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453478 -2.799814)'), GeomFromEWKT('SRID=4674;POINT (-40.453481 -2.799813)'))) / (select extract(epoch from '2026-06-09 19:07:38'::timestamp) - extract(epoch from '2026-06-09 19:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453478 -2.799814)'), GeomFromEWKT('SRID=4674;POINT (-40.453481 -2.799813)'))) / (select extract(epoch from '2026-06-09 19:07:38'::timestamp) - extract(epoch from '2026-06-09 19:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.453481 -2.799814)', '2026-06-09 19:07:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453481 -2.799813)'), GeomFromEWKT('SRID=4674;POINT (-40.453481 -2.799814)'))) / (select extract(epoch from '2026-06-09 19:07:48'::timestamp) - extract(epoch from '2026-06-09 19:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453481 -2.799813)'), GeomFromEWKT('SRID=4674;POINT (-40.453481 -2.799814)'))) / (select extract(epoch from '2026-06-09 19:07:48'::timestamp) - extract(epoch from '2026-06-09 19:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.453476 -2.799817)', '2026-06-09 19:07:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453481 -2.799814)'), GeomFromEWKT('SRID=4674;POINT (-40.453476 -2.799817)'))) / (select extract(epoch from '2026-06-09 19:07:53'::timestamp) - extract(epoch from '2026-06-09 19:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453481 -2.799814)'), GeomFromEWKT('SRID=4674;POINT (-40.453476 -2.799817)'))) / (select extract(epoch from '2026-06-09 19:07:53'::timestamp) - extract(epoch from '2026-06-09 19:07: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'), 46728, 'SRID=4674;POINT (-40.453475 -2.799816)', '2026-06-09 19:08:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453476 -2.799817)'), GeomFromEWKT('SRID=4674;POINT (-40.453475 -2.799816)'))) / (select extract(epoch from '2026-06-09 19:08:01'::timestamp) - extract(epoch from '2026-06-09 19:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453476 -2.799817)'), GeomFromEWKT('SRID=4674;POINT (-40.453475 -2.799816)'))) / (select extract(epoch from '2026-06-09 19:08:01'::timestamp) - extract(epoch from '2026-06-09 19:07: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'), 46728, 'SRID=4674;POINT (-40.453464 -2.799816)', '2026-06-09 19:08:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453475 -2.799816)'), GeomFromEWKT('SRID=4674;POINT (-40.453464 -2.799816)'))) / (select extract(epoch from '2026-06-09 19:08:11'::timestamp) - extract(epoch from '2026-06-09 19:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453475 -2.799816)'), GeomFromEWKT('SRID=4674;POINT (-40.453464 -2.799816)'))) / (select extract(epoch from '2026-06-09 19:08:11'::timestamp) - extract(epoch from '2026-06-09 19:08: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'), 46728, 'SRID=4674;POINT (-40.453462 -2.799817)', '2026-06-09 19:08:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453464 -2.799816)'), GeomFromEWKT('SRID=4674;POINT (-40.453462 -2.799817)'))) / (select extract(epoch from '2026-06-09 19:08:22'::timestamp) - extract(epoch from '2026-06-09 19:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453464 -2.799816)'), GeomFromEWKT('SRID=4674;POINT (-40.453462 -2.799817)'))) / (select extract(epoch from '2026-06-09 19:08:22'::timestamp) - extract(epoch from '2026-06-09 19:08: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'), 46728, 'SRID=4674;POINT (-40.45346 -2.799828)', '2026-06-09 19:08:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453462 -2.799817)'), GeomFromEWKT('SRID=4674;POINT (-40.45346 -2.799828)'))) / (select extract(epoch from '2026-06-09 19:08:28'::timestamp) - extract(epoch from '2026-06-09 19:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453462 -2.799817)'), GeomFromEWKT('SRID=4674;POINT (-40.45346 -2.799828)'))) / (select extract(epoch from '2026-06-09 19:08:28'::timestamp) - extract(epoch from '2026-06-09 19:08: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'), 46728, 'SRID=4674;POINT (-40.453461 -2.799842)', '2026-06-09 19:08:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45346 -2.799828)'), GeomFromEWKT('SRID=4674;POINT (-40.453461 -2.799842)'))) / (select extract(epoch from '2026-06-09 19:08:38'::timestamp) - extract(epoch from '2026-06-09 19:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45346 -2.799828)'), GeomFromEWKT('SRID=4674;POINT (-40.453461 -2.799842)'))) / (select extract(epoch from '2026-06-09 19:08:38'::timestamp) - extract(epoch from '2026-06-09 19:08: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'), 46728, 'SRID=4674;POINT (-40.453455 -2.799843)', '2026-06-09 19:08:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453461 -2.799842)'), GeomFromEWKT('SRID=4674;POINT (-40.453455 -2.799843)'))) / (select extract(epoch from '2026-06-09 19:08:50'::timestamp) - extract(epoch from '2026-06-09 19:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453461 -2.799842)'), GeomFromEWKT('SRID=4674;POINT (-40.453455 -2.799843)'))) / (select extract(epoch from '2026-06-09 19:08:50'::timestamp) - extract(epoch from '2026-06-09 19:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.453425 -2.799837)', '2026-06-09 19:08:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453455 -2.799843)'), GeomFromEWKT('SRID=4674;POINT (-40.453425 -2.799837)'))) / (select extract(epoch from '2026-06-09 19:08:58'::timestamp) - extract(epoch from '2026-06-09 19:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453455 -2.799843)'), GeomFromEWKT('SRID=4674;POINT (-40.453425 -2.799837)'))) / (select extract(epoch from '2026-06-09 19:08:58'::timestamp) - extract(epoch from '2026-06-09 19:08: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'), 46728, 'SRID=4674;POINT (-40.45339 -2.799826)', '2026-06-09 19:09:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453425 -2.799837)'), GeomFromEWKT('SRID=4674;POINT (-40.45339 -2.799826)'))) / (select extract(epoch from '2026-06-09 19:09:09'::timestamp) - extract(epoch from '2026-06-09 19:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453425 -2.799837)'), GeomFromEWKT('SRID=4674;POINT (-40.45339 -2.799826)'))) / (select extract(epoch from '2026-06-09 19:09:09'::timestamp) - extract(epoch from '2026-06-09 19:08: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'), 46728, 'SRID=4674;POINT (-40.453375 -2.799826)', '2026-06-09 19:09:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45339 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.453375 -2.799826)'))) / (select extract(epoch from '2026-06-09 19:09:21'::timestamp) - extract(epoch from '2026-06-09 19:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45339 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.453375 -2.799826)'))) / (select extract(epoch from '2026-06-09 19:09:21'::timestamp) - extract(epoch from '2026-06-09 19:09: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'), 46728, 'SRID=4674;POINT (-40.453322 -2.799835)', '2026-06-09 19:09:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453375 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.453322 -2.799835)'))) / (select extract(epoch from '2026-06-09 19:09:36'::timestamp) - extract(epoch from '2026-06-09 19:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453375 -2.799826)'), GeomFromEWKT('SRID=4674;POINT (-40.453322 -2.799835)'))) / (select extract(epoch from '2026-06-09 19:09:36'::timestamp) - extract(epoch from '2026-06-09 19:09:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.453283 -2.799828)', '2026-06-09 19:09:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453322 -2.799835)'), GeomFromEWKT('SRID=4674;POINT (-40.453283 -2.799828)'))) / (select extract(epoch from '2026-06-09 19:09:48'::timestamp) - extract(epoch from '2026-06-09 19:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453322 -2.799835)'), GeomFromEWKT('SRID=4674;POINT (-40.453283 -2.799828)'))) / (select extract(epoch from '2026-06-09 19:09:48'::timestamp) - extract(epoch from '2026-06-09 19:09: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'), 46728, 'SRID=4674;POINT (-40.453253 -2.799859)', '2026-06-09 19:10:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453283 -2.799828)'), GeomFromEWKT('SRID=4674;POINT (-40.453253 -2.799859)'))) / (select extract(epoch from '2026-06-09 19:10:02'::timestamp) - extract(epoch from '2026-06-09 19:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453283 -2.799828)'), GeomFromEWKT('SRID=4674;POINT (-40.453253 -2.799859)'))) / (select extract(epoch from '2026-06-09 19:10:02'::timestamp) - extract(epoch from '2026-06-09 19:09: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'), 46728, 'SRID=4674;POINT (-40.45321 -2.799873)', '2026-06-09 19:10:13', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453253 -2.799859)'), GeomFromEWKT('SRID=4674;POINT (-40.45321 -2.799873)'))) / (select extract(epoch from '2026-06-09 19:10:13'::timestamp) - extract(epoch from '2026-06-09 19:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453253 -2.799859)'), GeomFromEWKT('SRID=4674;POINT (-40.45321 -2.799873)'))) / (select extract(epoch from '2026-06-09 19:10:13'::timestamp) - extract(epoch from '2026-06-09 19:10: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'), 46728, 'SRID=4674;POINT (-40.45317 -2.799861)', '2026-06-09 19:10:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45321 -2.799873)'), GeomFromEWKT('SRID=4674;POINT (-40.45317 -2.799861)'))) / (select extract(epoch from '2026-06-09 19:10:25'::timestamp) - extract(epoch from '2026-06-09 19:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45321 -2.799873)'), GeomFromEWKT('SRID=4674;POINT (-40.45317 -2.799861)'))) / (select extract(epoch from '2026-06-09 19:10:25'::timestamp) - extract(epoch from '2026-06-09 19:10: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'), 46728, 'SRID=4674;POINT (-40.453147 -2.799839)', '2026-06-09 19:10:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45317 -2.799861)'), GeomFromEWKT('SRID=4674;POINT (-40.453147 -2.799839)'))) / (select extract(epoch from '2026-06-09 19:10:36'::timestamp) - extract(epoch from '2026-06-09 19:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45317 -2.799861)'), GeomFromEWKT('SRID=4674;POINT (-40.453147 -2.799839)'))) / (select extract(epoch from '2026-06-09 19:10:36'::timestamp) - extract(epoch from '2026-06-09 19:10: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'), 46728, 'SRID=4674;POINT (-40.453117 -2.799851)', '2026-06-09 19:10:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453147 -2.799839)'), GeomFromEWKT('SRID=4674;POINT (-40.453117 -2.799851)'))) / (select extract(epoch from '2026-06-09 19:10:46'::timestamp) - extract(epoch from '2026-06-09 19:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453147 -2.799839)'), GeomFromEWKT('SRID=4674;POINT (-40.453117 -2.799851)'))) / (select extract(epoch from '2026-06-09 19:10:46'::timestamp) - extract(epoch from '2026-06-09 19:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.453105 -2.799869)', '2026-06-09 19:10:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453117 -2.799851)'), GeomFromEWKT('SRID=4674;POINT (-40.453105 -2.799869)'))) / (select extract(epoch from '2026-06-09 19:10:55'::timestamp) - extract(epoch from '2026-06-09 19:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453117 -2.799851)'), GeomFromEWKT('SRID=4674;POINT (-40.453105 -2.799869)'))) / (select extract(epoch from '2026-06-09 19:10:55'::timestamp) - extract(epoch from '2026-06-09 19:10: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'), 46728, 'SRID=4674;POINT (-40.453052 -2.799908)', '2026-06-09 19:11:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453105 -2.799869)'), GeomFromEWKT('SRID=4674;POINT (-40.453052 -2.799908)'))) / (select extract(epoch from '2026-06-09 19:11:10'::timestamp) - extract(epoch from '2026-06-09 19:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453105 -2.799869)'), GeomFromEWKT('SRID=4674;POINT (-40.453052 -2.799908)'))) / (select extract(epoch from '2026-06-09 19:11:10'::timestamp) - extract(epoch from '2026-06-09 19:10: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'), 46728, 'SRID=4674;POINT (-40.452993 -2.799885)', '2026-06-09 19:11:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453052 -2.799908)'), GeomFromEWKT('SRID=4674;POINT (-40.452993 -2.799885)'))) / (select extract(epoch from '2026-06-09 19:11:22'::timestamp) - extract(epoch from '2026-06-09 19:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.453052 -2.799908)'), GeomFromEWKT('SRID=4674;POINT (-40.452993 -2.799885)'))) / (select extract(epoch from '2026-06-09 19:11:22'::timestamp) - extract(epoch from '2026-06-09 19:11: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'), 46728, 'SRID=4674;POINT (-40.452951 -2.799864)', '2026-06-09 19:11:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452993 -2.799885)'), GeomFromEWKT('SRID=4674;POINT (-40.452951 -2.799864)'))) / (select extract(epoch from '2026-06-09 19:11:31'::timestamp) - extract(epoch from '2026-06-09 19:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452993 -2.799885)'), GeomFromEWKT('SRID=4674;POINT (-40.452951 -2.799864)'))) / (select extract(epoch from '2026-06-09 19:11:31'::timestamp) - extract(epoch from '2026-06-09 19:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452922 -2.79988)', '2026-06-09 19:11:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452951 -2.799864)'), GeomFromEWKT('SRID=4674;POINT (-40.452922 -2.79988)'))) / (select extract(epoch from '2026-06-09 19:11:40'::timestamp) - extract(epoch from '2026-06-09 19:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452951 -2.799864)'), GeomFromEWKT('SRID=4674;POINT (-40.452922 -2.79988)'))) / (select extract(epoch from '2026-06-09 19:11:40'::timestamp) - extract(epoch from '2026-06-09 19:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452871 -2.799903)', '2026-06-09 19:11:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452922 -2.79988)'), GeomFromEWKT('SRID=4674;POINT (-40.452871 -2.799903)'))) / (select extract(epoch from '2026-06-09 19:11:55'::timestamp) - extract(epoch from '2026-06-09 19:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452922 -2.79988)'), GeomFromEWKT('SRID=4674;POINT (-40.452871 -2.799903)'))) / (select extract(epoch from '2026-06-09 19:11:55'::timestamp) - extract(epoch from '2026-06-09 19:11: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'), 46728, 'SRID=4674;POINT (-40.452835 -2.799913)', '2026-06-09 19:12:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452871 -2.799903)'), GeomFromEWKT('SRID=4674;POINT (-40.452835 -2.799913)'))) / (select extract(epoch from '2026-06-09 19:12:08'::timestamp) - extract(epoch from '2026-06-09 19:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452871 -2.799903)'), GeomFromEWKT('SRID=4674;POINT (-40.452835 -2.799913)'))) / (select extract(epoch from '2026-06-09 19:12:08'::timestamp) - extract(epoch from '2026-06-09 19:11: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'), 46728, 'SRID=4674;POINT (-40.452816 -2.799929)', '2026-06-09 19:12:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452835 -2.799913)'), GeomFromEWKT('SRID=4674;POINT (-40.452816 -2.799929)'))) / (select extract(epoch from '2026-06-09 19:12:21'::timestamp) - extract(epoch from '2026-06-09 19:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452835 -2.799913)'), GeomFromEWKT('SRID=4674;POINT (-40.452816 -2.799929)'))) / (select extract(epoch from '2026-06-09 19:12:21'::timestamp) - extract(epoch from '2026-06-09 19:12: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'), 46728, 'SRID=4674;POINT (-40.452799 -2.799941)', '2026-06-09 19:12:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452816 -2.799929)'), GeomFromEWKT('SRID=4674;POINT (-40.452799 -2.799941)'))) / (select extract(epoch from '2026-06-09 19:12:31'::timestamp) - extract(epoch from '2026-06-09 19:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452816 -2.799929)'), GeomFromEWKT('SRID=4674;POINT (-40.452799 -2.799941)'))) / (select extract(epoch from '2026-06-09 19:12:31'::timestamp) - extract(epoch from '2026-06-09 19:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452783 -2.799942)', '2026-06-09 19:12:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452799 -2.799941)'), GeomFromEWKT('SRID=4674;POINT (-40.452783 -2.799942)'))) / (select extract(epoch from '2026-06-09 19:12:39'::timestamp) - extract(epoch from '2026-06-09 19:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452799 -2.799941)'), GeomFromEWKT('SRID=4674;POINT (-40.452783 -2.799942)'))) / (select extract(epoch from '2026-06-09 19:12:39'::timestamp) - extract(epoch from '2026-06-09 19:12:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452753 -2.799951)', '2026-06-09 19:12:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452783 -2.799942)'), GeomFromEWKT('SRID=4674;POINT (-40.452753 -2.799951)'))) / (select extract(epoch from '2026-06-09 19:12:52'::timestamp) - extract(epoch from '2026-06-09 19:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452783 -2.799942)'), GeomFromEWKT('SRID=4674;POINT (-40.452753 -2.799951)'))) / (select extract(epoch from '2026-06-09 19:12:52'::timestamp) - extract(epoch from '2026-06-09 19:12: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'), 46728, 'SRID=4674;POINT (-40.452734 -2.79996)', '2026-06-09 19:12:59', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452753 -2.799951)'), GeomFromEWKT('SRID=4674;POINT (-40.452734 -2.79996)'))) / (select extract(epoch from '2026-06-09 19:12:59'::timestamp) - extract(epoch from '2026-06-09 19:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452753 -2.799951)'), GeomFromEWKT('SRID=4674;POINT (-40.452734 -2.79996)'))) / (select extract(epoch from '2026-06-09 19:12:59'::timestamp) - extract(epoch from '2026-06-09 19:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452693 -2.799995)', '2026-06-09 19:13:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452734 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.452693 -2.799995)'))) / (select extract(epoch from '2026-06-09 19:13:12'::timestamp) - extract(epoch from '2026-06-09 19:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452734 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.452693 -2.799995)'))) / (select extract(epoch from '2026-06-09 19:13:12'::timestamp) - extract(epoch from '2026-06-09 19:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452667 -2.800024)', '2026-06-09 19:13:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452693 -2.799995)'), GeomFromEWKT('SRID=4674;POINT (-40.452667 -2.800024)'))) / (select extract(epoch from '2026-06-09 19:13:24'::timestamp) - extract(epoch from '2026-06-09 19:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452693 -2.799995)'), GeomFromEWKT('SRID=4674;POINT (-40.452667 -2.800024)'))) / (select extract(epoch from '2026-06-09 19:13:24'::timestamp) - extract(epoch from '2026-06-09 19:13: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'), 46728, 'SRID=4674;POINT (-40.452638 -2.800008)', '2026-06-09 19:13:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452667 -2.800024)'), GeomFromEWKT('SRID=4674;POINT (-40.452638 -2.800008)'))) / (select extract(epoch from '2026-06-09 19:13:34'::timestamp) - extract(epoch from '2026-06-09 19:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452667 -2.800024)'), GeomFromEWKT('SRID=4674;POINT (-40.452638 -2.800008)'))) / (select extract(epoch from '2026-06-09 19:13:34'::timestamp) - extract(epoch from '2026-06-09 19:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452603 -2.800013)', '2026-06-09 19:13:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452638 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.452603 -2.800013)'))) / (select extract(epoch from '2026-06-09 19:13:45'::timestamp) - extract(epoch from '2026-06-09 19:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452638 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.452603 -2.800013)'))) / (select extract(epoch from '2026-06-09 19:13:45'::timestamp) - extract(epoch from '2026-06-09 19:13: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'), 46728, 'SRID=4674;POINT (-40.452566 -2.800039)', '2026-06-09 19:14:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452603 -2.800013)'), GeomFromEWKT('SRID=4674;POINT (-40.452566 -2.800039)'))) / (select extract(epoch from '2026-06-09 19:14:01'::timestamp) - extract(epoch from '2026-06-09 19:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452603 -2.800013)'), GeomFromEWKT('SRID=4674;POINT (-40.452566 -2.800039)'))) / (select extract(epoch from '2026-06-09 19:14:01'::timestamp) - extract(epoch from '2026-06-09 19:13: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'), 46728, 'SRID=4674;POINT (-40.452557 -2.800063)', '2026-06-09 19:14:09', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452566 -2.800039)'), GeomFromEWKT('SRID=4674;POINT (-40.452557 -2.800063)'))) / (select extract(epoch from '2026-06-09 19:14:09'::timestamp) - extract(epoch from '2026-06-09 19:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452566 -2.800039)'), GeomFromEWKT('SRID=4674;POINT (-40.452557 -2.800063)'))) / (select extract(epoch from '2026-06-09 19:14:09'::timestamp) - extract(epoch from '2026-06-09 19:14: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'), 46728, 'SRID=4674;POINT (-40.452527 -2.80009)', '2026-06-09 19:14:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452557 -2.800063)'), GeomFromEWKT('SRID=4674;POINT (-40.452527 -2.80009)'))) / (select extract(epoch from '2026-06-09 19:14:20'::timestamp) - extract(epoch from '2026-06-09 19:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452557 -2.800063)'), GeomFromEWKT('SRID=4674;POINT (-40.452527 -2.80009)'))) / (select extract(epoch from '2026-06-09 19:14:20'::timestamp) - extract(epoch from '2026-06-09 19:14: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'), 46728, 'SRID=4674;POINT (-40.452501 -2.80008)', '2026-06-09 19:14:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452527 -2.80009)'), GeomFromEWKT('SRID=4674;POINT (-40.452501 -2.80008)'))) / (select extract(epoch from '2026-06-09 19:14:30'::timestamp) - extract(epoch from '2026-06-09 19:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452527 -2.80009)'), GeomFromEWKT('SRID=4674;POINT (-40.452501 -2.80008)'))) / (select extract(epoch from '2026-06-09 19:14:30'::timestamp) - extract(epoch from '2026-06-09 19:14: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'), 46728, 'SRID=4674;POINT (-40.452443 -2.800073)', '2026-06-09 19:14:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452501 -2.80008)'), GeomFromEWKT('SRID=4674;POINT (-40.452443 -2.800073)'))) / (select extract(epoch from '2026-06-09 19:14:44'::timestamp) - extract(epoch from '2026-06-09 19:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452501 -2.80008)'), GeomFromEWKT('SRID=4674;POINT (-40.452443 -2.800073)'))) / (select extract(epoch from '2026-06-09 19:14:44'::timestamp) - extract(epoch from '2026-06-09 19:14: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'), 46728, 'SRID=4674;POINT (-40.452392 -2.800079)', '2026-06-09 19:14:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452443 -2.800073)'), GeomFromEWKT('SRID=4674;POINT (-40.452392 -2.800079)'))) / (select extract(epoch from '2026-06-09 19:14:59'::timestamp) - extract(epoch from '2026-06-09 19:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452443 -2.800073)'), GeomFromEWKT('SRID=4674;POINT (-40.452392 -2.800079)'))) / (select extract(epoch from '2026-06-09 19:14:59'::timestamp) - extract(epoch from '2026-06-09 19:14: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'), 46728, 'SRID=4674;POINT (-40.452349 -2.800091)', '2026-06-09 19:15:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452392 -2.800079)'), GeomFromEWKT('SRID=4674;POINT (-40.452349 -2.800091)'))) / (select extract(epoch from '2026-06-09 19:15:12'::timestamp) - extract(epoch from '2026-06-09 19:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452392 -2.800079)'), GeomFromEWKT('SRID=4674;POINT (-40.452349 -2.800091)'))) / (select extract(epoch from '2026-06-09 19:15:12'::timestamp) - extract(epoch from '2026-06-09 19:14: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'), 46728, 'SRID=4674;POINT (-40.452308 -2.8001)', '2026-06-09 19:15:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452349 -2.800091)'), GeomFromEWKT('SRID=4674;POINT (-40.452308 -2.8001)'))) / (select extract(epoch from '2026-06-09 19:15:23'::timestamp) - extract(epoch from '2026-06-09 19:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452349 -2.800091)'), GeomFromEWKT('SRID=4674;POINT (-40.452308 -2.8001)'))) / (select extract(epoch from '2026-06-09 19:15:23'::timestamp) - extract(epoch from '2026-06-09 19:15: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'), 46728, 'SRID=4674;POINT (-40.452284 -2.80011)', '2026-06-09 19:15:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452308 -2.8001)'), GeomFromEWKT('SRID=4674;POINT (-40.452284 -2.80011)'))) / (select extract(epoch from '2026-06-09 19:15:34'::timestamp) - extract(epoch from '2026-06-09 19:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452308 -2.8001)'), GeomFromEWKT('SRID=4674;POINT (-40.452284 -2.80011)'))) / (select extract(epoch from '2026-06-09 19:15:34'::timestamp) - extract(epoch from '2026-06-09 19:15: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'), 46728, 'SRID=4674;POINT (-40.452273 -2.800111)', '2026-06-09 19:15:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452284 -2.80011)'), GeomFromEWKT('SRID=4674;POINT (-40.452273 -2.800111)'))) / (select extract(epoch from '2026-06-09 19:15:46'::timestamp) - extract(epoch from '2026-06-09 19:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452284 -2.80011)'), GeomFromEWKT('SRID=4674;POINT (-40.452273 -2.800111)'))) / (select extract(epoch from '2026-06-09 19:15:46'::timestamp) - extract(epoch from '2026-06-09 19:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452261 -2.80013)', '2026-06-09 19:15:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452273 -2.800111)'), GeomFromEWKT('SRID=4674;POINT (-40.452261 -2.80013)'))) / (select extract(epoch from '2026-06-09 19:15:56'::timestamp) - extract(epoch from '2026-06-09 19:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452273 -2.800111)'), GeomFromEWKT('SRID=4674;POINT (-40.452261 -2.80013)'))) / (select extract(epoch from '2026-06-09 19:15:56'::timestamp) - extract(epoch from '2026-06-09 19:15: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'), 46728, 'SRID=4674;POINT (-40.452237 -2.800139)', '2026-06-09 19:16:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452261 -2.80013)'), GeomFromEWKT('SRID=4674;POINT (-40.452237 -2.800139)'))) / (select extract(epoch from '2026-06-09 19:16:04'::timestamp) - extract(epoch from '2026-06-09 19:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452261 -2.80013)'), GeomFromEWKT('SRID=4674;POINT (-40.452237 -2.800139)'))) / (select extract(epoch from '2026-06-09 19:16:04'::timestamp) - extract(epoch from '2026-06-09 19:15: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'), 46728, 'SRID=4674;POINT (-40.452208 -2.800127)', '2026-06-09 19:16:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452237 -2.800139)'), GeomFromEWKT('SRID=4674;POINT (-40.452208 -2.800127)'))) / (select extract(epoch from '2026-06-09 19:16:15'::timestamp) - extract(epoch from '2026-06-09 19:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452237 -2.800139)'), GeomFromEWKT('SRID=4674;POINT (-40.452208 -2.800127)'))) / (select extract(epoch from '2026-06-09 19:16:15'::timestamp) - extract(epoch from '2026-06-09 19:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452191 -2.800119)', '2026-06-09 19:16:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452208 -2.800127)'), GeomFromEWKT('SRID=4674;POINT (-40.452191 -2.800119)'))) / (select extract(epoch from '2026-06-09 19:16:23'::timestamp) - extract(epoch from '2026-06-09 19:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452208 -2.800127)'), GeomFromEWKT('SRID=4674;POINT (-40.452191 -2.800119)'))) / (select extract(epoch from '2026-06-09 19:16:23'::timestamp) - extract(epoch from '2026-06-09 19:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452149 -2.800121)', '2026-06-09 19:16:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452191 -2.800119)'), GeomFromEWKT('SRID=4674;POINT (-40.452149 -2.800121)'))) / (select extract(epoch from '2026-06-09 19:16:35'::timestamp) - extract(epoch from '2026-06-09 19:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452191 -2.800119)'), GeomFromEWKT('SRID=4674;POINT (-40.452149 -2.800121)'))) / (select extract(epoch from '2026-06-09 19:16:35'::timestamp) - extract(epoch from '2026-06-09 19:16: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'), 46728, 'SRID=4674;POINT (-40.452118 -2.80014)', '2026-06-09 19:16:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452149 -2.800121)'), GeomFromEWKT('SRID=4674;POINT (-40.452118 -2.80014)'))) / (select extract(epoch from '2026-06-09 19:16:45'::timestamp) - extract(epoch from '2026-06-09 19:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452149 -2.800121)'), GeomFromEWKT('SRID=4674;POINT (-40.452118 -2.80014)'))) / (select extract(epoch from '2026-06-09 19:16:45'::timestamp) - extract(epoch from '2026-06-09 19:16: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'), 46728, 'SRID=4674;POINT (-40.452106 -2.800138)', '2026-06-09 19:16:55', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452118 -2.80014)'), GeomFromEWKT('SRID=4674;POINT (-40.452106 -2.800138)'))) / (select extract(epoch from '2026-06-09 19:16:55'::timestamp) - extract(epoch from '2026-06-09 19:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452118 -2.80014)'), GeomFromEWKT('SRID=4674;POINT (-40.452106 -2.800138)'))) / (select extract(epoch from '2026-06-09 19:16:55'::timestamp) - extract(epoch from '2026-06-09 19:16: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'), 46728, 'SRID=4674;POINT (-40.452103 -2.800138)', '2026-06-09 19:17:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452106 -2.800138)'), GeomFromEWKT('SRID=4674;POINT (-40.452103 -2.800138)'))) / (select extract(epoch from '2026-06-09 19:17:01'::timestamp) - extract(epoch from '2026-06-09 19:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452106 -2.800138)'), GeomFromEWKT('SRID=4674;POINT (-40.452103 -2.800138)'))) / (select extract(epoch from '2026-06-09 19:17:01'::timestamp) - extract(epoch from '2026-06-09 19:16: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'), 46728, 'SRID=4674;POINT (-40.452102 -2.800134)', '2026-06-09 19:17:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452103 -2.800138)'), GeomFromEWKT('SRID=4674;POINT (-40.452102 -2.800134)'))) / (select extract(epoch from '2026-06-09 19:17:10'::timestamp) - extract(epoch from '2026-06-09 19:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452103 -2.800138)'), GeomFromEWKT('SRID=4674;POINT (-40.452102 -2.800134)'))) / (select extract(epoch from '2026-06-09 19:17:10'::timestamp) - extract(epoch from '2026-06-09 19:17: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'), 46728, 'SRID=4674;POINT (-40.452099 -2.800134)', '2026-06-09 19:17:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452102 -2.800134)'), GeomFromEWKT('SRID=4674;POINT (-40.452099 -2.800134)'))) / (select extract(epoch from '2026-06-09 19:17:21'::timestamp) - extract(epoch from '2026-06-09 19:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452102 -2.800134)'), GeomFromEWKT('SRID=4674;POINT (-40.452099 -2.800134)'))) / (select extract(epoch from '2026-06-09 19:17:21'::timestamp) - extract(epoch from '2026-06-09 19:17: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'), 46728, 'SRID=4674;POINT (-40.4521 -2.800136)', '2026-06-09 19:17:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452099 -2.800134)'), GeomFromEWKT('SRID=4674;POINT (-40.4521 -2.800136)'))) / (select extract(epoch from '2026-06-09 19:17:31'::timestamp) - extract(epoch from '2026-06-09 19:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452099 -2.800134)'), GeomFromEWKT('SRID=4674;POINT (-40.4521 -2.800136)'))) / (select extract(epoch from '2026-06-09 19:17:31'::timestamp) - extract(epoch from '2026-06-09 19:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452104 -2.800138)', '2026-06-09 19:17:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4521 -2.800136)'), GeomFromEWKT('SRID=4674;POINT (-40.452104 -2.800138)'))) / (select extract(epoch from '2026-06-09 19:17:35'::timestamp) - extract(epoch from '2026-06-09 19:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4521 -2.800136)'), GeomFromEWKT('SRID=4674;POINT (-40.452104 -2.800138)'))) / (select extract(epoch from '2026-06-09 19:17:35'::timestamp) - extract(epoch from '2026-06-09 19:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452105 -2.800145)', '2026-06-09 19:17:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452104 -2.800138)'), GeomFromEWKT('SRID=4674;POINT (-40.452105 -2.800145)'))) / (select extract(epoch from '2026-06-09 19:17:38'::timestamp) - extract(epoch from '2026-06-09 19:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452104 -2.800138)'), GeomFromEWKT('SRID=4674;POINT (-40.452105 -2.800145)'))) / (select extract(epoch from '2026-06-09 19:17:38'::timestamp) - extract(epoch from '2026-06-09 19:17: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'), 46728, 'SRID=4674;POINT (-40.452101 -2.800145)', '2026-06-09 19:17:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452105 -2.800145)'), GeomFromEWKT('SRID=4674;POINT (-40.452101 -2.800145)'))) / (select extract(epoch from '2026-06-09 19:17:45'::timestamp) - extract(epoch from '2026-06-09 19:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452105 -2.800145)'), GeomFromEWKT('SRID=4674;POINT (-40.452101 -2.800145)'))) / (select extract(epoch from '2026-06-09 19:17:45'::timestamp) - extract(epoch from '2026-06-09 19:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.452105 -2.800146)', '2026-06-09 19:17:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452101 -2.800145)'), GeomFromEWKT('SRID=4674;POINT (-40.452105 -2.800146)'))) / (select extract(epoch from '2026-06-09 19:17:54'::timestamp) - extract(epoch from '2026-06-09 19:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452101 -2.800145)'), GeomFromEWKT('SRID=4674;POINT (-40.452105 -2.800146)'))) / (select extract(epoch from '2026-06-09 19:17:54'::timestamp) - extract(epoch from '2026-06-09 19:17: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'), 46728, 'SRID=4674;POINT (-40.452112 -2.800146)', '2026-06-09 19:18:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452105 -2.800146)'), GeomFromEWKT('SRID=4674;POINT (-40.452112 -2.800146)'))) / (select extract(epoch from '2026-06-09 19:18:02'::timestamp) - extract(epoch from '2026-06-09 19:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452105 -2.800146)'), GeomFromEWKT('SRID=4674;POINT (-40.452112 -2.800146)'))) / (select extract(epoch from '2026-06-09 19:18:02'::timestamp) - extract(epoch from '2026-06-09 19:17: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'), 46728, 'SRID=4674;POINT (-40.452107 -2.800157)', '2026-06-09 19:18:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452112 -2.800146)'), GeomFromEWKT('SRID=4674;POINT (-40.452107 -2.800157)'))) / (select extract(epoch from '2026-06-09 19:18:10'::timestamp) - extract(epoch from '2026-06-09 19:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452112 -2.800146)'), GeomFromEWKT('SRID=4674;POINT (-40.452107 -2.800157)'))) / (select extract(epoch from '2026-06-09 19:18:10'::timestamp) - extract(epoch from '2026-06-09 19:18: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'), 46728, 'SRID=4674;POINT (-40.452103 -2.800166)', '2026-06-09 19:18:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452107 -2.800157)'), GeomFromEWKT('SRID=4674;POINT (-40.452103 -2.800166)'))) / (select extract(epoch from '2026-06-09 19:18:18'::timestamp) - extract(epoch from '2026-06-09 19:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452107 -2.800157)'), GeomFromEWKT('SRID=4674;POINT (-40.452103 -2.800166)'))) / (select extract(epoch from '2026-06-09 19:18:18'::timestamp) - extract(epoch from '2026-06-09 19:18: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'), 46728, 'SRID=4674;POINT (-40.452079 -2.800183)', '2026-06-09 19:18:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452103 -2.800166)'), GeomFromEWKT('SRID=4674;POINT (-40.452079 -2.800183)'))) / (select extract(epoch from '2026-06-09 19:18:33'::timestamp) - extract(epoch from '2026-06-09 19:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452103 -2.800166)'), GeomFromEWKT('SRID=4674;POINT (-40.452079 -2.800183)'))) / (select extract(epoch from '2026-06-09 19:18:33'::timestamp) - extract(epoch from '2026-06-09 19:18: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'), 46728, 'SRID=4674;POINT (-40.452047 -2.800193)', '2026-06-09 19:18:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452079 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.452047 -2.800193)'))) / (select extract(epoch from '2026-06-09 19:18:42'::timestamp) - extract(epoch from '2026-06-09 19:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452079 -2.800183)'), GeomFromEWKT('SRID=4674;POINT (-40.452047 -2.800193)'))) / (select extract(epoch from '2026-06-09 19:18:42'::timestamp) - extract(epoch from '2026-06-09 19:18: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'), 46728, 'SRID=4674;POINT (-40.452027 -2.800202)', '2026-06-09 19:18:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452047 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.452027 -2.800202)'))) / (select extract(epoch from '2026-06-09 19:18:52'::timestamp) - extract(epoch from '2026-06-09 19:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452047 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.452027 -2.800202)'))) / (select extract(epoch from '2026-06-09 19:18:52'::timestamp) - extract(epoch from '2026-06-09 19:18: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'), 46728, 'SRID=4674;POINT (-40.452026 -2.800202)', '2026-06-09 19:19:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452027 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.452026 -2.800202)'))) / (select extract(epoch from '2026-06-09 19:19:03'::timestamp) - extract(epoch from '2026-06-09 19:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452027 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.452026 -2.800202)'))) / (select extract(epoch from '2026-06-09 19:19:03'::timestamp) - extract(epoch from '2026-06-09 19:18: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'), 46728, 'SRID=4674;POINT (-40.452033 -2.800207)', '2026-06-09 19:19:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452026 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.452033 -2.800207)'))) / (select extract(epoch from '2026-06-09 19:19:12'::timestamp) - extract(epoch from '2026-06-09 19:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452026 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.452033 -2.800207)'))) / (select extract(epoch from '2026-06-09 19:19:12'::timestamp) - extract(epoch from '2026-06-09 19:19: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'), 46728, 'SRID=4674;POINT (-40.45203 -2.80021)', '2026-06-09 19:19:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452033 -2.800207)'), GeomFromEWKT('SRID=4674;POINT (-40.45203 -2.80021)'))) / (select extract(epoch from '2026-06-09 19:19:19'::timestamp) - extract(epoch from '2026-06-09 19:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452033 -2.800207)'), GeomFromEWKT('SRID=4674;POINT (-40.45203 -2.80021)'))) / (select extract(epoch from '2026-06-09 19:19:19'::timestamp) - extract(epoch from '2026-06-09 19:19: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'), 46728, 'SRID=4674;POINT (-40.452022 -2.800218)', '2026-06-09 19:19:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45203 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.452022 -2.800218)'))) / (select extract(epoch from '2026-06-09 19:19:27'::timestamp) - extract(epoch from '2026-06-09 19:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45203 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.452022 -2.800218)'))) / (select extract(epoch from '2026-06-09 19:19:27'::timestamp) - extract(epoch from '2026-06-09 19:19: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'), 46728, 'SRID=4674;POINT (-40.452 -2.800223)', '2026-06-09 19:19:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452022 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.452 -2.800223)'))) / (select extract(epoch from '2026-06-09 19:19:37'::timestamp) - extract(epoch from '2026-06-09 19:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452022 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.452 -2.800223)'))) / (select extract(epoch from '2026-06-09 19:19:37'::timestamp) - extract(epoch from '2026-06-09 19:19: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'), 46728, 'SRID=4674;POINT (-40.451982 -2.800219)', '2026-06-09 19:19:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.451982 -2.800219)'))) / (select extract(epoch from '2026-06-09 19:19:48'::timestamp) - extract(epoch from '2026-06-09 19:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.452 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.451982 -2.800219)'))) / (select extract(epoch from '2026-06-09 19:19:48'::timestamp) - extract(epoch from '2026-06-09 19:19: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'), 46728, 'SRID=4674;POINT (-40.451969 -2.800217)', '2026-06-09 19:20:03', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451982 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.451969 -2.800217)'))) / (select extract(epoch from '2026-06-09 19:20:03'::timestamp) - extract(epoch from '2026-06-09 19:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451982 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.451969 -2.800217)'))) / (select extract(epoch from '2026-06-09 19:20:03'::timestamp) - extract(epoch from '2026-06-09 19:19: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'), 46728, 'SRID=4674;POINT (-40.451962 -2.800223)', '2026-06-09 19:20:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451969 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.451962 -2.800223)'))) / (select extract(epoch from '2026-06-09 19:20:11'::timestamp) - extract(epoch from '2026-06-09 19:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451969 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.451962 -2.800223)'))) / (select extract(epoch from '2026-06-09 19:20:11'::timestamp) - extract(epoch from '2026-06-09 19:20: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'), 46728, 'SRID=4674;POINT (-40.451944 -2.800238)', '2026-06-09 19:20:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451962 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.451944 -2.800238)'))) / (select extract(epoch from '2026-06-09 19:20:22'::timestamp) - extract(epoch from '2026-06-09 19:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451962 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.451944 -2.800238)'))) / (select extract(epoch from '2026-06-09 19:20:22'::timestamp) - extract(epoch from '2026-06-09 19:20: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'), 46728, 'SRID=4674;POINT (-40.451883 -2.800222)', '2026-06-09 19:20:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451944 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.451883 -2.800222)'))) / (select extract(epoch from '2026-06-09 19:20:36'::timestamp) - extract(epoch from '2026-06-09 19:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451944 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.451883 -2.800222)'))) / (select extract(epoch from '2026-06-09 19:20:36'::timestamp) - extract(epoch from '2026-06-09 19:20: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'), 46728, 'SRID=4674;POINT (-40.451867 -2.800208)', '2026-06-09 19:20:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451883 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.451867 -2.800208)'))) / (select extract(epoch from '2026-06-09 19:20:46'::timestamp) - extract(epoch from '2026-06-09 19:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451883 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.451867 -2.800208)'))) / (select extract(epoch from '2026-06-09 19:20:46'::timestamp) - extract(epoch from '2026-06-09 19:20: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'), 46728, 'SRID=4674;POINT (-40.451844 -2.800221)', '2026-06-09 19:20:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451867 -2.800208)'), GeomFromEWKT('SRID=4674;POINT (-40.451844 -2.800221)'))) / (select extract(epoch from '2026-06-09 19:20:57'::timestamp) - extract(epoch from '2026-06-09 19:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451867 -2.800208)'), GeomFromEWKT('SRID=4674;POINT (-40.451844 -2.800221)'))) / (select extract(epoch from '2026-06-09 19:20:57'::timestamp) - extract(epoch from '2026-06-09 19:20: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'), 46728, 'SRID=4674;POINT (-40.451831 -2.800238)', '2026-06-09 19:21:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451844 -2.800221)'), GeomFromEWKT('SRID=4674;POINT (-40.451831 -2.800238)'))) / (select extract(epoch from '2026-06-09 19:21:08'::timestamp) - extract(epoch from '2026-06-09 19:20:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451844 -2.800221)'), GeomFromEWKT('SRID=4674;POINT (-40.451831 -2.800238)'))) / (select extract(epoch from '2026-06-09 19:21:08'::timestamp) - extract(epoch from '2026-06-09 19:20: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'), 46728, 'SRID=4674;POINT (-40.451825 -2.800244)', '2026-06-09 19:21:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451831 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.451825 -2.800244)'))) / (select extract(epoch from '2026-06-09 19:21:14'::timestamp) - extract(epoch from '2026-06-09 19:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451831 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.451825 -2.800244)'))) / (select extract(epoch from '2026-06-09 19:21:14'::timestamp) - extract(epoch from '2026-06-09 19:21: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'), 46728, 'SRID=4674;POINT (-40.451771 -2.800241)', '2026-06-09 19:21:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451825 -2.800244)'), GeomFromEWKT('SRID=4674;POINT (-40.451771 -2.800241)'))) / (select extract(epoch from '2026-06-09 19:21:25'::timestamp) - extract(epoch from '2026-06-09 19:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451825 -2.800244)'), GeomFromEWKT('SRID=4674;POINT (-40.451771 -2.800241)'))) / (select extract(epoch from '2026-06-09 19:21:25'::timestamp) - extract(epoch from '2026-06-09 19:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.451753 -2.800242)', '2026-06-09 19:21:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451771 -2.800241)'), GeomFromEWKT('SRID=4674;POINT (-40.451753 -2.800242)'))) / (select extract(epoch from '2026-06-09 19:21:34'::timestamp) - extract(epoch from '2026-06-09 19:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451771 -2.800241)'), GeomFromEWKT('SRID=4674;POINT (-40.451753 -2.800242)'))) / (select extract(epoch from '2026-06-09 19:21:34'::timestamp) - extract(epoch from '2026-06-09 19:21: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'), 46728, 'SRID=4674;POINT (-40.451722 -2.80025)', '2026-06-09 19:21:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451753 -2.800242)'), GeomFromEWKT('SRID=4674;POINT (-40.451722 -2.80025)'))) / (select extract(epoch from '2026-06-09 19:21:42'::timestamp) - extract(epoch from '2026-06-09 19:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451753 -2.800242)'), GeomFromEWKT('SRID=4674;POINT (-40.451722 -2.80025)'))) / (select extract(epoch from '2026-06-09 19:21:42'::timestamp) - extract(epoch from '2026-06-09 19:21: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'), 46728, 'SRID=4674;POINT (-40.451717 -2.800257)', '2026-06-09 19:21:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451722 -2.80025)'), GeomFromEWKT('SRID=4674;POINT (-40.451717 -2.800257)'))) / (select extract(epoch from '2026-06-09 19:21:51'::timestamp) - extract(epoch from '2026-06-09 19:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451722 -2.80025)'), GeomFromEWKT('SRID=4674;POINT (-40.451717 -2.800257)'))) / (select extract(epoch from '2026-06-09 19:21:51'::timestamp) - extract(epoch from '2026-06-09 19:21: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'), 46728, 'SRID=4674;POINT (-40.451714 -2.800272)', '2026-06-09 19:22:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451717 -2.800257)'), GeomFromEWKT('SRID=4674;POINT (-40.451714 -2.800272)'))) / (select extract(epoch from '2026-06-09 19:22:02'::timestamp) - extract(epoch from '2026-06-09 19:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451717 -2.800257)'), GeomFromEWKT('SRID=4674;POINT (-40.451714 -2.800272)'))) / (select extract(epoch from '2026-06-09 19:22:02'::timestamp) - extract(epoch from '2026-06-09 19:21: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'), 46728, 'SRID=4674;POINT (-40.451715 -2.800277)', '2026-06-09 19:22:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451714 -2.800272)'), GeomFromEWKT('SRID=4674;POINT (-40.451715 -2.800277)'))) / (select extract(epoch from '2026-06-09 19:22:12'::timestamp) - extract(epoch from '2026-06-09 19:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451714 -2.800272)'), GeomFromEWKT('SRID=4674;POINT (-40.451715 -2.800277)'))) / (select extract(epoch from '2026-06-09 19:22:12'::timestamp) - extract(epoch from '2026-06-09 19:22: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'), 46728, 'SRID=4674;POINT (-40.451715 -2.800276)', '2026-06-09 19:22:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451715 -2.800277)'), GeomFromEWKT('SRID=4674;POINT (-40.451715 -2.800276)'))) / (select extract(epoch from '2026-06-09 19:22:22'::timestamp) - extract(epoch from '2026-06-09 19:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451715 -2.800277)'), GeomFromEWKT('SRID=4674;POINT (-40.451715 -2.800276)'))) / (select extract(epoch from '2026-06-09 19:22:22'::timestamp) - extract(epoch from '2026-06-09 19:22: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'), 46728, 'SRID=4674;POINT (-40.451713 -2.800269)', '2026-06-09 19:22:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451715 -2.800276)'), GeomFromEWKT('SRID=4674;POINT (-40.451713 -2.800269)'))) / (select extract(epoch from '2026-06-09 19:22:34'::timestamp) - extract(epoch from '2026-06-09 19:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451715 -2.800276)'), GeomFromEWKT('SRID=4674;POINT (-40.451713 -2.800269)'))) / (select extract(epoch from '2026-06-09 19:22:34'::timestamp) - extract(epoch from '2026-06-09 19:22: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'), 46728, 'SRID=4674;POINT (-40.451713 -2.800263)', '2026-06-09 19:22:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451713 -2.800269)'), GeomFromEWKT('SRID=4674;POINT (-40.451713 -2.800263)'))) / (select extract(epoch from '2026-06-09 19:22:42'::timestamp) - extract(epoch from '2026-06-09 19:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451713 -2.800269)'), GeomFromEWKT('SRID=4674;POINT (-40.451713 -2.800263)'))) / (select extract(epoch from '2026-06-09 19:22:42'::timestamp) - extract(epoch from '2026-06-09 19:22: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'), 46728, 'SRID=4674;POINT (-40.45171 -2.800253)', '2026-06-09 19:22:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451713 -2.800263)'), GeomFromEWKT('SRID=4674;POINT (-40.45171 -2.800253)'))) / (select extract(epoch from '2026-06-09 19:22:50'::timestamp) - extract(epoch from '2026-06-09 19:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451713 -2.800263)'), GeomFromEWKT('SRID=4674;POINT (-40.45171 -2.800253)'))) / (select extract(epoch from '2026-06-09 19:22:50'::timestamp) - extract(epoch from '2026-06-09 19:22: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'), 46728, 'SRID=4674;POINT (-40.451703 -2.800251)', '2026-06-09 19:22:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45171 -2.800253)'), GeomFromEWKT('SRID=4674;POINT (-40.451703 -2.800251)'))) / (select extract(epoch from '2026-06-09 19:22:56'::timestamp) - extract(epoch from '2026-06-09 19:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45171 -2.800253)'), GeomFromEWKT('SRID=4674;POINT (-40.451703 -2.800251)'))) / (select extract(epoch from '2026-06-09 19:22:56'::timestamp) - extract(epoch from '2026-06-09 19:22: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'), 46728, 'SRID=4674;POINT (-40.451673 -2.800238)', '2026-06-09 19:23:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451703 -2.800251)'), GeomFromEWKT('SRID=4674;POINT (-40.451673 -2.800238)'))) / (select extract(epoch from '2026-06-09 19:23:05'::timestamp) - extract(epoch from '2026-06-09 19:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451703 -2.800251)'), GeomFromEWKT('SRID=4674;POINT (-40.451673 -2.800238)'))) / (select extract(epoch from '2026-06-09 19:23:05'::timestamp) - extract(epoch from '2026-06-09 19:22: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'), 46728, 'SRID=4674;POINT (-40.451646 -2.800219)', '2026-06-09 19:23:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451673 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.451646 -2.800219)'))) / (select extract(epoch from '2026-06-09 19:23:16'::timestamp) - extract(epoch from '2026-06-09 19:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451673 -2.800238)'), GeomFromEWKT('SRID=4674;POINT (-40.451646 -2.800219)'))) / (select extract(epoch from '2026-06-09 19:23:16'::timestamp) - extract(epoch from '2026-06-09 19:23: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'), 46728, 'SRID=4674;POINT (-40.45162 -2.800218)', '2026-06-09 19:23:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451646 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.45162 -2.800218)'))) / (select extract(epoch from '2026-06-09 19:23:26'::timestamp) - extract(epoch from '2026-06-09 19:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451646 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.45162 -2.800218)'))) / (select extract(epoch from '2026-06-09 19:23:26'::timestamp) - extract(epoch from '2026-06-09 19:23: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'), 46728, 'SRID=4674;POINT (-40.451589 -2.8002)', '2026-06-09 19:23:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45162 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.451589 -2.8002)'))) / (select extract(epoch from '2026-06-09 19:23:35'::timestamp) - extract(epoch from '2026-06-09 19:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45162 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.451589 -2.8002)'))) / (select extract(epoch from '2026-06-09 19:23:35'::timestamp) - extract(epoch from '2026-06-09 19:23: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'), 46728, 'SRID=4674;POINT (-40.451574 -2.800182)', '2026-06-09 19:23:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451589 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.451574 -2.800182)'))) / (select extract(epoch from '2026-06-09 19:23:48'::timestamp) - extract(epoch from '2026-06-09 19:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451589 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.451574 -2.800182)'))) / (select extract(epoch from '2026-06-09 19:23:48'::timestamp) - extract(epoch from '2026-06-09 19:23: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'), 46728, 'SRID=4674;POINT (-40.451556 -2.800178)', '2026-06-09 19:24:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451574 -2.800182)'), GeomFromEWKT('SRID=4674;POINT (-40.451556 -2.800178)'))) / (select extract(epoch from '2026-06-09 19:24:00'::timestamp) - extract(epoch from '2026-06-09 19:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451574 -2.800182)'), GeomFromEWKT('SRID=4674;POINT (-40.451556 -2.800178)'))) / (select extract(epoch from '2026-06-09 19:24:00'::timestamp) - extract(epoch from '2026-06-09 19:23: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'), 46728, 'SRID=4674;POINT (-40.451564 -2.800188)', '2026-06-09 19:24:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451556 -2.800178)'), GeomFromEWKT('SRID=4674;POINT (-40.451564 -2.800188)'))) / (select extract(epoch from '2026-06-09 19:24:09'::timestamp) - extract(epoch from '2026-06-09 19:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451556 -2.800178)'), GeomFromEWKT('SRID=4674;POINT (-40.451564 -2.800188)'))) / (select extract(epoch from '2026-06-09 19:24:09'::timestamp) - extract(epoch from '2026-06-09 19:24: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'), 46728, 'SRID=4674;POINT (-40.451568 -2.800193)', '2026-06-09 19:24:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451564 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.451568 -2.800193)'))) / (select extract(epoch from '2026-06-09 19:24:19'::timestamp) - extract(epoch from '2026-06-09 19:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451564 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.451568 -2.800193)'))) / (select extract(epoch from '2026-06-09 19:24:19'::timestamp) - extract(epoch from '2026-06-09 19:24: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'), 46728, 'SRID=4674;POINT (-40.451571 -2.800196)', '2026-06-09 19:24:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451568 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.451571 -2.800196)'))) / (select extract(epoch from '2026-06-09 19:24:26'::timestamp) - extract(epoch from '2026-06-09 19:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451568 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.451571 -2.800196)'))) / (select extract(epoch from '2026-06-09 19:24:26'::timestamp) - extract(epoch from '2026-06-09 19:24: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'), 46728, 'SRID=4674;POINT (-40.451567 -2.800196)', '2026-06-09 19:24:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451571 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800196)'))) / (select extract(epoch from '2026-06-09 19:24:34'::timestamp) - extract(epoch from '2026-06-09 19:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451571 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800196)'))) / (select extract(epoch from '2026-06-09 19:24:34'::timestamp) - extract(epoch from '2026-06-09 19:24: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'), 46728, 'SRID=4674;POINT (-40.45157 -2.8002)', '2026-06-09 19:24:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.45157 -2.8002)'))) / (select extract(epoch from '2026-06-09 19:24:41'::timestamp) - extract(epoch from '2026-06-09 19:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.45157 -2.8002)'))) / (select extract(epoch from '2026-06-09 19:24:41'::timestamp) - extract(epoch from '2026-06-09 19:24: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'), 46728, 'SRID=4674;POINT (-40.451567 -2.800196)', '2026-06-09 19:24:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45157 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800196)'))) / (select extract(epoch from '2026-06-09 19:24:52'::timestamp) - extract(epoch from '2026-06-09 19:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45157 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800196)'))) / (select extract(epoch from '2026-06-09 19:24:52'::timestamp) - extract(epoch from '2026-06-09 19:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.451561 -2.800197)', '2026-06-09 19:25:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.451561 -2.800197)'))) / (select extract(epoch from '2026-06-09 19:25:06'::timestamp) - extract(epoch from '2026-06-09 19:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.451561 -2.800197)'))) / (select extract(epoch from '2026-06-09 19:25:06'::timestamp) - extract(epoch from '2026-06-09 19:24: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'), 46728, 'SRID=4674;POINT (-40.451561 -2.800197)', '2026-06-09 19:25:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451561 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.451561 -2.800197)'))) / (select extract(epoch from '2026-06-09 19:25:14'::timestamp) - extract(epoch from '2026-06-09 19:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451561 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.451561 -2.800197)'))) / (select extract(epoch from '2026-06-09 19:25:14'::timestamp) - extract(epoch from '2026-06-09 19:25: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'), 46728, 'SRID=4674;POINT (-40.451565 -2.800199)', '2026-06-09 19:25:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451561 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.451565 -2.800199)'))) / (select extract(epoch from '2026-06-09 19:25:22'::timestamp) - extract(epoch from '2026-06-09 19:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451561 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.451565 -2.800199)'))) / (select extract(epoch from '2026-06-09 19:25:22'::timestamp) - extract(epoch from '2026-06-09 19:25:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.451567 -2.800202)', '2026-06-09 19:25:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451565 -2.800199)'), GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800202)'))) / (select extract(epoch from '2026-06-09 19:25:29'::timestamp) - extract(epoch from '2026-06-09 19:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451565 -2.800199)'), GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800202)'))) / (select extract(epoch from '2026-06-09 19:25:29'::timestamp) - extract(epoch from '2026-06-09 19:25: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'), 46728, 'SRID=4674;POINT (-40.451569 -2.800205)', '2026-06-09 19:25:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.451569 -2.800205)'))) / (select extract(epoch from '2026-06-09 19:25:39'::timestamp) - extract(epoch from '2026-06-09 19:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451567 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.451569 -2.800205)'))) / (select extract(epoch from '2026-06-09 19:25:39'::timestamp) - extract(epoch from '2026-06-09 19:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.451571 -2.800206)', '2026-06-09 19:25:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451569 -2.800205)'), GeomFromEWKT('SRID=4674;POINT (-40.451571 -2.800206)'))) / (select extract(epoch from '2026-06-09 19:25:48'::timestamp) - extract(epoch from '2026-06-09 19:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451569 -2.800205)'), GeomFromEWKT('SRID=4674;POINT (-40.451571 -2.800206)'))) / (select extract(epoch from '2026-06-09 19:25:48'::timestamp) - extract(epoch from '2026-06-09 19:25: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'), 46728, 'SRID=4674;POINT (-40.451573 -2.8002)', '2026-06-09 19:26:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451571 -2.800206)'), GeomFromEWKT('SRID=4674;POINT (-40.451573 -2.8002)'))) / (select extract(epoch from '2026-06-09 19:26:00'::timestamp) - extract(epoch from '2026-06-09 19:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451571 -2.800206)'), GeomFromEWKT('SRID=4674;POINT (-40.451573 -2.8002)'))) / (select extract(epoch from '2026-06-09 19:26:00'::timestamp) - extract(epoch from '2026-06-09 19:25: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'), 46728, 'SRID=4674;POINT (-40.451574 -2.800197)', '2026-06-09 19:26:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451573 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.451574 -2.800197)'))) / (select extract(epoch from '2026-06-09 19:26:07'::timestamp) - extract(epoch from '2026-06-09 19:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451573 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.451574 -2.800197)'))) / (select extract(epoch from '2026-06-09 19:26:07'::timestamp) - extract(epoch from '2026-06-09 19:26: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'), 46728, 'SRID=4674;POINT (-40.451575 -2.800201)', '2026-06-09 19:26:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451574 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.451575 -2.800201)'))) / (select extract(epoch from '2026-06-09 19:26:16'::timestamp) - extract(epoch from '2026-06-09 19:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451574 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.451575 -2.800201)'))) / (select extract(epoch from '2026-06-09 19:26:16'::timestamp) - extract(epoch from '2026-06-09 19:26:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.451576 -2.800205)', '2026-06-09 19:26:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451575 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.451576 -2.800205)'))) / (select extract(epoch from '2026-06-09 19:26:22'::timestamp) - extract(epoch from '2026-06-09 19:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451575 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.451576 -2.800205)'))) / (select extract(epoch from '2026-06-09 19:26:22'::timestamp) - extract(epoch from '2026-06-09 19:26: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'), 46728, 'SRID=4674;POINT (-40.451566 -2.80021)', '2026-06-09 19:26:30', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451576 -2.800205)'), GeomFromEWKT('SRID=4674;POINT (-40.451566 -2.80021)'))) / (select extract(epoch from '2026-06-09 19:26:30'::timestamp) - extract(epoch from '2026-06-09 19:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451576 -2.800205)'), GeomFromEWKT('SRID=4674;POINT (-40.451566 -2.80021)'))) / (select extract(epoch from '2026-06-09 19:26:30'::timestamp) - extract(epoch from '2026-06-09 19:26: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'), 46728, 'SRID=4674;POINT (-40.451554 -2.800209)', '2026-06-09 19:26:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451566 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.451554 -2.800209)'))) / (select extract(epoch from '2026-06-09 19:26:40'::timestamp) - extract(epoch from '2026-06-09 19:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451566 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.451554 -2.800209)'))) / (select extract(epoch from '2026-06-09 19:26:40'::timestamp) - extract(epoch from '2026-06-09 19:26: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'), 46728, 'SRID=4674;POINT (-40.451542 -2.800204)', '2026-06-09 19:26:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451554 -2.800209)'), GeomFromEWKT('SRID=4674;POINT (-40.451542 -2.800204)'))) / (select extract(epoch from '2026-06-09 19:26:48'::timestamp) - extract(epoch from '2026-06-09 19:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451554 -2.800209)'), GeomFromEWKT('SRID=4674;POINT (-40.451542 -2.800204)'))) / (select extract(epoch from '2026-06-09 19:26:48'::timestamp) - extract(epoch from '2026-06-09 19:26: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'), 46728, 'SRID=4674;POINT (-40.451524 -2.800201)', '2026-06-09 19:26:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451542 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.451524 -2.800201)'))) / (select extract(epoch from '2026-06-09 19:26:56'::timestamp) - extract(epoch from '2026-06-09 19:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451542 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.451524 -2.800201)'))) / (select extract(epoch from '2026-06-09 19:26:56'::timestamp) - extract(epoch from '2026-06-09 19:26: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'), 46728, 'SRID=4674;POINT (-40.451508 -2.800213)', '2026-06-09 19:27:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451524 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.451508 -2.800213)'))) / (select extract(epoch from '2026-06-09 19:27:06'::timestamp) - extract(epoch from '2026-06-09 19:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451524 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.451508 -2.800213)'))) / (select extract(epoch from '2026-06-09 19:27:06'::timestamp) - extract(epoch from '2026-06-09 19:26: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'), 46728, 'SRID=4674;POINT (-40.451497 -2.800226)', '2026-06-09 19:27:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451508 -2.800213)'), GeomFromEWKT('SRID=4674;POINT (-40.451497 -2.800226)'))) / (select extract(epoch from '2026-06-09 19:27:16'::timestamp) - extract(epoch from '2026-06-09 19:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451508 -2.800213)'), GeomFromEWKT('SRID=4674;POINT (-40.451497 -2.800226)'))) / (select extract(epoch from '2026-06-09 19:27:16'::timestamp) - extract(epoch from '2026-06-09 19:27: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'), 46728, 'SRID=4674;POINT (-40.451476 -2.800219)', '2026-06-09 19:27:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451497 -2.800226)'), GeomFromEWKT('SRID=4674;POINT (-40.451476 -2.800219)'))) / (select extract(epoch from '2026-06-09 19:27:27'::timestamp) - extract(epoch from '2026-06-09 19:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451497 -2.800226)'), GeomFromEWKT('SRID=4674;POINT (-40.451476 -2.800219)'))) / (select extract(epoch from '2026-06-09 19:27:27'::timestamp) - extract(epoch from '2026-06-09 19:27: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'), 46728, 'SRID=4674;POINT (-40.45146 -2.800227)', '2026-06-09 19:27:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451476 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.45146 -2.800227)'))) / (select extract(epoch from '2026-06-09 19:27:36'::timestamp) - extract(epoch from '2026-06-09 19:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451476 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.45146 -2.800227)'))) / (select extract(epoch from '2026-06-09 19:27:36'::timestamp) - extract(epoch from '2026-06-09 19:27: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'), 46728, 'SRID=4674;POINT (-40.451438 -2.800248)', '2026-06-09 19:27:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45146 -2.800227)'), GeomFromEWKT('SRID=4674;POINT (-40.451438 -2.800248)'))) / (select extract(epoch from '2026-06-09 19:27:47'::timestamp) - extract(epoch from '2026-06-09 19:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45146 -2.800227)'), GeomFromEWKT('SRID=4674;POINT (-40.451438 -2.800248)'))) / (select extract(epoch from '2026-06-09 19:27:47'::timestamp) - extract(epoch from '2026-06-09 19:27: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'), 46728, 'SRID=4674;POINT (-40.451416 -2.800257)', '2026-06-09 19:27:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451438 -2.800248)'), GeomFromEWKT('SRID=4674;POINT (-40.451416 -2.800257)'))) / (select extract(epoch from '2026-06-09 19:27:54'::timestamp) - extract(epoch from '2026-06-09 19:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451438 -2.800248)'), GeomFromEWKT('SRID=4674;POINT (-40.451416 -2.800257)'))) / (select extract(epoch from '2026-06-09 19:27:54'::timestamp) - extract(epoch from '2026-06-09 19:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.451389 -2.800254)', '2026-06-09 19:28:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451416 -2.800257)'), GeomFromEWKT('SRID=4674;POINT (-40.451389 -2.800254)'))) / (select extract(epoch from '2026-06-09 19:28:06'::timestamp) - extract(epoch from '2026-06-09 19:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451416 -2.800257)'), GeomFromEWKT('SRID=4674;POINT (-40.451389 -2.800254)'))) / (select extract(epoch from '2026-06-09 19:28:06'::timestamp) - extract(epoch from '2026-06-09 19:27: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'), 46728, 'SRID=4674;POINT (-40.451343 -2.800255)', '2026-06-09 19:28:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451389 -2.800254)'), GeomFromEWKT('SRID=4674;POINT (-40.451343 -2.800255)'))) / (select extract(epoch from '2026-06-09 19:28:17'::timestamp) - extract(epoch from '2026-06-09 19:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451389 -2.800254)'), GeomFromEWKT('SRID=4674;POINT (-40.451343 -2.800255)'))) / (select extract(epoch from '2026-06-09 19:28:17'::timestamp) - extract(epoch from '2026-06-09 19:28: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'), 46728, 'SRID=4674;POINT (-40.451303 -2.800256)', '2026-06-09 19:28:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451343 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.451303 -2.800256)'))) / (select extract(epoch from '2026-06-09 19:28:28'::timestamp) - extract(epoch from '2026-06-09 19:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451343 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.451303 -2.800256)'))) / (select extract(epoch from '2026-06-09 19:28:28'::timestamp) - extract(epoch from '2026-06-09 19:28: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'), 46728, 'SRID=4674;POINT (-40.451282 -2.800268)', '2026-06-09 19:28:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451303 -2.800256)'), GeomFromEWKT('SRID=4674;POINT (-40.451282 -2.800268)'))) / (select extract(epoch from '2026-06-09 19:28:37'::timestamp) - extract(epoch from '2026-06-09 19:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451303 -2.800256)'), GeomFromEWKT('SRID=4674;POINT (-40.451282 -2.800268)'))) / (select extract(epoch from '2026-06-09 19:28:37'::timestamp) - extract(epoch from '2026-06-09 19:28: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'), 46728, 'SRID=4674;POINT (-40.451271 -2.80029)', '2026-06-09 19:28:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451282 -2.800268)'), GeomFromEWKT('SRID=4674;POINT (-40.451271 -2.80029)'))) / (select extract(epoch from '2026-06-09 19:28:48'::timestamp) - extract(epoch from '2026-06-09 19:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451282 -2.800268)'), GeomFromEWKT('SRID=4674;POINT (-40.451271 -2.80029)'))) / (select extract(epoch from '2026-06-09 19:28:48'::timestamp) - extract(epoch from '2026-06-09 19:28: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'), 46728, 'SRID=4674;POINT (-40.451263 -2.800302)', '2026-06-09 19:28:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451271 -2.80029)'), GeomFromEWKT('SRID=4674;POINT (-40.451263 -2.800302)'))) / (select extract(epoch from '2026-06-09 19:28:55'::timestamp) - extract(epoch from '2026-06-09 19:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451271 -2.80029)'), GeomFromEWKT('SRID=4674;POINT (-40.451263 -2.800302)'))) / (select extract(epoch from '2026-06-09 19:28:55'::timestamp) - extract(epoch from '2026-06-09 19:28: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'), 46728, 'SRID=4674;POINT (-40.451254 -2.800309)', '2026-06-09 19:29:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451263 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.451254 -2.800309)'))) / (select extract(epoch from '2026-06-09 19:29:01'::timestamp) - extract(epoch from '2026-06-09 19:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451263 -2.800302)'), GeomFromEWKT('SRID=4674;POINT (-40.451254 -2.800309)'))) / (select extract(epoch from '2026-06-09 19:29:01'::timestamp) - extract(epoch from '2026-06-09 19:28: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'), 46728, 'SRID=4674;POINT (-40.451242 -2.800315)', '2026-06-09 19:29:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451254 -2.800309)'), GeomFromEWKT('SRID=4674;POINT (-40.451242 -2.800315)'))) / (select extract(epoch from '2026-06-09 19:29:09'::timestamp) - extract(epoch from '2026-06-09 19:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451254 -2.800309)'), GeomFromEWKT('SRID=4674;POINT (-40.451242 -2.800315)'))) / (select extract(epoch from '2026-06-09 19:29:09'::timestamp) - extract(epoch from '2026-06-09 19:29: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'), 46728, 'SRID=4674;POINT (-40.451225 -2.80031)', '2026-06-09 19:29:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451242 -2.800315)'), GeomFromEWKT('SRID=4674;POINT (-40.451225 -2.80031)'))) / (select extract(epoch from '2026-06-09 19:29:22'::timestamp) - extract(epoch from '2026-06-09 19:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451242 -2.800315)'), GeomFromEWKT('SRID=4674;POINT (-40.451225 -2.80031)'))) / (select extract(epoch from '2026-06-09 19:29:22'::timestamp) - extract(epoch from '2026-06-09 19:29: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'), 46728, 'SRID=4674;POINT (-40.451232 -2.800316)', '2026-06-09 19:29:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451225 -2.80031)'), GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800316)'))) / (select extract(epoch from '2026-06-09 19:29:29'::timestamp) - extract(epoch from '2026-06-09 19:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451225 -2.80031)'), GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800316)'))) / (select extract(epoch from '2026-06-09 19:29:29'::timestamp) - extract(epoch from '2026-06-09 19:29: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'), 46728, 'SRID=4674;POINT (-40.451232 -2.800309)', '2026-06-09 19:29:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800316)'), GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800309)'))) / (select extract(epoch from '2026-06-09 19:29:42'::timestamp) - extract(epoch from '2026-06-09 19:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800316)'), GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800309)'))) / (select extract(epoch from '2026-06-09 19:29:42'::timestamp) - extract(epoch from '2026-06-09 19:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.45123 -2.800308)', '2026-06-09 19:29:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800309)'), GeomFromEWKT('SRID=4674;POINT (-40.45123 -2.800308)'))) / (select extract(epoch from '2026-06-09 19:29:52'::timestamp) - extract(epoch from '2026-06-09 19:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800309)'), GeomFromEWKT('SRID=4674;POINT (-40.45123 -2.800308)'))) / (select extract(epoch from '2026-06-09 19:29:52'::timestamp) - extract(epoch from '2026-06-09 19:29: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'), 46728, 'SRID=4674;POINT (-40.451232 -2.800309)', '2026-06-09 19:30:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45123 -2.800308)'), GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800309)'))) / (select extract(epoch from '2026-06-09 19:30:00'::timestamp) - extract(epoch from '2026-06-09 19:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45123 -2.800308)'), GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800309)'))) / (select extract(epoch from '2026-06-09 19:30:00'::timestamp) - extract(epoch from '2026-06-09 19:29: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'), 46728, 'SRID=4674;POINT (-40.451228 -2.800308)', '2026-06-09 19:30:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800309)'), GeomFromEWKT('SRID=4674;POINT (-40.451228 -2.800308)'))) / (select extract(epoch from '2026-06-09 19:30:08'::timestamp) - extract(epoch from '2026-06-09 19:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451232 -2.800309)'), GeomFromEWKT('SRID=4674;POINT (-40.451228 -2.800308)'))) / (select extract(epoch from '2026-06-09 19:30:08'::timestamp) - extract(epoch from '2026-06-09 19:30: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'), 46728, 'SRID=4674;POINT (-40.451214 -2.800318)', '2026-06-09 19:30:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451228 -2.800308)'), GeomFromEWKT('SRID=4674;POINT (-40.451214 -2.800318)'))) / (select extract(epoch from '2026-06-09 19:30:18'::timestamp) - extract(epoch from '2026-06-09 19:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451228 -2.800308)'), GeomFromEWKT('SRID=4674;POINT (-40.451214 -2.800318)'))) / (select extract(epoch from '2026-06-09 19:30:18'::timestamp) - extract(epoch from '2026-06-09 19:30: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'), 46728, 'SRID=4674;POINT (-40.451178 -2.800336)', '2026-06-09 19:30:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451214 -2.800318)'), GeomFromEWKT('SRID=4674;POINT (-40.451178 -2.800336)'))) / (select extract(epoch from '2026-06-09 19:30:31'::timestamp) - extract(epoch from '2026-06-09 19:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451214 -2.800318)'), GeomFromEWKT('SRID=4674;POINT (-40.451178 -2.800336)'))) / (select extract(epoch from '2026-06-09 19:30:31'::timestamp) - extract(epoch from '2026-06-09 19:30: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'), 46728, 'SRID=4674;POINT (-40.451169 -2.800336)', '2026-06-09 19:30:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451178 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.451169 -2.800336)'))) / (select extract(epoch from '2026-06-09 19:30:38'::timestamp) - extract(epoch from '2026-06-09 19:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451178 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.451169 -2.800336)'))) / (select extract(epoch from '2026-06-09 19:30:38'::timestamp) - extract(epoch from '2026-06-09 19:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.451163 -2.800343)', '2026-06-09 19:30:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451169 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.451163 -2.800343)'))) / (select extract(epoch from '2026-06-09 19:30:50'::timestamp) - extract(epoch from '2026-06-09 19:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451169 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.451163 -2.800343)'))) / (select extract(epoch from '2026-06-09 19:30:50'::timestamp) - extract(epoch from '2026-06-09 19:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.45116 -2.800344)', '2026-06-09 19:31:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451163 -2.800343)'), GeomFromEWKT('SRID=4674;POINT (-40.45116 -2.800344)'))) / (select extract(epoch from '2026-06-09 19:31:01'::timestamp) - extract(epoch from '2026-06-09 19:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451163 -2.800343)'), GeomFromEWKT('SRID=4674;POINT (-40.45116 -2.800344)'))) / (select extract(epoch from '2026-06-09 19:31:01'::timestamp) - extract(epoch from '2026-06-09 19:30: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'), 46728, 'SRID=4674;POINT (-40.45114 -2.800346)', '2026-06-09 19:31:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45116 -2.800344)'), GeomFromEWKT('SRID=4674;POINT (-40.45114 -2.800346)'))) / (select extract(epoch from '2026-06-09 19:31:11'::timestamp) - extract(epoch from '2026-06-09 19:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45116 -2.800344)'), GeomFromEWKT('SRID=4674;POINT (-40.45114 -2.800346)'))) / (select extract(epoch from '2026-06-09 19:31:11'::timestamp) - extract(epoch from '2026-06-09 19:31: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'), 46728, 'SRID=4674;POINT (-40.451136 -2.800347)', '2026-06-09 19:31:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45114 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.451136 -2.800347)'))) / (select extract(epoch from '2026-06-09 19:31:19'::timestamp) - extract(epoch from '2026-06-09 19:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45114 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.451136 -2.800347)'))) / (select extract(epoch from '2026-06-09 19:31:19'::timestamp) - extract(epoch from '2026-06-09 19:31: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'), 46728, 'SRID=4674;POINT (-40.451122 -2.800358)', '2026-06-09 19:31:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451136 -2.800347)'), GeomFromEWKT('SRID=4674;POINT (-40.451122 -2.800358)'))) / (select extract(epoch from '2026-06-09 19:31:25'::timestamp) - extract(epoch from '2026-06-09 19:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451136 -2.800347)'), GeomFromEWKT('SRID=4674;POINT (-40.451122 -2.800358)'))) / (select extract(epoch from '2026-06-09 19:31:25'::timestamp) - extract(epoch from '2026-06-09 19:31: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'), 46728, 'SRID=4674;POINT (-40.45108 -2.800366)', '2026-06-09 19:31:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451122 -2.800358)'), GeomFromEWKT('SRID=4674;POINT (-40.45108 -2.800366)'))) / (select extract(epoch from '2026-06-09 19:31:38'::timestamp) - extract(epoch from '2026-06-09 19:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451122 -2.800358)'), GeomFromEWKT('SRID=4674;POINT (-40.45108 -2.800366)'))) / (select extract(epoch from '2026-06-09 19:31:38'::timestamp) - extract(epoch from '2026-06-09 19:31: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'), 46728, 'SRID=4674;POINT (-40.451042 -2.800371)', '2026-06-09 19:31:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45108 -2.800366)'), GeomFromEWKT('SRID=4674;POINT (-40.451042 -2.800371)'))) / (select extract(epoch from '2026-06-09 19:31:49'::timestamp) - extract(epoch from '2026-06-09 19:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45108 -2.800366)'), GeomFromEWKT('SRID=4674;POINT (-40.451042 -2.800371)'))) / (select extract(epoch from '2026-06-09 19:31:49'::timestamp) - extract(epoch from '2026-06-09 19:31:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.451009 -2.800392)', '2026-06-09 19:32:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451042 -2.800371)'), GeomFromEWKT('SRID=4674;POINT (-40.451009 -2.800392)'))) / (select extract(epoch from '2026-06-09 19:32:03'::timestamp) - extract(epoch from '2026-06-09 19:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451042 -2.800371)'), GeomFromEWKT('SRID=4674;POINT (-40.451009 -2.800392)'))) / (select extract(epoch from '2026-06-09 19:32:03'::timestamp) - extract(epoch from '2026-06-09 19:31: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'), 46728, 'SRID=4674;POINT (-40.451004 -2.800406)', '2026-06-09 19:32:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451009 -2.800392)'), GeomFromEWKT('SRID=4674;POINT (-40.451004 -2.800406)'))) / (select extract(epoch from '2026-06-09 19:32:12'::timestamp) - extract(epoch from '2026-06-09 19:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451009 -2.800392)'), GeomFromEWKT('SRID=4674;POINT (-40.451004 -2.800406)'))) / (select extract(epoch from '2026-06-09 19:32:12'::timestamp) - extract(epoch from '2026-06-09 19:32: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'), 46728, 'SRID=4674;POINT (-40.450983 -2.800412)', '2026-06-09 19:32:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451004 -2.800406)'), GeomFromEWKT('SRID=4674;POINT (-40.450983 -2.800412)'))) / (select extract(epoch from '2026-06-09 19:32:20'::timestamp) - extract(epoch from '2026-06-09 19:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.451004 -2.800406)'), GeomFromEWKT('SRID=4674;POINT (-40.450983 -2.800412)'))) / (select extract(epoch from '2026-06-09 19:32:20'::timestamp) - extract(epoch from '2026-06-09 19:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450977 -2.800418)', '2026-06-09 19:32:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450983 -2.800412)'), GeomFromEWKT('SRID=4674;POINT (-40.450977 -2.800418)'))) / (select extract(epoch from '2026-06-09 19:32:29'::timestamp) - extract(epoch from '2026-06-09 19:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450983 -2.800412)'), GeomFromEWKT('SRID=4674;POINT (-40.450977 -2.800418)'))) / (select extract(epoch from '2026-06-09 19:32:29'::timestamp) - extract(epoch from '2026-06-09 19:32: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'), 46728, 'SRID=4674;POINT (-40.450945 -2.800422)', '2026-06-09 19:32:42', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450977 -2.800418)'), GeomFromEWKT('SRID=4674;POINT (-40.450945 -2.800422)'))) / (select extract(epoch from '2026-06-09 19:32:42'::timestamp) - extract(epoch from '2026-06-09 19:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450977 -2.800418)'), GeomFromEWKT('SRID=4674;POINT (-40.450945 -2.800422)'))) / (select extract(epoch from '2026-06-09 19:32:42'::timestamp) - extract(epoch from '2026-06-09 19:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450946 -2.800431)', '2026-06-09 19:32:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450945 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.450946 -2.800431)'))) / (select extract(epoch from '2026-06-09 19:32:48'::timestamp) - extract(epoch from '2026-06-09 19:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450945 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.450946 -2.800431)'))) / (select extract(epoch from '2026-06-09 19:32:48'::timestamp) - extract(epoch from '2026-06-09 19:32: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'), 46728, 'SRID=4674;POINT (-40.450947 -2.800437)', '2026-06-09 19:32:57', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450946 -2.800431)'), GeomFromEWKT('SRID=4674;POINT (-40.450947 -2.800437)'))) / (select extract(epoch from '2026-06-09 19:32:57'::timestamp) - extract(epoch from '2026-06-09 19:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450946 -2.800431)'), GeomFromEWKT('SRID=4674;POINT (-40.450947 -2.800437)'))) / (select extract(epoch from '2026-06-09 19:32:57'::timestamp) - extract(epoch from '2026-06-09 19:32: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'), 46728, 'SRID=4674;POINT (-40.45095 -2.800441)', '2026-06-09 19:33:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450947 -2.800437)'), GeomFromEWKT('SRID=4674;POINT (-40.45095 -2.800441)'))) / (select extract(epoch from '2026-06-09 19:33:09'::timestamp) - extract(epoch from '2026-06-09 19:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450947 -2.800437)'), GeomFromEWKT('SRID=4674;POINT (-40.45095 -2.800441)'))) / (select extract(epoch from '2026-06-09 19:33:09'::timestamp) - extract(epoch from '2026-06-09 19:32: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'), 46728, 'SRID=4674;POINT (-40.450979 -2.800452)', '2026-06-09 19:33:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45095 -2.800441)'), GeomFromEWKT('SRID=4674;POINT (-40.450979 -2.800452)'))) / (select extract(epoch from '2026-06-09 19:33:22'::timestamp) - extract(epoch from '2026-06-09 19:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45095 -2.800441)'), GeomFromEWKT('SRID=4674;POINT (-40.450979 -2.800452)'))) / (select extract(epoch from '2026-06-09 19:33:22'::timestamp) - extract(epoch from '2026-06-09 19:33: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'), 46728, 'SRID=4674;POINT (-40.450986 -2.800451)', '2026-06-09 19:33:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450979 -2.800452)'), GeomFromEWKT('SRID=4674;POINT (-40.450986 -2.800451)'))) / (select extract(epoch from '2026-06-09 19:33:35'::timestamp) - extract(epoch from '2026-06-09 19:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450979 -2.800452)'), GeomFromEWKT('SRID=4674;POINT (-40.450986 -2.800451)'))) / (select extract(epoch from '2026-06-09 19:33:35'::timestamp) - extract(epoch from '2026-06-09 19:33: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'), 46728, 'SRID=4674;POINT (-40.450989 -2.800451)', '2026-06-09 19:33:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450986 -2.800451)'), GeomFromEWKT('SRID=4674;POINT (-40.450989 -2.800451)'))) / (select extract(epoch from '2026-06-09 19:33:47'::timestamp) - extract(epoch from '2026-06-09 19:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450986 -2.800451)'), GeomFromEWKT('SRID=4674;POINT (-40.450989 -2.800451)'))) / (select extract(epoch from '2026-06-09 19:33:47'::timestamp) - extract(epoch from '2026-06-09 19:33: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'), 46728, 'SRID=4674;POINT (-40.450989 -2.800454)', '2026-06-09 19:33:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450989 -2.800451)'), GeomFromEWKT('SRID=4674;POINT (-40.450989 -2.800454)'))) / (select extract(epoch from '2026-06-09 19:33:57'::timestamp) - extract(epoch from '2026-06-09 19:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450989 -2.800451)'), GeomFromEWKT('SRID=4674;POINT (-40.450989 -2.800454)'))) / (select extract(epoch from '2026-06-09 19:33:57'::timestamp) - extract(epoch from '2026-06-09 19:33:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450992 -2.800454)', '2026-06-09 19:34:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450989 -2.800454)'), GeomFromEWKT('SRID=4674;POINT (-40.450992 -2.800454)'))) / (select extract(epoch from '2026-06-09 19:34:03'::timestamp) - extract(epoch from '2026-06-09 19:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450989 -2.800454)'), GeomFromEWKT('SRID=4674;POINT (-40.450992 -2.800454)'))) / (select extract(epoch from '2026-06-09 19:34:03'::timestamp) - extract(epoch from '2026-06-09 19:33: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'), 46728, 'SRID=4674;POINT (-40.450983 -2.80045)', '2026-06-09 19:34:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450992 -2.800454)'), GeomFromEWKT('SRID=4674;POINT (-40.450983 -2.80045)'))) / (select extract(epoch from '2026-06-09 19:34:13'::timestamp) - extract(epoch from '2026-06-09 19:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450992 -2.800454)'), GeomFromEWKT('SRID=4674;POINT (-40.450983 -2.80045)'))) / (select extract(epoch from '2026-06-09 19:34:13'::timestamp) - extract(epoch from '2026-06-09 19:34: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'), 46728, 'SRID=4674;POINT (-40.450969 -2.800453)', '2026-06-09 19:34:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450983 -2.80045)'), GeomFromEWKT('SRID=4674;POINT (-40.450969 -2.800453)'))) / (select extract(epoch from '2026-06-09 19:34:19'::timestamp) - extract(epoch from '2026-06-09 19:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450983 -2.80045)'), GeomFromEWKT('SRID=4674;POINT (-40.450969 -2.800453)'))) / (select extract(epoch from '2026-06-09 19:34:19'::timestamp) - extract(epoch from '2026-06-09 19:34: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'), 46728, 'SRID=4674;POINT (-40.450945 -2.800463)', '2026-06-09 19:34:28', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450969 -2.800453)'), GeomFromEWKT('SRID=4674;POINT (-40.450945 -2.800463)'))) / (select extract(epoch from '2026-06-09 19:34:28'::timestamp) - extract(epoch from '2026-06-09 19:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450969 -2.800453)'), GeomFromEWKT('SRID=4674;POINT (-40.450945 -2.800463)'))) / (select extract(epoch from '2026-06-09 19:34:28'::timestamp) - extract(epoch from '2026-06-09 19:34: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'), 46728, 'SRID=4674;POINT (-40.450921 -2.800471)', '2026-06-09 19:34:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450945 -2.800463)'), GeomFromEWKT('SRID=4674;POINT (-40.450921 -2.800471)'))) / (select extract(epoch from '2026-06-09 19:34:38'::timestamp) - extract(epoch from '2026-06-09 19:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450945 -2.800463)'), GeomFromEWKT('SRID=4674;POINT (-40.450921 -2.800471)'))) / (select extract(epoch from '2026-06-09 19:34:38'::timestamp) - extract(epoch from '2026-06-09 19:34: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'), 46728, 'SRID=4674;POINT (-40.450903 -2.800477)', '2026-06-09 19:34:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450921 -2.800471)'), GeomFromEWKT('SRID=4674;POINT (-40.450903 -2.800477)'))) / (select extract(epoch from '2026-06-09 19:34:52'::timestamp) - extract(epoch from '2026-06-09 19:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450921 -2.800471)'), GeomFromEWKT('SRID=4674;POINT (-40.450903 -2.800477)'))) / (select extract(epoch from '2026-06-09 19:34:52'::timestamp) - extract(epoch from '2026-06-09 19:34:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.45089 -2.800489)', '2026-06-09 19:35:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450903 -2.800477)'), GeomFromEWKT('SRID=4674;POINT (-40.45089 -2.800489)'))) / (select extract(epoch from '2026-06-09 19:35:02'::timestamp) - extract(epoch from '2026-06-09 19:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450903 -2.800477)'), GeomFromEWKT('SRID=4674;POINT (-40.45089 -2.800489)'))) / (select extract(epoch from '2026-06-09 19:35:02'::timestamp) - extract(epoch from '2026-06-09 19:34: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'), 46728, 'SRID=4674;POINT (-40.450869 -2.800508)', '2026-06-09 19:35:17', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45089 -2.800489)'), GeomFromEWKT('SRID=4674;POINT (-40.450869 -2.800508)'))) / (select extract(epoch from '2026-06-09 19:35:17'::timestamp) - extract(epoch from '2026-06-09 19:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45089 -2.800489)'), GeomFromEWKT('SRID=4674;POINT (-40.450869 -2.800508)'))) / (select extract(epoch from '2026-06-09 19:35:17'::timestamp) - extract(epoch from '2026-06-09 19:35: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'), 46728, 'SRID=4674;POINT (-40.450854 -2.800505)', '2026-06-09 19:35:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450869 -2.800508)'), GeomFromEWKT('SRID=4674;POINT (-40.450854 -2.800505)'))) / (select extract(epoch from '2026-06-09 19:35:25'::timestamp) - extract(epoch from '2026-06-09 19:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450869 -2.800508)'), GeomFromEWKT('SRID=4674;POINT (-40.450854 -2.800505)'))) / (select extract(epoch from '2026-06-09 19:35:25'::timestamp) - extract(epoch from '2026-06-09 19:35: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'), 46728, 'SRID=4674;POINT (-40.450838 -2.800505)', '2026-06-09 19:35:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450854 -2.800505)'), GeomFromEWKT('SRID=4674;POINT (-40.450838 -2.800505)'))) / (select extract(epoch from '2026-06-09 19:35:36'::timestamp) - extract(epoch from '2026-06-09 19:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450854 -2.800505)'), GeomFromEWKT('SRID=4674;POINT (-40.450838 -2.800505)'))) / (select extract(epoch from '2026-06-09 19:35:36'::timestamp) - extract(epoch from '2026-06-09 19:35: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'), 46728, 'SRID=4674;POINT (-40.450831 -2.800505)', '2026-06-09 19:35:43', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450838 -2.800505)'), GeomFromEWKT('SRID=4674;POINT (-40.450831 -2.800505)'))) / (select extract(epoch from '2026-06-09 19:35:43'::timestamp) - extract(epoch from '2026-06-09 19:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450838 -2.800505)'), GeomFromEWKT('SRID=4674;POINT (-40.450831 -2.800505)'))) / (select extract(epoch from '2026-06-09 19:35:43'::timestamp) - extract(epoch from '2026-06-09 19:35: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'), 46728, 'SRID=4674;POINT (-40.4508 -2.800509)', '2026-06-09 19:35:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450831 -2.800505)'), GeomFromEWKT('SRID=4674;POINT (-40.4508 -2.800509)'))) / (select extract(epoch from '2026-06-09 19:35:52'::timestamp) - extract(epoch from '2026-06-09 19:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450831 -2.800505)'), GeomFromEWKT('SRID=4674;POINT (-40.4508 -2.800509)'))) / (select extract(epoch from '2026-06-09 19:35:52'::timestamp) - extract(epoch from '2026-06-09 19:35: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'), 46728, 'SRID=4674;POINT (-40.450776 -2.800519)', '2026-06-09 19:36:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4508 -2.800509)'), GeomFromEWKT('SRID=4674;POINT (-40.450776 -2.800519)'))) / (select extract(epoch from '2026-06-09 19:36:04'::timestamp) - extract(epoch from '2026-06-09 19:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4508 -2.800509)'), GeomFromEWKT('SRID=4674;POINT (-40.450776 -2.800519)'))) / (select extract(epoch from '2026-06-09 19:36:04'::timestamp) - extract(epoch from '2026-06-09 19:35: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'), 46728, 'SRID=4674;POINT (-40.45076 -2.800522)', '2026-06-09 19:36:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450776 -2.800519)'), GeomFromEWKT('SRID=4674;POINT (-40.45076 -2.800522)'))) / (select extract(epoch from '2026-06-09 19:36:11'::timestamp) - extract(epoch from '2026-06-09 19:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450776 -2.800519)'), GeomFromEWKT('SRID=4674;POINT (-40.45076 -2.800522)'))) / (select extract(epoch from '2026-06-09 19:36:11'::timestamp) - extract(epoch from '2026-06-09 19:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450749 -2.800515)', '2026-06-09 19:36:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45076 -2.800522)'), GeomFromEWKT('SRID=4674;POINT (-40.450749 -2.800515)'))) / (select extract(epoch from '2026-06-09 19:36:20'::timestamp) - extract(epoch from '2026-06-09 19:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45076 -2.800522)'), GeomFromEWKT('SRID=4674;POINT (-40.450749 -2.800515)'))) / (select extract(epoch from '2026-06-09 19:36:20'::timestamp) - extract(epoch from '2026-06-09 19:36: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'), 46728, 'SRID=4674;POINT (-40.450735 -2.800512)', '2026-06-09 19:36:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450749 -2.800515)'), GeomFromEWKT('SRID=4674;POINT (-40.450735 -2.800512)'))) / (select extract(epoch from '2026-06-09 19:36:28'::timestamp) - extract(epoch from '2026-06-09 19:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450749 -2.800515)'), GeomFromEWKT('SRID=4674;POINT (-40.450735 -2.800512)'))) / (select extract(epoch from '2026-06-09 19:36:28'::timestamp) - extract(epoch from '2026-06-09 19:36: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'), 46728, 'SRID=4674;POINT (-40.45071 -2.80052)', '2026-06-09 19:36:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450735 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.45071 -2.80052)'))) / (select extract(epoch from '2026-06-09 19:36:35'::timestamp) - extract(epoch from '2026-06-09 19:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450735 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.45071 -2.80052)'))) / (select extract(epoch from '2026-06-09 19:36:35'::timestamp) - extract(epoch from '2026-06-09 19:36: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'), 46728, 'SRID=4674;POINT (-40.450708 -2.800524)', '2026-06-09 19:36:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45071 -2.80052)'), GeomFromEWKT('SRID=4674;POINT (-40.450708 -2.800524)'))) / (select extract(epoch from '2026-06-09 19:36:42'::timestamp) - extract(epoch from '2026-06-09 19:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45071 -2.80052)'), GeomFromEWKT('SRID=4674;POINT (-40.450708 -2.800524)'))) / (select extract(epoch from '2026-06-09 19:36:42'::timestamp) - extract(epoch from '2026-06-09 19:36: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'), 46728, 'SRID=4674;POINT (-40.450713 -2.800521)', '2026-06-09 19:36:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450708 -2.800524)'), GeomFromEWKT('SRID=4674;POINT (-40.450713 -2.800521)'))) / (select extract(epoch from '2026-06-09 19:36:50'::timestamp) - extract(epoch from '2026-06-09 19:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450708 -2.800524)'), GeomFromEWKT('SRID=4674;POINT (-40.450713 -2.800521)'))) / (select extract(epoch from '2026-06-09 19:36:50'::timestamp) - extract(epoch from '2026-06-09 19:36: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'), 46728, 'SRID=4674;POINT (-40.450704 -2.800519)', '2026-06-09 19:37:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450713 -2.800521)'), GeomFromEWKT('SRID=4674;POINT (-40.450704 -2.800519)'))) / (select extract(epoch from '2026-06-09 19:37:01'::timestamp) - extract(epoch from '2026-06-09 19:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450713 -2.800521)'), GeomFromEWKT('SRID=4674;POINT (-40.450704 -2.800519)'))) / (select extract(epoch from '2026-06-09 19:37:01'::timestamp) - extract(epoch from '2026-06-09 19:36: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'), 46728, 'SRID=4674;POINT (-40.450698 -2.800523)', '2026-06-09 19:37:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450704 -2.800519)'), GeomFromEWKT('SRID=4674;POINT (-40.450698 -2.800523)'))) / (select extract(epoch from '2026-06-09 19:37:10'::timestamp) - extract(epoch from '2026-06-09 19:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450704 -2.800519)'), GeomFromEWKT('SRID=4674;POINT (-40.450698 -2.800523)'))) / (select extract(epoch from '2026-06-09 19:37:10'::timestamp) - extract(epoch from '2026-06-09 19:37: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'), 46728, 'SRID=4674;POINT (-40.450699 -2.800525)', '2026-06-09 19:37:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450698 -2.800523)'), GeomFromEWKT('SRID=4674;POINT (-40.450699 -2.800525)'))) / (select extract(epoch from '2026-06-09 19:37:19'::timestamp) - extract(epoch from '2026-06-09 19:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450698 -2.800523)'), GeomFromEWKT('SRID=4674;POINT (-40.450699 -2.800525)'))) / (select extract(epoch from '2026-06-09 19:37:19'::timestamp) - extract(epoch from '2026-06-09 19:37: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'), 46728, 'SRID=4674;POINT (-40.450702 -2.800522)', '2026-06-09 19:37:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450699 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.450702 -2.800522)'))) / (select extract(epoch from '2026-06-09 19:37:31'::timestamp) - extract(epoch from '2026-06-09 19:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450699 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.450702 -2.800522)'))) / (select extract(epoch from '2026-06-09 19:37:31'::timestamp) - extract(epoch from '2026-06-09 19:37: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'), 46728, 'SRID=4674;POINT (-40.450706 -2.800526)', '2026-06-09 19:37:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450702 -2.800522)'), GeomFromEWKT('SRID=4674;POINT (-40.450706 -2.800526)'))) / (select extract(epoch from '2026-06-09 19:37:40'::timestamp) - extract(epoch from '2026-06-09 19:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450702 -2.800522)'), GeomFromEWKT('SRID=4674;POINT (-40.450706 -2.800526)'))) / (select extract(epoch from '2026-06-09 19:37:40'::timestamp) - extract(epoch from '2026-06-09 19:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450703 -2.800522)', '2026-06-09 19:37:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450706 -2.800526)'), GeomFromEWKT('SRID=4674;POINT (-40.450703 -2.800522)'))) / (select extract(epoch from '2026-06-09 19:37:47'::timestamp) - extract(epoch from '2026-06-09 19:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450706 -2.800526)'), GeomFromEWKT('SRID=4674;POINT (-40.450703 -2.800522)'))) / (select extract(epoch from '2026-06-09 19:37:47'::timestamp) - extract(epoch from '2026-06-09 19:37: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'), 46728, 'SRID=4674;POINT (-40.450705 -2.800515)', '2026-06-09 19:37:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450703 -2.800522)'), GeomFromEWKT('SRID=4674;POINT (-40.450705 -2.800515)'))) / (select extract(epoch from '2026-06-09 19:37:56'::timestamp) - extract(epoch from '2026-06-09 19:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450703 -2.800522)'), GeomFromEWKT('SRID=4674;POINT (-40.450705 -2.800515)'))) / (select extract(epoch from '2026-06-09 19:37:56'::timestamp) - extract(epoch from '2026-06-09 19:37:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450687 -2.80053)', '2026-06-09 19:38:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450705 -2.800515)'), GeomFromEWKT('SRID=4674;POINT (-40.450687 -2.80053)'))) / (select extract(epoch from '2026-06-09 19:38:12'::timestamp) - extract(epoch from '2026-06-09 19:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450705 -2.800515)'), GeomFromEWKT('SRID=4674;POINT (-40.450687 -2.80053)'))) / (select extract(epoch from '2026-06-09 19:38:12'::timestamp) - extract(epoch from '2026-06-09 19:37: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'), 46728, 'SRID=4674;POINT (-40.450684 -2.800535)', '2026-06-09 19:38:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450687 -2.80053)'), GeomFromEWKT('SRID=4674;POINT (-40.450684 -2.800535)'))) / (select extract(epoch from '2026-06-09 19:38:23'::timestamp) - extract(epoch from '2026-06-09 19:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450687 -2.80053)'), GeomFromEWKT('SRID=4674;POINT (-40.450684 -2.800535)'))) / (select extract(epoch from '2026-06-09 19:38:23'::timestamp) - extract(epoch from '2026-06-09 19:38: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'), 46728, 'SRID=4674;POINT (-40.450688 -2.800535)', '2026-06-09 19:38:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450684 -2.800535)'), GeomFromEWKT('SRID=4674;POINT (-40.450688 -2.800535)'))) / (select extract(epoch from '2026-06-09 19:38:37'::timestamp) - extract(epoch from '2026-06-09 19:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450684 -2.800535)'), GeomFromEWKT('SRID=4674;POINT (-40.450688 -2.800535)'))) / (select extract(epoch from '2026-06-09 19:38:37'::timestamp) - extract(epoch from '2026-06-09 19:38: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'), 46728, 'SRID=4674;POINT (-40.450686 -2.800545)', '2026-06-09 19:38:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450688 -2.800535)'), GeomFromEWKT('SRID=4674;POINT (-40.450686 -2.800545)'))) / (select extract(epoch from '2026-06-09 19:38:47'::timestamp) - extract(epoch from '2026-06-09 19:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450688 -2.800535)'), GeomFromEWKT('SRID=4674;POINT (-40.450686 -2.800545)'))) / (select extract(epoch from '2026-06-09 19:38:47'::timestamp) - extract(epoch from '2026-06-09 19:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450689 -2.800559)', '2026-06-09 19:38:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450686 -2.800545)'), GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800559)'))) / (select extract(epoch from '2026-06-09 19:38:55'::timestamp) - extract(epoch from '2026-06-09 19:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450686 -2.800545)'), GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800559)'))) / (select extract(epoch from '2026-06-09 19:38:55'::timestamp) - extract(epoch from '2026-06-09 19:38:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450689 -2.800564)', '2026-06-09 19:39:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800559)'), GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800564)'))) / (select extract(epoch from '2026-06-09 19:39:05'::timestamp) - extract(epoch from '2026-06-09 19:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800559)'), GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800564)'))) / (select extract(epoch from '2026-06-09 19:39:05'::timestamp) - extract(epoch from '2026-06-09 19:38: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'), 46728, 'SRID=4674;POINT (-40.450689 -2.800572)', '2026-06-09 19:39:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800564)'), GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800572)'))) / (select extract(epoch from '2026-06-09 19:39:13'::timestamp) - extract(epoch from '2026-06-09 19:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800564)'), GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800572)'))) / (select extract(epoch from '2026-06-09 19:39:13'::timestamp) - extract(epoch from '2026-06-09 19:39: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'), 46728, 'SRID=4674;POINT (-40.45069 -2.800576)', '2026-06-09 19:39:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800572)'), GeomFromEWKT('SRID=4674;POINT (-40.45069 -2.800576)'))) / (select extract(epoch from '2026-06-09 19:39:23'::timestamp) - extract(epoch from '2026-06-09 19:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450689 -2.800572)'), GeomFromEWKT('SRID=4674;POINT (-40.45069 -2.800576)'))) / (select extract(epoch from '2026-06-09 19:39:23'::timestamp) - extract(epoch from '2026-06-09 19:39: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'), 46728, 'SRID=4674;POINT (-40.450687 -2.800583)', '2026-06-09 19:39:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45069 -2.800576)'), GeomFromEWKT('SRID=4674;POINT (-40.450687 -2.800583)'))) / (select extract(epoch from '2026-06-09 19:39:29'::timestamp) - extract(epoch from '2026-06-09 19:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45069 -2.800576)'), GeomFromEWKT('SRID=4674;POINT (-40.450687 -2.800583)'))) / (select extract(epoch from '2026-06-09 19:39:29'::timestamp) - extract(epoch from '2026-06-09 19:39: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'), 46728, 'SRID=4674;POINT (-40.450659 -2.8006)', '2026-06-09 19:39:42', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450687 -2.800583)'), GeomFromEWKT('SRID=4674;POINT (-40.450659 -2.8006)'))) / (select extract(epoch from '2026-06-09 19:39:42'::timestamp) - extract(epoch from '2026-06-09 19:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450687 -2.800583)'), GeomFromEWKT('SRID=4674;POINT (-40.450659 -2.8006)'))) / (select extract(epoch from '2026-06-09 19:39:42'::timestamp) - extract(epoch from '2026-06-09 19:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450641 -2.800601)', '2026-06-09 19:39:55', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450659 -2.8006)'), GeomFromEWKT('SRID=4674;POINT (-40.450641 -2.800601)'))) / (select extract(epoch from '2026-06-09 19:39:55'::timestamp) - extract(epoch from '2026-06-09 19:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450659 -2.8006)'), GeomFromEWKT('SRID=4674;POINT (-40.450641 -2.800601)'))) / (select extract(epoch from '2026-06-09 19:39:55'::timestamp) - extract(epoch from '2026-06-09 19:39: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'), 46728, 'SRID=4674;POINT (-40.45063 -2.800602)', '2026-06-09 19:40:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450641 -2.800601)'), GeomFromEWKT('SRID=4674;POINT (-40.45063 -2.800602)'))) / (select extract(epoch from '2026-06-09 19:40:01'::timestamp) - extract(epoch from '2026-06-09 19:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450641 -2.800601)'), GeomFromEWKT('SRID=4674;POINT (-40.45063 -2.800602)'))) / (select extract(epoch from '2026-06-09 19:40:01'::timestamp) - extract(epoch from '2026-06-09 19:39: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'), 46728, 'SRID=4674;POINT (-40.450603 -2.800613)', '2026-06-09 19:40:13', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45063 -2.800602)'), GeomFromEWKT('SRID=4674;POINT (-40.450603 -2.800613)'))) / (select extract(epoch from '2026-06-09 19:40:13'::timestamp) - extract(epoch from '2026-06-09 19:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45063 -2.800602)'), GeomFromEWKT('SRID=4674;POINT (-40.450603 -2.800613)'))) / (select extract(epoch from '2026-06-09 19:40:13'::timestamp) - extract(epoch from '2026-06-09 19:40: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'), 46728, 'SRID=4674;POINT (-40.450598 -2.800618)', '2026-06-09 19:40:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450603 -2.800613)'), GeomFromEWKT('SRID=4674;POINT (-40.450598 -2.800618)'))) / (select extract(epoch from '2026-06-09 19:40:26'::timestamp) - extract(epoch from '2026-06-09 19:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450603 -2.800613)'), GeomFromEWKT('SRID=4674;POINT (-40.450598 -2.800618)'))) / (select extract(epoch from '2026-06-09 19:40:26'::timestamp) - extract(epoch from '2026-06-09 19:40: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'), 46728, 'SRID=4674;POINT (-40.450593 -2.800624)', '2026-06-09 19:40:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450598 -2.800618)'), GeomFromEWKT('SRID=4674;POINT (-40.450593 -2.800624)'))) / (select extract(epoch from '2026-06-09 19:40:36'::timestamp) - extract(epoch from '2026-06-09 19:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450598 -2.800618)'), GeomFromEWKT('SRID=4674;POINT (-40.450593 -2.800624)'))) / (select extract(epoch from '2026-06-09 19:40:36'::timestamp) - extract(epoch from '2026-06-09 19:40: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'), 46728, 'SRID=4674;POINT (-40.450565 -2.800642)', '2026-06-09 19:40:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450593 -2.800624)'), GeomFromEWKT('SRID=4674;POINT (-40.450565 -2.800642)'))) / (select extract(epoch from '2026-06-09 19:40:46'::timestamp) - extract(epoch from '2026-06-09 19:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450593 -2.800624)'), GeomFromEWKT('SRID=4674;POINT (-40.450565 -2.800642)'))) / (select extract(epoch from '2026-06-09 19:40:46'::timestamp) - extract(epoch from '2026-06-09 19:40: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'), 46728, 'SRID=4674;POINT (-40.450552 -2.800644)', '2026-06-09 19:40:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450565 -2.800642)'), GeomFromEWKT('SRID=4674;POINT (-40.450552 -2.800644)'))) / (select extract(epoch from '2026-06-09 19:40:52'::timestamp) - extract(epoch from '2026-06-09 19:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450565 -2.800642)'), GeomFromEWKT('SRID=4674;POINT (-40.450552 -2.800644)'))) / (select extract(epoch from '2026-06-09 19:40:52'::timestamp) - extract(epoch from '2026-06-09 19:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450536 -2.800633)', '2026-06-09 19:40:59', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450552 -2.800644)'), GeomFromEWKT('SRID=4674;POINT (-40.450536 -2.800633)'))) / (select extract(epoch from '2026-06-09 19:40:59'::timestamp) - extract(epoch from '2026-06-09 19:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450552 -2.800644)'), GeomFromEWKT('SRID=4674;POINT (-40.450536 -2.800633)'))) / (select extract(epoch from '2026-06-09 19:40:59'::timestamp) - extract(epoch from '2026-06-09 19:40: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'), 46728, 'SRID=4674;POINT (-40.45049 -2.800624)', '2026-06-09 19:41:10', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450536 -2.800633)'), GeomFromEWKT('SRID=4674;POINT (-40.45049 -2.800624)'))) / (select extract(epoch from '2026-06-09 19:41:10'::timestamp) - extract(epoch from '2026-06-09 19:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450536 -2.800633)'), GeomFromEWKT('SRID=4674;POINT (-40.45049 -2.800624)'))) / (select extract(epoch from '2026-06-09 19:41:10'::timestamp) - extract(epoch from '2026-06-09 19:40: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'), 46728, 'SRID=4674;POINT (-40.450455 -2.800647)', '2026-06-09 19:41:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45049 -2.800624)'), GeomFromEWKT('SRID=4674;POINT (-40.450455 -2.800647)'))) / (select extract(epoch from '2026-06-09 19:41:22'::timestamp) - extract(epoch from '2026-06-09 19:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45049 -2.800624)'), GeomFromEWKT('SRID=4674;POINT (-40.450455 -2.800647)'))) / (select extract(epoch from '2026-06-09 19:41:22'::timestamp) - extract(epoch from '2026-06-09 19:41: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'), 46728, 'SRID=4674;POINT (-40.450438 -2.800657)', '2026-06-09 19:41:33', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450455 -2.800647)'), GeomFromEWKT('SRID=4674;POINT (-40.450438 -2.800657)'))) / (select extract(epoch from '2026-06-09 19:41:33'::timestamp) - extract(epoch from '2026-06-09 19:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450455 -2.800647)'), GeomFromEWKT('SRID=4674;POINT (-40.450438 -2.800657)'))) / (select extract(epoch from '2026-06-09 19:41:33'::timestamp) - extract(epoch from '2026-06-09 19:41: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'), 46728, 'SRID=4674;POINT (-40.450433 -2.800661)', '2026-06-09 19:41:41', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450438 -2.800657)'), GeomFromEWKT('SRID=4674;POINT (-40.450433 -2.800661)'))) / (select extract(epoch from '2026-06-09 19:41:41'::timestamp) - extract(epoch from '2026-06-09 19:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450438 -2.800657)'), GeomFromEWKT('SRID=4674;POINT (-40.450433 -2.800661)'))) / (select extract(epoch from '2026-06-09 19:41:41'::timestamp) - extract(epoch from '2026-06-09 19:41: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'), 46728, 'SRID=4674;POINT (-40.450416 -2.800661)', '2026-06-09 19:41:50', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450433 -2.800661)'), GeomFromEWKT('SRID=4674;POINT (-40.450416 -2.800661)'))) / (select extract(epoch from '2026-06-09 19:41:50'::timestamp) - extract(epoch from '2026-06-09 19:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450433 -2.800661)'), GeomFromEWKT('SRID=4674;POINT (-40.450416 -2.800661)'))) / (select extract(epoch from '2026-06-09 19:41:50'::timestamp) - extract(epoch from '2026-06-09 19:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450386 -2.800669)', '2026-06-09 19:42:02', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450416 -2.800661)'), GeomFromEWKT('SRID=4674;POINT (-40.450386 -2.800669)'))) / (select extract(epoch from '2026-06-09 19:42:02'::timestamp) - extract(epoch from '2026-06-09 19:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450416 -2.800661)'), GeomFromEWKT('SRID=4674;POINT (-40.450386 -2.800669)'))) / (select extract(epoch from '2026-06-09 19:42:02'::timestamp) - extract(epoch from '2026-06-09 19:41: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'), 46728, 'SRID=4674;POINT (-40.450375 -2.800673)', '2026-06-09 19:42:14', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450386 -2.800669)'), GeomFromEWKT('SRID=4674;POINT (-40.450375 -2.800673)'))) / (select extract(epoch from '2026-06-09 19:42:14'::timestamp) - extract(epoch from '2026-06-09 19:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450386 -2.800669)'), GeomFromEWKT('SRID=4674;POINT (-40.450375 -2.800673)'))) / (select extract(epoch from '2026-06-09 19:42:14'::timestamp) - extract(epoch from '2026-06-09 19:42: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'), 46728, 'SRID=4674;POINT (-40.450361 -2.800664)', '2026-06-09 19:42:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450375 -2.800673)'), GeomFromEWKT('SRID=4674;POINT (-40.450361 -2.800664)'))) / (select extract(epoch from '2026-06-09 19:42:22'::timestamp) - extract(epoch from '2026-06-09 19:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450375 -2.800673)'), GeomFromEWKT('SRID=4674;POINT (-40.450361 -2.800664)'))) / (select extract(epoch from '2026-06-09 19:42:22'::timestamp) - extract(epoch from '2026-06-09 19:42:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450354 -2.800665)', '2026-06-09 19:42:31', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450361 -2.800664)'), GeomFromEWKT('SRID=4674;POINT (-40.450354 -2.800665)'))) / (select extract(epoch from '2026-06-09 19:42:31'::timestamp) - extract(epoch from '2026-06-09 19:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450361 -2.800664)'), GeomFromEWKT('SRID=4674;POINT (-40.450354 -2.800665)'))) / (select extract(epoch from '2026-06-09 19:42:31'::timestamp) - extract(epoch from '2026-06-09 19:42: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'), 46728, 'SRID=4674;POINT (-40.450348 -2.800673)', '2026-06-09 19:42:38', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450354 -2.800665)'), GeomFromEWKT('SRID=4674;POINT (-40.450348 -2.800673)'))) / (select extract(epoch from '2026-06-09 19:42:38'::timestamp) - extract(epoch from '2026-06-09 19:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450354 -2.800665)'), GeomFromEWKT('SRID=4674;POINT (-40.450348 -2.800673)'))) / (select extract(epoch from '2026-06-09 19:42:38'::timestamp) - extract(epoch from '2026-06-09 19:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450322 -2.800692)', '2026-06-09 19:42:53', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450348 -2.800673)'), GeomFromEWKT('SRID=4674;POINT (-40.450322 -2.800692)'))) / (select extract(epoch from '2026-06-09 19:42:53'::timestamp) - extract(epoch from '2026-06-09 19:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450348 -2.800673)'), GeomFromEWKT('SRID=4674;POINT (-40.450322 -2.800692)'))) / (select extract(epoch from '2026-06-09 19:42:53'::timestamp) - extract(epoch from '2026-06-09 19:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450302 -2.800699)', '2026-06-09 19:43:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450322 -2.800692)'), GeomFromEWKT('SRID=4674;POINT (-40.450302 -2.800699)'))) / (select extract(epoch from '2026-06-09 19:43:10'::timestamp) - extract(epoch from '2026-06-09 19:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450322 -2.800692)'), GeomFromEWKT('SRID=4674;POINT (-40.450302 -2.800699)'))) / (select extract(epoch from '2026-06-09 19:43:10'::timestamp) - extract(epoch from '2026-06-09 19:42: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'), 46728, 'SRID=4674;POINT (-40.450305 -2.800705)', '2026-06-09 19:43:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450302 -2.800699)'), GeomFromEWKT('SRID=4674;POINT (-40.450305 -2.800705)'))) / (select extract(epoch from '2026-06-09 19:43:20'::timestamp) - extract(epoch from '2026-06-09 19:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450302 -2.800699)'), GeomFromEWKT('SRID=4674;POINT (-40.450305 -2.800705)'))) / (select extract(epoch from '2026-06-09 19:43:20'::timestamp) - extract(epoch from '2026-06-09 19:43: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'), 46728, 'SRID=4674;POINT (-40.450309 -2.8007)', '2026-06-09 19:43:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450305 -2.800705)'), GeomFromEWKT('SRID=4674;POINT (-40.450309 -2.8007)'))) / (select extract(epoch from '2026-06-09 19:43:28'::timestamp) - extract(epoch from '2026-06-09 19:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450305 -2.800705)'), GeomFromEWKT('SRID=4674;POINT (-40.450309 -2.8007)'))) / (select extract(epoch from '2026-06-09 19:43:28'::timestamp) - extract(epoch from '2026-06-09 19:43: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'), 46728, 'SRID=4674;POINT (-40.450307 -2.800698)', '2026-06-09 19:43:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450309 -2.8007)'), GeomFromEWKT('SRID=4674;POINT (-40.450307 -2.800698)'))) / (select extract(epoch from '2026-06-09 19:43:34'::timestamp) - extract(epoch from '2026-06-09 19:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450309 -2.8007)'), GeomFromEWKT('SRID=4674;POINT (-40.450307 -2.800698)'))) / (select extract(epoch from '2026-06-09 19:43:34'::timestamp) - extract(epoch from '2026-06-09 19:43: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'), 46728, 'SRID=4674;POINT (-40.450302 -2.800697)', '2026-06-09 19:43:40', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450307 -2.800698)'), GeomFromEWKT('SRID=4674;POINT (-40.450302 -2.800697)'))) / (select extract(epoch from '2026-06-09 19:43:40'::timestamp) - extract(epoch from '2026-06-09 19:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450307 -2.800698)'), GeomFromEWKT('SRID=4674;POINT (-40.450302 -2.800697)'))) / (select extract(epoch from '2026-06-09 19:43:40'::timestamp) - extract(epoch from '2026-06-09 19:43: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'), 46728, 'SRID=4674;POINT (-40.450291 -2.80071)', '2026-06-09 19:43:51', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450302 -2.800697)'), GeomFromEWKT('SRID=4674;POINT (-40.450291 -2.80071)'))) / (select extract(epoch from '2026-06-09 19:43:51'::timestamp) - extract(epoch from '2026-06-09 19:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450302 -2.800697)'), GeomFromEWKT('SRID=4674;POINT (-40.450291 -2.80071)'))) / (select extract(epoch from '2026-06-09 19:43:51'::timestamp) - extract(epoch from '2026-06-09 19:43: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'), 46728, 'SRID=4674;POINT (-40.450294 -2.800702)', '2026-06-09 19:44:03', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450291 -2.80071)'), GeomFromEWKT('SRID=4674;POINT (-40.450294 -2.800702)'))) / (select extract(epoch from '2026-06-09 19:44:03'::timestamp) - extract(epoch from '2026-06-09 19:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450291 -2.80071)'), GeomFromEWKT('SRID=4674;POINT (-40.450294 -2.800702)'))) / (select extract(epoch from '2026-06-09 19:44:03'::timestamp) - extract(epoch from '2026-06-09 19:43: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'), 46728, 'SRID=4674;POINT (-40.450286 -2.800702)', '2026-06-09 19:44:11', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450294 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.450286 -2.800702)'))) / (select extract(epoch from '2026-06-09 19:44:11'::timestamp) - extract(epoch from '2026-06-09 19:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450294 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.450286 -2.800702)'))) / (select extract(epoch from '2026-06-09 19:44:11'::timestamp) - extract(epoch from '2026-06-09 19:44: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'), 46728, 'SRID=4674;POINT (-40.450288 -2.800706)', '2026-06-09 19:44:18', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450286 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.450288 -2.800706)'))) / (select extract(epoch from '2026-06-09 19:44:18'::timestamp) - extract(epoch from '2026-06-09 19:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450286 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.450288 -2.800706)'))) / (select extract(epoch from '2026-06-09 19:44:18'::timestamp) - extract(epoch from '2026-06-09 19:44: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'), 46728, 'SRID=4674;POINT (-40.450282 -2.80071)', '2026-06-09 19:44:25', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450288 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.450282 -2.80071)'))) / (select extract(epoch from '2026-06-09 19:44:25'::timestamp) - extract(epoch from '2026-06-09 19:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450288 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.450282 -2.80071)'))) / (select extract(epoch from '2026-06-09 19:44:25'::timestamp) - extract(epoch from '2026-06-09 19:44: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'), 46728, 'SRID=4674;POINT (-40.450278 -2.800699)', '2026-06-09 19:44:35', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450282 -2.80071)'), GeomFromEWKT('SRID=4674;POINT (-40.450278 -2.800699)'))) / (select extract(epoch from '2026-06-09 19:44:35'::timestamp) - extract(epoch from '2026-06-09 19:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450282 -2.80071)'), GeomFromEWKT('SRID=4674;POINT (-40.450278 -2.800699)'))) / (select extract(epoch from '2026-06-09 19:44:35'::timestamp) - extract(epoch from '2026-06-09 19:44: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'), 46728, 'SRID=4674;POINT (-40.45028 -2.800699)', '2026-06-09 19:44:42', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450278 -2.800699)'), GeomFromEWKT('SRID=4674;POINT (-40.45028 -2.800699)'))) / (select extract(epoch from '2026-06-09 19:44:42'::timestamp) - extract(epoch from '2026-06-09 19:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450278 -2.800699)'), GeomFromEWKT('SRID=4674;POINT (-40.45028 -2.800699)'))) / (select extract(epoch from '2026-06-09 19:44:42'::timestamp) - extract(epoch from '2026-06-09 19:44: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'), 46728, 'SRID=4674;POINT (-40.450274 -2.8007)', '2026-06-09 19:44:55', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45028 -2.800699)'), GeomFromEWKT('SRID=4674;POINT (-40.450274 -2.8007)'))) / (select extract(epoch from '2026-06-09 19:44:55'::timestamp) - extract(epoch from '2026-06-09 19:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.45028 -2.800699)'), GeomFromEWKT('SRID=4674;POINT (-40.450274 -2.8007)'))) / (select extract(epoch from '2026-06-09 19:44:55'::timestamp) - extract(epoch from '2026-06-09 19:44: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'), 46728, 'SRID=4674;POINT (-40.450268 -2.800708)', '2026-06-09 19:45:02', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450274 -2.8007)'), GeomFromEWKT('SRID=4674;POINT (-40.450268 -2.800708)'))) / (select extract(epoch from '2026-06-09 19:45:02'::timestamp) - extract(epoch from '2026-06-09 19:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450274 -2.8007)'), GeomFromEWKT('SRID=4674;POINT (-40.450268 -2.800708)'))) / (select extract(epoch from '2026-06-09 19:45:02'::timestamp) - extract(epoch from '2026-06-09 19:44: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'), 46728, 'SRID=4674;POINT (-40.450268 -2.80071)', '2026-06-09 19:45:10', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450268 -2.800708)'), GeomFromEWKT('SRID=4674;POINT (-40.450268 -2.80071)'))) / (select extract(epoch from '2026-06-09 19:45:10'::timestamp) - extract(epoch from '2026-06-09 19:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450268 -2.800708)'), GeomFromEWKT('SRID=4674;POINT (-40.450268 -2.80071)'))) / (select extract(epoch from '2026-06-09 19:45:10'::timestamp) - extract(epoch from '2026-06-09 19:45: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'), 46728, 'SRID=4674;POINT (-40.450256 -2.800703)', '2026-06-09 19:45:17', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450268 -2.80071)'), GeomFromEWKT('SRID=4674;POINT (-40.450256 -2.800703)'))) / (select extract(epoch from '2026-06-09 19:45:17'::timestamp) - extract(epoch from '2026-06-09 19:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450268 -2.80071)'), GeomFromEWKT('SRID=4674;POINT (-40.450256 -2.800703)'))) / (select extract(epoch from '2026-06-09 19:45:17'::timestamp) - extract(epoch from '2026-06-09 19:45: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'), 46728, 'SRID=4674;POINT (-40.450248 -2.800704)', '2026-06-09 19:45:28', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450256 -2.800703)'), GeomFromEWKT('SRID=4674;POINT (-40.450248 -2.800704)'))) / (select extract(epoch from '2026-06-09 19:45:28'::timestamp) - extract(epoch from '2026-06-09 19:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450256 -2.800703)'), GeomFromEWKT('SRID=4674;POINT (-40.450248 -2.800704)'))) / (select extract(epoch from '2026-06-09 19:45:28'::timestamp) - extract(epoch from '2026-06-09 19:45: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'), 46728, 'SRID=4674;POINT (-40.450245 -2.800715)', '2026-06-09 19:45:35', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450248 -2.800704)'), GeomFromEWKT('SRID=4674;POINT (-40.450245 -2.800715)'))) / (select extract(epoch from '2026-06-09 19:45:35'::timestamp) - extract(epoch from '2026-06-09 19:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450248 -2.800704)'), GeomFromEWKT('SRID=4674;POINT (-40.450245 -2.800715)'))) / (select extract(epoch from '2026-06-09 19:45:35'::timestamp) - extract(epoch from '2026-06-09 19:45: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'), 46728, 'SRID=4674;POINT (-40.450223 -2.800722)', '2026-06-09 19:45:47', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450245 -2.800715)'), GeomFromEWKT('SRID=4674;POINT (-40.450223 -2.800722)'))) / (select extract(epoch from '2026-06-09 19:45:47'::timestamp) - extract(epoch from '2026-06-09 19:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450245 -2.800715)'), GeomFromEWKT('SRID=4674;POINT (-40.450223 -2.800722)'))) / (select extract(epoch from '2026-06-09 19:45:47'::timestamp) - extract(epoch from '2026-06-09 19:45: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'), 46728, 'SRID=4674;POINT (-40.450185 -2.800724)', '2026-06-09 19:45:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450223 -2.800722)'), GeomFromEWKT('SRID=4674;POINT (-40.450185 -2.800724)'))) / (select extract(epoch from '2026-06-09 19:45:58'::timestamp) - extract(epoch from '2026-06-09 19:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450223 -2.800722)'), GeomFromEWKT('SRID=4674;POINT (-40.450185 -2.800724)'))) / (select extract(epoch from '2026-06-09 19:45:58'::timestamp) - extract(epoch from '2026-06-09 19:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450175 -2.800728)', '2026-06-09 19:46:09', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450185 -2.800724)'), GeomFromEWKT('SRID=4674;POINT (-40.450175 -2.800728)'))) / (select extract(epoch from '2026-06-09 19:46:09'::timestamp) - extract(epoch from '2026-06-09 19:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450185 -2.800724)'), GeomFromEWKT('SRID=4674;POINT (-40.450175 -2.800728)'))) / (select extract(epoch from '2026-06-09 19:46:09'::timestamp) - extract(epoch from '2026-06-09 19:45: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'), 46728, 'SRID=4674;POINT (-40.450172 -2.800736)', '2026-06-09 19:46:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450175 -2.800728)'), GeomFromEWKT('SRID=4674;POINT (-40.450172 -2.800736)'))) / (select extract(epoch from '2026-06-09 19:46:21'::timestamp) - extract(epoch from '2026-06-09 19:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450175 -2.800728)'), GeomFromEWKT('SRID=4674;POINT (-40.450172 -2.800736)'))) / (select extract(epoch from '2026-06-09 19:46:21'::timestamp) - extract(epoch from '2026-06-09 19:46: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'), 46728, 'SRID=4674;POINT (-40.450164 -2.800733)', '2026-06-09 19:46:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450172 -2.800736)'), GeomFromEWKT('SRID=4674;POINT (-40.450164 -2.800733)'))) / (select extract(epoch from '2026-06-09 19:46:33'::timestamp) - extract(epoch from '2026-06-09 19:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450172 -2.800736)'), GeomFromEWKT('SRID=4674;POINT (-40.450164 -2.800733)'))) / (select extract(epoch from '2026-06-09 19:46:33'::timestamp) - extract(epoch from '2026-06-09 19:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450149 -2.800737)', '2026-06-09 19:46:40', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450164 -2.800733)'), GeomFromEWKT('SRID=4674;POINT (-40.450149 -2.800737)'))) / (select extract(epoch from '2026-06-09 19:46:40'::timestamp) - extract(epoch from '2026-06-09 19:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450164 -2.800733)'), GeomFromEWKT('SRID=4674;POINT (-40.450149 -2.800737)'))) / (select extract(epoch from '2026-06-09 19:46:40'::timestamp) - extract(epoch from '2026-06-09 19:46: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'), 46728, 'SRID=4674;POINT (-40.450133 -2.800746)', '2026-06-09 19:46:48', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450149 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.450133 -2.800746)'))) / (select extract(epoch from '2026-06-09 19:46:48'::timestamp) - extract(epoch from '2026-06-09 19:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450149 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.450133 -2.800746)'))) / (select extract(epoch from '2026-06-09 19:46:48'::timestamp) - extract(epoch from '2026-06-09 19:46: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'), 46728, 'SRID=4674;POINT (-40.450121 -2.800758)', '2026-06-09 19:46:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450133 -2.800746)'), GeomFromEWKT('SRID=4674;POINT (-40.450121 -2.800758)'))) / (select extract(epoch from '2026-06-09 19:46:59'::timestamp) - extract(epoch from '2026-06-09 19:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450133 -2.800746)'), GeomFromEWKT('SRID=4674;POINT (-40.450121 -2.800758)'))) / (select extract(epoch from '2026-06-09 19:46:59'::timestamp) - extract(epoch from '2026-06-09 19:46: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'), 46728, 'SRID=4674;POINT (-40.450106 -2.800764)', '2026-06-09 19:47:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450121 -2.800758)'), GeomFromEWKT('SRID=4674;POINT (-40.450106 -2.800764)'))) / (select extract(epoch from '2026-06-09 19:47:11'::timestamp) - extract(epoch from '2026-06-09 19:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450121 -2.800758)'), GeomFromEWKT('SRID=4674;POINT (-40.450106 -2.800764)'))) / (select extract(epoch from '2026-06-09 19:47:11'::timestamp) - extract(epoch from '2026-06-09 19:46: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'), 46728, 'SRID=4674;POINT (-40.450063 -2.800766)', '2026-06-09 19:47:22', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450106 -2.800764)'), GeomFromEWKT('SRID=4674;POINT (-40.450063 -2.800766)'))) / (select extract(epoch from '2026-06-09 19:47:22'::timestamp) - extract(epoch from '2026-06-09 19:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450106 -2.800764)'), GeomFromEWKT('SRID=4674;POINT (-40.450063 -2.800766)'))) / (select extract(epoch from '2026-06-09 19:47:22'::timestamp) - extract(epoch from '2026-06-09 19:47: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'), 46728, 'SRID=4674;POINT (-40.450045 -2.800762)', '2026-06-09 19:47:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450063 -2.800766)'), GeomFromEWKT('SRID=4674;POINT (-40.450045 -2.800762)'))) / (select extract(epoch from '2026-06-09 19:47:33'::timestamp) - extract(epoch from '2026-06-09 19:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450063 -2.800766)'), GeomFromEWKT('SRID=4674;POINT (-40.450045 -2.800762)'))) / (select extract(epoch from '2026-06-09 19:47:33'::timestamp) - extract(epoch from '2026-06-09 19:47: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'), 46728, 'SRID=4674;POINT (-40.450033 -2.800778)', '2026-06-09 19:47:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450045 -2.800762)'), GeomFromEWKT('SRID=4674;POINT (-40.450033 -2.800778)'))) / (select extract(epoch from '2026-06-09 19:47:45'::timestamp) - extract(epoch from '2026-06-09 19:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450045 -2.800762)'), GeomFromEWKT('SRID=4674;POINT (-40.450033 -2.800778)'))) / (select extract(epoch from '2026-06-09 19:47:45'::timestamp) - extract(epoch from '2026-06-09 19:47: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'), 46728, 'SRID=4674;POINT (-40.450045 -2.800781)', '2026-06-09 19:47:52', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450033 -2.800778)'), GeomFromEWKT('SRID=4674;POINT (-40.450045 -2.800781)'))) / (select extract(epoch from '2026-06-09 19:47:52'::timestamp) - extract(epoch from '2026-06-09 19:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450033 -2.800778)'), GeomFromEWKT('SRID=4674;POINT (-40.450045 -2.800781)'))) / (select extract(epoch from '2026-06-09 19:47:52'::timestamp) - extract(epoch from '2026-06-09 19:47: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'), 46728, 'SRID=4674;POINT (-40.450049 -2.800781)', '2026-06-09 19:48:04', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450045 -2.800781)'), GeomFromEWKT('SRID=4674;POINT (-40.450049 -2.800781)'))) / (select extract(epoch from '2026-06-09 19:48:04'::timestamp) - extract(epoch from '2026-06-09 19:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450045 -2.800781)'), GeomFromEWKT('SRID=4674;POINT (-40.450049 -2.800781)'))) / (select extract(epoch from '2026-06-09 19:48:04'::timestamp) - extract(epoch from '2026-06-09 19:47: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'), 46728, 'SRID=4674;POINT (-40.450046 -2.800782)', '2026-06-09 19:48:13', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450049 -2.800781)'), GeomFromEWKT('SRID=4674;POINT (-40.450046 -2.800782)'))) / (select extract(epoch from '2026-06-09 19:48:13'::timestamp) - extract(epoch from '2026-06-09 19:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450049 -2.800781)'), GeomFromEWKT('SRID=4674;POINT (-40.450046 -2.800782)'))) / (select extract(epoch from '2026-06-09 19:48:13'::timestamp) - extract(epoch from '2026-06-09 19:48:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.450037 -2.800795)', '2026-06-09 19:48:22', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450046 -2.800782)'), GeomFromEWKT('SRID=4674;POINT (-40.450037 -2.800795)'))) / (select extract(epoch from '2026-06-09 19:48:22'::timestamp) - extract(epoch from '2026-06-09 19:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450046 -2.800782)'), GeomFromEWKT('SRID=4674;POINT (-40.450037 -2.800795)'))) / (select extract(epoch from '2026-06-09 19:48:22'::timestamp) - extract(epoch from '2026-06-09 19:48: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'), 46728, 'SRID=4674;POINT (-40.450002 -2.800798)', '2026-06-09 19:48:31', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450037 -2.800795)'), GeomFromEWKT('SRID=4674;POINT (-40.450002 -2.800798)'))) / (select extract(epoch from '2026-06-09 19:48:31'::timestamp) - extract(epoch from '2026-06-09 19:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450037 -2.800795)'), GeomFromEWKT('SRID=4674;POINT (-40.450002 -2.800798)'))) / (select extract(epoch from '2026-06-09 19:48:31'::timestamp) - extract(epoch from '2026-06-09 19:48: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'), 46728, 'SRID=4674;POINT (-40.449967 -2.800797)', '2026-06-09 19:48:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450002 -2.800798)'), GeomFromEWKT('SRID=4674;POINT (-40.449967 -2.800797)'))) / (select extract(epoch from '2026-06-09 19:48:43'::timestamp) - extract(epoch from '2026-06-09 19:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.450002 -2.800798)'), GeomFromEWKT('SRID=4674;POINT (-40.449967 -2.800797)'))) / (select extract(epoch from '2026-06-09 19:48:43'::timestamp) - extract(epoch from '2026-06-09 19:48:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.44992 -2.800819)', '2026-06-09 19:49:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449967 -2.800797)'), GeomFromEWKT('SRID=4674;POINT (-40.44992 -2.800819)'))) / (select extract(epoch from '2026-06-09 19:49:00'::timestamp) - extract(epoch from '2026-06-09 19:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449967 -2.800797)'), GeomFromEWKT('SRID=4674;POINT (-40.44992 -2.800819)'))) / (select extract(epoch from '2026-06-09 19:49:00'::timestamp) - extract(epoch from '2026-06-09 19:48: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'), 46728, 'SRID=4674;POINT (-40.449915 -2.800823)', '2026-06-09 19:49:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44992 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.449915 -2.800823)'))) / (select extract(epoch from '2026-06-09 19:49:10'::timestamp) - extract(epoch from '2026-06-09 19:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44992 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.449915 -2.800823)'))) / (select extract(epoch from '2026-06-09 19:49:10'::timestamp) - extract(epoch from '2026-06-09 19:49: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'), 46728, 'SRID=4674;POINT (-40.449885 -2.800816)', '2026-06-09 19:49:23', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449915 -2.800823)'), GeomFromEWKT('SRID=4674;POINT (-40.449885 -2.800816)'))) / (select extract(epoch from '2026-06-09 19:49:23'::timestamp) - extract(epoch from '2026-06-09 19:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449915 -2.800823)'), GeomFromEWKT('SRID=4674;POINT (-40.449885 -2.800816)'))) / (select extract(epoch from '2026-06-09 19:49:23'::timestamp) - extract(epoch from '2026-06-09 19:49: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'), 46728, 'SRID=4674;POINT (-40.449849 -2.800823)', '2026-06-09 19:49:32', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449885 -2.800816)'), GeomFromEWKT('SRID=4674;POINT (-40.449849 -2.800823)'))) / (select extract(epoch from '2026-06-09 19:49:32'::timestamp) - extract(epoch from '2026-06-09 19:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449885 -2.800816)'), GeomFromEWKT('SRID=4674;POINT (-40.449849 -2.800823)'))) / (select extract(epoch from '2026-06-09 19:49:32'::timestamp) - extract(epoch from '2026-06-09 19:49: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'), 46728, 'SRID=4674;POINT (-40.449782 -2.800826)', '2026-06-09 19:49:47', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449849 -2.800823)'), GeomFromEWKT('SRID=4674;POINT (-40.449782 -2.800826)'))) / (select extract(epoch from '2026-06-09 19:49:47'::timestamp) - extract(epoch from '2026-06-09 19:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449849 -2.800823)'), GeomFromEWKT('SRID=4674;POINT (-40.449782 -2.800826)'))) / (select extract(epoch from '2026-06-09 19:49:47'::timestamp) - extract(epoch from '2026-06-09 19:49: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'), 46728, 'SRID=4674;POINT (-40.449751 -2.800836)', '2026-06-09 19:49:57', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449782 -2.800826)'), GeomFromEWKT('SRID=4674;POINT (-40.449751 -2.800836)'))) / (select extract(epoch from '2026-06-09 19:49:57'::timestamp) - extract(epoch from '2026-06-09 19:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449782 -2.800826)'), GeomFromEWKT('SRID=4674;POINT (-40.449751 -2.800836)'))) / (select extract(epoch from '2026-06-09 19:49:57'::timestamp) - extract(epoch from '2026-06-09 19:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.449729 -2.800845)', '2026-06-09 19:50:06', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449751 -2.800836)'), GeomFromEWKT('SRID=4674;POINT (-40.449729 -2.800845)'))) / (select extract(epoch from '2026-06-09 19:50:06'::timestamp) - extract(epoch from '2026-06-09 19:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449751 -2.800836)'), GeomFromEWKT('SRID=4674;POINT (-40.449729 -2.800845)'))) / (select extract(epoch from '2026-06-09 19:50:06'::timestamp) - extract(epoch from '2026-06-09 19:49: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'), 46728, 'SRID=4674;POINT (-40.449719 -2.800845)', '2026-06-09 19:50:18', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449729 -2.800845)'), GeomFromEWKT('SRID=4674;POINT (-40.449719 -2.800845)'))) / (select extract(epoch from '2026-06-09 19:50:18'::timestamp) - extract(epoch from '2026-06-09 19:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449729 -2.800845)'), GeomFromEWKT('SRID=4674;POINT (-40.449719 -2.800845)'))) / (select extract(epoch from '2026-06-09 19:50:18'::timestamp) - extract(epoch from '2026-06-09 19:50: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'), 46728, 'SRID=4674;POINT (-40.449728 -2.800852)', '2026-06-09 19:50:25', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449719 -2.800845)'), GeomFromEWKT('SRID=4674;POINT (-40.449728 -2.800852)'))) / (select extract(epoch from '2026-06-09 19:50:25'::timestamp) - extract(epoch from '2026-06-09 19:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449719 -2.800845)'), GeomFromEWKT('SRID=4674;POINT (-40.449728 -2.800852)'))) / (select extract(epoch from '2026-06-09 19:50:25'::timestamp) - extract(epoch from '2026-06-09 19:50: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'), 46728, 'SRID=4674;POINT (-40.449727 -2.800849)', '2026-06-09 19:50:33', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449728 -2.800852)'), GeomFromEWKT('SRID=4674;POINT (-40.449727 -2.800849)'))) / (select extract(epoch from '2026-06-09 19:50:33'::timestamp) - extract(epoch from '2026-06-09 19:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449728 -2.800852)'), GeomFromEWKT('SRID=4674;POINT (-40.449727 -2.800849)'))) / (select extract(epoch from '2026-06-09 19:50:33'::timestamp) - extract(epoch from '2026-06-09 19:50: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'), 46728, 'SRID=4674;POINT (-40.449722 -2.800849)', '2026-06-09 19:50:41', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449727 -2.800849)'), GeomFromEWKT('SRID=4674;POINT (-40.449722 -2.800849)'))) / (select extract(epoch from '2026-06-09 19:50:41'::timestamp) - extract(epoch from '2026-06-09 19:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449727 -2.800849)'), GeomFromEWKT('SRID=4674;POINT (-40.449722 -2.800849)'))) / (select extract(epoch from '2026-06-09 19:50:41'::timestamp) - extract(epoch from '2026-06-09 19:50: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'), 46728, 'SRID=4674;POINT (-40.449713 -2.800847)', '2026-06-09 19:50:50', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449722 -2.800849)'), GeomFromEWKT('SRID=4674;POINT (-40.449713 -2.800847)'))) / (select extract(epoch from '2026-06-09 19:50:50'::timestamp) - extract(epoch from '2026-06-09 19:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449722 -2.800849)'), GeomFromEWKT('SRID=4674;POINT (-40.449713 -2.800847)'))) / (select extract(epoch from '2026-06-09 19:50:50'::timestamp) - extract(epoch from '2026-06-09 19:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.449714 -2.800848)', '2026-06-09 19:50:57', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449713 -2.800847)'), GeomFromEWKT('SRID=4674;POINT (-40.449714 -2.800848)'))) / (select extract(epoch from '2026-06-09 19:50:57'::timestamp) - extract(epoch from '2026-06-09 19:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449713 -2.800847)'), GeomFromEWKT('SRID=4674;POINT (-40.449714 -2.800848)'))) / (select extract(epoch from '2026-06-09 19:50:57'::timestamp) - extract(epoch from '2026-06-09 19:50: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'), 46728, 'SRID=4674;POINT (-40.449713 -2.800836)', '2026-06-09 19:51:07', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449714 -2.800848)'), GeomFromEWKT('SRID=4674;POINT (-40.449713 -2.800836)'))) / (select extract(epoch from '2026-06-09 19:51:07'::timestamp) - extract(epoch from '2026-06-09 19:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449714 -2.800848)'), GeomFromEWKT('SRID=4674;POINT (-40.449713 -2.800836)'))) / (select extract(epoch from '2026-06-09 19:51:07'::timestamp) - extract(epoch from '2026-06-09 19:50: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'), 46728, 'SRID=4674;POINT (-40.449718 -2.800834)', '2026-06-09 19:51:16', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449713 -2.800836)'), GeomFromEWKT('SRID=4674;POINT (-40.449718 -2.800834)'))) / (select extract(epoch from '2026-06-09 19:51:16'::timestamp) - extract(epoch from '2026-06-09 19:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449713 -2.800836)'), GeomFromEWKT('SRID=4674;POINT (-40.449718 -2.800834)'))) / (select extract(epoch from '2026-06-09 19:51:16'::timestamp) - extract(epoch from '2026-06-09 19:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.449722 -2.800836)', '2026-06-09 19:51:26', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449718 -2.800834)'), GeomFromEWKT('SRID=4674;POINT (-40.449722 -2.800836)'))) / (select extract(epoch from '2026-06-09 19:51:26'::timestamp) - extract(epoch from '2026-06-09 19:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449718 -2.800834)'), GeomFromEWKT('SRID=4674;POINT (-40.449722 -2.800836)'))) / (select extract(epoch from '2026-06-09 19:51:26'::timestamp) - extract(epoch from '2026-06-09 19:51: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'), 46728, 'SRID=4674;POINT (-40.44972 -2.80083)', '2026-06-09 19:51:34', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449722 -2.800836)'), GeomFromEWKT('SRID=4674;POINT (-40.44972 -2.80083)'))) / (select extract(epoch from '2026-06-09 19:51:34'::timestamp) - extract(epoch from '2026-06-09 19:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449722 -2.800836)'), GeomFromEWKT('SRID=4674;POINT (-40.44972 -2.80083)'))) / (select extract(epoch from '2026-06-09 19:51:34'::timestamp) - extract(epoch from '2026-06-09 19:51: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'), 46728, 'SRID=4674;POINT (-40.449717 -2.800835)', '2026-06-09 19:51:47', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44972 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.449717 -2.800835)'))) / (select extract(epoch from '2026-06-09 19:51:47'::timestamp) - extract(epoch from '2026-06-09 19:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.44972 -2.80083)'), GeomFromEWKT('SRID=4674;POINT (-40.449717 -2.800835)'))) / (select extract(epoch from '2026-06-09 19:51:47'::timestamp) - extract(epoch from '2026-06-09 19:51: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'), 46728, 'SRID=4674;POINT (-40.449717 -2.800835)', '2026-06-09 19:51:58', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449717 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.449717 -2.800835)'))) / (select extract(epoch from '2026-06-09 19:51:58'::timestamp) - extract(epoch from '2026-06-09 19:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449717 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.449717 -2.800835)'))) / (select extract(epoch from '2026-06-09 19:51:58'::timestamp) - extract(epoch from '2026-06-09 19:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46728, 'SRID=4674;POINT (-40.449718 -2.800838)', '2026-06-09 19:52:10', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449717 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.449718 -2.800838)'))) / (select extract(epoch from '2026-06-09 19:52:10'::timestamp) - extract(epoch from '2026-06-09 19:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.449717 -2.800835)'), GeomFromEWKT('SRID=4674;POINT (-40.449718 -2.800838)'))) / (select extract(epoch from '2026-06-09 19:52:10'::timestamp) - extract(epoch from '2026-06-09 19:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
