 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.421132 -3.085141)', '2026-07-17 19:12:20', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421157 -3.08513)'), GeomFromEWKT('SRID=4674;POINT (-39.421132 -3.085141)'))) / (select extract(epoch from '2026-07-17 19:12:20'::timestamp) - extract(epoch from '2026-07-17 19:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421157 -3.08513)'), GeomFromEWKT('SRID=4674;POINT (-39.421132 -3.085141)'))) / (select extract(epoch from '2026-07-17 19:12:20'::timestamp) - extract(epoch from '2026-07-17 19:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.421112 -3.085152)', '2026-07-17 19:12:28', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421132 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.421112 -3.085152)'))) / (select extract(epoch from '2026-07-17 19:12:28'::timestamp) - extract(epoch from '2026-07-17 19:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421132 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.421112 -3.085152)'))) / (select extract(epoch from '2026-07-17 19:12:28'::timestamp) - extract(epoch from '2026-07-17 19:12: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'), 47991, 'SRID=4674;POINT (-39.421108 -3.085161)', '2026-07-17 19:12:35', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421112 -3.085152)'), GeomFromEWKT('SRID=4674;POINT (-39.421108 -3.085161)'))) / (select extract(epoch from '2026-07-17 19:12:35'::timestamp) - extract(epoch from '2026-07-17 19:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421112 -3.085152)'), GeomFromEWKT('SRID=4674;POINT (-39.421108 -3.085161)'))) / (select extract(epoch from '2026-07-17 19:12:35'::timestamp) - extract(epoch from '2026-07-17 19:12: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'), 47991, 'SRID=4674;POINT (-39.421085 -3.085165)', '2026-07-17 19:12:43', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421108 -3.085161)'), GeomFromEWKT('SRID=4674;POINT (-39.421085 -3.085165)'))) / (select extract(epoch from '2026-07-17 19:12:43'::timestamp) - extract(epoch from '2026-07-17 19:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421108 -3.085161)'), GeomFromEWKT('SRID=4674;POINT (-39.421085 -3.085165)'))) / (select extract(epoch from '2026-07-17 19:12:43'::timestamp) - extract(epoch from '2026-07-17 19:12: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'), 47991, 'SRID=4674;POINT (-39.421063 -3.085167)', '2026-07-17 19:12:52', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421085 -3.085165)'), GeomFromEWKT('SRID=4674;POINT (-39.421063 -3.085167)'))) / (select extract(epoch from '2026-07-17 19:12:52'::timestamp) - extract(epoch from '2026-07-17 19:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421085 -3.085165)'), GeomFromEWKT('SRID=4674;POINT (-39.421063 -3.085167)'))) / (select extract(epoch from '2026-07-17 19:12:52'::timestamp) - extract(epoch from '2026-07-17 19:12: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'), 47991, 'SRID=4674;POINT (-39.421053 -3.085164)', '2026-07-17 19:13:02', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421063 -3.085167)'), GeomFromEWKT('SRID=4674;POINT (-39.421053 -3.085164)'))) / (select extract(epoch from '2026-07-17 19:13:02'::timestamp) - extract(epoch from '2026-07-17 19:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421063 -3.085167)'), GeomFromEWKT('SRID=4674;POINT (-39.421053 -3.085164)'))) / (select extract(epoch from '2026-07-17 19:13:02'::timestamp) - extract(epoch from '2026-07-17 19:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.421013 -3.085158)', '2026-07-17 19:13:14', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421053 -3.085164)'), GeomFromEWKT('SRID=4674;POINT (-39.421013 -3.085158)'))) / (select extract(epoch from '2026-07-17 19:13:14'::timestamp) - extract(epoch from '2026-07-17 19:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421053 -3.085164)'), GeomFromEWKT('SRID=4674;POINT (-39.421013 -3.085158)'))) / (select extract(epoch from '2026-07-17 19:13:14'::timestamp) - extract(epoch from '2026-07-17 19:13: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'), 47991, 'SRID=4674;POINT (-39.420986 -3.085156)', '2026-07-17 19:13:24', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421013 -3.085158)'), GeomFromEWKT('SRID=4674;POINT (-39.420986 -3.085156)'))) / (select extract(epoch from '2026-07-17 19:13:24'::timestamp) - extract(epoch from '2026-07-17 19:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421013 -3.085158)'), GeomFromEWKT('SRID=4674;POINT (-39.420986 -3.085156)'))) / (select extract(epoch from '2026-07-17 19:13:24'::timestamp) - extract(epoch from '2026-07-17 19:13: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'), 47991, 'SRID=4674;POINT (-39.420956 -3.085164)', '2026-07-17 19:13:33', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420986 -3.085156)'), GeomFromEWKT('SRID=4674;POINT (-39.420956 -3.085164)'))) / (select extract(epoch from '2026-07-17 19:13:33'::timestamp) - extract(epoch from '2026-07-17 19:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420986 -3.085156)'), GeomFromEWKT('SRID=4674;POINT (-39.420956 -3.085164)'))) / (select extract(epoch from '2026-07-17 19:13:33'::timestamp) - extract(epoch from '2026-07-17 19:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420929 -3.085155)', '2026-07-17 19:13:43', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420956 -3.085164)'), GeomFromEWKT('SRID=4674;POINT (-39.420929 -3.085155)'))) / (select extract(epoch from '2026-07-17 19:13:43'::timestamp) - extract(epoch from '2026-07-17 19:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420956 -3.085164)'), GeomFromEWKT('SRID=4674;POINT (-39.420929 -3.085155)'))) / (select extract(epoch from '2026-07-17 19:13:43'::timestamp) - extract(epoch from '2026-07-17 19:13: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'), 47991, 'SRID=4674;POINT (-39.420911 -3.085143)', '2026-07-17 19:13:52', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420929 -3.085155)'), GeomFromEWKT('SRID=4674;POINT (-39.420911 -3.085143)'))) / (select extract(epoch from '2026-07-17 19:13:52'::timestamp) - extract(epoch from '2026-07-17 19:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420929 -3.085155)'), GeomFromEWKT('SRID=4674;POINT (-39.420911 -3.085143)'))) / (select extract(epoch from '2026-07-17 19:13:52'::timestamp) - extract(epoch from '2026-07-17 19:13: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'), 47991, 'SRID=4674;POINT (-39.420885 -3.085144)', '2026-07-17 19:14:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420911 -3.085143)'), GeomFromEWKT('SRID=4674;POINT (-39.420885 -3.085144)'))) / (select extract(epoch from '2026-07-17 19:14:01'::timestamp) - extract(epoch from '2026-07-17 19:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420911 -3.085143)'), GeomFromEWKT('SRID=4674;POINT (-39.420885 -3.085144)'))) / (select extract(epoch from '2026-07-17 19:14:01'::timestamp) - extract(epoch from '2026-07-17 19:13: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'), 47991, 'SRID=4674;POINT (-39.420868 -3.085141)', '2026-07-17 19:14:11', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420885 -3.085144)'), GeomFromEWKT('SRID=4674;POINT (-39.420868 -3.085141)'))) / (select extract(epoch from '2026-07-17 19:14:11'::timestamp) - extract(epoch from '2026-07-17 19:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420885 -3.085144)'), GeomFromEWKT('SRID=4674;POINT (-39.420868 -3.085141)'))) / (select extract(epoch from '2026-07-17 19:14:11'::timestamp) - extract(epoch from '2026-07-17 19:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420849 -3.08514)', '2026-07-17 19:14:20', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420868 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.420849 -3.08514)'))) / (select extract(epoch from '2026-07-17 19:14:20'::timestamp) - extract(epoch from '2026-07-17 19:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420868 -3.085141)'), GeomFromEWKT('SRID=4674;POINT (-39.420849 -3.08514)'))) / (select extract(epoch from '2026-07-17 19:14:20'::timestamp) - extract(epoch from '2026-07-17 19:14: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'), 47991, 'SRID=4674;POINT (-39.42082 -3.085148)', '2026-07-17 19:14:29', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420849 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.42082 -3.085148)'))) / (select extract(epoch from '2026-07-17 19:14:29'::timestamp) - extract(epoch from '2026-07-17 19:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420849 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.42082 -3.085148)'))) / (select extract(epoch from '2026-07-17 19:14:29'::timestamp) - extract(epoch from '2026-07-17 19:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420802 -3.085143)', '2026-07-17 19:14:37', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42082 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.420802 -3.085143)'))) / (select extract(epoch from '2026-07-17 19:14:37'::timestamp) - extract(epoch from '2026-07-17 19:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42082 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.420802 -3.085143)'))) / (select extract(epoch from '2026-07-17 19:14:37'::timestamp) - extract(epoch from '2026-07-17 19:14: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'), 47991, 'SRID=4674;POINT (-39.420792 -3.085148)', '2026-07-17 19:14:49', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420802 -3.085143)'), GeomFromEWKT('SRID=4674;POINT (-39.420792 -3.085148)'))) / (select extract(epoch from '2026-07-17 19:14:49'::timestamp) - extract(epoch from '2026-07-17 19:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420802 -3.085143)'), GeomFromEWKT('SRID=4674;POINT (-39.420792 -3.085148)'))) / (select extract(epoch from '2026-07-17 19:14:49'::timestamp) - extract(epoch from '2026-07-17 19:14: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'), 47991, 'SRID=4674;POINT (-39.420781 -3.085148)', '2026-07-17 19:14:56', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420792 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.420781 -3.085148)'))) / (select extract(epoch from '2026-07-17 19:14:56'::timestamp) - extract(epoch from '2026-07-17 19:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420792 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.420781 -3.085148)'))) / (select extract(epoch from '2026-07-17 19:14:56'::timestamp) - extract(epoch from '2026-07-17 19:14: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'), 47991, 'SRID=4674;POINT (-39.420775 -3.085138)', '2026-07-17 19:15:05', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420781 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.420775 -3.085138)'))) / (select extract(epoch from '2026-07-17 19:15:05'::timestamp) - extract(epoch from '2026-07-17 19:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420781 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.420775 -3.085138)'))) / (select extract(epoch from '2026-07-17 19:15:05'::timestamp) - extract(epoch from '2026-07-17 19:14: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'), 47991, 'SRID=4674;POINT (-39.420763 -3.085136)', '2026-07-17 19:15:13', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420775 -3.085138)'), GeomFromEWKT('SRID=4674;POINT (-39.420763 -3.085136)'))) / (select extract(epoch from '2026-07-17 19:15:13'::timestamp) - extract(epoch from '2026-07-17 19:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420775 -3.085138)'), GeomFromEWKT('SRID=4674;POINT (-39.420763 -3.085136)'))) / (select extract(epoch from '2026-07-17 19:15:13'::timestamp) - extract(epoch from '2026-07-17 19:15: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'), 47991, 'SRID=4674;POINT (-39.420722 -3.085127)', '2026-07-17 19:15:23', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420763 -3.085136)'), GeomFromEWKT('SRID=4674;POINT (-39.420722 -3.085127)'))) / (select extract(epoch from '2026-07-17 19:15:23'::timestamp) - extract(epoch from '2026-07-17 19:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420763 -3.085136)'), GeomFromEWKT('SRID=4674;POINT (-39.420722 -3.085127)'))) / (select extract(epoch from '2026-07-17 19:15:23'::timestamp) - extract(epoch from '2026-07-17 19:15: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'), 47991, 'SRID=4674;POINT (-39.42071 -3.085119)', '2026-07-17 19:15:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420722 -3.085127)'), GeomFromEWKT('SRID=4674;POINT (-39.42071 -3.085119)'))) / (select extract(epoch from '2026-07-17 19:15:31'::timestamp) - extract(epoch from '2026-07-17 19:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420722 -3.085127)'), GeomFromEWKT('SRID=4674;POINT (-39.42071 -3.085119)'))) / (select extract(epoch from '2026-07-17 19:15:31'::timestamp) - extract(epoch from '2026-07-17 19:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420695 -3.085111)', '2026-07-17 19:15:42', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42071 -3.085119)'), GeomFromEWKT('SRID=4674;POINT (-39.420695 -3.085111)'))) / (select extract(epoch from '2026-07-17 19:15:42'::timestamp) - extract(epoch from '2026-07-17 19:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42071 -3.085119)'), GeomFromEWKT('SRID=4674;POINT (-39.420695 -3.085111)'))) / (select extract(epoch from '2026-07-17 19:15:42'::timestamp) - extract(epoch from '2026-07-17 19:15: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'), 47991, 'SRID=4674;POINT (-39.420676 -3.085114)', '2026-07-17 19:15:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420695 -3.085111)'), GeomFromEWKT('SRID=4674;POINT (-39.420676 -3.085114)'))) / (select extract(epoch from '2026-07-17 19:15:50'::timestamp) - extract(epoch from '2026-07-17 19:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420695 -3.085111)'), GeomFromEWKT('SRID=4674;POINT (-39.420676 -3.085114)'))) / (select extract(epoch from '2026-07-17 19:15:50'::timestamp) - extract(epoch from '2026-07-17 19:15: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'), 47991, 'SRID=4674;POINT (-39.420667 -3.085118)', '2026-07-17 19:15:57', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420676 -3.085114)'), GeomFromEWKT('SRID=4674;POINT (-39.420667 -3.085118)'))) / (select extract(epoch from '2026-07-17 19:15:57'::timestamp) - extract(epoch from '2026-07-17 19:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420676 -3.085114)'), GeomFromEWKT('SRID=4674;POINT (-39.420667 -3.085118)'))) / (select extract(epoch from '2026-07-17 19:15:57'::timestamp) - extract(epoch from '2026-07-17 19:15: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'), 47991, 'SRID=4674;POINT (-39.42065 -3.085122)', '2026-07-17 19:16:04', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420667 -3.085118)'), GeomFromEWKT('SRID=4674;POINT (-39.42065 -3.085122)'))) / (select extract(epoch from '2026-07-17 19:16:04'::timestamp) - extract(epoch from '2026-07-17 19:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420667 -3.085118)'), GeomFromEWKT('SRID=4674;POINT (-39.42065 -3.085122)'))) / (select extract(epoch from '2026-07-17 19:16:04'::timestamp) - extract(epoch from '2026-07-17 19:15: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'), 47991, 'SRID=4674;POINT (-39.420603 -3.085122)', '2026-07-17 19:16:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42065 -3.085122)'), GeomFromEWKT('SRID=4674;POINT (-39.420603 -3.085122)'))) / (select extract(epoch from '2026-07-17 19:16:17'::timestamp) - extract(epoch from '2026-07-17 19:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42065 -3.085122)'), GeomFromEWKT('SRID=4674;POINT (-39.420603 -3.085122)'))) / (select extract(epoch from '2026-07-17 19:16:17'::timestamp) - extract(epoch from '2026-07-17 19:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420593 -3.085122)', '2026-07-17 19:16:25', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420603 -3.085122)'), GeomFromEWKT('SRID=4674;POINT (-39.420593 -3.085122)'))) / (select extract(epoch from '2026-07-17 19:16:25'::timestamp) - extract(epoch from '2026-07-17 19:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420603 -3.085122)'), GeomFromEWKT('SRID=4674;POINT (-39.420593 -3.085122)'))) / (select extract(epoch from '2026-07-17 19:16:25'::timestamp) - extract(epoch from '2026-07-17 19:16: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'), 47991, 'SRID=4674;POINT (-39.420562 -3.085119)', '2026-07-17 19:16:35', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420593 -3.085122)'), GeomFromEWKT('SRID=4674;POINT (-39.420562 -3.085119)'))) / (select extract(epoch from '2026-07-17 19:16:35'::timestamp) - extract(epoch from '2026-07-17 19:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420593 -3.085122)'), GeomFromEWKT('SRID=4674;POINT (-39.420562 -3.085119)'))) / (select extract(epoch from '2026-07-17 19:16:35'::timestamp) - extract(epoch from '2026-07-17 19:16: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'), 47991, 'SRID=4674;POINT (-39.420541 -3.08513)', '2026-07-17 19:16:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420562 -3.085119)'), GeomFromEWKT('SRID=4674;POINT (-39.420541 -3.08513)'))) / (select extract(epoch from '2026-07-17 19:16:43'::timestamp) - extract(epoch from '2026-07-17 19:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420562 -3.085119)'), GeomFromEWKT('SRID=4674;POINT (-39.420541 -3.08513)'))) / (select extract(epoch from '2026-07-17 19:16:43'::timestamp) - extract(epoch from '2026-07-17 19:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420523 -3.085129)', '2026-07-17 19:16:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420541 -3.08513)'), GeomFromEWKT('SRID=4674;POINT (-39.420523 -3.085129)'))) / (select extract(epoch from '2026-07-17 19:16:51'::timestamp) - extract(epoch from '2026-07-17 19:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420541 -3.08513)'), GeomFromEWKT('SRID=4674;POINT (-39.420523 -3.085129)'))) / (select extract(epoch from '2026-07-17 19:16:51'::timestamp) - extract(epoch from '2026-07-17 19:16: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'), 47991, 'SRID=4674;POINT (-39.420525 -3.085116)', '2026-07-17 19:16:56', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420523 -3.085129)'), GeomFromEWKT('SRID=4674;POINT (-39.420525 -3.085116)'))) / (select extract(epoch from '2026-07-17 19:16:56'::timestamp) - extract(epoch from '2026-07-17 19:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420523 -3.085129)'), GeomFromEWKT('SRID=4674;POINT (-39.420525 -3.085116)'))) / (select extract(epoch from '2026-07-17 19:16:56'::timestamp) - extract(epoch from '2026-07-17 19:16: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'), 47991, 'SRID=4674;POINT (-39.420501 -3.085118)', '2026-07-17 19:17:02', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420525 -3.085116)'), GeomFromEWKT('SRID=4674;POINT (-39.420501 -3.085118)'))) / (select extract(epoch from '2026-07-17 19:17:02'::timestamp) - extract(epoch from '2026-07-17 19:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420525 -3.085116)'), GeomFromEWKT('SRID=4674;POINT (-39.420501 -3.085118)'))) / (select extract(epoch from '2026-07-17 19:17:02'::timestamp) - extract(epoch from '2026-07-17 19:16: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'), 47991, 'SRID=4674;POINT (-39.420476 -3.085126)', '2026-07-17 19:17:11', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420501 -3.085118)'), GeomFromEWKT('SRID=4674;POINT (-39.420476 -3.085126)'))) / (select extract(epoch from '2026-07-17 19:17:11'::timestamp) - extract(epoch from '2026-07-17 19:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420501 -3.085118)'), GeomFromEWKT('SRID=4674;POINT (-39.420476 -3.085126)'))) / (select extract(epoch from '2026-07-17 19:17:11'::timestamp) - extract(epoch from '2026-07-17 19:17: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'), 47991, 'SRID=4674;POINT (-39.420456 -3.085114)', '2026-07-17 19:17:20', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420476 -3.085126)'), GeomFromEWKT('SRID=4674;POINT (-39.420456 -3.085114)'))) / (select extract(epoch from '2026-07-17 19:17:20'::timestamp) - extract(epoch from '2026-07-17 19:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420476 -3.085126)'), GeomFromEWKT('SRID=4674;POINT (-39.420456 -3.085114)'))) / (select extract(epoch from '2026-07-17 19:17:20'::timestamp) - extract(epoch from '2026-07-17 19:17: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'), 47991, 'SRID=4674;POINT (-39.420445 -3.085108)', '2026-07-17 19:17:26', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420456 -3.085114)'), GeomFromEWKT('SRID=4674;POINT (-39.420445 -3.085108)'))) / (select extract(epoch from '2026-07-17 19:17:26'::timestamp) - extract(epoch from '2026-07-17 19:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420456 -3.085114)'), GeomFromEWKT('SRID=4674;POINT (-39.420445 -3.085108)'))) / (select extract(epoch from '2026-07-17 19:17:26'::timestamp) - extract(epoch from '2026-07-17 19:17: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'), 47991, 'SRID=4674;POINT (-39.42042 -3.085105)', '2026-07-17 19:17:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420445 -3.085108)'), GeomFromEWKT('SRID=4674;POINT (-39.42042 -3.085105)'))) / (select extract(epoch from '2026-07-17 19:17:32'::timestamp) - extract(epoch from '2026-07-17 19:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420445 -3.085108)'), GeomFromEWKT('SRID=4674;POINT (-39.42042 -3.085105)'))) / (select extract(epoch from '2026-07-17 19:17:32'::timestamp) - extract(epoch from '2026-07-17 19:17: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'), 47991, 'SRID=4674;POINT (-39.420402 -3.085095)', '2026-07-17 19:17:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42042 -3.085105)'), GeomFromEWKT('SRID=4674;POINT (-39.420402 -3.085095)'))) / (select extract(epoch from '2026-07-17 19:17:40'::timestamp) - extract(epoch from '2026-07-17 19:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42042 -3.085105)'), GeomFromEWKT('SRID=4674;POINT (-39.420402 -3.085095)'))) / (select extract(epoch from '2026-07-17 19:17:40'::timestamp) - extract(epoch from '2026-07-17 19:17: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'), 47991, 'SRID=4674;POINT (-39.420396 -3.085087)', '2026-07-17 19:17:51', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420402 -3.085095)'), GeomFromEWKT('SRID=4674;POINT (-39.420396 -3.085087)'))) / (select extract(epoch from '2026-07-17 19:17:51'::timestamp) - extract(epoch from '2026-07-17 19:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420402 -3.085095)'), GeomFromEWKT('SRID=4674;POINT (-39.420396 -3.085087)'))) / (select extract(epoch from '2026-07-17 19:17:51'::timestamp) - extract(epoch from '2026-07-17 19:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420376 -3.085092)', '2026-07-17 19:18:01', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420396 -3.085087)'), GeomFromEWKT('SRID=4674;POINT (-39.420376 -3.085092)'))) / (select extract(epoch from '2026-07-17 19:18:01'::timestamp) - extract(epoch from '2026-07-17 19:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420396 -3.085087)'), GeomFromEWKT('SRID=4674;POINT (-39.420376 -3.085092)'))) / (select extract(epoch from '2026-07-17 19:18:01'::timestamp) - extract(epoch from '2026-07-17 19:17: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'), 47991, 'SRID=4674;POINT (-39.420363 -3.0851)', '2026-07-17 19:18:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420376 -3.085092)'), GeomFromEWKT('SRID=4674;POINT (-39.420363 -3.0851)'))) / (select extract(epoch from '2026-07-17 19:18:09'::timestamp) - extract(epoch from '2026-07-17 19:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420376 -3.085092)'), GeomFromEWKT('SRID=4674;POINT (-39.420363 -3.0851)'))) / (select extract(epoch from '2026-07-17 19:18:09'::timestamp) - extract(epoch from '2026-07-17 19:18: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'), 47991, 'SRID=4674;POINT (-39.420351 -3.085097)', '2026-07-17 19:18:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420363 -3.0851)'), GeomFromEWKT('SRID=4674;POINT (-39.420351 -3.085097)'))) / (select extract(epoch from '2026-07-17 19:18:20'::timestamp) - extract(epoch from '2026-07-17 19:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420363 -3.0851)'), GeomFromEWKT('SRID=4674;POINT (-39.420351 -3.085097)'))) / (select extract(epoch from '2026-07-17 19:18:20'::timestamp) - extract(epoch from '2026-07-17 19:18: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'), 47991, 'SRID=4674;POINT (-39.420329 -3.085084)', '2026-07-17 19:18:29', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420351 -3.085097)'), GeomFromEWKT('SRID=4674;POINT (-39.420329 -3.085084)'))) / (select extract(epoch from '2026-07-17 19:18:29'::timestamp) - extract(epoch from '2026-07-17 19:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420351 -3.085097)'), GeomFromEWKT('SRID=4674;POINT (-39.420329 -3.085084)'))) / (select extract(epoch from '2026-07-17 19:18:29'::timestamp) - extract(epoch from '2026-07-17 19:18: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'), 47991, 'SRID=4674;POINT (-39.420307 -3.085082)', '2026-07-17 19:18:37', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420329 -3.085084)'), GeomFromEWKT('SRID=4674;POINT (-39.420307 -3.085082)'))) / (select extract(epoch from '2026-07-17 19:18:37'::timestamp) - extract(epoch from '2026-07-17 19:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420329 -3.085084)'), GeomFromEWKT('SRID=4674;POINT (-39.420307 -3.085082)'))) / (select extract(epoch from '2026-07-17 19:18:37'::timestamp) - extract(epoch from '2026-07-17 19:18: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'), 47991, 'SRID=4674;POINT (-39.420293 -3.08509)', '2026-07-17 19:18:47', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420307 -3.085082)'), GeomFromEWKT('SRID=4674;POINT (-39.420293 -3.08509)'))) / (select extract(epoch from '2026-07-17 19:18:47'::timestamp) - extract(epoch from '2026-07-17 19:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420307 -3.085082)'), GeomFromEWKT('SRID=4674;POINT (-39.420293 -3.08509)'))) / (select extract(epoch from '2026-07-17 19:18:47'::timestamp) - extract(epoch from '2026-07-17 19:18: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'), 47991, 'SRID=4674;POINT (-39.42028 -3.085087)', '2026-07-17 19:18:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420293 -3.08509)'), GeomFromEWKT('SRID=4674;POINT (-39.42028 -3.085087)'))) / (select extract(epoch from '2026-07-17 19:18:58'::timestamp) - extract(epoch from '2026-07-17 19:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420293 -3.08509)'), GeomFromEWKT('SRID=4674;POINT (-39.42028 -3.085087)'))) / (select extract(epoch from '2026-07-17 19:18:58'::timestamp) - extract(epoch from '2026-07-17 19:18: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'), 47991, 'SRID=4674;POINT (-39.420251 -3.085086)', '2026-07-17 19:19:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42028 -3.085087)'), GeomFromEWKT('SRID=4674;POINT (-39.420251 -3.085086)'))) / (select extract(epoch from '2026-07-17 19:19:07'::timestamp) - extract(epoch from '2026-07-17 19:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42028 -3.085087)'), GeomFromEWKT('SRID=4674;POINT (-39.420251 -3.085086)'))) / (select extract(epoch from '2026-07-17 19:19:07'::timestamp) - extract(epoch from '2026-07-17 19:18: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'), 47991, 'SRID=4674;POINT (-39.420231 -3.08507)', '2026-07-17 19:19:16', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420251 -3.085086)'), GeomFromEWKT('SRID=4674;POINT (-39.420231 -3.08507)'))) / (select extract(epoch from '2026-07-17 19:19:16'::timestamp) - extract(epoch from '2026-07-17 19:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420251 -3.085086)'), GeomFromEWKT('SRID=4674;POINT (-39.420231 -3.08507)'))) / (select extract(epoch from '2026-07-17 19:19:16'::timestamp) - extract(epoch from '2026-07-17 19:19: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'), 47991, 'SRID=4674;POINT (-39.420216 -3.08507)', '2026-07-17 19:19:25', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420231 -3.08507)'), GeomFromEWKT('SRID=4674;POINT (-39.420216 -3.08507)'))) / (select extract(epoch from '2026-07-17 19:19:25'::timestamp) - extract(epoch from '2026-07-17 19:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420231 -3.08507)'), GeomFromEWKT('SRID=4674;POINT (-39.420216 -3.08507)'))) / (select extract(epoch from '2026-07-17 19:19:25'::timestamp) - extract(epoch from '2026-07-17 19:19: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'), 47991, 'SRID=4674;POINT (-39.4202 -3.085076)', '2026-07-17 19:19:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420216 -3.08507)'), GeomFromEWKT('SRID=4674;POINT (-39.4202 -3.085076)'))) / (select extract(epoch from '2026-07-17 19:19:34'::timestamp) - extract(epoch from '2026-07-17 19:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420216 -3.08507)'), GeomFromEWKT('SRID=4674;POINT (-39.4202 -3.085076)'))) / (select extract(epoch from '2026-07-17 19:19:34'::timestamp) - extract(epoch from '2026-07-17 19:19: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'), 47991, 'SRID=4674;POINT (-39.420166 -3.085079)', '2026-07-17 19:19:44', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4202 -3.085076)'), GeomFromEWKT('SRID=4674;POINT (-39.420166 -3.085079)'))) / (select extract(epoch from '2026-07-17 19:19:44'::timestamp) - extract(epoch from '2026-07-17 19:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4202 -3.085076)'), GeomFromEWKT('SRID=4674;POINT (-39.420166 -3.085079)'))) / (select extract(epoch from '2026-07-17 19:19:44'::timestamp) - extract(epoch from '2026-07-17 19:19: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'), 47991, 'SRID=4674;POINT (-39.420144 -3.085082)', '2026-07-17 19:19:52', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420166 -3.085079)'), GeomFromEWKT('SRID=4674;POINT (-39.420144 -3.085082)'))) / (select extract(epoch from '2026-07-17 19:19:52'::timestamp) - extract(epoch from '2026-07-17 19:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420166 -3.085079)'), GeomFromEWKT('SRID=4674;POINT (-39.420144 -3.085082)'))) / (select extract(epoch from '2026-07-17 19:19:52'::timestamp) - extract(epoch from '2026-07-17 19:19: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'), 47991, 'SRID=4674;POINT (-39.420123 -3.085073)', '2026-07-17 19:20:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420144 -3.085082)'), GeomFromEWKT('SRID=4674;POINT (-39.420123 -3.085073)'))) / (select extract(epoch from '2026-07-17 19:20:01'::timestamp) - extract(epoch from '2026-07-17 19:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420144 -3.085082)'), GeomFromEWKT('SRID=4674;POINT (-39.420123 -3.085073)'))) / (select extract(epoch from '2026-07-17 19:20:01'::timestamp) - extract(epoch from '2026-07-17 19:19: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'), 47991, 'SRID=4674;POINT (-39.420106 -3.085072)', '2026-07-17 19:20:10', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420123 -3.085073)'), GeomFromEWKT('SRID=4674;POINT (-39.420106 -3.085072)'))) / (select extract(epoch from '2026-07-17 19:20:10'::timestamp) - extract(epoch from '2026-07-17 19:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420123 -3.085073)'), GeomFromEWKT('SRID=4674;POINT (-39.420106 -3.085072)'))) / (select extract(epoch from '2026-07-17 19:20:10'::timestamp) - extract(epoch from '2026-07-17 19:20: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'), 47991, 'SRID=4674;POINT (-39.420102 -3.085077)', '2026-07-17 19:20:15', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420106 -3.085072)'), GeomFromEWKT('SRID=4674;POINT (-39.420102 -3.085077)'))) / (select extract(epoch from '2026-07-17 19:20:15'::timestamp) - extract(epoch from '2026-07-17 19:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420106 -3.085072)'), GeomFromEWKT('SRID=4674;POINT (-39.420102 -3.085077)'))) / (select extract(epoch from '2026-07-17 19:20:15'::timestamp) - extract(epoch from '2026-07-17 19:20: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'), 47991, 'SRID=4674;POINT (-39.420077 -3.085081)', '2026-07-17 19:20:22', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420102 -3.085077)'), GeomFromEWKT('SRID=4674;POINT (-39.420077 -3.085081)'))) / (select extract(epoch from '2026-07-17 19:20:22'::timestamp) - extract(epoch from '2026-07-17 19:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420102 -3.085077)'), GeomFromEWKT('SRID=4674;POINT (-39.420077 -3.085081)'))) / (select extract(epoch from '2026-07-17 19:20:22'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.420069 -3.085076)', '2026-07-17 19:20:29', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420077 -3.085081)'), GeomFromEWKT('SRID=4674;POINT (-39.420069 -3.085076)'))) / (select extract(epoch from '2026-07-17 19:20:29'::timestamp) - extract(epoch from '2026-07-17 19:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420077 -3.085081)'), GeomFromEWKT('SRID=4674;POINT (-39.420069 -3.085076)'))) / (select extract(epoch from '2026-07-17 19:20:29'::timestamp) - extract(epoch from '2026-07-17 19:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.420048 -3.085075)', '2026-07-17 19:20:39', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420069 -3.085076)'), GeomFromEWKT('SRID=4674;POINT (-39.420048 -3.085075)'))) / (select extract(epoch from '2026-07-17 19:20:39'::timestamp) - extract(epoch from '2026-07-17 19:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420069 -3.085076)'), GeomFromEWKT('SRID=4674;POINT (-39.420048 -3.085075)'))) / (select extract(epoch from '2026-07-17 19:20:39'::timestamp) - extract(epoch from '2026-07-17 19:20: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'), 47991, 'SRID=4674;POINT (-39.420028 -3.085075)', '2026-07-17 19:20:46', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420048 -3.085075)'), GeomFromEWKT('SRID=4674;POINT (-39.420028 -3.085075)'))) / (select extract(epoch from '2026-07-17 19:20:46'::timestamp) - extract(epoch from '2026-07-17 19:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420048 -3.085075)'), GeomFromEWKT('SRID=4674;POINT (-39.420028 -3.085075)'))) / (select extract(epoch from '2026-07-17 19:20:46'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.420011 -3.085075)', '2026-07-17 19:20:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420028 -3.085075)'), GeomFromEWKT('SRID=4674;POINT (-39.420011 -3.085075)'))) / (select extract(epoch from '2026-07-17 19:20:55'::timestamp) - extract(epoch from '2026-07-17 19:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420028 -3.085075)'), GeomFromEWKT('SRID=4674;POINT (-39.420011 -3.085075)'))) / (select extract(epoch from '2026-07-17 19:20:55'::timestamp) - extract(epoch from '2026-07-17 19:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419995 -3.085081)', '2026-07-17 19:21:04', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420011 -3.085075)'), GeomFromEWKT('SRID=4674;POINT (-39.419995 -3.085081)'))) / (select extract(epoch from '2026-07-17 19:21:04'::timestamp) - extract(epoch from '2026-07-17 19:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420011 -3.085075)'), GeomFromEWKT('SRID=4674;POINT (-39.419995 -3.085081)'))) / (select extract(epoch from '2026-07-17 19:21:04'::timestamp) - extract(epoch from '2026-07-17 19:20: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'), 47991, 'SRID=4674;POINT (-39.419988 -3.085079)', '2026-07-17 19:21:12', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419995 -3.085081)'), GeomFromEWKT('SRID=4674;POINT (-39.419988 -3.085079)'))) / (select extract(epoch from '2026-07-17 19:21:12'::timestamp) - extract(epoch from '2026-07-17 19:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419995 -3.085081)'), GeomFromEWKT('SRID=4674;POINT (-39.419988 -3.085079)'))) / (select extract(epoch from '2026-07-17 19:21:12'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.419964 -3.085064)', '2026-07-17 19:21:25', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419988 -3.085079)'), GeomFromEWKT('SRID=4674;POINT (-39.419964 -3.085064)'))) / (select extract(epoch from '2026-07-17 19:21:25'::timestamp) - extract(epoch from '2026-07-17 19:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419988 -3.085079)'), GeomFromEWKT('SRID=4674;POINT (-39.419964 -3.085064)'))) / (select extract(epoch from '2026-07-17 19:21:25'::timestamp) - extract(epoch from '2026-07-17 19:21: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'), 47991, 'SRID=4674;POINT (-39.419952 -3.085066)', '2026-07-17 19:21:34', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419964 -3.085064)'), GeomFromEWKT('SRID=4674;POINT (-39.419952 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:21:34'::timestamp) - extract(epoch from '2026-07-17 19:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419964 -3.085064)'), GeomFromEWKT('SRID=4674;POINT (-39.419952 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:21:34'::timestamp) - extract(epoch from '2026-07-17 19:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419944 -3.085056)', '2026-07-17 19:21:46', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419952 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419944 -3.085056)'))) / (select extract(epoch from '2026-07-17 19:21:46'::timestamp) - extract(epoch from '2026-07-17 19:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419952 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419944 -3.085056)'))) / (select extract(epoch from '2026-07-17 19:21:46'::timestamp) - extract(epoch from '2026-07-17 19:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41994 -3.085055)', '2026-07-17 19:21:55', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419944 -3.085056)'), GeomFromEWKT('SRID=4674;POINT (-39.41994 -3.085055)'))) / (select extract(epoch from '2026-07-17 19:21:55'::timestamp) - extract(epoch from '2026-07-17 19:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419944 -3.085056)'), GeomFromEWKT('SRID=4674;POINT (-39.41994 -3.085055)'))) / (select extract(epoch from '2026-07-17 19:21:55'::timestamp) - extract(epoch from '2026-07-17 19:21: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'), 47991, 'SRID=4674;POINT (-39.419919 -3.085059)', '2026-07-17 19:22:05', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41994 -3.085055)'), GeomFromEWKT('SRID=4674;POINT (-39.419919 -3.085059)'))) / (select extract(epoch from '2026-07-17 19:22:05'::timestamp) - extract(epoch from '2026-07-17 19:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41994 -3.085055)'), GeomFromEWKT('SRID=4674;POINT (-39.419919 -3.085059)'))) / (select extract(epoch from '2026-07-17 19:22:05'::timestamp) - extract(epoch from '2026-07-17 19:21: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'), 47991, 'SRID=4674;POINT (-39.419908 -3.085065)', '2026-07-17 19:22:11', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419919 -3.085059)'), GeomFromEWKT('SRID=4674;POINT (-39.419908 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:22:11'::timestamp) - extract(epoch from '2026-07-17 19:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419919 -3.085059)'), GeomFromEWKT('SRID=4674;POINT (-39.419908 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:22:11'::timestamp) - extract(epoch from '2026-07-17 19:22: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'), 47991, 'SRID=4674;POINT (-39.419885 -3.085066)', '2026-07-17 19:22:16', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419908 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.419885 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:22:16'::timestamp) - extract(epoch from '2026-07-17 19:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419908 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.419885 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:22:16'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.419872 -3.08507)', '2026-07-17 19:22:21', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419885 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419872 -3.08507)'))) / (select extract(epoch from '2026-07-17 19:22:21'::timestamp) - extract(epoch from '2026-07-17 19:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419885 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419872 -3.08507)'))) / (select extract(epoch from '2026-07-17 19:22:21'::timestamp) - extract(epoch from '2026-07-17 19:22: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'), 47991, 'SRID=4674;POINT (-39.419833 -3.085068)', '2026-07-17 19:22:30', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419872 -3.08507)'), GeomFromEWKT('SRID=4674;POINT (-39.419833 -3.085068)'))) / (select extract(epoch from '2026-07-17 19:22:30'::timestamp) - extract(epoch from '2026-07-17 19:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419872 -3.08507)'), GeomFromEWKT('SRID=4674;POINT (-39.419833 -3.085068)'))) / (select extract(epoch from '2026-07-17 19:22:30'::timestamp) - extract(epoch from '2026-07-17 19:22: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'), 47991, 'SRID=4674;POINT (-39.419815 -3.085064)', '2026-07-17 19:22:39', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419833 -3.085068)'), GeomFromEWKT('SRID=4674;POINT (-39.419815 -3.085064)'))) / (select extract(epoch from '2026-07-17 19:22:39'::timestamp) - extract(epoch from '2026-07-17 19:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419833 -3.085068)'), GeomFromEWKT('SRID=4674;POINT (-39.419815 -3.085064)'))) / (select extract(epoch from '2026-07-17 19:22:39'::timestamp) - extract(epoch from '2026-07-17 19:22: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'), 47991, 'SRID=4674;POINT (-39.419783 -3.085059)', '2026-07-17 19:22:48', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419815 -3.085064)'), GeomFromEWKT('SRID=4674;POINT (-39.419783 -3.085059)'))) / (select extract(epoch from '2026-07-17 19:22:48'::timestamp) - extract(epoch from '2026-07-17 19:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419815 -3.085064)'), GeomFromEWKT('SRID=4674;POINT (-39.419783 -3.085059)'))) / (select extract(epoch from '2026-07-17 19:22:48'::timestamp) - extract(epoch from '2026-07-17 19:22: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'), 47991, 'SRID=4674;POINT (-39.419745 -3.085064)', '2026-07-17 19:22:57', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419783 -3.085059)'), GeomFromEWKT('SRID=4674;POINT (-39.419745 -3.085064)'))) / (select extract(epoch from '2026-07-17 19:22:57'::timestamp) - extract(epoch from '2026-07-17 19:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419783 -3.085059)'), GeomFromEWKT('SRID=4674;POINT (-39.419745 -3.085064)'))) / (select extract(epoch from '2026-07-17 19:22:57'::timestamp) - extract(epoch from '2026-07-17 19:22: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'), 47991, 'SRID=4674;POINT (-39.419723 -3.085068)', '2026-07-17 19:23:06', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419745 -3.085064)'), GeomFromEWKT('SRID=4674;POINT (-39.419723 -3.085068)'))) / (select extract(epoch from '2026-07-17 19:23:06'::timestamp) - extract(epoch from '2026-07-17 19:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419745 -3.085064)'), GeomFromEWKT('SRID=4674;POINT (-39.419723 -3.085068)'))) / (select extract(epoch from '2026-07-17 19:23:06'::timestamp) - extract(epoch from '2026-07-17 19:22: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'), 47991, 'SRID=4674;POINT (-39.4197 -3.08507)', '2026-07-17 19:23:14', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419723 -3.085068)'), GeomFromEWKT('SRID=4674;POINT (-39.4197 -3.08507)'))) / (select extract(epoch from '2026-07-17 19:23:14'::timestamp) - extract(epoch from '2026-07-17 19:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419723 -3.085068)'), GeomFromEWKT('SRID=4674;POINT (-39.4197 -3.08507)'))) / (select extract(epoch from '2026-07-17 19:23:14'::timestamp) - extract(epoch from '2026-07-17 19:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41969 -3.085068)', '2026-07-17 19:23:21', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4197 -3.08507)'), GeomFromEWKT('SRID=4674;POINT (-39.41969 -3.085068)'))) / (select extract(epoch from '2026-07-17 19:23:21'::timestamp) - extract(epoch from '2026-07-17 19:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4197 -3.08507)'), GeomFromEWKT('SRID=4674;POINT (-39.41969 -3.085068)'))) / (select extract(epoch from '2026-07-17 19:23:21'::timestamp) - extract(epoch from '2026-07-17 19:23: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'), 47991, 'SRID=4674;POINT (-39.419662 -3.085067)', '2026-07-17 19:23:29', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41969 -3.085068)'), GeomFromEWKT('SRID=4674;POINT (-39.419662 -3.085067)'))) / (select extract(epoch from '2026-07-17 19:23:29'::timestamp) - extract(epoch from '2026-07-17 19:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41969 -3.085068)'), GeomFromEWKT('SRID=4674;POINT (-39.419662 -3.085067)'))) / (select extract(epoch from '2026-07-17 19:23:29'::timestamp) - extract(epoch from '2026-07-17 19:23: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'), 47991, 'SRID=4674;POINT (-39.419643 -3.085065)', '2026-07-17 19:23:38', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419662 -3.085067)'), GeomFromEWKT('SRID=4674;POINT (-39.419643 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:23:38'::timestamp) - extract(epoch from '2026-07-17 19:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419662 -3.085067)'), GeomFromEWKT('SRID=4674;POINT (-39.419643 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:23:38'::timestamp) - extract(epoch from '2026-07-17 19:23: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'), 47991, 'SRID=4674;POINT (-39.419621 -3.085063)', '2026-07-17 19:23:46', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419643 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.419621 -3.085063)'))) / (select extract(epoch from '2026-07-17 19:23:46'::timestamp) - extract(epoch from '2026-07-17 19:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419643 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.419621 -3.085063)'))) / (select extract(epoch from '2026-07-17 19:23:46'::timestamp) - extract(epoch from '2026-07-17 19:23: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'), 47991, 'SRID=4674;POINT (-39.419586 -3.085056)', '2026-07-17 19:23:57', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419621 -3.085063)'), GeomFromEWKT('SRID=4674;POINT (-39.419586 -3.085056)'))) / (select extract(epoch from '2026-07-17 19:23:57'::timestamp) - extract(epoch from '2026-07-17 19:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419621 -3.085063)'), GeomFromEWKT('SRID=4674;POINT (-39.419586 -3.085056)'))) / (select extract(epoch from '2026-07-17 19:23:57'::timestamp) - extract(epoch from '2026-07-17 19:23: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'), 47991, 'SRID=4674;POINT (-39.419573 -3.085067)', '2026-07-17 19:24:05', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419586 -3.085056)'), GeomFromEWKT('SRID=4674;POINT (-39.419573 -3.085067)'))) / (select extract(epoch from '2026-07-17 19:24:05'::timestamp) - extract(epoch from '2026-07-17 19:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419586 -3.085056)'), GeomFromEWKT('SRID=4674;POINT (-39.419573 -3.085067)'))) / (select extract(epoch from '2026-07-17 19:24:05'::timestamp) - extract(epoch from '2026-07-17 19:23: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'), 47991, 'SRID=4674;POINT (-39.419551 -3.085065)', '2026-07-17 19:24:11', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419573 -3.085067)'), GeomFromEWKT('SRID=4674;POINT (-39.419551 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:24:11'::timestamp) - extract(epoch from '2026-07-17 19:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419573 -3.085067)'), GeomFromEWKT('SRID=4674;POINT (-39.419551 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:24:11'::timestamp) - extract(epoch from '2026-07-17 19:24: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'), 47991, 'SRID=4674;POINT (-39.419523 -3.085049)', '2026-07-17 19:24:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419551 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.419523 -3.085049)'))) / (select extract(epoch from '2026-07-17 19:24:18'::timestamp) - extract(epoch from '2026-07-17 19:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419551 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.419523 -3.085049)'))) / (select extract(epoch from '2026-07-17 19:24:18'::timestamp) - extract(epoch from '2026-07-17 19:24: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'), 47991, 'SRID=4674;POINT (-39.419502 -3.085058)', '2026-07-17 19:24:27', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419523 -3.085049)'), GeomFromEWKT('SRID=4674;POINT (-39.419502 -3.085058)'))) / (select extract(epoch from '2026-07-17 19:24:27'::timestamp) - extract(epoch from '2026-07-17 19:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419523 -3.085049)'), GeomFromEWKT('SRID=4674;POINT (-39.419502 -3.085058)'))) / (select extract(epoch from '2026-07-17 19:24:27'::timestamp) - extract(epoch from '2026-07-17 19:24: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'), 47991, 'SRID=4674;POINT (-39.419491 -3.085072)', '2026-07-17 19:24:35', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419502 -3.085058)'), GeomFromEWKT('SRID=4674;POINT (-39.419491 -3.085072)'))) / (select extract(epoch from '2026-07-17 19:24:35'::timestamp) - extract(epoch from '2026-07-17 19:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419502 -3.085058)'), GeomFromEWKT('SRID=4674;POINT (-39.419491 -3.085072)'))) / (select extract(epoch from '2026-07-17 19:24:35'::timestamp) - extract(epoch from '2026-07-17 19:24: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'), 47991, 'SRID=4674;POINT (-39.419462 -3.085064)', '2026-07-17 19:24:43', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419491 -3.085072)'), GeomFromEWKT('SRID=4674;POINT (-39.419462 -3.085064)'))) / (select extract(epoch from '2026-07-17 19:24:43'::timestamp) - extract(epoch from '2026-07-17 19:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419491 -3.085072)'), GeomFromEWKT('SRID=4674;POINT (-39.419462 -3.085064)'))) / (select extract(epoch from '2026-07-17 19:24:43'::timestamp) - extract(epoch from '2026-07-17 19:24: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'), 47991, 'SRID=4674;POINT (-39.419448 -3.085062)', '2026-07-17 19:24:54', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419462 -3.085064)'), GeomFromEWKT('SRID=4674;POINT (-39.419448 -3.085062)'))) / (select extract(epoch from '2026-07-17 19:24:54'::timestamp) - extract(epoch from '2026-07-17 19:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419462 -3.085064)'), GeomFromEWKT('SRID=4674;POINT (-39.419448 -3.085062)'))) / (select extract(epoch from '2026-07-17 19:24:54'::timestamp) - extract(epoch from '2026-07-17 19:24: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'), 47991, 'SRID=4674;POINT (-39.419433 -3.08507)', '2026-07-17 19:25:05', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419448 -3.085062)'), GeomFromEWKT('SRID=4674;POINT (-39.419433 -3.08507)'))) / (select extract(epoch from '2026-07-17 19:25:05'::timestamp) - extract(epoch from '2026-07-17 19:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419448 -3.085062)'), GeomFromEWKT('SRID=4674;POINT (-39.419433 -3.08507)'))) / (select extract(epoch from '2026-07-17 19:25:05'::timestamp) - extract(epoch from '2026-07-17 19:24: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'), 47991, 'SRID=4674;POINT (-39.41943 -3.085066)', '2026-07-17 19:25:11', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419433 -3.08507)'), GeomFromEWKT('SRID=4674;POINT (-39.41943 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:25:11'::timestamp) - extract(epoch from '2026-07-17 19:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419433 -3.08507)'), GeomFromEWKT('SRID=4674;POINT (-39.41943 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:25:11'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.419423 -3.085058)', '2026-07-17 19:25:15', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41943 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419423 -3.085058)'))) / (select extract(epoch from '2026-07-17 19:25:15'::timestamp) - extract(epoch from '2026-07-17 19:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41943 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419423 -3.085058)'))) / (select extract(epoch from '2026-07-17 19:25:15'::timestamp) - extract(epoch from '2026-07-17 19:25: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'), 47991, 'SRID=4674;POINT (-39.419408 -3.08506)', '2026-07-17 19:25:22', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419423 -3.085058)'), GeomFromEWKT('SRID=4674;POINT (-39.419408 -3.08506)'))) / (select extract(epoch from '2026-07-17 19:25:22'::timestamp) - extract(epoch from '2026-07-17 19:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419423 -3.085058)'), GeomFromEWKT('SRID=4674;POINT (-39.419408 -3.08506)'))) / (select extract(epoch from '2026-07-17 19:25:22'::timestamp) - extract(epoch from '2026-07-17 19:25: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'), 47991, 'SRID=4674;POINT (-39.419396 -3.085061)', '2026-07-17 19:25:30', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419408 -3.08506)'), GeomFromEWKT('SRID=4674;POINT (-39.419396 -3.085061)'))) / (select extract(epoch from '2026-07-17 19:25:30'::timestamp) - extract(epoch from '2026-07-17 19:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419408 -3.08506)'), GeomFromEWKT('SRID=4674;POINT (-39.419396 -3.085061)'))) / (select extract(epoch from '2026-07-17 19:25:30'::timestamp) - extract(epoch from '2026-07-17 19:25:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419371 -3.085066)', '2026-07-17 19:25:39', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419396 -3.085061)'), GeomFromEWKT('SRID=4674;POINT (-39.419371 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:25:39'::timestamp) - extract(epoch from '2026-07-17 19:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419396 -3.085061)'), GeomFromEWKT('SRID=4674;POINT (-39.419371 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:25:39'::timestamp) - extract(epoch from '2026-07-17 19:25: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'), 47991, 'SRID=4674;POINT (-39.419353 -3.085063)', '2026-07-17 19:25:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419371 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419353 -3.085063)'))) / (select extract(epoch from '2026-07-17 19:25:45'::timestamp) - extract(epoch from '2026-07-17 19:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419371 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419353 -3.085063)'))) / (select extract(epoch from '2026-07-17 19:25:45'::timestamp) - extract(epoch from '2026-07-17 19:25:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419342 -3.085061)', '2026-07-17 19:25:53', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419353 -3.085063)'), GeomFromEWKT('SRID=4674;POINT (-39.419342 -3.085061)'))) / (select extract(epoch from '2026-07-17 19:25:53'::timestamp) - extract(epoch from '2026-07-17 19:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419353 -3.085063)'), GeomFromEWKT('SRID=4674;POINT (-39.419342 -3.085061)'))) / (select extract(epoch from '2026-07-17 19:25:53'::timestamp) - extract(epoch from '2026-07-17 19:25: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'), 47991, 'SRID=4674;POINT (-39.419325 -3.085067)', '2026-07-17 19:26:01', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419342 -3.085061)'), GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.085067)'))) / (select extract(epoch from '2026-07-17 19:26:01'::timestamp) - extract(epoch from '2026-07-17 19:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419342 -3.085061)'), GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.085067)'))) / (select extract(epoch from '2026-07-17 19:26:01'::timestamp) - extract(epoch from '2026-07-17 19:25: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'), 47991, 'SRID=4674;POINT (-39.419333 -3.085057)', '2026-07-17 19:26:10', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.085067)'), GeomFromEWKT('SRID=4674;POINT (-39.419333 -3.085057)'))) / (select extract(epoch from '2026-07-17 19:26:10'::timestamp) - extract(epoch from '2026-07-17 19:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.085067)'), GeomFromEWKT('SRID=4674;POINT (-39.419333 -3.085057)'))) / (select extract(epoch from '2026-07-17 19:26:10'::timestamp) - extract(epoch from '2026-07-17 19:26: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'), 47991, 'SRID=4674;POINT (-39.419317 -3.085057)', '2026-07-17 19:26:17', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419333 -3.085057)'), GeomFromEWKT('SRID=4674;POINT (-39.419317 -3.085057)'))) / (select extract(epoch from '2026-07-17 19:26:17'::timestamp) - extract(epoch from '2026-07-17 19:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419333 -3.085057)'), GeomFromEWKT('SRID=4674;POINT (-39.419317 -3.085057)'))) / (select extract(epoch from '2026-07-17 19:26:17'::timestamp) - extract(epoch from '2026-07-17 19:26: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'), 47991, 'SRID=4674;POINT (-39.419296 -3.085061)', '2026-07-17 19:26:24', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419317 -3.085057)'), GeomFromEWKT('SRID=4674;POINT (-39.419296 -3.085061)'))) / (select extract(epoch from '2026-07-17 19:26:24'::timestamp) - extract(epoch from '2026-07-17 19:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419317 -3.085057)'), GeomFromEWKT('SRID=4674;POINT (-39.419296 -3.085061)'))) / (select extract(epoch from '2026-07-17 19:26:24'::timestamp) - extract(epoch from '2026-07-17 19:26: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'), 47991, 'SRID=4674;POINT (-39.419267 -3.085059)', '2026-07-17 19:26:32', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419296 -3.085061)'), GeomFromEWKT('SRID=4674;POINT (-39.419267 -3.085059)'))) / (select extract(epoch from '2026-07-17 19:26:32'::timestamp) - extract(epoch from '2026-07-17 19:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419296 -3.085061)'), GeomFromEWKT('SRID=4674;POINT (-39.419267 -3.085059)'))) / (select extract(epoch from '2026-07-17 19:26:32'::timestamp) - extract(epoch from '2026-07-17 19:26: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'), 47991, 'SRID=4674;POINT (-39.419248 -3.085062)', '2026-07-17 19:26:40', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419267 -3.085059)'), GeomFromEWKT('SRID=4674;POINT (-39.419248 -3.085062)'))) / (select extract(epoch from '2026-07-17 19:26:40'::timestamp) - extract(epoch from '2026-07-17 19:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419267 -3.085059)'), GeomFromEWKT('SRID=4674;POINT (-39.419248 -3.085062)'))) / (select extract(epoch from '2026-07-17 19:26:40'::timestamp) - extract(epoch from '2026-07-17 19:26: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'), 47991, 'SRID=4674;POINT (-39.419228 -3.085065)', '2026-07-17 19:26:49', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419248 -3.085062)'), GeomFromEWKT('SRID=4674;POINT (-39.419228 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:26:49'::timestamp) - extract(epoch from '2026-07-17 19:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419248 -3.085062)'), GeomFromEWKT('SRID=4674;POINT (-39.419228 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:26:49'::timestamp) - extract(epoch from '2026-07-17 19:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419209 -3.085056)', '2026-07-17 19:26:57', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419228 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.419209 -3.085056)'))) / (select extract(epoch from '2026-07-17 19:26:57'::timestamp) - extract(epoch from '2026-07-17 19:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419228 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.419209 -3.085056)'))) / (select extract(epoch from '2026-07-17 19:26:57'::timestamp) - extract(epoch from '2026-07-17 19:26: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'), 47991, 'SRID=4674;POINT (-39.419191 -3.085058)', '2026-07-17 19:27:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419209 -3.085056)'), GeomFromEWKT('SRID=4674;POINT (-39.419191 -3.085058)'))) / (select extract(epoch from '2026-07-17 19:27:08'::timestamp) - extract(epoch from '2026-07-17 19:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419209 -3.085056)'), GeomFromEWKT('SRID=4674;POINT (-39.419191 -3.085058)'))) / (select extract(epoch from '2026-07-17 19:27:08'::timestamp) - extract(epoch from '2026-07-17 19:26: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'), 47991, 'SRID=4674;POINT (-39.419155 -3.085066)', '2026-07-17 19:27:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419191 -3.085058)'), GeomFromEWKT('SRID=4674;POINT (-39.419155 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:27:18'::timestamp) - extract(epoch from '2026-07-17 19:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419191 -3.085058)'), GeomFromEWKT('SRID=4674;POINT (-39.419155 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:27:18'::timestamp) - extract(epoch from '2026-07-17 19:27: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'), 47991, 'SRID=4674;POINT (-39.419135 -3.085066)', '2026-07-17 19:27:24', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419155 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419135 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:27:24'::timestamp) - extract(epoch from '2026-07-17 19:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419155 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419135 -3.085066)'))) / (select extract(epoch from '2026-07-17 19:27:24'::timestamp) - extract(epoch from '2026-07-17 19:27: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'), 47991, 'SRID=4674;POINT (-39.419104 -3.08505)', '2026-07-17 19:27:36', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419135 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419104 -3.08505)'))) / (select extract(epoch from '2026-07-17 19:27:36'::timestamp) - extract(epoch from '2026-07-17 19:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419135 -3.085066)'), GeomFromEWKT('SRID=4674;POINT (-39.419104 -3.08505)'))) / (select extract(epoch from '2026-07-17 19:27:36'::timestamp) - extract(epoch from '2026-07-17 19:27: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'), 47991, 'SRID=4674;POINT (-39.419093 -3.085055)', '2026-07-17 19:27:44', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419104 -3.08505)'), GeomFromEWKT('SRID=4674;POINT (-39.419093 -3.085055)'))) / (select extract(epoch from '2026-07-17 19:27:44'::timestamp) - extract(epoch from '2026-07-17 19:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419104 -3.08505)'), GeomFromEWKT('SRID=4674;POINT (-39.419093 -3.085055)'))) / (select extract(epoch from '2026-07-17 19:27:44'::timestamp) - extract(epoch from '2026-07-17 19:27:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419078 -3.085055)', '2026-07-17 19:27:51', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419093 -3.085055)'), GeomFromEWKT('SRID=4674;POINT (-39.419078 -3.085055)'))) / (select extract(epoch from '2026-07-17 19:27:51'::timestamp) - extract(epoch from '2026-07-17 19:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419093 -3.085055)'), GeomFromEWKT('SRID=4674;POINT (-39.419078 -3.085055)'))) / (select extract(epoch from '2026-07-17 19:27:51'::timestamp) - extract(epoch from '2026-07-17 19:27: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'), 47991, 'SRID=4674;POINT (-39.419067 -3.085054)', '2026-07-17 19:28:00', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419078 -3.085055)'), GeomFromEWKT('SRID=4674;POINT (-39.419067 -3.085054)'))) / (select extract(epoch from '2026-07-17 19:28:00'::timestamp) - extract(epoch from '2026-07-17 19:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419078 -3.085055)'), GeomFromEWKT('SRID=4674;POINT (-39.419067 -3.085054)'))) / (select extract(epoch from '2026-07-17 19:28:00'::timestamp) - extract(epoch from '2026-07-17 19:27: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'), 47991, 'SRID=4674;POINT (-39.419044 -3.085063)', '2026-07-17 19:28:10', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419067 -3.085054)'), GeomFromEWKT('SRID=4674;POINT (-39.419044 -3.085063)'))) / (select extract(epoch from '2026-07-17 19:28:10'::timestamp) - extract(epoch from '2026-07-17 19:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419067 -3.085054)'), GeomFromEWKT('SRID=4674;POINT (-39.419044 -3.085063)'))) / (select extract(epoch from '2026-07-17 19:28:10'::timestamp) - extract(epoch from '2026-07-17 19:28: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'), 47991, 'SRID=4674;POINT (-39.419023 -3.085059)', '2026-07-17 19:28:19', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419044 -3.085063)'), GeomFromEWKT('SRID=4674;POINT (-39.419023 -3.085059)'))) / (select extract(epoch from '2026-07-17 19:28:19'::timestamp) - extract(epoch from '2026-07-17 19:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419044 -3.085063)'), GeomFromEWKT('SRID=4674;POINT (-39.419023 -3.085059)'))) / (select extract(epoch from '2026-07-17 19:28:19'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.419012 -3.085062)', '2026-07-17 19:28:25', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419023 -3.085059)'), GeomFromEWKT('SRID=4674;POINT (-39.419012 -3.085062)'))) / (select extract(epoch from '2026-07-17 19:28:25'::timestamp) - extract(epoch from '2026-07-17 19:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419023 -3.085059)'), GeomFromEWKT('SRID=4674;POINT (-39.419012 -3.085062)'))) / (select extract(epoch from '2026-07-17 19:28:25'::timestamp) - extract(epoch from '2026-07-17 19:28: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'), 47991, 'SRID=4674;POINT (-39.41901 -3.085062)', '2026-07-17 19:28:30', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419012 -3.085062)'), GeomFromEWKT('SRID=4674;POINT (-39.41901 -3.085062)'))) / (select extract(epoch from '2026-07-17 19:28:30'::timestamp) - extract(epoch from '2026-07-17 19:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419012 -3.085062)'), GeomFromEWKT('SRID=4674;POINT (-39.41901 -3.085062)'))) / (select extract(epoch from '2026-07-17 19:28:30'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.41902 -3.085065)', '2026-07-17 19:28:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41901 -3.085062)'), GeomFromEWKT('SRID=4674;POINT (-39.41902 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:28:31'::timestamp) - extract(epoch from '2026-07-17 19:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41901 -3.085062)'), GeomFromEWKT('SRID=4674;POINT (-39.41902 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:28:31'::timestamp) - extract(epoch from '2026-07-17 19:28: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'), 47991, 'SRID=4674;POINT (-39.419026 -3.085062)', '2026-07-17 19:28:35', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41902 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.419026 -3.085062)'))) / (select extract(epoch from '2026-07-17 19:28:35'::timestamp) - extract(epoch from '2026-07-17 19:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41902 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.419026 -3.085062)'))) / (select extract(epoch from '2026-07-17 19:28:35'::timestamp) - extract(epoch from '2026-07-17 19:28: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'), 47991, 'SRID=4674;POINT (-39.419032 -3.085054)', '2026-07-17 19:28:40', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419026 -3.085062)'), GeomFromEWKT('SRID=4674;POINT (-39.419032 -3.085054)'))) / (select extract(epoch from '2026-07-17 19:28:40'::timestamp) - extract(epoch from '2026-07-17 19:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419026 -3.085062)'), GeomFromEWKT('SRID=4674;POINT (-39.419032 -3.085054)'))) / (select extract(epoch from '2026-07-17 19:28:40'::timestamp) - extract(epoch from '2026-07-17 19:28: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'), 47991, 'SRID=4674;POINT (-39.419027 -3.08505)', '2026-07-17 19:28:49', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419032 -3.085054)'), GeomFromEWKT('SRID=4674;POINT (-39.419027 -3.08505)'))) / (select extract(epoch from '2026-07-17 19:28:49'::timestamp) - extract(epoch from '2026-07-17 19:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419032 -3.085054)'), GeomFromEWKT('SRID=4674;POINT (-39.419027 -3.08505)'))) / (select extract(epoch from '2026-07-17 19:28:49'::timestamp) - extract(epoch from '2026-07-17 19:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419003 -3.08505)', '2026-07-17 19:28:57', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419027 -3.08505)'), GeomFromEWKT('SRID=4674;POINT (-39.419003 -3.08505)'))) / (select extract(epoch from '2026-07-17 19:28:57'::timestamp) - extract(epoch from '2026-07-17 19:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419027 -3.08505)'), GeomFromEWKT('SRID=4674;POINT (-39.419003 -3.08505)'))) / (select extract(epoch from '2026-07-17 19:28:57'::timestamp) - extract(epoch from '2026-07-17 19:28: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'), 47991, 'SRID=4674;POINT (-39.418973 -3.085049)', '2026-07-17 19:29:07', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419003 -3.08505)'), GeomFromEWKT('SRID=4674;POINT (-39.418973 -3.085049)'))) / (select extract(epoch from '2026-07-17 19:29:07'::timestamp) - extract(epoch from '2026-07-17 19:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419003 -3.08505)'), GeomFromEWKT('SRID=4674;POINT (-39.418973 -3.085049)'))) / (select extract(epoch from '2026-07-17 19:29:07'::timestamp) - extract(epoch from '2026-07-17 19:28: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'), 47991, 'SRID=4674;POINT (-39.418945 -3.085054)', '2026-07-17 19:29:15', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418973 -3.085049)'), GeomFromEWKT('SRID=4674;POINT (-39.418945 -3.085054)'))) / (select extract(epoch from '2026-07-17 19:29:15'::timestamp) - extract(epoch from '2026-07-17 19:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418973 -3.085049)'), GeomFromEWKT('SRID=4674;POINT (-39.418945 -3.085054)'))) / (select extract(epoch from '2026-07-17 19:29:15'::timestamp) - extract(epoch from '2026-07-17 19:29: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'), 47991, 'SRID=4674;POINT (-39.418928 -3.085041)', '2026-07-17 19:29:24', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418945 -3.085054)'), GeomFromEWKT('SRID=4674;POINT (-39.418928 -3.085041)'))) / (select extract(epoch from '2026-07-17 19:29:24'::timestamp) - extract(epoch from '2026-07-17 19:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418945 -3.085054)'), GeomFromEWKT('SRID=4674;POINT (-39.418928 -3.085041)'))) / (select extract(epoch from '2026-07-17 19:29:24'::timestamp) - extract(epoch from '2026-07-17 19:29: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'), 47991, 'SRID=4674;POINT (-39.418911 -3.085035)', '2026-07-17 19:29:32', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418928 -3.085041)'), GeomFromEWKT('SRID=4674;POINT (-39.418911 -3.085035)'))) / (select extract(epoch from '2026-07-17 19:29:32'::timestamp) - extract(epoch from '2026-07-17 19:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418928 -3.085041)'), GeomFromEWKT('SRID=4674;POINT (-39.418911 -3.085035)'))) / (select extract(epoch from '2026-07-17 19:29:32'::timestamp) - extract(epoch from '2026-07-17 19:29: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'), 47991, 'SRID=4674;POINT (-39.418886 -3.085042)', '2026-07-17 19:29:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418911 -3.085035)'), GeomFromEWKT('SRID=4674;POINT (-39.418886 -3.085042)'))) / (select extract(epoch from '2026-07-17 19:29:45'::timestamp) - extract(epoch from '2026-07-17 19:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418911 -3.085035)'), GeomFromEWKT('SRID=4674;POINT (-39.418886 -3.085042)'))) / (select extract(epoch from '2026-07-17 19:29:45'::timestamp) - extract(epoch from '2026-07-17 19:29: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'), 47991, 'SRID=4674;POINT (-39.41886 -3.08504)', '2026-07-17 19:29:53', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418886 -3.085042)'), GeomFromEWKT('SRID=4674;POINT (-39.41886 -3.08504)'))) / (select extract(epoch from '2026-07-17 19:29:53'::timestamp) - extract(epoch from '2026-07-17 19:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418886 -3.085042)'), GeomFromEWKT('SRID=4674;POINT (-39.41886 -3.08504)'))) / (select extract(epoch from '2026-07-17 19:29:53'::timestamp) - extract(epoch from '2026-07-17 19:29: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'), 47991, 'SRID=4674;POINT (-39.418855 -3.08503)', '2026-07-17 19:30:01', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41886 -3.08504)'), GeomFromEWKT('SRID=4674;POINT (-39.418855 -3.08503)'))) / (select extract(epoch from '2026-07-17 19:30:01'::timestamp) - extract(epoch from '2026-07-17 19:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41886 -3.08504)'), GeomFromEWKT('SRID=4674;POINT (-39.418855 -3.08503)'))) / (select extract(epoch from '2026-07-17 19:30:01'::timestamp) - extract(epoch from '2026-07-17 19:29: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'), 47991, 'SRID=4674;POINT (-39.418839 -3.085037)', '2026-07-17 19:30:06', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418855 -3.08503)'), GeomFromEWKT('SRID=4674;POINT (-39.418839 -3.085037)'))) / (select extract(epoch from '2026-07-17 19:30:06'::timestamp) - extract(epoch from '2026-07-17 19:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418855 -3.08503)'), GeomFromEWKT('SRID=4674;POINT (-39.418839 -3.085037)'))) / (select extract(epoch from '2026-07-17 19:30:06'::timestamp) - extract(epoch from '2026-07-17 19:30: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'), 47991, 'SRID=4674;POINT (-39.418819 -3.085042)', '2026-07-17 19:30:12', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418839 -3.085037)'), GeomFromEWKT('SRID=4674;POINT (-39.418819 -3.085042)'))) / (select extract(epoch from '2026-07-17 19:30:12'::timestamp) - extract(epoch from '2026-07-17 19:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418839 -3.085037)'), GeomFromEWKT('SRID=4674;POINT (-39.418819 -3.085042)'))) / (select extract(epoch from '2026-07-17 19:30:12'::timestamp) - extract(epoch from '2026-07-17 19:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418798 -3.085028)', '2026-07-17 19:30:23', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418819 -3.085042)'), GeomFromEWKT('SRID=4674;POINT (-39.418798 -3.085028)'))) / (select extract(epoch from '2026-07-17 19:30:23'::timestamp) - extract(epoch from '2026-07-17 19:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418819 -3.085042)'), GeomFromEWKT('SRID=4674;POINT (-39.418798 -3.085028)'))) / (select extract(epoch from '2026-07-17 19:30:23'::timestamp) - extract(epoch from '2026-07-17 19:30: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'), 47991, 'SRID=4674;POINT (-39.418778 -3.085035)', '2026-07-17 19:30:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418798 -3.085028)'), GeomFromEWKT('SRID=4674;POINT (-39.418778 -3.085035)'))) / (select extract(epoch from '2026-07-17 19:30:30'::timestamp) - extract(epoch from '2026-07-17 19:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418798 -3.085028)'), GeomFromEWKT('SRID=4674;POINT (-39.418778 -3.085035)'))) / (select extract(epoch from '2026-07-17 19:30:30'::timestamp) - extract(epoch from '2026-07-17 19:30: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'), 47991, 'SRID=4674;POINT (-39.418774 -3.08503)', '2026-07-17 19:30:37', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418778 -3.085035)'), GeomFromEWKT('SRID=4674;POINT (-39.418774 -3.08503)'))) / (select extract(epoch from '2026-07-17 19:30:37'::timestamp) - extract(epoch from '2026-07-17 19:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418778 -3.085035)'), GeomFromEWKT('SRID=4674;POINT (-39.418774 -3.08503)'))) / (select extract(epoch from '2026-07-17 19:30:37'::timestamp) - extract(epoch from '2026-07-17 19:30: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'), 47991, 'SRID=4674;POINT (-39.418767 -3.085023)', '2026-07-17 19:30:45', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418774 -3.08503)'), GeomFromEWKT('SRID=4674;POINT (-39.418767 -3.085023)'))) / (select extract(epoch from '2026-07-17 19:30:45'::timestamp) - extract(epoch from '2026-07-17 19:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418774 -3.08503)'), GeomFromEWKT('SRID=4674;POINT (-39.418767 -3.085023)'))) / (select extract(epoch from '2026-07-17 19:30:45'::timestamp) - extract(epoch from '2026-07-17 19:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418746 -3.085026)', '2026-07-17 19:30:58', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418767 -3.085023)'), GeomFromEWKT('SRID=4674;POINT (-39.418746 -3.085026)'))) / (select extract(epoch from '2026-07-17 19:30:58'::timestamp) - extract(epoch from '2026-07-17 19:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418767 -3.085023)'), GeomFromEWKT('SRID=4674;POINT (-39.418746 -3.085026)'))) / (select extract(epoch from '2026-07-17 19:30:58'::timestamp) - extract(epoch from '2026-07-17 19:30: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'), 47991, 'SRID=4674;POINT (-39.418723 -3.085025)', '2026-07-17 19:31:09', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418746 -3.085026)'), GeomFromEWKT('SRID=4674;POINT (-39.418723 -3.085025)'))) / (select extract(epoch from '2026-07-17 19:31:09'::timestamp) - extract(epoch from '2026-07-17 19:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418746 -3.085026)'), GeomFromEWKT('SRID=4674;POINT (-39.418723 -3.085025)'))) / (select extract(epoch from '2026-07-17 19:31:09'::timestamp) - extract(epoch from '2026-07-17 19:30: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'), 47991, 'SRID=4674;POINT (-39.418702 -3.085026)', '2026-07-17 19:31:18', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418723 -3.085025)'), GeomFromEWKT('SRID=4674;POINT (-39.418702 -3.085026)'))) / (select extract(epoch from '2026-07-17 19:31:18'::timestamp) - extract(epoch from '2026-07-17 19:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418723 -3.085025)'), GeomFromEWKT('SRID=4674;POINT (-39.418702 -3.085026)'))) / (select extract(epoch from '2026-07-17 19:31:18'::timestamp) - extract(epoch from '2026-07-17 19:31: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'), 47991, 'SRID=4674;POINT (-39.418689 -3.085022)', '2026-07-17 19:31:28', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418702 -3.085026)'), GeomFromEWKT('SRID=4674;POINT (-39.418689 -3.085022)'))) / (select extract(epoch from '2026-07-17 19:31:28'::timestamp) - extract(epoch from '2026-07-17 19:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418702 -3.085026)'), GeomFromEWKT('SRID=4674;POINT (-39.418689 -3.085022)'))) / (select extract(epoch from '2026-07-17 19:31:28'::timestamp) - extract(epoch from '2026-07-17 19:31: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'), 47991, 'SRID=4674;POINT (-39.418683 -3.085008)', '2026-07-17 19:31:37', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418689 -3.085022)'), GeomFromEWKT('SRID=4674;POINT (-39.418683 -3.085008)'))) / (select extract(epoch from '2026-07-17 19:31:37'::timestamp) - extract(epoch from '2026-07-17 19:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418689 -3.085022)'), GeomFromEWKT('SRID=4674;POINT (-39.418683 -3.085008)'))) / (select extract(epoch from '2026-07-17 19:31:37'::timestamp) - extract(epoch from '2026-07-17 19:31: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'), 47991, 'SRID=4674;POINT (-39.418681 -3.085006)', '2026-07-17 19:31:45', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418683 -3.085008)'), GeomFromEWKT('SRID=4674;POINT (-39.418681 -3.085006)'))) / (select extract(epoch from '2026-07-17 19:31:45'::timestamp) - extract(epoch from '2026-07-17 19:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418683 -3.085008)'), GeomFromEWKT('SRID=4674;POINT (-39.418681 -3.085006)'))) / (select extract(epoch from '2026-07-17 19:31:45'::timestamp) - extract(epoch from '2026-07-17 19:31: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'), 47991, 'SRID=4674;POINT (-39.418679 -3.085018)', '2026-07-17 19:31:56', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418681 -3.085006)'), GeomFromEWKT('SRID=4674;POINT (-39.418679 -3.085018)'))) / (select extract(epoch from '2026-07-17 19:31:56'::timestamp) - extract(epoch from '2026-07-17 19:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418681 -3.085006)'), GeomFromEWKT('SRID=4674;POINT (-39.418679 -3.085018)'))) / (select extract(epoch from '2026-07-17 19:31:56'::timestamp) - extract(epoch from '2026-07-17 19:31: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'), 47991, 'SRID=4674;POINT (-39.418684 -3.085013)', '2026-07-17 19:32:03', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418679 -3.085018)'), GeomFromEWKT('SRID=4674;POINT (-39.418684 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:32:03'::timestamp) - extract(epoch from '2026-07-17 19:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418679 -3.085018)'), GeomFromEWKT('SRID=4674;POINT (-39.418684 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:32:03'::timestamp) - extract(epoch from '2026-07-17 19:31: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'), 47991, 'SRID=4674;POINT (-39.418683 -3.085009)', '2026-07-17 19:32:11', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418684 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.418683 -3.085009)'))) / (select extract(epoch from '2026-07-17 19:32:11'::timestamp) - extract(epoch from '2026-07-17 19:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418684 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.418683 -3.085009)'))) / (select extract(epoch from '2026-07-17 19:32:11'::timestamp) - extract(epoch from '2026-07-17 19:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418674 -3.085008)', '2026-07-17 19:32:21', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418683 -3.085009)'), GeomFromEWKT('SRID=4674;POINT (-39.418674 -3.085008)'))) / (select extract(epoch from '2026-07-17 19:32:21'::timestamp) - extract(epoch from '2026-07-17 19:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418683 -3.085009)'), GeomFromEWKT('SRID=4674;POINT (-39.418674 -3.085008)'))) / (select extract(epoch from '2026-07-17 19:32:21'::timestamp) - extract(epoch from '2026-07-17 19:32: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'), 47991, 'SRID=4674;POINT (-39.418656 -3.085001)', '2026-07-17 19:32:28', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418674 -3.085008)'), GeomFromEWKT('SRID=4674;POINT (-39.418656 -3.085001)'))) / (select extract(epoch from '2026-07-17 19:32:28'::timestamp) - extract(epoch from '2026-07-17 19:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418674 -3.085008)'), GeomFromEWKT('SRID=4674;POINT (-39.418656 -3.085001)'))) / (select extract(epoch from '2026-07-17 19:32:28'::timestamp) - extract(epoch from '2026-07-17 19:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418649 -3.084994)', '2026-07-17 19:32:37', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418656 -3.085001)'), GeomFromEWKT('SRID=4674;POINT (-39.418649 -3.084994)'))) / (select extract(epoch from '2026-07-17 19:32:37'::timestamp) - extract(epoch from '2026-07-17 19:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418656 -3.085001)'), GeomFromEWKT('SRID=4674;POINT (-39.418649 -3.084994)'))) / (select extract(epoch from '2026-07-17 19:32:37'::timestamp) - extract(epoch from '2026-07-17 19:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418636 -3.085005)', '2026-07-17 19:32:49', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418649 -3.084994)'), GeomFromEWKT('SRID=4674;POINT (-39.418636 -3.085005)'))) / (select extract(epoch from '2026-07-17 19:32:49'::timestamp) - extract(epoch from '2026-07-17 19:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418649 -3.084994)'), GeomFromEWKT('SRID=4674;POINT (-39.418636 -3.085005)'))) / (select extract(epoch from '2026-07-17 19:32:49'::timestamp) - extract(epoch from '2026-07-17 19:32: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'), 47991, 'SRID=4674;POINT (-39.418614 -3.084989)', '2026-07-17 19:32:56', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418636 -3.085005)'), GeomFromEWKT('SRID=4674;POINT (-39.418614 -3.084989)'))) / (select extract(epoch from '2026-07-17 19:32:56'::timestamp) - extract(epoch from '2026-07-17 19:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418636 -3.085005)'), GeomFromEWKT('SRID=4674;POINT (-39.418614 -3.084989)'))) / (select extract(epoch from '2026-07-17 19:32:56'::timestamp) - extract(epoch from '2026-07-17 19:32: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'), 47991, 'SRID=4674;POINT (-39.418604 -3.084989)', '2026-07-17 19:33:03', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418614 -3.084989)'), GeomFromEWKT('SRID=4674;POINT (-39.418604 -3.084989)'))) / (select extract(epoch from '2026-07-17 19:33:03'::timestamp) - extract(epoch from '2026-07-17 19:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418614 -3.084989)'), GeomFromEWKT('SRID=4674;POINT (-39.418604 -3.084989)'))) / (select extract(epoch from '2026-07-17 19:33:03'::timestamp) - extract(epoch from '2026-07-17 19:32: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'), 47991, 'SRID=4674;POINT (-39.41859 -3.084982)', '2026-07-17 19:33:12', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418604 -3.084989)'), GeomFromEWKT('SRID=4674;POINT (-39.41859 -3.084982)'))) / (select extract(epoch from '2026-07-17 19:33:12'::timestamp) - extract(epoch from '2026-07-17 19:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418604 -3.084989)'), GeomFromEWKT('SRID=4674;POINT (-39.41859 -3.084982)'))) / (select extract(epoch from '2026-07-17 19:33:12'::timestamp) - extract(epoch from '2026-07-17 19:33: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'), 47991, 'SRID=4674;POINT (-39.418567 -3.084985)', '2026-07-17 19:33:22', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41859 -3.084982)'), GeomFromEWKT('SRID=4674;POINT (-39.418567 -3.084985)'))) / (select extract(epoch from '2026-07-17 19:33:22'::timestamp) - extract(epoch from '2026-07-17 19:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41859 -3.084982)'), GeomFromEWKT('SRID=4674;POINT (-39.418567 -3.084985)'))) / (select extract(epoch from '2026-07-17 19:33:22'::timestamp) - extract(epoch from '2026-07-17 19:33: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'), 47991, 'SRID=4674;POINT (-39.418536 -3.084979)', '2026-07-17 19:33:31', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418567 -3.084985)'), GeomFromEWKT('SRID=4674;POINT (-39.418536 -3.084979)'))) / (select extract(epoch from '2026-07-17 19:33:31'::timestamp) - extract(epoch from '2026-07-17 19:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418567 -3.084985)'), GeomFromEWKT('SRID=4674;POINT (-39.418536 -3.084979)'))) / (select extract(epoch from '2026-07-17 19:33:31'::timestamp) - extract(epoch from '2026-07-17 19:33:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418518 -3.084976)', '2026-07-17 19:33:40', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418536 -3.084979)'), GeomFromEWKT('SRID=4674;POINT (-39.418518 -3.084976)'))) / (select extract(epoch from '2026-07-17 19:33:40'::timestamp) - extract(epoch from '2026-07-17 19:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418536 -3.084979)'), GeomFromEWKT('SRID=4674;POINT (-39.418518 -3.084976)'))) / (select extract(epoch from '2026-07-17 19:33:40'::timestamp) - extract(epoch from '2026-07-17 19:33: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'), 47991, 'SRID=4674;POINT (-39.418498 -3.084987)', '2026-07-17 19:33:51', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418518 -3.084976)'), GeomFromEWKT('SRID=4674;POINT (-39.418498 -3.084987)'))) / (select extract(epoch from '2026-07-17 19:33:51'::timestamp) - extract(epoch from '2026-07-17 19:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418518 -3.084976)'), GeomFromEWKT('SRID=4674;POINT (-39.418498 -3.084987)'))) / (select extract(epoch from '2026-07-17 19:33:51'::timestamp) - extract(epoch from '2026-07-17 19:33:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418487 -3.084988)', '2026-07-17 19:33:59', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418498 -3.084987)'), GeomFromEWKT('SRID=4674;POINT (-39.418487 -3.084988)'))) / (select extract(epoch from '2026-07-17 19:33:59'::timestamp) - extract(epoch from '2026-07-17 19:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418498 -3.084987)'), GeomFromEWKT('SRID=4674;POINT (-39.418487 -3.084988)'))) / (select extract(epoch from '2026-07-17 19:33:59'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.418463 -3.08498)', '2026-07-17 19:34:08', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418487 -3.084988)'), GeomFromEWKT('SRID=4674;POINT (-39.418463 -3.08498)'))) / (select extract(epoch from '2026-07-17 19:34:08'::timestamp) - extract(epoch from '2026-07-17 19:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418487 -3.084988)'), GeomFromEWKT('SRID=4674;POINT (-39.418463 -3.08498)'))) / (select extract(epoch from '2026-07-17 19:34:08'::timestamp) - extract(epoch from '2026-07-17 19:33: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'), 47991, 'SRID=4674;POINT (-39.418451 -3.084982)', '2026-07-17 19:34:13', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418463 -3.08498)'), GeomFromEWKT('SRID=4674;POINT (-39.418451 -3.084982)'))) / (select extract(epoch from '2026-07-17 19:34:13'::timestamp) - extract(epoch from '2026-07-17 19:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418463 -3.08498)'), GeomFromEWKT('SRID=4674;POINT (-39.418451 -3.084982)'))) / (select extract(epoch from '2026-07-17 19:34:13'::timestamp) - extract(epoch from '2026-07-17 19:34: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'), 47991, 'SRID=4674;POINT (-39.418421 -3.084983)', '2026-07-17 19:34:21', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418451 -3.084982)'), GeomFromEWKT('SRID=4674;POINT (-39.418421 -3.084983)'))) / (select extract(epoch from '2026-07-17 19:34:21'::timestamp) - extract(epoch from '2026-07-17 19:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418451 -3.084982)'), GeomFromEWKT('SRID=4674;POINT (-39.418421 -3.084983)'))) / (select extract(epoch from '2026-07-17 19:34:21'::timestamp) - extract(epoch from '2026-07-17 19:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418399 -3.084979)', '2026-07-17 19:34:30', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418421 -3.084983)'), GeomFromEWKT('SRID=4674;POINT (-39.418399 -3.084979)'))) / (select extract(epoch from '2026-07-17 19:34:30'::timestamp) - extract(epoch from '2026-07-17 19:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418421 -3.084983)'), GeomFromEWKT('SRID=4674;POINT (-39.418399 -3.084979)'))) / (select extract(epoch from '2026-07-17 19:34:30'::timestamp) - extract(epoch from '2026-07-17 19:34: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'), 47991, 'SRID=4674;POINT (-39.41839 -3.08497)', '2026-07-17 19:34:38', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418399 -3.084979)'), GeomFromEWKT('SRID=4674;POINT (-39.41839 -3.08497)'))) / (select extract(epoch from '2026-07-17 19:34:38'::timestamp) - extract(epoch from '2026-07-17 19:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418399 -3.084979)'), GeomFromEWKT('SRID=4674;POINT (-39.41839 -3.08497)'))) / (select extract(epoch from '2026-07-17 19:34:38'::timestamp) - extract(epoch from '2026-07-17 19:34: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'), 47991, 'SRID=4674;POINT (-39.418374 -3.084964)', '2026-07-17 19:34:48', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41839 -3.08497)'), GeomFromEWKT('SRID=4674;POINT (-39.418374 -3.084964)'))) / (select extract(epoch from '2026-07-17 19:34:48'::timestamp) - extract(epoch from '2026-07-17 19:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41839 -3.08497)'), GeomFromEWKT('SRID=4674;POINT (-39.418374 -3.084964)'))) / (select extract(epoch from '2026-07-17 19:34:48'::timestamp) - extract(epoch from '2026-07-17 19:34:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418346 -3.084966)', '2026-07-17 19:34:59', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418374 -3.084964)'), GeomFromEWKT('SRID=4674;POINT (-39.418346 -3.084966)'))) / (select extract(epoch from '2026-07-17 19:34:59'::timestamp) - extract(epoch from '2026-07-17 19:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418374 -3.084964)'), GeomFromEWKT('SRID=4674;POINT (-39.418346 -3.084966)'))) / (select extract(epoch from '2026-07-17 19:34:59'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.418329 -3.084966)', '2026-07-17 19:35:07', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418346 -3.084966)'), GeomFromEWKT('SRID=4674;POINT (-39.418329 -3.084966)'))) / (select extract(epoch from '2026-07-17 19:35:07'::timestamp) - extract(epoch from '2026-07-17 19:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418346 -3.084966)'), GeomFromEWKT('SRID=4674;POINT (-39.418329 -3.084966)'))) / (select extract(epoch from '2026-07-17 19:35:07'::timestamp) - extract(epoch from '2026-07-17 19:34: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'), 47991, 'SRID=4674;POINT (-39.418299 -3.084963)', '2026-07-17 19:35:17', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418329 -3.084966)'), GeomFromEWKT('SRID=4674;POINT (-39.418299 -3.084963)'))) / (select extract(epoch from '2026-07-17 19:35:17'::timestamp) - extract(epoch from '2026-07-17 19:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418329 -3.084966)'), GeomFromEWKT('SRID=4674;POINT (-39.418299 -3.084963)'))) / (select extract(epoch from '2026-07-17 19:35:17'::timestamp) - extract(epoch from '2026-07-17 19:35: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'), 47991, 'SRID=4674;POINT (-39.418277 -3.084959)', '2026-07-17 19:35:25', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418299 -3.084963)'), GeomFromEWKT('SRID=4674;POINT (-39.418277 -3.084959)'))) / (select extract(epoch from '2026-07-17 19:35:25'::timestamp) - extract(epoch from '2026-07-17 19:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418299 -3.084963)'), GeomFromEWKT('SRID=4674;POINT (-39.418277 -3.084959)'))) / (select extract(epoch from '2026-07-17 19:35:25'::timestamp) - extract(epoch from '2026-07-17 19:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418257 -3.084961)', '2026-07-17 19:35:35', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418277 -3.084959)'), GeomFromEWKT('SRID=4674;POINT (-39.418257 -3.084961)'))) / (select extract(epoch from '2026-07-17 19:35:35'::timestamp) - extract(epoch from '2026-07-17 19:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418277 -3.084959)'), GeomFromEWKT('SRID=4674;POINT (-39.418257 -3.084961)'))) / (select extract(epoch from '2026-07-17 19:35:35'::timestamp) - extract(epoch from '2026-07-17 19:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418227 -3.084944)', '2026-07-17 19:35:46', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418257 -3.084961)'), GeomFromEWKT('SRID=4674;POINT (-39.418227 -3.084944)'))) / (select extract(epoch from '2026-07-17 19:35:46'::timestamp) - extract(epoch from '2026-07-17 19:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418257 -3.084961)'), GeomFromEWKT('SRID=4674;POINT (-39.418227 -3.084944)'))) / (select extract(epoch from '2026-07-17 19:35:46'::timestamp) - extract(epoch from '2026-07-17 19:35: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'), 47991, 'SRID=4674;POINT (-39.418202 -3.084951)', '2026-07-17 19:35:56', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418227 -3.084944)'), GeomFromEWKT('SRID=4674;POINT (-39.418202 -3.084951)'))) / (select extract(epoch from '2026-07-17 19:35:56'::timestamp) - extract(epoch from '2026-07-17 19:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418227 -3.084944)'), GeomFromEWKT('SRID=4674;POINT (-39.418202 -3.084951)'))) / (select extract(epoch from '2026-07-17 19:35:56'::timestamp) - extract(epoch from '2026-07-17 19:35: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'), 47991, 'SRID=4674;POINT (-39.418198 -3.084953)', '2026-07-17 19:36:01', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418202 -3.084951)'), GeomFromEWKT('SRID=4674;POINT (-39.418198 -3.084953)'))) / (select extract(epoch from '2026-07-17 19:36:01'::timestamp) - extract(epoch from '2026-07-17 19:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418202 -3.084951)'), GeomFromEWKT('SRID=4674;POINT (-39.418198 -3.084953)'))) / (select extract(epoch from '2026-07-17 19:36:01'::timestamp) - extract(epoch from '2026-07-17 19:35: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'), 47991, 'SRID=4674;POINT (-39.418196 -3.084958)', '2026-07-17 19:36:07', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418198 -3.084953)'), GeomFromEWKT('SRID=4674;POINT (-39.418196 -3.084958)'))) / (select extract(epoch from '2026-07-17 19:36:07'::timestamp) - extract(epoch from '2026-07-17 19:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418198 -3.084953)'), GeomFromEWKT('SRID=4674;POINT (-39.418196 -3.084958)'))) / (select extract(epoch from '2026-07-17 19:36:07'::timestamp) - extract(epoch from '2026-07-17 19:36: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'), 47991, 'SRID=4674;POINT (-39.418169 -3.084955)', '2026-07-17 19:36:14', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418196 -3.084958)'), GeomFromEWKT('SRID=4674;POINT (-39.418169 -3.084955)'))) / (select extract(epoch from '2026-07-17 19:36:14'::timestamp) - extract(epoch from '2026-07-17 19:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418196 -3.084958)'), GeomFromEWKT('SRID=4674;POINT (-39.418169 -3.084955)'))) / (select extract(epoch from '2026-07-17 19:36:14'::timestamp) - extract(epoch from '2026-07-17 19:36: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'), 47991, 'SRID=4674;POINT (-39.418144 -3.084949)', '2026-07-17 19:36:23', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418169 -3.084955)'), GeomFromEWKT('SRID=4674;POINT (-39.418144 -3.084949)'))) / (select extract(epoch from '2026-07-17 19:36:23'::timestamp) - extract(epoch from '2026-07-17 19:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418169 -3.084955)'), GeomFromEWKT('SRID=4674;POINT (-39.418144 -3.084949)'))) / (select extract(epoch from '2026-07-17 19:36:23'::timestamp) - extract(epoch from '2026-07-17 19:36:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418131 -3.084949)', '2026-07-17 19:36:31', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418144 -3.084949)'), GeomFromEWKT('SRID=4674;POINT (-39.418131 -3.084949)'))) / (select extract(epoch from '2026-07-17 19:36:31'::timestamp) - extract(epoch from '2026-07-17 19:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418144 -3.084949)'), GeomFromEWKT('SRID=4674;POINT (-39.418131 -3.084949)'))) / (select extract(epoch from '2026-07-17 19:36:31'::timestamp) - extract(epoch from '2026-07-17 19:36: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'), 47991, 'SRID=4674;POINT (-39.418112 -3.084953)', '2026-07-17 19:36:41', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418131 -3.084949)'), GeomFromEWKT('SRID=4674;POINT (-39.418112 -3.084953)'))) / (select extract(epoch from '2026-07-17 19:36:41'::timestamp) - extract(epoch from '2026-07-17 19:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418131 -3.084949)'), GeomFromEWKT('SRID=4674;POINT (-39.418112 -3.084953)'))) / (select extract(epoch from '2026-07-17 19:36:41'::timestamp) - extract(epoch from '2026-07-17 19:36: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'), 47991, 'SRID=4674;POINT (-39.418105 -3.084947)', '2026-07-17 19:36:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418112 -3.084953)'), GeomFromEWKT('SRID=4674;POINT (-39.418105 -3.084947)'))) / (select extract(epoch from '2026-07-17 19:36:50'::timestamp) - extract(epoch from '2026-07-17 19:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418112 -3.084953)'), GeomFromEWKT('SRID=4674;POINT (-39.418105 -3.084947)'))) / (select extract(epoch from '2026-07-17 19:36:50'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.418085 -3.084943)', '2026-07-17 19:37:03', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418105 -3.084947)'), GeomFromEWKT('SRID=4674;POINT (-39.418085 -3.084943)'))) / (select extract(epoch from '2026-07-17 19:37:03'::timestamp) - extract(epoch from '2026-07-17 19:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418105 -3.084947)'), GeomFromEWKT('SRID=4674;POINT (-39.418085 -3.084943)'))) / (select extract(epoch from '2026-07-17 19:37:03'::timestamp) - extract(epoch from '2026-07-17 19:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418062 -3.084947)', '2026-07-17 19:37:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418085 -3.084943)'), GeomFromEWKT('SRID=4674;POINT (-39.418062 -3.084947)'))) / (select extract(epoch from '2026-07-17 19:37:15'::timestamp) - extract(epoch from '2026-07-17 19:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418085 -3.084943)'), GeomFromEWKT('SRID=4674;POINT (-39.418062 -3.084947)'))) / (select extract(epoch from '2026-07-17 19:37:15'::timestamp) - extract(epoch from '2026-07-17 19:37: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'), 47991, 'SRID=4674;POINT (-39.418043 -3.084947)', '2026-07-17 19:37:24', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418062 -3.084947)'), GeomFromEWKT('SRID=4674;POINT (-39.418043 -3.084947)'))) / (select extract(epoch from '2026-07-17 19:37:24'::timestamp) - extract(epoch from '2026-07-17 19:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418062 -3.084947)'), GeomFromEWKT('SRID=4674;POINT (-39.418043 -3.084947)'))) / (select extract(epoch from '2026-07-17 19:37:24'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.418012 -3.084957)', '2026-07-17 19:37:33', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418043 -3.084947)'), GeomFromEWKT('SRID=4674;POINT (-39.418012 -3.084957)'))) / (select extract(epoch from '2026-07-17 19:37:33'::timestamp) - extract(epoch from '2026-07-17 19:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418043 -3.084947)'), GeomFromEWKT('SRID=4674;POINT (-39.418012 -3.084957)'))) / (select extract(epoch from '2026-07-17 19:37:33'::timestamp) - extract(epoch from '2026-07-17 19:37: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'), 47991, 'SRID=4674;POINT (-39.41799 -3.084961)', '2026-07-17 19:37:41', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418012 -3.084957)'), GeomFromEWKT('SRID=4674;POINT (-39.41799 -3.084961)'))) / (select extract(epoch from '2026-07-17 19:37:41'::timestamp) - extract(epoch from '2026-07-17 19:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418012 -3.084957)'), GeomFromEWKT('SRID=4674;POINT (-39.41799 -3.084961)'))) / (select extract(epoch from '2026-07-17 19:37:41'::timestamp) - extract(epoch from '2026-07-17 19:37: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'), 47991, 'SRID=4674;POINT (-39.417967 -3.084948)', '2026-07-17 19:37:49', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41799 -3.084961)'), GeomFromEWKT('SRID=4674;POINT (-39.417967 -3.084948)'))) / (select extract(epoch from '2026-07-17 19:37:49'::timestamp) - extract(epoch from '2026-07-17 19:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41799 -3.084961)'), GeomFromEWKT('SRID=4674;POINT (-39.417967 -3.084948)'))) / (select extract(epoch from '2026-07-17 19:37:49'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.417956 -3.08495)', '2026-07-17 19:37:57', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417967 -3.084948)'), GeomFromEWKT('SRID=4674;POINT (-39.417956 -3.08495)'))) / (select extract(epoch from '2026-07-17 19:37:57'::timestamp) - extract(epoch from '2026-07-17 19:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417967 -3.084948)'), GeomFromEWKT('SRID=4674;POINT (-39.417956 -3.08495)'))) / (select extract(epoch from '2026-07-17 19:37:57'::timestamp) - extract(epoch from '2026-07-17 19:37: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'), 47991, 'SRID=4674;POINT (-39.417923 -3.084942)', '2026-07-17 19:38:12', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417956 -3.08495)'), GeomFromEWKT('SRID=4674;POINT (-39.417923 -3.084942)'))) / (select extract(epoch from '2026-07-17 19:38:12'::timestamp) - extract(epoch from '2026-07-17 19:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417956 -3.08495)'), GeomFromEWKT('SRID=4674;POINT (-39.417923 -3.084942)'))) / (select extract(epoch from '2026-07-17 19:38:12'::timestamp) - extract(epoch from '2026-07-17 19:37: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'), 47991, 'SRID=4674;POINT (-39.417901 -3.084943)', '2026-07-17 19:38:19', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417923 -3.084942)'), GeomFromEWKT('SRID=4674;POINT (-39.417901 -3.084943)'))) / (select extract(epoch from '2026-07-17 19:38:19'::timestamp) - extract(epoch from '2026-07-17 19:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417923 -3.084942)'), GeomFromEWKT('SRID=4674;POINT (-39.417901 -3.084943)'))) / (select extract(epoch from '2026-07-17 19:38:19'::timestamp) - extract(epoch from '2026-07-17 19:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417867 -3.084956)', '2026-07-17 19:38:30', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417901 -3.084943)'), GeomFromEWKT('SRID=4674;POINT (-39.417867 -3.084956)'))) / (select extract(epoch from '2026-07-17 19:38:30'::timestamp) - extract(epoch from '2026-07-17 19:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417901 -3.084943)'), GeomFromEWKT('SRID=4674;POINT (-39.417867 -3.084956)'))) / (select extract(epoch from '2026-07-17 19:38:30'::timestamp) - extract(epoch from '2026-07-17 19:38: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'), 47991, 'SRID=4674;POINT (-39.417858 -3.084956)', '2026-07-17 19:38:36', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417867 -3.084956)'), GeomFromEWKT('SRID=4674;POINT (-39.417858 -3.084956)'))) / (select extract(epoch from '2026-07-17 19:38:36'::timestamp) - extract(epoch from '2026-07-17 19:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417867 -3.084956)'), GeomFromEWKT('SRID=4674;POINT (-39.417858 -3.084956)'))) / (select extract(epoch from '2026-07-17 19:38:36'::timestamp) - extract(epoch from '2026-07-17 19:38: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'), 47991, 'SRID=4674;POINT (-39.417838 -3.084953)', '2026-07-17 19:38:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417858 -3.084956)'), GeomFromEWKT('SRID=4674;POINT (-39.417838 -3.084953)'))) / (select extract(epoch from '2026-07-17 19:38:45'::timestamp) - extract(epoch from '2026-07-17 19:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417858 -3.084956)'), GeomFromEWKT('SRID=4674;POINT (-39.417838 -3.084953)'))) / (select extract(epoch from '2026-07-17 19:38:45'::timestamp) - extract(epoch from '2026-07-17 19:38: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'), 47991, 'SRID=4674;POINT (-39.417808 -3.084949)', '2026-07-17 19:38:54', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417838 -3.084953)'), GeomFromEWKT('SRID=4674;POINT (-39.417808 -3.084949)'))) / (select extract(epoch from '2026-07-17 19:38:54'::timestamp) - extract(epoch from '2026-07-17 19:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417838 -3.084953)'), GeomFromEWKT('SRID=4674;POINT (-39.417808 -3.084949)'))) / (select extract(epoch from '2026-07-17 19:38:54'::timestamp) - extract(epoch from '2026-07-17 19:38: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'), 47991, 'SRID=4674;POINT (-39.417784 -3.084945)', '2026-07-17 19:39:04', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417808 -3.084949)'), GeomFromEWKT('SRID=4674;POINT (-39.417784 -3.084945)'))) / (select extract(epoch from '2026-07-17 19:39:04'::timestamp) - extract(epoch from '2026-07-17 19:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417808 -3.084949)'), GeomFromEWKT('SRID=4674;POINT (-39.417784 -3.084945)'))) / (select extract(epoch from '2026-07-17 19:39:04'::timestamp) - extract(epoch from '2026-07-17 19:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417771 -3.08496)', '2026-07-17 19:39:10', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417784 -3.084945)'), GeomFromEWKT('SRID=4674;POINT (-39.417771 -3.08496)'))) / (select extract(epoch from '2026-07-17 19:39:10'::timestamp) - extract(epoch from '2026-07-17 19:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417784 -3.084945)'), GeomFromEWKT('SRID=4674;POINT (-39.417771 -3.08496)'))) / (select extract(epoch from '2026-07-17 19:39:10'::timestamp) - extract(epoch from '2026-07-17 19:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417755 -3.08496)', '2026-07-17 19:39:17', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417771 -3.08496)'), GeomFromEWKT('SRID=4674;POINT (-39.417755 -3.08496)'))) / (select extract(epoch from '2026-07-17 19:39:17'::timestamp) - extract(epoch from '2026-07-17 19:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417771 -3.08496)'), GeomFromEWKT('SRID=4674;POINT (-39.417755 -3.08496)'))) / (select extract(epoch from '2026-07-17 19:39:17'::timestamp) - extract(epoch from '2026-07-17 19:39: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'), 47991, 'SRID=4674;POINT (-39.417734 -3.084962)', '2026-07-17 19:39:25', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417755 -3.08496)'), GeomFromEWKT('SRID=4674;POINT (-39.417734 -3.084962)'))) / (select extract(epoch from '2026-07-17 19:39:25'::timestamp) - extract(epoch from '2026-07-17 19:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417755 -3.08496)'), GeomFromEWKT('SRID=4674;POINT (-39.417734 -3.084962)'))) / (select extract(epoch from '2026-07-17 19:39:25'::timestamp) - extract(epoch from '2026-07-17 19:39: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'), 47991, 'SRID=4674;POINT (-39.417719 -3.084954)', '2026-07-17 19:39:37', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417734 -3.084962)'), GeomFromEWKT('SRID=4674;POINT (-39.417719 -3.084954)'))) / (select extract(epoch from '2026-07-17 19:39:37'::timestamp) - extract(epoch from '2026-07-17 19:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417734 -3.084962)'), GeomFromEWKT('SRID=4674;POINT (-39.417719 -3.084954)'))) / (select extract(epoch from '2026-07-17 19:39:37'::timestamp) - extract(epoch from '2026-07-17 19:39: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'), 47991, 'SRID=4674;POINT (-39.41771 -3.08497)', '2026-07-17 19:39:47', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417719 -3.084954)'), GeomFromEWKT('SRID=4674;POINT (-39.41771 -3.08497)'))) / (select extract(epoch from '2026-07-17 19:39:47'::timestamp) - extract(epoch from '2026-07-17 19:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417719 -3.084954)'), GeomFromEWKT('SRID=4674;POINT (-39.41771 -3.08497)'))) / (select extract(epoch from '2026-07-17 19:39:47'::timestamp) - extract(epoch from '2026-07-17 19:39: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'), 47991, 'SRID=4674;POINT (-39.417698 -3.084974)', '2026-07-17 19:39:56', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41771 -3.08497)'), GeomFromEWKT('SRID=4674;POINT (-39.417698 -3.084974)'))) / (select extract(epoch from '2026-07-17 19:39:56'::timestamp) - extract(epoch from '2026-07-17 19:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41771 -3.08497)'), GeomFromEWKT('SRID=4674;POINT (-39.417698 -3.084974)'))) / (select extract(epoch from '2026-07-17 19:39:56'::timestamp) - extract(epoch from '2026-07-17 19:39: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'), 47991, 'SRID=4674;POINT (-39.417693 -3.084965)', '2026-07-17 19:40:03', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417698 -3.084974)'), GeomFromEWKT('SRID=4674;POINT (-39.417693 -3.084965)'))) / (select extract(epoch from '2026-07-17 19:40:03'::timestamp) - extract(epoch from '2026-07-17 19:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417698 -3.084974)'), GeomFromEWKT('SRID=4674;POINT (-39.417693 -3.084965)'))) / (select extract(epoch from '2026-07-17 19:40:03'::timestamp) - extract(epoch from '2026-07-17 19:39: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'), 47991, 'SRID=4674;POINT (-39.417684 -3.084967)', '2026-07-17 19:40:09', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417693 -3.084965)'), GeomFromEWKT('SRID=4674;POINT (-39.417684 -3.084967)'))) / (select extract(epoch from '2026-07-17 19:40:09'::timestamp) - extract(epoch from '2026-07-17 19:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417693 -3.084965)'), GeomFromEWKT('SRID=4674;POINT (-39.417684 -3.084967)'))) / (select extract(epoch from '2026-07-17 19:40:09'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47991, 'SRID=4674;POINT (-39.417655 -3.08498)', '2026-07-17 19:40:17', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417684 -3.084967)'), GeomFromEWKT('SRID=4674;POINT (-39.417655 -3.08498)'))) / (select extract(epoch from '2026-07-17 19:40:17'::timestamp) - extract(epoch from '2026-07-17 19:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417684 -3.084967)'), GeomFromEWKT('SRID=4674;POINT (-39.417655 -3.08498)'))) / (select extract(epoch from '2026-07-17 19:40:17'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.41764 -3.084981)', '2026-07-17 19:40:25', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417655 -3.08498)'), GeomFromEWKT('SRID=4674;POINT (-39.41764 -3.084981)'))) / (select extract(epoch from '2026-07-17 19:40:25'::timestamp) - extract(epoch from '2026-07-17 19:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417655 -3.08498)'), GeomFromEWKT('SRID=4674;POINT (-39.41764 -3.084981)'))) / (select extract(epoch from '2026-07-17 19:40:25'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47991, 'SRID=4674;POINT (-39.417611 -3.084988)', '2026-07-17 19:40:32', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41764 -3.084981)'), GeomFromEWKT('SRID=4674;POINT (-39.417611 -3.084988)'))) / (select extract(epoch from '2026-07-17 19:40:32'::timestamp) - extract(epoch from '2026-07-17 19:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41764 -3.084981)'), GeomFromEWKT('SRID=4674;POINT (-39.417611 -3.084988)'))) / (select extract(epoch from '2026-07-17 19:40:32'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47991, 'SRID=4674;POINT (-39.417591 -3.084987)', '2026-07-17 19:40:43', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417611 -3.084988)'), GeomFromEWKT('SRID=4674;POINT (-39.417591 -3.084987)'))) / (select extract(epoch from '2026-07-17 19:40:43'::timestamp) - extract(epoch from '2026-07-17 19:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417611 -3.084988)'), GeomFromEWKT('SRID=4674;POINT (-39.417591 -3.084987)'))) / (select extract(epoch from '2026-07-17 19:40:43'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47991, 'SRID=4674;POINT (-39.417578 -3.084978)', '2026-07-17 19:40:50', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417591 -3.084987)'), GeomFromEWKT('SRID=4674;POINT (-39.417578 -3.084978)'))) / (select extract(epoch from '2026-07-17 19:40:50'::timestamp) - extract(epoch from '2026-07-17 19:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417591 -3.084987)'), GeomFromEWKT('SRID=4674;POINT (-39.417578 -3.084978)'))) / (select extract(epoch from '2026-07-17 19:40:50'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47991, 'SRID=4674;POINT (-39.417559 -3.084979)', '2026-07-17 19:40:58', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417578 -3.084978)'), GeomFromEWKT('SRID=4674;POINT (-39.417559 -3.084979)'))) / (select extract(epoch from '2026-07-17 19:40:58'::timestamp) - extract(epoch from '2026-07-17 19:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417578 -3.084978)'), GeomFromEWKT('SRID=4674;POINT (-39.417559 -3.084979)'))) / (select extract(epoch from '2026-07-17 19:40:58'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47991, 'SRID=4674;POINT (-39.417542 -3.08499)', '2026-07-17 19:41:04', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417559 -3.084979)'), GeomFromEWKT('SRID=4674;POINT (-39.417542 -3.08499)'))) / (select extract(epoch from '2026-07-17 19:41:04'::timestamp) - extract(epoch from '2026-07-17 19:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417559 -3.084979)'), GeomFromEWKT('SRID=4674;POINT (-39.417542 -3.08499)'))) / (select extract(epoch from '2026-07-17 19:41:04'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47991, 'SRID=4674;POINT (-39.417521 -3.084993)', '2026-07-17 19:41:13', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417542 -3.08499)'), GeomFromEWKT('SRID=4674;POINT (-39.417521 -3.084993)'))) / (select extract(epoch from '2026-07-17 19:41:13'::timestamp) - extract(epoch from '2026-07-17 19:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417542 -3.08499)'), GeomFromEWKT('SRID=4674;POINT (-39.417521 -3.084993)'))) / (select extract(epoch from '2026-07-17 19:41:13'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47991, 'SRID=4674;POINT (-39.417514 -3.085001)', '2026-07-17 19:41:21', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417521 -3.084993)'), GeomFromEWKT('SRID=4674;POINT (-39.417514 -3.085001)'))) / (select extract(epoch from '2026-07-17 19:41:21'::timestamp) - extract(epoch from '2026-07-17 19:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417521 -3.084993)'), GeomFromEWKT('SRID=4674;POINT (-39.417514 -3.085001)'))) / (select extract(epoch from '2026-07-17 19:41:21'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47991, 'SRID=4674;POINT (-39.417502 -3.085008)', '2026-07-17 19:41:26', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417514 -3.085001)'), GeomFromEWKT('SRID=4674;POINT (-39.417502 -3.085008)'))) / (select extract(epoch from '2026-07-17 19:41:26'::timestamp) - extract(epoch from '2026-07-17 19:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417514 -3.085001)'), GeomFromEWKT('SRID=4674;POINT (-39.417502 -3.085008)'))) / (select extract(epoch from '2026-07-17 19:41:26'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47991, 'SRID=4674;POINT (-39.417481 -3.085001)', '2026-07-17 19:41:38', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417502 -3.085008)'), GeomFromEWKT('SRID=4674;POINT (-39.417481 -3.085001)'))) / (select extract(epoch from '2026-07-17 19:41:38'::timestamp) - extract(epoch from '2026-07-17 19:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417502 -3.085008)'), GeomFromEWKT('SRID=4674;POINT (-39.417481 -3.085001)'))) / (select extract(epoch from '2026-07-17 19:41:38'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47991, 'SRID=4674;POINT (-39.417478 -3.084994)', '2026-07-17 19:41:48', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417481 -3.085001)'), GeomFromEWKT('SRID=4674;POINT (-39.417478 -3.084994)'))) / (select extract(epoch from '2026-07-17 19:41:48'::timestamp) - extract(epoch from '2026-07-17 19:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417481 -3.085001)'), GeomFromEWKT('SRID=4674;POINT (-39.417478 -3.084994)'))) / (select extract(epoch from '2026-07-17 19:41:48'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47991, 'SRID=4674;POINT (-39.417471 -3.084997)', '2026-07-17 19:41:56', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417478 -3.084994)'), GeomFromEWKT('SRID=4674;POINT (-39.417471 -3.084997)'))) / (select extract(epoch from '2026-07-17 19:41:56'::timestamp) - extract(epoch from '2026-07-17 19:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417478 -3.084994)'), GeomFromEWKT('SRID=4674;POINT (-39.417471 -3.084997)'))) / (select extract(epoch from '2026-07-17 19:41:56'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47991, 'SRID=4674;POINT (-39.417452 -3.085002)', '2026-07-17 19:42:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417471 -3.084997)'), GeomFromEWKT('SRID=4674;POINT (-39.417452 -3.085002)'))) / (select extract(epoch from '2026-07-17 19:42:04'::timestamp) - extract(epoch from '2026-07-17 19:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417471 -3.084997)'), GeomFromEWKT('SRID=4674;POINT (-39.417452 -3.085002)'))) / (select extract(epoch from '2026-07-17 19:42:04'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47991, 'SRID=4674;POINT (-39.417432 -3.085002)', '2026-07-17 19:42:12', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417452 -3.085002)'), GeomFromEWKT('SRID=4674;POINT (-39.417432 -3.085002)'))) / (select extract(epoch from '2026-07-17 19:42:12'::timestamp) - extract(epoch from '2026-07-17 19:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417452 -3.085002)'), GeomFromEWKT('SRID=4674;POINT (-39.417432 -3.085002)'))) / (select extract(epoch from '2026-07-17 19:42:12'::timestamp) - extract(epoch from '2026-07-17 19:42: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'), 47991, 'SRID=4674;POINT (-39.417416 -3.085007)', '2026-07-17 19:42:21', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417432 -3.085002)'), GeomFromEWKT('SRID=4674;POINT (-39.417416 -3.085007)'))) / (select extract(epoch from '2026-07-17 19:42:21'::timestamp) - extract(epoch from '2026-07-17 19:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417432 -3.085002)'), GeomFromEWKT('SRID=4674;POINT (-39.417416 -3.085007)'))) / (select extract(epoch from '2026-07-17 19:42:21'::timestamp) - extract(epoch from '2026-07-17 19:42: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'), 47991, 'SRID=4674;POINT (-39.417404 -3.085013)', '2026-07-17 19:42:32', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417416 -3.085007)'), GeomFromEWKT('SRID=4674;POINT (-39.417404 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:42:32'::timestamp) - extract(epoch from '2026-07-17 19:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417416 -3.085007)'), GeomFromEWKT('SRID=4674;POINT (-39.417404 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:42:32'::timestamp) - extract(epoch from '2026-07-17 19:42: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'), 47991, 'SRID=4674;POINT (-39.417389 -3.085009)', '2026-07-17 19:42:40', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417404 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.417389 -3.085009)'))) / (select extract(epoch from '2026-07-17 19:42:40'::timestamp) - extract(epoch from '2026-07-17 19:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417404 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.417389 -3.085009)'))) / (select extract(epoch from '2026-07-17 19:42:40'::timestamp) - extract(epoch from '2026-07-17 19:42: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'), 47991, 'SRID=4674;POINT (-39.417363 -3.085017)', '2026-07-17 19:42:50', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417389 -3.085009)'), GeomFromEWKT('SRID=4674;POINT (-39.417363 -3.085017)'))) / (select extract(epoch from '2026-07-17 19:42:50'::timestamp) - extract(epoch from '2026-07-17 19:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417389 -3.085009)'), GeomFromEWKT('SRID=4674;POINT (-39.417363 -3.085017)'))) / (select extract(epoch from '2026-07-17 19:42:50'::timestamp) - extract(epoch from '2026-07-17 19:42:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417347 -3.085015)', '2026-07-17 19:43:01', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417363 -3.085017)'), GeomFromEWKT('SRID=4674;POINT (-39.417347 -3.085015)'))) / (select extract(epoch from '2026-07-17 19:43:01'::timestamp) - extract(epoch from '2026-07-17 19:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417363 -3.085017)'), GeomFromEWKT('SRID=4674;POINT (-39.417347 -3.085015)'))) / (select extract(epoch from '2026-07-17 19:43:01'::timestamp) - extract(epoch from '2026-07-17 19:42: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'), 47991, 'SRID=4674;POINT (-39.41733 -3.085006)', '2026-07-17 19:43:09', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417347 -3.085015)'), GeomFromEWKT('SRID=4674;POINT (-39.41733 -3.085006)'))) / (select extract(epoch from '2026-07-17 19:43:09'::timestamp) - extract(epoch from '2026-07-17 19:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417347 -3.085015)'), GeomFromEWKT('SRID=4674;POINT (-39.41733 -3.085006)'))) / (select extract(epoch from '2026-07-17 19:43:09'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47991, 'SRID=4674;POINT (-39.417322 -3.085004)', '2026-07-17 19:43:17', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41733 -3.085006)'), GeomFromEWKT('SRID=4674;POINT (-39.417322 -3.085004)'))) / (select extract(epoch from '2026-07-17 19:43:17'::timestamp) - extract(epoch from '2026-07-17 19:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41733 -3.085006)'), GeomFromEWKT('SRID=4674;POINT (-39.417322 -3.085004)'))) / (select extract(epoch from '2026-07-17 19:43:17'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47991, 'SRID=4674;POINT (-39.417305 -3.085)', '2026-07-17 19:43:25', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417322 -3.085004)'), GeomFromEWKT('SRID=4674;POINT (-39.417305 -3.085)'))) / (select extract(epoch from '2026-07-17 19:43:25'::timestamp) - extract(epoch from '2026-07-17 19:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417322 -3.085004)'), GeomFromEWKT('SRID=4674;POINT (-39.417305 -3.085)'))) / (select extract(epoch from '2026-07-17 19:43:25'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47991, 'SRID=4674;POINT (-39.41728 -3.085012)', '2026-07-17 19:43:34', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417305 -3.085)'), GeomFromEWKT('SRID=4674;POINT (-39.41728 -3.085012)'))) / (select extract(epoch from '2026-07-17 19:43:34'::timestamp) - extract(epoch from '2026-07-17 19:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417305 -3.085)'), GeomFromEWKT('SRID=4674;POINT (-39.41728 -3.085012)'))) / (select extract(epoch from '2026-07-17 19:43:34'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47991, 'SRID=4674;POINT (-39.417257 -3.085007)', '2026-07-17 19:43:44', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41728 -3.085012)'), GeomFromEWKT('SRID=4674;POINT (-39.417257 -3.085007)'))) / (select extract(epoch from '2026-07-17 19:43:44'::timestamp) - extract(epoch from '2026-07-17 19:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41728 -3.085012)'), GeomFromEWKT('SRID=4674;POINT (-39.417257 -3.085007)'))) / (select extract(epoch from '2026-07-17 19:43:44'::timestamp) - extract(epoch from '2026-07-17 19:43:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417249 -3.084999)', '2026-07-17 19:43:53', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417257 -3.085007)'), GeomFromEWKT('SRID=4674;POINT (-39.417249 -3.084999)'))) / (select extract(epoch from '2026-07-17 19:43:53'::timestamp) - extract(epoch from '2026-07-17 19:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417257 -3.085007)'), GeomFromEWKT('SRID=4674;POINT (-39.417249 -3.084999)'))) / (select extract(epoch from '2026-07-17 19:43:53'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47991, 'SRID=4674;POINT (-39.41723 -3.085003)', '2026-07-17 19:44:00', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417249 -3.084999)'), GeomFromEWKT('SRID=4674;POINT (-39.41723 -3.085003)'))) / (select extract(epoch from '2026-07-17 19:44:00'::timestamp) - extract(epoch from '2026-07-17 19:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417249 -3.084999)'), GeomFromEWKT('SRID=4674;POINT (-39.41723 -3.085003)'))) / (select extract(epoch from '2026-07-17 19:44:00'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47991, 'SRID=4674;POINT (-39.41722 -3.085003)', '2026-07-17 19:44:10', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41723 -3.085003)'), GeomFromEWKT('SRID=4674;POINT (-39.41722 -3.085003)'))) / (select extract(epoch from '2026-07-17 19:44:10'::timestamp) - extract(epoch from '2026-07-17 19:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41723 -3.085003)'), GeomFromEWKT('SRID=4674;POINT (-39.41722 -3.085003)'))) / (select extract(epoch from '2026-07-17 19:44:10'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47991, 'SRID=4674;POINT (-39.417203 -3.084989)', '2026-07-17 19:44:21', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41722 -3.085003)'), GeomFromEWKT('SRID=4674;POINT (-39.417203 -3.084989)'))) / (select extract(epoch from '2026-07-17 19:44:21'::timestamp) - extract(epoch from '2026-07-17 19:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41722 -3.085003)'), GeomFromEWKT('SRID=4674;POINT (-39.417203 -3.084989)'))) / (select extract(epoch from '2026-07-17 19:44:21'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47991, 'SRID=4674;POINT (-39.417181 -3.084994)', '2026-07-17 19:44:30', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417203 -3.084989)'), GeomFromEWKT('SRID=4674;POINT (-39.417181 -3.084994)'))) / (select extract(epoch from '2026-07-17 19:44:30'::timestamp) - extract(epoch from '2026-07-17 19:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417203 -3.084989)'), GeomFromEWKT('SRID=4674;POINT (-39.417181 -3.084994)'))) / (select extract(epoch from '2026-07-17 19:44:30'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47991, 'SRID=4674;POINT (-39.417148 -3.085)', '2026-07-17 19:44:41', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417181 -3.084994)'), GeomFromEWKT('SRID=4674;POINT (-39.417148 -3.085)'))) / (select extract(epoch from '2026-07-17 19:44:41'::timestamp) - extract(epoch from '2026-07-17 19:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417181 -3.084994)'), GeomFromEWKT('SRID=4674;POINT (-39.417148 -3.085)'))) / (select extract(epoch from '2026-07-17 19:44:41'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47991, 'SRID=4674;POINT (-39.417122 -3.085)', '2026-07-17 19:44:51', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417148 -3.085)'), GeomFromEWKT('SRID=4674;POINT (-39.417122 -3.085)'))) / (select extract(epoch from '2026-07-17 19:44:51'::timestamp) - extract(epoch from '2026-07-17 19:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417148 -3.085)'), GeomFromEWKT('SRID=4674;POINT (-39.417122 -3.085)'))) / (select extract(epoch from '2026-07-17 19:44:51'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47991, 'SRID=4674;POINT (-39.417101 -3.084996)', '2026-07-17 19:45:02', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417122 -3.085)'), GeomFromEWKT('SRID=4674;POINT (-39.417101 -3.084996)'))) / (select extract(epoch from '2026-07-17 19:45:02'::timestamp) - extract(epoch from '2026-07-17 19:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417122 -3.085)'), GeomFromEWKT('SRID=4674;POINT (-39.417101 -3.084996)'))) / (select extract(epoch from '2026-07-17 19:45:02'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47991, 'SRID=4674;POINT (-39.417081 -3.084997)', '2026-07-17 19:45:14', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417101 -3.084996)'), GeomFromEWKT('SRID=4674;POINT (-39.417081 -3.084997)'))) / (select extract(epoch from '2026-07-17 19:45:14'::timestamp) - extract(epoch from '2026-07-17 19:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417101 -3.084996)'), GeomFromEWKT('SRID=4674;POINT (-39.417081 -3.084997)'))) / (select extract(epoch from '2026-07-17 19:45:14'::timestamp) - extract(epoch from '2026-07-17 19:45:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417066 -3.084994)', '2026-07-17 19:45:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417081 -3.084997)'), GeomFromEWKT('SRID=4674;POINT (-39.417066 -3.084994)'))) / (select extract(epoch from '2026-07-17 19:45:20'::timestamp) - extract(epoch from '2026-07-17 19:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417081 -3.084997)'), GeomFromEWKT('SRID=4674;POINT (-39.417066 -3.084994)'))) / (select extract(epoch from '2026-07-17 19:45:20'::timestamp) - extract(epoch from '2026-07-17 19:45: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'), 47991, 'SRID=4674;POINT (-39.417048 -3.08499)', '2026-07-17 19:45:26', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417066 -3.084994)'), GeomFromEWKT('SRID=4674;POINT (-39.417048 -3.08499)'))) / (select extract(epoch from '2026-07-17 19:45:26'::timestamp) - extract(epoch from '2026-07-17 19:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417066 -3.084994)'), GeomFromEWKT('SRID=4674;POINT (-39.417048 -3.08499)'))) / (select extract(epoch from '2026-07-17 19:45:26'::timestamp) - extract(epoch from '2026-07-17 19:45: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'), 47991, 'SRID=4674;POINT (-39.417033 -3.084999)', '2026-07-17 19:45:32', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417048 -3.08499)'), GeomFromEWKT('SRID=4674;POINT (-39.417033 -3.084999)'))) / (select extract(epoch from '2026-07-17 19:45:32'::timestamp) - extract(epoch from '2026-07-17 19:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417048 -3.08499)'), GeomFromEWKT('SRID=4674;POINT (-39.417033 -3.084999)'))) / (select extract(epoch from '2026-07-17 19:45:32'::timestamp) - extract(epoch from '2026-07-17 19:45: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'), 47991, 'SRID=4674;POINT (-39.417019 -3.085007)', '2026-07-17 19:45:42', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417033 -3.084999)'), GeomFromEWKT('SRID=4674;POINT (-39.417019 -3.085007)'))) / (select extract(epoch from '2026-07-17 19:45:42'::timestamp) - extract(epoch from '2026-07-17 19:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417033 -3.084999)'), GeomFromEWKT('SRID=4674;POINT (-39.417019 -3.085007)'))) / (select extract(epoch from '2026-07-17 19:45:42'::timestamp) - extract(epoch from '2026-07-17 19:45: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'), 47991, 'SRID=4674;POINT (-39.417004 -3.085)', '2026-07-17 19:45:49', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417019 -3.085007)'), GeomFromEWKT('SRID=4674;POINT (-39.417004 -3.085)'))) / (select extract(epoch from '2026-07-17 19:45:49'::timestamp) - extract(epoch from '2026-07-17 19:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417019 -3.085007)'), GeomFromEWKT('SRID=4674;POINT (-39.417004 -3.085)'))) / (select extract(epoch from '2026-07-17 19:45:49'::timestamp) - extract(epoch from '2026-07-17 19:45: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'), 47991, 'SRID=4674;POINT (-39.41698 -3.084997)', '2026-07-17 19:46:00', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417004 -3.085)'), GeomFromEWKT('SRID=4674;POINT (-39.41698 -3.084997)'))) / (select extract(epoch from '2026-07-17 19:46:00'::timestamp) - extract(epoch from '2026-07-17 19:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417004 -3.085)'), GeomFromEWKT('SRID=4674;POINT (-39.41698 -3.084997)'))) / (select extract(epoch from '2026-07-17 19:46:00'::timestamp) - extract(epoch from '2026-07-17 19:45: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'), 47991, 'SRID=4674;POINT (-39.416965 -3.084996)', '2026-07-17 19:46:10', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41698 -3.084997)'), GeomFromEWKT('SRID=4674;POINT (-39.416965 -3.084996)'))) / (select extract(epoch from '2026-07-17 19:46:10'::timestamp) - extract(epoch from '2026-07-17 19:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41698 -3.084997)'), GeomFromEWKT('SRID=4674;POINT (-39.416965 -3.084996)'))) / (select extract(epoch from '2026-07-17 19:46:10'::timestamp) - extract(epoch from '2026-07-17 19:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416949 -3.085006)', '2026-07-17 19:46:20', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416965 -3.084996)'), GeomFromEWKT('SRID=4674;POINT (-39.416949 -3.085006)'))) / (select extract(epoch from '2026-07-17 19:46:20'::timestamp) - extract(epoch from '2026-07-17 19:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416965 -3.084996)'), GeomFromEWKT('SRID=4674;POINT (-39.416949 -3.085006)'))) / (select extract(epoch from '2026-07-17 19:46:20'::timestamp) - extract(epoch from '2026-07-17 19:46: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'), 47991, 'SRID=4674;POINT (-39.416928 -3.085013)', '2026-07-17 19:46:31', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416949 -3.085006)'), GeomFromEWKT('SRID=4674;POINT (-39.416928 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:46:31'::timestamp) - extract(epoch from '2026-07-17 19:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416949 -3.085006)'), GeomFromEWKT('SRID=4674;POINT (-39.416928 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:46:31'::timestamp) - extract(epoch from '2026-07-17 19:46: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'), 47991, 'SRID=4674;POINT (-39.416885 -3.085018)', '2026-07-17 19:46:41', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416928 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.416885 -3.085018)'))) / (select extract(epoch from '2026-07-17 19:46:41'::timestamp) - extract(epoch from '2026-07-17 19:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416928 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.416885 -3.085018)'))) / (select extract(epoch from '2026-07-17 19:46:41'::timestamp) - extract(epoch from '2026-07-17 19:46: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'), 47991, 'SRID=4674;POINT (-39.416862 -3.085019)', '2026-07-17 19:46:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416885 -3.085018)'), GeomFromEWKT('SRID=4674;POINT (-39.416862 -3.085019)'))) / (select extract(epoch from '2026-07-17 19:46:50'::timestamp) - extract(epoch from '2026-07-17 19:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416885 -3.085018)'), GeomFromEWKT('SRID=4674;POINT (-39.416862 -3.085019)'))) / (select extract(epoch from '2026-07-17 19:46:50'::timestamp) - extract(epoch from '2026-07-17 19:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416848 -3.085014)', '2026-07-17 19:47:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416862 -3.085019)'), GeomFromEWKT('SRID=4674;POINT (-39.416848 -3.085014)'))) / (select extract(epoch from '2026-07-17 19:47:00'::timestamp) - extract(epoch from '2026-07-17 19:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416862 -3.085019)'), GeomFromEWKT('SRID=4674;POINT (-39.416848 -3.085014)'))) / (select extract(epoch from '2026-07-17 19:47:00'::timestamp) - extract(epoch from '2026-07-17 19:46: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'), 47991, 'SRID=4674;POINT (-39.416846 -3.085006)', '2026-07-17 19:47:06', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416848 -3.085014)'), GeomFromEWKT('SRID=4674;POINT (-39.416846 -3.085006)'))) / (select extract(epoch from '2026-07-17 19:47:06'::timestamp) - extract(epoch from '2026-07-17 19:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416848 -3.085014)'), GeomFromEWKT('SRID=4674;POINT (-39.416846 -3.085006)'))) / (select extract(epoch from '2026-07-17 19:47:06'::timestamp) - extract(epoch from '2026-07-17 19:47: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'), 47991, 'SRID=4674;POINT (-39.416833 -3.08501)', '2026-07-17 19:47:15', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416846 -3.085006)'), GeomFromEWKT('SRID=4674;POINT (-39.416833 -3.08501)'))) / (select extract(epoch from '2026-07-17 19:47:15'::timestamp) - extract(epoch from '2026-07-17 19:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416846 -3.085006)'), GeomFromEWKT('SRID=4674;POINT (-39.416833 -3.08501)'))) / (select extract(epoch from '2026-07-17 19:47:15'::timestamp) - extract(epoch from '2026-07-17 19:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416807 -3.085014)', '2026-07-17 19:47:23', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416833 -3.08501)'), GeomFromEWKT('SRID=4674;POINT (-39.416807 -3.085014)'))) / (select extract(epoch from '2026-07-17 19:47:23'::timestamp) - extract(epoch from '2026-07-17 19:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416833 -3.08501)'), GeomFromEWKT('SRID=4674;POINT (-39.416807 -3.085014)'))) / (select extract(epoch from '2026-07-17 19:47:23'::timestamp) - extract(epoch from '2026-07-17 19:47: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'), 47991, 'SRID=4674;POINT (-39.416778 -3.085013)', '2026-07-17 19:47:32', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416807 -3.085014)'), GeomFromEWKT('SRID=4674;POINT (-39.416778 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:47:32'::timestamp) - extract(epoch from '2026-07-17 19:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416807 -3.085014)'), GeomFromEWKT('SRID=4674;POINT (-39.416778 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:47:32'::timestamp) - extract(epoch from '2026-07-17 19:47: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'), 47991, 'SRID=4674;POINT (-39.416759 -3.085013)', '2026-07-17 19:47:41', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416778 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.416759 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:47:41'::timestamp) - extract(epoch from '2026-07-17 19:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416778 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.416759 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:47:41'::timestamp) - extract(epoch from '2026-07-17 19:47: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'), 47991, 'SRID=4674;POINT (-39.416737 -3.085014)', '2026-07-17 19:47:50', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416759 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.416737 -3.085014)'))) / (select extract(epoch from '2026-07-17 19:47:50'::timestamp) - extract(epoch from '2026-07-17 19:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416759 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.416737 -3.085014)'))) / (select extract(epoch from '2026-07-17 19:47:50'::timestamp) - extract(epoch from '2026-07-17 19:47: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'), 47991, 'SRID=4674;POINT (-39.416687 -3.085016)', '2026-07-17 19:48:03', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416737 -3.085014)'), GeomFromEWKT('SRID=4674;POINT (-39.416687 -3.085016)'))) / (select extract(epoch from '2026-07-17 19:48:03'::timestamp) - extract(epoch from '2026-07-17 19:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416737 -3.085014)'), GeomFromEWKT('SRID=4674;POINT (-39.416687 -3.085016)'))) / (select extract(epoch from '2026-07-17 19:48:03'::timestamp) - extract(epoch from '2026-07-17 19:47: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'), 47991, 'SRID=4674;POINT (-39.416649 -3.085008)', '2026-07-17 19:48:14', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416687 -3.085016)'), GeomFromEWKT('SRID=4674;POINT (-39.416649 -3.085008)'))) / (select extract(epoch from '2026-07-17 19:48:14'::timestamp) - extract(epoch from '2026-07-17 19:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416687 -3.085016)'), GeomFromEWKT('SRID=4674;POINT (-39.416649 -3.085008)'))) / (select extract(epoch from '2026-07-17 19:48:14'::timestamp) - extract(epoch from '2026-07-17 19:48: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'), 47991, 'SRID=4674;POINT (-39.416634 -3.085016)', '2026-07-17 19:48:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416649 -3.085008)'), GeomFromEWKT('SRID=4674;POINT (-39.416634 -3.085016)'))) / (select extract(epoch from '2026-07-17 19:48:22'::timestamp) - extract(epoch from '2026-07-17 19:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416649 -3.085008)'), GeomFromEWKT('SRID=4674;POINT (-39.416634 -3.085016)'))) / (select extract(epoch from '2026-07-17 19:48:22'::timestamp) - extract(epoch from '2026-07-17 19:48: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'), 47991, 'SRID=4674;POINT (-39.416627 -3.085026)', '2026-07-17 19:48:33', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416634 -3.085016)'), GeomFromEWKT('SRID=4674;POINT (-39.416627 -3.085026)'))) / (select extract(epoch from '2026-07-17 19:48:33'::timestamp) - extract(epoch from '2026-07-17 19:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416634 -3.085016)'), GeomFromEWKT('SRID=4674;POINT (-39.416627 -3.085026)'))) / (select extract(epoch from '2026-07-17 19:48:33'::timestamp) - extract(epoch from '2026-07-17 19:48:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.4166 -3.085029)', '2026-07-17 19:48:42', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416627 -3.085026)'), GeomFromEWKT('SRID=4674;POINT (-39.4166 -3.085029)'))) / (select extract(epoch from '2026-07-17 19:48:42'::timestamp) - extract(epoch from '2026-07-17 19:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416627 -3.085026)'), GeomFromEWKT('SRID=4674;POINT (-39.4166 -3.085029)'))) / (select extract(epoch from '2026-07-17 19:48:42'::timestamp) - extract(epoch from '2026-07-17 19:48: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'), 47991, 'SRID=4674;POINT (-39.416584 -3.085023)', '2026-07-17 19:48:48', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4166 -3.085029)'), GeomFromEWKT('SRID=4674;POINT (-39.416584 -3.085023)'))) / (select extract(epoch from '2026-07-17 19:48:48'::timestamp) - extract(epoch from '2026-07-17 19:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4166 -3.085029)'), GeomFromEWKT('SRID=4674;POINT (-39.416584 -3.085023)'))) / (select extract(epoch from '2026-07-17 19:48:48'::timestamp) - extract(epoch from '2026-07-17 19:48: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'), 47991, 'SRID=4674;POINT (-39.416555 -3.085013)', '2026-07-17 19:48:57', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416584 -3.085023)'), GeomFromEWKT('SRID=4674;POINT (-39.416555 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:48:57'::timestamp) - extract(epoch from '2026-07-17 19:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416584 -3.085023)'), GeomFromEWKT('SRID=4674;POINT (-39.416555 -3.085013)'))) / (select extract(epoch from '2026-07-17 19:48:57'::timestamp) - extract(epoch from '2026-07-17 19:48: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'), 47991, 'SRID=4674;POINT (-39.416541 -3.085016)', '2026-07-17 19:49:02', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416555 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.416541 -3.085016)'))) / (select extract(epoch from '2026-07-17 19:49:02'::timestamp) - extract(epoch from '2026-07-17 19:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416555 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.416541 -3.085016)'))) / (select extract(epoch from '2026-07-17 19:49:02'::timestamp) - extract(epoch from '2026-07-17 19:48: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'), 47991, 'SRID=4674;POINT (-39.416521 -3.085027)', '2026-07-17 19:49:10', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416541 -3.085016)'), GeomFromEWKT('SRID=4674;POINT (-39.416521 -3.085027)'))) / (select extract(epoch from '2026-07-17 19:49:10'::timestamp) - extract(epoch from '2026-07-17 19:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416541 -3.085016)'), GeomFromEWKT('SRID=4674;POINT (-39.416521 -3.085027)'))) / (select extract(epoch from '2026-07-17 19:49:10'::timestamp) - extract(epoch from '2026-07-17 19:49:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416504 -3.085034)', '2026-07-17 19:49:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416521 -3.085027)'), GeomFromEWKT('SRID=4674;POINT (-39.416504 -3.085034)'))) / (select extract(epoch from '2026-07-17 19:49:18'::timestamp) - extract(epoch from '2026-07-17 19:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416521 -3.085027)'), GeomFromEWKT('SRID=4674;POINT (-39.416504 -3.085034)'))) / (select extract(epoch from '2026-07-17 19:49:18'::timestamp) - extract(epoch from '2026-07-17 19:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41648 -3.085036)', '2026-07-17 19:49:28', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416504 -3.085034)'), GeomFromEWKT('SRID=4674;POINT (-39.41648 -3.085036)'))) / (select extract(epoch from '2026-07-17 19:49:28'::timestamp) - extract(epoch from '2026-07-17 19:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416504 -3.085034)'), GeomFromEWKT('SRID=4674;POINT (-39.41648 -3.085036)'))) / (select extract(epoch from '2026-07-17 19:49:28'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47991, 'SRID=4674;POINT (-39.416455 -3.085048)', '2026-07-17 19:49:37', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41648 -3.085036)'), GeomFromEWKT('SRID=4674;POINT (-39.416455 -3.085048)'))) / (select extract(epoch from '2026-07-17 19:49:37'::timestamp) - extract(epoch from '2026-07-17 19:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41648 -3.085036)'), GeomFromEWKT('SRID=4674;POINT (-39.416455 -3.085048)'))) / (select extract(epoch from '2026-07-17 19:49:37'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47991, 'SRID=4674;POINT (-39.416435 -3.085052)', '2026-07-17 19:49:45', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416455 -3.085048)'), GeomFromEWKT('SRID=4674;POINT (-39.416435 -3.085052)'))) / (select extract(epoch from '2026-07-17 19:49:45'::timestamp) - extract(epoch from '2026-07-17 19:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416455 -3.085048)'), GeomFromEWKT('SRID=4674;POINT (-39.416435 -3.085052)'))) / (select extract(epoch from '2026-07-17 19:49:45'::timestamp) - extract(epoch from '2026-07-17 19:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416411 -3.085047)', '2026-07-17 19:49:56', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416435 -3.085052)'), GeomFromEWKT('SRID=4674;POINT (-39.416411 -3.085047)'))) / (select extract(epoch from '2026-07-17 19:49:56'::timestamp) - extract(epoch from '2026-07-17 19:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416435 -3.085052)'), GeomFromEWKT('SRID=4674;POINT (-39.416411 -3.085047)'))) / (select extract(epoch from '2026-07-17 19:49:56'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47991, 'SRID=4674;POINT (-39.416387 -3.085051)', '2026-07-17 19:50:04', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416411 -3.085047)'), GeomFromEWKT('SRID=4674;POINT (-39.416387 -3.085051)'))) / (select extract(epoch from '2026-07-17 19:50:04'::timestamp) - extract(epoch from '2026-07-17 19:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416411 -3.085047)'), GeomFromEWKT('SRID=4674;POINT (-39.416387 -3.085051)'))) / (select extract(epoch from '2026-07-17 19:50:04'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47991, 'SRID=4674;POINT (-39.41636 -3.085065)', '2026-07-17 19:50:11', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416387 -3.085051)'), GeomFromEWKT('SRID=4674;POINT (-39.41636 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:50:11'::timestamp) - extract(epoch from '2026-07-17 19:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416387 -3.085051)'), GeomFromEWKT('SRID=4674;POINT (-39.41636 -3.085065)'))) / (select extract(epoch from '2026-07-17 19:50:11'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47991, 'SRID=4674;POINT (-39.416334 -3.085067)', '2026-07-17 19:50:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41636 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.416334 -3.085067)'))) / (select extract(epoch from '2026-07-17 19:50:20'::timestamp) - extract(epoch from '2026-07-17 19:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41636 -3.085065)'), GeomFromEWKT('SRID=4674;POINT (-39.416334 -3.085067)'))) / (select extract(epoch from '2026-07-17 19:50:20'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47991, 'SRID=4674;POINT (-39.416319 -3.085076)', '2026-07-17 19:50:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416334 -3.085067)'), GeomFromEWKT('SRID=4674;POINT (-39.416319 -3.085076)'))) / (select extract(epoch from '2026-07-17 19:50:30'::timestamp) - extract(epoch from '2026-07-17 19:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416334 -3.085067)'), GeomFromEWKT('SRID=4674;POINT (-39.416319 -3.085076)'))) / (select extract(epoch from '2026-07-17 19:50:30'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47991, 'SRID=4674;POINT (-39.41629 -3.08508)', '2026-07-17 19:50:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416319 -3.085076)'), GeomFromEWKT('SRID=4674;POINT (-39.41629 -3.08508)'))) / (select extract(epoch from '2026-07-17 19:50:39'::timestamp) - extract(epoch from '2026-07-17 19:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416319 -3.085076)'), GeomFromEWKT('SRID=4674;POINT (-39.41629 -3.08508)'))) / (select extract(epoch from '2026-07-17 19:50:39'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47991, 'SRID=4674;POINT (-39.416295 -3.085081)', '2026-07-17 19:50:44', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41629 -3.08508)'), GeomFromEWKT('SRID=4674;POINT (-39.416295 -3.085081)'))) / (select extract(epoch from '2026-07-17 19:50:44'::timestamp) - extract(epoch from '2026-07-17 19:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41629 -3.08508)'), GeomFromEWKT('SRID=4674;POINT (-39.416295 -3.085081)'))) / (select extract(epoch from '2026-07-17 19:50:44'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47991, 'SRID=4674;POINT (-39.416293 -3.085088)', '2026-07-17 19:50:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416295 -3.085081)'), GeomFromEWKT('SRID=4674;POINT (-39.416293 -3.085088)'))) / (select extract(epoch from '2026-07-17 19:50:50'::timestamp) - extract(epoch from '2026-07-17 19:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416295 -3.085081)'), GeomFromEWKT('SRID=4674;POINT (-39.416293 -3.085088)'))) / (select extract(epoch from '2026-07-17 19:50:50'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47991, 'SRID=4674;POINT (-39.416266 -3.085098)', '2026-07-17 19:50:59', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416293 -3.085088)'), GeomFromEWKT('SRID=4674;POINT (-39.416266 -3.085098)'))) / (select extract(epoch from '2026-07-17 19:50:59'::timestamp) - extract(epoch from '2026-07-17 19:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416293 -3.085088)'), GeomFromEWKT('SRID=4674;POINT (-39.416266 -3.085098)'))) / (select extract(epoch from '2026-07-17 19:50:59'::timestamp) - extract(epoch from '2026-07-17 19:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416254 -3.085095)', '2026-07-17 19:51:08', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416266 -3.085098)'), GeomFromEWKT('SRID=4674;POINT (-39.416254 -3.085095)'))) / (select extract(epoch from '2026-07-17 19:51:08'::timestamp) - extract(epoch from '2026-07-17 19:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416266 -3.085098)'), GeomFromEWKT('SRID=4674;POINT (-39.416254 -3.085095)'))) / (select extract(epoch from '2026-07-17 19:51:08'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47991, 'SRID=4674;POINT (-39.416235 -3.085112)', '2026-07-17 19:51:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416254 -3.085095)'), GeomFromEWKT('SRID=4674;POINT (-39.416235 -3.085112)'))) / (select extract(epoch from '2026-07-17 19:51:16'::timestamp) - extract(epoch from '2026-07-17 19:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416254 -3.085095)'), GeomFromEWKT('SRID=4674;POINT (-39.416235 -3.085112)'))) / (select extract(epoch from '2026-07-17 19:51:16'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.416208 -3.085114)', '2026-07-17 19:51:24', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416235 -3.085112)'), GeomFromEWKT('SRID=4674;POINT (-39.416208 -3.085114)'))) / (select extract(epoch from '2026-07-17 19:51:24'::timestamp) - extract(epoch from '2026-07-17 19:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416235 -3.085112)'), GeomFromEWKT('SRID=4674;POINT (-39.416208 -3.085114)'))) / (select extract(epoch from '2026-07-17 19:51:24'::timestamp) - extract(epoch from '2026-07-17 19:51:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416191 -3.085114)', '2026-07-17 19:51:34', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416208 -3.085114)'), GeomFromEWKT('SRID=4674;POINT (-39.416191 -3.085114)'))) / (select extract(epoch from '2026-07-17 19:51:34'::timestamp) - extract(epoch from '2026-07-17 19:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416208 -3.085114)'), GeomFromEWKT('SRID=4674;POINT (-39.416191 -3.085114)'))) / (select extract(epoch from '2026-07-17 19:51:34'::timestamp) - extract(epoch from '2026-07-17 19:51: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'), 47991, 'SRID=4674;POINT (-39.416181 -3.08511)', '2026-07-17 19:51:41', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416191 -3.085114)'), GeomFromEWKT('SRID=4674;POINT (-39.416181 -3.08511)'))) / (select extract(epoch from '2026-07-17 19:51:41'::timestamp) - extract(epoch from '2026-07-17 19:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416191 -3.085114)'), GeomFromEWKT('SRID=4674;POINT (-39.416181 -3.08511)'))) / (select extract(epoch from '2026-07-17 19:51:41'::timestamp) - extract(epoch from '2026-07-17 19:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416151 -3.085126)', '2026-07-17 19:51:48', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416181 -3.08511)'), GeomFromEWKT('SRID=4674;POINT (-39.416151 -3.085126)'))) / (select extract(epoch from '2026-07-17 19:51:48'::timestamp) - extract(epoch from '2026-07-17 19:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416181 -3.08511)'), GeomFromEWKT('SRID=4674;POINT (-39.416151 -3.085126)'))) / (select extract(epoch from '2026-07-17 19:51:48'::timestamp) - extract(epoch from '2026-07-17 19:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416131 -3.085118)', '2026-07-17 19:51:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416151 -3.085126)'), GeomFromEWKT('SRID=4674;POINT (-39.416131 -3.085118)'))) / (select extract(epoch from '2026-07-17 19:51:57'::timestamp) - extract(epoch from '2026-07-17 19:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416151 -3.085126)'), GeomFromEWKT('SRID=4674;POINT (-39.416131 -3.085118)'))) / (select extract(epoch from '2026-07-17 19:51:57'::timestamp) - extract(epoch from '2026-07-17 19:51: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'), 47991, 'SRID=4674;POINT (-39.416129 -3.085109)', '2026-07-17 19:52:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416131 -3.085118)'), GeomFromEWKT('SRID=4674;POINT (-39.416129 -3.085109)'))) / (select extract(epoch from '2026-07-17 19:52:07'::timestamp) - extract(epoch from '2026-07-17 19:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416131 -3.085118)'), GeomFromEWKT('SRID=4674;POINT (-39.416129 -3.085109)'))) / (select extract(epoch from '2026-07-17 19:52:07'::timestamp) - extract(epoch from '2026-07-17 19:51: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'), 47991, 'SRID=4674;POINT (-39.41613 -3.085109)', '2026-07-17 19:52:17', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416129 -3.085109)'), GeomFromEWKT('SRID=4674;POINT (-39.41613 -3.085109)'))) / (select extract(epoch from '2026-07-17 19:52:17'::timestamp) - extract(epoch from '2026-07-17 19:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416129 -3.085109)'), GeomFromEWKT('SRID=4674;POINT (-39.41613 -3.085109)'))) / (select extract(epoch from '2026-07-17 19:52:17'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.416128 -3.085111)', '2026-07-17 19:52:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41613 -3.085109)'), GeomFromEWKT('SRID=4674;POINT (-39.416128 -3.085111)'))) / (select extract(epoch from '2026-07-17 19:52:18'::timestamp) - extract(epoch from '2026-07-17 19:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41613 -3.085109)'), GeomFromEWKT('SRID=4674;POINT (-39.416128 -3.085111)'))) / (select extract(epoch from '2026-07-17 19:52:18'::timestamp) - extract(epoch from '2026-07-17 19:52: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'), 47991, 'SRID=4674;POINT (-39.416115 -3.085108)', '2026-07-17 19:52:22', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416128 -3.085111)'), GeomFromEWKT('SRID=4674;POINT (-39.416115 -3.085108)'))) / (select extract(epoch from '2026-07-17 19:52:22'::timestamp) - extract(epoch from '2026-07-17 19:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416128 -3.085111)'), GeomFromEWKT('SRID=4674;POINT (-39.416115 -3.085108)'))) / (select extract(epoch from '2026-07-17 19:52:22'::timestamp) - extract(epoch from '2026-07-17 19:52: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'), 47991, 'SRID=4674;POINT (-39.416099 -3.085106)', '2026-07-17 19:52:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416115 -3.085108)'), GeomFromEWKT('SRID=4674;POINT (-39.416099 -3.085106)'))) / (select extract(epoch from '2026-07-17 19:52:29'::timestamp) - extract(epoch from '2026-07-17 19:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416115 -3.085108)'), GeomFromEWKT('SRID=4674;POINT (-39.416099 -3.085106)'))) / (select extract(epoch from '2026-07-17 19:52:29'::timestamp) - extract(epoch from '2026-07-17 19:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416086 -3.08513)', '2026-07-17 19:52:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416099 -3.085106)'), GeomFromEWKT('SRID=4674;POINT (-39.416086 -3.08513)'))) / (select extract(epoch from '2026-07-17 19:52:37'::timestamp) - extract(epoch from '2026-07-17 19:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416099 -3.085106)'), GeomFromEWKT('SRID=4674;POINT (-39.416086 -3.08513)'))) / (select extract(epoch from '2026-07-17 19:52:37'::timestamp) - extract(epoch from '2026-07-17 19:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416051 -3.085128)', '2026-07-17 19:52:46', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416086 -3.08513)'), GeomFromEWKT('SRID=4674;POINT (-39.416051 -3.085128)'))) / (select extract(epoch from '2026-07-17 19:52:46'::timestamp) - extract(epoch from '2026-07-17 19:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416086 -3.08513)'), GeomFromEWKT('SRID=4674;POINT (-39.416051 -3.085128)'))) / (select extract(epoch from '2026-07-17 19:52:46'::timestamp) - extract(epoch from '2026-07-17 19:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416021 -3.085135)', '2026-07-17 19:52:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416051 -3.085128)'), GeomFromEWKT('SRID=4674;POINT (-39.416021 -3.085135)'))) / (select extract(epoch from '2026-07-17 19:52:59'::timestamp) - extract(epoch from '2026-07-17 19:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416051 -3.085128)'), GeomFromEWKT('SRID=4674;POINT (-39.416021 -3.085135)'))) / (select extract(epoch from '2026-07-17 19:52:59'::timestamp) - extract(epoch from '2026-07-17 19:52: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'), 47991, 'SRID=4674;POINT (-39.41601 -3.085136)', '2026-07-17 19:53:09', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416021 -3.085135)'), GeomFromEWKT('SRID=4674;POINT (-39.41601 -3.085136)'))) / (select extract(epoch from '2026-07-17 19:53:09'::timestamp) - extract(epoch from '2026-07-17 19:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416021 -3.085135)'), GeomFromEWKT('SRID=4674;POINT (-39.41601 -3.085136)'))) / (select extract(epoch from '2026-07-17 19:53:09'::timestamp) - extract(epoch from '2026-07-17 19:52: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'), 47991, 'SRID=4674;POINT (-39.415985 -3.08514)', '2026-07-17 19:53:16', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41601 -3.085136)'), GeomFromEWKT('SRID=4674;POINT (-39.415985 -3.08514)'))) / (select extract(epoch from '2026-07-17 19:53:16'::timestamp) - extract(epoch from '2026-07-17 19:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41601 -3.085136)'), GeomFromEWKT('SRID=4674;POINT (-39.415985 -3.08514)'))) / (select extract(epoch from '2026-07-17 19:53:16'::timestamp) - extract(epoch from '2026-07-17 19:53: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'), 47991, 'SRID=4674;POINT (-39.415954 -3.085144)', '2026-07-17 19:53:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415985 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.415954 -3.085144)'))) / (select extract(epoch from '2026-07-17 19:53:23'::timestamp) - extract(epoch from '2026-07-17 19:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415985 -3.08514)'), GeomFromEWKT('SRID=4674;POINT (-39.415954 -3.085144)'))) / (select extract(epoch from '2026-07-17 19:53:23'::timestamp) - extract(epoch from '2026-07-17 19:53:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415932 -3.08515)', '2026-07-17 19:53:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415954 -3.085144)'), GeomFromEWKT('SRID=4674;POINT (-39.415932 -3.08515)'))) / (select extract(epoch from '2026-07-17 19:53:31'::timestamp) - extract(epoch from '2026-07-17 19:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415954 -3.085144)'), GeomFromEWKT('SRID=4674;POINT (-39.415932 -3.08515)'))) / (select extract(epoch from '2026-07-17 19:53:31'::timestamp) - extract(epoch from '2026-07-17 19:53: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'), 47991, 'SRID=4674;POINT (-39.415916 -3.085145)', '2026-07-17 19:53:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415932 -3.08515)'), GeomFromEWKT('SRID=4674;POINT (-39.415916 -3.085145)'))) / (select extract(epoch from '2026-07-17 19:53:43'::timestamp) - extract(epoch from '2026-07-17 19:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415932 -3.08515)'), GeomFromEWKT('SRID=4674;POINT (-39.415916 -3.085145)'))) / (select extract(epoch from '2026-07-17 19:53:43'::timestamp) - extract(epoch from '2026-07-17 19:53: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'), 47991, 'SRID=4674;POINT (-39.415881 -3.085156)', '2026-07-17 19:53:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415916 -3.085145)'), GeomFromEWKT('SRID=4674;POINT (-39.415881 -3.085156)'))) / (select extract(epoch from '2026-07-17 19:53:57'::timestamp) - extract(epoch from '2026-07-17 19:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415916 -3.085145)'), GeomFromEWKT('SRID=4674;POINT (-39.415881 -3.085156)'))) / (select extract(epoch from '2026-07-17 19:53:57'::timestamp) - extract(epoch from '2026-07-17 19:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415866 -3.085154)', '2026-07-17 19:54:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415881 -3.085156)'), GeomFromEWKT('SRID=4674;POINT (-39.415866 -3.085154)'))) / (select extract(epoch from '2026-07-17 19:54:08'::timestamp) - extract(epoch from '2026-07-17 19:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415881 -3.085156)'), GeomFromEWKT('SRID=4674;POINT (-39.415866 -3.085154)'))) / (select extract(epoch from '2026-07-17 19:54:08'::timestamp) - extract(epoch from '2026-07-17 19:53: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'), 47991, 'SRID=4674;POINT (-39.415836 -3.085156)', '2026-07-17 19:54:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415866 -3.085154)'), GeomFromEWKT('SRID=4674;POINT (-39.415836 -3.085156)'))) / (select extract(epoch from '2026-07-17 19:54:18'::timestamp) - extract(epoch from '2026-07-17 19:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415866 -3.085154)'), GeomFromEWKT('SRID=4674;POINT (-39.415836 -3.085156)'))) / (select extract(epoch from '2026-07-17 19:54:18'::timestamp) - extract(epoch from '2026-07-17 19:54:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415816 -3.085168)', '2026-07-17 19:54:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415836 -3.085156)'), GeomFromEWKT('SRID=4674;POINT (-39.415816 -3.085168)'))) / (select extract(epoch from '2026-07-17 19:54:25'::timestamp) - extract(epoch from '2026-07-17 19:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415836 -3.085156)'), GeomFromEWKT('SRID=4674;POINT (-39.415816 -3.085168)'))) / (select extract(epoch from '2026-07-17 19:54:25'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.41579 -3.085174)', '2026-07-17 19:54:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415816 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.41579 -3.085174)'))) / (select extract(epoch from '2026-07-17 19:54:34'::timestamp) - extract(epoch from '2026-07-17 19:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415816 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.41579 -3.085174)'))) / (select extract(epoch from '2026-07-17 19:54:34'::timestamp) - extract(epoch from '2026-07-17 19:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415755 -3.085173)', '2026-07-17 19:54:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41579 -3.085174)'), GeomFromEWKT('SRID=4674;POINT (-39.415755 -3.085173)'))) / (select extract(epoch from '2026-07-17 19:54:44'::timestamp) - extract(epoch from '2026-07-17 19:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41579 -3.085174)'), GeomFromEWKT('SRID=4674;POINT (-39.415755 -3.085173)'))) / (select extract(epoch from '2026-07-17 19:54:44'::timestamp) - extract(epoch from '2026-07-17 19:54:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415733 -3.085173)', '2026-07-17 19:54:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415755 -3.085173)'), GeomFromEWKT('SRID=4674;POINT (-39.415733 -3.085173)'))) / (select extract(epoch from '2026-07-17 19:54:54'::timestamp) - extract(epoch from '2026-07-17 19:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415755 -3.085173)'), GeomFromEWKT('SRID=4674;POINT (-39.415733 -3.085173)'))) / (select extract(epoch from '2026-07-17 19:54:54'::timestamp) - extract(epoch from '2026-07-17 19:54: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'), 47991, 'SRID=4674;POINT (-39.415714 -3.085171)', '2026-07-17 19:55:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415733 -3.085173)'), GeomFromEWKT('SRID=4674;POINT (-39.415714 -3.085171)'))) / (select extract(epoch from '2026-07-17 19:55:03'::timestamp) - extract(epoch from '2026-07-17 19:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415733 -3.085173)'), GeomFromEWKT('SRID=4674;POINT (-39.415714 -3.085171)'))) / (select extract(epoch from '2026-07-17 19:55:03'::timestamp) - extract(epoch from '2026-07-17 19:54: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'), 47991, 'SRID=4674;POINT (-39.415695 -3.08517)', '2026-07-17 19:55:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415714 -3.085171)'), GeomFromEWKT('SRID=4674;POINT (-39.415695 -3.08517)'))) / (select extract(epoch from '2026-07-17 19:55:14'::timestamp) - extract(epoch from '2026-07-17 19:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415714 -3.085171)'), GeomFromEWKT('SRID=4674;POINT (-39.415695 -3.08517)'))) / (select extract(epoch from '2026-07-17 19:55:14'::timestamp) - extract(epoch from '2026-07-17 19:55: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'), 47991, 'SRID=4674;POINT (-39.415677 -3.085176)', '2026-07-17 19:55:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415695 -3.08517)'), GeomFromEWKT('SRID=4674;POINT (-39.415677 -3.085176)'))) / (select extract(epoch from '2026-07-17 19:55:24'::timestamp) - extract(epoch from '2026-07-17 19:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415695 -3.08517)'), GeomFromEWKT('SRID=4674;POINT (-39.415677 -3.085176)'))) / (select extract(epoch from '2026-07-17 19:55:24'::timestamp) - extract(epoch from '2026-07-17 19:55: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'), 47991, 'SRID=4674;POINT (-39.415656 -3.085192)', '2026-07-17 19:55:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415677 -3.085176)'), GeomFromEWKT('SRID=4674;POINT (-39.415656 -3.085192)'))) / (select extract(epoch from '2026-07-17 19:55:32'::timestamp) - extract(epoch from '2026-07-17 19:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415677 -3.085176)'), GeomFromEWKT('SRID=4674;POINT (-39.415656 -3.085192)'))) / (select extract(epoch from '2026-07-17 19:55:32'::timestamp) - extract(epoch from '2026-07-17 19:55:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415638 -3.085198)', '2026-07-17 19:55:39', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415656 -3.085192)'), GeomFromEWKT('SRID=4674;POINT (-39.415638 -3.085198)'))) / (select extract(epoch from '2026-07-17 19:55:39'::timestamp) - extract(epoch from '2026-07-17 19:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415656 -3.085192)'), GeomFromEWKT('SRID=4674;POINT (-39.415638 -3.085198)'))) / (select extract(epoch from '2026-07-17 19:55:39'::timestamp) - extract(epoch from '2026-07-17 19:55: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'), 47991, 'SRID=4674;POINT (-39.415615 -3.085201)', '2026-07-17 19:55:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415638 -3.085198)'), GeomFromEWKT('SRID=4674;POINT (-39.415615 -3.085201)'))) / (select extract(epoch from '2026-07-17 19:55:46'::timestamp) - extract(epoch from '2026-07-17 19:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415638 -3.085198)'), GeomFromEWKT('SRID=4674;POINT (-39.415615 -3.085201)'))) / (select extract(epoch from '2026-07-17 19:55:46'::timestamp) - extract(epoch from '2026-07-17 19:55: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'), 47991, 'SRID=4674;POINT (-39.415602 -3.085203)', '2026-07-17 19:55:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415615 -3.085201)'), GeomFromEWKT('SRID=4674;POINT (-39.415602 -3.085203)'))) / (select extract(epoch from '2026-07-17 19:55:54'::timestamp) - extract(epoch from '2026-07-17 19:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415615 -3.085201)'), GeomFromEWKT('SRID=4674;POINT (-39.415602 -3.085203)'))) / (select extract(epoch from '2026-07-17 19:55:54'::timestamp) - extract(epoch from '2026-07-17 19:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415596 -3.085205)', '2026-07-17 19:55:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415602 -3.085203)'), GeomFromEWKT('SRID=4674;POINT (-39.415596 -3.085205)'))) / (select extract(epoch from '2026-07-17 19:55:55'::timestamp) - extract(epoch from '2026-07-17 19:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415602 -3.085203)'), GeomFromEWKT('SRID=4674;POINT (-39.415596 -3.085205)'))) / (select extract(epoch from '2026-07-17 19:55:55'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.415587 -3.085201)', '2026-07-17 19:55:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415596 -3.085205)'), GeomFromEWKT('SRID=4674;POINT (-39.415587 -3.085201)'))) / (select extract(epoch from '2026-07-17 19:55:58'::timestamp) - extract(epoch from '2026-07-17 19:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415596 -3.085205)'), GeomFromEWKT('SRID=4674;POINT (-39.415587 -3.085201)'))) / (select extract(epoch from '2026-07-17 19:55:58'::timestamp) - extract(epoch from '2026-07-17 19:55: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'), 47991, 'SRID=4674;POINT (-39.415548 -3.085204)', '2026-07-17 19:56:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415587 -3.085201)'), GeomFromEWKT('SRID=4674;POINT (-39.415548 -3.085204)'))) / (select extract(epoch from '2026-07-17 19:56:08'::timestamp) - extract(epoch from '2026-07-17 19:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415587 -3.085201)'), GeomFromEWKT('SRID=4674;POINT (-39.415548 -3.085204)'))) / (select extract(epoch from '2026-07-17 19:56:08'::timestamp) - extract(epoch from '2026-07-17 19:55: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'), 47991, 'SRID=4674;POINT (-39.415524 -3.085215)', '2026-07-17 19:56:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415548 -3.085204)'), GeomFromEWKT('SRID=4674;POINT (-39.415524 -3.085215)'))) / (select extract(epoch from '2026-07-17 19:56:16'::timestamp) - extract(epoch from '2026-07-17 19:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415548 -3.085204)'), GeomFromEWKT('SRID=4674;POINT (-39.415524 -3.085215)'))) / (select extract(epoch from '2026-07-17 19:56:16'::timestamp) - extract(epoch from '2026-07-17 19:56: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'), 47991, 'SRID=4674;POINT (-39.415506 -3.085218)', '2026-07-17 19:56:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415524 -3.085215)'), GeomFromEWKT('SRID=4674;POINT (-39.415506 -3.085218)'))) / (select extract(epoch from '2026-07-17 19:56:23'::timestamp) - extract(epoch from '2026-07-17 19:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415524 -3.085215)'), GeomFromEWKT('SRID=4674;POINT (-39.415506 -3.085218)'))) / (select extract(epoch from '2026-07-17 19:56:23'::timestamp) - extract(epoch from '2026-07-17 19:56: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'), 47991, 'SRID=4674;POINT (-39.415494 -3.085227)', '2026-07-17 19:56:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415506 -3.085218)'), GeomFromEWKT('SRID=4674;POINT (-39.415494 -3.085227)'))) / (select extract(epoch from '2026-07-17 19:56:32'::timestamp) - extract(epoch from '2026-07-17 19:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415506 -3.085218)'), GeomFromEWKT('SRID=4674;POINT (-39.415494 -3.085227)'))) / (select extract(epoch from '2026-07-17 19:56:32'::timestamp) - extract(epoch from '2026-07-17 19:56: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'), 47991, 'SRID=4674;POINT (-39.415475 -3.085233)', '2026-07-17 19:56:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415494 -3.085227)'), GeomFromEWKT('SRID=4674;POINT (-39.415475 -3.085233)'))) / (select extract(epoch from '2026-07-17 19:56:37'::timestamp) - extract(epoch from '2026-07-17 19:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415494 -3.085227)'), GeomFromEWKT('SRID=4674;POINT (-39.415475 -3.085233)'))) / (select extract(epoch from '2026-07-17 19:56:37'::timestamp) - extract(epoch from '2026-07-17 19:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415447 -3.085243)', '2026-07-17 19:56:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415475 -3.085233)'), GeomFromEWKT('SRID=4674;POINT (-39.415447 -3.085243)'))) / (select extract(epoch from '2026-07-17 19:56:47'::timestamp) - extract(epoch from '2026-07-17 19:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415475 -3.085233)'), GeomFromEWKT('SRID=4674;POINT (-39.415447 -3.085243)'))) / (select extract(epoch from '2026-07-17 19:56:47'::timestamp) - extract(epoch from '2026-07-17 19:56: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'), 47991, 'SRID=4674;POINT (-39.415415 -3.085262)', '2026-07-17 19:56:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415447 -3.085243)'), GeomFromEWKT('SRID=4674;POINT (-39.415415 -3.085262)'))) / (select extract(epoch from '2026-07-17 19:56:56'::timestamp) - extract(epoch from '2026-07-17 19:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415447 -3.085243)'), GeomFromEWKT('SRID=4674;POINT (-39.415415 -3.085262)'))) / (select extract(epoch from '2026-07-17 19:56:56'::timestamp) - extract(epoch from '2026-07-17 19:56: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'), 47991, 'SRID=4674;POINT (-39.41539 -3.08527)', '2026-07-17 19:57:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415415 -3.085262)'), GeomFromEWKT('SRID=4674;POINT (-39.41539 -3.08527)'))) / (select extract(epoch from '2026-07-17 19:57:05'::timestamp) - extract(epoch from '2026-07-17 19:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415415 -3.085262)'), GeomFromEWKT('SRID=4674;POINT (-39.41539 -3.08527)'))) / (select extract(epoch from '2026-07-17 19:57:05'::timestamp) - extract(epoch from '2026-07-17 19:56: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'), 47991, 'SRID=4674;POINT (-39.415357 -3.085275)', '2026-07-17 19:57:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41539 -3.08527)'), GeomFromEWKT('SRID=4674;POINT (-39.415357 -3.085275)'))) / (select extract(epoch from '2026-07-17 19:57:11'::timestamp) - extract(epoch from '2026-07-17 19:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41539 -3.08527)'), GeomFromEWKT('SRID=4674;POINT (-39.415357 -3.085275)'))) / (select extract(epoch from '2026-07-17 19:57:11'::timestamp) - extract(epoch from '2026-07-17 19:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41535 -3.085287)', '2026-07-17 19:57:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415357 -3.085275)'), GeomFromEWKT('SRID=4674;POINT (-39.41535 -3.085287)'))) / (select extract(epoch from '2026-07-17 19:57:18'::timestamp) - extract(epoch from '2026-07-17 19:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415357 -3.085275)'), GeomFromEWKT('SRID=4674;POINT (-39.41535 -3.085287)'))) / (select extract(epoch from '2026-07-17 19:57:18'::timestamp) - extract(epoch from '2026-07-17 19:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415331 -3.085286)', '2026-07-17 19:57:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41535 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.415331 -3.085286)'))) / (select extract(epoch from '2026-07-17 19:57:26'::timestamp) - extract(epoch from '2026-07-17 19:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41535 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.415331 -3.085286)'))) / (select extract(epoch from '2026-07-17 19:57:26'::timestamp) - extract(epoch from '2026-07-17 19:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41531 -3.085287)', '2026-07-17 19:57:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415331 -3.085286)'), GeomFromEWKT('SRID=4674;POINT (-39.41531 -3.085287)'))) / (select extract(epoch from '2026-07-17 19:57:33'::timestamp) - extract(epoch from '2026-07-17 19:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415331 -3.085286)'), GeomFromEWKT('SRID=4674;POINT (-39.41531 -3.085287)'))) / (select extract(epoch from '2026-07-17 19:57:33'::timestamp) - extract(epoch from '2026-07-17 19:57: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'), 47991, 'SRID=4674;POINT (-39.415296 -3.085293)', '2026-07-17 19:57:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41531 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.415296 -3.085293)'))) / (select extract(epoch from '2026-07-17 19:57:43'::timestamp) - extract(epoch from '2026-07-17 19:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41531 -3.085287)'), GeomFromEWKT('SRID=4674;POINT (-39.415296 -3.085293)'))) / (select extract(epoch from '2026-07-17 19:57:43'::timestamp) - extract(epoch from '2026-07-17 19:57: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'), 47991, 'SRID=4674;POINT (-39.415268 -3.085308)', '2026-07-17 19:57:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415296 -3.085293)'), GeomFromEWKT('SRID=4674;POINT (-39.415268 -3.085308)'))) / (select extract(epoch from '2026-07-17 19:57:52'::timestamp) - extract(epoch from '2026-07-17 19:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415296 -3.085293)'), GeomFromEWKT('SRID=4674;POINT (-39.415268 -3.085308)'))) / (select extract(epoch from '2026-07-17 19:57:52'::timestamp) - extract(epoch from '2026-07-17 19:57: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'), 47991, 'SRID=4674;POINT (-39.415239 -3.085314)', '2026-07-17 19:58:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415268 -3.085308)'), GeomFromEWKT('SRID=4674;POINT (-39.415239 -3.085314)'))) / (select extract(epoch from '2026-07-17 19:58:03'::timestamp) - extract(epoch from '2026-07-17 19:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415268 -3.085308)'), GeomFromEWKT('SRID=4674;POINT (-39.415239 -3.085314)'))) / (select extract(epoch from '2026-07-17 19:58:03'::timestamp) - extract(epoch from '2026-07-17 19:57: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'), 47991, 'SRID=4674;POINT (-39.415225 -3.085318)', '2026-07-17 19:58:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415239 -3.085314)'), GeomFromEWKT('SRID=4674;POINT (-39.415225 -3.085318)'))) / (select extract(epoch from '2026-07-17 19:58:08'::timestamp) - extract(epoch from '2026-07-17 19:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415239 -3.085314)'), GeomFromEWKT('SRID=4674;POINT (-39.415225 -3.085318)'))) / (select extract(epoch from '2026-07-17 19:58:08'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.415193 -3.085331)', '2026-07-17 19:58:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415225 -3.085318)'), GeomFromEWKT('SRID=4674;POINT (-39.415193 -3.085331)'))) / (select extract(epoch from '2026-07-17 19:58:17'::timestamp) - extract(epoch from '2026-07-17 19:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415225 -3.085318)'), GeomFromEWKT('SRID=4674;POINT (-39.415193 -3.085331)'))) / (select extract(epoch from '2026-07-17 19:58:17'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.415189 -3.085341)', '2026-07-17 19:58:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415193 -3.085331)'), GeomFromEWKT('SRID=4674;POINT (-39.415189 -3.085341)'))) / (select extract(epoch from '2026-07-17 19:58:24'::timestamp) - extract(epoch from '2026-07-17 19:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415193 -3.085331)'), GeomFromEWKT('SRID=4674;POINT (-39.415189 -3.085341)'))) / (select extract(epoch from '2026-07-17 19:58:24'::timestamp) - extract(epoch from '2026-07-17 19:58:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415183 -3.085352)', '2026-07-17 19:58:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415189 -3.085341)'), GeomFromEWKT('SRID=4674;POINT (-39.415183 -3.085352)'))) / (select extract(epoch from '2026-07-17 19:58:34'::timestamp) - extract(epoch from '2026-07-17 19:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415189 -3.085341)'), GeomFromEWKT('SRID=4674;POINT (-39.415183 -3.085352)'))) / (select extract(epoch from '2026-07-17 19:58:34'::timestamp) - extract(epoch from '2026-07-17 19:58: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'), 47991, 'SRID=4674;POINT (-39.415166 -3.085372)', '2026-07-17 19:58:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415183 -3.085352)'), GeomFromEWKT('SRID=4674;POINT (-39.415166 -3.085372)'))) / (select extract(epoch from '2026-07-17 19:58:42'::timestamp) - extract(epoch from '2026-07-17 19:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415183 -3.085352)'), GeomFromEWKT('SRID=4674;POINT (-39.415166 -3.085372)'))) / (select extract(epoch from '2026-07-17 19:58:42'::timestamp) - extract(epoch from '2026-07-17 19:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415148 -3.085359)', '2026-07-17 19:58:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415166 -3.085372)'), GeomFromEWKT('SRID=4674;POINT (-39.415148 -3.085359)'))) / (select extract(epoch from '2026-07-17 19:58:51'::timestamp) - extract(epoch from '2026-07-17 19:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415166 -3.085372)'), GeomFromEWKT('SRID=4674;POINT (-39.415148 -3.085359)'))) / (select extract(epoch from '2026-07-17 19:58:51'::timestamp) - extract(epoch from '2026-07-17 19:58: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'), 47991, 'SRID=4674;POINT (-39.415137 -3.085355)', '2026-07-17 19:58:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415148 -3.085359)'), GeomFromEWKT('SRID=4674;POINT (-39.415137 -3.085355)'))) / (select extract(epoch from '2026-07-17 19:58:58'::timestamp) - extract(epoch from '2026-07-17 19:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415148 -3.085359)'), GeomFromEWKT('SRID=4674;POINT (-39.415137 -3.085355)'))) / (select extract(epoch from '2026-07-17 19:58:58'::timestamp) - extract(epoch from '2026-07-17 19:58: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'), 47991, 'SRID=4674;POINT (-39.415128 -3.085369)', '2026-07-17 19:59:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415137 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.415128 -3.085369)'))) / (select extract(epoch from '2026-07-17 19:59:07'::timestamp) - extract(epoch from '2026-07-17 19:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415137 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.415128 -3.085369)'))) / (select extract(epoch from '2026-07-17 19:59:07'::timestamp) - extract(epoch from '2026-07-17 19:58: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'), 47991, 'SRID=4674;POINT (-39.4151 -3.085384)', '2026-07-17 19:59:14', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415128 -3.085369)'), GeomFromEWKT('SRID=4674;POINT (-39.4151 -3.085384)'))) / (select extract(epoch from '2026-07-17 19:59:14'::timestamp) - extract(epoch from '2026-07-17 19:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415128 -3.085369)'), GeomFromEWKT('SRID=4674;POINT (-39.4151 -3.085384)'))) / (select extract(epoch from '2026-07-17 19:59:14'::timestamp) - extract(epoch from '2026-07-17 19:59: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'), 47991, 'SRID=4674;POINT (-39.415083 -3.085399)', '2026-07-17 19:59:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4151 -3.085384)'), GeomFromEWKT('SRID=4674;POINT (-39.415083 -3.085399)'))) / (select extract(epoch from '2026-07-17 19:59:22'::timestamp) - extract(epoch from '2026-07-17 19:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4151 -3.085384)'), GeomFromEWKT('SRID=4674;POINT (-39.415083 -3.085399)'))) / (select extract(epoch from '2026-07-17 19:59:22'::timestamp) - extract(epoch from '2026-07-17 19:59: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'), 47991, 'SRID=4674;POINT (-39.415066 -3.085415)', '2026-07-17 19:59:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415083 -3.085399)'), GeomFromEWKT('SRID=4674;POINT (-39.415066 -3.085415)'))) / (select extract(epoch from '2026-07-17 19:59:32'::timestamp) - extract(epoch from '2026-07-17 19:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415083 -3.085399)'), GeomFromEWKT('SRID=4674;POINT (-39.415066 -3.085415)'))) / (select extract(epoch from '2026-07-17 19:59:32'::timestamp) - extract(epoch from '2026-07-17 19:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415053 -3.085413)', '2026-07-17 19:59:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415066 -3.085415)'), GeomFromEWKT('SRID=4674;POINT (-39.415053 -3.085413)'))) / (select extract(epoch from '2026-07-17 19:59:43'::timestamp) - extract(epoch from '2026-07-17 19:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415066 -3.085415)'), GeomFromEWKT('SRID=4674;POINT (-39.415053 -3.085413)'))) / (select extract(epoch from '2026-07-17 19:59:43'::timestamp) - extract(epoch from '2026-07-17 19:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415037 -3.085414)', '2026-07-17 19:59:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415053 -3.085413)'), GeomFromEWKT('SRID=4674;POINT (-39.415037 -3.085414)'))) / (select extract(epoch from '2026-07-17 19:59:52'::timestamp) - extract(epoch from '2026-07-17 19:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415053 -3.085413)'), GeomFromEWKT('SRID=4674;POINT (-39.415037 -3.085414)'))) / (select extract(epoch from '2026-07-17 19:59:52'::timestamp) - extract(epoch from '2026-07-17 19:59:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415005 -3.085425)', '2026-07-17 20:00:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415037 -3.085414)'), GeomFromEWKT('SRID=4674;POINT (-39.415005 -3.085425)'))) / (select extract(epoch from '2026-07-17 20:00:01'::timestamp) - extract(epoch from '2026-07-17 19:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415037 -3.085414)'), GeomFromEWKT('SRID=4674;POINT (-39.415005 -3.085425)'))) / (select extract(epoch from '2026-07-17 20:00:01'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47991, 'SRID=4674;POINT (-39.414995 -3.085436)', '2026-07-17 20:00:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415005 -3.085425)'), GeomFromEWKT('SRID=4674;POINT (-39.414995 -3.085436)'))) / (select extract(epoch from '2026-07-17 20:00:06'::timestamp) - extract(epoch from '2026-07-17 20:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415005 -3.085425)'), GeomFromEWKT('SRID=4674;POINT (-39.414995 -3.085436)'))) / (select extract(epoch from '2026-07-17 20:00:06'::timestamp) - extract(epoch from '2026-07-17 20: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'), 47991, 'SRID=4674;POINT (-39.414968 -3.085436)', '2026-07-17 20:00:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414995 -3.085436)'), GeomFromEWKT('SRID=4674;POINT (-39.414968 -3.085436)'))) / (select extract(epoch from '2026-07-17 20:00:15'::timestamp) - extract(epoch from '2026-07-17 20:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414995 -3.085436)'), GeomFromEWKT('SRID=4674;POINT (-39.414968 -3.085436)'))) / (select extract(epoch from '2026-07-17 20:00:15'::timestamp) - extract(epoch from '2026-07-17 20:00:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.414954 -3.085443)', '2026-07-17 20:00:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414968 -3.085436)'), GeomFromEWKT('SRID=4674;POINT (-39.414954 -3.085443)'))) / (select extract(epoch from '2026-07-17 20:00:24'::timestamp) - extract(epoch from '2026-07-17 20:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414968 -3.085436)'), GeomFromEWKT('SRID=4674;POINT (-39.414954 -3.085443)'))) / (select extract(epoch from '2026-07-17 20:00:24'::timestamp) - extract(epoch from '2026-07-17 20:00: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'), 47991, 'SRID=4674;POINT (-39.414934 -3.085461)', '2026-07-17 20:00:30', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414954 -3.085443)'), GeomFromEWKT('SRID=4674;POINT (-39.414934 -3.085461)'))) / (select extract(epoch from '2026-07-17 20:00:30'::timestamp) - extract(epoch from '2026-07-17 20:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414954 -3.085443)'), GeomFromEWKT('SRID=4674;POINT (-39.414934 -3.085461)'))) / (select extract(epoch from '2026-07-17 20:00:30'::timestamp) - extract(epoch from '2026-07-17 20:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.414905 -3.085471)', '2026-07-17 20:00:39', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414934 -3.085461)'), GeomFromEWKT('SRID=4674;POINT (-39.414905 -3.085471)'))) / (select extract(epoch from '2026-07-17 20:00:39'::timestamp) - extract(epoch from '2026-07-17 20:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414934 -3.085461)'), GeomFromEWKT('SRID=4674;POINT (-39.414905 -3.085471)'))) / (select extract(epoch from '2026-07-17 20:00:39'::timestamp) - extract(epoch from '2026-07-17 20:00: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'), 47991, 'SRID=4674;POINT (-39.414891 -3.08547)', '2026-07-17 20:00:49', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414905 -3.085471)'), GeomFromEWKT('SRID=4674;POINT (-39.414891 -3.08547)'))) / (select extract(epoch from '2026-07-17 20:00:49'::timestamp) - extract(epoch from '2026-07-17 20:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414905 -3.085471)'), GeomFromEWKT('SRID=4674;POINT (-39.414891 -3.08547)'))) / (select extract(epoch from '2026-07-17 20:00:49'::timestamp) - extract(epoch from '2026-07-17 20:00: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'), 47991, 'SRID=4674;POINT (-39.414872 -3.085483)', '2026-07-17 20:00:55', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414891 -3.08547)'), GeomFromEWKT('SRID=4674;POINT (-39.414872 -3.085483)'))) / (select extract(epoch from '2026-07-17 20:00:55'::timestamp) - extract(epoch from '2026-07-17 20:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414891 -3.08547)'), GeomFromEWKT('SRID=4674;POINT (-39.414872 -3.085483)'))) / (select extract(epoch from '2026-07-17 20:00:55'::timestamp) - extract(epoch from '2026-07-17 20:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.414849 -3.085491)', '2026-07-17 20:01:06', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414872 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.414849 -3.085491)'))) / (select extract(epoch from '2026-07-17 20:01:06'::timestamp) - extract(epoch from '2026-07-17 20:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414872 -3.085483)'), GeomFromEWKT('SRID=4674;POINT (-39.414849 -3.085491)'))) / (select extract(epoch from '2026-07-17 20:01:06'::timestamp) - extract(epoch from '2026-07-17 20:00: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'), 47991, 'SRID=4674;POINT (-39.414843 -3.085505)', '2026-07-17 20:01:16', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414849 -3.085491)'), GeomFromEWKT('SRID=4674;POINT (-39.414843 -3.085505)'))) / (select extract(epoch from '2026-07-17 20:01:16'::timestamp) - extract(epoch from '2026-07-17 20:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414849 -3.085491)'), GeomFromEWKT('SRID=4674;POINT (-39.414843 -3.085505)'))) / (select extract(epoch from '2026-07-17 20:01:16'::timestamp) - extract(epoch from '2026-07-17 20:01:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.414814 -3.085507)', '2026-07-17 20:01:26', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414843 -3.085505)'), GeomFromEWKT('SRID=4674;POINT (-39.414814 -3.085507)'))) / (select extract(epoch from '2026-07-17 20:01:26'::timestamp) - extract(epoch from '2026-07-17 20:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414843 -3.085505)'), GeomFromEWKT('SRID=4674;POINT (-39.414814 -3.085507)'))) / (select extract(epoch from '2026-07-17 20:01:26'::timestamp) - extract(epoch from '2026-07-17 20:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.414804 -3.085504)', '2026-07-17 20:01:32', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414814 -3.085507)'), GeomFromEWKT('SRID=4674;POINT (-39.414804 -3.085504)'))) / (select extract(epoch from '2026-07-17 20:01:32'::timestamp) - extract(epoch from '2026-07-17 20:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414814 -3.085507)'), GeomFromEWKT('SRID=4674;POINT (-39.414804 -3.085504)'))) / (select extract(epoch from '2026-07-17 20:01:32'::timestamp) - extract(epoch from '2026-07-17 20:01: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'), 47991, 'SRID=4674;POINT (-39.414801 -3.085507)', '2026-07-17 20:01:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414804 -3.085504)'), GeomFromEWKT('SRID=4674;POINT (-39.414801 -3.085507)'))) / (select extract(epoch from '2026-07-17 20:01:38'::timestamp) - extract(epoch from '2026-07-17 20:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414804 -3.085504)'), GeomFromEWKT('SRID=4674;POINT (-39.414801 -3.085507)'))) / (select extract(epoch from '2026-07-17 20:01:38'::timestamp) - extract(epoch from '2026-07-17 20:01:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.414794 -3.085511)', '2026-07-17 20:01:45', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414801 -3.085507)'), GeomFromEWKT('SRID=4674;POINT (-39.414794 -3.085511)'))) / (select extract(epoch from '2026-07-17 20:01:45'::timestamp) - extract(epoch from '2026-07-17 20:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414801 -3.085507)'), GeomFromEWKT('SRID=4674;POINT (-39.414794 -3.085511)'))) / (select extract(epoch from '2026-07-17 20:01:45'::timestamp) - extract(epoch from '2026-07-17 20:01: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'), 47991, 'SRID=4674;POINT (-39.414804 -3.085517)', '2026-07-17 20:01:55', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414794 -3.085511)'), GeomFromEWKT('SRID=4674;POINT (-39.414804 -3.085517)'))) / (select extract(epoch from '2026-07-17 20:01:55'::timestamp) - extract(epoch from '2026-07-17 20:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414794 -3.085511)'), GeomFromEWKT('SRID=4674;POINT (-39.414804 -3.085517)'))) / (select extract(epoch from '2026-07-17 20:01:55'::timestamp) - extract(epoch from '2026-07-17 20:01: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'), 47991, 'SRID=4674;POINT (-39.414812 -3.085513)', '2026-07-17 20:02:04', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414804 -3.085517)'), GeomFromEWKT('SRID=4674;POINT (-39.414812 -3.085513)'))) / (select extract(epoch from '2026-07-17 20:02:04'::timestamp) - extract(epoch from '2026-07-17 20:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414804 -3.085517)'), GeomFromEWKT('SRID=4674;POINT (-39.414812 -3.085513)'))) / (select extract(epoch from '2026-07-17 20:02:04'::timestamp) - extract(epoch from '2026-07-17 20:01: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'), 47991, 'SRID=4674;POINT (-39.414828 -3.085515)', '2026-07-17 20:02:18', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414812 -3.085513)'), GeomFromEWKT('SRID=4674;POINT (-39.414828 -3.085515)'))) / (select extract(epoch from '2026-07-17 20:02:18'::timestamp) - extract(epoch from '2026-07-17 20:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414812 -3.085513)'), GeomFromEWKT('SRID=4674;POINT (-39.414828 -3.085515)'))) / (select extract(epoch from '2026-07-17 20:02:18'::timestamp) - extract(epoch from '2026-07-17 20:02: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'), 47991, 'SRID=4674;POINT (-39.414855 -3.085507)', '2026-07-17 20:02:28', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414828 -3.085515)'), GeomFromEWKT('SRID=4674;POINT (-39.414855 -3.085507)'))) / (select extract(epoch from '2026-07-17 20:02:28'::timestamp) - extract(epoch from '2026-07-17 20:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414828 -3.085515)'), GeomFromEWKT('SRID=4674;POINT (-39.414855 -3.085507)'))) / (select extract(epoch from '2026-07-17 20:02:28'::timestamp) - extract(epoch from '2026-07-17 20:02: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'), 47991, 'SRID=4674;POINT (-39.414862 -3.085502)', '2026-07-17 20:02:35', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414855 -3.085507)'), GeomFromEWKT('SRID=4674;POINT (-39.414862 -3.085502)'))) / (select extract(epoch from '2026-07-17 20:02:35'::timestamp) - extract(epoch from '2026-07-17 20:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414855 -3.085507)'), GeomFromEWKT('SRID=4674;POINT (-39.414862 -3.085502)'))) / (select extract(epoch from '2026-07-17 20:02:35'::timestamp) - extract(epoch from '2026-07-17 20:02: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'), 47991, 'SRID=4674;POINT (-39.414881 -3.085489)', '2026-07-17 20:02:46', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414862 -3.085502)'), GeomFromEWKT('SRID=4674;POINT (-39.414881 -3.085489)'))) / (select extract(epoch from '2026-07-17 20:02:46'::timestamp) - extract(epoch from '2026-07-17 20:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414862 -3.085502)'), GeomFromEWKT('SRID=4674;POINT (-39.414881 -3.085489)'))) / (select extract(epoch from '2026-07-17 20:02:46'::timestamp) - extract(epoch from '2026-07-17 20:02: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'), 47991, 'SRID=4674;POINT (-39.414908 -3.085473)', '2026-07-17 20:02:57', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414881 -3.085489)'), GeomFromEWKT('SRID=4674;POINT (-39.414908 -3.085473)'))) / (select extract(epoch from '2026-07-17 20:02:57'::timestamp) - extract(epoch from '2026-07-17 20:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414881 -3.085489)'), GeomFromEWKT('SRID=4674;POINT (-39.414908 -3.085473)'))) / (select extract(epoch from '2026-07-17 20:02:57'::timestamp) - extract(epoch from '2026-07-17 20:02: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'), 47991, 'SRID=4674;POINT (-39.414935 -3.085465)', '2026-07-17 20:03:05', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414908 -3.085473)'), GeomFromEWKT('SRID=4674;POINT (-39.414935 -3.085465)'))) / (select extract(epoch from '2026-07-17 20:03:05'::timestamp) - extract(epoch from '2026-07-17 20:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414908 -3.085473)'), GeomFromEWKT('SRID=4674;POINT (-39.414935 -3.085465)'))) / (select extract(epoch from '2026-07-17 20:03:05'::timestamp) - extract(epoch from '2026-07-17 20:02: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'), 47991, 'SRID=4674;POINT (-39.414975 -3.085443)', '2026-07-17 20:03:14', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414935 -3.085465)'), GeomFromEWKT('SRID=4674;POINT (-39.414975 -3.085443)'))) / (select extract(epoch from '2026-07-17 20:03:14'::timestamp) - extract(epoch from '2026-07-17 20:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414935 -3.085465)'), GeomFromEWKT('SRID=4674;POINT (-39.414975 -3.085443)'))) / (select extract(epoch from '2026-07-17 20:03:14'::timestamp) - extract(epoch from '2026-07-17 20:03: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'), 47991, 'SRID=4674;POINT (-39.414993 -3.085432)', '2026-07-17 20:03:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414975 -3.085443)'), GeomFromEWKT('SRID=4674;POINT (-39.414993 -3.085432)'))) / (select extract(epoch from '2026-07-17 20:03:20'::timestamp) - extract(epoch from '2026-07-17 20:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414975 -3.085443)'), GeomFromEWKT('SRID=4674;POINT (-39.414993 -3.085432)'))) / (select extract(epoch from '2026-07-17 20:03:20'::timestamp) - extract(epoch from '2026-07-17 20:03: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'), 47991, 'SRID=4674;POINT (-39.415033 -3.085425)', '2026-07-17 20:03:29', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414993 -3.085432)'), GeomFromEWKT('SRID=4674;POINT (-39.415033 -3.085425)'))) / (select extract(epoch from '2026-07-17 20:03:29'::timestamp) - extract(epoch from '2026-07-17 20:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414993 -3.085432)'), GeomFromEWKT('SRID=4674;POINT (-39.415033 -3.085425)'))) / (select extract(epoch from '2026-07-17 20:03:29'::timestamp) - extract(epoch from '2026-07-17 20:03: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'), 47991, 'SRID=4674;POINT (-39.415065 -3.085418)', '2026-07-17 20:03:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415033 -3.085425)'), GeomFromEWKT('SRID=4674;POINT (-39.415065 -3.085418)'))) / (select extract(epoch from '2026-07-17 20:03:37'::timestamp) - extract(epoch from '2026-07-17 20:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415033 -3.085425)'), GeomFromEWKT('SRID=4674;POINT (-39.415065 -3.085418)'))) / (select extract(epoch from '2026-07-17 20:03:37'::timestamp) - extract(epoch from '2026-07-17 20:03: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'), 47991, 'SRID=4674;POINT (-39.415089 -3.085416)', '2026-07-17 20:03:43', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415065 -3.085418)'), GeomFromEWKT('SRID=4674;POINT (-39.415089 -3.085416)'))) / (select extract(epoch from '2026-07-17 20:03:43'::timestamp) - extract(epoch from '2026-07-17 20:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415065 -3.085418)'), GeomFromEWKT('SRID=4674;POINT (-39.415089 -3.085416)'))) / (select extract(epoch from '2026-07-17 20:03:43'::timestamp) - extract(epoch from '2026-07-17 20:03: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'), 47991, 'SRID=4674;POINT (-39.415108 -3.085414)', '2026-07-17 20:03:50', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415089 -3.085416)'), GeomFromEWKT('SRID=4674;POINT (-39.415108 -3.085414)'))) / (select extract(epoch from '2026-07-17 20:03:50'::timestamp) - extract(epoch from '2026-07-17 20:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415089 -3.085416)'), GeomFromEWKT('SRID=4674;POINT (-39.415108 -3.085414)'))) / (select extract(epoch from '2026-07-17 20:03:50'::timestamp) - extract(epoch from '2026-07-17 20:03: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'), 47991, 'SRID=4674;POINT (-39.415159 -3.085392)', '2026-07-17 20:04:00', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415108 -3.085414)'), GeomFromEWKT('SRID=4674;POINT (-39.415159 -3.085392)'))) / (select extract(epoch from '2026-07-17 20:04:00'::timestamp) - extract(epoch from '2026-07-17 20:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415108 -3.085414)'), GeomFromEWKT('SRID=4674;POINT (-39.415159 -3.085392)'))) / (select extract(epoch from '2026-07-17 20:04:00'::timestamp) - extract(epoch from '2026-07-17 20:03: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'), 47991, 'SRID=4674;POINT (-39.415195 -3.085355)', '2026-07-17 20:04:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415159 -3.085392)'), GeomFromEWKT('SRID=4674;POINT (-39.415195 -3.085355)'))) / (select extract(epoch from '2026-07-17 20:04:08'::timestamp) - extract(epoch from '2026-07-17 20:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415159 -3.085392)'), GeomFromEWKT('SRID=4674;POINT (-39.415195 -3.085355)'))) / (select extract(epoch from '2026-07-17 20:04:08'::timestamp) - extract(epoch from '2026-07-17 20:04: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'), 47991, 'SRID=4674;POINT (-39.415223 -3.085324)', '2026-07-17 20:04:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415195 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.415223 -3.085324)'))) / (select extract(epoch from '2026-07-17 20:04:16'::timestamp) - extract(epoch from '2026-07-17 20:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415195 -3.085355)'), GeomFromEWKT('SRID=4674;POINT (-39.415223 -3.085324)'))) / (select extract(epoch from '2026-07-17 20:04:16'::timestamp) - extract(epoch from '2026-07-17 20:04:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415247 -3.085305)', '2026-07-17 20:04:23', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415223 -3.085324)'), GeomFromEWKT('SRID=4674;POINT (-39.415247 -3.085305)'))) / (select extract(epoch from '2026-07-17 20:04:23'::timestamp) - extract(epoch from '2026-07-17 20:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415223 -3.085324)'), GeomFromEWKT('SRID=4674;POINT (-39.415247 -3.085305)'))) / (select extract(epoch from '2026-07-17 20:04:23'::timestamp) - extract(epoch from '2026-07-17 20:04: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'), 47991, 'SRID=4674;POINT (-39.41529 -3.085296)', '2026-07-17 20:04:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415247 -3.085305)'), GeomFromEWKT('SRID=4674;POINT (-39.41529 -3.085296)'))) / (select extract(epoch from '2026-07-17 20:04:30'::timestamp) - extract(epoch from '2026-07-17 20:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415247 -3.085305)'), GeomFromEWKT('SRID=4674;POINT (-39.41529 -3.085296)'))) / (select extract(epoch from '2026-07-17 20:04:30'::timestamp) - extract(epoch from '2026-07-17 20:04: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'), 47991, 'SRID=4674;POINT (-39.415339 -3.085278)', '2026-07-17 20:04:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41529 -3.085296)'), GeomFromEWKT('SRID=4674;POINT (-39.415339 -3.085278)'))) / (select extract(epoch from '2026-07-17 20:04:39'::timestamp) - extract(epoch from '2026-07-17 20:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41529 -3.085296)'), GeomFromEWKT('SRID=4674;POINT (-39.415339 -3.085278)'))) / (select extract(epoch from '2026-07-17 20:04:39'::timestamp) - extract(epoch from '2026-07-17 20:04: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'), 47991, 'SRID=4674;POINT (-39.415396 -3.085267)', '2026-07-17 20:04:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415339 -3.085278)'), GeomFromEWKT('SRID=4674;POINT (-39.415396 -3.085267)'))) / (select extract(epoch from '2026-07-17 20:04:48'::timestamp) - extract(epoch from '2026-07-17 20:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415339 -3.085278)'), GeomFromEWKT('SRID=4674;POINT (-39.415396 -3.085267)'))) / (select extract(epoch from '2026-07-17 20:04:48'::timestamp) - extract(epoch from '2026-07-17 20:04: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'), 47991, 'SRID=4674;POINT (-39.415443 -3.085249)', '2026-07-17 20:04:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415396 -3.085267)'), GeomFromEWKT('SRID=4674;POINT (-39.415443 -3.085249)'))) / (select extract(epoch from '2026-07-17 20:04:57'::timestamp) - extract(epoch from '2026-07-17 20:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415396 -3.085267)'), GeomFromEWKT('SRID=4674;POINT (-39.415443 -3.085249)'))) / (select extract(epoch from '2026-07-17 20:04:57'::timestamp) - extract(epoch from '2026-07-17 20:04: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'), 47991, 'SRID=4674;POINT (-39.415496 -3.085231)', '2026-07-17 20:05:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415443 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.415496 -3.085231)'))) / (select extract(epoch from '2026-07-17 20:05:06'::timestamp) - extract(epoch from '2026-07-17 20:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415443 -3.085249)'), GeomFromEWKT('SRID=4674;POINT (-39.415496 -3.085231)'))) / (select extract(epoch from '2026-07-17 20:05:06'::timestamp) - extract(epoch from '2026-07-17 20:04: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'), 47991, 'SRID=4674;POINT (-39.415547 -3.085202)', '2026-07-17 20:05:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415496 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.415547 -3.085202)'))) / (select extract(epoch from '2026-07-17 20:05:15'::timestamp) - extract(epoch from '2026-07-17 20:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415496 -3.085231)'), GeomFromEWKT('SRID=4674;POINT (-39.415547 -3.085202)'))) / (select extract(epoch from '2026-07-17 20:05:15'::timestamp) - extract(epoch from '2026-07-17 20:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41558 -3.085183)', '2026-07-17 20:05:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415547 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.41558 -3.085183)'))) / (select extract(epoch from '2026-07-17 20:05:23'::timestamp) - extract(epoch from '2026-07-17 20:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415547 -3.085202)'), GeomFromEWKT('SRID=4674;POINT (-39.41558 -3.085183)'))) / (select extract(epoch from '2026-07-17 20:05:23'::timestamp) - extract(epoch from '2026-07-17 20:05: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'), 47991, 'SRID=4674;POINT (-39.415621 -3.085168)', '2026-07-17 20:05:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41558 -3.085183)'), GeomFromEWKT('SRID=4674;POINT (-39.415621 -3.085168)'))) / (select extract(epoch from '2026-07-17 20:05:31'::timestamp) - extract(epoch from '2026-07-17 20:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41558 -3.085183)'), GeomFromEWKT('SRID=4674;POINT (-39.415621 -3.085168)'))) / (select extract(epoch from '2026-07-17 20:05:31'::timestamp) - extract(epoch from '2026-07-17 20:05: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'), 47991, 'SRID=4674;POINT (-39.415672 -3.085148)', '2026-07-17 20:05:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415621 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.415672 -3.085148)'))) / (select extract(epoch from '2026-07-17 20:05:40'::timestamp) - extract(epoch from '2026-07-17 20:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415621 -3.085168)'), GeomFromEWKT('SRID=4674;POINT (-39.415672 -3.085148)'))) / (select extract(epoch from '2026-07-17 20:05:40'::timestamp) - extract(epoch from '2026-07-17 20:05: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'), 47991, 'SRID=4674;POINT (-39.415712 -3.085136)', '2026-07-17 20:05:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415672 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.415712 -3.085136)'))) / (select extract(epoch from '2026-07-17 20:05:48'::timestamp) - extract(epoch from '2026-07-17 20:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415672 -3.085148)'), GeomFromEWKT('SRID=4674;POINT (-39.415712 -3.085136)'))) / (select extract(epoch from '2026-07-17 20:05:48'::timestamp) - extract(epoch from '2026-07-17 20:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.415766 -3.085117)', '2026-07-17 20:05:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415712 -3.085136)'), GeomFromEWKT('SRID=4674;POINT (-39.415766 -3.085117)'))) / (select extract(epoch from '2026-07-17 20:05:58'::timestamp) - extract(epoch from '2026-07-17 20:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415712 -3.085136)'), GeomFromEWKT('SRID=4674;POINT (-39.415766 -3.085117)'))) / (select extract(epoch from '2026-07-17 20:05:58'::timestamp) - extract(epoch from '2026-07-17 20:05: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'), 47991, 'SRID=4674;POINT (-39.415809 -3.085108)', '2026-07-17 20:06:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415766 -3.085117)'), GeomFromEWKT('SRID=4674;POINT (-39.415809 -3.085108)'))) / (select extract(epoch from '2026-07-17 20:06:06'::timestamp) - extract(epoch from '2026-07-17 20:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415766 -3.085117)'), GeomFromEWKT('SRID=4674;POINT (-39.415809 -3.085108)'))) / (select extract(epoch from '2026-07-17 20:06:06'::timestamp) - extract(epoch from '2026-07-17 20:05: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'), 47991, 'SRID=4674;POINT (-39.41586 -3.08509)', '2026-07-17 20:06:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415809 -3.085108)'), GeomFromEWKT('SRID=4674;POINT (-39.41586 -3.08509)'))) / (select extract(epoch from '2026-07-17 20:06:16'::timestamp) - extract(epoch from '2026-07-17 20:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415809 -3.085108)'), GeomFromEWKT('SRID=4674;POINT (-39.41586 -3.08509)'))) / (select extract(epoch from '2026-07-17 20:06:16'::timestamp) - extract(epoch from '2026-07-17 20:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41591 -3.085064)', '2026-07-17 20:06:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41586 -3.08509)'), GeomFromEWKT('SRID=4674;POINT (-39.41591 -3.085064)'))) / (select extract(epoch from '2026-07-17 20:06:25'::timestamp) - extract(epoch from '2026-07-17 20:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41586 -3.08509)'), GeomFromEWKT('SRID=4674;POINT (-39.41591 -3.085064)'))) / (select extract(epoch from '2026-07-17 20:06:25'::timestamp) - extract(epoch from '2026-07-17 20:06: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'), 47991, 'SRID=4674;POINT (-39.415951 -3.085053)', '2026-07-17 20:06:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41591 -3.085064)'), GeomFromEWKT('SRID=4674;POINT (-39.415951 -3.085053)'))) / (select extract(epoch from '2026-07-17 20:06:33'::timestamp) - extract(epoch from '2026-07-17 20:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41591 -3.085064)'), GeomFromEWKT('SRID=4674;POINT (-39.415951 -3.085053)'))) / (select extract(epoch from '2026-07-17 20:06:33'::timestamp) - extract(epoch from '2026-07-17 20:06: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'), 47991, 'SRID=4674;POINT (-39.41598 -3.085042)', '2026-07-17 20:06:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415951 -3.085053)'), GeomFromEWKT('SRID=4674;POINT (-39.41598 -3.085042)'))) / (select extract(epoch from '2026-07-17 20:06:39'::timestamp) - extract(epoch from '2026-07-17 20:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415951 -3.085053)'), GeomFromEWKT('SRID=4674;POINT (-39.41598 -3.085042)'))) / (select extract(epoch from '2026-07-17 20:06:39'::timestamp) - extract(epoch from '2026-07-17 20:06: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'), 47991, 'SRID=4674;POINT (-39.416023 -3.08503)', '2026-07-17 20:06:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41598 -3.085042)'), GeomFromEWKT('SRID=4674;POINT (-39.416023 -3.08503)'))) / (select extract(epoch from '2026-07-17 20:06:46'::timestamp) - extract(epoch from '2026-07-17 20:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41598 -3.085042)'), GeomFromEWKT('SRID=4674;POINT (-39.416023 -3.08503)'))) / (select extract(epoch from '2026-07-17 20:06:46'::timestamp) - extract(epoch from '2026-07-17 20:06: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'), 47991, 'SRID=4674;POINT (-39.416051 -3.085013)', '2026-07-17 20:06:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416023 -3.08503)'), GeomFromEWKT('SRID=4674;POINT (-39.416051 -3.085013)'))) / (select extract(epoch from '2026-07-17 20:06:53'::timestamp) - extract(epoch from '2026-07-17 20:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416023 -3.08503)'), GeomFromEWKT('SRID=4674;POINT (-39.416051 -3.085013)'))) / (select extract(epoch from '2026-07-17 20:06:53'::timestamp) - extract(epoch from '2026-07-17 20:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416104 -3.084995)', '2026-07-17 20:07:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416051 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.416104 -3.084995)'))) / (select extract(epoch from '2026-07-17 20:07:01'::timestamp) - extract(epoch from '2026-07-17 20:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416051 -3.085013)'), GeomFromEWKT('SRID=4674;POINT (-39.416104 -3.084995)'))) / (select extract(epoch from '2026-07-17 20:07:01'::timestamp) - extract(epoch from '2026-07-17 20:06: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'), 47991, 'SRID=4674;POINT (-39.416141 -3.084977)', '2026-07-17 20:07:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416104 -3.084995)'), GeomFromEWKT('SRID=4674;POINT (-39.416141 -3.084977)'))) / (select extract(epoch from '2026-07-17 20:07:08'::timestamp) - extract(epoch from '2026-07-17 20:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416104 -3.084995)'), GeomFromEWKT('SRID=4674;POINT (-39.416141 -3.084977)'))) / (select extract(epoch from '2026-07-17 20:07:08'::timestamp) - extract(epoch from '2026-07-17 20:07: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'), 47991, 'SRID=4674;POINT (-39.416171 -3.084961)', '2026-07-17 20:07:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416141 -3.084977)'), GeomFromEWKT('SRID=4674;POINT (-39.416171 -3.084961)'))) / (select extract(epoch from '2026-07-17 20:07:14'::timestamp) - extract(epoch from '2026-07-17 20:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416141 -3.084977)'), GeomFromEWKT('SRID=4674;POINT (-39.416171 -3.084961)'))) / (select extract(epoch from '2026-07-17 20:07:14'::timestamp) - extract(epoch from '2026-07-17 20:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416181 -3.084959)', '2026-07-17 20:07:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416171 -3.084961)'), GeomFromEWKT('SRID=4674;POINT (-39.416181 -3.084959)'))) / (select extract(epoch from '2026-07-17 20:07:15'::timestamp) - extract(epoch from '2026-07-17 20:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416171 -3.084961)'), GeomFromEWKT('SRID=4674;POINT (-39.416181 -3.084959)'))) / (select extract(epoch from '2026-07-17 20:07:15'::timestamp) - extract(epoch from '2026-07-17 20:07: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'), 47991, 'SRID=4674;POINT (-39.41621 -3.084932)', '2026-07-17 20:07:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416181 -3.084959)'), GeomFromEWKT('SRID=4674;POINT (-39.41621 -3.084932)'))) / (select extract(epoch from '2026-07-17 20:07:21'::timestamp) - extract(epoch from '2026-07-17 20:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416181 -3.084959)'), GeomFromEWKT('SRID=4674;POINT (-39.41621 -3.084932)'))) / (select extract(epoch from '2026-07-17 20:07:21'::timestamp) - extract(epoch from '2026-07-17 20:07: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'), 47991, 'SRID=4674;POINT (-39.416264 -3.084913)', '2026-07-17 20:07:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41621 -3.084932)'), GeomFromEWKT('SRID=4674;POINT (-39.416264 -3.084913)'))) / (select extract(epoch from '2026-07-17 20:07:32'::timestamp) - extract(epoch from '2026-07-17 20:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41621 -3.084932)'), GeomFromEWKT('SRID=4674;POINT (-39.416264 -3.084913)'))) / (select extract(epoch from '2026-07-17 20:07:32'::timestamp) - extract(epoch from '2026-07-17 20:07: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'), 47991, 'SRID=4674;POINT (-39.416312 -3.0849)', '2026-07-17 20:07:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416264 -3.084913)'), GeomFromEWKT('SRID=4674;POINT (-39.416312 -3.0849)'))) / (select extract(epoch from '2026-07-17 20:07:42'::timestamp) - extract(epoch from '2026-07-17 20:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416264 -3.084913)'), GeomFromEWKT('SRID=4674;POINT (-39.416312 -3.0849)'))) / (select extract(epoch from '2026-07-17 20:07:42'::timestamp) - extract(epoch from '2026-07-17 20:07: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'), 47991, 'SRID=4674;POINT (-39.416364 -3.084885)', '2026-07-17 20:07:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416312 -3.0849)'), GeomFromEWKT('SRID=4674;POINT (-39.416364 -3.084885)'))) / (select extract(epoch from '2026-07-17 20:07:52'::timestamp) - extract(epoch from '2026-07-17 20:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416312 -3.0849)'), GeomFromEWKT('SRID=4674;POINT (-39.416364 -3.084885)'))) / (select extract(epoch from '2026-07-17 20:07:52'::timestamp) - extract(epoch from '2026-07-17 20:07: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'), 47991, 'SRID=4674;POINT (-39.416418 -3.084866)', '2026-07-17 20:08:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416364 -3.084885)'), GeomFromEWKT('SRID=4674;POINT (-39.416418 -3.084866)'))) / (select extract(epoch from '2026-07-17 20:08:03'::timestamp) - extract(epoch from '2026-07-17 20:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416364 -3.084885)'), GeomFromEWKT('SRID=4674;POINT (-39.416418 -3.084866)'))) / (select extract(epoch from '2026-07-17 20:08:03'::timestamp) - extract(epoch from '2026-07-17 20:07: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'), 47991, 'SRID=4674;POINT (-39.416468 -3.084833)', '2026-07-17 20:08:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416418 -3.084866)'), GeomFromEWKT('SRID=4674;POINT (-39.416468 -3.084833)'))) / (select extract(epoch from '2026-07-17 20:08:14'::timestamp) - extract(epoch from '2026-07-17 20:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416418 -3.084866)'), GeomFromEWKT('SRID=4674;POINT (-39.416468 -3.084833)'))) / (select extract(epoch from '2026-07-17 20:08:14'::timestamp) - extract(epoch from '2026-07-17 20:08: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'), 47991, 'SRID=4674;POINT (-39.416511 -3.084807)', '2026-07-17 20:08:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416468 -3.084833)'), GeomFromEWKT('SRID=4674;POINT (-39.416511 -3.084807)'))) / (select extract(epoch from '2026-07-17 20:08:25'::timestamp) - extract(epoch from '2026-07-17 20:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416468 -3.084833)'), GeomFromEWKT('SRID=4674;POINT (-39.416511 -3.084807)'))) / (select extract(epoch from '2026-07-17 20:08:25'::timestamp) - extract(epoch from '2026-07-17 20:08: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'), 47991, 'SRID=4674;POINT (-39.416573 -3.084808)', '2026-07-17 20:08:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416511 -3.084807)'), GeomFromEWKT('SRID=4674;POINT (-39.416573 -3.084808)'))) / (select extract(epoch from '2026-07-17 20:08:34'::timestamp) - extract(epoch from '2026-07-17 20:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416511 -3.084807)'), GeomFromEWKT('SRID=4674;POINT (-39.416573 -3.084808)'))) / (select extract(epoch from '2026-07-17 20:08:34'::timestamp) - extract(epoch from '2026-07-17 20:08: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'), 47991, 'SRID=4674;POINT (-39.416617 -3.084811)', '2026-07-17 20:08:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416573 -3.084808)'), GeomFromEWKT('SRID=4674;POINT (-39.416617 -3.084811)'))) / (select extract(epoch from '2026-07-17 20:08:43'::timestamp) - extract(epoch from '2026-07-17 20:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416573 -3.084808)'), GeomFromEWKT('SRID=4674;POINT (-39.416617 -3.084811)'))) / (select extract(epoch from '2026-07-17 20:08:43'::timestamp) - extract(epoch from '2026-07-17 20:08: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'), 47991, 'SRID=4674;POINT (-39.416681 -3.084851)', '2026-07-17 20:08:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416617 -3.084811)'), GeomFromEWKT('SRID=4674;POINT (-39.416681 -3.084851)'))) / (select extract(epoch from '2026-07-17 20:08:50'::timestamp) - extract(epoch from '2026-07-17 20:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416617 -3.084811)'), GeomFromEWKT('SRID=4674;POINT (-39.416681 -3.084851)'))) / (select extract(epoch from '2026-07-17 20:08:50'::timestamp) - extract(epoch from '2026-07-17 20:08: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'), 47991, 'SRID=4674;POINT (-39.416716 -3.084865)', '2026-07-17 20:09:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416681 -3.084851)'), GeomFromEWKT('SRID=4674;POINT (-39.416716 -3.084865)'))) / (select extract(epoch from '2026-07-17 20:09:00'::timestamp) - extract(epoch from '2026-07-17 20:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416681 -3.084851)'), GeomFromEWKT('SRID=4674;POINT (-39.416716 -3.084865)'))) / (select extract(epoch from '2026-07-17 20:09:00'::timestamp) - extract(epoch from '2026-07-17 20:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.416757 -3.084858)', '2026-07-17 20:09:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416716 -3.084865)'), GeomFromEWKT('SRID=4674;POINT (-39.416757 -3.084858)'))) / (select extract(epoch from '2026-07-17 20:09:10'::timestamp) - extract(epoch from '2026-07-17 20:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416716 -3.084865)'), GeomFromEWKT('SRID=4674;POINT (-39.416757 -3.084858)'))) / (select extract(epoch from '2026-07-17 20:09:10'::timestamp) - extract(epoch from '2026-07-17 20:09: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'), 47991, 'SRID=4674;POINT (-39.416793 -3.084851)', '2026-07-17 20:09:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416757 -3.084858)'), GeomFromEWKT('SRID=4674;POINT (-39.416793 -3.084851)'))) / (select extract(epoch from '2026-07-17 20:09:17'::timestamp) - extract(epoch from '2026-07-17 20:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416757 -3.084858)'), GeomFromEWKT('SRID=4674;POINT (-39.416793 -3.084851)'))) / (select extract(epoch from '2026-07-17 20:09:17'::timestamp) - extract(epoch from '2026-07-17 20:09: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'), 47991, 'SRID=4674;POINT (-39.416842 -3.084848)', '2026-07-17 20:09:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416793 -3.084851)'), GeomFromEWKT('SRID=4674;POINT (-39.416842 -3.084848)'))) / (select extract(epoch from '2026-07-17 20:09:25'::timestamp) - extract(epoch from '2026-07-17 20:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416793 -3.084851)'), GeomFromEWKT('SRID=4674;POINT (-39.416842 -3.084848)'))) / (select extract(epoch from '2026-07-17 20:09:25'::timestamp) - extract(epoch from '2026-07-17 20:09: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'), 47991, 'SRID=4674;POINT (-39.416894 -3.084845)', '2026-07-17 20:09:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416842 -3.084848)'), GeomFromEWKT('SRID=4674;POINT (-39.416894 -3.084845)'))) / (select extract(epoch from '2026-07-17 20:09:35'::timestamp) - extract(epoch from '2026-07-17 20:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416842 -3.084848)'), GeomFromEWKT('SRID=4674;POINT (-39.416894 -3.084845)'))) / (select extract(epoch from '2026-07-17 20:09:35'::timestamp) - extract(epoch from '2026-07-17 20:09: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'), 47991, 'SRID=4674;POINT (-39.41694 -3.08485)', '2026-07-17 20:09:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416894 -3.084845)'), GeomFromEWKT('SRID=4674;POINT (-39.41694 -3.08485)'))) / (select extract(epoch from '2026-07-17 20:09:43'::timestamp) - extract(epoch from '2026-07-17 20:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416894 -3.084845)'), GeomFromEWKT('SRID=4674;POINT (-39.41694 -3.08485)'))) / (select extract(epoch from '2026-07-17 20:09:43'::timestamp) - extract(epoch from '2026-07-17 20:09: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'), 47991, 'SRID=4674;POINT (-39.416987 -3.084839)', '2026-07-17 20:09:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41694 -3.08485)'), GeomFromEWKT('SRID=4674;POINT (-39.416987 -3.084839)'))) / (select extract(epoch from '2026-07-17 20:09:52'::timestamp) - extract(epoch from '2026-07-17 20:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41694 -3.08485)'), GeomFromEWKT('SRID=4674;POINT (-39.416987 -3.084839)'))) / (select extract(epoch from '2026-07-17 20:09:52'::timestamp) - extract(epoch from '2026-07-17 20:09: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'), 47991, 'SRID=4674;POINT (-39.41704 -3.084824)', '2026-07-17 20:10:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416987 -3.084839)'), GeomFromEWKT('SRID=4674;POINT (-39.41704 -3.084824)'))) / (select extract(epoch from '2026-07-17 20:10:02'::timestamp) - extract(epoch from '2026-07-17 20:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416987 -3.084839)'), GeomFromEWKT('SRID=4674;POINT (-39.41704 -3.084824)'))) / (select extract(epoch from '2026-07-17 20:10:02'::timestamp) - extract(epoch from '2026-07-17 20:09: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'), 47991, 'SRID=4674;POINT (-39.41708 -3.084823)', '2026-07-17 20:10:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41704 -3.084824)'), GeomFromEWKT('SRID=4674;POINT (-39.41708 -3.084823)'))) / (select extract(epoch from '2026-07-17 20:10:09'::timestamp) - extract(epoch from '2026-07-17 20:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41704 -3.084824)'), GeomFromEWKT('SRID=4674;POINT (-39.41708 -3.084823)'))) / (select extract(epoch from '2026-07-17 20:10:09'::timestamp) - extract(epoch from '2026-07-17 20:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.41713 -3.084816)', '2026-07-17 20:10:18', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41708 -3.084823)'), GeomFromEWKT('SRID=4674;POINT (-39.41713 -3.084816)'))) / (select extract(epoch from '2026-07-17 20:10:18'::timestamp) - extract(epoch from '2026-07-17 20:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41708 -3.084823)'), GeomFromEWKT('SRID=4674;POINT (-39.41713 -3.084816)'))) / (select extract(epoch from '2026-07-17 20:10:18'::timestamp) - extract(epoch from '2026-07-17 20: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'), 47991, 'SRID=4674;POINT (-39.417192 -3.084862)', '2026-07-17 20:10:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41713 -3.084816)'), GeomFromEWKT('SRID=4674;POINT (-39.417192 -3.084862)'))) / (select extract(epoch from '2026-07-17 20:10:25'::timestamp) - extract(epoch from '2026-07-17 20:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41713 -3.084816)'), GeomFromEWKT('SRID=4674;POINT (-39.417192 -3.084862)'))) / (select extract(epoch from '2026-07-17 20:10:25'::timestamp) - extract(epoch from '2026-07-17 20: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'), 47991, 'SRID=4674;POINT (-39.41723 -3.084964)', '2026-07-17 20:10:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417192 -3.084862)'), GeomFromEWKT('SRID=4674;POINT (-39.41723 -3.084964)'))) / (select extract(epoch from '2026-07-17 20:10:31'::timestamp) - extract(epoch from '2026-07-17 20:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417192 -3.084862)'), GeomFromEWKT('SRID=4674;POINT (-39.41723 -3.084964)'))) / (select extract(epoch from '2026-07-17 20:10:31'::timestamp) - extract(epoch from '2026-07-17 20:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417247 -3.085021)', '2026-07-17 20:10:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41723 -3.084964)'), GeomFromEWKT('SRID=4674;POINT (-39.417247 -3.085021)'))) / (select extract(epoch from '2026-07-17 20:10:34'::timestamp) - extract(epoch from '2026-07-17 20:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41723 -3.084964)'), GeomFromEWKT('SRID=4674;POINT (-39.417247 -3.085021)'))) / (select extract(epoch from '2026-07-17 20:10:34'::timestamp) - extract(epoch from '2026-07-17 20:10: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'), 47991, 'SRID=4674;POINT (-39.417246 -3.085056)', '2026-07-17 20:10:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417247 -3.085021)'), GeomFromEWKT('SRID=4674;POINT (-39.417246 -3.085056)'))) / (select extract(epoch from '2026-07-17 20:10:36'::timestamp) - extract(epoch from '2026-07-17 20:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417247 -3.085021)'), GeomFromEWKT('SRID=4674;POINT (-39.417246 -3.085056)'))) / (select extract(epoch from '2026-07-17 20:10:36'::timestamp) - extract(epoch from '2026-07-17 20: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'), 47991, 'SRID=4674;POINT (-39.417251 -3.085075)', '2026-07-17 20:10:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417246 -3.085056)'), GeomFromEWKT('SRID=4674;POINT (-39.417251 -3.085075)'))) / (select extract(epoch from '2026-07-17 20:10:37'::timestamp) - extract(epoch from '2026-07-17 20:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417246 -3.085056)'), GeomFromEWKT('SRID=4674;POINT (-39.417251 -3.085075)'))) / (select extract(epoch from '2026-07-17 20:10:37'::timestamp) - extract(epoch from '2026-07-17 20:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417287 -3.08512)', '2026-07-17 20:10:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417251 -3.085075)'), GeomFromEWKT('SRID=4674;POINT (-39.417287 -3.08512)'))) / (select extract(epoch from '2026-07-17 20:10:40'::timestamp) - extract(epoch from '2026-07-17 20:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417251 -3.085075)'), GeomFromEWKT('SRID=4674;POINT (-39.417287 -3.08512)'))) / (select extract(epoch from '2026-07-17 20:10:40'::timestamp) - extract(epoch from '2026-07-17 20:10: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'), 47991, 'SRID=4674;POINT (-39.417342 -3.085219)', '2026-07-17 20:10:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417287 -3.08512)'), GeomFromEWKT('SRID=4674;POINT (-39.417342 -3.085219)'))) / (select extract(epoch from '2026-07-17 20:10:46'::timestamp) - extract(epoch from '2026-07-17 20:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417287 -3.08512)'), GeomFromEWKT('SRID=4674;POINT (-39.417342 -3.085219)'))) / (select extract(epoch from '2026-07-17 20:10:46'::timestamp) - extract(epoch from '2026-07-17 20:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417386 -3.08533)', '2026-07-17 20:10:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417342 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.417386 -3.08533)'))) / (select extract(epoch from '2026-07-17 20:10:52'::timestamp) - extract(epoch from '2026-07-17 20:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417342 -3.085219)'), GeomFromEWKT('SRID=4674;POINT (-39.417386 -3.08533)'))) / (select extract(epoch from '2026-07-17 20:10:52'::timestamp) - extract(epoch from '2026-07-17 20:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417398 -3.085367)', '2026-07-17 20:10:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417386 -3.08533)'), GeomFromEWKT('SRID=4674;POINT (-39.417398 -3.085367)'))) / (select extract(epoch from '2026-07-17 20:10:54'::timestamp) - extract(epoch from '2026-07-17 20:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417386 -3.08533)'), GeomFromEWKT('SRID=4674;POINT (-39.417398 -3.085367)'))) / (select extract(epoch from '2026-07-17 20:10:54'::timestamp) - extract(epoch from '2026-07-17 20:10: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'), 47991, 'SRID=4674;POINT (-39.417419 -3.085412)', '2026-07-17 20:10:57', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417398 -3.085367)'), GeomFromEWKT('SRID=4674;POINT (-39.417419 -3.085412)'))) / (select extract(epoch from '2026-07-17 20:10:57'::timestamp) - extract(epoch from '2026-07-17 20:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417398 -3.085367)'), GeomFromEWKT('SRID=4674;POINT (-39.417419 -3.085412)'))) / (select extract(epoch from '2026-07-17 20:10:57'::timestamp) - extract(epoch from '2026-07-17 20:10: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'), 47991, 'SRID=4674;POINT (-39.417454 -3.085529)', '2026-07-17 20:11:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417419 -3.085412)'), GeomFromEWKT('SRID=4674;POINT (-39.417454 -3.085529)'))) / (select extract(epoch from '2026-07-17 20:11:03'::timestamp) - extract(epoch from '2026-07-17 20:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417419 -3.085412)'), GeomFromEWKT('SRID=4674;POINT (-39.417454 -3.085529)'))) / (select extract(epoch from '2026-07-17 20:11:03'::timestamp) - extract(epoch from '2026-07-17 20:10: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'), 47991, 'SRID=4674;POINT (-39.417502 -3.085656)', '2026-07-17 20:11:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417454 -3.085529)'), GeomFromEWKT('SRID=4674;POINT (-39.417502 -3.085656)'))) / (select extract(epoch from '2026-07-17 20:11:10'::timestamp) - extract(epoch from '2026-07-17 20:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417454 -3.085529)'), GeomFromEWKT('SRID=4674;POINT (-39.417502 -3.085656)'))) / (select extract(epoch from '2026-07-17 20:11:10'::timestamp) - extract(epoch from '2026-07-17 20:11: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'), 47991, 'SRID=4674;POINT (-39.417556 -3.085738)', '2026-07-17 20:11:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417502 -3.085656)'), GeomFromEWKT('SRID=4674;POINT (-39.417556 -3.085738)'))) / (select extract(epoch from '2026-07-17 20:11:15'::timestamp) - extract(epoch from '2026-07-17 20:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417502 -3.085656)'), GeomFromEWKT('SRID=4674;POINT (-39.417556 -3.085738)'))) / (select extract(epoch from '2026-07-17 20:11:15'::timestamp) - extract(epoch from '2026-07-17 20:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417603 -3.08584)', '2026-07-17 20:11:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417556 -3.085738)'), GeomFromEWKT('SRID=4674;POINT (-39.417603 -3.08584)'))) / (select extract(epoch from '2026-07-17 20:11:20'::timestamp) - extract(epoch from '2026-07-17 20:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417556 -3.085738)'), GeomFromEWKT('SRID=4674;POINT (-39.417603 -3.08584)'))) / (select extract(epoch from '2026-07-17 20:11:20'::timestamp) - extract(epoch from '2026-07-17 20:11: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'), 47991, 'SRID=4674;POINT (-39.417631 -3.085933)', '2026-07-17 20:11:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417603 -3.08584)'), GeomFromEWKT('SRID=4674;POINT (-39.417631 -3.085933)'))) / (select extract(epoch from '2026-07-17 20:11:25'::timestamp) - extract(epoch from '2026-07-17 20:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417603 -3.08584)'), GeomFromEWKT('SRID=4674;POINT (-39.417631 -3.085933)'))) / (select extract(epoch from '2026-07-17 20:11:25'::timestamp) - extract(epoch from '2026-07-17 20:11: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'), 47991, 'SRID=4674;POINT (-39.417665 -3.086046)', '2026-07-17 20:11:31', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417631 -3.085933)'), GeomFromEWKT('SRID=4674;POINT (-39.417665 -3.086046)'))) / (select extract(epoch from '2026-07-17 20:11:31'::timestamp) - extract(epoch from '2026-07-17 20:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417631 -3.085933)'), GeomFromEWKT('SRID=4674;POINT (-39.417665 -3.086046)'))) / (select extract(epoch from '2026-07-17 20:11:31'::timestamp) - extract(epoch from '2026-07-17 20:11: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'), 47991, 'SRID=4674;POINT (-39.417669 -3.086061)', '2026-07-17 20:11:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417665 -3.086046)'), GeomFromEWKT('SRID=4674;POINT (-39.417669 -3.086061)'))) / (select extract(epoch from '2026-07-17 20:11:32'::timestamp) - extract(epoch from '2026-07-17 20:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417665 -3.086046)'), GeomFromEWKT('SRID=4674;POINT (-39.417669 -3.086061)'))) / (select extract(epoch from '2026-07-17 20:11:32'::timestamp) - extract(epoch from '2026-07-17 20:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417682 -3.086137)', '2026-07-17 20:11:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417669 -3.086061)'), GeomFromEWKT('SRID=4674;POINT (-39.417682 -3.086137)'))) / (select extract(epoch from '2026-07-17 20:11:36'::timestamp) - extract(epoch from '2026-07-17 20:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417669 -3.086061)'), GeomFromEWKT('SRID=4674;POINT (-39.417682 -3.086137)'))) / (select extract(epoch from '2026-07-17 20:11:36'::timestamp) - extract(epoch from '2026-07-17 20:11: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'), 47991, 'SRID=4674;POINT (-39.417708 -3.086256)', '2026-07-17 20:11:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417682 -3.086137)'), GeomFromEWKT('SRID=4674;POINT (-39.417708 -3.086256)'))) / (select extract(epoch from '2026-07-17 20:11:43'::timestamp) - extract(epoch from '2026-07-17 20:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417682 -3.086137)'), GeomFromEWKT('SRID=4674;POINT (-39.417708 -3.086256)'))) / (select extract(epoch from '2026-07-17 20:11:43'::timestamp) - extract(epoch from '2026-07-17 20:11: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'), 47991, 'SRID=4674;POINT (-39.417743 -3.086365)', '2026-07-17 20:11:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417708 -3.086256)'), GeomFromEWKT('SRID=4674;POINT (-39.417743 -3.086365)'))) / (select extract(epoch from '2026-07-17 20:11:49'::timestamp) - extract(epoch from '2026-07-17 20:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417708 -3.086256)'), GeomFromEWKT('SRID=4674;POINT (-39.417743 -3.086365)'))) / (select extract(epoch from '2026-07-17 20:11:49'::timestamp) - extract(epoch from '2026-07-17 20: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'), 47991, 'SRID=4674;POINT (-39.417783 -3.086482)', '2026-07-17 20:11:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417743 -3.086365)'), GeomFromEWKT('SRID=4674;POINT (-39.417783 -3.086482)'))) / (select extract(epoch from '2026-07-17 20:11:55'::timestamp) - extract(epoch from '2026-07-17 20:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417743 -3.086365)'), GeomFromEWKT('SRID=4674;POINT (-39.417783 -3.086482)'))) / (select extract(epoch from '2026-07-17 20:11:55'::timestamp) - extract(epoch from '2026-07-17 20:11: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'), 47991, 'SRID=4674;POINT (-39.417826 -3.086573)', '2026-07-17 20:12:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417783 -3.086482)'), GeomFromEWKT('SRID=4674;POINT (-39.417826 -3.086573)'))) / (select extract(epoch from '2026-07-17 20:12:00'::timestamp) - extract(epoch from '2026-07-17 20:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417783 -3.086482)'), GeomFromEWKT('SRID=4674;POINT (-39.417826 -3.086573)'))) / (select extract(epoch from '2026-07-17 20:12:00'::timestamp) - extract(epoch from '2026-07-17 20:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417848 -3.086651)', '2026-07-17 20:12:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417826 -3.086573)'), GeomFromEWKT('SRID=4674;POINT (-39.417848 -3.086651)'))) / (select extract(epoch from '2026-07-17 20:12:04'::timestamp) - extract(epoch from '2026-07-17 20:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417826 -3.086573)'), GeomFromEWKT('SRID=4674;POINT (-39.417848 -3.086651)'))) / (select extract(epoch from '2026-07-17 20:12:04'::timestamp) - extract(epoch from '2026-07-17 20:12: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'), 47991, 'SRID=4674;POINT (-39.417881 -3.086719)', '2026-07-17 20:12:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417848 -3.086651)'), GeomFromEWKT('SRID=4674;POINT (-39.417881 -3.086719)'))) / (select extract(epoch from '2026-07-17 20:12:08'::timestamp) - extract(epoch from '2026-07-17 20:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417848 -3.086651)'), GeomFromEWKT('SRID=4674;POINT (-39.417881 -3.086719)'))) / (select extract(epoch from '2026-07-17 20:12:08'::timestamp) - extract(epoch from '2026-07-17 20:12: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'), 47991, 'SRID=4674;POINT (-39.417926 -3.086788)', '2026-07-17 20:12:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417881 -3.086719)'), GeomFromEWKT('SRID=4674;POINT (-39.417926 -3.086788)'))) / (select extract(epoch from '2026-07-17 20:12:12'::timestamp) - extract(epoch from '2026-07-17 20:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417881 -3.086719)'), GeomFromEWKT('SRID=4674;POINT (-39.417926 -3.086788)'))) / (select extract(epoch from '2026-07-17 20:12:12'::timestamp) - extract(epoch from '2026-07-17 20:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.417995 -3.086917)', '2026-07-17 20:12:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417926 -3.086788)'), GeomFromEWKT('SRID=4674;POINT (-39.417995 -3.086917)'))) / (select extract(epoch from '2026-07-17 20:12:19'::timestamp) - extract(epoch from '2026-07-17 20:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417926 -3.086788)'), GeomFromEWKT('SRID=4674;POINT (-39.417995 -3.086917)'))) / (select extract(epoch from '2026-07-17 20:12:19'::timestamp) - extract(epoch from '2026-07-17 20:12: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'), 47991, 'SRID=4674;POINT (-39.418055 -3.087024)', '2026-07-17 20:12:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417995 -3.086917)'), GeomFromEWKT('SRID=4674;POINT (-39.418055 -3.087024)'))) / (select extract(epoch from '2026-07-17 20:12:25'::timestamp) - extract(epoch from '2026-07-17 20:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417995 -3.086917)'), GeomFromEWKT('SRID=4674;POINT (-39.418055 -3.087024)'))) / (select extract(epoch from '2026-07-17 20:12:25'::timestamp) - extract(epoch from '2026-07-17 20:12: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'), 47991, 'SRID=4674;POINT (-39.41809 -3.087118)', '2026-07-17 20:12:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418055 -3.087024)'), GeomFromEWKT('SRID=4674;POINT (-39.41809 -3.087118)'))) / (select extract(epoch from '2026-07-17 20:12:30'::timestamp) - extract(epoch from '2026-07-17 20:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418055 -3.087024)'), GeomFromEWKT('SRID=4674;POINT (-39.41809 -3.087118)'))) / (select extract(epoch from '2026-07-17 20:12:30'::timestamp) - extract(epoch from '2026-07-17 20:12: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'), 47991, 'SRID=4674;POINT (-39.418122 -3.087212)', '2026-07-17 20:12:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41809 -3.087118)'), GeomFromEWKT('SRID=4674;POINT (-39.418122 -3.087212)'))) / (select extract(epoch from '2026-07-17 20:12:35'::timestamp) - extract(epoch from '2026-07-17 20:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41809 -3.087118)'), GeomFromEWKT('SRID=4674;POINT (-39.418122 -3.087212)'))) / (select extract(epoch from '2026-07-17 20:12:35'::timestamp) - extract(epoch from '2026-07-17 20:12: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'), 47991, 'SRID=4674;POINT (-39.418166 -3.087319)', '2026-07-17 20:12:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418122 -3.087212)'), GeomFromEWKT('SRID=4674;POINT (-39.418166 -3.087319)'))) / (select extract(epoch from '2026-07-17 20:12:41'::timestamp) - extract(epoch from '2026-07-17 20:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418122 -3.087212)'), GeomFromEWKT('SRID=4674;POINT (-39.418166 -3.087319)'))) / (select extract(epoch from '2026-07-17 20:12:41'::timestamp) - extract(epoch from '2026-07-17 20:12: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'), 47991, 'SRID=4674;POINT (-39.418208 -3.087411)', '2026-07-17 20:12:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418166 -3.087319)'), GeomFromEWKT('SRID=4674;POINT (-39.418208 -3.087411)'))) / (select extract(epoch from '2026-07-17 20:12:46'::timestamp) - extract(epoch from '2026-07-17 20:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418166 -3.087319)'), GeomFromEWKT('SRID=4674;POINT (-39.418208 -3.087411)'))) / (select extract(epoch from '2026-07-17 20:12:46'::timestamp) - extract(epoch from '2026-07-17 20:12: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'), 47991, 'SRID=4674;POINT (-39.418247 -3.087519)', '2026-07-17 20:12:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418208 -3.087411)'), GeomFromEWKT('SRID=4674;POINT (-39.418247 -3.087519)'))) / (select extract(epoch from '2026-07-17 20:12:52'::timestamp) - extract(epoch from '2026-07-17 20:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418208 -3.087411)'), GeomFromEWKT('SRID=4674;POINT (-39.418247 -3.087519)'))) / (select extract(epoch from '2026-07-17 20:12:52'::timestamp) - extract(epoch from '2026-07-17 20:12: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'), 47991, 'SRID=4674;POINT (-39.418297 -3.087643)', '2026-07-17 20:12:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418247 -3.087519)'), GeomFromEWKT('SRID=4674;POINT (-39.418297 -3.087643)'))) / (select extract(epoch from '2026-07-17 20:12:59'::timestamp) - extract(epoch from '2026-07-17 20:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418247 -3.087519)'), GeomFromEWKT('SRID=4674;POINT (-39.418297 -3.087643)'))) / (select extract(epoch from '2026-07-17 20:12:59'::timestamp) - extract(epoch from '2026-07-17 20:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418338 -3.087759)', '2026-07-17 20:13:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418297 -3.087643)'), GeomFromEWKT('SRID=4674;POINT (-39.418338 -3.087759)'))) / (select extract(epoch from '2026-07-17 20:13:05'::timestamp) - extract(epoch from '2026-07-17 20:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418297 -3.087643)'), GeomFromEWKT('SRID=4674;POINT (-39.418338 -3.087759)'))) / (select extract(epoch from '2026-07-17 20:13:05'::timestamp) - extract(epoch from '2026-07-17 20:12:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418352 -3.087856)', '2026-07-17 20:13:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418338 -3.087759)'), GeomFromEWKT('SRID=4674;POINT (-39.418352 -3.087856)'))) / (select extract(epoch from '2026-07-17 20:13:10'::timestamp) - extract(epoch from '2026-07-17 20:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418338 -3.087759)'), GeomFromEWKT('SRID=4674;POINT (-39.418352 -3.087856)'))) / (select extract(epoch from '2026-07-17 20:13:10'::timestamp) - extract(epoch from '2026-07-17 20:13: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'), 47991, 'SRID=4674;POINT (-39.418396 -3.087993)', '2026-07-17 20:13:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418352 -3.087856)'), GeomFromEWKT('SRID=4674;POINT (-39.418396 -3.087993)'))) / (select extract(epoch from '2026-07-17 20:13:17'::timestamp) - extract(epoch from '2026-07-17 20:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418352 -3.087856)'), GeomFromEWKT('SRID=4674;POINT (-39.418396 -3.087993)'))) / (select extract(epoch from '2026-07-17 20:13:17'::timestamp) - extract(epoch from '2026-07-17 20:13: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'), 47991, 'SRID=4674;POINT (-39.418419 -3.088097)', '2026-07-17 20:13:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418396 -3.087993)'), GeomFromEWKT('SRID=4674;POINT (-39.418419 -3.088097)'))) / (select extract(epoch from '2026-07-17 20:13:22'::timestamp) - extract(epoch from '2026-07-17 20:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418396 -3.087993)'), GeomFromEWKT('SRID=4674;POINT (-39.418419 -3.088097)'))) / (select extract(epoch from '2026-07-17 20:13:22'::timestamp) - extract(epoch from '2026-07-17 20:13: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'), 47991, 'SRID=4674;POINT (-39.418437 -3.08819)', '2026-07-17 20:13:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418419 -3.088097)'), GeomFromEWKT('SRID=4674;POINT (-39.418437 -3.08819)'))) / (select extract(epoch from '2026-07-17 20:13:27'::timestamp) - extract(epoch from '2026-07-17 20:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418419 -3.088097)'), GeomFromEWKT('SRID=4674;POINT (-39.418437 -3.08819)'))) / (select extract(epoch from '2026-07-17 20:13:27'::timestamp) - extract(epoch from '2026-07-17 20:13: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'), 47991, 'SRID=4674;POINT (-39.41849 -3.08829)', '2026-07-17 20:13:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418437 -3.08819)'), GeomFromEWKT('SRID=4674;POINT (-39.41849 -3.08829)'))) / (select extract(epoch from '2026-07-17 20:13:33'::timestamp) - extract(epoch from '2026-07-17 20:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418437 -3.08819)'), GeomFromEWKT('SRID=4674;POINT (-39.41849 -3.08829)'))) / (select extract(epoch from '2026-07-17 20:13:33'::timestamp) - extract(epoch from '2026-07-17 20:13: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'), 47991, 'SRID=4674;POINT (-39.418545 -3.088428)', '2026-07-17 20:13:40', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41849 -3.08829)'), GeomFromEWKT('SRID=4674;POINT (-39.418545 -3.088428)'))) / (select extract(epoch from '2026-07-17 20:13:40'::timestamp) - extract(epoch from '2026-07-17 20:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41849 -3.08829)'), GeomFromEWKT('SRID=4674;POINT (-39.418545 -3.088428)'))) / (select extract(epoch from '2026-07-17 20:13:40'::timestamp) - extract(epoch from '2026-07-17 20:13: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'), 47991, 'SRID=4674;POINT (-39.418571 -3.088501)', '2026-07-17 20:13:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418545 -3.088428)'), GeomFromEWKT('SRID=4674;POINT (-39.418571 -3.088501)'))) / (select extract(epoch from '2026-07-17 20:13:44'::timestamp) - extract(epoch from '2026-07-17 20:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418545 -3.088428)'), GeomFromEWKT('SRID=4674;POINT (-39.418571 -3.088501)'))) / (select extract(epoch from '2026-07-17 20:13:44'::timestamp) - extract(epoch from '2026-07-17 20:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418582 -3.088518)', '2026-07-17 20:13:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418571 -3.088501)'), GeomFromEWKT('SRID=4674;POINT (-39.418582 -3.088518)'))) / (select extract(epoch from '2026-07-17 20:13:45'::timestamp) - extract(epoch from '2026-07-17 20:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418571 -3.088501)'), GeomFromEWKT('SRID=4674;POINT (-39.418582 -3.088518)'))) / (select extract(epoch from '2026-07-17 20:13:45'::timestamp) - extract(epoch from '2026-07-17 20:13: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'), 47991, 'SRID=4674;POINT (-39.41863 -3.088608)', '2026-07-17 20:13:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418582 -3.088518)'), GeomFromEWKT('SRID=4674;POINT (-39.41863 -3.088608)'))) / (select extract(epoch from '2026-07-17 20:13:50'::timestamp) - extract(epoch from '2026-07-17 20:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418582 -3.088518)'), GeomFromEWKT('SRID=4674;POINT (-39.41863 -3.088608)'))) / (select extract(epoch from '2026-07-17 20:13:50'::timestamp) - extract(epoch from '2026-07-17 20:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418669 -3.088701)', '2026-07-17 20:13:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41863 -3.088608)'), GeomFromEWKT('SRID=4674;POINT (-39.418669 -3.088701)'))) / (select extract(epoch from '2026-07-17 20:13:55'::timestamp) - extract(epoch from '2026-07-17 20:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41863 -3.088608)'), GeomFromEWKT('SRID=4674;POINT (-39.418669 -3.088701)'))) / (select extract(epoch from '2026-07-17 20:13:55'::timestamp) - extract(epoch from '2026-07-17 20:13: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'), 47991, 'SRID=4674;POINT (-39.418711 -3.08882)', '2026-07-17 20:14:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418669 -3.088701)'), GeomFromEWKT('SRID=4674;POINT (-39.418711 -3.08882)'))) / (select extract(epoch from '2026-07-17 20:14:01'::timestamp) - extract(epoch from '2026-07-17 20:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418669 -3.088701)'), GeomFromEWKT('SRID=4674;POINT (-39.418711 -3.08882)'))) / (select extract(epoch from '2026-07-17 20:14:01'::timestamp) - extract(epoch from '2026-07-17 20:13: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'), 47991, 'SRID=4674;POINT (-39.418773 -3.088946)', '2026-07-17 20:14:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418711 -3.08882)'), GeomFromEWKT('SRID=4674;POINT (-39.418773 -3.088946)'))) / (select extract(epoch from '2026-07-17 20:14:08'::timestamp) - extract(epoch from '2026-07-17 20:14:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418711 -3.08882)'), GeomFromEWKT('SRID=4674;POINT (-39.418773 -3.088946)'))) / (select extract(epoch from '2026-07-17 20:14:08'::timestamp) - extract(epoch from '2026-07-17 20:14:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.418812 -3.089055)', '2026-07-17 20:14:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418773 -3.088946)'), GeomFromEWKT('SRID=4674;POINT (-39.418812 -3.089055)'))) / (select extract(epoch from '2026-07-17 20:14:14'::timestamp) - extract(epoch from '2026-07-17 20:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418773 -3.088946)'), GeomFromEWKT('SRID=4674;POINT (-39.418812 -3.089055)'))) / (select extract(epoch from '2026-07-17 20:14:14'::timestamp) - extract(epoch from '2026-07-17 20:14: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'), 47991, 'SRID=4674;POINT (-39.418841 -3.089154)', '2026-07-17 20:14:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418812 -3.089055)'), GeomFromEWKT('SRID=4674;POINT (-39.418841 -3.089154)'))) / (select extract(epoch from '2026-07-17 20:14:19'::timestamp) - extract(epoch from '2026-07-17 20:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418812 -3.089055)'), GeomFromEWKT('SRID=4674;POINT (-39.418841 -3.089154)'))) / (select extract(epoch from '2026-07-17 20:14:19'::timestamp) - extract(epoch from '2026-07-17 20:14: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'), 47991, 'SRID=4674;POINT (-39.418875 -3.089275)', '2026-07-17 20:14:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418841 -3.089154)'), GeomFromEWKT('SRID=4674;POINT (-39.418875 -3.089275)'))) / (select extract(epoch from '2026-07-17 20:14:25'::timestamp) - extract(epoch from '2026-07-17 20:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418841 -3.089154)'), GeomFromEWKT('SRID=4674;POINT (-39.418875 -3.089275)'))) / (select extract(epoch from '2026-07-17 20:14:25'::timestamp) - extract(epoch from '2026-07-17 20:14: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'), 47991, 'SRID=4674;POINT (-39.418912 -3.089393)', '2026-07-17 20:14:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418875 -3.089275)'), GeomFromEWKT('SRID=4674;POINT (-39.418912 -3.089393)'))) / (select extract(epoch from '2026-07-17 20:14:31'::timestamp) - extract(epoch from '2026-07-17 20:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418875 -3.089275)'), GeomFromEWKT('SRID=4674;POINT (-39.418912 -3.089393)'))) / (select extract(epoch from '2026-07-17 20:14:31'::timestamp) - extract(epoch from '2026-07-17 20:14: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'), 47991, 'SRID=4674;POINT (-39.418945 -3.089511)', '2026-07-17 20:14:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418912 -3.089393)'), GeomFromEWKT('SRID=4674;POINT (-39.418945 -3.089511)'))) / (select extract(epoch from '2026-07-17 20:14:37'::timestamp) - extract(epoch from '2026-07-17 20:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418912 -3.089393)'), GeomFromEWKT('SRID=4674;POINT (-39.418945 -3.089511)'))) / (select extract(epoch from '2026-07-17 20:14:37'::timestamp) - extract(epoch from '2026-07-17 20:14: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'), 47991, 'SRID=4674;POINT (-39.418983 -3.089648)', '2026-07-17 20:14:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418945 -3.089511)'), GeomFromEWKT('SRID=4674;POINT (-39.418983 -3.089648)'))) / (select extract(epoch from '2026-07-17 20:14:44'::timestamp) - extract(epoch from '2026-07-17 20:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418945 -3.089511)'), GeomFromEWKT('SRID=4674;POINT (-39.418983 -3.089648)'))) / (select extract(epoch from '2026-07-17 20:14:44'::timestamp) - extract(epoch from '2026-07-17 20:14: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'), 47991, 'SRID=4674;POINT (-39.419042 -3.089764)', '2026-07-17 20:14:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418983 -3.089648)'), GeomFromEWKT('SRID=4674;POINT (-39.419042 -3.089764)'))) / (select extract(epoch from '2026-07-17 20:14:50'::timestamp) - extract(epoch from '2026-07-17 20:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418983 -3.089648)'), GeomFromEWKT('SRID=4674;POINT (-39.419042 -3.089764)'))) / (select extract(epoch from '2026-07-17 20:14:50'::timestamp) - extract(epoch from '2026-07-17 20:14:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419092 -3.089825)', '2026-07-17 20:14:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419042 -3.089764)'), GeomFromEWKT('SRID=4674;POINT (-39.419092 -3.089825)'))) / (select extract(epoch from '2026-07-17 20:14:54'::timestamp) - extract(epoch from '2026-07-17 20:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419042 -3.089764)'), GeomFromEWKT('SRID=4674;POINT (-39.419092 -3.089825)'))) / (select extract(epoch from '2026-07-17 20:14:54'::timestamp) - extract(epoch from '2026-07-17 20:14: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'), 47991, 'SRID=4674;POINT (-39.41915 -3.089902)', '2026-07-17 20:14:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419092 -3.089825)'), GeomFromEWKT('SRID=4674;POINT (-39.41915 -3.089902)'))) / (select extract(epoch from '2026-07-17 20:14:58'::timestamp) - extract(epoch from '2026-07-17 20:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419092 -3.089825)'), GeomFromEWKT('SRID=4674;POINT (-39.41915 -3.089902)'))) / (select extract(epoch from '2026-07-17 20:14:58'::timestamp) - extract(epoch from '2026-07-17 20:14: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'), 47991, 'SRID=4674;POINT (-39.41919 -3.090007)', '2026-07-17 20:15:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41915 -3.089902)'), GeomFromEWKT('SRID=4674;POINT (-39.41919 -3.090007)'))) / (select extract(epoch from '2026-07-17 20:15:04'::timestamp) - extract(epoch from '2026-07-17 20:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41915 -3.089902)'), GeomFromEWKT('SRID=4674;POINT (-39.41919 -3.090007)'))) / (select extract(epoch from '2026-07-17 20:15:04'::timestamp) - extract(epoch from '2026-07-17 20:14: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'), 47991, 'SRID=4674;POINT (-39.419233 -3.09013)', '2026-07-17 20:15:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41919 -3.090007)'), GeomFromEWKT('SRID=4674;POINT (-39.419233 -3.09013)'))) / (select extract(epoch from '2026-07-17 20:15:10'::timestamp) - extract(epoch from '2026-07-17 20:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41919 -3.090007)'), GeomFromEWKT('SRID=4674;POINT (-39.419233 -3.09013)'))) / (select extract(epoch from '2026-07-17 20:15:10'::timestamp) - extract(epoch from '2026-07-17 20:15: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'), 47991, 'SRID=4674;POINT (-39.41928 -3.090233)', '2026-07-17 20:15:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419233 -3.09013)'), GeomFromEWKT('SRID=4674;POINT (-39.41928 -3.090233)'))) / (select extract(epoch from '2026-07-17 20:15:16'::timestamp) - extract(epoch from '2026-07-17 20:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419233 -3.09013)'), GeomFromEWKT('SRID=4674;POINT (-39.41928 -3.090233)'))) / (select extract(epoch from '2026-07-17 20:15:16'::timestamp) - extract(epoch from '2026-07-17 20:15: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'), 47991, 'SRID=4674;POINT (-39.419325 -3.090334)', '2026-07-17 20:15:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41928 -3.090233)'), GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.090334)'))) / (select extract(epoch from '2026-07-17 20:15:21'::timestamp) - extract(epoch from '2026-07-17 20:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41928 -3.090233)'), GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.090334)'))) / (select extract(epoch from '2026-07-17 20:15:21'::timestamp) - extract(epoch from '2026-07-17 20:15: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'), 47991, 'SRID=4674;POINT (-39.419382 -3.090452)', '2026-07-17 20:15:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.090334)'), GeomFromEWKT('SRID=4674;POINT (-39.419382 -3.090452)'))) / (select extract(epoch from '2026-07-17 20:15:27'::timestamp) - extract(epoch from '2026-07-17 20:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419325 -3.090334)'), GeomFromEWKT('SRID=4674;POINT (-39.419382 -3.090452)'))) / (select extract(epoch from '2026-07-17 20:15:27'::timestamp) - extract(epoch from '2026-07-17 20:15: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'), 47991, 'SRID=4674;POINT (-39.419438 -3.090565)', '2026-07-17 20:15:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419382 -3.090452)'), GeomFromEWKT('SRID=4674;POINT (-39.419438 -3.090565)'))) / (select extract(epoch from '2026-07-17 20:15:33'::timestamp) - extract(epoch from '2026-07-17 20:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419382 -3.090452)'), GeomFromEWKT('SRID=4674;POINT (-39.419438 -3.090565)'))) / (select extract(epoch from '2026-07-17 20:15:33'::timestamp) - extract(epoch from '2026-07-17 20:15: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'), 47991, 'SRID=4674;POINT (-39.419488 -3.090708)', '2026-07-17 20:15:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419438 -3.090565)'), GeomFromEWKT('SRID=4674;POINT (-39.419488 -3.090708)'))) / (select extract(epoch from '2026-07-17 20:15:40'::timestamp) - extract(epoch from '2026-07-17 20:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419438 -3.090565)'), GeomFromEWKT('SRID=4674;POINT (-39.419488 -3.090708)'))) / (select extract(epoch from '2026-07-17 20:15:40'::timestamp) - extract(epoch from '2026-07-17 20:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419543 -3.090833)', '2026-07-17 20:15:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419488 -3.090708)'), GeomFromEWKT('SRID=4674;POINT (-39.419543 -3.090833)'))) / (select extract(epoch from '2026-07-17 20:15:47'::timestamp) - extract(epoch from '2026-07-17 20:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419488 -3.090708)'), GeomFromEWKT('SRID=4674;POINT (-39.419543 -3.090833)'))) / (select extract(epoch from '2026-07-17 20:15:47'::timestamp) - extract(epoch from '2026-07-17 20:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47991, 'SRID=4674;POINT (-39.419592 -3.09094)', '2026-07-17 20:15:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419543 -3.090833)'), GeomFromEWKT('SRID=4674;POINT (-39.419592 -3.09094)'))) / (select extract(epoch from '2026-07-17 20:15:53'::timestamp) - extract(epoch from '2026-07-17 20:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419543 -3.090833)'), GeomFromEWKT('SRID=4674;POINT (-39.419592 -3.09094)'))) / (select extract(epoch from '2026-07-17 20:15:53'::timestamp) - extract(epoch from '2026-07-17 20:15:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
