BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.693405 -2.992253)', '2026-06-12 09:20:13', 4.4, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.693399 -2.992235)', '2026-06-12 09:20:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693405 -2.992253)'), GeomFromEWKT('SRID=4674;POINT (-39.693399 -2.992235)'))) / (select extract(epoch from '2026-06-12 09:20:14'::timestamp) - extract(epoch from '2026-06-12 09:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693405 -2.992253)'), GeomFromEWKT('SRID=4674;POINT (-39.693399 -2.992235)'))) / (select extract(epoch from '2026-06-12 09:20:14'::timestamp) - extract(epoch from '2026-06-12 09:20: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'), 46742, 'SRID=4674;POINT (-39.693393 -2.992215)', '2026-06-12 09:20:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693399 -2.992235)'), GeomFromEWKT('SRID=4674;POINT (-39.693393 -2.992215)'))) / (select extract(epoch from '2026-06-12 09:20:15'::timestamp) - extract(epoch from '2026-06-12 09:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693399 -2.992235)'), GeomFromEWKT('SRID=4674;POINT (-39.693393 -2.992215)'))) / (select extract(epoch from '2026-06-12 09:20:15'::timestamp) - extract(epoch from '2026-06-12 09:20: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'), 46742, 'SRID=4674;POINT (-39.693347 -2.992095)', '2026-06-12 09:20:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693393 -2.992215)'), GeomFromEWKT('SRID=4674;POINT (-39.693347 -2.992095)'))) / (select extract(epoch from '2026-06-12 09:20:23'::timestamp) - extract(epoch from '2026-06-12 09:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693393 -2.992215)'), GeomFromEWKT('SRID=4674;POINT (-39.693347 -2.992095)'))) / (select extract(epoch from '2026-06-12 09:20:23'::timestamp) - extract(epoch from '2026-06-12 09:20: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'), 46742, 'SRID=4674;POINT (-39.693312 -2.99199)', '2026-06-12 09:20:30', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693347 -2.992095)'), GeomFromEWKT('SRID=4674;POINT (-39.693312 -2.99199)'))) / (select extract(epoch from '2026-06-12 09:20:30'::timestamp) - extract(epoch from '2026-06-12 09:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693347 -2.992095)'), GeomFromEWKT('SRID=4674;POINT (-39.693312 -2.99199)'))) / (select extract(epoch from '2026-06-12 09:20:30'::timestamp) - extract(epoch from '2026-06-12 09:20: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'), 46742, 'SRID=4674;POINT (-39.693247 -2.991855)', '2026-06-12 09:20:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693312 -2.99199)'), GeomFromEWKT('SRID=4674;POINT (-39.693247 -2.991855)'))) / (select extract(epoch from '2026-06-12 09:20:39'::timestamp) - extract(epoch from '2026-06-12 09:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693312 -2.99199)'), GeomFromEWKT('SRID=4674;POINT (-39.693247 -2.991855)'))) / (select extract(epoch from '2026-06-12 09:20:39'::timestamp) - extract(epoch from '2026-06-12 09:20: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'), 46742, 'SRID=4674;POINT (-39.6932 -2.991708)', '2026-06-12 09:20:47', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693247 -2.991855)'), GeomFromEWKT('SRID=4674;POINT (-39.6932 -2.991708)'))) / (select extract(epoch from '2026-06-12 09:20:47'::timestamp) - extract(epoch from '2026-06-12 09:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693247 -2.991855)'), GeomFromEWKT('SRID=4674;POINT (-39.6932 -2.991708)'))) / (select extract(epoch from '2026-06-12 09:20:47'::timestamp) - extract(epoch from '2026-06-12 09:20: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'), 46742, 'SRID=4674;POINT (-39.693128 -2.991561)', '2026-06-12 09:20:56', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6932 -2.991708)'), GeomFromEWKT('SRID=4674;POINT (-39.693128 -2.991561)'))) / (select extract(epoch from '2026-06-12 09:20:56'::timestamp) - extract(epoch from '2026-06-12 09:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6932 -2.991708)'), GeomFromEWKT('SRID=4674;POINT (-39.693128 -2.991561)'))) / (select extract(epoch from '2026-06-12 09:20:56'::timestamp) - extract(epoch from '2026-06-12 09:20: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'), 46742, 'SRID=4674;POINT (-39.693084 -2.991434)', '2026-06-12 09:21:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693128 -2.991561)'), GeomFromEWKT('SRID=4674;POINT (-39.693084 -2.991434)'))) / (select extract(epoch from '2026-06-12 09:21:04'::timestamp) - extract(epoch from '2026-06-12 09:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693128 -2.991561)'), GeomFromEWKT('SRID=4674;POINT (-39.693084 -2.991434)'))) / (select extract(epoch from '2026-06-12 09:21:04'::timestamp) - extract(epoch from '2026-06-12 09:20: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'), 46742, 'SRID=4674;POINT (-39.693041 -2.991273)', '2026-06-12 09:21:14', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693084 -2.991434)'), GeomFromEWKT('SRID=4674;POINT (-39.693041 -2.991273)'))) / (select extract(epoch from '2026-06-12 09:21:14'::timestamp) - extract(epoch from '2026-06-12 09:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693084 -2.991434)'), GeomFromEWKT('SRID=4674;POINT (-39.693041 -2.991273)'))) / (select extract(epoch from '2026-06-12 09:21:14'::timestamp) - extract(epoch from '2026-06-12 09:21: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'), 46742, 'SRID=4674;POINT (-39.693016 -2.991142)', '2026-06-12 09:21:21', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693041 -2.991273)'), GeomFromEWKT('SRID=4674;POINT (-39.693016 -2.991142)'))) / (select extract(epoch from '2026-06-12 09:21:21'::timestamp) - extract(epoch from '2026-06-12 09:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693041 -2.991273)'), GeomFromEWKT('SRID=4674;POINT (-39.693016 -2.991142)'))) / (select extract(epoch from '2026-06-12 09:21:21'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.69298 -2.991007)', '2026-06-12 09:21:28', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693016 -2.991142)'), GeomFromEWKT('SRID=4674;POINT (-39.69298 -2.991007)'))) / (select extract(epoch from '2026-06-12 09:21:28'::timestamp) - extract(epoch from '2026-06-12 09:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693016 -2.991142)'), GeomFromEWKT('SRID=4674;POINT (-39.69298 -2.991007)'))) / (select extract(epoch from '2026-06-12 09:21:28'::timestamp) - extract(epoch from '2026-06-12 09:21: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'), 46742, 'SRID=4674;POINT (-39.692946 -2.990888)', '2026-06-12 09:21:35', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69298 -2.991007)'), GeomFromEWKT('SRID=4674;POINT (-39.692946 -2.990888)'))) / (select extract(epoch from '2026-06-12 09:21:35'::timestamp) - extract(epoch from '2026-06-12 09:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69298 -2.991007)'), GeomFromEWKT('SRID=4674;POINT (-39.692946 -2.990888)'))) / (select extract(epoch from '2026-06-12 09:21:35'::timestamp) - extract(epoch from '2026-06-12 09:21: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'), 46742, 'SRID=4674;POINT (-39.692877 -2.990701)', '2026-06-12 09:21:45', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692946 -2.990888)'), GeomFromEWKT('SRID=4674;POINT (-39.692877 -2.990701)'))) / (select extract(epoch from '2026-06-12 09:21:45'::timestamp) - extract(epoch from '2026-06-12 09:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692946 -2.990888)'), GeomFromEWKT('SRID=4674;POINT (-39.692877 -2.990701)'))) / (select extract(epoch from '2026-06-12 09:21:45'::timestamp) - extract(epoch from '2026-06-12 09:21: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'), 46742, 'SRID=4674;POINT (-39.692719 -2.990305)', '2026-06-12 09:22:07', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692877 -2.990701)'), GeomFromEWKT('SRID=4674;POINT (-39.692719 -2.990305)'))) / (select extract(epoch from '2026-06-12 09:22:07'::timestamp) - extract(epoch from '2026-06-12 09:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692877 -2.990701)'), GeomFromEWKT('SRID=4674;POINT (-39.692719 -2.990305)'))) / (select extract(epoch from '2026-06-12 09:22:07'::timestamp) - extract(epoch from '2026-06-12 09:21: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'), 46742, 'SRID=4674;POINT (-39.692687 -2.990241)', '2026-06-12 09:22:11', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692719 -2.990305)'), GeomFromEWKT('SRID=4674;POINT (-39.692687 -2.990241)'))) / (select extract(epoch from '2026-06-12 09:22:11'::timestamp) - extract(epoch from '2026-06-12 09:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692719 -2.990305)'), GeomFromEWKT('SRID=4674;POINT (-39.692687 -2.990241)'))) / (select extract(epoch from '2026-06-12 09:22:11'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46742, 'SRID=4674;POINT (-39.692633 -2.990137)', '2026-06-12 09:22:17', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692687 -2.990241)'), GeomFromEWKT('SRID=4674;POINT (-39.692633 -2.990137)'))) / (select extract(epoch from '2026-06-12 09:22:17'::timestamp) - extract(epoch from '2026-06-12 09:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692687 -2.990241)'), GeomFromEWKT('SRID=4674;POINT (-39.692633 -2.990137)'))) / (select extract(epoch from '2026-06-12 09:22:17'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46742, 'SRID=4674;POINT (-39.692579 -2.989995)', '2026-06-12 09:22:25', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692633 -2.990137)'), GeomFromEWKT('SRID=4674;POINT (-39.692579 -2.989995)'))) / (select extract(epoch from '2026-06-12 09:22:25'::timestamp) - extract(epoch from '2026-06-12 09:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692633 -2.990137)'), GeomFromEWKT('SRID=4674;POINT (-39.692579 -2.989995)'))) / (select extract(epoch from '2026-06-12 09:22:25'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46742, 'SRID=4674;POINT (-39.692537 -2.989877)', '2026-06-12 09:22:32', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692579 -2.989995)'), GeomFromEWKT('SRID=4674;POINT (-39.692537 -2.989877)'))) / (select extract(epoch from '2026-06-12 09:22:32'::timestamp) - extract(epoch from '2026-06-12 09:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692579 -2.989995)'), GeomFromEWKT('SRID=4674;POINT (-39.692537 -2.989877)'))) / (select extract(epoch from '2026-06-12 09:22:32'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46742, 'SRID=4674;POINT (-39.6925 -2.989767)', '2026-06-12 09:22:38', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692537 -2.989877)'), GeomFromEWKT('SRID=4674;POINT (-39.6925 -2.989767)'))) / (select extract(epoch from '2026-06-12 09:22:38'::timestamp) - extract(epoch from '2026-06-12 09:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692537 -2.989877)'), GeomFromEWKT('SRID=4674;POINT (-39.6925 -2.989767)'))) / (select extract(epoch from '2026-06-12 09:22:38'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46742, 'SRID=4674;POINT (-39.692447 -2.989624)', '2026-06-12 09:22:47', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6925 -2.989767)'), GeomFromEWKT('SRID=4674;POINT (-39.692447 -2.989624)'))) / (select extract(epoch from '2026-06-12 09:22:47'::timestamp) - extract(epoch from '2026-06-12 09:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6925 -2.989767)'), GeomFromEWKT('SRID=4674;POINT (-39.692447 -2.989624)'))) / (select extract(epoch from '2026-06-12 09:22:47'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46742, 'SRID=4674;POINT (-39.692393 -2.989481)', '2026-06-12 09:22:54', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692447 -2.989624)'), GeomFromEWKT('SRID=4674;POINT (-39.692393 -2.989481)'))) / (select extract(epoch from '2026-06-12 09:22:54'::timestamp) - extract(epoch from '2026-06-12 09:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692447 -2.989624)'), GeomFromEWKT('SRID=4674;POINT (-39.692393 -2.989481)'))) / (select extract(epoch from '2026-06-12 09:22:54'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46742, 'SRID=4674;POINT (-39.692348 -2.989309)', '2026-06-12 09:23:03', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692393 -2.989481)'), GeomFromEWKT('SRID=4674;POINT (-39.692348 -2.989309)'))) / (select extract(epoch from '2026-06-12 09:23:03'::timestamp) - extract(epoch from '2026-06-12 09:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692393 -2.989481)'), GeomFromEWKT('SRID=4674;POINT (-39.692348 -2.989309)'))) / (select extract(epoch from '2026-06-12 09:23:03'::timestamp) - extract(epoch from '2026-06-12 09:22: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'), 46742, 'SRID=4674;POINT (-39.692314 -2.989191)', '2026-06-12 09:23:10', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692348 -2.989309)'), GeomFromEWKT('SRID=4674;POINT (-39.692314 -2.989191)'))) / (select extract(epoch from '2026-06-12 09:23:10'::timestamp) - extract(epoch from '2026-06-12 09:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692348 -2.989309)'), GeomFromEWKT('SRID=4674;POINT (-39.692314 -2.989191)'))) / (select extract(epoch from '2026-06-12 09:23:10'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46742, 'SRID=4674;POINT (-39.692242 -2.989081)', '2026-06-12 09:23:17', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692314 -2.989191)'), GeomFromEWKT('SRID=4674;POINT (-39.692242 -2.989081)'))) / (select extract(epoch from '2026-06-12 09:23:17'::timestamp) - extract(epoch from '2026-06-12 09:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692314 -2.989191)'), GeomFromEWKT('SRID=4674;POINT (-39.692242 -2.989081)'))) / (select extract(epoch from '2026-06-12 09:23:17'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46742, 'SRID=4674;POINT (-39.692144 -2.988958)', '2026-06-12 09:23:25', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692242 -2.989081)'), GeomFromEWKT('SRID=4674;POINT (-39.692144 -2.988958)'))) / (select extract(epoch from '2026-06-12 09:23:25'::timestamp) - extract(epoch from '2026-06-12 09:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692242 -2.989081)'), GeomFromEWKT('SRID=4674;POINT (-39.692144 -2.988958)'))) / (select extract(epoch from '2026-06-12 09:23:25'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46742, 'SRID=4674;POINT (-39.692089 -2.988866)', '2026-06-12 09:23:31', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692144 -2.988958)'), GeomFromEWKT('SRID=4674;POINT (-39.692089 -2.988866)'))) / (select extract(epoch from '2026-06-12 09:23:31'::timestamp) - extract(epoch from '2026-06-12 09:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692144 -2.988958)'), GeomFromEWKT('SRID=4674;POINT (-39.692089 -2.988866)'))) / (select extract(epoch from '2026-06-12 09:23:31'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46742, 'SRID=4674;POINT (-39.692037 -2.988721)', '2026-06-12 09:23:39', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692089 -2.988866)'), GeomFromEWKT('SRID=4674;POINT (-39.692037 -2.988721)'))) / (select extract(epoch from '2026-06-12 09:23:39'::timestamp) - extract(epoch from '2026-06-12 09:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692089 -2.988866)'), GeomFromEWKT('SRID=4674;POINT (-39.692037 -2.988721)'))) / (select extract(epoch from '2026-06-12 09:23:39'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46742, 'SRID=4674;POINT (-39.691991 -2.988624)', '2026-06-12 09:23:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692037 -2.988721)'), GeomFromEWKT('SRID=4674;POINT (-39.691991 -2.988624)'))) / (select extract(epoch from '2026-06-12 09:23:45'::timestamp) - extract(epoch from '2026-06-12 09:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692037 -2.988721)'), GeomFromEWKT('SRID=4674;POINT (-39.691991 -2.988624)'))) / (select extract(epoch from '2026-06-12 09:23:45'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46742, 'SRID=4674;POINT (-39.691965 -2.988543)', '2026-06-12 09:23:50', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691991 -2.988624)'), GeomFromEWKT('SRID=4674;POINT (-39.691965 -2.988543)'))) / (select extract(epoch from '2026-06-12 09:23:50'::timestamp) - extract(epoch from '2026-06-12 09:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691991 -2.988624)'), GeomFromEWKT('SRID=4674;POINT (-39.691965 -2.988543)'))) / (select extract(epoch from '2026-06-12 09:23:50'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46742, 'SRID=4674;POINT (-39.691933 -2.98844)', '2026-06-12 09:23:56', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691965 -2.988543)'), GeomFromEWKT('SRID=4674;POINT (-39.691933 -2.98844)'))) / (select extract(epoch from '2026-06-12 09:23:56'::timestamp) - extract(epoch from '2026-06-12 09:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691965 -2.988543)'), GeomFromEWKT('SRID=4674;POINT (-39.691933 -2.98844)'))) / (select extract(epoch from '2026-06-12 09:23:56'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46742, 'SRID=4674;POINT (-39.69189 -2.988304)', '2026-06-12 09:24:03', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691933 -2.98844)'), GeomFromEWKT('SRID=4674;POINT (-39.69189 -2.988304)'))) / (select extract(epoch from '2026-06-12 09:24:03'::timestamp) - extract(epoch from '2026-06-12 09:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691933 -2.98844)'), GeomFromEWKT('SRID=4674;POINT (-39.69189 -2.988304)'))) / (select extract(epoch from '2026-06-12 09:24:03'::timestamp) - extract(epoch from '2026-06-12 09:23: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'), 46742, 'SRID=4674;POINT (-39.691849 -2.988167)', '2026-06-12 09:24:10', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69189 -2.988304)'), GeomFromEWKT('SRID=4674;POINT (-39.691849 -2.988167)'))) / (select extract(epoch from '2026-06-12 09:24:10'::timestamp) - extract(epoch from '2026-06-12 09:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69189 -2.988304)'), GeomFromEWKT('SRID=4674;POINT (-39.691849 -2.988167)'))) / (select extract(epoch from '2026-06-12 09:24:10'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46742, 'SRID=4674;POINT (-39.691808 -2.988023)', '2026-06-12 09:24:17', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691849 -2.988167)'), GeomFromEWKT('SRID=4674;POINT (-39.691808 -2.988023)'))) / (select extract(epoch from '2026-06-12 09:24:17'::timestamp) - extract(epoch from '2026-06-12 09:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691849 -2.988167)'), GeomFromEWKT('SRID=4674;POINT (-39.691808 -2.988023)'))) / (select extract(epoch from '2026-06-12 09:24:17'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46742, 'SRID=4674;POINT (-39.691761 -2.987863)', '2026-06-12 09:24:25', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691808 -2.988023)'), GeomFromEWKT('SRID=4674;POINT (-39.691761 -2.987863)'))) / (select extract(epoch from '2026-06-12 09:24:25'::timestamp) - extract(epoch from '2026-06-12 09:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691808 -2.988023)'), GeomFromEWKT('SRID=4674;POINT (-39.691761 -2.987863)'))) / (select extract(epoch from '2026-06-12 09:24:25'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46742, 'SRID=4674;POINT (-39.691742 -2.987767)', '2026-06-12 09:24:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691761 -2.987863)'), GeomFromEWKT('SRID=4674;POINT (-39.691742 -2.987767)'))) / (select extract(epoch from '2026-06-12 09:24:30'::timestamp) - extract(epoch from '2026-06-12 09:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691761 -2.987863)'), GeomFromEWKT('SRID=4674;POINT (-39.691742 -2.987767)'))) / (select extract(epoch from '2026-06-12 09:24:30'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46742, 'SRID=4674;POINT (-39.691704 -2.987643)', '2026-06-12 09:24:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691742 -2.987767)'), GeomFromEWKT('SRID=4674;POINT (-39.691704 -2.987643)'))) / (select extract(epoch from '2026-06-12 09:24:36'::timestamp) - extract(epoch from '2026-06-12 09:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691742 -2.987767)'), GeomFromEWKT('SRID=4674;POINT (-39.691704 -2.987643)'))) / (select extract(epoch from '2026-06-12 09:24:36'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46742, 'SRID=4674;POINT (-39.69166 -2.987476)', '2026-06-12 09:24:44', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691704 -2.987643)'), GeomFromEWKT('SRID=4674;POINT (-39.69166 -2.987476)'))) / (select extract(epoch from '2026-06-12 09:24:44'::timestamp) - extract(epoch from '2026-06-12 09:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691704 -2.987643)'), GeomFromEWKT('SRID=4674;POINT (-39.69166 -2.987476)'))) / (select extract(epoch from '2026-06-12 09:24:44'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46742, 'SRID=4674;POINT (-39.691605 -2.987329)', '2026-06-12 09:24:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69166 -2.987476)'), GeomFromEWKT('SRID=4674;POINT (-39.691605 -2.987329)'))) / (select extract(epoch from '2026-06-12 09:24:52'::timestamp) - extract(epoch from '2026-06-12 09:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69166 -2.987476)'), GeomFromEWKT('SRID=4674;POINT (-39.691605 -2.987329)'))) / (select extract(epoch from '2026-06-12 09:24:52'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46742, 'SRID=4674;POINT (-39.691569 -2.987212)', '2026-06-12 09:24:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691605 -2.987329)'), GeomFromEWKT('SRID=4674;POINT (-39.691569 -2.987212)'))) / (select extract(epoch from '2026-06-12 09:24:59'::timestamp) - extract(epoch from '2026-06-12 09:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691605 -2.987329)'), GeomFromEWKT('SRID=4674;POINT (-39.691569 -2.987212)'))) / (select extract(epoch from '2026-06-12 09:24:59'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.691543 -2.987108)', '2026-06-12 09:25:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691569 -2.987212)'), GeomFromEWKT('SRID=4674;POINT (-39.691543 -2.987108)'))) / (select extract(epoch from '2026-06-12 09:25:05'::timestamp) - extract(epoch from '2026-06-12 09:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691569 -2.987212)'), GeomFromEWKT('SRID=4674;POINT (-39.691543 -2.987108)'))) / (select extract(epoch from '2026-06-12 09:25:05'::timestamp) - extract(epoch from '2026-06-12 09:24: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'), 46742, 'SRID=4674;POINT (-39.691509 -2.986948)', '2026-06-12 09:25:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691543 -2.987108)'), GeomFromEWKT('SRID=4674;POINT (-39.691509 -2.986948)'))) / (select extract(epoch from '2026-06-12 09:25:14'::timestamp) - extract(epoch from '2026-06-12 09:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691543 -2.987108)'), GeomFromEWKT('SRID=4674;POINT (-39.691509 -2.986948)'))) / (select extract(epoch from '2026-06-12 09:25:14'::timestamp) - extract(epoch from '2026-06-12 09:25: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'), 46742, 'SRID=4674;POINT (-39.691482 -2.986831)', '2026-06-12 09:25:20', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691509 -2.986948)'), GeomFromEWKT('SRID=4674;POINT (-39.691482 -2.986831)'))) / (select extract(epoch from '2026-06-12 09:25:20'::timestamp) - extract(epoch from '2026-06-12 09:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691509 -2.986948)'), GeomFromEWKT('SRID=4674;POINT (-39.691482 -2.986831)'))) / (select extract(epoch from '2026-06-12 09:25:20'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.691468 -2.986711)', '2026-06-12 09:25:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691482 -2.986831)'), GeomFromEWKT('SRID=4674;POINT (-39.691468 -2.986711)'))) / (select extract(epoch from '2026-06-12 09:25:26'::timestamp) - extract(epoch from '2026-06-12 09:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691482 -2.986831)'), GeomFromEWKT('SRID=4674;POINT (-39.691468 -2.986711)'))) / (select extract(epoch from '2026-06-12 09:25:26'::timestamp) - extract(epoch from '2026-06-12 09:25: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'), 46742, 'SRID=4674;POINT (-39.691454 -2.986571)', '2026-06-12 09:25:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691468 -2.986711)'), GeomFromEWKT('SRID=4674;POINT (-39.691454 -2.986571)'))) / (select extract(epoch from '2026-06-12 09:25:33'::timestamp) - extract(epoch from '2026-06-12 09:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691468 -2.986711)'), GeomFromEWKT('SRID=4674;POINT (-39.691454 -2.986571)'))) / (select extract(epoch from '2026-06-12 09:25:33'::timestamp) - extract(epoch from '2026-06-12 09:25: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'), 46742, 'SRID=4674;POINT (-39.691446 -2.986219)', '2026-06-12 09:25:49', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691454 -2.986571)'), GeomFromEWKT('SRID=4674;POINT (-39.691446 -2.986219)'))) / (select extract(epoch from '2026-06-12 09:25:49'::timestamp) - extract(epoch from '2026-06-12 09:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691454 -2.986571)'), GeomFromEWKT('SRID=4674;POINT (-39.691446 -2.986219)'))) / (select extract(epoch from '2026-06-12 09:25:49'::timestamp) - extract(epoch from '2026-06-12 09:25: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'), 46742, 'SRID=4674;POINT (-39.691283 -2.984762)', '2026-06-12 09:27:01', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691446 -2.986219)'), GeomFromEWKT('SRID=4674;POINT (-39.691283 -2.984762)'))) / (select extract(epoch from '2026-06-12 09:27:01'::timestamp) - extract(epoch from '2026-06-12 09:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691446 -2.986219)'), GeomFromEWKT('SRID=4674;POINT (-39.691283 -2.984762)'))) / (select extract(epoch from '2026-06-12 09:27:01'::timestamp) - extract(epoch from '2026-06-12 09:25: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'), 46742, 'SRID=4674;POINT (-39.691277 -2.984721)', '2026-06-12 09:27:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691283 -2.984762)'), GeomFromEWKT('SRID=4674;POINT (-39.691277 -2.984721)'))) / (select extract(epoch from '2026-06-12 09:27:03'::timestamp) - extract(epoch from '2026-06-12 09:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691283 -2.984762)'), GeomFromEWKT('SRID=4674;POINT (-39.691277 -2.984721)'))) / (select extract(epoch from '2026-06-12 09:27:03'::timestamp) - extract(epoch from '2026-06-12 09:27: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'), 46742, 'SRID=4674;POINT (-39.69124 -2.984562)', '2026-06-12 09:27:10', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691277 -2.984721)'), GeomFromEWKT('SRID=4674;POINT (-39.69124 -2.984562)'))) / (select extract(epoch from '2026-06-12 09:27:10'::timestamp) - extract(epoch from '2026-06-12 09:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691277 -2.984721)'), GeomFromEWKT('SRID=4674;POINT (-39.69124 -2.984562)'))) / (select extract(epoch from '2026-06-12 09:27:10'::timestamp) - extract(epoch from '2026-06-12 09:27: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'), 46742, 'SRID=4674;POINT (-39.691217 -2.984423)', '2026-06-12 09:27:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69124 -2.984562)'), GeomFromEWKT('SRID=4674;POINT (-39.691217 -2.984423)'))) / (select extract(epoch from '2026-06-12 09:27:17'::timestamp) - extract(epoch from '2026-06-12 09:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69124 -2.984562)'), GeomFromEWKT('SRID=4674;POINT (-39.691217 -2.984423)'))) / (select extract(epoch from '2026-06-12 09:27:17'::timestamp) - extract(epoch from '2026-06-12 09:27: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'), 46742, 'SRID=4674;POINT (-39.691149 -2.984243)', '2026-06-12 09:27:26', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691217 -2.984423)'), GeomFromEWKT('SRID=4674;POINT (-39.691149 -2.984243)'))) / (select extract(epoch from '2026-06-12 09:27:26'::timestamp) - extract(epoch from '2026-06-12 09:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691217 -2.984423)'), GeomFromEWKT('SRID=4674;POINT (-39.691149 -2.984243)'))) / (select extract(epoch from '2026-06-12 09:27:26'::timestamp) - extract(epoch from '2026-06-12 09:27: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'), 46742, 'SRID=4674;POINT (-39.691111 -2.984118)', '2026-06-12 09:27:34', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691149 -2.984243)'), GeomFromEWKT('SRID=4674;POINT (-39.691111 -2.984118)'))) / (select extract(epoch from '2026-06-12 09:27:34'::timestamp) - extract(epoch from '2026-06-12 09:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691149 -2.984243)'), GeomFromEWKT('SRID=4674;POINT (-39.691111 -2.984118)'))) / (select extract(epoch from '2026-06-12 09:27:34'::timestamp) - extract(epoch from '2026-06-12 09:27: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'), 46742, 'SRID=4674;POINT (-39.691076 -2.983928)', '2026-06-12 09:27:43', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691111 -2.984118)'), GeomFromEWKT('SRID=4674;POINT (-39.691076 -2.983928)'))) / (select extract(epoch from '2026-06-12 09:27:43'::timestamp) - extract(epoch from '2026-06-12 09:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691111 -2.984118)'), GeomFromEWKT('SRID=4674;POINT (-39.691076 -2.983928)'))) / (select extract(epoch from '2026-06-12 09:27:43'::timestamp) - extract(epoch from '2026-06-12 09:27: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'), 46742, 'SRID=4674;POINT (-39.691023 -2.983709)', '2026-06-12 09:27:53', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691076 -2.983928)'), GeomFromEWKT('SRID=4674;POINT (-39.691023 -2.983709)'))) / (select extract(epoch from '2026-06-12 09:27:53'::timestamp) - extract(epoch from '2026-06-12 09:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691076 -2.983928)'), GeomFromEWKT('SRID=4674;POINT (-39.691023 -2.983709)'))) / (select extract(epoch from '2026-06-12 09:27:53'::timestamp) - extract(epoch from '2026-06-12 09:27: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'), 46742, 'SRID=4674;POINT (-39.690988 -2.983532)', '2026-06-12 09:28:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691023 -2.983709)'), GeomFromEWKT('SRID=4674;POINT (-39.690988 -2.983532)'))) / (select extract(epoch from '2026-06-12 09:28:02'::timestamp) - extract(epoch from '2026-06-12 09:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.691023 -2.983709)'), GeomFromEWKT('SRID=4674;POINT (-39.690988 -2.983532)'))) / (select extract(epoch from '2026-06-12 09:28:02'::timestamp) - extract(epoch from '2026-06-12 09:27: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'), 46742, 'SRID=4674;POINT (-39.690936 -2.98337)', '2026-06-12 09:28:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690988 -2.983532)'), GeomFromEWKT('SRID=4674;POINT (-39.690936 -2.98337)'))) / (select extract(epoch from '2026-06-12 09:28:10'::timestamp) - extract(epoch from '2026-06-12 09:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690988 -2.983532)'), GeomFromEWKT('SRID=4674;POINT (-39.690936 -2.98337)'))) / (select extract(epoch from '2026-06-12 09:28:10'::timestamp) - extract(epoch from '2026-06-12 09:28: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'), 46742, 'SRID=4674;POINT (-39.690881 -2.983201)', '2026-06-12 09:28:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690936 -2.98337)'), GeomFromEWKT('SRID=4674;POINT (-39.690881 -2.983201)'))) / (select extract(epoch from '2026-06-12 09:28:18'::timestamp) - extract(epoch from '2026-06-12 09:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690936 -2.98337)'), GeomFromEWKT('SRID=4674;POINT (-39.690881 -2.983201)'))) / (select extract(epoch from '2026-06-12 09:28:18'::timestamp) - extract(epoch from '2026-06-12 09:28: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'), 46742, 'SRID=4674;POINT (-39.69084 -2.983063)', '2026-06-12 09:28:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690881 -2.983201)'), GeomFromEWKT('SRID=4674;POINT (-39.69084 -2.983063)'))) / (select extract(epoch from '2026-06-12 09:28:25'::timestamp) - extract(epoch from '2026-06-12 09:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690881 -2.983201)'), GeomFromEWKT('SRID=4674;POINT (-39.69084 -2.983063)'))) / (select extract(epoch from '2026-06-12 09:28:25'::timestamp) - extract(epoch from '2026-06-12 09:28: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'), 46742, 'SRID=4674;POINT (-39.690787 -2.982909)', '2026-06-12 09:28:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69084 -2.983063)'), GeomFromEWKT('SRID=4674;POINT (-39.690787 -2.982909)'))) / (select extract(epoch from '2026-06-12 09:28:32'::timestamp) - extract(epoch from '2026-06-12 09:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69084 -2.983063)'), GeomFromEWKT('SRID=4674;POINT (-39.690787 -2.982909)'))) / (select extract(epoch from '2026-06-12 09:28:32'::timestamp) - extract(epoch from '2026-06-12 09:28: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'), 46742, 'SRID=4674;POINT (-39.690724 -2.982753)', '2026-06-12 09:28:39', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690787 -2.982909)'), GeomFromEWKT('SRID=4674;POINT (-39.690724 -2.982753)'))) / (select extract(epoch from '2026-06-12 09:28:39'::timestamp) - extract(epoch from '2026-06-12 09:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690787 -2.982909)'), GeomFromEWKT('SRID=4674;POINT (-39.690724 -2.982753)'))) / (select extract(epoch from '2026-06-12 09:28:39'::timestamp) - extract(epoch from '2026-06-12 09:28: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'), 46742, 'SRID=4674;POINT (-39.690691 -2.982585)', '2026-06-12 09:28:48', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690724 -2.982753)'), GeomFromEWKT('SRID=4674;POINT (-39.690691 -2.982585)'))) / (select extract(epoch from '2026-06-12 09:28:48'::timestamp) - extract(epoch from '2026-06-12 09:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690724 -2.982753)'), GeomFromEWKT('SRID=4674;POINT (-39.690691 -2.982585)'))) / (select extract(epoch from '2026-06-12 09:28:48'::timestamp) - extract(epoch from '2026-06-12 09:28: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'), 46742, 'SRID=4674;POINT (-39.689773 -2.97845)', '2026-06-12 09:32:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690691 -2.982585)'), GeomFromEWKT('SRID=4674;POINT (-39.689773 -2.97845)'))) / (select extract(epoch from '2026-06-12 09:32:14'::timestamp) - extract(epoch from '2026-06-12 09:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690691 -2.982585)'), GeomFromEWKT('SRID=4674;POINT (-39.689773 -2.97845)'))) / (select extract(epoch from '2026-06-12 09:32:14'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.689762 -2.978351)', '2026-06-12 09:32:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689773 -2.97845)'), GeomFromEWKT('SRID=4674;POINT (-39.689762 -2.978351)'))) / (select extract(epoch from '2026-06-12 09:32:19'::timestamp) - extract(epoch from '2026-06-12 09:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689773 -2.97845)'), GeomFromEWKT('SRID=4674;POINT (-39.689762 -2.978351)'))) / (select extract(epoch from '2026-06-12 09:32:19'::timestamp) - extract(epoch from '2026-06-12 09:32: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'), 46742, 'SRID=4674;POINT (-39.689749 -2.978209)', '2026-06-12 09:32:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689762 -2.978351)'), GeomFromEWKT('SRID=4674;POINT (-39.689749 -2.978209)'))) / (select extract(epoch from '2026-06-12 09:32:26'::timestamp) - extract(epoch from '2026-06-12 09:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689762 -2.978351)'), GeomFromEWKT('SRID=4674;POINT (-39.689749 -2.978209)'))) / (select extract(epoch from '2026-06-12 09:32:26'::timestamp) - extract(epoch from '2026-06-12 09:32: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'), 46742, 'SRID=4674;POINT (-39.689724 -2.978055)', '2026-06-12 09:32:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689749 -2.978209)'), GeomFromEWKT('SRID=4674;POINT (-39.689724 -2.978055)'))) / (select extract(epoch from '2026-06-12 09:32:34'::timestamp) - extract(epoch from '2026-06-12 09:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689749 -2.978209)'), GeomFromEWKT('SRID=4674;POINT (-39.689724 -2.978055)'))) / (select extract(epoch from '2026-06-12 09:32:34'::timestamp) - extract(epoch from '2026-06-12 09:32: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'), 46742, 'SRID=4674;POINT (-39.689695 -2.977917)', '2026-06-12 09:32:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689724 -2.978055)'), GeomFromEWKT('SRID=4674;POINT (-39.689695 -2.977917)'))) / (select extract(epoch from '2026-06-12 09:32:41'::timestamp) - extract(epoch from '2026-06-12 09:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689724 -2.978055)'), GeomFromEWKT('SRID=4674;POINT (-39.689695 -2.977917)'))) / (select extract(epoch from '2026-06-12 09:32:41'::timestamp) - extract(epoch from '2026-06-12 09:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.689676 -2.977771)', '2026-06-12 09:32:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689695 -2.977917)'), GeomFromEWKT('SRID=4674;POINT (-39.689676 -2.977771)'))) / (select extract(epoch from '2026-06-12 09:32:48'::timestamp) - extract(epoch from '2026-06-12 09:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689695 -2.977917)'), GeomFromEWKT('SRID=4674;POINT (-39.689676 -2.977771)'))) / (select extract(epoch from '2026-06-12 09:32:48'::timestamp) - extract(epoch from '2026-06-12 09:32: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'), 46742, 'SRID=4674;POINT (-39.689666 -2.977631)', '2026-06-12 09:32:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689676 -2.977771)'), GeomFromEWKT('SRID=4674;POINT (-39.689666 -2.977631)'))) / (select extract(epoch from '2026-06-12 09:32:54'::timestamp) - extract(epoch from '2026-06-12 09:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689676 -2.977771)'), GeomFromEWKT('SRID=4674;POINT (-39.689666 -2.977631)'))) / (select extract(epoch from '2026-06-12 09:32:54'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.689648 -2.977496)', '2026-06-12 09:33:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689666 -2.977631)'), GeomFromEWKT('SRID=4674;POINT (-39.689648 -2.977496)'))) / (select extract(epoch from '2026-06-12 09:33:00'::timestamp) - extract(epoch from '2026-06-12 09:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689666 -2.977631)'), GeomFromEWKT('SRID=4674;POINT (-39.689648 -2.977496)'))) / (select extract(epoch from '2026-06-12 09:33:00'::timestamp) - extract(epoch from '2026-06-12 09:32: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'), 46742, 'SRID=4674;POINT (-39.689633 -2.977346)', '2026-06-12 09:33:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689648 -2.977496)'), GeomFromEWKT('SRID=4674;POINT (-39.689633 -2.977346)'))) / (select extract(epoch from '2026-06-12 09:33:07'::timestamp) - extract(epoch from '2026-06-12 09:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689648 -2.977496)'), GeomFromEWKT('SRID=4674;POINT (-39.689633 -2.977346)'))) / (select extract(epoch from '2026-06-12 09:33:07'::timestamp) - extract(epoch from '2026-06-12 09:33: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'), 46742, 'SRID=4674;POINT (-39.689618 -2.977198)', '2026-06-12 09:33:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689633 -2.977346)'), GeomFromEWKT('SRID=4674;POINT (-39.689618 -2.977198)'))) / (select extract(epoch from '2026-06-12 09:33:14'::timestamp) - extract(epoch from '2026-06-12 09:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689633 -2.977346)'), GeomFromEWKT('SRID=4674;POINT (-39.689618 -2.977198)'))) / (select extract(epoch from '2026-06-12 09:33:14'::timestamp) - extract(epoch from '2026-06-12 09:33: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'), 46742, 'SRID=4674;POINT (-39.689604 -2.977083)', '2026-06-12 09:33:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689618 -2.977198)'), GeomFromEWKT('SRID=4674;POINT (-39.689604 -2.977083)'))) / (select extract(epoch from '2026-06-12 09:33:20'::timestamp) - extract(epoch from '2026-06-12 09:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689618 -2.977198)'), GeomFromEWKT('SRID=4674;POINT (-39.689604 -2.977083)'))) / (select extract(epoch from '2026-06-12 09:33:20'::timestamp) - extract(epoch from '2026-06-12 09:33: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'), 46742, 'SRID=4674;POINT (-39.689597 -2.976938)', '2026-06-12 09:33:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689604 -2.977083)'), GeomFromEWKT('SRID=4674;POINT (-39.689597 -2.976938)'))) / (select extract(epoch from '2026-06-12 09:33:27'::timestamp) - extract(epoch from '2026-06-12 09:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689604 -2.977083)'), GeomFromEWKT('SRID=4674;POINT (-39.689597 -2.976938)'))) / (select extract(epoch from '2026-06-12 09:33:27'::timestamp) - extract(epoch from '2026-06-12 09:33: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'), 46742, 'SRID=4674;POINT (-39.689595 -2.976818)', '2026-06-12 09:33:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689597 -2.976938)'), GeomFromEWKT('SRID=4674;POINT (-39.689595 -2.976818)'))) / (select extract(epoch from '2026-06-12 09:33:33'::timestamp) - extract(epoch from '2026-06-12 09:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689597 -2.976938)'), GeomFromEWKT('SRID=4674;POINT (-39.689595 -2.976818)'))) / (select extract(epoch from '2026-06-12 09:33:33'::timestamp) - extract(epoch from '2026-06-12 09:33: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'), 46742, 'SRID=4674;POINT (-39.689574 -2.976644)', '2026-06-12 09:33:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689595 -2.976818)'), GeomFromEWKT('SRID=4674;POINT (-39.689574 -2.976644)'))) / (select extract(epoch from '2026-06-12 09:33:41'::timestamp) - extract(epoch from '2026-06-12 09:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689595 -2.976818)'), GeomFromEWKT('SRID=4674;POINT (-39.689574 -2.976644)'))) / (select extract(epoch from '2026-06-12 09:33:41'::timestamp) - extract(epoch from '2026-06-12 09:33: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'), 46742, 'SRID=4674;POINT (-39.689522 -2.976438)', '2026-06-12 09:33:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689574 -2.976644)'), GeomFromEWKT('SRID=4674;POINT (-39.689522 -2.976438)'))) / (select extract(epoch from '2026-06-12 09:33:51'::timestamp) - extract(epoch from '2026-06-12 09:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689574 -2.976644)'), GeomFromEWKT('SRID=4674;POINT (-39.689522 -2.976438)'))) / (select extract(epoch from '2026-06-12 09:33:51'::timestamp) - extract(epoch from '2026-06-12 09:33: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'), 46742, 'SRID=4674;POINT (-39.68951 -2.976307)', '2026-06-12 09:34:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689522 -2.976438)'), GeomFromEWKT('SRID=4674;POINT (-39.68951 -2.976307)'))) / (select extract(epoch from '2026-06-12 09:34:00'::timestamp) - extract(epoch from '2026-06-12 09:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689522 -2.976438)'), GeomFromEWKT('SRID=4674;POINT (-39.68951 -2.976307)'))) / (select extract(epoch from '2026-06-12 09:34:00'::timestamp) - extract(epoch from '2026-06-12 09:33: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'), 46742, 'SRID=4674;POINT (-39.689413 -2.975673)', '2026-06-12 09:34:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68951 -2.976307)'), GeomFromEWKT('SRID=4674;POINT (-39.689413 -2.975673)'))) / (select extract(epoch from '2026-06-12 09:34:33'::timestamp) - extract(epoch from '2026-06-12 09:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68951 -2.976307)'), GeomFromEWKT('SRID=4674;POINT (-39.689413 -2.975673)'))) / (select extract(epoch from '2026-06-12 09:34:33'::timestamp) - extract(epoch from '2026-06-12 09:34: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'), 46742, 'SRID=4674;POINT (-39.689349 -2.975535)', '2026-06-12 09:34:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689413 -2.975673)'), GeomFromEWKT('SRID=4674;POINT (-39.689349 -2.975535)'))) / (select extract(epoch from '2026-06-12 09:34:39'::timestamp) - extract(epoch from '2026-06-12 09:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689413 -2.975673)'), GeomFromEWKT('SRID=4674;POINT (-39.689349 -2.975535)'))) / (select extract(epoch from '2026-06-12 09:34:39'::timestamp) - extract(epoch from '2026-06-12 09:34: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'), 46742, 'SRID=4674;POINT (-39.689302 -2.975348)', '2026-06-12 09:34:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689349 -2.975535)'), GeomFromEWKT('SRID=4674;POINT (-39.689302 -2.975348)'))) / (select extract(epoch from '2026-06-12 09:34:48'::timestamp) - extract(epoch from '2026-06-12 09:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689349 -2.975535)'), GeomFromEWKT('SRID=4674;POINT (-39.689302 -2.975348)'))) / (select extract(epoch from '2026-06-12 09:34:48'::timestamp) - extract(epoch from '2026-06-12 09:34: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'), 46742, 'SRID=4674;POINT (-39.689256 -2.975195)', '2026-06-12 09:34:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689302 -2.975348)'), GeomFromEWKT('SRID=4674;POINT (-39.689256 -2.975195)'))) / (select extract(epoch from '2026-06-12 09:34:56'::timestamp) - extract(epoch from '2026-06-12 09:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689302 -2.975348)'), GeomFromEWKT('SRID=4674;POINT (-39.689256 -2.975195)'))) / (select extract(epoch from '2026-06-12 09:34:56'::timestamp) - extract(epoch from '2026-06-12 09:34: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'), 46742, 'SRID=4674;POINT (-39.689226 -2.975062)', '2026-06-12 09:35:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689256 -2.975195)'), GeomFromEWKT('SRID=4674;POINT (-39.689226 -2.975062)'))) / (select extract(epoch from '2026-06-12 09:35:03'::timestamp) - extract(epoch from '2026-06-12 09:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689256 -2.975195)'), GeomFromEWKT('SRID=4674;POINT (-39.689226 -2.975062)'))) / (select extract(epoch from '2026-06-12 09:35:03'::timestamp) - extract(epoch from '2026-06-12 09:34: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'), 46742, 'SRID=4674;POINT (-39.689184 -2.974894)', '2026-06-12 09:35:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689226 -2.975062)'), GeomFromEWKT('SRID=4674;POINT (-39.689184 -2.974894)'))) / (select extract(epoch from '2026-06-12 09:35:11'::timestamp) - extract(epoch from '2026-06-12 09:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689226 -2.975062)'), GeomFromEWKT('SRID=4674;POINT (-39.689184 -2.974894)'))) / (select extract(epoch from '2026-06-12 09:35:11'::timestamp) - extract(epoch from '2026-06-12 09:35: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'), 46742, 'SRID=4674;POINT (-39.689172 -2.974772)', '2026-06-12 09:35:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689184 -2.974894)'), GeomFromEWKT('SRID=4674;POINT (-39.689172 -2.974772)'))) / (select extract(epoch from '2026-06-12 09:35:18'::timestamp) - extract(epoch from '2026-06-12 09:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689184 -2.974894)'), GeomFromEWKT('SRID=4674;POINT (-39.689172 -2.974772)'))) / (select extract(epoch from '2026-06-12 09:35:18'::timestamp) - extract(epoch from '2026-06-12 09:35: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'), 46742, 'SRID=4674;POINT (-39.689155 -2.974667)', '2026-06-12 09:35:24', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689172 -2.974772)'), GeomFromEWKT('SRID=4674;POINT (-39.689155 -2.974667)'))) / (select extract(epoch from '2026-06-12 09:35:24'::timestamp) - extract(epoch from '2026-06-12 09:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689172 -2.974772)'), GeomFromEWKT('SRID=4674;POINT (-39.689155 -2.974667)'))) / (select extract(epoch from '2026-06-12 09:35:24'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.689135 -2.974532)', '2026-06-12 09:35:31', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689155 -2.974667)'), GeomFromEWKT('SRID=4674;POINT (-39.689135 -2.974532)'))) / (select extract(epoch from '2026-06-12 09:35:31'::timestamp) - extract(epoch from '2026-06-12 09:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689155 -2.974667)'), GeomFromEWKT('SRID=4674;POINT (-39.689135 -2.974532)'))) / (select extract(epoch from '2026-06-12 09:35:31'::timestamp) - extract(epoch from '2026-06-12 09:35: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'), 46742, 'SRID=4674;POINT (-39.689105 -2.974423)', '2026-06-12 09:35:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689135 -2.974532)'), GeomFromEWKT('SRID=4674;POINT (-39.689105 -2.974423)'))) / (select extract(epoch from '2026-06-12 09:35:37'::timestamp) - extract(epoch from '2026-06-12 09:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689135 -2.974532)'), GeomFromEWKT('SRID=4674;POINT (-39.689105 -2.974423)'))) / (select extract(epoch from '2026-06-12 09:35:37'::timestamp) - extract(epoch from '2026-06-12 09:35: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'), 46742, 'SRID=4674;POINT (-39.689083 -2.974287)', '2026-06-12 09:35:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689105 -2.974423)'), GeomFromEWKT('SRID=4674;POINT (-39.689083 -2.974287)'))) / (select extract(epoch from '2026-06-12 09:35:44'::timestamp) - extract(epoch from '2026-06-12 09:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689105 -2.974423)'), GeomFromEWKT('SRID=4674;POINT (-39.689083 -2.974287)'))) / (select extract(epoch from '2026-06-12 09:35:44'::timestamp) - extract(epoch from '2026-06-12 09:35: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'), 46742, 'SRID=4674;POINT (-39.68907 -2.974172)', '2026-06-12 09:35:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689083 -2.974287)'), GeomFromEWKT('SRID=4674;POINT (-39.68907 -2.974172)'))) / (select extract(epoch from '2026-06-12 09:35:50'::timestamp) - extract(epoch from '2026-06-12 09:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689083 -2.974287)'), GeomFromEWKT('SRID=4674;POINT (-39.68907 -2.974172)'))) / (select extract(epoch from '2026-06-12 09:35:50'::timestamp) - extract(epoch from '2026-06-12 09:35: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'), 46742, 'SRID=4674;POINT (-39.689033 -2.973979)', '2026-06-12 09:35:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68907 -2.974172)'), GeomFromEWKT('SRID=4674;POINT (-39.689033 -2.973979)'))) / (select extract(epoch from '2026-06-12 09:35:59'::timestamp) - extract(epoch from '2026-06-12 09:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68907 -2.974172)'), GeomFromEWKT('SRID=4674;POINT (-39.689033 -2.973979)'))) / (select extract(epoch from '2026-06-12 09:35:59'::timestamp) - extract(epoch from '2026-06-12 09:35: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'), 46742, 'SRID=4674;POINT (-39.689001 -2.973861)', '2026-06-12 09:36:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689033 -2.973979)'), GeomFromEWKT('SRID=4674;POINT (-39.689001 -2.973861)'))) / (select extract(epoch from '2026-06-12 09:36:05'::timestamp) - extract(epoch from '2026-06-12 09:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689033 -2.973979)'), GeomFromEWKT('SRID=4674;POINT (-39.689001 -2.973861)'))) / (select extract(epoch from '2026-06-12 09:36:05'::timestamp) - extract(epoch from '2026-06-12 09:35: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'), 46742, 'SRID=4674;POINT (-39.688983 -2.973807)', '2026-06-12 09:36:08', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689001 -2.973861)'), GeomFromEWKT('SRID=4674;POINT (-39.688983 -2.973807)'))) / (select extract(epoch from '2026-06-12 09:36:08'::timestamp) - extract(epoch from '2026-06-12 09:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.689001 -2.973861)'), GeomFromEWKT('SRID=4674;POINT (-39.688983 -2.973807)'))) / (select extract(epoch from '2026-06-12 09:36:08'::timestamp) - extract(epoch from '2026-06-12 09:36: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'), 46742, 'SRID=4674;POINT (-39.688974 -2.973768)', '2026-06-12 09:36:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688983 -2.973807)'), GeomFromEWKT('SRID=4674;POINT (-39.688974 -2.973768)'))) / (select extract(epoch from '2026-06-12 09:36:10'::timestamp) - extract(epoch from '2026-06-12 09:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688983 -2.973807)'), GeomFromEWKT('SRID=4674;POINT (-39.688974 -2.973768)'))) / (select extract(epoch from '2026-06-12 09:36:10'::timestamp) - extract(epoch from '2026-06-12 09:36: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'), 46742, 'SRID=4674;POINT (-39.688939 -2.973677)', '2026-06-12 09:36:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688974 -2.973768)'), GeomFromEWKT('SRID=4674;POINT (-39.688939 -2.973677)'))) / (select extract(epoch from '2026-06-12 09:36:15'::timestamp) - extract(epoch from '2026-06-12 09:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688974 -2.973768)'), GeomFromEWKT('SRID=4674;POINT (-39.688939 -2.973677)'))) / (select extract(epoch from '2026-06-12 09:36:15'::timestamp) - extract(epoch from '2026-06-12 09:36: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'), 46742, 'SRID=4674;POINT (-39.688914 -2.973532)', '2026-06-12 09:36:22', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688939 -2.973677)'), GeomFromEWKT('SRID=4674;POINT (-39.688914 -2.973532)'))) / (select extract(epoch from '2026-06-12 09:36:22'::timestamp) - extract(epoch from '2026-06-12 09:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688939 -2.973677)'), GeomFromEWKT('SRID=4674;POINT (-39.688914 -2.973532)'))) / (select extract(epoch from '2026-06-12 09:36:22'::timestamp) - extract(epoch from '2026-06-12 09:36: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'), 46742, 'SRID=4674;POINT (-39.68889 -2.973379)', '2026-06-12 09:36:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688914 -2.973532)'), GeomFromEWKT('SRID=4674;POINT (-39.68889 -2.973379)'))) / (select extract(epoch from '2026-06-12 09:36:29'::timestamp) - extract(epoch from '2026-06-12 09:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688914 -2.973532)'), GeomFromEWKT('SRID=4674;POINT (-39.68889 -2.973379)'))) / (select extract(epoch from '2026-06-12 09:36:29'::timestamp) - extract(epoch from '2026-06-12 09:36: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'), 46742, 'SRID=4674;POINT (-39.688865 -2.973254)', '2026-06-12 09:36:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68889 -2.973379)'), GeomFromEWKT('SRID=4674;POINT (-39.688865 -2.973254)'))) / (select extract(epoch from '2026-06-12 09:36:35'::timestamp) - extract(epoch from '2026-06-12 09:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68889 -2.973379)'), GeomFromEWKT('SRID=4674;POINT (-39.688865 -2.973254)'))) / (select extract(epoch from '2026-06-12 09:36:35'::timestamp) - extract(epoch from '2026-06-12 09:36: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'), 46742, 'SRID=4674;POINT (-39.68884 -2.973133)', '2026-06-12 09:36:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688865 -2.973254)'), GeomFromEWKT('SRID=4674;POINT (-39.68884 -2.973133)'))) / (select extract(epoch from '2026-06-12 09:36:41'::timestamp) - extract(epoch from '2026-06-12 09:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688865 -2.973254)'), GeomFromEWKT('SRID=4674;POINT (-39.68884 -2.973133)'))) / (select extract(epoch from '2026-06-12 09:36:41'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.688807 -2.972995)', '2026-06-12 09:36:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68884 -2.973133)'), GeomFromEWKT('SRID=4674;POINT (-39.688807 -2.972995)'))) / (select extract(epoch from '2026-06-12 09:36:48'::timestamp) - extract(epoch from '2026-06-12 09:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68884 -2.973133)'), GeomFromEWKT('SRID=4674;POINT (-39.688807 -2.972995)'))) / (select extract(epoch from '2026-06-12 09:36:48'::timestamp) - extract(epoch from '2026-06-12 09:36: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'), 46742, 'SRID=4674;POINT (-39.688767 -2.972866)', '2026-06-12 09:36:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688807 -2.972995)'), GeomFromEWKT('SRID=4674;POINT (-39.688767 -2.972866)'))) / (select extract(epoch from '2026-06-12 09:36:55'::timestamp) - extract(epoch from '2026-06-12 09:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688807 -2.972995)'), GeomFromEWKT('SRID=4674;POINT (-39.688767 -2.972866)'))) / (select extract(epoch from '2026-06-12 09:36:55'::timestamp) - extract(epoch from '2026-06-12 09:36: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'), 46742, 'SRID=4674;POINT (-39.688735 -2.972732)', '2026-06-12 09:37:02', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688767 -2.972866)'), GeomFromEWKT('SRID=4674;POINT (-39.688735 -2.972732)'))) / (select extract(epoch from '2026-06-12 09:37:02'::timestamp) - extract(epoch from '2026-06-12 09:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688767 -2.972866)'), GeomFromEWKT('SRID=4674;POINT (-39.688735 -2.972732)'))) / (select extract(epoch from '2026-06-12 09:37:02'::timestamp) - extract(epoch from '2026-06-12 09:36: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'), 46742, 'SRID=4674;POINT (-39.688704 -2.972582)', '2026-06-12 09:37:09', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688735 -2.972732)'), GeomFromEWKT('SRID=4674;POINT (-39.688704 -2.972582)'))) / (select extract(epoch from '2026-06-12 09:37:09'::timestamp) - extract(epoch from '2026-06-12 09:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688735 -2.972732)'), GeomFromEWKT('SRID=4674;POINT (-39.688704 -2.972582)'))) / (select extract(epoch from '2026-06-12 09:37:09'::timestamp) - extract(epoch from '2026-06-12 09:37: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'), 46742, 'SRID=4674;POINT (-39.688669 -2.972459)', '2026-06-12 09:37:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688704 -2.972582)'), GeomFromEWKT('SRID=4674;POINT (-39.688669 -2.972459)'))) / (select extract(epoch from '2026-06-12 09:37:15'::timestamp) - extract(epoch from '2026-06-12 09:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688704 -2.972582)'), GeomFromEWKT('SRID=4674;POINT (-39.688669 -2.972459)'))) / (select extract(epoch from '2026-06-12 09:37:15'::timestamp) - extract(epoch from '2026-06-12 09:37: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'), 46742, 'SRID=4674;POINT (-39.688633 -2.972291)', '2026-06-12 09:37:23', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688669 -2.972459)'), GeomFromEWKT('SRID=4674;POINT (-39.688633 -2.972291)'))) / (select extract(epoch from '2026-06-12 09:37:23'::timestamp) - extract(epoch from '2026-06-12 09:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688669 -2.972459)'), GeomFromEWKT('SRID=4674;POINT (-39.688633 -2.972291)'))) / (select extract(epoch from '2026-06-12 09:37:23'::timestamp) - extract(epoch from '2026-06-12 09:37: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'), 46742, 'SRID=4674;POINT (-39.688604 -2.972127)', '2026-06-12 09:37:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688633 -2.972291)'), GeomFromEWKT('SRID=4674;POINT (-39.688604 -2.972127)'))) / (select extract(epoch from '2026-06-12 09:37:31'::timestamp) - extract(epoch from '2026-06-12 09:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688633 -2.972291)'), GeomFromEWKT('SRID=4674;POINT (-39.688604 -2.972127)'))) / (select extract(epoch from '2026-06-12 09:37:31'::timestamp) - extract(epoch from '2026-06-12 09:37: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'), 46742, 'SRID=4674;POINT (-39.688576 -2.971938)', '2026-06-12 09:37:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688604 -2.972127)'), GeomFromEWKT('SRID=4674;POINT (-39.688576 -2.971938)'))) / (select extract(epoch from '2026-06-12 09:37:41'::timestamp) - extract(epoch from '2026-06-12 09:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688604 -2.972127)'), GeomFromEWKT('SRID=4674;POINT (-39.688576 -2.971938)'))) / (select extract(epoch from '2026-06-12 09:37:41'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.688556 -2.971812)', '2026-06-12 09:37:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688576 -2.971938)'), GeomFromEWKT('SRID=4674;POINT (-39.688556 -2.971812)'))) / (select extract(epoch from '2026-06-12 09:37:48'::timestamp) - extract(epoch from '2026-06-12 09:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688576 -2.971938)'), GeomFromEWKT('SRID=4674;POINT (-39.688556 -2.971812)'))) / (select extract(epoch from '2026-06-12 09:37:48'::timestamp) - extract(epoch from '2026-06-12 09:37: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'), 46742, 'SRID=4674;POINT (-39.68854 -2.971689)', '2026-06-12 09:37:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688556 -2.971812)'), GeomFromEWKT('SRID=4674;POINT (-39.68854 -2.971689)'))) / (select extract(epoch from '2026-06-12 09:37:54'::timestamp) - extract(epoch from '2026-06-12 09:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688556 -2.971812)'), GeomFromEWKT('SRID=4674;POINT (-39.68854 -2.971689)'))) / (select extract(epoch from '2026-06-12 09:37:54'::timestamp) - extract(epoch from '2026-06-12 09:37: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'), 46742, 'SRID=4674;POINT (-39.688522 -2.97156)', '2026-06-12 09:38:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68854 -2.971689)'), GeomFromEWKT('SRID=4674;POINT (-39.688522 -2.97156)'))) / (select extract(epoch from '2026-06-12 09:38:00'::timestamp) - extract(epoch from '2026-06-12 09:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68854 -2.971689)'), GeomFromEWKT('SRID=4674;POINT (-39.688522 -2.97156)'))) / (select extract(epoch from '2026-06-12 09:38:00'::timestamp) - extract(epoch from '2026-06-12 09:37: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'), 46742, 'SRID=4674;POINT (-39.688495 -2.971362)', '2026-06-12 09:38:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688522 -2.97156)'), GeomFromEWKT('SRID=4674;POINT (-39.688495 -2.971362)'))) / (select extract(epoch from '2026-06-12 09:38:09'::timestamp) - extract(epoch from '2026-06-12 09:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688522 -2.97156)'), GeomFromEWKT('SRID=4674;POINT (-39.688495 -2.971362)'))) / (select extract(epoch from '2026-06-12 09:38:09'::timestamp) - extract(epoch from '2026-06-12 09:38: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'), 46742, 'SRID=4674;POINT (-39.688478 -2.971215)', '2026-06-12 09:38:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688495 -2.971362)'), GeomFromEWKT('SRID=4674;POINT (-39.688478 -2.971215)'))) / (select extract(epoch from '2026-06-12 09:38:16'::timestamp) - extract(epoch from '2026-06-12 09:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688495 -2.971362)'), GeomFromEWKT('SRID=4674;POINT (-39.688478 -2.971215)'))) / (select extract(epoch from '2026-06-12 09:38:16'::timestamp) - extract(epoch from '2026-06-12 09:38: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'), 46742, 'SRID=4674;POINT (-39.68846 -2.971095)', '2026-06-12 09:38:22', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688478 -2.971215)'), GeomFromEWKT('SRID=4674;POINT (-39.68846 -2.971095)'))) / (select extract(epoch from '2026-06-12 09:38:22'::timestamp) - extract(epoch from '2026-06-12 09:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688478 -2.971215)'), GeomFromEWKT('SRID=4674;POINT (-39.68846 -2.971095)'))) / (select extract(epoch from '2026-06-12 09:38:22'::timestamp) - extract(epoch from '2026-06-12 09:38: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'), 46742, 'SRID=4674;POINT (-39.688439 -2.970975)', '2026-06-12 09:38:28', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68846 -2.971095)'), GeomFromEWKT('SRID=4674;POINT (-39.688439 -2.970975)'))) / (select extract(epoch from '2026-06-12 09:38:28'::timestamp) - extract(epoch from '2026-06-12 09:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68846 -2.971095)'), GeomFromEWKT('SRID=4674;POINT (-39.688439 -2.970975)'))) / (select extract(epoch from '2026-06-12 09:38:28'::timestamp) - extract(epoch from '2026-06-12 09:38: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'), 46742, 'SRID=4674;POINT (-39.68842 -2.970827)', '2026-06-12 09:38:35', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688439 -2.970975)'), GeomFromEWKT('SRID=4674;POINT (-39.68842 -2.970827)'))) / (select extract(epoch from '2026-06-12 09:38:35'::timestamp) - extract(epoch from '2026-06-12 09:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688439 -2.970975)'), GeomFromEWKT('SRID=4674;POINT (-39.68842 -2.970827)'))) / (select extract(epoch from '2026-06-12 09:38:35'::timestamp) - extract(epoch from '2026-06-12 09:38: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'), 46742, 'SRID=4674;POINT (-39.688389 -2.970668)', '2026-06-12 09:38:42', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68842 -2.970827)'), GeomFromEWKT('SRID=4674;POINT (-39.688389 -2.970668)'))) / (select extract(epoch from '2026-06-12 09:38:42'::timestamp) - extract(epoch from '2026-06-12 09:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68842 -2.970827)'), GeomFromEWKT('SRID=4674;POINT (-39.688389 -2.970668)'))) / (select extract(epoch from '2026-06-12 09:38:42'::timestamp) - extract(epoch from '2026-06-12 09:38: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'), 46742, 'SRID=4674;POINT (-39.688357 -2.970518)', '2026-06-12 09:38:49', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688389 -2.970668)'), GeomFromEWKT('SRID=4674;POINT (-39.688357 -2.970518)'))) / (select extract(epoch from '2026-06-12 09:38:49'::timestamp) - extract(epoch from '2026-06-12 09:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688389 -2.970668)'), GeomFromEWKT('SRID=4674;POINT (-39.688357 -2.970518)'))) / (select extract(epoch from '2026-06-12 09:38:49'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.688337 -2.970392)', '2026-06-12 09:38:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688357 -2.970518)'), GeomFromEWKT('SRID=4674;POINT (-39.688337 -2.970392)'))) / (select extract(epoch from '2026-06-12 09:38:55'::timestamp) - extract(epoch from '2026-06-12 09:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688357 -2.970518)'), GeomFromEWKT('SRID=4674;POINT (-39.688337 -2.970392)'))) / (select extract(epoch from '2026-06-12 09:38:55'::timestamp) - extract(epoch from '2026-06-12 09:38: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'), 46742, 'SRID=4674;POINT (-39.688271 -2.97024)', '2026-06-12 09:39:03', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688337 -2.970392)'), GeomFromEWKT('SRID=4674;POINT (-39.688271 -2.97024)'))) / (select extract(epoch from '2026-06-12 09:39:03'::timestamp) - extract(epoch from '2026-06-12 09:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688337 -2.970392)'), GeomFromEWKT('SRID=4674;POINT (-39.688271 -2.97024)'))) / (select extract(epoch from '2026-06-12 09:39:03'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.688256 -2.970146)', '2026-06-12 09:39:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688271 -2.97024)'), GeomFromEWKT('SRID=4674;POINT (-39.688256 -2.970146)'))) / (select extract(epoch from '2026-06-12 09:39:08'::timestamp) - extract(epoch from '2026-06-12 09:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688271 -2.97024)'), GeomFromEWKT('SRID=4674;POINT (-39.688256 -2.970146)'))) / (select extract(epoch from '2026-06-12 09:39:08'::timestamp) - extract(epoch from '2026-06-12 09:39: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'), 46742, 'SRID=4674;POINT (-39.688242 -2.970013)', '2026-06-12 09:39:14', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688256 -2.970146)'), GeomFromEWKT('SRID=4674;POINT (-39.688242 -2.970013)'))) / (select extract(epoch from '2026-06-12 09:39:14'::timestamp) - extract(epoch from '2026-06-12 09:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688256 -2.970146)'), GeomFromEWKT('SRID=4674;POINT (-39.688242 -2.970013)'))) / (select extract(epoch from '2026-06-12 09:39:14'::timestamp) - extract(epoch from '2026-06-12 09:39: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'), 46742, 'SRID=4674;POINT (-39.688221 -2.969866)', '2026-06-12 09:39:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688242 -2.970013)'), GeomFromEWKT('SRID=4674;POINT (-39.688221 -2.969866)'))) / (select extract(epoch from '2026-06-12 09:39:22'::timestamp) - extract(epoch from '2026-06-12 09:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688242 -2.970013)'), GeomFromEWKT('SRID=4674;POINT (-39.688221 -2.969866)'))) / (select extract(epoch from '2026-06-12 09:39:22'::timestamp) - extract(epoch from '2026-06-12 09:39: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'), 46742, 'SRID=4674;POINT (-39.68819 -2.969739)', '2026-06-12 09:39:29', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688221 -2.969866)'), GeomFromEWKT('SRID=4674;POINT (-39.68819 -2.969739)'))) / (select extract(epoch from '2026-06-12 09:39:29'::timestamp) - extract(epoch from '2026-06-12 09:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688221 -2.969866)'), GeomFromEWKT('SRID=4674;POINT (-39.68819 -2.969739)'))) / (select extract(epoch from '2026-06-12 09:39:29'::timestamp) - extract(epoch from '2026-06-12 09:39: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'), 46742, 'SRID=4674;POINT (-39.688168 -2.969621)', '2026-06-12 09:39:35', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68819 -2.969739)'), GeomFromEWKT('SRID=4674;POINT (-39.688168 -2.969621)'))) / (select extract(epoch from '2026-06-12 09:39:35'::timestamp) - extract(epoch from '2026-06-12 09:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68819 -2.969739)'), GeomFromEWKT('SRID=4674;POINT (-39.688168 -2.969621)'))) / (select extract(epoch from '2026-06-12 09:39:35'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.688152 -2.969509)', '2026-06-12 09:39:41', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688168 -2.969621)'), GeomFromEWKT('SRID=4674;POINT (-39.688152 -2.969509)'))) / (select extract(epoch from '2026-06-12 09:39:41'::timestamp) - extract(epoch from '2026-06-12 09:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688168 -2.969621)'), GeomFromEWKT('SRID=4674;POINT (-39.688152 -2.969509)'))) / (select extract(epoch from '2026-06-12 09:39:41'::timestamp) - extract(epoch from '2026-06-12 09:39: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'), 46742, 'SRID=4674;POINT (-39.688139 -2.969422)', '2026-06-12 09:39:46', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688152 -2.969509)'), GeomFromEWKT('SRID=4674;POINT (-39.688139 -2.969422)'))) / (select extract(epoch from '2026-06-12 09:39:46'::timestamp) - extract(epoch from '2026-06-12 09:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688152 -2.969509)'), GeomFromEWKT('SRID=4674;POINT (-39.688139 -2.969422)'))) / (select extract(epoch from '2026-06-12 09:39:46'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.688114 -2.969279)', '2026-06-12 09:39:54', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688139 -2.969422)'), GeomFromEWKT('SRID=4674;POINT (-39.688114 -2.969279)'))) / (select extract(epoch from '2026-06-12 09:39:54'::timestamp) - extract(epoch from '2026-06-12 09:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688139 -2.969422)'), GeomFromEWKT('SRID=4674;POINT (-39.688114 -2.969279)'))) / (select extract(epoch from '2026-06-12 09:39:54'::timestamp) - extract(epoch from '2026-06-12 09:39: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'), 46742, 'SRID=4674;POINT (-39.688095 -2.969143)', '2026-06-12 09:40:02', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688114 -2.969279)'), GeomFromEWKT('SRID=4674;POINT (-39.688095 -2.969143)'))) / (select extract(epoch from '2026-06-12 09:40:02'::timestamp) - extract(epoch from '2026-06-12 09:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688114 -2.969279)'), GeomFromEWKT('SRID=4674;POINT (-39.688095 -2.969143)'))) / (select extract(epoch from '2026-06-12 09:40:02'::timestamp) - extract(epoch from '2026-06-12 09:39: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'), 46742, 'SRID=4674;POINT (-39.688099 -2.969025)', '2026-06-12 09:40:09', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688095 -2.969143)'), GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.969025)'))) / (select extract(epoch from '2026-06-12 09:40:09'::timestamp) - extract(epoch from '2026-06-12 09:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688095 -2.969143)'), GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.969025)'))) / (select extract(epoch from '2026-06-12 09:40:09'::timestamp) - extract(epoch from '2026-06-12 09:40: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'), 46742, 'SRID=4674;POINT (-39.688104 -2.968881)', '2026-06-12 09:40:16', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.969025)'), GeomFromEWKT('SRID=4674;POINT (-39.688104 -2.968881)'))) / (select extract(epoch from '2026-06-12 09:40:16'::timestamp) - extract(epoch from '2026-06-12 09:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688099 -2.969025)'), GeomFromEWKT('SRID=4674;POINT (-39.688104 -2.968881)'))) / (select extract(epoch from '2026-06-12 09:40:16'::timestamp) - extract(epoch from '2026-06-12 09:40: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'), 46742, 'SRID=4674;POINT (-39.68809 -2.968745)', '2026-06-12 09:40:23', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688104 -2.968881)'), GeomFromEWKT('SRID=4674;POINT (-39.68809 -2.968745)'))) / (select extract(epoch from '2026-06-12 09:40:23'::timestamp) - extract(epoch from '2026-06-12 09:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688104 -2.968881)'), GeomFromEWKT('SRID=4674;POINT (-39.68809 -2.968745)'))) / (select extract(epoch from '2026-06-12 09:40:23'::timestamp) - extract(epoch from '2026-06-12 09:40: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'), 46742, 'SRID=4674;POINT (-39.688075 -2.968618)', '2026-06-12 09:40:30', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68809 -2.968745)'), GeomFromEWKT('SRID=4674;POINT (-39.688075 -2.968618)'))) / (select extract(epoch from '2026-06-12 09:40:30'::timestamp) - extract(epoch from '2026-06-12 09:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68809 -2.968745)'), GeomFromEWKT('SRID=4674;POINT (-39.688075 -2.968618)'))) / (select extract(epoch from '2026-06-12 09:40:30'::timestamp) - extract(epoch from '2026-06-12 09:40: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'), 46742, 'SRID=4674;POINT (-39.688043 -2.968473)', '2026-06-12 09:40:36', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688075 -2.968618)'), GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.968473)'))) / (select extract(epoch from '2026-06-12 09:40:36'::timestamp) - extract(epoch from '2026-06-12 09:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688075 -2.968618)'), GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.968473)'))) / (select extract(epoch from '2026-06-12 09:40:36'::timestamp) - extract(epoch from '2026-06-12 09:40: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'), 46742, 'SRID=4674;POINT (-39.688027 -2.968309)', '2026-06-12 09:40:42', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.968473)'), GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.968309)'))) / (select extract(epoch from '2026-06-12 09:40:42'::timestamp) - extract(epoch from '2026-06-12 09:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688043 -2.968473)'), GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.968309)'))) / (select extract(epoch from '2026-06-12 09:40:42'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.688021 -2.968124)', '2026-06-12 09:40:51', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.968309)'), GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.968124)'))) / (select extract(epoch from '2026-06-12 09:40:51'::timestamp) - extract(epoch from '2026-06-12 09:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688027 -2.968309)'), GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.968124)'))) / (select extract(epoch from '2026-06-12 09:40:51'::timestamp) - extract(epoch from '2026-06-12 09:40: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'), 46742, 'SRID=4674;POINT (-39.687996 -2.968037)', '2026-06-12 09:40:56', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.968124)'), GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.968037)'))) / (select extract(epoch from '2026-06-12 09:40:56'::timestamp) - extract(epoch from '2026-06-12 09:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.688021 -2.968124)'), GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.968037)'))) / (select extract(epoch from '2026-06-12 09:40:56'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.687959 -2.967908)', '2026-06-12 09:41:03', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.968037)'), GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.967908)'))) / (select extract(epoch from '2026-06-12 09:41:03'::timestamp) - extract(epoch from '2026-06-12 09:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687996 -2.968037)'), GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.967908)'))) / (select extract(epoch from '2026-06-12 09:41:03'::timestamp) - extract(epoch from '2026-06-12 09:40: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'), 46742, 'SRID=4674;POINT (-39.687909 -2.96774)', '2026-06-12 09:41:12', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.967908)'), GeomFromEWKT('SRID=4674;POINT (-39.687909 -2.96774)'))) / (select extract(epoch from '2026-06-12 09:41:12'::timestamp) - extract(epoch from '2026-06-12 09:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687959 -2.967908)'), GeomFromEWKT('SRID=4674;POINT (-39.687909 -2.96774)'))) / (select extract(epoch from '2026-06-12 09:41:12'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46742, 'SRID=4674;POINT (-39.687874 -2.96765)', '2026-06-12 09:41:18', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687909 -2.96774)'), GeomFromEWKT('SRID=4674;POINT (-39.687874 -2.96765)'))) / (select extract(epoch from '2026-06-12 09:41:18'::timestamp) - extract(epoch from '2026-06-12 09:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687909 -2.96774)'), GeomFromEWKT('SRID=4674;POINT (-39.687874 -2.96765)'))) / (select extract(epoch from '2026-06-12 09:41:18'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.687851 -2.967549)', '2026-06-12 09:41:23', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687874 -2.96765)'), GeomFromEWKT('SRID=4674;POINT (-39.687851 -2.967549)'))) / (select extract(epoch from '2026-06-12 09:41:23'::timestamp) - extract(epoch from '2026-06-12 09:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687874 -2.96765)'), GeomFromEWKT('SRID=4674;POINT (-39.687851 -2.967549)'))) / (select extract(epoch from '2026-06-12 09:41:23'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46742, 'SRID=4674;POINT (-39.687817 -2.967408)', '2026-06-12 09:41:30', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687851 -2.967549)'), GeomFromEWKT('SRID=4674;POINT (-39.687817 -2.967408)'))) / (select extract(epoch from '2026-06-12 09:41:30'::timestamp) - extract(epoch from '2026-06-12 09:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687851 -2.967549)'), GeomFromEWKT('SRID=4674;POINT (-39.687817 -2.967408)'))) / (select extract(epoch from '2026-06-12 09:41:30'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.687801 -2.967281)', '2026-06-12 09:41:36', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687817 -2.967408)'), GeomFromEWKT('SRID=4674;POINT (-39.687801 -2.967281)'))) / (select extract(epoch from '2026-06-12 09:41:36'::timestamp) - extract(epoch from '2026-06-12 09:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687817 -2.967408)'), GeomFromEWKT('SRID=4674;POINT (-39.687801 -2.967281)'))) / (select extract(epoch from '2026-06-12 09:41:36'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46742, 'SRID=4674;POINT (-39.687766 -2.967174)', '2026-06-12 09:41:42', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687801 -2.967281)'), GeomFromEWKT('SRID=4674;POINT (-39.687766 -2.967174)'))) / (select extract(epoch from '2026-06-12 09:41:42'::timestamp) - extract(epoch from '2026-06-12 09:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687801 -2.967281)'), GeomFromEWKT('SRID=4674;POINT (-39.687766 -2.967174)'))) / (select extract(epoch from '2026-06-12 09:41:42'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46742, 'SRID=4674;POINT (-39.684854 -2.9565)', '2026-06-12 09:51:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687766 -2.967174)'), GeomFromEWKT('SRID=4674;POINT (-39.684854 -2.9565)'))) / (select extract(epoch from '2026-06-12 09:51:08'::timestamp) - extract(epoch from '2026-06-12 09:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.687766 -2.967174)'), GeomFromEWKT('SRID=4674;POINT (-39.684854 -2.9565)'))) / (select extract(epoch from '2026-06-12 09:51:08'::timestamp) - extract(epoch from '2026-06-12 09:41: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'), 46742, 'SRID=4674;POINT (-39.68479 -2.956337)', '2026-06-12 09:51:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684854 -2.9565)'), GeomFromEWKT('SRID=4674;POINT (-39.68479 -2.956337)'))) / (select extract(epoch from '2026-06-12 09:51:15'::timestamp) - extract(epoch from '2026-06-12 09:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684854 -2.9565)'), GeomFromEWKT('SRID=4674;POINT (-39.68479 -2.956337)'))) / (select extract(epoch from '2026-06-12 09:51:15'::timestamp) - extract(epoch from '2026-06-12 09:51: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'), 46742, 'SRID=4674;POINT (-39.68475 -2.956179)', '2026-06-12 09:51:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68479 -2.956337)'), GeomFromEWKT('SRID=4674;POINT (-39.68475 -2.956179)'))) / (select extract(epoch from '2026-06-12 09:51:23'::timestamp) - extract(epoch from '2026-06-12 09:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68479 -2.956337)'), GeomFromEWKT('SRID=4674;POINT (-39.68475 -2.956179)'))) / (select extract(epoch from '2026-06-12 09:51:23'::timestamp) - extract(epoch from '2026-06-12 09:51: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'), 46742, 'SRID=4674;POINT (-39.684724 -2.956073)', '2026-06-12 09:51:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68475 -2.956179)'), GeomFromEWKT('SRID=4674;POINT (-39.684724 -2.956073)'))) / (select extract(epoch from '2026-06-12 09:51:29'::timestamp) - extract(epoch from '2026-06-12 09:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68475 -2.956179)'), GeomFromEWKT('SRID=4674;POINT (-39.684724 -2.956073)'))) / (select extract(epoch from '2026-06-12 09:51:29'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.684699 -2.95594)', '2026-06-12 09:51:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684724 -2.956073)'), GeomFromEWKT('SRID=4674;POINT (-39.684699 -2.95594)'))) / (select extract(epoch from '2026-06-12 09:51:37'::timestamp) - extract(epoch from '2026-06-12 09:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684724 -2.956073)'), GeomFromEWKT('SRID=4674;POINT (-39.684699 -2.95594)'))) / (select extract(epoch from '2026-06-12 09:51:37'::timestamp) - extract(epoch from '2026-06-12 09:51: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'), 46742, 'SRID=4674;POINT (-39.684693 -2.955828)', '2026-06-12 09:51:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684699 -2.95594)'), GeomFromEWKT('SRID=4674;POINT (-39.684693 -2.955828)'))) / (select extract(epoch from '2026-06-12 09:51:43'::timestamp) - extract(epoch from '2026-06-12 09:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684699 -2.95594)'), GeomFromEWKT('SRID=4674;POINT (-39.684693 -2.955828)'))) / (select extract(epoch from '2026-06-12 09:51:43'::timestamp) - extract(epoch from '2026-06-12 09:51: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'), 46742, 'SRID=4674;POINT (-39.684669 -2.955682)', '2026-06-12 09:51:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684693 -2.955828)'), GeomFromEWKT('SRID=4674;POINT (-39.684669 -2.955682)'))) / (select extract(epoch from '2026-06-12 09:51:50'::timestamp) - extract(epoch from '2026-06-12 09:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684693 -2.955828)'), GeomFromEWKT('SRID=4674;POINT (-39.684669 -2.955682)'))) / (select extract(epoch from '2026-06-12 09:51:50'::timestamp) - extract(epoch from '2026-06-12 09:51: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'), 46742, 'SRID=4674;POINT (-39.684658 -2.955568)', '2026-06-12 09:51:56', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684669 -2.955682)'), GeomFromEWKT('SRID=4674;POINT (-39.684658 -2.955568)'))) / (select extract(epoch from '2026-06-12 09:51:56'::timestamp) - extract(epoch from '2026-06-12 09:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684669 -2.955682)'), GeomFromEWKT('SRID=4674;POINT (-39.684658 -2.955568)'))) / (select extract(epoch from '2026-06-12 09:51:56'::timestamp) - extract(epoch from '2026-06-12 09:51: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'), 46742, 'SRID=4674;POINT (-39.684638 -2.955447)', '2026-06-12 09:52:02', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684658 -2.955568)'), GeomFromEWKT('SRID=4674;POINT (-39.684638 -2.955447)'))) / (select extract(epoch from '2026-06-12 09:52:02'::timestamp) - extract(epoch from '2026-06-12 09:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684658 -2.955568)'), GeomFromEWKT('SRID=4674;POINT (-39.684638 -2.955447)'))) / (select extract(epoch from '2026-06-12 09:52:02'::timestamp) - extract(epoch from '2026-06-12 09:51: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'), 46742, 'SRID=4674;POINT (-39.684628 -2.955353)', '2026-06-12 09:52:07', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684638 -2.955447)'), GeomFromEWKT('SRID=4674;POINT (-39.684628 -2.955353)'))) / (select extract(epoch from '2026-06-12 09:52:07'::timestamp) - extract(epoch from '2026-06-12 09:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684638 -2.955447)'), GeomFromEWKT('SRID=4674;POINT (-39.684628 -2.955353)'))) / (select extract(epoch from '2026-06-12 09:52:07'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46742, 'SRID=4674;POINT (-39.684603 -2.955211)', '2026-06-12 09:52:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684628 -2.955353)'), GeomFromEWKT('SRID=4674;POINT (-39.684603 -2.955211)'))) / (select extract(epoch from '2026-06-12 09:52:14'::timestamp) - extract(epoch from '2026-06-12 09:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684628 -2.955353)'), GeomFromEWKT('SRID=4674;POINT (-39.684603 -2.955211)'))) / (select extract(epoch from '2026-06-12 09:52:14'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46742, 'SRID=4674;POINT (-39.684583 -2.95512)', '2026-06-12 09:52:19', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684603 -2.955211)'), GeomFromEWKT('SRID=4674;POINT (-39.684583 -2.95512)'))) / (select extract(epoch from '2026-06-12 09:52:19'::timestamp) - extract(epoch from '2026-06-12 09:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684603 -2.955211)'), GeomFromEWKT('SRID=4674;POINT (-39.684583 -2.95512)'))) / (select extract(epoch from '2026-06-12 09:52:19'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46742, 'SRID=4674;POINT (-39.68455 -2.954964)', '2026-06-12 09:52:28', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684583 -2.95512)'), GeomFromEWKT('SRID=4674;POINT (-39.68455 -2.954964)'))) / (select extract(epoch from '2026-06-12 09:52:28'::timestamp) - extract(epoch from '2026-06-12 09:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684583 -2.95512)'), GeomFromEWKT('SRID=4674;POINT (-39.68455 -2.954964)'))) / (select extract(epoch from '2026-06-12 09:52:28'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46742, 'SRID=4674;POINT (-39.684524 -2.954834)', '2026-06-12 09:52:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68455 -2.954964)'), GeomFromEWKT('SRID=4674;POINT (-39.684524 -2.954834)'))) / (select extract(epoch from '2026-06-12 09:52:35'::timestamp) - extract(epoch from '2026-06-12 09:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68455 -2.954964)'), GeomFromEWKT('SRID=4674;POINT (-39.684524 -2.954834)'))) / (select extract(epoch from '2026-06-12 09:52:35'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46742, 'SRID=4674;POINT (-39.684507 -2.954718)', '2026-06-12 09:52:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684524 -2.954834)'), GeomFromEWKT('SRID=4674;POINT (-39.684507 -2.954718)'))) / (select extract(epoch from '2026-06-12 09:52:41'::timestamp) - extract(epoch from '2026-06-12 09:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684524 -2.954834)'), GeomFromEWKT('SRID=4674;POINT (-39.684507 -2.954718)'))) / (select extract(epoch from '2026-06-12 09:52:41'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46742, 'SRID=4674;POINT (-39.684478 -2.954583)', '2026-06-12 09:52:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684507 -2.954718)'), GeomFromEWKT('SRID=4674;POINT (-39.684478 -2.954583)'))) / (select extract(epoch from '2026-06-12 09:52:48'::timestamp) - extract(epoch from '2026-06-12 09:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684507 -2.954718)'), GeomFromEWKT('SRID=4674;POINT (-39.684478 -2.954583)'))) / (select extract(epoch from '2026-06-12 09:52:48'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46742, 'SRID=4674;POINT (-39.68445 -2.954447)', '2026-06-12 09:52:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684478 -2.954583)'), GeomFromEWKT('SRID=4674;POINT (-39.68445 -2.954447)'))) / (select extract(epoch from '2026-06-12 09:52:55'::timestamp) - extract(epoch from '2026-06-12 09:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684478 -2.954583)'), GeomFromEWKT('SRID=4674;POINT (-39.68445 -2.954447)'))) / (select extract(epoch from '2026-06-12 09:52:55'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46742, 'SRID=4674;POINT (-39.684452 -2.954428)', '2026-06-12 09:52:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68445 -2.954447)'), GeomFromEWKT('SRID=4674;POINT (-39.684452 -2.954428)'))) / (select extract(epoch from '2026-06-12 09:52:56'::timestamp) - extract(epoch from '2026-06-12 09:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68445 -2.954447)'), GeomFromEWKT('SRID=4674;POINT (-39.684452 -2.954428)'))) / (select extract(epoch from '2026-06-12 09:52:56'::timestamp) - extract(epoch from '2026-06-12 09:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.68445 -2.954411)', '2026-06-12 09:52:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684452 -2.954428)'), GeomFromEWKT('SRID=4674;POINT (-39.68445 -2.954411)'))) / (select extract(epoch from '2026-06-12 09:52:57'::timestamp) - extract(epoch from '2026-06-12 09:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684452 -2.954428)'), GeomFromEWKT('SRID=4674;POINT (-39.68445 -2.954411)'))) / (select extract(epoch from '2026-06-12 09:52:57'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46742, 'SRID=4674;POINT (-39.684426 -2.954339)', '2026-06-12 09:53:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68445 -2.954411)'), GeomFromEWKT('SRID=4674;POINT (-39.684426 -2.954339)'))) / (select extract(epoch from '2026-06-12 09:53:01'::timestamp) - extract(epoch from '2026-06-12 09:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68445 -2.954411)'), GeomFromEWKT('SRID=4674;POINT (-39.684426 -2.954339)'))) / (select extract(epoch from '2026-06-12 09:53:01'::timestamp) - extract(epoch from '2026-06-12 09:52: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'), 46742, 'SRID=4674;POINT (-39.684391 -2.954248)', '2026-06-12 09:53:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684426 -2.954339)'), GeomFromEWKT('SRID=4674;POINT (-39.684391 -2.954248)'))) / (select extract(epoch from '2026-06-12 09:53:07'::timestamp) - extract(epoch from '2026-06-12 09:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684426 -2.954339)'), GeomFromEWKT('SRID=4674;POINT (-39.684391 -2.954248)'))) / (select extract(epoch from '2026-06-12 09:53:07'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.684351 -2.954121)', '2026-06-12 09:53:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684391 -2.954248)'), GeomFromEWKT('SRID=4674;POINT (-39.684351 -2.954121)'))) / (select extract(epoch from '2026-06-12 09:53:15'::timestamp) - extract(epoch from '2026-06-12 09:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684391 -2.954248)'), GeomFromEWKT('SRID=4674;POINT (-39.684351 -2.954121)'))) / (select extract(epoch from '2026-06-12 09:53:15'::timestamp) - extract(epoch from '2026-06-12 09:53: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'), 46742, 'SRID=4674;POINT (-39.684303 -2.95395)', '2026-06-12 09:53:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684351 -2.954121)'), GeomFromEWKT('SRID=4674;POINT (-39.684303 -2.95395)'))) / (select extract(epoch from '2026-06-12 09:53:24'::timestamp) - extract(epoch from '2026-06-12 09:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684351 -2.954121)'), GeomFromEWKT('SRID=4674;POINT (-39.684303 -2.95395)'))) / (select extract(epoch from '2026-06-12 09:53:24'::timestamp) - extract(epoch from '2026-06-12 09:53: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'), 46742, 'SRID=4674;POINT (-39.684284 -2.953833)', '2026-06-12 09:53:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684303 -2.95395)'), GeomFromEWKT('SRID=4674;POINT (-39.684284 -2.953833)'))) / (select extract(epoch from '2026-06-12 09:53:30'::timestamp) - extract(epoch from '2026-06-12 09:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684303 -2.95395)'), GeomFromEWKT('SRID=4674;POINT (-39.684284 -2.953833)'))) / (select extract(epoch from '2026-06-12 09:53:30'::timestamp) - extract(epoch from '2026-06-12 09:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.684261 -2.953726)', '2026-06-12 09:53:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684284 -2.953833)'), GeomFromEWKT('SRID=4674;POINT (-39.684261 -2.953726)'))) / (select extract(epoch from '2026-06-12 09:53:36'::timestamp) - extract(epoch from '2026-06-12 09:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684284 -2.953833)'), GeomFromEWKT('SRID=4674;POINT (-39.684261 -2.953726)'))) / (select extract(epoch from '2026-06-12 09:53:36'::timestamp) - extract(epoch from '2026-06-12 09:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.684231 -2.953624)', '2026-06-12 09:53:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684261 -2.953726)'), GeomFromEWKT('SRID=4674;POINT (-39.684231 -2.953624)'))) / (select extract(epoch from '2026-06-12 09:53:42'::timestamp) - extract(epoch from '2026-06-12 09:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684261 -2.953726)'), GeomFromEWKT('SRID=4674;POINT (-39.684231 -2.953624)'))) / (select extract(epoch from '2026-06-12 09:53:42'::timestamp) - extract(epoch from '2026-06-12 09:53: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'), 46742, 'SRID=4674;POINT (-39.684199 -2.9535)', '2026-06-12 09:53:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684231 -2.953624)'), GeomFromEWKT('SRID=4674;POINT (-39.684199 -2.9535)'))) / (select extract(epoch from '2026-06-12 09:53:49'::timestamp) - extract(epoch from '2026-06-12 09:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684231 -2.953624)'), GeomFromEWKT('SRID=4674;POINT (-39.684199 -2.9535)'))) / (select extract(epoch from '2026-06-12 09:53:49'::timestamp) - extract(epoch from '2026-06-12 09:53: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'), 46742, 'SRID=4674;POINT (-39.684171 -2.95339)', '2026-06-12 09:53:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684199 -2.9535)'), GeomFromEWKT('SRID=4674;POINT (-39.684171 -2.95339)'))) / (select extract(epoch from '2026-06-12 09:53:55'::timestamp) - extract(epoch from '2026-06-12 09:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684199 -2.9535)'), GeomFromEWKT('SRID=4674;POINT (-39.684171 -2.95339)'))) / (select extract(epoch from '2026-06-12 09:53:55'::timestamp) - extract(epoch from '2026-06-12 09:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.684155 -2.953265)', '2026-06-12 09:54:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684171 -2.95339)'), GeomFromEWKT('SRID=4674;POINT (-39.684155 -2.953265)'))) / (select extract(epoch from '2026-06-12 09:54:01'::timestamp) - extract(epoch from '2026-06-12 09:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684171 -2.95339)'), GeomFromEWKT('SRID=4674;POINT (-39.684155 -2.953265)'))) / (select extract(epoch from '2026-06-12 09:54:01'::timestamp) - extract(epoch from '2026-06-12 09:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.684127 -2.953132)', '2026-06-12 09:54:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684155 -2.953265)'), GeomFromEWKT('SRID=4674;POINT (-39.684127 -2.953132)'))) / (select extract(epoch from '2026-06-12 09:54:07'::timestamp) - extract(epoch from '2026-06-12 09:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684155 -2.953265)'), GeomFromEWKT('SRID=4674;POINT (-39.684127 -2.953132)'))) / (select extract(epoch from '2026-06-12 09:54:07'::timestamp) - extract(epoch from '2026-06-12 09:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.68411 -2.953023)', '2026-06-12 09:54:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684127 -2.953132)'), GeomFromEWKT('SRID=4674;POINT (-39.68411 -2.953023)'))) / (select extract(epoch from '2026-06-12 09:54:12'::timestamp) - extract(epoch from '2026-06-12 09:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684127 -2.953132)'), GeomFromEWKT('SRID=4674;POINT (-39.68411 -2.953023)'))) / (select extract(epoch from '2026-06-12 09:54:12'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46742, 'SRID=4674;POINT (-39.684097 -2.952902)', '2026-06-12 09:54:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68411 -2.953023)'), GeomFromEWKT('SRID=4674;POINT (-39.684097 -2.952902)'))) / (select extract(epoch from '2026-06-12 09:54:18'::timestamp) - extract(epoch from '2026-06-12 09:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68411 -2.953023)'), GeomFromEWKT('SRID=4674;POINT (-39.684097 -2.952902)'))) / (select extract(epoch from '2026-06-12 09:54:18'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46742, 'SRID=4674;POINT (-39.684087 -2.952773)', '2026-06-12 09:54:24', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684097 -2.952902)'), GeomFromEWKT('SRID=4674;POINT (-39.684087 -2.952773)'))) / (select extract(epoch from '2026-06-12 09:54:24'::timestamp) - extract(epoch from '2026-06-12 09:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684097 -2.952902)'), GeomFromEWKT('SRID=4674;POINT (-39.684087 -2.952773)'))) / (select extract(epoch from '2026-06-12 09:54:24'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46742, 'SRID=4674;POINT (-39.684045 -2.952614)', '2026-06-12 09:54:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684087 -2.952773)'), GeomFromEWKT('SRID=4674;POINT (-39.684045 -2.952614)'))) / (select extract(epoch from '2026-06-12 09:54:32'::timestamp) - extract(epoch from '2026-06-12 09:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684087 -2.952773)'), GeomFromEWKT('SRID=4674;POINT (-39.684045 -2.952614)'))) / (select extract(epoch from '2026-06-12 09:54:32'::timestamp) - extract(epoch from '2026-06-12 09:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.684029 -2.952501)', '2026-06-12 09:54:38', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684045 -2.952614)'), GeomFromEWKT('SRID=4674;POINT (-39.684029 -2.952501)'))) / (select extract(epoch from '2026-06-12 09:54:38'::timestamp) - extract(epoch from '2026-06-12 09:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684045 -2.952614)'), GeomFromEWKT('SRID=4674;POINT (-39.684029 -2.952501)'))) / (select extract(epoch from '2026-06-12 09:54:38'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46742, 'SRID=4674;POINT (-39.684 -2.952399)', '2026-06-12 09:54:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684029 -2.952501)'), GeomFromEWKT('SRID=4674;POINT (-39.684 -2.952399)'))) / (select extract(epoch from '2026-06-12 09:54:43'::timestamp) - extract(epoch from '2026-06-12 09:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684029 -2.952501)'), GeomFromEWKT('SRID=4674;POINT (-39.684 -2.952399)'))) / (select extract(epoch from '2026-06-12 09:54:43'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46742, 'SRID=4674;POINT (-39.683923 -2.952232)', '2026-06-12 09:54:52', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684 -2.952399)'), GeomFromEWKT('SRID=4674;POINT (-39.683923 -2.952232)'))) / (select extract(epoch from '2026-06-12 09:54:52'::timestamp) - extract(epoch from '2026-06-12 09:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684 -2.952399)'), GeomFromEWKT('SRID=4674;POINT (-39.683923 -2.952232)'))) / (select extract(epoch from '2026-06-12 09:54:52'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46742, 'SRID=4674;POINT (-39.683878 -2.952129)', '2026-06-12 09:54:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683923 -2.952232)'), GeomFromEWKT('SRID=4674;POINT (-39.683878 -2.952129)'))) / (select extract(epoch from '2026-06-12 09:54:58'::timestamp) - extract(epoch from '2026-06-12 09:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683923 -2.952232)'), GeomFromEWKT('SRID=4674;POINT (-39.683878 -2.952129)'))) / (select extract(epoch from '2026-06-12 09:54:58'::timestamp) - extract(epoch from '2026-06-12 09:54:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.683847 -2.95208)', '2026-06-12 09:55:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683878 -2.952129)'), GeomFromEWKT('SRID=4674;POINT (-39.683847 -2.95208)'))) / (select extract(epoch from '2026-06-12 09:55:02'::timestamp) - extract(epoch from '2026-06-12 09:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683878 -2.952129)'), GeomFromEWKT('SRID=4674;POINT (-39.683847 -2.95208)'))) / (select extract(epoch from '2026-06-12 09:55:02'::timestamp) - extract(epoch from '2026-06-12 09:54: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'), 46742, 'SRID=4674;POINT (-39.683836 -2.952051)', '2026-06-12 09:55:04', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683847 -2.95208)'), GeomFromEWKT('SRID=4674;POINT (-39.683836 -2.952051)'))) / (select extract(epoch from '2026-06-12 09:55:04'::timestamp) - extract(epoch from '2026-06-12 09:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683847 -2.95208)'), GeomFromEWKT('SRID=4674;POINT (-39.683836 -2.952051)'))) / (select extract(epoch from '2026-06-12 09:55:04'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.683798 -2.951969)', '2026-06-12 09:55:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683836 -2.952051)'), GeomFromEWKT('SRID=4674;POINT (-39.683798 -2.951969)'))) / (select extract(epoch from '2026-06-12 09:55:11'::timestamp) - extract(epoch from '2026-06-12 09:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683836 -2.952051)'), GeomFromEWKT('SRID=4674;POINT (-39.683798 -2.951969)'))) / (select extract(epoch from '2026-06-12 09:55:11'::timestamp) - extract(epoch from '2026-06-12 09:55: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'), 46742, 'SRID=4674;POINT (-39.683762 -2.951882)', '2026-06-12 09:55:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683798 -2.951969)'), GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.951882)'))) / (select extract(epoch from '2026-06-12 09:55:17'::timestamp) - extract(epoch from '2026-06-12 09:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683798 -2.951969)'), GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.951882)'))) / (select extract(epoch from '2026-06-12 09:55:17'::timestamp) - extract(epoch from '2026-06-12 09:55: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'), 46742, 'SRID=4674;POINT (-39.683737 -2.951773)', '2026-06-12 09:55:23', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.951882)'), GeomFromEWKT('SRID=4674;POINT (-39.683737 -2.951773)'))) / (select extract(epoch from '2026-06-12 09:55:23'::timestamp) - extract(epoch from '2026-06-12 09:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683762 -2.951882)'), GeomFromEWKT('SRID=4674;POINT (-39.683737 -2.951773)'))) / (select extract(epoch from '2026-06-12 09:55:23'::timestamp) - extract(epoch from '2026-06-12 09:55: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'), 46742, 'SRID=4674;POINT (-39.683702 -2.951683)', '2026-06-12 09:55:28', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683737 -2.951773)'), GeomFromEWKT('SRID=4674;POINT (-39.683702 -2.951683)'))) / (select extract(epoch from '2026-06-12 09:55:28'::timestamp) - extract(epoch from '2026-06-12 09:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683737 -2.951773)'), GeomFromEWKT('SRID=4674;POINT (-39.683702 -2.951683)'))) / (select extract(epoch from '2026-06-12 09:55:28'::timestamp) - extract(epoch from '2026-06-12 09:55: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'), 46742, 'SRID=4674;POINT (-39.683661 -2.951594)', '2026-06-12 09:55:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683702 -2.951683)'), GeomFromEWKT('SRID=4674;POINT (-39.683661 -2.951594)'))) / (select extract(epoch from '2026-06-12 09:55:34'::timestamp) - extract(epoch from '2026-06-12 09:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683702 -2.951683)'), GeomFromEWKT('SRID=4674;POINT (-39.683661 -2.951594)'))) / (select extract(epoch from '2026-06-12 09:55:34'::timestamp) - extract(epoch from '2026-06-12 09:55: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'), 46742, 'SRID=4674;POINT (-39.683632 -2.951503)', '2026-06-12 09:55:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683661 -2.951594)'), GeomFromEWKT('SRID=4674;POINT (-39.683632 -2.951503)'))) / (select extract(epoch from '2026-06-12 09:55:41'::timestamp) - extract(epoch from '2026-06-12 09:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683661 -2.951594)'), GeomFromEWKT('SRID=4674;POINT (-39.683632 -2.951503)'))) / (select extract(epoch from '2026-06-12 09:55:41'::timestamp) - extract(epoch from '2026-06-12 09:55: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'), 46742, 'SRID=4674;POINT (-39.683622 -2.951393)', '2026-06-12 09:55:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683632 -2.951503)'), GeomFromEWKT('SRID=4674;POINT (-39.683622 -2.951393)'))) / (select extract(epoch from '2026-06-12 09:55:48'::timestamp) - extract(epoch from '2026-06-12 09:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683632 -2.951503)'), GeomFromEWKT('SRID=4674;POINT (-39.683622 -2.951393)'))) / (select extract(epoch from '2026-06-12 09:55:48'::timestamp) - extract(epoch from '2026-06-12 09:55: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'), 46742, 'SRID=4674;POINT (-39.683586 -2.951309)', '2026-06-12 09:55:54', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683622 -2.951393)'), GeomFromEWKT('SRID=4674;POINT (-39.683586 -2.951309)'))) / (select extract(epoch from '2026-06-12 09:55:54'::timestamp) - extract(epoch from '2026-06-12 09:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683622 -2.951393)'), GeomFromEWKT('SRID=4674;POINT (-39.683586 -2.951309)'))) / (select extract(epoch from '2026-06-12 09:55:54'::timestamp) - extract(epoch from '2026-06-12 09:55: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'), 46742, 'SRID=4674;POINT (-39.683553 -2.951193)', '2026-06-12 09:56:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683586 -2.951309)'), GeomFromEWKT('SRID=4674;POINT (-39.683553 -2.951193)'))) / (select extract(epoch from '2026-06-12 09:56:01'::timestamp) - extract(epoch from '2026-06-12 09:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683586 -2.951309)'), GeomFromEWKT('SRID=4674;POINT (-39.683553 -2.951193)'))) / (select extract(epoch from '2026-06-12 09:56:01'::timestamp) - extract(epoch from '2026-06-12 09:55: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'), 46742, 'SRID=4674;POINT (-39.683508 -2.951107)', '2026-06-12 09:56:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683553 -2.951193)'), GeomFromEWKT('SRID=4674;POINT (-39.683508 -2.951107)'))) / (select extract(epoch from '2026-06-12 09:56:07'::timestamp) - extract(epoch from '2026-06-12 09:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683553 -2.951193)'), GeomFromEWKT('SRID=4674;POINT (-39.683508 -2.951107)'))) / (select extract(epoch from '2026-06-12 09:56:07'::timestamp) - extract(epoch from '2026-06-12 09:56: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'), 46742, 'SRID=4674;POINT (-39.683457 -2.95102)', '2026-06-12 09:56:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683508 -2.951107)'), GeomFromEWKT('SRID=4674;POINT (-39.683457 -2.95102)'))) / (select extract(epoch from '2026-06-12 09:56:13'::timestamp) - extract(epoch from '2026-06-12 09:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683508 -2.951107)'), GeomFromEWKT('SRID=4674;POINT (-39.683457 -2.95102)'))) / (select extract(epoch from '2026-06-12 09:56:13'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.683392 -2.950899)', '2026-06-12 09:56:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683457 -2.95102)'), GeomFromEWKT('SRID=4674;POINT (-39.683392 -2.950899)'))) / (select extract(epoch from '2026-06-12 09:56:22'::timestamp) - extract(epoch from '2026-06-12 09:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683457 -2.95102)'), GeomFromEWKT('SRID=4674;POINT (-39.683392 -2.950899)'))) / (select extract(epoch from '2026-06-12 09:56:22'::timestamp) - extract(epoch from '2026-06-12 09:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.68304 -2.949803)', '2026-06-12 09:57:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683392 -2.950899)'), GeomFromEWKT('SRID=4674;POINT (-39.68304 -2.949803)'))) / (select extract(epoch from '2026-06-12 09:57:32'::timestamp) - extract(epoch from '2026-06-12 09:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683392 -2.950899)'), GeomFromEWKT('SRID=4674;POINT (-39.68304 -2.949803)'))) / (select extract(epoch from '2026-06-12 09:57:32'::timestamp) - extract(epoch from '2026-06-12 09:56: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'), 46742, 'SRID=4674;POINT (-39.683016 -2.949722)', '2026-06-12 09:57:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68304 -2.949803)'), GeomFromEWKT('SRID=4674;POINT (-39.683016 -2.949722)'))) / (select extract(epoch from '2026-06-12 09:57:37'::timestamp) - extract(epoch from '2026-06-12 09:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68304 -2.949803)'), GeomFromEWKT('SRID=4674;POINT (-39.683016 -2.949722)'))) / (select extract(epoch from '2026-06-12 09:57:37'::timestamp) - extract(epoch from '2026-06-12 09:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.68299 -2.949645)', '2026-06-12 09:57:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683016 -2.949722)'), GeomFromEWKT('SRID=4674;POINT (-39.68299 -2.949645)'))) / (select extract(epoch from '2026-06-12 09:57:42'::timestamp) - extract(epoch from '2026-06-12 09:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683016 -2.949722)'), GeomFromEWKT('SRID=4674;POINT (-39.68299 -2.949645)'))) / (select extract(epoch from '2026-06-12 09:57:42'::timestamp) - extract(epoch from '2026-06-12 09:57: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'), 46742, 'SRID=4674;POINT (-39.682958 -2.949525)', '2026-06-12 09:57:49', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68299 -2.949645)'), GeomFromEWKT('SRID=4674;POINT (-39.682958 -2.949525)'))) / (select extract(epoch from '2026-06-12 09:57:49'::timestamp) - extract(epoch from '2026-06-12 09:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68299 -2.949645)'), GeomFromEWKT('SRID=4674;POINT (-39.682958 -2.949525)'))) / (select extract(epoch from '2026-06-12 09:57:49'::timestamp) - extract(epoch from '2026-06-12 09:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.682922 -2.949396)', '2026-06-12 09:57:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682958 -2.949525)'), GeomFromEWKT('SRID=4674;POINT (-39.682922 -2.949396)'))) / (select extract(epoch from '2026-06-12 09:57:56'::timestamp) - extract(epoch from '2026-06-12 09:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682958 -2.949525)'), GeomFromEWKT('SRID=4674;POINT (-39.682922 -2.949396)'))) / (select extract(epoch from '2026-06-12 09:57:56'::timestamp) - extract(epoch from '2026-06-12 09:57: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'), 46742, 'SRID=4674;POINT (-39.682902 -2.949268)', '2026-06-12 09:58:03', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682922 -2.949396)'), GeomFromEWKT('SRID=4674;POINT (-39.682902 -2.949268)'))) / (select extract(epoch from '2026-06-12 09:58:03'::timestamp) - extract(epoch from '2026-06-12 09:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682922 -2.949396)'), GeomFromEWKT('SRID=4674;POINT (-39.682902 -2.949268)'))) / (select extract(epoch from '2026-06-12 09:58:03'::timestamp) - extract(epoch from '2026-06-12 09:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.682878 -2.949191)', '2026-06-12 09:58:08', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682902 -2.949268)'), GeomFromEWKT('SRID=4674;POINT (-39.682878 -2.949191)'))) / (select extract(epoch from '2026-06-12 09:58:08'::timestamp) - extract(epoch from '2026-06-12 09:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682902 -2.949268)'), GeomFromEWKT('SRID=4674;POINT (-39.682878 -2.949191)'))) / (select extract(epoch from '2026-06-12 09:58:08'::timestamp) - extract(epoch from '2026-06-12 09:58:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.682845 -2.949074)', '2026-06-12 09:58:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682878 -2.949191)'), GeomFromEWKT('SRID=4674;POINT (-39.682845 -2.949074)'))) / (select extract(epoch from '2026-06-12 09:58:16'::timestamp) - extract(epoch from '2026-06-12 09:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682878 -2.949191)'), GeomFromEWKT('SRID=4674;POINT (-39.682845 -2.949074)'))) / (select extract(epoch from '2026-06-12 09:58:16'::timestamp) - extract(epoch from '2026-06-12 09:58: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'), 46742, 'SRID=4674;POINT (-39.682837 -2.948961)', '2026-06-12 09:58:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682845 -2.949074)'), GeomFromEWKT('SRID=4674;POINT (-39.682837 -2.948961)'))) / (select extract(epoch from '2026-06-12 09:58:22'::timestamp) - extract(epoch from '2026-06-12 09:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682845 -2.949074)'), GeomFromEWKT('SRID=4674;POINT (-39.682837 -2.948961)'))) / (select extract(epoch from '2026-06-12 09:58:22'::timestamp) - extract(epoch from '2026-06-12 09:58: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'), 46742, 'SRID=4674;POINT (-39.682855 -2.948861)', '2026-06-12 09:58:27', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682837 -2.948961)'), GeomFromEWKT('SRID=4674;POINT (-39.682855 -2.948861)'))) / (select extract(epoch from '2026-06-12 09:58:27'::timestamp) - extract(epoch from '2026-06-12 09:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682837 -2.948961)'), GeomFromEWKT('SRID=4674;POINT (-39.682855 -2.948861)'))) / (select extract(epoch from '2026-06-12 09:58:27'::timestamp) - extract(epoch from '2026-06-12 09:58: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'), 46742, 'SRID=4674;POINT (-39.682881 -2.948777)', '2026-06-12 09:58:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682855 -2.948861)'), GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.948777)'))) / (select extract(epoch from '2026-06-12 09:58:31'::timestamp) - extract(epoch from '2026-06-12 09:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682855 -2.948861)'), GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.948777)'))) / (select extract(epoch from '2026-06-12 09:58:31'::timestamp) - extract(epoch from '2026-06-12 09:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.682879 -2.948676)', '2026-06-12 09:58:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.948777)'), GeomFromEWKT('SRID=4674;POINT (-39.682879 -2.948676)'))) / (select extract(epoch from '2026-06-12 09:58:36'::timestamp) - extract(epoch from '2026-06-12 09:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682881 -2.948777)'), GeomFromEWKT('SRID=4674;POINT (-39.682879 -2.948676)'))) / (select extract(epoch from '2026-06-12 09:58:36'::timestamp) - extract(epoch from '2026-06-12 09:58: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'), 46742, 'SRID=4674;POINT (-39.682874 -2.948659)', '2026-06-12 09:58:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682879 -2.948676)'), GeomFromEWKT('SRID=4674;POINT (-39.682874 -2.948659)'))) / (select extract(epoch from '2026-06-12 09:58:37'::timestamp) - extract(epoch from '2026-06-12 09:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682879 -2.948676)'), GeomFromEWKT('SRID=4674;POINT (-39.682874 -2.948659)'))) / (select extract(epoch from '2026-06-12 09:58:37'::timestamp) - extract(epoch from '2026-06-12 09:58: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'), 46742, 'SRID=4674;POINT (-39.682838 -2.948581)', '2026-06-12 09:58:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682874 -2.948659)'), GeomFromEWKT('SRID=4674;POINT (-39.682838 -2.948581)'))) / (select extract(epoch from '2026-06-12 09:58:43'::timestamp) - extract(epoch from '2026-06-12 09:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682874 -2.948659)'), GeomFromEWKT('SRID=4674;POINT (-39.682838 -2.948581)'))) / (select extract(epoch from '2026-06-12 09:58:43'::timestamp) - extract(epoch from '2026-06-12 09:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.682811 -2.948521)', '2026-06-12 09:58:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682838 -2.948581)'), GeomFromEWKT('SRID=4674;POINT (-39.682811 -2.948521)'))) / (select extract(epoch from '2026-06-12 09:58:48'::timestamp) - extract(epoch from '2026-06-12 09:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682838 -2.948581)'), GeomFromEWKT('SRID=4674;POINT (-39.682811 -2.948521)'))) / (select extract(epoch from '2026-06-12 09:58:48'::timestamp) - extract(epoch from '2026-06-12 09:58: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'), 46742, 'SRID=4674;POINT (-39.682806 -2.9485)', '2026-06-12 09:58:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682811 -2.948521)'), GeomFromEWKT('SRID=4674;POINT (-39.682806 -2.9485)'))) / (select extract(epoch from '2026-06-12 09:58:50'::timestamp) - extract(epoch from '2026-06-12 09:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682811 -2.948521)'), GeomFromEWKT('SRID=4674;POINT (-39.682806 -2.9485)'))) / (select extract(epoch from '2026-06-12 09:58:50'::timestamp) - extract(epoch from '2026-06-12 09:58: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'), 46742, 'SRID=4674;POINT (-39.682801 -2.948459)', '2026-06-12 09:58:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682806 -2.9485)'), GeomFromEWKT('SRID=4674;POINT (-39.682801 -2.948459)'))) / (select extract(epoch from '2026-06-12 09:58:54'::timestamp) - extract(epoch from '2026-06-12 09:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682806 -2.9485)'), GeomFromEWKT('SRID=4674;POINT (-39.682801 -2.948459)'))) / (select extract(epoch from '2026-06-12 09:58:54'::timestamp) - extract(epoch from '2026-06-12 09:58: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'), 46742, 'SRID=4674;POINT (-39.682769 -2.948357)', '2026-06-12 09:59:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682801 -2.948459)'), GeomFromEWKT('SRID=4674;POINT (-39.682769 -2.948357)'))) / (select extract(epoch from '2026-06-12 09:59:03'::timestamp) - extract(epoch from '2026-06-12 09:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682801 -2.948459)'), GeomFromEWKT('SRID=4674;POINT (-39.682769 -2.948357)'))) / (select extract(epoch from '2026-06-12 09:59:03'::timestamp) - extract(epoch from '2026-06-12 09:58: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'), 46742, 'SRID=4674;POINT (-39.682763 -2.948331)', '2026-06-12 09:59:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682769 -2.948357)'), GeomFromEWKT('SRID=4674;POINT (-39.682763 -2.948331)'))) / (select extract(epoch from '2026-06-12 09:59:05'::timestamp) - extract(epoch from '2026-06-12 09:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682769 -2.948357)'), GeomFromEWKT('SRID=4674;POINT (-39.682763 -2.948331)'))) / (select extract(epoch from '2026-06-12 09:59:05'::timestamp) - extract(epoch from '2026-06-12 09:59: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'), 46742, 'SRID=4674;POINT (-39.682745 -2.94829)', '2026-06-12 09:59:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682763 -2.948331)'), GeomFromEWKT('SRID=4674;POINT (-39.682745 -2.94829)'))) / (select extract(epoch from '2026-06-12 09:59:08'::timestamp) - extract(epoch from '2026-06-12 09:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682763 -2.948331)'), GeomFromEWKT('SRID=4674;POINT (-39.682745 -2.94829)'))) / (select extract(epoch from '2026-06-12 09:59:08'::timestamp) - extract(epoch from '2026-06-12 09: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'), 46742, 'SRID=4674;POINT (-39.682713 -2.948107)', '2026-06-12 09:59:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682745 -2.94829)'), GeomFromEWKT('SRID=4674;POINT (-39.682713 -2.948107)'))) / (select extract(epoch from '2026-06-12 09:59:21'::timestamp) - extract(epoch from '2026-06-12 09:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682745 -2.94829)'), GeomFromEWKT('SRID=4674;POINT (-39.682713 -2.948107)'))) / (select extract(epoch from '2026-06-12 09:59:21'::timestamp) - extract(epoch from '2026-06-12 09:59: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'), 46742, 'SRID=4674;POINT (-39.682712 -2.948018)', '2026-06-12 09:59:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682713 -2.948107)'), GeomFromEWKT('SRID=4674;POINT (-39.682712 -2.948018)'))) / (select extract(epoch from '2026-06-12 09:59:25'::timestamp) - extract(epoch from '2026-06-12 09:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682713 -2.948107)'), GeomFromEWKT('SRID=4674;POINT (-39.682712 -2.948018)'))) / (select extract(epoch from '2026-06-12 09:59:25'::timestamp) - extract(epoch from '2026-06-12 09:59: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'), 46742, 'SRID=4674;POINT (-39.682695 -2.947931)', '2026-06-12 09:59:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682712 -2.948018)'), GeomFromEWKT('SRID=4674;POINT (-39.682695 -2.947931)'))) / (select extract(epoch from '2026-06-12 09:59:30'::timestamp) - extract(epoch from '2026-06-12 09:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682712 -2.948018)'), GeomFromEWKT('SRID=4674;POINT (-39.682695 -2.947931)'))) / (select extract(epoch from '2026-06-12 09:59:30'::timestamp) - extract(epoch from '2026-06-12 09:59: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'), 46742, 'SRID=4674;POINT (-39.682681 -2.947856)', '2026-06-12 09:59:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682695 -2.947931)'), GeomFromEWKT('SRID=4674;POINT (-39.682681 -2.947856)'))) / (select extract(epoch from '2026-06-12 09:59:34'::timestamp) - extract(epoch from '2026-06-12 09:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682695 -2.947931)'), GeomFromEWKT('SRID=4674;POINT (-39.682681 -2.947856)'))) / (select extract(epoch from '2026-06-12 09:59:34'::timestamp) - extract(epoch from '2026-06-12 09:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.682654 -2.947711)', '2026-06-12 09:59:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682681 -2.947856)'), GeomFromEWKT('SRID=4674;POINT (-39.682654 -2.947711)'))) / (select extract(epoch from '2026-06-12 09:59:42'::timestamp) - extract(epoch from '2026-06-12 09:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682681 -2.947856)'), GeomFromEWKT('SRID=4674;POINT (-39.682654 -2.947711)'))) / (select extract(epoch from '2026-06-12 09:59:42'::timestamp) - extract(epoch from '2026-06-12 09:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.682634 -2.94763)', '2026-06-12 09:59:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682654 -2.947711)'), GeomFromEWKT('SRID=4674;POINT (-39.682634 -2.94763)'))) / (select extract(epoch from '2026-06-12 09:59:48'::timestamp) - extract(epoch from '2026-06-12 09:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682654 -2.947711)'), GeomFromEWKT('SRID=4674;POINT (-39.682634 -2.94763)'))) / (select extract(epoch from '2026-06-12 09:59:48'::timestamp) - extract(epoch from '2026-06-12 09:59: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'), 46742, 'SRID=4674;POINT (-39.682624 -2.947595)', '2026-06-12 09:59:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682634 -2.94763)'), GeomFromEWKT('SRID=4674;POINT (-39.682624 -2.947595)'))) / (select extract(epoch from '2026-06-12 09:59:52'::timestamp) - extract(epoch from '2026-06-12 09:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682634 -2.94763)'), GeomFromEWKT('SRID=4674;POINT (-39.682624 -2.947595)'))) / (select extract(epoch from '2026-06-12 09:59:52'::timestamp) - extract(epoch from '2026-06-12 09:59:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.682627 -2.947587)', '2026-06-12 09:59:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682624 -2.947595)'), GeomFromEWKT('SRID=4674;POINT (-39.682627 -2.947587)'))) / (select extract(epoch from '2026-06-12 09:59:53'::timestamp) - extract(epoch from '2026-06-12 09:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682624 -2.947595)'), GeomFromEWKT('SRID=4674;POINT (-39.682627 -2.947587)'))) / (select extract(epoch from '2026-06-12 09:59:53'::timestamp) - extract(epoch from '2026-06-12 09:59: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'), 46742, 'SRID=4674;POINT (-39.682625 -2.94755)', '2026-06-12 09:59:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682627 -2.947587)'), GeomFromEWKT('SRID=4674;POINT (-39.682625 -2.94755)'))) / (select extract(epoch from '2026-06-12 09:59:59'::timestamp) - extract(epoch from '2026-06-12 09:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682627 -2.947587)'), GeomFromEWKT('SRID=4674;POINT (-39.682625 -2.94755)'))) / (select extract(epoch from '2026-06-12 09:59:59'::timestamp) - extract(epoch from '2026-06-12 09:59: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'), 46742, 'SRID=4674;POINT (-39.68264 -2.947531)', '2026-06-12 10:00:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682625 -2.94755)'), GeomFromEWKT('SRID=4674;POINT (-39.68264 -2.947531)'))) / (select extract(epoch from '2026-06-12 10:00:01'::timestamp) - extract(epoch from '2026-06-12 09:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682625 -2.94755)'), GeomFromEWKT('SRID=4674;POINT (-39.68264 -2.947531)'))) / (select extract(epoch from '2026-06-12 10:00:01'::timestamp) - extract(epoch from '2026-06-12 09:59: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'), 46742, 'SRID=4674;POINT (-39.682645 -2.947512)', '2026-06-12 10:00:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68264 -2.947531)'), GeomFromEWKT('SRID=4674;POINT (-39.682645 -2.947512)'))) / (select extract(epoch from '2026-06-12 10:00:03'::timestamp) - extract(epoch from '2026-06-12 10:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68264 -2.947531)'), GeomFromEWKT('SRID=4674;POINT (-39.682645 -2.947512)'))) / (select extract(epoch from '2026-06-12 10:00:03'::timestamp) - extract(epoch from '2026-06-12 10:00: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'), 46742, 'SRID=4674;POINT (-39.68265 -2.947499)', '2026-06-12 10:00:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682645 -2.947512)'), GeomFromEWKT('SRID=4674;POINT (-39.68265 -2.947499)'))) / (select extract(epoch from '2026-06-12 10:00:05'::timestamp) - extract(epoch from '2026-06-12 10:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682645 -2.947512)'), GeomFromEWKT('SRID=4674;POINT (-39.68265 -2.947499)'))) / (select extract(epoch from '2026-06-12 10:00:05'::timestamp) - extract(epoch from '2026-06-12 10:00: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'), 46742, 'SRID=4674;POINT (-39.682651 -2.947436)', '2026-06-12 10:00:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68265 -2.947499)'), GeomFromEWKT('SRID=4674;POINT (-39.682651 -2.947436)'))) / (select extract(epoch from '2026-06-12 10:00:11'::timestamp) - extract(epoch from '2026-06-12 10:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68265 -2.947499)'), GeomFromEWKT('SRID=4674;POINT (-39.682651 -2.947436)'))) / (select extract(epoch from '2026-06-12 10:00:11'::timestamp) - extract(epoch from '2026-06-12 10:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.68265 -2.947411)', '2026-06-12 10:00:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682651 -2.947436)'), GeomFromEWKT('SRID=4674;POINT (-39.68265 -2.947411)'))) / (select extract(epoch from '2026-06-12 10:00:14'::timestamp) - extract(epoch from '2026-06-12 10:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682651 -2.947436)'), GeomFromEWKT('SRID=4674;POINT (-39.68265 -2.947411)'))) / (select extract(epoch from '2026-06-12 10:00:14'::timestamp) - extract(epoch from '2026-06-12 10:00: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'), 46742, 'SRID=4674;POINT (-39.682658 -2.947387)', '2026-06-12 10:00:17', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68265 -2.947411)'), GeomFromEWKT('SRID=4674;POINT (-39.682658 -2.947387)'))) / (select extract(epoch from '2026-06-12 10:00:17'::timestamp) - extract(epoch from '2026-06-12 10:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68265 -2.947411)'), GeomFromEWKT('SRID=4674;POINT (-39.682658 -2.947387)'))) / (select extract(epoch from '2026-06-12 10:00:17'::timestamp) - extract(epoch from '2026-06-12 10:00: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'), 46742, 'SRID=4674;POINT (-39.682671 -2.947324)', '2026-06-12 10:00:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682658 -2.947387)'), GeomFromEWKT('SRID=4674;POINT (-39.682671 -2.947324)'))) / (select extract(epoch from '2026-06-12 10:00:27'::timestamp) - extract(epoch from '2026-06-12 10:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682658 -2.947387)'), GeomFromEWKT('SRID=4674;POINT (-39.682671 -2.947324)'))) / (select extract(epoch from '2026-06-12 10:00:27'::timestamp) - extract(epoch from '2026-06-12 10:00: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'), 46742, 'SRID=4674;POINT (-39.682689 -2.947264)', '2026-06-12 10:00:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682671 -2.947324)'), GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.947264)'))) / (select extract(epoch from '2026-06-12 10:00:35'::timestamp) - extract(epoch from '2026-06-12 10:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682671 -2.947324)'), GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.947264)'))) / (select extract(epoch from '2026-06-12 10:00:35'::timestamp) - extract(epoch from '2026-06-12 10:00: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'), 46742, 'SRID=4674;POINT (-39.682689 -2.947189)', '2026-06-12 10:00:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.947264)'), GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.947189)'))) / (select extract(epoch from '2026-06-12 10:00:45'::timestamp) - extract(epoch from '2026-06-12 10:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.947264)'), GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.947189)'))) / (select extract(epoch from '2026-06-12 10:00:45'::timestamp) - extract(epoch from '2026-06-12 10:00: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'), 46742, 'SRID=4674;POINT (-39.682687 -2.947099)', '2026-06-12 10:00:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.947189)'), GeomFromEWKT('SRID=4674;POINT (-39.682687 -2.947099)'))) / (select extract(epoch from '2026-06-12 10:00:53'::timestamp) - extract(epoch from '2026-06-12 10:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682689 -2.947189)'), GeomFromEWKT('SRID=4674;POINT (-39.682687 -2.947099)'))) / (select extract(epoch from '2026-06-12 10:00:53'::timestamp) - extract(epoch from '2026-06-12 10:00: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'), 46742, 'SRID=4674;POINT (-39.682679 -2.94703)', '2026-06-12 10:00:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682687 -2.947099)'), GeomFromEWKT('SRID=4674;POINT (-39.682679 -2.94703)'))) / (select extract(epoch from '2026-06-12 10:00:58'::timestamp) - extract(epoch from '2026-06-12 10:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682687 -2.947099)'), GeomFromEWKT('SRID=4674;POINT (-39.682679 -2.94703)'))) / (select extract(epoch from '2026-06-12 10:00:58'::timestamp) - extract(epoch from '2026-06-12 10:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46742, 'SRID=4674;POINT (-39.682667 -2.946936)', '2026-06-12 10:01:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682679 -2.94703)'), GeomFromEWKT('SRID=4674;POINT (-39.682667 -2.946936)'))) / (select extract(epoch from '2026-06-12 10:01:05'::timestamp) - extract(epoch from '2026-06-12 10:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682679 -2.94703)'), GeomFromEWKT('SRID=4674;POINT (-39.682667 -2.946936)'))) / (select extract(epoch from '2026-06-12 10:01:05'::timestamp) - extract(epoch from '2026-06-12 10: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'), 46742, 'SRID=4674;POINT (-39.682648 -2.946885)', '2026-06-12 10:01:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682667 -2.946936)'), GeomFromEWKT('SRID=4674;POINT (-39.682648 -2.946885)'))) / (select extract(epoch from '2026-06-12 10:01:11'::timestamp) - extract(epoch from '2026-06-12 10:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682667 -2.946936)'), GeomFromEWKT('SRID=4674;POINT (-39.682648 -2.946885)'))) / (select extract(epoch from '2026-06-12 10:01:11'::timestamp) - extract(epoch from '2026-06-12 10:01: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'), 46742, 'SRID=4674;POINT (-39.68273 -2.946803)', '2026-06-12 10:01:30', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682648 -2.946885)'), GeomFromEWKT('SRID=4674;POINT (-39.68273 -2.946803)'))) / (select extract(epoch from '2026-06-12 10:01:30'::timestamp) - extract(epoch from '2026-06-12 10:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.682648 -2.946885)'), GeomFromEWKT('SRID=4674;POINT (-39.68273 -2.946803)'))) / (select extract(epoch from '2026-06-12 10:01:30'::timestamp) - extract(epoch from '2026-06-12 10:01: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'), 46742, 'SRID=4674;POINT (-39.68338 -2.946596)', '2026-06-12 10:10:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68273 -2.946803)'), GeomFromEWKT('SRID=4674;POINT (-39.68338 -2.946596)'))) / (select extract(epoch from '2026-06-12 10:10:07'::timestamp) - extract(epoch from '2026-06-12 10:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68273 -2.946803)'), GeomFromEWKT('SRID=4674;POINT (-39.68338 -2.946596)'))) / (select extract(epoch from '2026-06-12 10:10:07'::timestamp) - extract(epoch from '2026-06-12 10: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'), 46742, 'SRID=4674;POINT (-39.683377 -2.946599)', '2026-06-12 10:10:09', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68338 -2.946596)'), GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946599)'))) / (select extract(epoch from '2026-06-12 10:10:09'::timestamp) - extract(epoch from '2026-06-12 10:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68338 -2.946596)'), GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946599)'))) / (select extract(epoch from '2026-06-12 10:10:09'::timestamp) - extract(epoch from '2026-06-12 10:10: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'), 46742, 'SRID=4674;POINT (-39.683376 -2.946596)', '2026-06-12 10:10:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946599)'), GeomFromEWKT('SRID=4674;POINT (-39.683376 -2.946596)'))) / (select extract(epoch from '2026-06-12 10:10:18'::timestamp) - extract(epoch from '2026-06-12 10:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946599)'), GeomFromEWKT('SRID=4674;POINT (-39.683376 -2.946596)'))) / (select extract(epoch from '2026-06-12 10:10:18'::timestamp) - extract(epoch from '2026-06-12 10:10: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'), 46742, 'SRID=4674;POINT (-39.683374 -2.946593)', '2026-06-12 10:10:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683376 -2.946596)'), GeomFromEWKT('SRID=4674;POINT (-39.683374 -2.946593)'))) / (select extract(epoch from '2026-06-12 10:10:34'::timestamp) - extract(epoch from '2026-06-12 10:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683376 -2.946596)'), GeomFromEWKT('SRID=4674;POINT (-39.683374 -2.946593)'))) / (select extract(epoch from '2026-06-12 10:10:34'::timestamp) - extract(epoch from '2026-06-12 10:10: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'), 46742, 'SRID=4674;POINT (-39.683371 -2.946595)', '2026-06-12 10:10:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683374 -2.946593)'), GeomFromEWKT('SRID=4674;POINT (-39.683371 -2.946595)'))) / (select extract(epoch from '2026-06-12 10:10:44'::timestamp) - extract(epoch from '2026-06-12 10:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683374 -2.946593)'), GeomFromEWKT('SRID=4674;POINT (-39.683371 -2.946595)'))) / (select extract(epoch from '2026-06-12 10:10:44'::timestamp) - extract(epoch from '2026-06-12 10:10: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'), 46742, 'SRID=4674;POINT (-39.683371 -2.946592)', '2026-06-12 10:10:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683371 -2.946595)'), GeomFromEWKT('SRID=4674;POINT (-39.683371 -2.946592)'))) / (select extract(epoch from '2026-06-12 10:10:59'::timestamp) - extract(epoch from '2026-06-12 10:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683371 -2.946595)'), GeomFromEWKT('SRID=4674;POINT (-39.683371 -2.946592)'))) / (select extract(epoch from '2026-06-12 10:10:59'::timestamp) - extract(epoch from '2026-06-12 10:10: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'), 46742, 'SRID=4674;POINT (-39.683377 -2.946597)', '2026-06-12 10:11:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683371 -2.946592)'), GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946597)'))) / (select extract(epoch from '2026-06-12 10:11:05'::timestamp) - extract(epoch from '2026-06-12 10:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683371 -2.946592)'), GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946597)'))) / (select extract(epoch from '2026-06-12 10:11:05'::timestamp) - extract(epoch from '2026-06-12 10:10: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'), 46742, 'SRID=4674;POINT (-39.683377 -2.946589)', '2026-06-12 10:11:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946597)'), GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946589)'))) / (select extract(epoch from '2026-06-12 10:11:12'::timestamp) - extract(epoch from '2026-06-12 10:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946597)'), GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946589)'))) / (select extract(epoch from '2026-06-12 10:11:12'::timestamp) - extract(epoch from '2026-06-12 10:11: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'), 46742, 'SRID=4674;POINT (-39.683381 -2.946596)', '2026-06-12 10:11:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946589)'), GeomFromEWKT('SRID=4674;POINT (-39.683381 -2.946596)'))) / (select extract(epoch from '2026-06-12 10:11:22'::timestamp) - extract(epoch from '2026-06-12 10:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683377 -2.946589)'), GeomFromEWKT('SRID=4674;POINT (-39.683381 -2.946596)'))) / (select extract(epoch from '2026-06-12 10:11:22'::timestamp) - extract(epoch from '2026-06-12 10:11: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'), 46742, 'SRID=4674;POINT (-39.68338 -2.946599)', '2026-06-12 10:11:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683381 -2.946596)'), GeomFromEWKT('SRID=4674;POINT (-39.68338 -2.946599)'))) / (select extract(epoch from '2026-06-12 10:11:30'::timestamp) - extract(epoch from '2026-06-12 10:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683381 -2.946596)'), GeomFromEWKT('SRID=4674;POINT (-39.68338 -2.946599)'))) / (select extract(epoch from '2026-06-12 10:11:30'::timestamp) - extract(epoch from '2026-06-12 10: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'), 46742, 'SRID=4674;POINT (-39.683382 -2.946598)', '2026-06-12 10:11:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68338 -2.946599)'), GeomFromEWKT('SRID=4674;POINT (-39.683382 -2.946598)'))) / (select extract(epoch from '2026-06-12 10:11:43'::timestamp) - extract(epoch from '2026-06-12 10:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68338 -2.946599)'), GeomFromEWKT('SRID=4674;POINT (-39.683382 -2.946598)'))) / (select extract(epoch from '2026-06-12 10:11:43'::timestamp) - extract(epoch from '2026-06-12 10:11: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'), 46742, 'SRID=4674;POINT (-39.683388 -2.946596)', '2026-06-12 10:11:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683382 -2.946598)'), GeomFromEWKT('SRID=4674;POINT (-39.683388 -2.946596)'))) / (select extract(epoch from '2026-06-12 10:11:51'::timestamp) - extract(epoch from '2026-06-12 10:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683382 -2.946598)'), GeomFromEWKT('SRID=4674;POINT (-39.683388 -2.946596)'))) / (select extract(epoch from '2026-06-12 10:11:51'::timestamp) - extract(epoch from '2026-06-12 10:11: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'), 46742, 'SRID=4674;POINT (-39.683392 -2.946602)', '2026-06-12 10:11:59', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683388 -2.946596)'), GeomFromEWKT('SRID=4674;POINT (-39.683392 -2.946602)'))) / (select extract(epoch from '2026-06-12 10:11:59'::timestamp) - extract(epoch from '2026-06-12 10:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683388 -2.946596)'), GeomFromEWKT('SRID=4674;POINT (-39.683392 -2.946602)'))) / (select extract(epoch from '2026-06-12 10:11:59'::timestamp) - extract(epoch from '2026-06-12 10:11: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'), 46742, 'SRID=4674;POINT (-39.683763 -2.946351)', '2026-06-12 10:22:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683392 -2.946602)'), GeomFromEWKT('SRID=4674;POINT (-39.683763 -2.946351)'))) / (select extract(epoch from '2026-06-12 10:22:37'::timestamp) - extract(epoch from '2026-06-12 10:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683392 -2.946602)'), GeomFromEWKT('SRID=4674;POINT (-39.683763 -2.946351)'))) / (select extract(epoch from '2026-06-12 10:22:37'::timestamp) - extract(epoch from '2026-06-12 10:11: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'), 46742, 'SRID=4674;POINT (-39.683737 -2.946397)', '2026-06-12 10:32:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683763 -2.946351)'), GeomFromEWKT('SRID=4674;POINT (-39.683737 -2.946397)'))) / (select extract(epoch from '2026-06-12 10:32:25'::timestamp) - extract(epoch from '2026-06-12 10:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683763 -2.946351)'), GeomFromEWKT('SRID=4674;POINT (-39.683737 -2.946397)'))) / (select extract(epoch from '2026-06-12 10:32:25'::timestamp) - extract(epoch from '2026-06-12 10:22: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'), 46742, 'SRID=4674;POINT (-39.683995 -2.946234)', '2026-06-12 10:42:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683737 -2.946397)'), GeomFromEWKT('SRID=4674;POINT (-39.683995 -2.946234)'))) / (select extract(epoch from '2026-06-12 10:42:23'::timestamp) - extract(epoch from '2026-06-12 10:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683737 -2.946397)'), GeomFromEWKT('SRID=4674;POINT (-39.683995 -2.946234)'))) / (select extract(epoch from '2026-06-12 10:42:23'::timestamp) - extract(epoch from '2026-06-12 10:32: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'), 46742, 'SRID=4674;POINT (-39.684242 -2.946182)', '2026-06-12 10:52:14', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683995 -2.946234)'), GeomFromEWKT('SRID=4674;POINT (-39.684242 -2.946182)'))) / (select extract(epoch from '2026-06-12 10:52:14'::timestamp) - extract(epoch from '2026-06-12 10:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.683995 -2.946234)'), GeomFromEWKT('SRID=4674;POINT (-39.684242 -2.946182)'))) / (select extract(epoch from '2026-06-12 10:52:14'::timestamp) - extract(epoch from '2026-06-12 10:42: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'), 46742, 'SRID=4674;POINT (-39.68668 -2.945889)', '2026-06-12 11:02:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684242 -2.946182)'), GeomFromEWKT('SRID=4674;POINT (-39.68668 -2.945889)'))) / (select extract(epoch from '2026-06-12 11:02:14'::timestamp) - extract(epoch from '2026-06-12 10:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.684242 -2.946182)'), GeomFromEWKT('SRID=4674;POINT (-39.68668 -2.945889)'))) / (select extract(epoch from '2026-06-12 11:02:14'::timestamp) - extract(epoch from '2026-06-12 10:52: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'), 46742, 'SRID=4674;POINT (-39.690079 -2.954691)', '2026-06-12 11:12:18', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68668 -2.945889)'), GeomFromEWKT('SRID=4674;POINT (-39.690079 -2.954691)'))) / (select extract(epoch from '2026-06-12 11:12:18'::timestamp) - extract(epoch from '2026-06-12 11:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.68668 -2.945889)'), GeomFromEWKT('SRID=4674;POINT (-39.690079 -2.954691)'))) / (select extract(epoch from '2026-06-12 11:12:18'::timestamp) - extract(epoch from '2026-06-12 11:02: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'), 46742, 'SRID=4674;POINT (-39.69293 -2.964196)', '2026-06-12 11:22:14', -11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690079 -2.954691)'), GeomFromEWKT('SRID=4674;POINT (-39.69293 -2.964196)'))) / (select extract(epoch from '2026-06-12 11:22:14'::timestamp) - extract(epoch from '2026-06-12 11:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.690079 -2.954691)'), GeomFromEWKT('SRID=4674;POINT (-39.69293 -2.964196)'))) / (select extract(epoch from '2026-06-12 11:22:14'::timestamp) - extract(epoch from '2026-06-12 11:12: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'), 46742, 'SRID=4674;POINT (-39.694994 -2.974771)', '2026-06-12 11:32:12', -13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69293 -2.964196)'), GeomFromEWKT('SRID=4674;POINT (-39.694994 -2.974771)'))) / (select extract(epoch from '2026-06-12 11:32:12'::timestamp) - extract(epoch from '2026-06-12 11:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69293 -2.964196)'), GeomFromEWKT('SRID=4674;POINT (-39.694994 -2.974771)'))) / (select extract(epoch from '2026-06-12 11:32:12'::timestamp) - extract(epoch from '2026-06-12 11:22: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'), 46742, 'SRID=4674;POINT (-39.69708 -2.98486)', '2026-06-12 11:42:53', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694994 -2.974771)'), GeomFromEWKT('SRID=4674;POINT (-39.69708 -2.98486)'))) / (select extract(epoch from '2026-06-12 11:42:53'::timestamp) - extract(epoch from '2026-06-12 11:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694994 -2.974771)'), GeomFromEWKT('SRID=4674;POINT (-39.69708 -2.98486)'))) / (select extract(epoch from '2026-06-12 11:42:53'::timestamp) - extract(epoch from '2026-06-12 11: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'), 46742, 'SRID=4674;POINT (-39.697961 -2.994748)', '2026-06-12 11:52:29', -33, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69708 -2.98486)'), GeomFromEWKT('SRID=4674;POINT (-39.697961 -2.994748)'))) / (select extract(epoch from '2026-06-12 11:52:29'::timestamp) - extract(epoch from '2026-06-12 11:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69708 -2.98486)'), GeomFromEWKT('SRID=4674;POINT (-39.697961 -2.994748)'))) / (select extract(epoch from '2026-06-12 11:52:29'::timestamp) - extract(epoch from '2026-06-12 11: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'), 46742, 'SRID=4674;POINT (-39.695533 -2.997318)', '2026-06-12 12:02:09', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697961 -2.994748)'), GeomFromEWKT('SRID=4674;POINT (-39.695533 -2.997318)'))) / (select extract(epoch from '2026-06-12 12:02:09'::timestamp) - extract(epoch from '2026-06-12 11:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697961 -2.994748)'), GeomFromEWKT('SRID=4674;POINT (-39.695533 -2.997318)'))) / (select extract(epoch from '2026-06-12 12:02:09'::timestamp) - extract(epoch from '2026-06-12 11:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
