 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.407989 -3.089387)', '2026-07-10 20:41:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407897 -3.089298)'), GeomFromEWKT('SRID=4674;POINT (-39.407989 -3.089387)'))) / (select extract(epoch from '2026-07-10 20:41:11'::timestamp) - extract(epoch from '2026-07-10 20:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407897 -3.089298)'), GeomFromEWKT('SRID=4674;POINT (-39.407989 -3.089387)'))) / (select extract(epoch from '2026-07-10 20:41:11'::timestamp) - extract(epoch from '2026-07-10 20:41: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'), 47986, 'SRID=4674;POINT (-39.408107 -3.08946)', '2026-07-10 20:41:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407989 -3.089387)'), GeomFromEWKT('SRID=4674;POINT (-39.408107 -3.08946)'))) / (select extract(epoch from '2026-07-10 20:41:17'::timestamp) - extract(epoch from '2026-07-10 20:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.407989 -3.089387)'), GeomFromEWKT('SRID=4674;POINT (-39.408107 -3.08946)'))) / (select extract(epoch from '2026-07-10 20:41:17'::timestamp) - extract(epoch from '2026-07-10 20:41: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'), 47986, 'SRID=4674;POINT (-39.408178 -3.089528)', '2026-07-10 20:41:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408107 -3.08946)'), GeomFromEWKT('SRID=4674;POINT (-39.408178 -3.089528)'))) / (select extract(epoch from '2026-07-10 20:41:22'::timestamp) - extract(epoch from '2026-07-10 20:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408107 -3.08946)'), GeomFromEWKT('SRID=4674;POINT (-39.408178 -3.089528)'))) / (select extract(epoch from '2026-07-10 20:41:22'::timestamp) - extract(epoch from '2026-07-10 20:41: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'), 47986, 'SRID=4674;POINT (-39.408243 -3.089621)', '2026-07-10 20:41:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408178 -3.089528)'), GeomFromEWKT('SRID=4674;POINT (-39.408243 -3.089621)'))) / (select extract(epoch from '2026-07-10 20:41:27'::timestamp) - extract(epoch from '2026-07-10 20:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408178 -3.089528)'), GeomFromEWKT('SRID=4674;POINT (-39.408243 -3.089621)'))) / (select extract(epoch from '2026-07-10 20:41:27'::timestamp) - extract(epoch from '2026-07-10 20:41:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.408281 -3.089698)', '2026-07-10 20:41:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408243 -3.089621)'), GeomFromEWKT('SRID=4674;POINT (-39.408281 -3.089698)'))) / (select extract(epoch from '2026-07-10 20:41:32'::timestamp) - extract(epoch from '2026-07-10 20:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408243 -3.089621)'), GeomFromEWKT('SRID=4674;POINT (-39.408281 -3.089698)'))) / (select extract(epoch from '2026-07-10 20:41:32'::timestamp) - extract(epoch from '2026-07-10 20:41: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'), 47986, 'SRID=4674;POINT (-39.408335 -3.0898)', '2026-07-10 20:41:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408281 -3.089698)'), GeomFromEWKT('SRID=4674;POINT (-39.408335 -3.0898)'))) / (select extract(epoch from '2026-07-10 20:41:37'::timestamp) - extract(epoch from '2026-07-10 20:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408281 -3.089698)'), GeomFromEWKT('SRID=4674;POINT (-39.408335 -3.0898)'))) / (select extract(epoch from '2026-07-10 20:41:37'::timestamp) - extract(epoch from '2026-07-10 20:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.408414 -3.089982)', '2026-07-10 20:41:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408335 -3.0898)'), GeomFromEWKT('SRID=4674;POINT (-39.408414 -3.089982)'))) / (select extract(epoch from '2026-07-10 20:41:46'::timestamp) - extract(epoch from '2026-07-10 20:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408335 -3.0898)'), GeomFromEWKT('SRID=4674;POINT (-39.408414 -3.089982)'))) / (select extract(epoch from '2026-07-10 20:41:46'::timestamp) - extract(epoch from '2026-07-10 20:41: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'), 47986, 'SRID=4674;POINT (-39.408463 -3.090089)', '2026-07-10 20:41:51', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408414 -3.089982)'), GeomFromEWKT('SRID=4674;POINT (-39.408463 -3.090089)'))) / (select extract(epoch from '2026-07-10 20:41:51'::timestamp) - extract(epoch from '2026-07-10 20:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408414 -3.089982)'), GeomFromEWKT('SRID=4674;POINT (-39.408463 -3.090089)'))) / (select extract(epoch from '2026-07-10 20:41:51'::timestamp) - extract(epoch from '2026-07-10 20:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.408514 -3.090229)', '2026-07-10 20:41:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408463 -3.090089)'), GeomFromEWKT('SRID=4674;POINT (-39.408514 -3.090229)'))) / (select extract(epoch from '2026-07-10 20:41:58'::timestamp) - extract(epoch from '2026-07-10 20:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408463 -3.090089)'), GeomFromEWKT('SRID=4674;POINT (-39.408514 -3.090229)'))) / (select extract(epoch from '2026-07-10 20:41:58'::timestamp) - extract(epoch from '2026-07-10 20:41: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'), 47986, 'SRID=4674;POINT (-39.408563 -3.090349)', '2026-07-10 20:42:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408514 -3.090229)'), GeomFromEWKT('SRID=4674;POINT (-39.408563 -3.090349)'))) / (select extract(epoch from '2026-07-10 20:42:04'::timestamp) - extract(epoch from '2026-07-10 20:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408514 -3.090229)'), GeomFromEWKT('SRID=4674;POINT (-39.408563 -3.090349)'))) / (select extract(epoch from '2026-07-10 20:42:04'::timestamp) - extract(epoch from '2026-07-10 20:41: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'), 47986, 'SRID=4674;POINT (-39.408613 -3.090459)', '2026-07-10 20:42:10', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408563 -3.090349)'), GeomFromEWKT('SRID=4674;POINT (-39.408613 -3.090459)'))) / (select extract(epoch from '2026-07-10 20:42:10'::timestamp) - extract(epoch from '2026-07-10 20:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408563 -3.090349)'), GeomFromEWKT('SRID=4674;POINT (-39.408613 -3.090459)'))) / (select extract(epoch from '2026-07-10 20:42:10'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.408677 -3.090591)', '2026-07-10 20:42:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408613 -3.090459)'), GeomFromEWKT('SRID=4674;POINT (-39.408677 -3.090591)'))) / (select extract(epoch from '2026-07-10 20:42:17'::timestamp) - extract(epoch from '2026-07-10 20:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408613 -3.090459)'), GeomFromEWKT('SRID=4674;POINT (-39.408677 -3.090591)'))) / (select extract(epoch from '2026-07-10 20:42:17'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47986, 'SRID=4674;POINT (-39.408733 -3.090715)', '2026-07-10 20:42:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408677 -3.090591)'), GeomFromEWKT('SRID=4674;POINT (-39.408733 -3.090715)'))) / (select extract(epoch from '2026-07-10 20:42:24'::timestamp) - extract(epoch from '2026-07-10 20:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408677 -3.090591)'), GeomFromEWKT('SRID=4674;POINT (-39.408733 -3.090715)'))) / (select extract(epoch from '2026-07-10 20:42:24'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47986, 'SRID=4674;POINT (-39.40881 -3.090838)', '2026-07-10 20:42:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408733 -3.090715)'), GeomFromEWKT('SRID=4674;POINT (-39.40881 -3.090838)'))) / (select extract(epoch from '2026-07-10 20:42:30'::timestamp) - extract(epoch from '2026-07-10 20:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408733 -3.090715)'), GeomFromEWKT('SRID=4674;POINT (-39.40881 -3.090838)'))) / (select extract(epoch from '2026-07-10 20:42:30'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47986, 'SRID=4674;POINT (-39.408891 -3.091011)', '2026-07-10 20:42:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40881 -3.090838)'), GeomFromEWKT('SRID=4674;POINT (-39.408891 -3.091011)'))) / (select extract(epoch from '2026-07-10 20:42:39'::timestamp) - extract(epoch from '2026-07-10 20:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40881 -3.090838)'), GeomFromEWKT('SRID=4674;POINT (-39.408891 -3.091011)'))) / (select extract(epoch from '2026-07-10 20:42:39'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47986, 'SRID=4674;POINT (-39.408967 -3.091133)', '2026-07-10 20:42:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408891 -3.091011)'), GeomFromEWKT('SRID=4674;POINT (-39.408967 -3.091133)'))) / (select extract(epoch from '2026-07-10 20:42:45'::timestamp) - extract(epoch from '2026-07-10 20:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408891 -3.091011)'), GeomFromEWKT('SRID=4674;POINT (-39.408967 -3.091133)'))) / (select extract(epoch from '2026-07-10 20:42:45'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47986, 'SRID=4674;POINT (-39.40903 -3.09127)', '2026-07-10 20:42:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408967 -3.091133)'), GeomFromEWKT('SRID=4674;POINT (-39.40903 -3.09127)'))) / (select extract(epoch from '2026-07-10 20:42:52'::timestamp) - extract(epoch from '2026-07-10 20:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.408967 -3.091133)'), GeomFromEWKT('SRID=4674;POINT (-39.40903 -3.09127)'))) / (select extract(epoch from '2026-07-10 20:42:52'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47986, 'SRID=4674;POINT (-39.409087 -3.091389)', '2026-07-10 20:42:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40903 -3.09127)'), GeomFromEWKT('SRID=4674;POINT (-39.409087 -3.091389)'))) / (select extract(epoch from '2026-07-10 20:42:57'::timestamp) - extract(epoch from '2026-07-10 20:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40903 -3.09127)'), GeomFromEWKT('SRID=4674;POINT (-39.409087 -3.091389)'))) / (select extract(epoch from '2026-07-10 20:42:57'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47986, 'SRID=4674;POINT (-39.409129 -3.091485)', '2026-07-10 20:43:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409087 -3.091389)'), GeomFromEWKT('SRID=4674;POINT (-39.409129 -3.091485)'))) / (select extract(epoch from '2026-07-10 20:43:02'::timestamp) - extract(epoch from '2026-07-10 20:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409087 -3.091389)'), GeomFromEWKT('SRID=4674;POINT (-39.409129 -3.091485)'))) / (select extract(epoch from '2026-07-10 20:43:02'::timestamp) - extract(epoch from '2026-07-10 20:42: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'), 47986, 'SRID=4674;POINT (-39.409189 -3.091607)', '2026-07-10 20:43:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409129 -3.091485)'), GeomFromEWKT('SRID=4674;POINT (-39.409189 -3.091607)'))) / (select extract(epoch from '2026-07-10 20:43:08'::timestamp) - extract(epoch from '2026-07-10 20:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409129 -3.091485)'), GeomFromEWKT('SRID=4674;POINT (-39.409189 -3.091607)'))) / (select extract(epoch from '2026-07-10 20:43:08'::timestamp) - extract(epoch from '2026-07-10 20:43: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'), 47986, 'SRID=4674;POINT (-39.409248 -3.091731)', '2026-07-10 20:43:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409189 -3.091607)'), GeomFromEWKT('SRID=4674;POINT (-39.409248 -3.091731)'))) / (select extract(epoch from '2026-07-10 20:43:14'::timestamp) - extract(epoch from '2026-07-10 20:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409189 -3.091607)'), GeomFromEWKT('SRID=4674;POINT (-39.409248 -3.091731)'))) / (select extract(epoch from '2026-07-10 20:43:14'::timestamp) - extract(epoch from '2026-07-10 20:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.409305 -3.091834)', '2026-07-10 20:43:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409248 -3.091731)'), GeomFromEWKT('SRID=4674;POINT (-39.409305 -3.091834)'))) / (select extract(epoch from '2026-07-10 20:43:20'::timestamp) - extract(epoch from '2026-07-10 20:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409248 -3.091731)'), GeomFromEWKT('SRID=4674;POINT (-39.409305 -3.091834)'))) / (select extract(epoch from '2026-07-10 20:43:20'::timestamp) - extract(epoch from '2026-07-10 20:43: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'), 47986, 'SRID=4674;POINT (-39.409341 -3.091935)', '2026-07-10 20:43:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409305 -3.091834)'), GeomFromEWKT('SRID=4674;POINT (-39.409341 -3.091935)'))) / (select extract(epoch from '2026-07-10 20:43:26'::timestamp) - extract(epoch from '2026-07-10 20:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409305 -3.091834)'), GeomFromEWKT('SRID=4674;POINT (-39.409341 -3.091935)'))) / (select extract(epoch from '2026-07-10 20:43:26'::timestamp) - extract(epoch from '2026-07-10 20:43:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.409427 -3.092092)', '2026-07-10 20:43:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409341 -3.091935)'), GeomFromEWKT('SRID=4674;POINT (-39.409427 -3.092092)'))) / (select extract(epoch from '2026-07-10 20:43:34'::timestamp) - extract(epoch from '2026-07-10 20:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409341 -3.091935)'), GeomFromEWKT('SRID=4674;POINT (-39.409427 -3.092092)'))) / (select extract(epoch from '2026-07-10 20:43:34'::timestamp) - extract(epoch from '2026-07-10 20:43: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'), 47986, 'SRID=4674;POINT (-39.409475 -3.092187)', '2026-07-10 20:43:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409427 -3.092092)'), GeomFromEWKT('SRID=4674;POINT (-39.409475 -3.092187)'))) / (select extract(epoch from '2026-07-10 20:43:39'::timestamp) - extract(epoch from '2026-07-10 20:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409427 -3.092092)'), GeomFromEWKT('SRID=4674;POINT (-39.409475 -3.092187)'))) / (select extract(epoch from '2026-07-10 20:43:39'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.409531 -3.092289)', '2026-07-10 20:43:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409475 -3.092187)'), GeomFromEWKT('SRID=4674;POINT (-39.409531 -3.092289)'))) / (select extract(epoch from '2026-07-10 20:43:44'::timestamp) - extract(epoch from '2026-07-10 20:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409475 -3.092187)'), GeomFromEWKT('SRID=4674;POINT (-39.409531 -3.092289)'))) / (select extract(epoch from '2026-07-10 20:43:44'::timestamp) - extract(epoch from '2026-07-10 20:43: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'), 47986, 'SRID=4674;POINT (-39.409573 -3.092386)', '2026-07-10 20:43:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409531 -3.092289)'), GeomFromEWKT('SRID=4674;POINT (-39.409573 -3.092386)'))) / (select extract(epoch from '2026-07-10 20:43:49'::timestamp) - extract(epoch from '2026-07-10 20:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409531 -3.092289)'), GeomFromEWKT('SRID=4674;POINT (-39.409573 -3.092386)'))) / (select extract(epoch from '2026-07-10 20:43:49'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.40963 -3.0925)', '2026-07-10 20:43:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409573 -3.092386)'), GeomFromEWKT('SRID=4674;POINT (-39.40963 -3.0925)'))) / (select extract(epoch from '2026-07-10 20:43:55'::timestamp) - extract(epoch from '2026-07-10 20:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409573 -3.092386)'), GeomFromEWKT('SRID=4674;POINT (-39.40963 -3.0925)'))) / (select extract(epoch from '2026-07-10 20:43:55'::timestamp) - extract(epoch from '2026-07-10 20:43: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'), 47986, 'SRID=4674;POINT (-39.409693 -3.092659)', '2026-07-10 20:44:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40963 -3.0925)'), GeomFromEWKT('SRID=4674;POINT (-39.409693 -3.092659)'))) / (select extract(epoch from '2026-07-10 20:44:03'::timestamp) - extract(epoch from '2026-07-10 20:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.40963 -3.0925)'), GeomFromEWKT('SRID=4674;POINT (-39.409693 -3.092659)'))) / (select extract(epoch from '2026-07-10 20:44:03'::timestamp) - extract(epoch from '2026-07-10 20:43: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'), 47986, 'SRID=4674;POINT (-39.409752 -3.092792)', '2026-07-10 20:44:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409693 -3.092659)'), GeomFromEWKT('SRID=4674;POINT (-39.409752 -3.092792)'))) / (select extract(epoch from '2026-07-10 20:44:10'::timestamp) - extract(epoch from '2026-07-10 20:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409693 -3.092659)'), GeomFromEWKT('SRID=4674;POINT (-39.409752 -3.092792)'))) / (select extract(epoch from '2026-07-10 20:44:10'::timestamp) - extract(epoch from '2026-07-10 20:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.409792 -3.092909)', '2026-07-10 20:44:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409752 -3.092792)'), GeomFromEWKT('SRID=4674;POINT (-39.409792 -3.092909)'))) / (select extract(epoch from '2026-07-10 20:44:16'::timestamp) - extract(epoch from '2026-07-10 20:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409752 -3.092792)'), GeomFromEWKT('SRID=4674;POINT (-39.409792 -3.092909)'))) / (select extract(epoch from '2026-07-10 20:44:16'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.409861 -3.093049)', '2026-07-10 20:44:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409792 -3.092909)'), GeomFromEWKT('SRID=4674;POINT (-39.409861 -3.093049)'))) / (select extract(epoch from '2026-07-10 20:44:23'::timestamp) - extract(epoch from '2026-07-10 20:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409792 -3.092909)'), GeomFromEWKT('SRID=4674;POINT (-39.409861 -3.093049)'))) / (select extract(epoch from '2026-07-10 20:44:23'::timestamp) - extract(epoch from '2026-07-10 20:44: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'), 47986, 'SRID=4674;POINT (-39.409959 -3.093192)', '2026-07-10 20:44:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409861 -3.093049)'), GeomFromEWKT('SRID=4674;POINT (-39.409959 -3.093192)'))) / (select extract(epoch from '2026-07-10 20:44:30'::timestamp) - extract(epoch from '2026-07-10 20:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409861 -3.093049)'), GeomFromEWKT('SRID=4674;POINT (-39.409959 -3.093192)'))) / (select extract(epoch from '2026-07-10 20:44:30'::timestamp) - extract(epoch from '2026-07-10 20:44: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'), 47986, 'SRID=4674;POINT (-39.410026 -3.093277)', '2026-07-10 20:44:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409959 -3.093192)'), GeomFromEWKT('SRID=4674;POINT (-39.410026 -3.093277)'))) / (select extract(epoch from '2026-07-10 20:44:35'::timestamp) - extract(epoch from '2026-07-10 20:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.409959 -3.093192)'), GeomFromEWKT('SRID=4674;POINT (-39.410026 -3.093277)'))) / (select extract(epoch from '2026-07-10 20:44:35'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.410119 -3.093421)', '2026-07-10 20:44:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410026 -3.093277)'), GeomFromEWKT('SRID=4674;POINT (-39.410119 -3.093421)'))) / (select extract(epoch from '2026-07-10 20:44:43'::timestamp) - extract(epoch from '2026-07-10 20:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410026 -3.093277)'), GeomFromEWKT('SRID=4674;POINT (-39.410119 -3.093421)'))) / (select extract(epoch from '2026-07-10 20:44:43'::timestamp) - extract(epoch from '2026-07-10 20:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.410192 -3.093554)', '2026-07-10 20:44:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410119 -3.093421)'), GeomFromEWKT('SRID=4674;POINT (-39.410192 -3.093554)'))) / (select extract(epoch from '2026-07-10 20:44:50'::timestamp) - extract(epoch from '2026-07-10 20:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410119 -3.093421)'), GeomFromEWKT('SRID=4674;POINT (-39.410192 -3.093554)'))) / (select extract(epoch from '2026-07-10 20:44:50'::timestamp) - extract(epoch from '2026-07-10 20:44: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'), 47986, 'SRID=4674;POINT (-39.410246 -3.09368)', '2026-07-10 20:44:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410192 -3.093554)'), GeomFromEWKT('SRID=4674;POINT (-39.410246 -3.09368)'))) / (select extract(epoch from '2026-07-10 20:44:56'::timestamp) - extract(epoch from '2026-07-10 20:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410192 -3.093554)'), GeomFromEWKT('SRID=4674;POINT (-39.410246 -3.09368)'))) / (select extract(epoch from '2026-07-10 20:44:56'::timestamp) - extract(epoch from '2026-07-10 20:44: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'), 47986, 'SRID=4674;POINT (-39.410314 -3.09382)', '2026-07-10 20:45:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410246 -3.09368)'), GeomFromEWKT('SRID=4674;POINT (-39.410314 -3.09382)'))) / (select extract(epoch from '2026-07-10 20:45:03'::timestamp) - extract(epoch from '2026-07-10 20:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410246 -3.09368)'), GeomFromEWKT('SRID=4674;POINT (-39.410314 -3.09382)'))) / (select extract(epoch from '2026-07-10 20:45:03'::timestamp) - extract(epoch from '2026-07-10 20:44: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'), 47986, 'SRID=4674;POINT (-39.410373 -3.093941)', '2026-07-10 20:45:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410314 -3.09382)'), GeomFromEWKT('SRID=4674;POINT (-39.410373 -3.093941)'))) / (select extract(epoch from '2026-07-10 20:45:10'::timestamp) - extract(epoch from '2026-07-10 20:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410314 -3.09382)'), GeomFromEWKT('SRID=4674;POINT (-39.410373 -3.093941)'))) / (select extract(epoch from '2026-07-10 20:45:10'::timestamp) - extract(epoch from '2026-07-10 20:45: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'), 47986, 'SRID=4674;POINT (-39.410452 -3.094076)', '2026-07-10 20:45:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410373 -3.093941)'), GeomFromEWKT('SRID=4674;POINT (-39.410452 -3.094076)'))) / (select extract(epoch from '2026-07-10 20:45:17'::timestamp) - extract(epoch from '2026-07-10 20:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410373 -3.093941)'), GeomFromEWKT('SRID=4674;POINT (-39.410452 -3.094076)'))) / (select extract(epoch from '2026-07-10 20:45:17'::timestamp) - extract(epoch from '2026-07-10 20:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.410561 -3.09423)', '2026-07-10 20:45:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410452 -3.094076)'), GeomFromEWKT('SRID=4674;POINT (-39.410561 -3.09423)'))) / (select extract(epoch from '2026-07-10 20:45:25'::timestamp) - extract(epoch from '2026-07-10 20:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410452 -3.094076)'), GeomFromEWKT('SRID=4674;POINT (-39.410561 -3.09423)'))) / (select extract(epoch from '2026-07-10 20:45:25'::timestamp) - extract(epoch from '2026-07-10 20:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.410654 -3.094398)', '2026-07-10 20:45:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410561 -3.09423)'), GeomFromEWKT('SRID=4674;POINT (-39.410654 -3.094398)'))) / (select extract(epoch from '2026-07-10 20:45:33'::timestamp) - extract(epoch from '2026-07-10 20:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410561 -3.09423)'), GeomFromEWKT('SRID=4674;POINT (-39.410654 -3.094398)'))) / (select extract(epoch from '2026-07-10 20:45:33'::timestamp) - extract(epoch from '2026-07-10 20:45: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'), 47986, 'SRID=4674;POINT (-39.410721 -3.094518)', '2026-07-10 20:45:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410654 -3.094398)'), GeomFromEWKT('SRID=4674;POINT (-39.410721 -3.094518)'))) / (select extract(epoch from '2026-07-10 20:45:39'::timestamp) - extract(epoch from '2026-07-10 20:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410654 -3.094398)'), GeomFromEWKT('SRID=4674;POINT (-39.410721 -3.094518)'))) / (select extract(epoch from '2026-07-10 20:45:39'::timestamp) - extract(epoch from '2026-07-10 20:45: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'), 47986, 'SRID=4674;POINT (-39.410798 -3.09463)', '2026-07-10 20:45:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410721 -3.094518)'), GeomFromEWKT('SRID=4674;POINT (-39.410798 -3.09463)'))) / (select extract(epoch from '2026-07-10 20:45:45'::timestamp) - extract(epoch from '2026-07-10 20:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410721 -3.094518)'), GeomFromEWKT('SRID=4674;POINT (-39.410798 -3.09463)'))) / (select extract(epoch from '2026-07-10 20:45:45'::timestamp) - extract(epoch from '2026-07-10 20:45: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'), 47986, 'SRID=4674;POINT (-39.410879 -3.094773)', '2026-07-10 20:45:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410798 -3.09463)'), GeomFromEWKT('SRID=4674;POINT (-39.410879 -3.094773)'))) / (select extract(epoch from '2026-07-10 20:45:53'::timestamp) - extract(epoch from '2026-07-10 20:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410798 -3.09463)'), GeomFromEWKT('SRID=4674;POINT (-39.410879 -3.094773)'))) / (select extract(epoch from '2026-07-10 20:45:53'::timestamp) - extract(epoch from '2026-07-10 20:45: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'), 47986, 'SRID=4674;POINT (-39.410924 -3.094895)', '2026-07-10 20:45:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410879 -3.094773)'), GeomFromEWKT('SRID=4674;POINT (-39.410924 -3.094895)'))) / (select extract(epoch from '2026-07-10 20:45:59'::timestamp) - extract(epoch from '2026-07-10 20:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410879 -3.094773)'), GeomFromEWKT('SRID=4674;POINT (-39.410924 -3.094895)'))) / (select extract(epoch from '2026-07-10 20:45:59'::timestamp) - extract(epoch from '2026-07-10 20:45: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'), 47986, 'SRID=4674;POINT (-39.410991 -3.095003)', '2026-07-10 20:46:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410924 -3.094895)'), GeomFromEWKT('SRID=4674;POINT (-39.410991 -3.095003)'))) / (select extract(epoch from '2026-07-10 20:46:05'::timestamp) - extract(epoch from '2026-07-10 20:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410924 -3.094895)'), GeomFromEWKT('SRID=4674;POINT (-39.410991 -3.095003)'))) / (select extract(epoch from '2026-07-10 20:46:05'::timestamp) - extract(epoch from '2026-07-10 20:45: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'), 47986, 'SRID=4674;POINT (-39.411061 -3.095116)', '2026-07-10 20:46:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410991 -3.095003)'), GeomFromEWKT('SRID=4674;POINT (-39.411061 -3.095116)'))) / (select extract(epoch from '2026-07-10 20:46:11'::timestamp) - extract(epoch from '2026-07-10 20:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.410991 -3.095003)'), GeomFromEWKT('SRID=4674;POINT (-39.411061 -3.095116)'))) / (select extract(epoch from '2026-07-10 20:46:11'::timestamp) - extract(epoch from '2026-07-10 20:46: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'), 47986, 'SRID=4674;POINT (-39.411159 -3.095236)', '2026-07-10 20:46:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411061 -3.095116)'), GeomFromEWKT('SRID=4674;POINT (-39.411159 -3.095236)'))) / (select extract(epoch from '2026-07-10 20:46:18'::timestamp) - extract(epoch from '2026-07-10 20:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411061 -3.095116)'), GeomFromEWKT('SRID=4674;POINT (-39.411159 -3.095236)'))) / (select extract(epoch from '2026-07-10 20:46:18'::timestamp) - extract(epoch from '2026-07-10 20:46: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'), 47986, 'SRID=4674;POINT (-39.411234 -3.09536)', '2026-07-10 20:46:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411159 -3.095236)'), GeomFromEWKT('SRID=4674;POINT (-39.411234 -3.09536)'))) / (select extract(epoch from '2026-07-10 20:46:25'::timestamp) - extract(epoch from '2026-07-10 20:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411159 -3.095236)'), GeomFromEWKT('SRID=4674;POINT (-39.411234 -3.09536)'))) / (select extract(epoch from '2026-07-10 20:46:25'::timestamp) - extract(epoch from '2026-07-10 20:46: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'), 47986, 'SRID=4674;POINT (-39.411311 -3.095478)', '2026-07-10 20:46:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411234 -3.09536)'), GeomFromEWKT('SRID=4674;POINT (-39.411311 -3.095478)'))) / (select extract(epoch from '2026-07-10 20:46:32'::timestamp) - extract(epoch from '2026-07-10 20:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411234 -3.09536)'), GeomFromEWKT('SRID=4674;POINT (-39.411311 -3.095478)'))) / (select extract(epoch from '2026-07-10 20:46:32'::timestamp) - extract(epoch from '2026-07-10 20:46: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'), 47986, 'SRID=4674;POINT (-39.411411 -3.095626)', '2026-07-10 20:46:40', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411311 -3.095478)'), GeomFromEWKT('SRID=4674;POINT (-39.411411 -3.095626)'))) / (select extract(epoch from '2026-07-10 20:46:40'::timestamp) - extract(epoch from '2026-07-10 20:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411311 -3.095478)'), GeomFromEWKT('SRID=4674;POINT (-39.411411 -3.095626)'))) / (select extract(epoch from '2026-07-10 20:46:40'::timestamp) - extract(epoch from '2026-07-10 20:46: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'), 47986, 'SRID=4674;POINT (-39.411465 -3.095713)', '2026-07-10 20:46:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411411 -3.095626)'), GeomFromEWKT('SRID=4674;POINT (-39.411465 -3.095713)'))) / (select extract(epoch from '2026-07-10 20:46:45'::timestamp) - extract(epoch from '2026-07-10 20:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411411 -3.095626)'), GeomFromEWKT('SRID=4674;POINT (-39.411465 -3.095713)'))) / (select extract(epoch from '2026-07-10 20:46:45'::timestamp) - extract(epoch from '2026-07-10 20:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.411551 -3.095868)', '2026-07-10 20:46:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411465 -3.095713)'), GeomFromEWKT('SRID=4674;POINT (-39.411551 -3.095868)'))) / (select extract(epoch from '2026-07-10 20:46:53'::timestamp) - extract(epoch from '2026-07-10 20:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411465 -3.095713)'), GeomFromEWKT('SRID=4674;POINT (-39.411551 -3.095868)'))) / (select extract(epoch from '2026-07-10 20:46:53'::timestamp) - extract(epoch from '2026-07-10 20:46: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'), 47986, 'SRID=4674;POINT (-39.411627 -3.095977)', '2026-07-10 20:46:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411551 -3.095868)'), GeomFromEWKT('SRID=4674;POINT (-39.411627 -3.095977)'))) / (select extract(epoch from '2026-07-10 20:46:59'::timestamp) - extract(epoch from '2026-07-10 20:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411551 -3.095868)'), GeomFromEWKT('SRID=4674;POINT (-39.411627 -3.095977)'))) / (select extract(epoch from '2026-07-10 20:46:59'::timestamp) - extract(epoch from '2026-07-10 20:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.411704 -3.096101)', '2026-07-10 20:47:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411627 -3.095977)'), GeomFromEWKT('SRID=4674;POINT (-39.411704 -3.096101)'))) / (select extract(epoch from '2026-07-10 20:47:06'::timestamp) - extract(epoch from '2026-07-10 20:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411627 -3.095977)'), GeomFromEWKT('SRID=4674;POINT (-39.411704 -3.096101)'))) / (select extract(epoch from '2026-07-10 20:47:06'::timestamp) - extract(epoch from '2026-07-10 20:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.411784 -3.096217)', '2026-07-10 20:47:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411704 -3.096101)'), GeomFromEWKT('SRID=4674;POINT (-39.411784 -3.096217)'))) / (select extract(epoch from '2026-07-10 20:47:12'::timestamp) - extract(epoch from '2026-07-10 20:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411704 -3.096101)'), GeomFromEWKT('SRID=4674;POINT (-39.411784 -3.096217)'))) / (select extract(epoch from '2026-07-10 20:47:12'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.411867 -3.096337)', '2026-07-10 20:47:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411784 -3.096217)'), GeomFromEWKT('SRID=4674;POINT (-39.411867 -3.096337)'))) / (select extract(epoch from '2026-07-10 20:47:18'::timestamp) - extract(epoch from '2026-07-10 20:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411784 -3.096217)'), GeomFromEWKT('SRID=4674;POINT (-39.411867 -3.096337)'))) / (select extract(epoch from '2026-07-10 20:47:18'::timestamp) - extract(epoch from '2026-07-10 20:47: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'), 47986, 'SRID=4674;POINT (-39.411961 -3.096477)', '2026-07-10 20:47:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411867 -3.096337)'), GeomFromEWKT('SRID=4674;POINT (-39.411961 -3.096477)'))) / (select extract(epoch from '2026-07-10 20:47:25'::timestamp) - extract(epoch from '2026-07-10 20:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411867 -3.096337)'), GeomFromEWKT('SRID=4674;POINT (-39.411961 -3.096477)'))) / (select extract(epoch from '2026-07-10 20:47:25'::timestamp) - extract(epoch from '2026-07-10 20:47: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'), 47986, 'SRID=4674;POINT (-39.412067 -3.096627)', '2026-07-10 20:47:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411961 -3.096477)'), GeomFromEWKT('SRID=4674;POINT (-39.412067 -3.096627)'))) / (select extract(epoch from '2026-07-10 20:47:33'::timestamp) - extract(epoch from '2026-07-10 20:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.411961 -3.096477)'), GeomFromEWKT('SRID=4674;POINT (-39.412067 -3.096627)'))) / (select extract(epoch from '2026-07-10 20:47:33'::timestamp) - extract(epoch from '2026-07-10 20:47: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'), 47986, 'SRID=4674;POINT (-39.412147 -3.096737)', '2026-07-10 20:47:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412067 -3.096627)'), GeomFromEWKT('SRID=4674;POINT (-39.412147 -3.096737)'))) / (select extract(epoch from '2026-07-10 20:47:39'::timestamp) - extract(epoch from '2026-07-10 20:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412067 -3.096627)'), GeomFromEWKT('SRID=4674;POINT (-39.412147 -3.096737)'))) / (select extract(epoch from '2026-07-10 20:47:39'::timestamp) - extract(epoch from '2026-07-10 20:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.412191 -3.096819)', '2026-07-10 20:47:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412147 -3.096737)'), GeomFromEWKT('SRID=4674;POINT (-39.412191 -3.096819)'))) / (select extract(epoch from '2026-07-10 20:47:44'::timestamp) - extract(epoch from '2026-07-10 20:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412147 -3.096737)'), GeomFromEWKT('SRID=4674;POINT (-39.412191 -3.096819)'))) / (select extract(epoch from '2026-07-10 20:47:44'::timestamp) - extract(epoch from '2026-07-10 20:47: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'), 47986, 'SRID=4674;POINT (-39.412239 -3.096939)', '2026-07-10 20:47:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412191 -3.096819)'), GeomFromEWKT('SRID=4674;POINT (-39.412239 -3.096939)'))) / (select extract(epoch from '2026-07-10 20:47:50'::timestamp) - extract(epoch from '2026-07-10 20:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412191 -3.096819)'), GeomFromEWKT('SRID=4674;POINT (-39.412239 -3.096939)'))) / (select extract(epoch from '2026-07-10 20:47:50'::timestamp) - extract(epoch from '2026-07-10 20:47: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'), 47986, 'SRID=4674;POINT (-39.412327 -3.097097)', '2026-07-10 20:47:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412239 -3.096939)'), GeomFromEWKT('SRID=4674;POINT (-39.412327 -3.097097)'))) / (select extract(epoch from '2026-07-10 20:47:58'::timestamp) - extract(epoch from '2026-07-10 20:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412239 -3.096939)'), GeomFromEWKT('SRID=4674;POINT (-39.412327 -3.097097)'))) / (select extract(epoch from '2026-07-10 20:47:58'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.412404 -3.097192)', '2026-07-10 20:48:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412327 -3.097097)'), GeomFromEWKT('SRID=4674;POINT (-39.412404 -3.097192)'))) / (select extract(epoch from '2026-07-10 20:48:03'::timestamp) - extract(epoch from '2026-07-10 20:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412327 -3.097097)'), GeomFromEWKT('SRID=4674;POINT (-39.412404 -3.097192)'))) / (select extract(epoch from '2026-07-10 20:48:03'::timestamp) - extract(epoch from '2026-07-10 20:47: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'), 47986, 'SRID=4674;POINT (-39.412457 -3.097268)', '2026-07-10 20:48:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412404 -3.097192)'), GeomFromEWKT('SRID=4674;POINT (-39.412457 -3.097268)'))) / (select extract(epoch from '2026-07-10 20:48:08'::timestamp) - extract(epoch from '2026-07-10 20:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412404 -3.097192)'), GeomFromEWKT('SRID=4674;POINT (-39.412457 -3.097268)'))) / (select extract(epoch from '2026-07-10 20:48:08'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.412552 -3.097391)', '2026-07-10 20:48:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412457 -3.097268)'), GeomFromEWKT('SRID=4674;POINT (-39.412552 -3.097391)'))) / (select extract(epoch from '2026-07-10 20:48:15'::timestamp) - extract(epoch from '2026-07-10 20:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412457 -3.097268)'), GeomFromEWKT('SRID=4674;POINT (-39.412552 -3.097391)'))) / (select extract(epoch from '2026-07-10 20:48:15'::timestamp) - extract(epoch from '2026-07-10 20:48: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'), 47986, 'SRID=4674;POINT (-39.412635 -3.097471)', '2026-07-10 20:48:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412552 -3.097391)'), GeomFromEWKT('SRID=4674;POINT (-39.412635 -3.097471)'))) / (select extract(epoch from '2026-07-10 20:48:20'::timestamp) - extract(epoch from '2026-07-10 20:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412552 -3.097391)'), GeomFromEWKT('SRID=4674;POINT (-39.412635 -3.097471)'))) / (select extract(epoch from '2026-07-10 20:48:20'::timestamp) - extract(epoch from '2026-07-10 20:48: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'), 47986, 'SRID=4674;POINT (-39.412717 -3.097582)', '2026-07-10 20:48:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412635 -3.097471)'), GeomFromEWKT('SRID=4674;POINT (-39.412717 -3.097582)'))) / (select extract(epoch from '2026-07-10 20:48:26'::timestamp) - extract(epoch from '2026-07-10 20:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412635 -3.097471)'), GeomFromEWKT('SRID=4674;POINT (-39.412717 -3.097582)'))) / (select extract(epoch from '2026-07-10 20:48:26'::timestamp) - extract(epoch from '2026-07-10 20:48: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'), 47986, 'SRID=4674;POINT (-39.412808 -3.097706)', '2026-07-10 20:48:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412717 -3.097582)'), GeomFromEWKT('SRID=4674;POINT (-39.412808 -3.097706)'))) / (select extract(epoch from '2026-07-10 20:48:32'::timestamp) - extract(epoch from '2026-07-10 20:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412717 -3.097582)'), GeomFromEWKT('SRID=4674;POINT (-39.412808 -3.097706)'))) / (select extract(epoch from '2026-07-10 20:48:32'::timestamp) - extract(epoch from '2026-07-10 20:48: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'), 47986, 'SRID=4674;POINT (-39.412857 -3.097789)', '2026-07-10 20:48:37', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412808 -3.097706)'), GeomFromEWKT('SRID=4674;POINT (-39.412857 -3.097789)'))) / (select extract(epoch from '2026-07-10 20:48:37'::timestamp) - extract(epoch from '2026-07-10 20:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412808 -3.097706)'), GeomFromEWKT('SRID=4674;POINT (-39.412857 -3.097789)'))) / (select extract(epoch from '2026-07-10 20:48:37'::timestamp) - extract(epoch from '2026-07-10 20:48: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'), 47986, 'SRID=4674;POINT (-39.41294 -3.097908)', '2026-07-10 20:48:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412857 -3.097789)'), GeomFromEWKT('SRID=4674;POINT (-39.41294 -3.097908)'))) / (select extract(epoch from '2026-07-10 20:48:43'::timestamp) - extract(epoch from '2026-07-10 20:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.412857 -3.097789)'), GeomFromEWKT('SRID=4674;POINT (-39.41294 -3.097908)'))) / (select extract(epoch from '2026-07-10 20:48:43'::timestamp) - extract(epoch from '2026-07-10 20:48: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'), 47986, 'SRID=4674;POINT (-39.413024 -3.098039)', '2026-07-10 20:48:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41294 -3.097908)'), GeomFromEWKT('SRID=4674;POINT (-39.413024 -3.098039)'))) / (select extract(epoch from '2026-07-10 20:48:50'::timestamp) - extract(epoch from '2026-07-10 20:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41294 -3.097908)'), GeomFromEWKT('SRID=4674;POINT (-39.413024 -3.098039)'))) / (select extract(epoch from '2026-07-10 20:48:50'::timestamp) - extract(epoch from '2026-07-10 20:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.413108 -3.098158)', '2026-07-10 20:48:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413024 -3.098039)'), GeomFromEWKT('SRID=4674;POINT (-39.413108 -3.098158)'))) / (select extract(epoch from '2026-07-10 20:48:57'::timestamp) - extract(epoch from '2026-07-10 20:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413024 -3.098039)'), GeomFromEWKT('SRID=4674;POINT (-39.413108 -3.098158)'))) / (select extract(epoch from '2026-07-10 20:48:57'::timestamp) - extract(epoch from '2026-07-10 20:48: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'), 47986, 'SRID=4674;POINT (-39.413192 -3.098323)', '2026-07-10 20:49:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413108 -3.098158)'), GeomFromEWKT('SRID=4674;POINT (-39.413192 -3.098323)'))) / (select extract(epoch from '2026-07-10 20:49:05'::timestamp) - extract(epoch from '2026-07-10 20:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413108 -3.098158)'), GeomFromEWKT('SRID=4674;POINT (-39.413192 -3.098323)'))) / (select extract(epoch from '2026-07-10 20:49:05'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.413214 -3.098358)', '2026-07-10 20:49:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413192 -3.098323)'), GeomFromEWKT('SRID=4674;POINT (-39.413214 -3.098358)'))) / (select extract(epoch from '2026-07-10 20:49:07'::timestamp) - extract(epoch from '2026-07-10 20:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413192 -3.098323)'), GeomFromEWKT('SRID=4674;POINT (-39.413214 -3.098358)'))) / (select extract(epoch from '2026-07-10 20:49:07'::timestamp) - extract(epoch from '2026-07-10 20:49: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'), 47986, 'SRID=4674;POINT (-39.41328 -3.098471)', '2026-07-10 20:49:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413214 -3.098358)'), GeomFromEWKT('SRID=4674;POINT (-39.41328 -3.098471)'))) / (select extract(epoch from '2026-07-10 20:49:13'::timestamp) - extract(epoch from '2026-07-10 20:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413214 -3.098358)'), GeomFromEWKT('SRID=4674;POINT (-39.41328 -3.098471)'))) / (select extract(epoch from '2026-07-10 20:49:13'::timestamp) - extract(epoch from '2026-07-10 20:49: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'), 47986, 'SRID=4674;POINT (-39.413352 -3.098606)', '2026-07-10 20:49:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41328 -3.098471)'), GeomFromEWKT('SRID=4674;POINT (-39.413352 -3.098606)'))) / (select extract(epoch from '2026-07-10 20:49:21'::timestamp) - extract(epoch from '2026-07-10 20:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41328 -3.098471)'), GeomFromEWKT('SRID=4674;POINT (-39.413352 -3.098606)'))) / (select extract(epoch from '2026-07-10 20:49:21'::timestamp) - extract(epoch from '2026-07-10 20:49: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'), 47986, 'SRID=4674;POINT (-39.413414 -3.098703)', '2026-07-10 20:49:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413352 -3.098606)'), GeomFromEWKT('SRID=4674;POINT (-39.413414 -3.098703)'))) / (select extract(epoch from '2026-07-10 20:49:26'::timestamp) - extract(epoch from '2026-07-10 20:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413352 -3.098606)'), GeomFromEWKT('SRID=4674;POINT (-39.413414 -3.098703)'))) / (select extract(epoch from '2026-07-10 20:49:26'::timestamp) - extract(epoch from '2026-07-10 20:49: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'), 47986, 'SRID=4674;POINT (-39.413496 -3.098797)', '2026-07-10 20:49:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413414 -3.098703)'), GeomFromEWKT('SRID=4674;POINT (-39.413496 -3.098797)'))) / (select extract(epoch from '2026-07-10 20:49:31'::timestamp) - extract(epoch from '2026-07-10 20:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413414 -3.098703)'), GeomFromEWKT('SRID=4674;POINT (-39.413496 -3.098797)'))) / (select extract(epoch from '2026-07-10 20:49:31'::timestamp) - extract(epoch from '2026-07-10 20:49: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'), 47986, 'SRID=4674;POINT (-39.413583 -3.09892)', '2026-07-10 20:49:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413496 -3.098797)'), GeomFromEWKT('SRID=4674;POINT (-39.413583 -3.09892)'))) / (select extract(epoch from '2026-07-10 20:49:38'::timestamp) - extract(epoch from '2026-07-10 20:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413496 -3.098797)'), GeomFromEWKT('SRID=4674;POINT (-39.413583 -3.09892)'))) / (select extract(epoch from '2026-07-10 20:49:38'::timestamp) - extract(epoch from '2026-07-10 20:49: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'), 47986, 'SRID=4674;POINT (-39.413648 -3.099047)', '2026-07-10 20:49:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413583 -3.09892)'), GeomFromEWKT('SRID=4674;POINT (-39.413648 -3.099047)'))) / (select extract(epoch from '2026-07-10 20:49:45'::timestamp) - extract(epoch from '2026-07-10 20:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413583 -3.09892)'), GeomFromEWKT('SRID=4674;POINT (-39.413648 -3.099047)'))) / (select extract(epoch from '2026-07-10 20:49:45'::timestamp) - extract(epoch from '2026-07-10 20:49: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'), 47986, 'SRID=4674;POINT (-39.413694 -3.099169)', '2026-07-10 20:49:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413648 -3.099047)'), GeomFromEWKT('SRID=4674;POINT (-39.413694 -3.099169)'))) / (select extract(epoch from '2026-07-10 20:49:52'::timestamp) - extract(epoch from '2026-07-10 20:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413648 -3.099047)'), GeomFromEWKT('SRID=4674;POINT (-39.413694 -3.099169)'))) / (select extract(epoch from '2026-07-10 20:49:52'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.413758 -3.099262)', '2026-07-10 20:49:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413694 -3.099169)'), GeomFromEWKT('SRID=4674;POINT (-39.413758 -3.099262)'))) / (select extract(epoch from '2026-07-10 20:49:57'::timestamp) - extract(epoch from '2026-07-10 20:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413694 -3.099169)'), GeomFromEWKT('SRID=4674;POINT (-39.413758 -3.099262)'))) / (select extract(epoch from '2026-07-10 20:49:57'::timestamp) - extract(epoch from '2026-07-10 20:49: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'), 47986, 'SRID=4674;POINT (-39.413819 -3.099396)', '2026-07-10 20:50:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413758 -3.099262)'), GeomFromEWKT('SRID=4674;POINT (-39.413819 -3.099396)'))) / (select extract(epoch from '2026-07-10 20:50:04'::timestamp) - extract(epoch from '2026-07-10 20:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413758 -3.099262)'), GeomFromEWKT('SRID=4674;POINT (-39.413819 -3.099396)'))) / (select extract(epoch from '2026-07-10 20:50:04'::timestamp) - extract(epoch from '2026-07-10 20:49:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.41389 -3.099541)', '2026-07-10 20:50:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413819 -3.099396)'), GeomFromEWKT('SRID=4674;POINT (-39.41389 -3.099541)'))) / (select extract(epoch from '2026-07-10 20:50:11'::timestamp) - extract(epoch from '2026-07-10 20:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413819 -3.099396)'), GeomFromEWKT('SRID=4674;POINT (-39.41389 -3.099541)'))) / (select extract(epoch from '2026-07-10 20:50:11'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.413954 -3.099677)', '2026-07-10 20:50:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41389 -3.099541)'), GeomFromEWKT('SRID=4674;POINT (-39.413954 -3.099677)'))) / (select extract(epoch from '2026-07-10 20:50:18'::timestamp) - extract(epoch from '2026-07-10 20:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41389 -3.099541)'), GeomFromEWKT('SRID=4674;POINT (-39.413954 -3.099677)'))) / (select extract(epoch from '2026-07-10 20:50:18'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.413993 -3.09978)', '2026-07-10 20:50:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413954 -3.099677)'), GeomFromEWKT('SRID=4674;POINT (-39.413993 -3.09978)'))) / (select extract(epoch from '2026-07-10 20:50:23'::timestamp) - extract(epoch from '2026-07-10 20:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413954 -3.099677)'), GeomFromEWKT('SRID=4674;POINT (-39.413993 -3.09978)'))) / (select extract(epoch from '2026-07-10 20:50:23'::timestamp) - extract(epoch from '2026-07-10 20:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.41406 -3.099908)', '2026-07-10 20:50:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413993 -3.09978)'), GeomFromEWKT('SRID=4674;POINT (-39.41406 -3.099908)'))) / (select extract(epoch from '2026-07-10 20:50:30'::timestamp) - extract(epoch from '2026-07-10 20:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.413993 -3.09978)'), GeomFromEWKT('SRID=4674;POINT (-39.41406 -3.099908)'))) / (select extract(epoch from '2026-07-10 20:50:30'::timestamp) - extract(epoch from '2026-07-10 20:50: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'), 47986, 'SRID=4674;POINT (-39.41413 -3.10002)', '2026-07-10 20:50:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41406 -3.099908)'), GeomFromEWKT('SRID=4674;POINT (-39.41413 -3.10002)'))) / (select extract(epoch from '2026-07-10 20:50:35'::timestamp) - extract(epoch from '2026-07-10 20:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41406 -3.099908)'), GeomFromEWKT('SRID=4674;POINT (-39.41413 -3.10002)'))) / (select extract(epoch from '2026-07-10 20:50:35'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.414194 -3.100107)', '2026-07-10 20:50:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41413 -3.10002)'), GeomFromEWKT('SRID=4674;POINT (-39.414194 -3.100107)'))) / (select extract(epoch from '2026-07-10 20:50:40'::timestamp) - extract(epoch from '2026-07-10 20:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41413 -3.10002)'), GeomFromEWKT('SRID=4674;POINT (-39.414194 -3.100107)'))) / (select extract(epoch from '2026-07-10 20:50:40'::timestamp) - extract(epoch from '2026-07-10 20:50: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'), 47986, 'SRID=4674;POINT (-39.414291 -3.100259)', '2026-07-10 20:50:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414194 -3.100107)'), GeomFromEWKT('SRID=4674;POINT (-39.414291 -3.100259)'))) / (select extract(epoch from '2026-07-10 20:50:47'::timestamp) - extract(epoch from '2026-07-10 20:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414194 -3.100107)'), GeomFromEWKT('SRID=4674;POINT (-39.414291 -3.100259)'))) / (select extract(epoch from '2026-07-10 20:50:47'::timestamp) - extract(epoch from '2026-07-10 20:50: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'), 47986, 'SRID=4674;POINT (-39.414348 -3.100367)', '2026-07-10 20:50:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414291 -3.100259)'), GeomFromEWKT('SRID=4674;POINT (-39.414348 -3.100367)'))) / (select extract(epoch from '2026-07-10 20:50:53'::timestamp) - extract(epoch from '2026-07-10 20:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414291 -3.100259)'), GeomFromEWKT('SRID=4674;POINT (-39.414348 -3.100367)'))) / (select extract(epoch from '2026-07-10 20:50:53'::timestamp) - extract(epoch from '2026-07-10 20:50: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'), 47986, 'SRID=4674;POINT (-39.414406 -3.100471)', '2026-07-10 20:50:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414348 -3.100367)'), GeomFromEWKT('SRID=4674;POINT (-39.414406 -3.100471)'))) / (select extract(epoch from '2026-07-10 20:50:59'::timestamp) - extract(epoch from '2026-07-10 20:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414348 -3.100367)'), GeomFromEWKT('SRID=4674;POINT (-39.414406 -3.100471)'))) / (select extract(epoch from '2026-07-10 20:50:59'::timestamp) - extract(epoch from '2026-07-10 20:50: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'), 47986, 'SRID=4674;POINT (-39.414471 -3.10058)', '2026-07-10 20:51:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414406 -3.100471)'), GeomFromEWKT('SRID=4674;POINT (-39.414471 -3.10058)'))) / (select extract(epoch from '2026-07-10 20:51:06'::timestamp) - extract(epoch from '2026-07-10 20:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414406 -3.100471)'), GeomFromEWKT('SRID=4674;POINT (-39.414471 -3.10058)'))) / (select extract(epoch from '2026-07-10 20:51:06'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.414565 -3.100702)', '2026-07-10 20:51:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414471 -3.10058)'), GeomFromEWKT('SRID=4674;POINT (-39.414565 -3.100702)'))) / (select extract(epoch from '2026-07-10 20:51:13'::timestamp) - extract(epoch from '2026-07-10 20:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414471 -3.10058)'), GeomFromEWKT('SRID=4674;POINT (-39.414565 -3.100702)'))) / (select extract(epoch from '2026-07-10 20:51:13'::timestamp) - extract(epoch from '2026-07-10 20:51: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'), 47986, 'SRID=4674;POINT (-39.414655 -3.100803)', '2026-07-10 20:51:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414565 -3.100702)'), GeomFromEWKT('SRID=4674;POINT (-39.414655 -3.100803)'))) / (select extract(epoch from '2026-07-10 20:51:19'::timestamp) - extract(epoch from '2026-07-10 20:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414565 -3.100702)'), GeomFromEWKT('SRID=4674;POINT (-39.414655 -3.100803)'))) / (select extract(epoch from '2026-07-10 20:51:19'::timestamp) - extract(epoch from '2026-07-10 20:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.414725 -3.100899)', '2026-07-10 20:51:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414655 -3.100803)'), GeomFromEWKT('SRID=4674;POINT (-39.414725 -3.100899)'))) / (select extract(epoch from '2026-07-10 20:51:24'::timestamp) - extract(epoch from '2026-07-10 20:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414655 -3.100803)'), GeomFromEWKT('SRID=4674;POINT (-39.414725 -3.100899)'))) / (select extract(epoch from '2026-07-10 20:51:24'::timestamp) - extract(epoch from '2026-07-10 20:51: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'), 47986, 'SRID=4674;POINT (-39.414788 -3.101039)', '2026-07-10 20:51:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414725 -3.100899)'), GeomFromEWKT('SRID=4674;POINT (-39.414788 -3.101039)'))) / (select extract(epoch from '2026-07-10 20:51:31'::timestamp) - extract(epoch from '2026-07-10 20:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414725 -3.100899)'), GeomFromEWKT('SRID=4674;POINT (-39.414788 -3.101039)'))) / (select extract(epoch from '2026-07-10 20:51:31'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.414854 -3.101157)', '2026-07-10 20:51:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414788 -3.101039)'), GeomFromEWKT('SRID=4674;POINT (-39.414854 -3.101157)'))) / (select extract(epoch from '2026-07-10 20:51:37'::timestamp) - extract(epoch from '2026-07-10 20:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414788 -3.101039)'), GeomFromEWKT('SRID=4674;POINT (-39.414854 -3.101157)'))) / (select extract(epoch from '2026-07-10 20:51:37'::timestamp) - extract(epoch from '2026-07-10 20:51: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'), 47986, 'SRID=4674;POINT (-39.41492 -3.101277)', '2026-07-10 20:51:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414854 -3.101157)'), GeomFromEWKT('SRID=4674;POINT (-39.41492 -3.101277)'))) / (select extract(epoch from '2026-07-10 20:51:44'::timestamp) - extract(epoch from '2026-07-10 20:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414854 -3.101157)'), GeomFromEWKT('SRID=4674;POINT (-39.41492 -3.101277)'))) / (select extract(epoch from '2026-07-10 20:51:44'::timestamp) - extract(epoch from '2026-07-10 20:51:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.414998 -3.101374)', '2026-07-10 20:51:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41492 -3.101277)'), GeomFromEWKT('SRID=4674;POINT (-39.414998 -3.101374)'))) / (select extract(epoch from '2026-07-10 20:51:50'::timestamp) - extract(epoch from '2026-07-10 20:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41492 -3.101277)'), GeomFromEWKT('SRID=4674;POINT (-39.414998 -3.101374)'))) / (select extract(epoch from '2026-07-10 20:51:50'::timestamp) - extract(epoch from '2026-07-10 20:51: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'), 47986, 'SRID=4674;POINT (-39.415075 -3.101482)', '2026-07-10 20:51:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414998 -3.101374)'), GeomFromEWKT('SRID=4674;POINT (-39.415075 -3.101482)'))) / (select extract(epoch from '2026-07-10 20:51:56'::timestamp) - extract(epoch from '2026-07-10 20:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.414998 -3.101374)'), GeomFromEWKT('SRID=4674;POINT (-39.415075 -3.101482)'))) / (select extract(epoch from '2026-07-10 20:51:56'::timestamp) - extract(epoch from '2026-07-10 20:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.415128 -3.101543)', '2026-07-10 20:52:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415075 -3.101482)'), GeomFromEWKT('SRID=4674;POINT (-39.415128 -3.101543)'))) / (select extract(epoch from '2026-07-10 20:52:00'::timestamp) - extract(epoch from '2026-07-10 20:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415075 -3.101482)'), GeomFromEWKT('SRID=4674;POINT (-39.415128 -3.101543)'))) / (select extract(epoch from '2026-07-10 20:52:00'::timestamp) - extract(epoch from '2026-07-10 20:51:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.415136 -3.101558)', '2026-07-10 20:52:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415128 -3.101543)'), GeomFromEWKT('SRID=4674;POINT (-39.415136 -3.101558)'))) / (select extract(epoch from '2026-07-10 20:52:01'::timestamp) - extract(epoch from '2026-07-10 20:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415128 -3.101543)'), GeomFromEWKT('SRID=4674;POINT (-39.415136 -3.101558)'))) / (select extract(epoch from '2026-07-10 20:52:01'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47986, 'SRID=4674;POINT (-39.415234 -3.101681)', '2026-07-10 20:52:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415136 -3.101558)'), GeomFromEWKT('SRID=4674;POINT (-39.415234 -3.101681)'))) / (select extract(epoch from '2026-07-10 20:52:08'::timestamp) - extract(epoch from '2026-07-10 20:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415136 -3.101558)'), GeomFromEWKT('SRID=4674;POINT (-39.415234 -3.101681)'))) / (select extract(epoch from '2026-07-10 20:52:08'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47986, 'SRID=4674;POINT (-39.415317 -3.101808)', '2026-07-10 20:52:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415234 -3.101681)'), GeomFromEWKT('SRID=4674;POINT (-39.415317 -3.101808)'))) / (select extract(epoch from '2026-07-10 20:52:15'::timestamp) - extract(epoch from '2026-07-10 20:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415234 -3.101681)'), GeomFromEWKT('SRID=4674;POINT (-39.415317 -3.101808)'))) / (select extract(epoch from '2026-07-10 20:52:15'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47986, 'SRID=4674;POINT (-39.415386 -3.101914)', '2026-07-10 20:52:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415317 -3.101808)'), GeomFromEWKT('SRID=4674;POINT (-39.415386 -3.101914)'))) / (select extract(epoch from '2026-07-10 20:52:21'::timestamp) - extract(epoch from '2026-07-10 20:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415317 -3.101808)'), GeomFromEWKT('SRID=4674;POINT (-39.415386 -3.101914)'))) / (select extract(epoch from '2026-07-10 20:52:21'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47986, 'SRID=4674;POINT (-39.41544 -3.101998)', '2026-07-10 20:52:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415386 -3.101914)'), GeomFromEWKT('SRID=4674;POINT (-39.41544 -3.101998)'))) / (select extract(epoch from '2026-07-10 20:52:26'::timestamp) - extract(epoch from '2026-07-10 20:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415386 -3.101914)'), GeomFromEWKT('SRID=4674;POINT (-39.41544 -3.101998)'))) / (select extract(epoch from '2026-07-10 20:52:26'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47986, 'SRID=4674;POINT (-39.415452 -3.102015)', '2026-07-10 20:52:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41544 -3.101998)'), GeomFromEWKT('SRID=4674;POINT (-39.415452 -3.102015)'))) / (select extract(epoch from '2026-07-10 20:52:27'::timestamp) - extract(epoch from '2026-07-10 20:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41544 -3.101998)'), GeomFromEWKT('SRID=4674;POINT (-39.415452 -3.102015)'))) / (select extract(epoch from '2026-07-10 20:52:27'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47986, 'SRID=4674;POINT (-39.415549 -3.102154)', '2026-07-10 20:52:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415452 -3.102015)'), GeomFromEWKT('SRID=4674;POINT (-39.415549 -3.102154)'))) / (select extract(epoch from '2026-07-10 20:52:34'::timestamp) - extract(epoch from '2026-07-10 20:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415452 -3.102015)'), GeomFromEWKT('SRID=4674;POINT (-39.415549 -3.102154)'))) / (select extract(epoch from '2026-07-10 20:52:34'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47986, 'SRID=4674;POINT (-39.415639 -3.102277)', '2026-07-10 20:52:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415549 -3.102154)'), GeomFromEWKT('SRID=4674;POINT (-39.415639 -3.102277)'))) / (select extract(epoch from '2026-07-10 20:52:41'::timestamp) - extract(epoch from '2026-07-10 20:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415549 -3.102154)'), GeomFromEWKT('SRID=4674;POINT (-39.415639 -3.102277)'))) / (select extract(epoch from '2026-07-10 20:52:41'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47986, 'SRID=4674;POINT (-39.415713 -3.102389)', '2026-07-10 20:52:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415639 -3.102277)'), GeomFromEWKT('SRID=4674;POINT (-39.415713 -3.102389)'))) / (select extract(epoch from '2026-07-10 20:52:47'::timestamp) - extract(epoch from '2026-07-10 20:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415639 -3.102277)'), GeomFromEWKT('SRID=4674;POINT (-39.415713 -3.102389)'))) / (select extract(epoch from '2026-07-10 20:52:47'::timestamp) - extract(epoch from '2026-07-10 20:52:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.415788 -3.102498)', '2026-07-10 20:52:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415713 -3.102389)'), GeomFromEWKT('SRID=4674;POINT (-39.415788 -3.102498)'))) / (select extract(epoch from '2026-07-10 20:52:53'::timestamp) - extract(epoch from '2026-07-10 20:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415713 -3.102389)'), GeomFromEWKT('SRID=4674;POINT (-39.415788 -3.102498)'))) / (select extract(epoch from '2026-07-10 20:52:53'::timestamp) - extract(epoch from '2026-07-10 20:52:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.415863 -3.102615)', '2026-07-10 20:52:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415788 -3.102498)'), GeomFromEWKT('SRID=4674;POINT (-39.415863 -3.102615)'))) / (select extract(epoch from '2026-07-10 20:52:58'::timestamp) - extract(epoch from '2026-07-10 20:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415788 -3.102498)'), GeomFromEWKT('SRID=4674;POINT (-39.415863 -3.102615)'))) / (select extract(epoch from '2026-07-10 20:52:58'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47986, 'SRID=4674;POINT (-39.415957 -3.102717)', '2026-07-10 20:53:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415863 -3.102615)'), GeomFromEWKT('SRID=4674;POINT (-39.415957 -3.102717)'))) / (select extract(epoch from '2026-07-10 20:53:04'::timestamp) - extract(epoch from '2026-07-10 20:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415863 -3.102615)'), GeomFromEWKT('SRID=4674;POINT (-39.415957 -3.102717)'))) / (select extract(epoch from '2026-07-10 20:53:04'::timestamp) - extract(epoch from '2026-07-10 20:52: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'), 47986, 'SRID=4674;POINT (-39.416044 -3.102834)', '2026-07-10 20:53:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415957 -3.102717)'), GeomFromEWKT('SRID=4674;POINT (-39.416044 -3.102834)'))) / (select extract(epoch from '2026-07-10 20:53:11'::timestamp) - extract(epoch from '2026-07-10 20:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.415957 -3.102717)'), GeomFromEWKT('SRID=4674;POINT (-39.416044 -3.102834)'))) / (select extract(epoch from '2026-07-10 20:53:11'::timestamp) - extract(epoch from '2026-07-10 20:53: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'), 47986, 'SRID=4674;POINT (-39.416123 -3.102931)', '2026-07-10 20:53:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416044 -3.102834)'), GeomFromEWKT('SRID=4674;POINT (-39.416123 -3.102931)'))) / (select extract(epoch from '2026-07-10 20:53:17'::timestamp) - extract(epoch from '2026-07-10 20:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416044 -3.102834)'), GeomFromEWKT('SRID=4674;POINT (-39.416123 -3.102931)'))) / (select extract(epoch from '2026-07-10 20:53:17'::timestamp) - extract(epoch from '2026-07-10 20:53: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'), 47986, 'SRID=4674;POINT (-39.416223 -3.103068)', '2026-07-10 20:53:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416123 -3.102931)'), GeomFromEWKT('SRID=4674;POINT (-39.416223 -3.103068)'))) / (select extract(epoch from '2026-07-10 20:53:24'::timestamp) - extract(epoch from '2026-07-10 20:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416123 -3.102931)'), GeomFromEWKT('SRID=4674;POINT (-39.416223 -3.103068)'))) / (select extract(epoch from '2026-07-10 20:53:24'::timestamp) - extract(epoch from '2026-07-10 20:53: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'), 47986, 'SRID=4674;POINT (-39.416331 -3.103173)', '2026-07-10 20:53:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416223 -3.103068)'), GeomFromEWKT('SRID=4674;POINT (-39.416331 -3.103173)'))) / (select extract(epoch from '2026-07-10 20:53:30'::timestamp) - extract(epoch from '2026-07-10 20:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416223 -3.103068)'), GeomFromEWKT('SRID=4674;POINT (-39.416331 -3.103173)'))) / (select extract(epoch from '2026-07-10 20:53:30'::timestamp) - extract(epoch from '2026-07-10 20:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.416424 -3.103263)', '2026-07-10 20:53:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416331 -3.103173)'), GeomFromEWKT('SRID=4674;POINT (-39.416424 -3.103263)'))) / (select extract(epoch from '2026-07-10 20:53:36'::timestamp) - extract(epoch from '2026-07-10 20:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416331 -3.103173)'), GeomFromEWKT('SRID=4674;POINT (-39.416424 -3.103263)'))) / (select extract(epoch from '2026-07-10 20:53:36'::timestamp) - extract(epoch from '2026-07-10 20:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.416539 -3.10339)', '2026-07-10 20:53:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416424 -3.103263)'), GeomFromEWKT('SRID=4674;POINT (-39.416539 -3.10339)'))) / (select extract(epoch from '2026-07-10 20:53:43'::timestamp) - extract(epoch from '2026-07-10 20:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416424 -3.103263)'), GeomFromEWKT('SRID=4674;POINT (-39.416539 -3.10339)'))) / (select extract(epoch from '2026-07-10 20:53:43'::timestamp) - extract(epoch from '2026-07-10 20:53:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.416618 -3.103491)', '2026-07-10 20:53:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416539 -3.10339)'), GeomFromEWKT('SRID=4674;POINT (-39.416618 -3.103491)'))) / (select extract(epoch from '2026-07-10 20:53:49'::timestamp) - extract(epoch from '2026-07-10 20:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416539 -3.10339)'), GeomFromEWKT('SRID=4674;POINT (-39.416618 -3.103491)'))) / (select extract(epoch from '2026-07-10 20:53:49'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.416724 -3.103635)', '2026-07-10 20:53:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416618 -3.103491)'), GeomFromEWKT('SRID=4674;POINT (-39.416724 -3.103635)'))) / (select extract(epoch from '2026-07-10 20:53:58'::timestamp) - extract(epoch from '2026-07-10 20:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416618 -3.103491)'), GeomFromEWKT('SRID=4674;POINT (-39.416724 -3.103635)'))) / (select extract(epoch from '2026-07-10 20:53:58'::timestamp) - extract(epoch from '2026-07-10 20:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.416812 -3.103774)', '2026-07-10 20:54:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416724 -3.103635)'), GeomFromEWKT('SRID=4674;POINT (-39.416812 -3.103774)'))) / (select extract(epoch from '2026-07-10 20:54:06'::timestamp) - extract(epoch from '2026-07-10 20:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416724 -3.103635)'), GeomFromEWKT('SRID=4674;POINT (-39.416812 -3.103774)'))) / (select extract(epoch from '2026-07-10 20:54:06'::timestamp) - extract(epoch from '2026-07-10 20:53: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'), 47986, 'SRID=4674;POINT (-39.416917 -3.103914)', '2026-07-10 20:54:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416812 -3.103774)'), GeomFromEWKT('SRID=4674;POINT (-39.416917 -3.103914)'))) / (select extract(epoch from '2026-07-10 20:54:14'::timestamp) - extract(epoch from '2026-07-10 20:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416812 -3.103774)'), GeomFromEWKT('SRID=4674;POINT (-39.416917 -3.103914)'))) / (select extract(epoch from '2026-07-10 20:54:14'::timestamp) - extract(epoch from '2026-07-10 20:54: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'), 47986, 'SRID=4674;POINT (-39.41699 -3.104049)', '2026-07-10 20:54:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416917 -3.103914)'), GeomFromEWKT('SRID=4674;POINT (-39.41699 -3.104049)'))) / (select extract(epoch from '2026-07-10 20:54:20'::timestamp) - extract(epoch from '2026-07-10 20:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.416917 -3.103914)'), GeomFromEWKT('SRID=4674;POINT (-39.41699 -3.104049)'))) / (select extract(epoch from '2026-07-10 20:54:20'::timestamp) - extract(epoch from '2026-07-10 20:54:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.417034 -3.104152)', '2026-07-10 20:54:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41699 -3.104049)'), GeomFromEWKT('SRID=4674;POINT (-39.417034 -3.104152)'))) / (select extract(epoch from '2026-07-10 20:54:25'::timestamp) - extract(epoch from '2026-07-10 20:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41699 -3.104049)'), GeomFromEWKT('SRID=4674;POINT (-39.417034 -3.104152)'))) / (select extract(epoch from '2026-07-10 20:54:25'::timestamp) - extract(epoch from '2026-07-10 20:54: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'), 47986, 'SRID=4674;POINT (-39.417106 -3.104242)', '2026-07-10 20:54:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417034 -3.104152)'), GeomFromEWKT('SRID=4674;POINT (-39.417106 -3.104242)'))) / (select extract(epoch from '2026-07-10 20:54:31'::timestamp) - extract(epoch from '2026-07-10 20:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417034 -3.104152)'), GeomFromEWKT('SRID=4674;POINT (-39.417106 -3.104242)'))) / (select extract(epoch from '2026-07-10 20:54:31'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.417164 -3.10433)', '2026-07-10 20:54:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417106 -3.104242)'), GeomFromEWKT('SRID=4674;POINT (-39.417164 -3.10433)'))) / (select extract(epoch from '2026-07-10 20:54:36'::timestamp) - extract(epoch from '2026-07-10 20:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417106 -3.104242)'), GeomFromEWKT('SRID=4674;POINT (-39.417164 -3.10433)'))) / (select extract(epoch from '2026-07-10 20:54:36'::timestamp) - extract(epoch from '2026-07-10 20:54: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'), 47986, 'SRID=4674;POINT (-39.417252 -3.104479)', '2026-07-10 20:54:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417164 -3.10433)'), GeomFromEWKT('SRID=4674;POINT (-39.417252 -3.104479)'))) / (select extract(epoch from '2026-07-10 20:54:44'::timestamp) - extract(epoch from '2026-07-10 20:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417164 -3.10433)'), GeomFromEWKT('SRID=4674;POINT (-39.417252 -3.104479)'))) / (select extract(epoch from '2026-07-10 20:54:44'::timestamp) - extract(epoch from '2026-07-10 20:54: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'), 47986, 'SRID=4674;POINT (-39.417337 -3.104613)', '2026-07-10 20:54:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417252 -3.104479)'), GeomFromEWKT('SRID=4674;POINT (-39.417337 -3.104613)'))) / (select extract(epoch from '2026-07-10 20:54:51'::timestamp) - extract(epoch from '2026-07-10 20:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417252 -3.104479)'), GeomFromEWKT('SRID=4674;POINT (-39.417337 -3.104613)'))) / (select extract(epoch from '2026-07-10 20:54:51'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.417425 -3.104735)', '2026-07-10 20:54:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417337 -3.104613)'), GeomFromEWKT('SRID=4674;POINT (-39.417425 -3.104735)'))) / (select extract(epoch from '2026-07-10 20:54:58'::timestamp) - extract(epoch from '2026-07-10 20:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417337 -3.104613)'), GeomFromEWKT('SRID=4674;POINT (-39.417425 -3.104735)'))) / (select extract(epoch from '2026-07-10 20:54:58'::timestamp) - extract(epoch from '2026-07-10 20:54: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'), 47986, 'SRID=4674;POINT (-39.417506 -3.104832)', '2026-07-10 20:55:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417425 -3.104735)'), GeomFromEWKT('SRID=4674;POINT (-39.417506 -3.104832)'))) / (select extract(epoch from '2026-07-10 20:55:03'::timestamp) - extract(epoch from '2026-07-10 20:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417425 -3.104735)'), GeomFromEWKT('SRID=4674;POINT (-39.417506 -3.104832)'))) / (select extract(epoch from '2026-07-10 20:55:03'::timestamp) - extract(epoch from '2026-07-10 20:54:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.417568 -3.104938)', '2026-07-10 20:55:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417506 -3.104832)'), GeomFromEWKT('SRID=4674;POINT (-39.417568 -3.104938)'))) / (select extract(epoch from '2026-07-10 20:55:08'::timestamp) - extract(epoch from '2026-07-10 20:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417506 -3.104832)'), GeomFromEWKT('SRID=4674;POINT (-39.417568 -3.104938)'))) / (select extract(epoch from '2026-07-10 20:55:08'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.417622 -3.105044)', '2026-07-10 20:55:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417568 -3.104938)'), GeomFromEWKT('SRID=4674;POINT (-39.417622 -3.105044)'))) / (select extract(epoch from '2026-07-10 20:55:13'::timestamp) - extract(epoch from '2026-07-10 20:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417568 -3.104938)'), GeomFromEWKT('SRID=4674;POINT (-39.417622 -3.105044)'))) / (select extract(epoch from '2026-07-10 20:55:13'::timestamp) - extract(epoch from '2026-07-10 20:55: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'), 47986, 'SRID=4674;POINT (-39.417679 -3.105144)', '2026-07-10 20:55:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417622 -3.105044)'), GeomFromEWKT('SRID=4674;POINT (-39.417679 -3.105144)'))) / (select extract(epoch from '2026-07-10 20:55:19'::timestamp) - extract(epoch from '2026-07-10 20:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417622 -3.105044)'), GeomFromEWKT('SRID=4674;POINT (-39.417679 -3.105144)'))) / (select extract(epoch from '2026-07-10 20:55:19'::timestamp) - extract(epoch from '2026-07-10 20:55: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'), 47986, 'SRID=4674;POINT (-39.417736 -3.105254)', '2026-07-10 20:55:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417679 -3.105144)'), GeomFromEWKT('SRID=4674;POINT (-39.417736 -3.105254)'))) / (select extract(epoch from '2026-07-10 20:55:25'::timestamp) - extract(epoch from '2026-07-10 20:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417679 -3.105144)'), GeomFromEWKT('SRID=4674;POINT (-39.417736 -3.105254)'))) / (select extract(epoch from '2026-07-10 20:55:25'::timestamp) - extract(epoch from '2026-07-10 20:55: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'), 47986, 'SRID=4674;POINT (-39.417822 -3.105357)', '2026-07-10 20:55:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417736 -3.105254)'), GeomFromEWKT('SRID=4674;POINT (-39.417822 -3.105357)'))) / (select extract(epoch from '2026-07-10 20:55:33'::timestamp) - extract(epoch from '2026-07-10 20:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417736 -3.105254)'), GeomFromEWKT('SRID=4674;POINT (-39.417822 -3.105357)'))) / (select extract(epoch from '2026-07-10 20:55:33'::timestamp) - extract(epoch from '2026-07-10 20:55: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'), 47986, 'SRID=4674;POINT (-39.417884 -3.105445)', '2026-07-10 20:55:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417822 -3.105357)'), GeomFromEWKT('SRID=4674;POINT (-39.417884 -3.105445)'))) / (select extract(epoch from '2026-07-10 20:55:38'::timestamp) - extract(epoch from '2026-07-10 20:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417822 -3.105357)'), GeomFromEWKT('SRID=4674;POINT (-39.417884 -3.105445)'))) / (select extract(epoch from '2026-07-10 20:55:38'::timestamp) - extract(epoch from '2026-07-10 20:55:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.417958 -3.105565)', '2026-07-10 20:55:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417884 -3.105445)'), GeomFromEWKT('SRID=4674;POINT (-39.417958 -3.105565)'))) / (select extract(epoch from '2026-07-10 20:55:44'::timestamp) - extract(epoch from '2026-07-10 20:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417884 -3.105445)'), GeomFromEWKT('SRID=4674;POINT (-39.417958 -3.105565)'))) / (select extract(epoch from '2026-07-10 20:55:44'::timestamp) - extract(epoch from '2026-07-10 20:55: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'), 47986, 'SRID=4674;POINT (-39.418062 -3.105725)', '2026-07-10 20:55:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417958 -3.105565)'), GeomFromEWKT('SRID=4674;POINT (-39.418062 -3.105725)'))) / (select extract(epoch from '2026-07-10 20:55:53'::timestamp) - extract(epoch from '2026-07-10 20:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.417958 -3.105565)'), GeomFromEWKT('SRID=4674;POINT (-39.418062 -3.105725)'))) / (select extract(epoch from '2026-07-10 20:55:53'::timestamp) - extract(epoch from '2026-07-10 20:55:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.418141 -3.105856)', '2026-07-10 20:56:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418062 -3.105725)'), GeomFromEWKT('SRID=4674;POINT (-39.418141 -3.105856)'))) / (select extract(epoch from '2026-07-10 20:56:00'::timestamp) - extract(epoch from '2026-07-10 20:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418062 -3.105725)'), GeomFromEWKT('SRID=4674;POINT (-39.418141 -3.105856)'))) / (select extract(epoch from '2026-07-10 20:56:00'::timestamp) - extract(epoch from '2026-07-10 20:55: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'), 47986, 'SRID=4674;POINT (-39.418198 -3.105957)', '2026-07-10 20:56:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418141 -3.105856)'), GeomFromEWKT('SRID=4674;POINT (-39.418198 -3.105957)'))) / (select extract(epoch from '2026-07-10 20:56:06'::timestamp) - extract(epoch from '2026-07-10 20:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418141 -3.105856)'), GeomFromEWKT('SRID=4674;POINT (-39.418198 -3.105957)'))) / (select extract(epoch from '2026-07-10 20:56:06'::timestamp) - extract(epoch from '2026-07-10 20:56: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'), 47986, 'SRID=4674;POINT (-39.418249 -3.106057)', '2026-07-10 20:56:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418198 -3.105957)'), GeomFromEWKT('SRID=4674;POINT (-39.418249 -3.106057)'))) / (select extract(epoch from '2026-07-10 20:56:11'::timestamp) - extract(epoch from '2026-07-10 20:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418198 -3.105957)'), GeomFromEWKT('SRID=4674;POINT (-39.418249 -3.106057)'))) / (select extract(epoch from '2026-07-10 20:56:11'::timestamp) - extract(epoch from '2026-07-10 20:56: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'), 47986, 'SRID=4674;POINT (-39.418254 -3.106074)', '2026-07-10 20:56:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418249 -3.106057)'), GeomFromEWKT('SRID=4674;POINT (-39.418254 -3.106074)'))) / (select extract(epoch from '2026-07-10 20:56:12'::timestamp) - extract(epoch from '2026-07-10 20:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418249 -3.106057)'), GeomFromEWKT('SRID=4674;POINT (-39.418254 -3.106074)'))) / (select extract(epoch from '2026-07-10 20:56:12'::timestamp) - extract(epoch from '2026-07-10 20:56: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'), 47986, 'SRID=4674;POINT (-39.418297 -3.106173)', '2026-07-10 20:56:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418254 -3.106074)'), GeomFromEWKT('SRID=4674;POINT (-39.418297 -3.106173)'))) / (select extract(epoch from '2026-07-10 20:56:17'::timestamp) - extract(epoch from '2026-07-10 20:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418254 -3.106074)'), GeomFromEWKT('SRID=4674;POINT (-39.418297 -3.106173)'))) / (select extract(epoch from '2026-07-10 20:56:17'::timestamp) - extract(epoch from '2026-07-10 20:56: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'), 47986, 'SRID=4674;POINT (-39.41835 -3.106282)', '2026-07-10 20:56:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418297 -3.106173)'), GeomFromEWKT('SRID=4674;POINT (-39.41835 -3.106282)'))) / (select extract(epoch from '2026-07-10 20:56:23'::timestamp) - extract(epoch from '2026-07-10 20:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418297 -3.106173)'), GeomFromEWKT('SRID=4674;POINT (-39.41835 -3.106282)'))) / (select extract(epoch from '2026-07-10 20:56:23'::timestamp) - extract(epoch from '2026-07-10 20:56: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'), 47986, 'SRID=4674;POINT (-39.418418 -3.106409)', '2026-07-10 20:56:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41835 -3.106282)'), GeomFromEWKT('SRID=4674;POINT (-39.418418 -3.106409)'))) / (select extract(epoch from '2026-07-10 20:56:29'::timestamp) - extract(epoch from '2026-07-10 20:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41835 -3.106282)'), GeomFromEWKT('SRID=4674;POINT (-39.418418 -3.106409)'))) / (select extract(epoch from '2026-07-10 20:56:29'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.418471 -3.1065)', '2026-07-10 20:56:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418418 -3.106409)'), GeomFromEWKT('SRID=4674;POINT (-39.418471 -3.1065)'))) / (select extract(epoch from '2026-07-10 20:56:34'::timestamp) - extract(epoch from '2026-07-10 20:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418418 -3.106409)'), GeomFromEWKT('SRID=4674;POINT (-39.418471 -3.1065)'))) / (select extract(epoch from '2026-07-10 20:56:34'::timestamp) - extract(epoch from '2026-07-10 20:56: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'), 47986, 'SRID=4674;POINT (-39.418579 -3.106642)', '2026-07-10 20:56:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418471 -3.1065)'), GeomFromEWKT('SRID=4674;POINT (-39.418579 -3.106642)'))) / (select extract(epoch from '2026-07-10 20:56:41'::timestamp) - extract(epoch from '2026-07-10 20:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418471 -3.1065)'), GeomFromEWKT('SRID=4674;POINT (-39.418579 -3.106642)'))) / (select extract(epoch from '2026-07-10 20:56:41'::timestamp) - extract(epoch from '2026-07-10 20:56: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'), 47986, 'SRID=4674;POINT (-39.418644 -3.106774)', '2026-07-10 20:56:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418579 -3.106642)'), GeomFromEWKT('SRID=4674;POINT (-39.418644 -3.106774)'))) / (select extract(epoch from '2026-07-10 20:56:48'::timestamp) - extract(epoch from '2026-07-10 20:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418579 -3.106642)'), GeomFromEWKT('SRID=4674;POINT (-39.418644 -3.106774)'))) / (select extract(epoch from '2026-07-10 20:56:48'::timestamp) - extract(epoch from '2026-07-10 20:56: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'), 47986, 'SRID=4674;POINT (-39.418705 -3.106896)', '2026-07-10 20:56:55', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418644 -3.106774)'), GeomFromEWKT('SRID=4674;POINT (-39.418705 -3.106896)'))) / (select extract(epoch from '2026-07-10 20:56:55'::timestamp) - extract(epoch from '2026-07-10 20:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418644 -3.106774)'), GeomFromEWKT('SRID=4674;POINT (-39.418705 -3.106896)'))) / (select extract(epoch from '2026-07-10 20:56:55'::timestamp) - extract(epoch from '2026-07-10 20:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.418787 -3.107015)', '2026-07-10 20:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418705 -3.106896)'), GeomFromEWKT('SRID=4674;POINT (-39.418787 -3.107015)'))) / (select extract(epoch from '2026-07-10 20:57:02'::timestamp) - extract(epoch from '2026-07-10 20:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418705 -3.106896)'), GeomFromEWKT('SRID=4674;POINT (-39.418787 -3.107015)'))) / (select extract(epoch from '2026-07-10 20:57:02'::timestamp) - extract(epoch from '2026-07-10 20:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.41884 -3.107118)', '2026-07-10 20:57:07', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418787 -3.107015)'), GeomFromEWKT('SRID=4674;POINT (-39.41884 -3.107118)'))) / (select extract(epoch from '2026-07-10 20:57:07'::timestamp) - extract(epoch from '2026-07-10 20:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418787 -3.107015)'), GeomFromEWKT('SRID=4674;POINT (-39.41884 -3.107118)'))) / (select extract(epoch from '2026-07-10 20:57:07'::timestamp) - extract(epoch from '2026-07-10 20:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.418916 -3.107231)', '2026-07-10 20:57:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41884 -3.107118)'), GeomFromEWKT('SRID=4674;POINT (-39.418916 -3.107231)'))) / (select extract(epoch from '2026-07-10 20:57:14'::timestamp) - extract(epoch from '2026-07-10 20:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41884 -3.107118)'), GeomFromEWKT('SRID=4674;POINT (-39.418916 -3.107231)'))) / (select extract(epoch from '2026-07-10 20:57:14'::timestamp) - extract(epoch from '2026-07-10 20:57: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'), 47986, 'SRID=4674;POINT (-39.419015 -3.107373)', '2026-07-10 20:57:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418916 -3.107231)'), GeomFromEWKT('SRID=4674;POINT (-39.419015 -3.107373)'))) / (select extract(epoch from '2026-07-10 20:57:22'::timestamp) - extract(epoch from '2026-07-10 20:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.418916 -3.107231)'), GeomFromEWKT('SRID=4674;POINT (-39.419015 -3.107373)'))) / (select extract(epoch from '2026-07-10 20:57:22'::timestamp) - extract(epoch from '2026-07-10 20:57: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'), 47986, 'SRID=4674;POINT (-39.419087 -3.107469)', '2026-07-10 20:57:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419015 -3.107373)'), GeomFromEWKT('SRID=4674;POINT (-39.419087 -3.107469)'))) / (select extract(epoch from '2026-07-10 20:57:28'::timestamp) - extract(epoch from '2026-07-10 20:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419015 -3.107373)'), GeomFromEWKT('SRID=4674;POINT (-39.419087 -3.107469)'))) / (select extract(epoch from '2026-07-10 20:57:28'::timestamp) - extract(epoch from '2026-07-10 20:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.419173 -3.107551)', '2026-07-10 20:57:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419087 -3.107469)'), GeomFromEWKT('SRID=4674;POINT (-39.419173 -3.107551)'))) / (select extract(epoch from '2026-07-10 20:57:33'::timestamp) - extract(epoch from '2026-07-10 20:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419087 -3.107469)'), GeomFromEWKT('SRID=4674;POINT (-39.419173 -3.107551)'))) / (select extract(epoch from '2026-07-10 20:57:33'::timestamp) - extract(epoch from '2026-07-10 20:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.419238 -3.107648)', '2026-07-10 20:57:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419173 -3.107551)'), GeomFromEWKT('SRID=4674;POINT (-39.419238 -3.107648)'))) / (select extract(epoch from '2026-07-10 20:57:39'::timestamp) - extract(epoch from '2026-07-10 20:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419173 -3.107551)'), GeomFromEWKT('SRID=4674;POINT (-39.419238 -3.107648)'))) / (select extract(epoch from '2026-07-10 20:57:39'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.419319 -3.10777)', '2026-07-10 20:57:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419238 -3.107648)'), GeomFromEWKT('SRID=4674;POINT (-39.419319 -3.10777)'))) / (select extract(epoch from '2026-07-10 20:57:46'::timestamp) - extract(epoch from '2026-07-10 20:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419238 -3.107648)'), GeomFromEWKT('SRID=4674;POINT (-39.419319 -3.10777)'))) / (select extract(epoch from '2026-07-10 20:57:46'::timestamp) - extract(epoch from '2026-07-10 20:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.419377 -3.107918)', '2026-07-10 20:57:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419319 -3.10777)'), GeomFromEWKT('SRID=4674;POINT (-39.419377 -3.107918)'))) / (select extract(epoch from '2026-07-10 20:57:53'::timestamp) - extract(epoch from '2026-07-10 20:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419319 -3.10777)'), GeomFromEWKT('SRID=4674;POINT (-39.419377 -3.107918)'))) / (select extract(epoch from '2026-07-10 20:57:53'::timestamp) - extract(epoch from '2026-07-10 20:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.419445 -3.108083)', '2026-07-10 20:58:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419377 -3.107918)'), GeomFromEWKT('SRID=4674;POINT (-39.419445 -3.108083)'))) / (select extract(epoch from '2026-07-10 20:58:00'::timestamp) - extract(epoch from '2026-07-10 20:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419377 -3.107918)'), GeomFromEWKT('SRID=4674;POINT (-39.419445 -3.108083)'))) / (select extract(epoch from '2026-07-10 20:58:00'::timestamp) - extract(epoch from '2026-07-10 20:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.419503 -3.108258)', '2026-07-10 20:58:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419445 -3.108083)'), GeomFromEWKT('SRID=4674;POINT (-39.419503 -3.108258)'))) / (select extract(epoch from '2026-07-10 20:58:09'::timestamp) - extract(epoch from '2026-07-10 20:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419445 -3.108083)'), GeomFromEWKT('SRID=4674;POINT (-39.419503 -3.108258)'))) / (select extract(epoch from '2026-07-10 20:58:09'::timestamp) - extract(epoch from '2026-07-10 20:58: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'), 47986, 'SRID=4674;POINT (-39.419572 -3.108388)', '2026-07-10 20:58:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419503 -3.108258)'), GeomFromEWKT('SRID=4674;POINT (-39.419572 -3.108388)'))) / (select extract(epoch from '2026-07-10 20:58:16'::timestamp) - extract(epoch from '2026-07-10 20:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419503 -3.108258)'), GeomFromEWKT('SRID=4674;POINT (-39.419572 -3.108388)'))) / (select extract(epoch from '2026-07-10 20:58:16'::timestamp) - extract(epoch from '2026-07-10 20:58:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.41967 -3.108548)', '2026-07-10 20:58:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419572 -3.108388)'), GeomFromEWKT('SRID=4674;POINT (-39.41967 -3.108548)'))) / (select extract(epoch from '2026-07-10 20:58:25'::timestamp) - extract(epoch from '2026-07-10 20:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419572 -3.108388)'), GeomFromEWKT('SRID=4674;POINT (-39.41967 -3.108548)'))) / (select extract(epoch from '2026-07-10 20:58:25'::timestamp) - extract(epoch from '2026-07-10 20:58:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.419738 -3.108676)', '2026-07-10 20:58:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41967 -3.108548)'), GeomFromEWKT('SRID=4674;POINT (-39.419738 -3.108676)'))) / (select extract(epoch from '2026-07-10 20:58:32'::timestamp) - extract(epoch from '2026-07-10 20:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.41967 -3.108548)'), GeomFromEWKT('SRID=4674;POINT (-39.419738 -3.108676)'))) / (select extract(epoch from '2026-07-10 20:58:32'::timestamp) - extract(epoch from '2026-07-10 20:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.419788 -3.108774)', '2026-07-10 20:58:36', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419738 -3.108676)'), GeomFromEWKT('SRID=4674;POINT (-39.419788 -3.108774)'))) / (select extract(epoch from '2026-07-10 20:58:36'::timestamp) - extract(epoch from '2026-07-10 20:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419738 -3.108676)'), GeomFromEWKT('SRID=4674;POINT (-39.419788 -3.108774)'))) / (select extract(epoch from '2026-07-10 20:58:36'::timestamp) - extract(epoch from '2026-07-10 20:58: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'), 47986, 'SRID=4674;POINT (-39.419805 -3.108796)', '2026-07-10 20:58:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419788 -3.108774)'), GeomFromEWKT('SRID=4674;POINT (-39.419805 -3.108796)'))) / (select extract(epoch from '2026-07-10 20:58:37'::timestamp) - extract(epoch from '2026-07-10 20:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419788 -3.108774)'), GeomFromEWKT('SRID=4674;POINT (-39.419805 -3.108796)'))) / (select extract(epoch from '2026-07-10 20:58:37'::timestamp) - extract(epoch from '2026-07-10 20:58:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.419877 -3.108922)', '2026-07-10 20:58:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419805 -3.108796)'), GeomFromEWKT('SRID=4674;POINT (-39.419877 -3.108922)'))) / (select extract(epoch from '2026-07-10 20:58:44'::timestamp) - extract(epoch from '2026-07-10 20:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419805 -3.108796)'), GeomFromEWKT('SRID=4674;POINT (-39.419877 -3.108922)'))) / (select extract(epoch from '2026-07-10 20:58:44'::timestamp) - extract(epoch from '2026-07-10 20:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.419947 -3.109049)', '2026-07-10 20:58:51', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419877 -3.108922)'), GeomFromEWKT('SRID=4674;POINT (-39.419947 -3.109049)'))) / (select extract(epoch from '2026-07-10 20:58:51'::timestamp) - extract(epoch from '2026-07-10 20:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419877 -3.108922)'), GeomFromEWKT('SRID=4674;POINT (-39.419947 -3.109049)'))) / (select extract(epoch from '2026-07-10 20:58:51'::timestamp) - extract(epoch from '2026-07-10 20:58: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'), 47986, 'SRID=4674;POINT (-39.42002 -3.109166)', '2026-07-10 20:58:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419947 -3.109049)'), GeomFromEWKT('SRID=4674;POINT (-39.42002 -3.109166)'))) / (select extract(epoch from '2026-07-10 20:58:58'::timestamp) - extract(epoch from '2026-07-10 20:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.419947 -3.109049)'), GeomFromEWKT('SRID=4674;POINT (-39.42002 -3.109166)'))) / (select extract(epoch from '2026-07-10 20:58:58'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.420136 -3.109308)', '2026-07-10 20:59:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42002 -3.109166)'), GeomFromEWKT('SRID=4674;POINT (-39.420136 -3.109308)'))) / (select extract(epoch from '2026-07-10 20:59:05'::timestamp) - extract(epoch from '2026-07-10 20:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42002 -3.109166)'), GeomFromEWKT('SRID=4674;POINT (-39.420136 -3.109308)'))) / (select extract(epoch from '2026-07-10 20:59:05'::timestamp) - extract(epoch from '2026-07-10 20: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'), 47986, 'SRID=4674;POINT (-39.420227 -3.109433)', '2026-07-10 20:59:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420136 -3.109308)'), GeomFromEWKT('SRID=4674;POINT (-39.420227 -3.109433)'))) / (select extract(epoch from '2026-07-10 20:59:12'::timestamp) - extract(epoch from '2026-07-10 20:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420136 -3.109308)'), GeomFromEWKT('SRID=4674;POINT (-39.420227 -3.109433)'))) / (select extract(epoch from '2026-07-10 20:59:12'::timestamp) - extract(epoch from '2026-07-10 20:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.420303 -3.109546)', '2026-07-10 20:59:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420227 -3.109433)'), GeomFromEWKT('SRID=4674;POINT (-39.420303 -3.109546)'))) / (select extract(epoch from '2026-07-10 20:59:18'::timestamp) - extract(epoch from '2026-07-10 20:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420227 -3.109433)'), GeomFromEWKT('SRID=4674;POINT (-39.420303 -3.109546)'))) / (select extract(epoch from '2026-07-10 20:59:18'::timestamp) - extract(epoch from '2026-07-10 20:59:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.420351 -3.109628)', '2026-07-10 20:59:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420303 -3.109546)'), GeomFromEWKT('SRID=4674;POINT (-39.420351 -3.109628)'))) / (select extract(epoch from '2026-07-10 20:59:23'::timestamp) - extract(epoch from '2026-07-10 20:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420303 -3.109546)'), GeomFromEWKT('SRID=4674;POINT (-39.420351 -3.109628)'))) / (select extract(epoch from '2026-07-10 20:59:23'::timestamp) - extract(epoch from '2026-07-10 20:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.420408 -3.109719)', '2026-07-10 20:59:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420351 -3.109628)'), GeomFromEWKT('SRID=4674;POINT (-39.420408 -3.109719)'))) / (select extract(epoch from '2026-07-10 20:59:28'::timestamp) - extract(epoch from '2026-07-10 20:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420351 -3.109628)'), GeomFromEWKT('SRID=4674;POINT (-39.420408 -3.109719)'))) / (select extract(epoch from '2026-07-10 20:59:28'::timestamp) - extract(epoch from '2026-07-10 20:59: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'), 47986, 'SRID=4674;POINT (-39.420466 -3.109812)', '2026-07-10 20:59:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420408 -3.109719)'), GeomFromEWKT('SRID=4674;POINT (-39.420466 -3.109812)'))) / (select extract(epoch from '2026-07-10 20:59:33'::timestamp) - extract(epoch from '2026-07-10 20:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420408 -3.109719)'), GeomFromEWKT('SRID=4674;POINT (-39.420466 -3.109812)'))) / (select extract(epoch from '2026-07-10 20:59:33'::timestamp) - extract(epoch from '2026-07-10 20:59: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'), 47986, 'SRID=4674;POINT (-39.420536 -3.109916)', '2026-07-10 20:59:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420466 -3.109812)'), GeomFromEWKT('SRID=4674;POINT (-39.420536 -3.109916)'))) / (select extract(epoch from '2026-07-10 20:59:39'::timestamp) - extract(epoch from '2026-07-10 20:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420466 -3.109812)'), GeomFromEWKT('SRID=4674;POINT (-39.420536 -3.109916)'))) / (select extract(epoch from '2026-07-10 20:59:39'::timestamp) - extract(epoch from '2026-07-10 20:59: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'), 47986, 'SRID=4674;POINT (-39.420618 -3.110019)', '2026-07-10 20:59:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420536 -3.109916)'), GeomFromEWKT('SRID=4674;POINT (-39.420618 -3.110019)'))) / (select extract(epoch from '2026-07-10 20:59:45'::timestamp) - extract(epoch from '2026-07-10 20:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420536 -3.109916)'), GeomFromEWKT('SRID=4674;POINT (-39.420618 -3.110019)'))) / (select extract(epoch from '2026-07-10 20:59:45'::timestamp) - extract(epoch from '2026-07-10 20:59: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'), 47986, 'SRID=4674;POINT (-39.420628 -3.110035)', '2026-07-10 20:59:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420618 -3.110019)'), GeomFromEWKT('SRID=4674;POINT (-39.420628 -3.110035)'))) / (select extract(epoch from '2026-07-10 20:59:46'::timestamp) - extract(epoch from '2026-07-10 20:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420618 -3.110019)'), GeomFromEWKT('SRID=4674;POINT (-39.420628 -3.110035)'))) / (select extract(epoch from '2026-07-10 20:59:46'::timestamp) - extract(epoch from '2026-07-10 20:59: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'), 47986, 'SRID=4674;POINT (-39.420686 -3.110104)', '2026-07-10 20:59:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420628 -3.110035)'), GeomFromEWKT('SRID=4674;POINT (-39.420686 -3.110104)'))) / (select extract(epoch from '2026-07-10 20:59:50'::timestamp) - extract(epoch from '2026-07-10 20:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420628 -3.110035)'), GeomFromEWKT('SRID=4674;POINT (-39.420686 -3.110104)'))) / (select extract(epoch from '2026-07-10 20:59:50'::timestamp) - extract(epoch from '2026-07-10 20:59: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'), 47986, 'SRID=4674;POINT (-39.420765 -3.110207)', '2026-07-10 20:59:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420686 -3.110104)'), GeomFromEWKT('SRID=4674;POINT (-39.420765 -3.110207)'))) / (select extract(epoch from '2026-07-10 20:59:56'::timestamp) - extract(epoch from '2026-07-10 20:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420686 -3.110104)'), GeomFromEWKT('SRID=4674;POINT (-39.420765 -3.110207)'))) / (select extract(epoch from '2026-07-10 20:59:56'::timestamp) - extract(epoch from '2026-07-10 20:59:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.420845 -3.11032)', '2026-07-10 21:00:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420765 -3.110207)'), GeomFromEWKT('SRID=4674;POINT (-39.420845 -3.11032)'))) / (select extract(epoch from '2026-07-10 21:00:02'::timestamp) - extract(epoch from '2026-07-10 20:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420765 -3.110207)'), GeomFromEWKT('SRID=4674;POINT (-39.420845 -3.11032)'))) / (select extract(epoch from '2026-07-10 21:00:02'::timestamp) - extract(epoch from '2026-07-10 20:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.420917 -3.110421)', '2026-07-10 21:00:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420845 -3.11032)'), GeomFromEWKT('SRID=4674;POINT (-39.420917 -3.110421)'))) / (select extract(epoch from '2026-07-10 21:00:08'::timestamp) - extract(epoch from '2026-07-10 21:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420845 -3.11032)'), GeomFromEWKT('SRID=4674;POINT (-39.420917 -3.110421)'))) / (select extract(epoch from '2026-07-10 21:00:08'::timestamp) - extract(epoch from '2026-07-10 21:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.420964 -3.110511)', '2026-07-10 21:00:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420917 -3.110421)'), GeomFromEWKT('SRID=4674;POINT (-39.420964 -3.110511)'))) / (select extract(epoch from '2026-07-10 21:00:13'::timestamp) - extract(epoch from '2026-07-10 21:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420917 -3.110421)'), GeomFromEWKT('SRID=4674;POINT (-39.420964 -3.110511)'))) / (select extract(epoch from '2026-07-10 21:00:13'::timestamp) - extract(epoch from '2026-07-10 21:00:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.421038 -3.110605)', '2026-07-10 21:00:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420964 -3.110511)'), GeomFromEWKT('SRID=4674;POINT (-39.421038 -3.110605)'))) / (select extract(epoch from '2026-07-10 21:00:19'::timestamp) - extract(epoch from '2026-07-10 21:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.420964 -3.110511)'), GeomFromEWKT('SRID=4674;POINT (-39.421038 -3.110605)'))) / (select extract(epoch from '2026-07-10 21:00:19'::timestamp) - extract(epoch from '2026-07-10 21:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.421103 -3.110667)', '2026-07-10 21:00:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421038 -3.110605)'), GeomFromEWKT('SRID=4674;POINT (-39.421103 -3.110667)'))) / (select extract(epoch from '2026-07-10 21:00:23'::timestamp) - extract(epoch from '2026-07-10 21:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421038 -3.110605)'), GeomFromEWKT('SRID=4674;POINT (-39.421103 -3.110667)'))) / (select extract(epoch from '2026-07-10 21:00:23'::timestamp) - extract(epoch from '2026-07-10 21:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.421177 -3.110772)', '2026-07-10 21:00:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421103 -3.110667)'), GeomFromEWKT('SRID=4674;POINT (-39.421177 -3.110772)'))) / (select extract(epoch from '2026-07-10 21:00:29'::timestamp) - extract(epoch from '2026-07-10 21:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421103 -3.110667)'), GeomFromEWKT('SRID=4674;POINT (-39.421177 -3.110772)'))) / (select extract(epoch from '2026-07-10 21:00:29'::timestamp) - extract(epoch from '2026-07-10 21:00: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'), 47986, 'SRID=4674;POINT (-39.421194 -3.110791)', '2026-07-10 21:00:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421177 -3.110772)'), GeomFromEWKT('SRID=4674;POINT (-39.421194 -3.110791)'))) / (select extract(epoch from '2026-07-10 21:00:30'::timestamp) - extract(epoch from '2026-07-10 21:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421177 -3.110772)'), GeomFromEWKT('SRID=4674;POINT (-39.421194 -3.110791)'))) / (select extract(epoch from '2026-07-10 21:00:30'::timestamp) - extract(epoch from '2026-07-10 21:00: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'), 47986, 'SRID=4674;POINT (-39.421234 -3.110837)', '2026-07-10 21:00:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421194 -3.110791)'), GeomFromEWKT('SRID=4674;POINT (-39.421234 -3.110837)'))) / (select extract(epoch from '2026-07-10 21:00:33'::timestamp) - extract(epoch from '2026-07-10 21:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421194 -3.110791)'), GeomFromEWKT('SRID=4674;POINT (-39.421234 -3.110837)'))) / (select extract(epoch from '2026-07-10 21:00:33'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.421348 -3.110966)', '2026-07-10 21:00:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421234 -3.110837)'), GeomFromEWKT('SRID=4674;POINT (-39.421348 -3.110966)'))) / (select extract(epoch from '2026-07-10 21:00:40'::timestamp) - extract(epoch from '2026-07-10 21:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421234 -3.110837)'), GeomFromEWKT('SRID=4674;POINT (-39.421348 -3.110966)'))) / (select extract(epoch from '2026-07-10 21:00:40'::timestamp) - extract(epoch from '2026-07-10 21:00: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'), 47986, 'SRID=4674;POINT (-39.421411 -3.111057)', '2026-07-10 21:00:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421348 -3.110966)'), GeomFromEWKT('SRID=4674;POINT (-39.421411 -3.111057)'))) / (select extract(epoch from '2026-07-10 21:00:45'::timestamp) - extract(epoch from '2026-07-10 21:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421348 -3.110966)'), GeomFromEWKT('SRID=4674;POINT (-39.421411 -3.111057)'))) / (select extract(epoch from '2026-07-10 21:00:45'::timestamp) - extract(epoch from '2026-07-10 21:00: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'), 47986, 'SRID=4674;POINT (-39.4215 -3.111178)', '2026-07-10 21:00:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421411 -3.111057)'), GeomFromEWKT('SRID=4674;POINT (-39.4215 -3.111178)'))) / (select extract(epoch from '2026-07-10 21:00:52'::timestamp) - extract(epoch from '2026-07-10 21:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421411 -3.111057)'), GeomFromEWKT('SRID=4674;POINT (-39.4215 -3.111178)'))) / (select extract(epoch from '2026-07-10 21:00:52'::timestamp) - extract(epoch from '2026-07-10 21:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.421565 -3.111291)', '2026-07-10 21:00:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4215 -3.111178)'), GeomFromEWKT('SRID=4674;POINT (-39.421565 -3.111291)'))) / (select extract(epoch from '2026-07-10 21:00:59'::timestamp) - extract(epoch from '2026-07-10 21:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4215 -3.111178)'), GeomFromEWKT('SRID=4674;POINT (-39.421565 -3.111291)'))) / (select extract(epoch from '2026-07-10 21:00:59'::timestamp) - extract(epoch from '2026-07-10 21:00: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'), 47986, 'SRID=4674;POINT (-39.421624 -3.111389)', '2026-07-10 21:01:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421565 -3.111291)'), GeomFromEWKT('SRID=4674;POINT (-39.421624 -3.111389)'))) / (select extract(epoch from '2026-07-10 21:01:05'::timestamp) - extract(epoch from '2026-07-10 21:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421565 -3.111291)'), GeomFromEWKT('SRID=4674;POINT (-39.421624 -3.111389)'))) / (select extract(epoch from '2026-07-10 21:01:05'::timestamp) - extract(epoch from '2026-07-10 21:00: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'), 47986, 'SRID=4674;POINT (-39.421704 -3.111515)', '2026-07-10 21:01:12', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421624 -3.111389)'), GeomFromEWKT('SRID=4674;POINT (-39.421704 -3.111515)'))) / (select extract(epoch from '2026-07-10 21:01:12'::timestamp) - extract(epoch from '2026-07-10 21:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421624 -3.111389)'), GeomFromEWKT('SRID=4674;POINT (-39.421704 -3.111515)'))) / (select extract(epoch from '2026-07-10 21:01:12'::timestamp) - extract(epoch from '2026-07-10 21:01:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.421773 -3.111653)', '2026-07-10 21:01:19', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421704 -3.111515)'), GeomFromEWKT('SRID=4674;POINT (-39.421773 -3.111653)'))) / (select extract(epoch from '2026-07-10 21:01:19'::timestamp) - extract(epoch from '2026-07-10 21:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421704 -3.111515)'), GeomFromEWKT('SRID=4674;POINT (-39.421773 -3.111653)'))) / (select extract(epoch from '2026-07-10 21:01:19'::timestamp) - extract(epoch from '2026-07-10 21:01: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'), 47986, 'SRID=4674;POINT (-39.421855 -3.111784)', '2026-07-10 21:01:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421773 -3.111653)'), GeomFromEWKT('SRID=4674;POINT (-39.421855 -3.111784)'))) / (select extract(epoch from '2026-07-10 21:01:26'::timestamp) - extract(epoch from '2026-07-10 21:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421773 -3.111653)'), GeomFromEWKT('SRID=4674;POINT (-39.421855 -3.111784)'))) / (select extract(epoch from '2026-07-10 21:01:26'::timestamp) - extract(epoch from '2026-07-10 21:01: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'), 47986, 'SRID=4674;POINT (-39.421952 -3.111914)', '2026-07-10 21:01:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421855 -3.111784)'), GeomFromEWKT('SRID=4674;POINT (-39.421952 -3.111914)'))) / (select extract(epoch from '2026-07-10 21:01:33'::timestamp) - extract(epoch from '2026-07-10 21:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421855 -3.111784)'), GeomFromEWKT('SRID=4674;POINT (-39.421952 -3.111914)'))) / (select extract(epoch from '2026-07-10 21:01:33'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.422024 -3.112008)', '2026-07-10 21:01:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421952 -3.111914)'), GeomFromEWKT('SRID=4674;POINT (-39.422024 -3.112008)'))) / (select extract(epoch from '2026-07-10 21:01:38'::timestamp) - extract(epoch from '2026-07-10 21:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.421952 -3.111914)'), GeomFromEWKT('SRID=4674;POINT (-39.422024 -3.112008)'))) / (select extract(epoch from '2026-07-10 21:01:38'::timestamp) - extract(epoch from '2026-07-10 21:01: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'), 47986, 'SRID=4674;POINT (-39.422081 -3.112094)', '2026-07-10 21:01:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422024 -3.112008)'), GeomFromEWKT('SRID=4674;POINT (-39.422081 -3.112094)'))) / (select extract(epoch from '2026-07-10 21:01:43'::timestamp) - extract(epoch from '2026-07-10 21:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422024 -3.112008)'), GeomFromEWKT('SRID=4674;POINT (-39.422081 -3.112094)'))) / (select extract(epoch from '2026-07-10 21:01:43'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.422147 -3.112191)', '2026-07-10 21:01:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422081 -3.112094)'), GeomFromEWKT('SRID=4674;POINT (-39.422147 -3.112191)'))) / (select extract(epoch from '2026-07-10 21:01:48'::timestamp) - extract(epoch from '2026-07-10 21:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422081 -3.112094)'), GeomFromEWKT('SRID=4674;POINT (-39.422147 -3.112191)'))) / (select extract(epoch from '2026-07-10 21:01:48'::timestamp) - extract(epoch from '2026-07-10 21:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.422233 -3.112304)', '2026-07-10 21:01:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422147 -3.112191)'), GeomFromEWKT('SRID=4674;POINT (-39.422233 -3.112304)'))) / (select extract(epoch from '2026-07-10 21:01:54'::timestamp) - extract(epoch from '2026-07-10 21:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422147 -3.112191)'), GeomFromEWKT('SRID=4674;POINT (-39.422233 -3.112304)'))) / (select extract(epoch from '2026-07-10 21:01:54'::timestamp) - extract(epoch from '2026-07-10 21:01: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'), 47986, 'SRID=4674;POINT (-39.422305 -3.11243)', '2026-07-10 21:02:01', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422233 -3.112304)'), GeomFromEWKT('SRID=4674;POINT (-39.422305 -3.11243)'))) / (select extract(epoch from '2026-07-10 21:02:01'::timestamp) - extract(epoch from '2026-07-10 21:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422233 -3.112304)'), GeomFromEWKT('SRID=4674;POINT (-39.422305 -3.11243)'))) / (select extract(epoch from '2026-07-10 21:02:01'::timestamp) - extract(epoch from '2026-07-10 21:01: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'), 47986, 'SRID=4674;POINT (-39.422393 -3.112548)', '2026-07-10 21:02:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422305 -3.11243)'), GeomFromEWKT('SRID=4674;POINT (-39.422393 -3.112548)'))) / (select extract(epoch from '2026-07-10 21:02:08'::timestamp) - extract(epoch from '2026-07-10 21:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422305 -3.11243)'), GeomFromEWKT('SRID=4674;POINT (-39.422393 -3.112548)'))) / (select extract(epoch from '2026-07-10 21:02:08'::timestamp) - extract(epoch from '2026-07-10 21:02: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'), 47986, 'SRID=4674;POINT (-39.422437 -3.112615)', '2026-07-10 21:02:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422393 -3.112548)'), GeomFromEWKT('SRID=4674;POINT (-39.422437 -3.112615)'))) / (select extract(epoch from '2026-07-10 21:02:13'::timestamp) - extract(epoch from '2026-07-10 21:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422393 -3.112548)'), GeomFromEWKT('SRID=4674;POINT (-39.422437 -3.112615)'))) / (select extract(epoch from '2026-07-10 21:02:13'::timestamp) - extract(epoch from '2026-07-10 21:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.422448 -3.112628)', '2026-07-10 21:02:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422437 -3.112615)'), GeomFromEWKT('SRID=4674;POINT (-39.422448 -3.112628)'))) / (select extract(epoch from '2026-07-10 21:02:14'::timestamp) - extract(epoch from '2026-07-10 21:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422437 -3.112615)'), GeomFromEWKT('SRID=4674;POINT (-39.422448 -3.112628)'))) / (select extract(epoch from '2026-07-10 21:02:14'::timestamp) - extract(epoch from '2026-07-10 21:02: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'), 47986, 'SRID=4674;POINT (-39.422531 -3.112798)', '2026-07-10 21:02:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422448 -3.112628)'), GeomFromEWKT('SRID=4674;POINT (-39.422531 -3.112798)'))) / (select extract(epoch from '2026-07-10 21:02:23'::timestamp) - extract(epoch from '2026-07-10 21:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422448 -3.112628)'), GeomFromEWKT('SRID=4674;POINT (-39.422531 -3.112798)'))) / (select extract(epoch from '2026-07-10 21:02:23'::timestamp) - extract(epoch from '2026-07-10 21:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.422599 -3.112916)', '2026-07-10 21:02:30', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422531 -3.112798)'), GeomFromEWKT('SRID=4674;POINT (-39.422599 -3.112916)'))) / (select extract(epoch from '2026-07-10 21:02:30'::timestamp) - extract(epoch from '2026-07-10 21:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422531 -3.112798)'), GeomFromEWKT('SRID=4674;POINT (-39.422599 -3.112916)'))) / (select extract(epoch from '2026-07-10 21:02:30'::timestamp) - extract(epoch from '2026-07-10 21:02: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'), 47986, 'SRID=4674;POINT (-39.422696 -3.113045)', '2026-07-10 21:02:38', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422599 -3.112916)'), GeomFromEWKT('SRID=4674;POINT (-39.422696 -3.113045)'))) / (select extract(epoch from '2026-07-10 21:02:38'::timestamp) - extract(epoch from '2026-07-10 21:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422599 -3.112916)'), GeomFromEWKT('SRID=4674;POINT (-39.422696 -3.113045)'))) / (select extract(epoch from '2026-07-10 21:02:38'::timestamp) - extract(epoch from '2026-07-10 21:02: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'), 47986, 'SRID=4674;POINT (-39.42275 -3.113136)', '2026-07-10 21:02:42', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422696 -3.113045)'), GeomFromEWKT('SRID=4674;POINT (-39.42275 -3.113136)'))) / (select extract(epoch from '2026-07-10 21:02:42'::timestamp) - extract(epoch from '2026-07-10 21:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422696 -3.113045)'), GeomFromEWKT('SRID=4674;POINT (-39.42275 -3.113136)'))) / (select extract(epoch from '2026-07-10 21:02:42'::timestamp) - extract(epoch from '2026-07-10 21:02: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'), 47986, 'SRID=4674;POINT (-39.422751 -3.113161)', '2026-07-10 21:02:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42275 -3.113136)'), GeomFromEWKT('SRID=4674;POINT (-39.422751 -3.113161)'))) / (select extract(epoch from '2026-07-10 21:02:43'::timestamp) - extract(epoch from '2026-07-10 21:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42275 -3.113136)'), GeomFromEWKT('SRID=4674;POINT (-39.422751 -3.113161)'))) / (select extract(epoch from '2026-07-10 21:02:43'::timestamp) - extract(epoch from '2026-07-10 21:02: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'), 47986, 'SRID=4674;POINT (-39.422807 -3.113261)', '2026-07-10 21:02:48', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422751 -3.113161)'), GeomFromEWKT('SRID=4674;POINT (-39.422807 -3.113261)'))) / (select extract(epoch from '2026-07-10 21:02:48'::timestamp) - extract(epoch from '2026-07-10 21:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422751 -3.113161)'), GeomFromEWKT('SRID=4674;POINT (-39.422807 -3.113261)'))) / (select extract(epoch from '2026-07-10 21:02:48'::timestamp) - extract(epoch from '2026-07-10 21:02: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'), 47986, 'SRID=4674;POINT (-39.422879 -3.113351)', '2026-07-10 21:02:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422807 -3.113261)'), GeomFromEWKT('SRID=4674;POINT (-39.422879 -3.113351)'))) / (select extract(epoch from '2026-07-10 21:02:53'::timestamp) - extract(epoch from '2026-07-10 21:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422807 -3.113261)'), GeomFromEWKT('SRID=4674;POINT (-39.422879 -3.113351)'))) / (select extract(epoch from '2026-07-10 21:02:53'::timestamp) - extract(epoch from '2026-07-10 21:02: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'), 47986, 'SRID=4674;POINT (-39.422968 -3.113464)', '2026-07-10 21:02:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422879 -3.113351)'), GeomFromEWKT('SRID=4674;POINT (-39.422968 -3.113464)'))) / (select extract(epoch from '2026-07-10 21:02:59'::timestamp) - extract(epoch from '2026-07-10 21:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422879 -3.113351)'), GeomFromEWKT('SRID=4674;POINT (-39.422968 -3.113464)'))) / (select extract(epoch from '2026-07-10 21:02:59'::timestamp) - extract(epoch from '2026-07-10 21:02: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'), 47986, 'SRID=4674;POINT (-39.423044 -3.113562)', '2026-07-10 21:03:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422968 -3.113464)'), GeomFromEWKT('SRID=4674;POINT (-39.423044 -3.113562)'))) / (select extract(epoch from '2026-07-10 21:03:04'::timestamp) - extract(epoch from '2026-07-10 21:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.422968 -3.113464)'), GeomFromEWKT('SRID=4674;POINT (-39.423044 -3.113562)'))) / (select extract(epoch from '2026-07-10 21:03:04'::timestamp) - extract(epoch from '2026-07-10 21:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.423116 -3.11364)', '2026-07-10 21:03:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423044 -3.113562)'), GeomFromEWKT('SRID=4674;POINT (-39.423116 -3.11364)'))) / (select extract(epoch from '2026-07-10 21:03:09'::timestamp) - extract(epoch from '2026-07-10 21:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423044 -3.113562)'), GeomFromEWKT('SRID=4674;POINT (-39.423116 -3.11364)'))) / (select extract(epoch from '2026-07-10 21:03:09'::timestamp) - extract(epoch from '2026-07-10 21:03: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'), 47986, 'SRID=4674;POINT (-39.423207 -3.113748)', '2026-07-10 21:03:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423116 -3.11364)'), GeomFromEWKT('SRID=4674;POINT (-39.423207 -3.113748)'))) / (select extract(epoch from '2026-07-10 21:03:15'::timestamp) - extract(epoch from '2026-07-10 21:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423116 -3.11364)'), GeomFromEWKT('SRID=4674;POINT (-39.423207 -3.113748)'))) / (select extract(epoch from '2026-07-10 21:03:15'::timestamp) - extract(epoch from '2026-07-10 21:03: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'), 47986, 'SRID=4674;POINT (-39.423279 -3.113834)', '2026-07-10 21:03:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423207 -3.113748)'), GeomFromEWKT('SRID=4674;POINT (-39.423279 -3.113834)'))) / (select extract(epoch from '2026-07-10 21:03:20'::timestamp) - extract(epoch from '2026-07-10 21:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423207 -3.113748)'), GeomFromEWKT('SRID=4674;POINT (-39.423279 -3.113834)'))) / (select extract(epoch from '2026-07-10 21:03:20'::timestamp) - extract(epoch from '2026-07-10 21:03: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'), 47986, 'SRID=4674;POINT (-39.423333 -3.113906)', '2026-07-10 21:03:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423279 -3.113834)'), GeomFromEWKT('SRID=4674;POINT (-39.423333 -3.113906)'))) / (select extract(epoch from '2026-07-10 21:03:24'::timestamp) - extract(epoch from '2026-07-10 21:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423279 -3.113834)'), GeomFromEWKT('SRID=4674;POINT (-39.423333 -3.113906)'))) / (select extract(epoch from '2026-07-10 21:03:24'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.423409 -3.114019)', '2026-07-10 21:03:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423333 -3.113906)'), GeomFromEWKT('SRID=4674;POINT (-39.423409 -3.114019)'))) / (select extract(epoch from '2026-07-10 21:03:30'::timestamp) - extract(epoch from '2026-07-10 21:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423333 -3.113906)'), GeomFromEWKT('SRID=4674;POINT (-39.423409 -3.114019)'))) / (select extract(epoch from '2026-07-10 21:03:30'::timestamp) - extract(epoch from '2026-07-10 21:03: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'), 47986, 'SRID=4674;POINT (-39.423476 -3.114102)', '2026-07-10 21:03:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423409 -3.114019)'), GeomFromEWKT('SRID=4674;POINT (-39.423476 -3.114102)'))) / (select extract(epoch from '2026-07-10 21:03:35'::timestamp) - extract(epoch from '2026-07-10 21:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423409 -3.114019)'), GeomFromEWKT('SRID=4674;POINT (-39.423476 -3.114102)'))) / (select extract(epoch from '2026-07-10 21:03:35'::timestamp) - extract(epoch from '2026-07-10 21:03: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'), 47986, 'SRID=4674;POINT (-39.423489 -3.114119)', '2026-07-10 21:03:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423476 -3.114102)'), GeomFromEWKT('SRID=4674;POINT (-39.423489 -3.114119)'))) / (select extract(epoch from '2026-07-10 21:03:36'::timestamp) - extract(epoch from '2026-07-10 21:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423476 -3.114102)'), GeomFromEWKT('SRID=4674;POINT (-39.423489 -3.114119)'))) / (select extract(epoch from '2026-07-10 21:03:36'::timestamp) - extract(epoch from '2026-07-10 21:03: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'), 47986, 'SRID=4674;POINT (-39.423522 -3.114181)', '2026-07-10 21:03:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423489 -3.114119)'), GeomFromEWKT('SRID=4674;POINT (-39.423522 -3.114181)'))) / (select extract(epoch from '2026-07-10 21:03:39'::timestamp) - extract(epoch from '2026-07-10 21:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423489 -3.114119)'), GeomFromEWKT('SRID=4674;POINT (-39.423522 -3.114181)'))) / (select extract(epoch from '2026-07-10 21:03:39'::timestamp) - extract(epoch from '2026-07-10 21:03: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'), 47986, 'SRID=4674;POINT (-39.423534 -3.1142)', '2026-07-10 21:03:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423522 -3.114181)'), GeomFromEWKT('SRID=4674;POINT (-39.423534 -3.1142)'))) / (select extract(epoch from '2026-07-10 21:03:40'::timestamp) - extract(epoch from '2026-07-10 21:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423522 -3.114181)'), GeomFromEWKT('SRID=4674;POINT (-39.423534 -3.1142)'))) / (select extract(epoch from '2026-07-10 21:03:40'::timestamp) - extract(epoch from '2026-07-10 21:03: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'), 47986, 'SRID=4674;POINT (-39.423563 -3.114253)', '2026-07-10 21:03:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423534 -3.1142)'), GeomFromEWKT('SRID=4674;POINT (-39.423563 -3.114253)'))) / (select extract(epoch from '2026-07-10 21:03:43'::timestamp) - extract(epoch from '2026-07-10 21:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423534 -3.1142)'), GeomFromEWKT('SRID=4674;POINT (-39.423563 -3.114253)'))) / (select extract(epoch from '2026-07-10 21:03:43'::timestamp) - extract(epoch from '2026-07-10 21:03: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'), 47986, 'SRID=4674;POINT (-39.423623 -3.114339)', '2026-07-10 21:03:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423563 -3.114253)'), GeomFromEWKT('SRID=4674;POINT (-39.423623 -3.114339)'))) / (select extract(epoch from '2026-07-10 21:03:48'::timestamp) - extract(epoch from '2026-07-10 21:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423563 -3.114253)'), GeomFromEWKT('SRID=4674;POINT (-39.423623 -3.114339)'))) / (select extract(epoch from '2026-07-10 21:03:48'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.423693 -3.11447)', '2026-07-10 21:03:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423623 -3.114339)'), GeomFromEWKT('SRID=4674;POINT (-39.423693 -3.11447)'))) / (select extract(epoch from '2026-07-10 21:03:55'::timestamp) - extract(epoch from '2026-07-10 21:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423623 -3.114339)'), GeomFromEWKT('SRID=4674;POINT (-39.423693 -3.11447)'))) / (select extract(epoch from '2026-07-10 21:03:55'::timestamp) - extract(epoch from '2026-07-10 21:03: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'), 47986, 'SRID=4674;POINT (-39.42374 -3.11456)', '2026-07-10 21:04:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423693 -3.11447)'), GeomFromEWKT('SRID=4674;POINT (-39.42374 -3.11456)'))) / (select extract(epoch from '2026-07-10 21:04:00'::timestamp) - extract(epoch from '2026-07-10 21:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423693 -3.11447)'), GeomFromEWKT('SRID=4674;POINT (-39.42374 -3.11456)'))) / (select extract(epoch from '2026-07-10 21:04:00'::timestamp) - extract(epoch from '2026-07-10 21:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.423798 -3.11466)', '2026-07-10 21:04:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42374 -3.11456)'), GeomFromEWKT('SRID=4674;POINT (-39.423798 -3.11466)'))) / (select extract(epoch from '2026-07-10 21:04:06'::timestamp) - extract(epoch from '2026-07-10 21:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42374 -3.11456)'), GeomFromEWKT('SRID=4674;POINT (-39.423798 -3.11466)'))) / (select extract(epoch from '2026-07-10 21:04:06'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.423871 -3.114772)', '2026-07-10 21:04:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423798 -3.11466)'), GeomFromEWKT('SRID=4674;POINT (-39.423871 -3.114772)'))) / (select extract(epoch from '2026-07-10 21:04:13'::timestamp) - extract(epoch from '2026-07-10 21:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423798 -3.11466)'), GeomFromEWKT('SRID=4674;POINT (-39.423871 -3.114772)'))) / (select extract(epoch from '2026-07-10 21:04:13'::timestamp) - extract(epoch from '2026-07-10 21:04: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'), 47986, 'SRID=4674;POINT (-39.423923 -3.11487)', '2026-07-10 21:04:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423871 -3.114772)'), GeomFromEWKT('SRID=4674;POINT (-39.423923 -3.11487)'))) / (select extract(epoch from '2026-07-10 21:04:19'::timestamp) - extract(epoch from '2026-07-10 21:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423871 -3.114772)'), GeomFromEWKT('SRID=4674;POINT (-39.423923 -3.11487)'))) / (select extract(epoch from '2026-07-10 21:04:19'::timestamp) - extract(epoch from '2026-07-10 21:04: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'), 47986, 'SRID=4674;POINT (-39.423965 -3.114973)', '2026-07-10 21:04:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423923 -3.11487)'), GeomFromEWKT('SRID=4674;POINT (-39.423965 -3.114973)'))) / (select extract(epoch from '2026-07-10 21:04:24'::timestamp) - extract(epoch from '2026-07-10 21:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423923 -3.11487)'), GeomFromEWKT('SRID=4674;POINT (-39.423965 -3.114973)'))) / (select extract(epoch from '2026-07-10 21:04:24'::timestamp) - extract(epoch from '2026-07-10 21:04: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'), 47986, 'SRID=4674;POINT (-39.424027 -3.115107)', '2026-07-10 21:04:31', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423965 -3.114973)'), GeomFromEWKT('SRID=4674;POINT (-39.424027 -3.115107)'))) / (select extract(epoch from '2026-07-10 21:04:31'::timestamp) - extract(epoch from '2026-07-10 21:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.423965 -3.114973)'), GeomFromEWKT('SRID=4674;POINT (-39.424027 -3.115107)'))) / (select extract(epoch from '2026-07-10 21:04:31'::timestamp) - extract(epoch from '2026-07-10 21:04: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'), 47986, 'SRID=4674;POINT (-39.424097 -3.115203)', '2026-07-10 21:04:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424027 -3.115107)'), GeomFromEWKT('SRID=4674;POINT (-39.424097 -3.115203)'))) / (select extract(epoch from '2026-07-10 21:04:37'::timestamp) - extract(epoch from '2026-07-10 21:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424027 -3.115107)'), GeomFromEWKT('SRID=4674;POINT (-39.424097 -3.115203)'))) / (select extract(epoch from '2026-07-10 21:04:37'::timestamp) - extract(epoch from '2026-07-10 21:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.424172 -3.115326)', '2026-07-10 21:04:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424097 -3.115203)'), GeomFromEWKT('SRID=4674;POINT (-39.424172 -3.115326)'))) / (select extract(epoch from '2026-07-10 21:04:43'::timestamp) - extract(epoch from '2026-07-10 21:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424097 -3.115203)'), GeomFromEWKT('SRID=4674;POINT (-39.424172 -3.115326)'))) / (select extract(epoch from '2026-07-10 21:04:43'::timestamp) - extract(epoch from '2026-07-10 21:04: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'), 47986, 'SRID=4674;POINT (-39.424261 -3.11547)', '2026-07-10 21:04:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424172 -3.115326)'), GeomFromEWKT('SRID=4674;POINT (-39.424261 -3.11547)'))) / (select extract(epoch from '2026-07-10 21:04:50'::timestamp) - extract(epoch from '2026-07-10 21:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424172 -3.115326)'), GeomFromEWKT('SRID=4674;POINT (-39.424261 -3.11547)'))) / (select extract(epoch from '2026-07-10 21:04:50'::timestamp) - extract(epoch from '2026-07-10 21:04: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'), 47986, 'SRID=4674;POINT (-39.424323 -3.115567)', '2026-07-10 21:04:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424261 -3.11547)'), GeomFromEWKT('SRID=4674;POINT (-39.424323 -3.115567)'))) / (select extract(epoch from '2026-07-10 21:04:56'::timestamp) - extract(epoch from '2026-07-10 21:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424261 -3.11547)'), GeomFromEWKT('SRID=4674;POINT (-39.424323 -3.115567)'))) / (select extract(epoch from '2026-07-10 21:04:56'::timestamp) - extract(epoch from '2026-07-10 21:04: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'), 47986, 'SRID=4674;POINT (-39.424409 -3.115693)', '2026-07-10 21:05:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424323 -3.115567)'), GeomFromEWKT('SRID=4674;POINT (-39.424409 -3.115693)'))) / (select extract(epoch from '2026-07-10 21:05:03'::timestamp) - extract(epoch from '2026-07-10 21:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424323 -3.115567)'), GeomFromEWKT('SRID=4674;POINT (-39.424409 -3.115693)'))) / (select extract(epoch from '2026-07-10 21:05:03'::timestamp) - extract(epoch from '2026-07-10 21:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.42453 -3.11585)', '2026-07-10 21:05:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424409 -3.115693)'), GeomFromEWKT('SRID=4674;POINT (-39.42453 -3.11585)'))) / (select extract(epoch from '2026-07-10 21:05:12'::timestamp) - extract(epoch from '2026-07-10 21:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424409 -3.115693)'), GeomFromEWKT('SRID=4674;POINT (-39.42453 -3.11585)'))) / (select extract(epoch from '2026-07-10 21:05:12'::timestamp) - extract(epoch from '2026-07-10 21:05: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'), 47986, 'SRID=4674;POINT (-39.424611 -3.115973)', '2026-07-10 21:05:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42453 -3.11585)'), GeomFromEWKT('SRID=4674;POINT (-39.424611 -3.115973)'))) / (select extract(epoch from '2026-07-10 21:05:18'::timestamp) - extract(epoch from '2026-07-10 21:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42453 -3.11585)'), GeomFromEWKT('SRID=4674;POINT (-39.424611 -3.115973)'))) / (select extract(epoch from '2026-07-10 21:05:18'::timestamp) - extract(epoch from '2026-07-10 21:05: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'), 47986, 'SRID=4674;POINT (-39.424719 -3.116104)', '2026-07-10 21:05:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424611 -3.115973)'), GeomFromEWKT('SRID=4674;POINT (-39.424719 -3.116104)'))) / (select extract(epoch from '2026-07-10 21:05:25'::timestamp) - extract(epoch from '2026-07-10 21:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424611 -3.115973)'), GeomFromEWKT('SRID=4674;POINT (-39.424719 -3.116104)'))) / (select extract(epoch from '2026-07-10 21:05:25'::timestamp) - extract(epoch from '2026-07-10 21:05:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.424793 -3.116186)', '2026-07-10 21:05:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424719 -3.116104)'), GeomFromEWKT('SRID=4674;POINT (-39.424793 -3.116186)'))) / (select extract(epoch from '2026-07-10 21:05:32'::timestamp) - extract(epoch from '2026-07-10 21:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424719 -3.116104)'), GeomFromEWKT('SRID=4674;POINT (-39.424793 -3.116186)'))) / (select extract(epoch from '2026-07-10 21:05:32'::timestamp) - extract(epoch from '2026-07-10 21:05: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'), 47986, 'SRID=4674;POINT (-39.424885 -3.116301)', '2026-07-10 21:05:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424793 -3.116186)'), GeomFromEWKT('SRID=4674;POINT (-39.424885 -3.116301)'))) / (select extract(epoch from '2026-07-10 21:05:39'::timestamp) - extract(epoch from '2026-07-10 21:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424793 -3.116186)'), GeomFromEWKT('SRID=4674;POINT (-39.424885 -3.116301)'))) / (select extract(epoch from '2026-07-10 21:05:39'::timestamp) - extract(epoch from '2026-07-10 21:05: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'), 47986, 'SRID=4674;POINT (-39.424949 -3.116408)', '2026-07-10 21:05:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424885 -3.116301)'), GeomFromEWKT('SRID=4674;POINT (-39.424949 -3.116408)'))) / (select extract(epoch from '2026-07-10 21:05:46'::timestamp) - extract(epoch from '2026-07-10 21:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424885 -3.116301)'), GeomFromEWKT('SRID=4674;POINT (-39.424949 -3.116408)'))) / (select extract(epoch from '2026-07-10 21:05:46'::timestamp) - extract(epoch from '2026-07-10 21:05: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'), 47986, 'SRID=4674;POINT (-39.425071 -3.116569)', '2026-07-10 21:05:55', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424949 -3.116408)'), GeomFromEWKT('SRID=4674;POINT (-39.425071 -3.116569)'))) / (select extract(epoch from '2026-07-10 21:05:55'::timestamp) - extract(epoch from '2026-07-10 21:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.424949 -3.116408)'), GeomFromEWKT('SRID=4674;POINT (-39.425071 -3.116569)'))) / (select extract(epoch from '2026-07-10 21:05:55'::timestamp) - extract(epoch from '2026-07-10 21:05: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'), 47986, 'SRID=4674;POINT (-39.425166 -3.116673)', '2026-07-10 21:06:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425071 -3.116569)'), GeomFromEWKT('SRID=4674;POINT (-39.425166 -3.116673)'))) / (select extract(epoch from '2026-07-10 21:06:01'::timestamp) - extract(epoch from '2026-07-10 21:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425071 -3.116569)'), GeomFromEWKT('SRID=4674;POINT (-39.425166 -3.116673)'))) / (select extract(epoch from '2026-07-10 21:06:01'::timestamp) - extract(epoch from '2026-07-10 21:05: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'), 47986, 'SRID=4674;POINT (-39.42529 -3.11683)', '2026-07-10 21:06:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425166 -3.116673)'), GeomFromEWKT('SRID=4674;POINT (-39.42529 -3.11683)'))) / (select extract(epoch from '2026-07-10 21:06:08'::timestamp) - extract(epoch from '2026-07-10 21:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425166 -3.116673)'), GeomFromEWKT('SRID=4674;POINT (-39.42529 -3.11683)'))) / (select extract(epoch from '2026-07-10 21:06:08'::timestamp) - extract(epoch from '2026-07-10 21:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.425356 -3.116971)', '2026-07-10 21:06:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42529 -3.11683)'), GeomFromEWKT('SRID=4674;POINT (-39.425356 -3.116971)'))) / (select extract(epoch from '2026-07-10 21:06:15'::timestamp) - extract(epoch from '2026-07-10 21:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42529 -3.11683)'), GeomFromEWKT('SRID=4674;POINT (-39.425356 -3.116971)'))) / (select extract(epoch from '2026-07-10 21:06:15'::timestamp) - extract(epoch from '2026-07-10 21:06: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'), 47986, 'SRID=4674;POINT (-39.425446 -3.117097)', '2026-07-10 21:06:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425356 -3.116971)'), GeomFromEWKT('SRID=4674;POINT (-39.425446 -3.117097)'))) / (select extract(epoch from '2026-07-10 21:06:22'::timestamp) - extract(epoch from '2026-07-10 21:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425356 -3.116971)'), GeomFromEWKT('SRID=4674;POINT (-39.425446 -3.117097)'))) / (select extract(epoch from '2026-07-10 21:06:22'::timestamp) - extract(epoch from '2026-07-10 21:06: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'), 47986, 'SRID=4674;POINT (-39.425526 -3.117206)', '2026-07-10 21:06:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425446 -3.117097)'), GeomFromEWKT('SRID=4674;POINT (-39.425526 -3.117206)'))) / (select extract(epoch from '2026-07-10 21:06:28'::timestamp) - extract(epoch from '2026-07-10 21:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425446 -3.117097)'), GeomFromEWKT('SRID=4674;POINT (-39.425526 -3.117206)'))) / (select extract(epoch from '2026-07-10 21:06:28'::timestamp) - extract(epoch from '2026-07-10 21:06: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'), 47986, 'SRID=4674;POINT (-39.425576 -3.117293)', '2026-07-10 21:06:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425526 -3.117206)'), GeomFromEWKT('SRID=4674;POINT (-39.425576 -3.117293)'))) / (select extract(epoch from '2026-07-10 21:06:33'::timestamp) - extract(epoch from '2026-07-10 21:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425526 -3.117206)'), GeomFromEWKT('SRID=4674;POINT (-39.425576 -3.117293)'))) / (select extract(epoch from '2026-07-10 21:06:33'::timestamp) - extract(epoch from '2026-07-10 21:06: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'), 47986, 'SRID=4674;POINT (-39.425622 -3.117389)', '2026-07-10 21:06:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425576 -3.117293)'), GeomFromEWKT('SRID=4674;POINT (-39.425622 -3.117389)'))) / (select extract(epoch from '2026-07-10 21:06:38'::timestamp) - extract(epoch from '2026-07-10 21:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425576 -3.117293)'), GeomFromEWKT('SRID=4674;POINT (-39.425622 -3.117389)'))) / (select extract(epoch from '2026-07-10 21:06:38'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.425696 -3.117522)', '2026-07-10 21:06:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425622 -3.117389)'), GeomFromEWKT('SRID=4674;POINT (-39.425696 -3.117522)'))) / (select extract(epoch from '2026-07-10 21:06:45'::timestamp) - extract(epoch from '2026-07-10 21:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425622 -3.117389)'), GeomFromEWKT('SRID=4674;POINT (-39.425696 -3.117522)'))) / (select extract(epoch from '2026-07-10 21:06:45'::timestamp) - extract(epoch from '2026-07-10 21:06: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'), 47986, 'SRID=4674;POINT (-39.425756 -3.117626)', '2026-07-10 21:06:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425696 -3.117522)'), GeomFromEWKT('SRID=4674;POINT (-39.425756 -3.117626)'))) / (select extract(epoch from '2026-07-10 21:06:51'::timestamp) - extract(epoch from '2026-07-10 21:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425696 -3.117522)'), GeomFromEWKT('SRID=4674;POINT (-39.425756 -3.117626)'))) / (select extract(epoch from '2026-07-10 21:06:51'::timestamp) - extract(epoch from '2026-07-10 21:06: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'), 47986, 'SRID=4674;POINT (-39.425826 -3.117757)', '2026-07-10 21:06:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425756 -3.117626)'), GeomFromEWKT('SRID=4674;POINT (-39.425826 -3.117757)'))) / (select extract(epoch from '2026-07-10 21:06:59'::timestamp) - extract(epoch from '2026-07-10 21:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425756 -3.117626)'), GeomFromEWKT('SRID=4674;POINT (-39.425826 -3.117757)'))) / (select extract(epoch from '2026-07-10 21:06:59'::timestamp) - extract(epoch from '2026-07-10 21:06: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'), 47986, 'SRID=4674;POINT (-39.425915 -3.117886)', '2026-07-10 21:07:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425826 -3.117757)'), GeomFromEWKT('SRID=4674;POINT (-39.425915 -3.117886)'))) / (select extract(epoch from '2026-07-10 21:07:06'::timestamp) - extract(epoch from '2026-07-10 21:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425826 -3.117757)'), GeomFromEWKT('SRID=4674;POINT (-39.425915 -3.117886)'))) / (select extract(epoch from '2026-07-10 21:07:06'::timestamp) - extract(epoch from '2026-07-10 21:06: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'), 47986, 'SRID=4674;POINT (-39.425997 -3.118011)', '2026-07-10 21:07:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425915 -3.117886)'), GeomFromEWKT('SRID=4674;POINT (-39.425997 -3.118011)'))) / (select extract(epoch from '2026-07-10 21:07:13'::timestamp) - extract(epoch from '2026-07-10 21:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425915 -3.117886)'), GeomFromEWKT('SRID=4674;POINT (-39.425997 -3.118011)'))) / (select extract(epoch from '2026-07-10 21:07:13'::timestamp) - extract(epoch from '2026-07-10 21:07: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'), 47986, 'SRID=4674;POINT (-39.426084 -3.118153)', '2026-07-10 21:07:21', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425997 -3.118011)'), GeomFromEWKT('SRID=4674;POINT (-39.426084 -3.118153)'))) / (select extract(epoch from '2026-07-10 21:07:21'::timestamp) - extract(epoch from '2026-07-10 21:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.425997 -3.118011)'), GeomFromEWKT('SRID=4674;POINT (-39.426084 -3.118153)'))) / (select extract(epoch from '2026-07-10 21:07:21'::timestamp) - extract(epoch from '2026-07-10 21:07: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'), 47986, 'SRID=4674;POINT (-39.426146 -3.11824)', '2026-07-10 21:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426084 -3.118153)'), GeomFromEWKT('SRID=4674;POINT (-39.426146 -3.11824)'))) / (select extract(epoch from '2026-07-10 21:07:27'::timestamp) - extract(epoch from '2026-07-10 21:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426084 -3.118153)'), GeomFromEWKT('SRID=4674;POINT (-39.426146 -3.11824)'))) / (select extract(epoch from '2026-07-10 21:07:27'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.426245 -3.118392)', '2026-07-10 21:07:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426146 -3.11824)'), GeomFromEWKT('SRID=4674;POINT (-39.426245 -3.118392)'))) / (select extract(epoch from '2026-07-10 21:07:35'::timestamp) - extract(epoch from '2026-07-10 21:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426146 -3.11824)'), GeomFromEWKT('SRID=4674;POINT (-39.426245 -3.118392)'))) / (select extract(epoch from '2026-07-10 21:07:35'::timestamp) - extract(epoch from '2026-07-10 21:07: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'), 47986, 'SRID=4674;POINT (-39.426314 -3.118532)', '2026-07-10 21:07:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426245 -3.118392)'), GeomFromEWKT('SRID=4674;POINT (-39.426314 -3.118532)'))) / (select extract(epoch from '2026-07-10 21:07:43'::timestamp) - extract(epoch from '2026-07-10 21:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426245 -3.118392)'), GeomFromEWKT('SRID=4674;POINT (-39.426314 -3.118532)'))) / (select extract(epoch from '2026-07-10 21:07:43'::timestamp) - extract(epoch from '2026-07-10 21:07: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'), 47986, 'SRID=4674;POINT (-39.426374 -3.118653)', '2026-07-10 21:07:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426314 -3.118532)'), GeomFromEWKT('SRID=4674;POINT (-39.426374 -3.118653)'))) / (select extract(epoch from '2026-07-10 21:07:49'::timestamp) - extract(epoch from '2026-07-10 21:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426314 -3.118532)'), GeomFromEWKT('SRID=4674;POINT (-39.426374 -3.118653)'))) / (select extract(epoch from '2026-07-10 21:07:49'::timestamp) - extract(epoch from '2026-07-10 21:07: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'), 47986, 'SRID=4674;POINT (-39.426461 -3.11881)', '2026-07-10 21:07:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426374 -3.118653)'), GeomFromEWKT('SRID=4674;POINT (-39.426461 -3.11881)'))) / (select extract(epoch from '2026-07-10 21:07:56'::timestamp) - extract(epoch from '2026-07-10 21:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426374 -3.118653)'), GeomFromEWKT('SRID=4674;POINT (-39.426461 -3.11881)'))) / (select extract(epoch from '2026-07-10 21:07:56'::timestamp) - extract(epoch from '2026-07-10 21:07: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'), 47986, 'SRID=4674;POINT (-39.426529 -3.118921)', '2026-07-10 21:08:02', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426461 -3.11881)'), GeomFromEWKT('SRID=4674;POINT (-39.426529 -3.118921)'))) / (select extract(epoch from '2026-07-10 21:08:02'::timestamp) - extract(epoch from '2026-07-10 21:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426461 -3.11881)'), GeomFromEWKT('SRID=4674;POINT (-39.426529 -3.118921)'))) / (select extract(epoch from '2026-07-10 21:08:02'::timestamp) - extract(epoch from '2026-07-10 21:07: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'), 47986, 'SRID=4674;POINT (-39.426614 -3.119042)', '2026-07-10 21:08:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426529 -3.118921)'), GeomFromEWKT('SRID=4674;POINT (-39.426614 -3.119042)'))) / (select extract(epoch from '2026-07-10 21:08:09'::timestamp) - extract(epoch from '2026-07-10 21:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426529 -3.118921)'), GeomFromEWKT('SRID=4674;POINT (-39.426614 -3.119042)'))) / (select extract(epoch from '2026-07-10 21:08:09'::timestamp) - extract(epoch from '2026-07-10 21:08: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'), 47986, 'SRID=4674;POINT (-39.426665 -3.119143)', '2026-07-10 21:08:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426614 -3.119042)'), GeomFromEWKT('SRID=4674;POINT (-39.426665 -3.119143)'))) / (select extract(epoch from '2026-07-10 21:08:15'::timestamp) - extract(epoch from '2026-07-10 21:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426614 -3.119042)'), GeomFromEWKT('SRID=4674;POINT (-39.426665 -3.119143)'))) / (select extract(epoch from '2026-07-10 21:08:15'::timestamp) - extract(epoch from '2026-07-10 21:08: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'), 47986, 'SRID=4674;POINT (-39.426736 -3.119275)', '2026-07-10 21:08:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426665 -3.119143)'), GeomFromEWKT('SRID=4674;POINT (-39.426736 -3.119275)'))) / (select extract(epoch from '2026-07-10 21:08:22'::timestamp) - extract(epoch from '2026-07-10 21:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426665 -3.119143)'), GeomFromEWKT('SRID=4674;POINT (-39.426736 -3.119275)'))) / (select extract(epoch from '2026-07-10 21:08:22'::timestamp) - extract(epoch from '2026-07-10 21:08: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'), 47986, 'SRID=4674;POINT (-39.426817 -3.119394)', '2026-07-10 21:08:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426736 -3.119275)'), GeomFromEWKT('SRID=4674;POINT (-39.426817 -3.119394)'))) / (select extract(epoch from '2026-07-10 21:08:28'::timestamp) - extract(epoch from '2026-07-10 21:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426736 -3.119275)'), GeomFromEWKT('SRID=4674;POINT (-39.426817 -3.119394)'))) / (select extract(epoch from '2026-07-10 21:08:28'::timestamp) - extract(epoch from '2026-07-10 21:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.426862 -3.119487)', '2026-07-10 21:08:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426817 -3.119394)'), GeomFromEWKT('SRID=4674;POINT (-39.426862 -3.119487)'))) / (select extract(epoch from '2026-07-10 21:08:33'::timestamp) - extract(epoch from '2026-07-10 21:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426817 -3.119394)'), GeomFromEWKT('SRID=4674;POINT (-39.426862 -3.119487)'))) / (select extract(epoch from '2026-07-10 21:08:33'::timestamp) - extract(epoch from '2026-07-10 21:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.426926 -3.11959)', '2026-07-10 21:08:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426862 -3.119487)'), GeomFromEWKT('SRID=4674;POINT (-39.426926 -3.11959)'))) / (select extract(epoch from '2026-07-10 21:08:39'::timestamp) - extract(epoch from '2026-07-10 21:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426862 -3.119487)'), GeomFromEWKT('SRID=4674;POINT (-39.426926 -3.11959)'))) / (select extract(epoch from '2026-07-10 21:08:39'::timestamp) - extract(epoch from '2026-07-10 21:08: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'), 47986, 'SRID=4674;POINT (-39.427019 -3.119711)', '2026-07-10 21:08:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426926 -3.11959)'), GeomFromEWKT('SRID=4674;POINT (-39.427019 -3.119711)'))) / (select extract(epoch from '2026-07-10 21:08:46'::timestamp) - extract(epoch from '2026-07-10 21:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.426926 -3.11959)'), GeomFromEWKT('SRID=4674;POINT (-39.427019 -3.119711)'))) / (select extract(epoch from '2026-07-10 21:08:46'::timestamp) - extract(epoch from '2026-07-10 21:08: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'), 47986, 'SRID=4674;POINT (-39.427106 -3.119841)', '2026-07-10 21:08:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427019 -3.119711)'), GeomFromEWKT('SRID=4674;POINT (-39.427106 -3.119841)'))) / (select extract(epoch from '2026-07-10 21:08:53'::timestamp) - extract(epoch from '2026-07-10 21:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427019 -3.119711)'), GeomFromEWKT('SRID=4674;POINT (-39.427106 -3.119841)'))) / (select extract(epoch from '2026-07-10 21:08:53'::timestamp) - extract(epoch from '2026-07-10 21:08: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'), 47986, 'SRID=4674;POINT (-39.427188 -3.119972)', '2026-07-10 21:09:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427106 -3.119841)'), GeomFromEWKT('SRID=4674;POINT (-39.427188 -3.119972)'))) / (select extract(epoch from '2026-07-10 21:09:00'::timestamp) - extract(epoch from '2026-07-10 21:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427106 -3.119841)'), GeomFromEWKT('SRID=4674;POINT (-39.427188 -3.119972)'))) / (select extract(epoch from '2026-07-10 21:09:00'::timestamp) - extract(epoch from '2026-07-10 21:08: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'), 47986, 'SRID=4674;POINT (-39.427273 -3.120072)', '2026-07-10 21:09:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427188 -3.119972)'), GeomFromEWKT('SRID=4674;POINT (-39.427273 -3.120072)'))) / (select extract(epoch from '2026-07-10 21:09:06'::timestamp) - extract(epoch from '2026-07-10 21:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427188 -3.119972)'), GeomFromEWKT('SRID=4674;POINT (-39.427273 -3.120072)'))) / (select extract(epoch from '2026-07-10 21:09:06'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.427344 -3.120202)', '2026-07-10 21:09:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427273 -3.120072)'), GeomFromEWKT('SRID=4674;POINT (-39.427344 -3.120202)'))) / (select extract(epoch from '2026-07-10 21:09:13'::timestamp) - extract(epoch from '2026-07-10 21:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427273 -3.120072)'), GeomFromEWKT('SRID=4674;POINT (-39.427344 -3.120202)'))) / (select extract(epoch from '2026-07-10 21:09:13'::timestamp) - extract(epoch from '2026-07-10 21:09: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'), 47986, 'SRID=4674;POINT (-39.427426 -3.12032)', '2026-07-10 21:09:20', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427344 -3.120202)'), GeomFromEWKT('SRID=4674;POINT (-39.427426 -3.12032)'))) / (select extract(epoch from '2026-07-10 21:09:20'::timestamp) - extract(epoch from '2026-07-10 21:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427344 -3.120202)'), GeomFromEWKT('SRID=4674;POINT (-39.427426 -3.12032)'))) / (select extract(epoch from '2026-07-10 21:09:20'::timestamp) - extract(epoch from '2026-07-10 21:09: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'), 47986, 'SRID=4674;POINT (-39.427492 -3.120388)', '2026-07-10 21:09:25', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427426 -3.12032)'), GeomFromEWKT('SRID=4674;POINT (-39.427492 -3.120388)'))) / (select extract(epoch from '2026-07-10 21:09:25'::timestamp) - extract(epoch from '2026-07-10 21:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427426 -3.12032)'), GeomFromEWKT('SRID=4674;POINT (-39.427492 -3.120388)'))) / (select extract(epoch from '2026-07-10 21:09:25'::timestamp) - extract(epoch from '2026-07-10 21:09: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'), 47986, 'SRID=4674;POINT (-39.427582 -3.120474)', '2026-07-10 21:09:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427492 -3.120388)'), GeomFromEWKT('SRID=4674;POINT (-39.427582 -3.120474)'))) / (select extract(epoch from '2026-07-10 21:09:31'::timestamp) - extract(epoch from '2026-07-10 21:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427492 -3.120388)'), GeomFromEWKT('SRID=4674;POINT (-39.427582 -3.120474)'))) / (select extract(epoch from '2026-07-10 21:09:31'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.427673 -3.120614)', '2026-07-10 21:09:39', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427582 -3.120474)'), GeomFromEWKT('SRID=4674;POINT (-39.427673 -3.120614)'))) / (select extract(epoch from '2026-07-10 21:09:39'::timestamp) - extract(epoch from '2026-07-10 21:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427582 -3.120474)'), GeomFromEWKT('SRID=4674;POINT (-39.427673 -3.120614)'))) / (select extract(epoch from '2026-07-10 21:09:39'::timestamp) - extract(epoch from '2026-07-10 21:09: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'), 47986, 'SRID=4674;POINT (-39.427752 -3.120748)', '2026-07-10 21:09:46', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427673 -3.120614)'), GeomFromEWKT('SRID=4674;POINT (-39.427752 -3.120748)'))) / (select extract(epoch from '2026-07-10 21:09:46'::timestamp) - extract(epoch from '2026-07-10 21:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427673 -3.120614)'), GeomFromEWKT('SRID=4674;POINT (-39.427752 -3.120748)'))) / (select extract(epoch from '2026-07-10 21:09:46'::timestamp) - extract(epoch from '2026-07-10 21:09: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'), 47986, 'SRID=4674;POINT (-39.427842 -3.120886)', '2026-07-10 21:09:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427752 -3.120748)'), GeomFromEWKT('SRID=4674;POINT (-39.427842 -3.120886)'))) / (select extract(epoch from '2026-07-10 21:09:53'::timestamp) - extract(epoch from '2026-07-10 21:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427752 -3.120748)'), GeomFromEWKT('SRID=4674;POINT (-39.427842 -3.120886)'))) / (select extract(epoch from '2026-07-10 21:09:53'::timestamp) - extract(epoch from '2026-07-10 21:09: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'), 47986, 'SRID=4674;POINT (-39.427906 -3.121002)', '2026-07-10 21:09:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427842 -3.120886)'), GeomFromEWKT('SRID=4674;POINT (-39.427906 -3.121002)'))) / (select extract(epoch from '2026-07-10 21:09:59'::timestamp) - extract(epoch from '2026-07-10 21:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427842 -3.120886)'), GeomFromEWKT('SRID=4674;POINT (-39.427906 -3.121002)'))) / (select extract(epoch from '2026-07-10 21:09:59'::timestamp) - extract(epoch from '2026-07-10 21:09: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'), 47986, 'SRID=4674;POINT (-39.427935 -3.121063)', '2026-07-10 21:10:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427906 -3.121002)'), GeomFromEWKT('SRID=4674;POINT (-39.427935 -3.121063)'))) / (select extract(epoch from '2026-07-10 21:10:03'::timestamp) - extract(epoch from '2026-07-10 21:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427906 -3.121002)'), GeomFromEWKT('SRID=4674;POINT (-39.427935 -3.121063)'))) / (select extract(epoch from '2026-07-10 21:10:03'::timestamp) - extract(epoch from '2026-07-10 21:09: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'), 47986, 'SRID=4674;POINT (-39.427999 -3.121141)', '2026-07-10 21:10:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427935 -3.121063)'), GeomFromEWKT('SRID=4674;POINT (-39.427999 -3.121141)'))) / (select extract(epoch from '2026-07-10 21:10:08'::timestamp) - extract(epoch from '2026-07-10 21:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427935 -3.121063)'), GeomFromEWKT('SRID=4674;POINT (-39.427999 -3.121141)'))) / (select extract(epoch from '2026-07-10 21:10:08'::timestamp) - extract(epoch from '2026-07-10 21:10: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'), 47986, 'SRID=4674;POINT (-39.428079 -3.121278)', '2026-07-10 21:10:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427999 -3.121141)'), GeomFromEWKT('SRID=4674;POINT (-39.428079 -3.121278)'))) / (select extract(epoch from '2026-07-10 21:10:15'::timestamp) - extract(epoch from '2026-07-10 21:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.427999 -3.121141)'), GeomFromEWKT('SRID=4674;POINT (-39.428079 -3.121278)'))) / (select extract(epoch from '2026-07-10 21:10:15'::timestamp) - extract(epoch from '2026-07-10 21:10: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'), 47986, 'SRID=4674;POINT (-39.428137 -3.121364)', '2026-07-10 21:10:20', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428079 -3.121278)'), GeomFromEWKT('SRID=4674;POINT (-39.428137 -3.121364)'))) / (select extract(epoch from '2026-07-10 21:10:20'::timestamp) - extract(epoch from '2026-07-10 21:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428079 -3.121278)'), GeomFromEWKT('SRID=4674;POINT (-39.428137 -3.121364)'))) / (select extract(epoch from '2026-07-10 21:10:20'::timestamp) - extract(epoch from '2026-07-10 21:10: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'), 47986, 'SRID=4674;POINT (-39.42822 -3.121467)', '2026-07-10 21:10:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428137 -3.121364)'), GeomFromEWKT('SRID=4674;POINT (-39.42822 -3.121467)'))) / (select extract(epoch from '2026-07-10 21:10:27'::timestamp) - extract(epoch from '2026-07-10 21:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428137 -3.121364)'), GeomFromEWKT('SRID=4674;POINT (-39.42822 -3.121467)'))) / (select extract(epoch from '2026-07-10 21:10:27'::timestamp) - extract(epoch from '2026-07-10 21:10: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'), 47986, 'SRID=4674;POINT (-39.428259 -3.12156)', '2026-07-10 21:10:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42822 -3.121467)'), GeomFromEWKT('SRID=4674;POINT (-39.428259 -3.12156)'))) / (select extract(epoch from '2026-07-10 21:10:32'::timestamp) - extract(epoch from '2026-07-10 21:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42822 -3.121467)'), GeomFromEWKT('SRID=4674;POINT (-39.428259 -3.12156)'))) / (select extract(epoch from '2026-07-10 21:10:32'::timestamp) - extract(epoch from '2026-07-10 21:10: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'), 47986, 'SRID=4674;POINT (-39.428301 -3.121676)', '2026-07-10 21:10:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428259 -3.12156)'), GeomFromEWKT('SRID=4674;POINT (-39.428301 -3.121676)'))) / (select extract(epoch from '2026-07-10 21:10:38'::timestamp) - extract(epoch from '2026-07-10 21:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428259 -3.12156)'), GeomFromEWKT('SRID=4674;POINT (-39.428301 -3.121676)'))) / (select extract(epoch from '2026-07-10 21:10:38'::timestamp) - extract(epoch from '2026-07-10 21:10: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'), 47986, 'SRID=4674;POINT (-39.428367 -3.12182)', '2026-07-10 21:10:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428301 -3.121676)'), GeomFromEWKT('SRID=4674;POINT (-39.428367 -3.12182)'))) / (select extract(epoch from '2026-07-10 21:10:45'::timestamp) - extract(epoch from '2026-07-10 21:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428301 -3.121676)'), GeomFromEWKT('SRID=4674;POINT (-39.428367 -3.12182)'))) / (select extract(epoch from '2026-07-10 21:10:45'::timestamp) - extract(epoch from '2026-07-10 21:10: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'), 47986, 'SRID=4674;POINT (-39.428446 -3.121963)', '2026-07-10 21:10:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428367 -3.12182)'), GeomFromEWKT('SRID=4674;POINT (-39.428446 -3.121963)'))) / (select extract(epoch from '2026-07-10 21:10:53'::timestamp) - extract(epoch from '2026-07-10 21:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428367 -3.12182)'), GeomFromEWKT('SRID=4674;POINT (-39.428446 -3.121963)'))) / (select extract(epoch from '2026-07-10 21:10:53'::timestamp) - extract(epoch from '2026-07-10 21:10: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'), 47986, 'SRID=4674;POINT (-39.428523 -3.122101)', '2026-07-10 21:11:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428446 -3.121963)'), GeomFromEWKT('SRID=4674;POINT (-39.428523 -3.122101)'))) / (select extract(epoch from '2026-07-10 21:11:00'::timestamp) - extract(epoch from '2026-07-10 21:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428446 -3.121963)'), GeomFromEWKT('SRID=4674;POINT (-39.428523 -3.122101)'))) / (select extract(epoch from '2026-07-10 21:11:00'::timestamp) - extract(epoch from '2026-07-10 21:10: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'), 47986, 'SRID=4674;POINT (-39.428609 -3.122244)', '2026-07-10 21:11:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428523 -3.122101)'), GeomFromEWKT('SRID=4674;POINT (-39.428609 -3.122244)'))) / (select extract(epoch from '2026-07-10 21:11:08'::timestamp) - extract(epoch from '2026-07-10 21:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428523 -3.122101)'), GeomFromEWKT('SRID=4674;POINT (-39.428609 -3.122244)'))) / (select extract(epoch from '2026-07-10 21:11:08'::timestamp) - extract(epoch from '2026-07-10 21:11: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'), 47986, 'SRID=4674;POINT (-39.428661 -3.122358)', '2026-07-10 21:11:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428609 -3.122244)'), GeomFromEWKT('SRID=4674;POINT (-39.428661 -3.122358)'))) / (select extract(epoch from '2026-07-10 21:11:14'::timestamp) - extract(epoch from '2026-07-10 21:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428609 -3.122244)'), GeomFromEWKT('SRID=4674;POINT (-39.428661 -3.122358)'))) / (select extract(epoch from '2026-07-10 21:11:14'::timestamp) - extract(epoch from '2026-07-10 21:11: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'), 47986, 'SRID=4674;POINT (-39.428734 -3.122457)', '2026-07-10 21:11:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428661 -3.122358)'), GeomFromEWKT('SRID=4674;POINT (-39.428734 -3.122457)'))) / (select extract(epoch from '2026-07-10 21:11:19'::timestamp) - extract(epoch from '2026-07-10 21:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428661 -3.122358)'), GeomFromEWKT('SRID=4674;POINT (-39.428734 -3.122457)'))) / (select extract(epoch from '2026-07-10 21:11:19'::timestamp) - extract(epoch from '2026-07-10 21:11: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'), 47986, 'SRID=4674;POINT (-39.428812 -3.122585)', '2026-07-10 21:11:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428734 -3.122457)'), GeomFromEWKT('SRID=4674;POINT (-39.428812 -3.122585)'))) / (select extract(epoch from '2026-07-10 21:11:25'::timestamp) - extract(epoch from '2026-07-10 21:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428734 -3.122457)'), GeomFromEWKT('SRID=4674;POINT (-39.428812 -3.122585)'))) / (select extract(epoch from '2026-07-10 21:11:25'::timestamp) - extract(epoch from '2026-07-10 21:11: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'), 47986, 'SRID=4674;POINT (-39.428878 -3.122703)', '2026-07-10 21:11:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428812 -3.122585)'), GeomFromEWKT('SRID=4674;POINT (-39.428878 -3.122703)'))) / (select extract(epoch from '2026-07-10 21:11:31'::timestamp) - extract(epoch from '2026-07-10 21:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428812 -3.122585)'), GeomFromEWKT('SRID=4674;POINT (-39.428878 -3.122703)'))) / (select extract(epoch from '2026-07-10 21:11:31'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.42897 -3.122828)', '2026-07-10 21:11:38', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428878 -3.122703)'), GeomFromEWKT('SRID=4674;POINT (-39.42897 -3.122828)'))) / (select extract(epoch from '2026-07-10 21:11:38'::timestamp) - extract(epoch from '2026-07-10 21:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.428878 -3.122703)'), GeomFromEWKT('SRID=4674;POINT (-39.42897 -3.122828)'))) / (select extract(epoch from '2026-07-10 21:11:38'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.429055 -3.122955)', '2026-07-10 21:11:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42897 -3.122828)'), GeomFromEWKT('SRID=4674;POINT (-39.429055 -3.122955)'))) / (select extract(epoch from '2026-07-10 21:11:45'::timestamp) - extract(epoch from '2026-07-10 21:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42897 -3.122828)'), GeomFromEWKT('SRID=4674;POINT (-39.429055 -3.122955)'))) / (select extract(epoch from '2026-07-10 21:11:45'::timestamp) - extract(epoch from '2026-07-10 21:11: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'), 47986, 'SRID=4674;POINT (-39.429147 -3.123077)', '2026-07-10 21:11:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429055 -3.122955)'), GeomFromEWKT('SRID=4674;POINT (-39.429147 -3.123077)'))) / (select extract(epoch from '2026-07-10 21:11:52'::timestamp) - extract(epoch from '2026-07-10 21:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429055 -3.122955)'), GeomFromEWKT('SRID=4674;POINT (-39.429147 -3.123077)'))) / (select extract(epoch from '2026-07-10 21:11:52'::timestamp) - extract(epoch from '2026-07-10 21:11: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'), 47986, 'SRID=4674;POINT (-39.42923 -3.123203)', '2026-07-10 21:11:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429147 -3.123077)'), GeomFromEWKT('SRID=4674;POINT (-39.42923 -3.123203)'))) / (select extract(epoch from '2026-07-10 21:11:59'::timestamp) - extract(epoch from '2026-07-10 21:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429147 -3.123077)'), GeomFromEWKT('SRID=4674;POINT (-39.42923 -3.123203)'))) / (select extract(epoch from '2026-07-10 21:11:59'::timestamp) - extract(epoch from '2026-07-10 21:11: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'), 47986, 'SRID=4674;POINT (-39.429292 -3.123317)', '2026-07-10 21:12:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42923 -3.123203)'), GeomFromEWKT('SRID=4674;POINT (-39.429292 -3.123317)'))) / (select extract(epoch from '2026-07-10 21:12:05'::timestamp) - extract(epoch from '2026-07-10 21:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42923 -3.123203)'), GeomFromEWKT('SRID=4674;POINT (-39.429292 -3.123317)'))) / (select extract(epoch from '2026-07-10 21:12:05'::timestamp) - extract(epoch from '2026-07-10 21:11:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.42937 -3.123401)', '2026-07-10 21:12:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429292 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.42937 -3.123401)'))) / (select extract(epoch from '2026-07-10 21:12:11'::timestamp) - extract(epoch from '2026-07-10 21:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429292 -3.123317)'), GeomFromEWKT('SRID=4674;POINT (-39.42937 -3.123401)'))) / (select extract(epoch from '2026-07-10 21:12:11'::timestamp) - extract(epoch from '2026-07-10 21:12: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'), 47986, 'SRID=4674;POINT (-39.429452 -3.123512)', '2026-07-10 21:12:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42937 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.429452 -3.123512)'))) / (select extract(epoch from '2026-07-10 21:12:17'::timestamp) - extract(epoch from '2026-07-10 21:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42937 -3.123401)'), GeomFromEWKT('SRID=4674;POINT (-39.429452 -3.123512)'))) / (select extract(epoch from '2026-07-10 21:12:17'::timestamp) - extract(epoch from '2026-07-10 21:12: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'), 47986, 'SRID=4674;POINT (-39.429555 -3.123673)', '2026-07-10 21:12:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429452 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.429555 -3.123673)'))) / (select extract(epoch from '2026-07-10 21:12:26'::timestamp) - extract(epoch from '2026-07-10 21:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429452 -3.123512)'), GeomFromEWKT('SRID=4674;POINT (-39.429555 -3.123673)'))) / (select extract(epoch from '2026-07-10 21:12:26'::timestamp) - extract(epoch from '2026-07-10 21:12: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'), 47986, 'SRID=4674;POINT (-39.42962 -3.1238)', '2026-07-10 21:12:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429555 -3.123673)'), GeomFromEWKT('SRID=4674;POINT (-39.42962 -3.1238)'))) / (select extract(epoch from '2026-07-10 21:12:33'::timestamp) - extract(epoch from '2026-07-10 21:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429555 -3.123673)'), GeomFromEWKT('SRID=4674;POINT (-39.42962 -3.1238)'))) / (select extract(epoch from '2026-07-10 21:12:33'::timestamp) - extract(epoch from '2026-07-10 21:12: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'), 47986, 'SRID=4674;POINT (-39.429697 -3.123933)', '2026-07-10 21:12:39', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42962 -3.1238)'), GeomFromEWKT('SRID=4674;POINT (-39.429697 -3.123933)'))) / (select extract(epoch from '2026-07-10 21:12:39'::timestamp) - extract(epoch from '2026-07-10 21:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.42962 -3.1238)'), GeomFromEWKT('SRID=4674;POINT (-39.429697 -3.123933)'))) / (select extract(epoch from '2026-07-10 21:12:39'::timestamp) - extract(epoch from '2026-07-10 21:12: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'), 47986, 'SRID=4674;POINT (-39.429753 -3.124036)', '2026-07-10 21:12:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429697 -3.123933)'), GeomFromEWKT('SRID=4674;POINT (-39.429753 -3.124036)'))) / (select extract(epoch from '2026-07-10 21:12:44'::timestamp) - extract(epoch from '2026-07-10 21:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429697 -3.123933)'), GeomFromEWKT('SRID=4674;POINT (-39.429753 -3.124036)'))) / (select extract(epoch from '2026-07-10 21:12:44'::timestamp) - extract(epoch from '2026-07-10 21:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.429805 -3.124135)', '2026-07-10 21:12:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429753 -3.124036)'), GeomFromEWKT('SRID=4674;POINT (-39.429805 -3.124135)'))) / (select extract(epoch from '2026-07-10 21:12:49'::timestamp) - extract(epoch from '2026-07-10 21:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429753 -3.124036)'), GeomFromEWKT('SRID=4674;POINT (-39.429805 -3.124135)'))) / (select extract(epoch from '2026-07-10 21:12:49'::timestamp) - extract(epoch from '2026-07-10 21:12: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'), 47986, 'SRID=4674;POINT (-39.429857 -3.12425)', '2026-07-10 21:12:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429805 -3.124135)'), GeomFromEWKT('SRID=4674;POINT (-39.429857 -3.12425)'))) / (select extract(epoch from '2026-07-10 21:12:55'::timestamp) - extract(epoch from '2026-07-10 21:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429805 -3.124135)'), GeomFromEWKT('SRID=4674;POINT (-39.429857 -3.12425)'))) / (select extract(epoch from '2026-07-10 21:12:55'::timestamp) - extract(epoch from '2026-07-10 21:12: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'), 47986, 'SRID=4674;POINT (-39.429892 -3.12435)', '2026-07-10 21:13:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429857 -3.12425)'), GeomFromEWKT('SRID=4674;POINT (-39.429892 -3.12435)'))) / (select extract(epoch from '2026-07-10 21:13:00'::timestamp) - extract(epoch from '2026-07-10 21:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429857 -3.12425)'), GeomFromEWKT('SRID=4674;POINT (-39.429892 -3.12435)'))) / (select extract(epoch from '2026-07-10 21:13:00'::timestamp) - extract(epoch from '2026-07-10 21:12: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'), 47986, 'SRID=4674;POINT (-39.429946 -3.124484)', '2026-07-10 21:13:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429892 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.429946 -3.124484)'))) / (select extract(epoch from '2026-07-10 21:13:07'::timestamp) - extract(epoch from '2026-07-10 21:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429892 -3.12435)'), GeomFromEWKT('SRID=4674;POINT (-39.429946 -3.124484)'))) / (select extract(epoch from '2026-07-10 21:13:07'::timestamp) - extract(epoch from '2026-07-10 21:13: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'), 47986, 'SRID=4674;POINT (-39.430003 -3.124611)', '2026-07-10 21:13:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429946 -3.124484)'), GeomFromEWKT('SRID=4674;POINT (-39.430003 -3.124611)'))) / (select extract(epoch from '2026-07-10 21:13:14'::timestamp) - extract(epoch from '2026-07-10 21:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.429946 -3.124484)'), GeomFromEWKT('SRID=4674;POINT (-39.430003 -3.124611)'))) / (select extract(epoch from '2026-07-10 21:13:14'::timestamp) - extract(epoch from '2026-07-10 21:13: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'), 47986, 'SRID=4674;POINT (-39.430063 -3.124696)', '2026-07-10 21:13:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430003 -3.124611)'), GeomFromEWKT('SRID=4674;POINT (-39.430063 -3.124696)'))) / (select extract(epoch from '2026-07-10 21:13:19'::timestamp) - extract(epoch from '2026-07-10 21:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430003 -3.124611)'), GeomFromEWKT('SRID=4674;POINT (-39.430063 -3.124696)'))) / (select extract(epoch from '2026-07-10 21:13:19'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.430113 -3.124815)', '2026-07-10 21:13:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430063 -3.124696)'), GeomFromEWKT('SRID=4674;POINT (-39.430113 -3.124815)'))) / (select extract(epoch from '2026-07-10 21:13:26'::timestamp) - extract(epoch from '2026-07-10 21:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430063 -3.124696)'), GeomFromEWKT('SRID=4674;POINT (-39.430113 -3.124815)'))) / (select extract(epoch from '2026-07-10 21:13:26'::timestamp) - extract(epoch from '2026-07-10 21:13: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'), 47986, 'SRID=4674;POINT (-39.430168 -3.124915)', '2026-07-10 21:13:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430113 -3.124815)'), GeomFromEWKT('SRID=4674;POINT (-39.430168 -3.124915)'))) / (select extract(epoch from '2026-07-10 21:13:31'::timestamp) - extract(epoch from '2026-07-10 21:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430113 -3.124815)'), GeomFromEWKT('SRID=4674;POINT (-39.430168 -3.124915)'))) / (select extract(epoch from '2026-07-10 21:13:31'::timestamp) - extract(epoch from '2026-07-10 21:13: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'), 47986, 'SRID=4674;POINT (-39.430212 -3.125038)', '2026-07-10 21:13:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430168 -3.124915)'), GeomFromEWKT('SRID=4674;POINT (-39.430212 -3.125038)'))) / (select extract(epoch from '2026-07-10 21:13:37'::timestamp) - extract(epoch from '2026-07-10 21:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430168 -3.124915)'), GeomFromEWKT('SRID=4674;POINT (-39.430212 -3.125038)'))) / (select extract(epoch from '2026-07-10 21:13:37'::timestamp) - extract(epoch from '2026-07-10 21:13: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'), 47986, 'SRID=4674;POINT (-39.430312 -3.125164)', '2026-07-10 21:13:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430212 -3.125038)'), GeomFromEWKT('SRID=4674;POINT (-39.430312 -3.125164)'))) / (select extract(epoch from '2026-07-10 21:13:44'::timestamp) - extract(epoch from '2026-07-10 21:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430212 -3.125038)'), GeomFromEWKT('SRID=4674;POINT (-39.430312 -3.125164)'))) / (select extract(epoch from '2026-07-10 21:13:44'::timestamp) - extract(epoch from '2026-07-10 21:13: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'), 47986, 'SRID=4674;POINT (-39.430411 -3.125296)', '2026-07-10 21:13:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430312 -3.125164)'), GeomFromEWKT('SRID=4674;POINT (-39.430411 -3.125296)'))) / (select extract(epoch from '2026-07-10 21:13:52'::timestamp) - extract(epoch from '2026-07-10 21:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430312 -3.125164)'), GeomFromEWKT('SRID=4674;POINT (-39.430411 -3.125296)'))) / (select extract(epoch from '2026-07-10 21:13:52'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.430485 -3.125417)', '2026-07-10 21:13:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430411 -3.125296)'), GeomFromEWKT('SRID=4674;POINT (-39.430485 -3.125417)'))) / (select extract(epoch from '2026-07-10 21:13:58'::timestamp) - extract(epoch from '2026-07-10 21:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430411 -3.125296)'), GeomFromEWKT('SRID=4674;POINT (-39.430485 -3.125417)'))) / (select extract(epoch from '2026-07-10 21:13:58'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.43055 -3.125536)', '2026-07-10 21:14:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430485 -3.125417)'), GeomFromEWKT('SRID=4674;POINT (-39.43055 -3.125536)'))) / (select extract(epoch from '2026-07-10 21:14:04'::timestamp) - extract(epoch from '2026-07-10 21:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430485 -3.125417)'), GeomFromEWKT('SRID=4674;POINT (-39.43055 -3.125536)'))) / (select extract(epoch from '2026-07-10 21:14:04'::timestamp) - extract(epoch from '2026-07-10 21:13: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'), 47986, 'SRID=4674;POINT (-39.43059 -3.125613)', '2026-07-10 21:14:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43055 -3.125536)'), GeomFromEWKT('SRID=4674;POINT (-39.43059 -3.125613)'))) / (select extract(epoch from '2026-07-10 21:14:09'::timestamp) - extract(epoch from '2026-07-10 21:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43055 -3.125536)'), GeomFromEWKT('SRID=4674;POINT (-39.43059 -3.125613)'))) / (select extract(epoch from '2026-07-10 21:14:09'::timestamp) - extract(epoch from '2026-07-10 21:14: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'), 47986, 'SRID=4674;POINT (-39.430663 -3.125757)', '2026-07-10 21:14:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43059 -3.125613)'), GeomFromEWKT('SRID=4674;POINT (-39.430663 -3.125757)'))) / (select extract(epoch from '2026-07-10 21:14:16'::timestamp) - extract(epoch from '2026-07-10 21:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43059 -3.125613)'), GeomFromEWKT('SRID=4674;POINT (-39.430663 -3.125757)'))) / (select extract(epoch from '2026-07-10 21:14:16'::timestamp) - extract(epoch from '2026-07-10 21:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.43073 -3.125866)', '2026-07-10 21:14:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430663 -3.125757)'), GeomFromEWKT('SRID=4674;POINT (-39.43073 -3.125866)'))) / (select extract(epoch from '2026-07-10 21:14:22'::timestamp) - extract(epoch from '2026-07-10 21:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430663 -3.125757)'), GeomFromEWKT('SRID=4674;POINT (-39.43073 -3.125866)'))) / (select extract(epoch from '2026-07-10 21:14:22'::timestamp) - extract(epoch from '2026-07-10 21:14: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'), 47986, 'SRID=4674;POINT (-39.430814 -3.126007)', '2026-07-10 21:14:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43073 -3.125866)'), GeomFromEWKT('SRID=4674;POINT (-39.430814 -3.126007)'))) / (select extract(epoch from '2026-07-10 21:14:29'::timestamp) - extract(epoch from '2026-07-10 21:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43073 -3.125866)'), GeomFromEWKT('SRID=4674;POINT (-39.430814 -3.126007)'))) / (select extract(epoch from '2026-07-10 21:14:29'::timestamp) - extract(epoch from '2026-07-10 21:14: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'), 47986, 'SRID=4674;POINT (-39.430866 -3.126113)', '2026-07-10 21:14:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430814 -3.126007)'), GeomFromEWKT('SRID=4674;POINT (-39.430866 -3.126113)'))) / (select extract(epoch from '2026-07-10 21:14:35'::timestamp) - extract(epoch from '2026-07-10 21:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430814 -3.126007)'), GeomFromEWKT('SRID=4674;POINT (-39.430866 -3.126113)'))) / (select extract(epoch from '2026-07-10 21:14:35'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.43095 -3.126263)', '2026-07-10 21:14:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430866 -3.126113)'), GeomFromEWKT('SRID=4674;POINT (-39.43095 -3.126263)'))) / (select extract(epoch from '2026-07-10 21:14:43'::timestamp) - extract(epoch from '2026-07-10 21:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.430866 -3.126113)'), GeomFromEWKT('SRID=4674;POINT (-39.43095 -3.126263)'))) / (select extract(epoch from '2026-07-10 21:14:43'::timestamp) - extract(epoch from '2026-07-10 21:14: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'), 47986, 'SRID=4674;POINT (-39.431011 -3.126413)', '2026-07-10 21:14:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43095 -3.126263)'), GeomFromEWKT('SRID=4674;POINT (-39.431011 -3.126413)'))) / (select extract(epoch from '2026-07-10 21:14:50'::timestamp) - extract(epoch from '2026-07-10 21:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43095 -3.126263)'), GeomFromEWKT('SRID=4674;POINT (-39.431011 -3.126413)'))) / (select extract(epoch from '2026-07-10 21:14:50'::timestamp) - extract(epoch from '2026-07-10 21:14: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'), 47986, 'SRID=4674;POINT (-39.431066 -3.126518)', '2026-07-10 21:14:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431011 -3.126413)'), GeomFromEWKT('SRID=4674;POINT (-39.431066 -3.126518)'))) / (select extract(epoch from '2026-07-10 21:14:55'::timestamp) - extract(epoch from '2026-07-10 21:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431011 -3.126413)'), GeomFromEWKT('SRID=4674;POINT (-39.431066 -3.126518)'))) / (select extract(epoch from '2026-07-10 21:14:55'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.431133 -3.12663)', '2026-07-10 21:15:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431066 -3.126518)'), GeomFromEWKT('SRID=4674;POINT (-39.431133 -3.12663)'))) / (select extract(epoch from '2026-07-10 21:15:02'::timestamp) - extract(epoch from '2026-07-10 21:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431066 -3.126518)'), GeomFromEWKT('SRID=4674;POINT (-39.431133 -3.12663)'))) / (select extract(epoch from '2026-07-10 21:15:02'::timestamp) - extract(epoch from '2026-07-10 21:14: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'), 47986, 'SRID=4674;POINT (-39.4312 -3.12674)', '2026-07-10 21:15:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431133 -3.12663)'), GeomFromEWKT('SRID=4674;POINT (-39.4312 -3.12674)'))) / (select extract(epoch from '2026-07-10 21:15:08'::timestamp) - extract(epoch from '2026-07-10 21:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431133 -3.12663)'), GeomFromEWKT('SRID=4674;POINT (-39.4312 -3.12674)'))) / (select extract(epoch from '2026-07-10 21:15:08'::timestamp) - extract(epoch from '2026-07-10 21:15: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'), 47986, 'SRID=4674;POINT (-39.431257 -3.126862)', '2026-07-10 21:15:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4312 -3.12674)'), GeomFromEWKT('SRID=4674;POINT (-39.431257 -3.126862)'))) / (select extract(epoch from '2026-07-10 21:15:14'::timestamp) - extract(epoch from '2026-07-10 21:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4312 -3.12674)'), GeomFromEWKT('SRID=4674;POINT (-39.431257 -3.126862)'))) / (select extract(epoch from '2026-07-10 21:15:14'::timestamp) - extract(epoch from '2026-07-10 21:15: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'), 47986, 'SRID=4674;POINT (-39.431311 -3.126962)', '2026-07-10 21:15:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431257 -3.126862)'), GeomFromEWKT('SRID=4674;POINT (-39.431311 -3.126962)'))) / (select extract(epoch from '2026-07-10 21:15:19'::timestamp) - extract(epoch from '2026-07-10 21:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431257 -3.126862)'), GeomFromEWKT('SRID=4674;POINT (-39.431311 -3.126962)'))) / (select extract(epoch from '2026-07-10 21:15:19'::timestamp) - extract(epoch from '2026-07-10 21:15: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'), 47986, 'SRID=4674;POINT (-39.431392 -3.127062)', '2026-07-10 21:15:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431311 -3.126962)'), GeomFromEWKT('SRID=4674;POINT (-39.431392 -3.127062)'))) / (select extract(epoch from '2026-07-10 21:15:25'::timestamp) - extract(epoch from '2026-07-10 21:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431311 -3.126962)'), GeomFromEWKT('SRID=4674;POINT (-39.431392 -3.127062)'))) / (select extract(epoch from '2026-07-10 21:15:25'::timestamp) - extract(epoch from '2026-07-10 21:15: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'), 47986, 'SRID=4674;POINT (-39.431466 -3.12716)', '2026-07-10 21:15:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431392 -3.127062)'), GeomFromEWKT('SRID=4674;POINT (-39.431466 -3.12716)'))) / (select extract(epoch from '2026-07-10 21:15:31'::timestamp) - extract(epoch from '2026-07-10 21:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431392 -3.127062)'), GeomFromEWKT('SRID=4674;POINT (-39.431466 -3.12716)'))) / (select extract(epoch from '2026-07-10 21:15:31'::timestamp) - extract(epoch from '2026-07-10 21:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.431548 -3.127279)', '2026-07-10 21:15:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431466 -3.12716)'), GeomFromEWKT('SRID=4674;POINT (-39.431548 -3.127279)'))) / (select extract(epoch from '2026-07-10 21:15:37'::timestamp) - extract(epoch from '2026-07-10 21:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431466 -3.12716)'), GeomFromEWKT('SRID=4674;POINT (-39.431548 -3.127279)'))) / (select extract(epoch from '2026-07-10 21:15:37'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.431631 -3.127382)', '2026-07-10 21:15:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431548 -3.127279)'), GeomFromEWKT('SRID=4674;POINT (-39.431631 -3.127382)'))) / (select extract(epoch from '2026-07-10 21:15:43'::timestamp) - extract(epoch from '2026-07-10 21:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431548 -3.127279)'), GeomFromEWKT('SRID=4674;POINT (-39.431631 -3.127382)'))) / (select extract(epoch from '2026-07-10 21:15:43'::timestamp) - extract(epoch from '2026-07-10 21:15: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'), 47986, 'SRID=4674;POINT (-39.431712 -3.127511)', '2026-07-10 21:15:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431631 -3.127382)'), GeomFromEWKT('SRID=4674;POINT (-39.431712 -3.127511)'))) / (select extract(epoch from '2026-07-10 21:15:50'::timestamp) - extract(epoch from '2026-07-10 21:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431631 -3.127382)'), GeomFromEWKT('SRID=4674;POINT (-39.431712 -3.127511)'))) / (select extract(epoch from '2026-07-10 21:15:50'::timestamp) - extract(epoch from '2026-07-10 21:15: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'), 47986, 'SRID=4674;POINT (-39.431769 -3.127599)', '2026-07-10 21:15:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431712 -3.127511)'), GeomFromEWKT('SRID=4674;POINT (-39.431769 -3.127599)'))) / (select extract(epoch from '2026-07-10 21:15:55'::timestamp) - extract(epoch from '2026-07-10 21:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431712 -3.127511)'), GeomFromEWKT('SRID=4674;POINT (-39.431769 -3.127599)'))) / (select extract(epoch from '2026-07-10 21:15:55'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.431852 -3.127717)', '2026-07-10 21:16:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431769 -3.127599)'), GeomFromEWKT('SRID=4674;POINT (-39.431852 -3.127717)'))) / (select extract(epoch from '2026-07-10 21:16:02'::timestamp) - extract(epoch from '2026-07-10 21:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431769 -3.127599)'), GeomFromEWKT('SRID=4674;POINT (-39.431852 -3.127717)'))) / (select extract(epoch from '2026-07-10 21:16:02'::timestamp) - extract(epoch from '2026-07-10 21:15: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'), 47986, 'SRID=4674;POINT (-39.431941 -3.127831)', '2026-07-10 21:16:09', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431852 -3.127717)'), GeomFromEWKT('SRID=4674;POINT (-39.431941 -3.127831)'))) / (select extract(epoch from '2026-07-10 21:16:09'::timestamp) - extract(epoch from '2026-07-10 21:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431852 -3.127717)'), GeomFromEWKT('SRID=4674;POINT (-39.431941 -3.127831)'))) / (select extract(epoch from '2026-07-10 21:16:09'::timestamp) - extract(epoch from '2026-07-10 21:16: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'), 47986, 'SRID=4674;POINT (-39.432045 -3.12795)', '2026-07-10 21:16:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431941 -3.127831)'), GeomFromEWKT('SRID=4674;POINT (-39.432045 -3.12795)'))) / (select extract(epoch from '2026-07-10 21:16:16'::timestamp) - extract(epoch from '2026-07-10 21:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.431941 -3.127831)'), GeomFromEWKT('SRID=4674;POINT (-39.432045 -3.12795)'))) / (select extract(epoch from '2026-07-10 21:16:16'::timestamp) - extract(epoch from '2026-07-10 21:16: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'), 47986, 'SRID=4674;POINT (-39.432127 -3.128028)', '2026-07-10 21:16:22', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432045 -3.12795)'), GeomFromEWKT('SRID=4674;POINT (-39.432127 -3.128028)'))) / (select extract(epoch from '2026-07-10 21:16:22'::timestamp) - extract(epoch from '2026-07-10 21:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432045 -3.12795)'), GeomFromEWKT('SRID=4674;POINT (-39.432127 -3.128028)'))) / (select extract(epoch from '2026-07-10 21:16:22'::timestamp) - extract(epoch from '2026-07-10 21:16: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'), 47986, 'SRID=4674;POINT (-39.432224 -3.128147)', '2026-07-10 21:16:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432127 -3.128028)'), GeomFromEWKT('SRID=4674;POINT (-39.432224 -3.128147)'))) / (select extract(epoch from '2026-07-10 21:16:29'::timestamp) - extract(epoch from '2026-07-10 21:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432127 -3.128028)'), GeomFromEWKT('SRID=4674;POINT (-39.432224 -3.128147)'))) / (select extract(epoch from '2026-07-10 21:16:29'::timestamp) - extract(epoch from '2026-07-10 21:16: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'), 47986, 'SRID=4674;POINT (-39.43229 -3.128219)', '2026-07-10 21:16:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432224 -3.128147)'), GeomFromEWKT('SRID=4674;POINT (-39.43229 -3.128219)'))) / (select extract(epoch from '2026-07-10 21:16:35'::timestamp) - extract(epoch from '2026-07-10 21:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432224 -3.128147)'), GeomFromEWKT('SRID=4674;POINT (-39.43229 -3.128219)'))) / (select extract(epoch from '2026-07-10 21:16:35'::timestamp) - extract(epoch from '2026-07-10 21:16: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'), 47986, 'SRID=4674;POINT (-39.432323 -3.128245)', '2026-07-10 21:16:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43229 -3.128219)'), GeomFromEWKT('SRID=4674;POINT (-39.432323 -3.128245)'))) / (select extract(epoch from '2026-07-10 21:16:38'::timestamp) - extract(epoch from '2026-07-10 21:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43229 -3.128219)'), GeomFromEWKT('SRID=4674;POINT (-39.432323 -3.128245)'))) / (select extract(epoch from '2026-07-10 21:16:38'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.432349 -3.128258)', '2026-07-10 21:16:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432323 -3.128245)'), GeomFromEWKT('SRID=4674;POINT (-39.432349 -3.128258)'))) / (select extract(epoch from '2026-07-10 21:16:40'::timestamp) - extract(epoch from '2026-07-10 21:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432323 -3.128245)'), GeomFromEWKT('SRID=4674;POINT (-39.432349 -3.128258)'))) / (select extract(epoch from '2026-07-10 21:16:40'::timestamp) - extract(epoch from '2026-07-10 21:16: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'), 47986, 'SRID=4674;POINT (-39.432379 -3.128284)', '2026-07-10 21:16:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432349 -3.128258)'), GeomFromEWKT('SRID=4674;POINT (-39.432379 -3.128284)'))) / (select extract(epoch from '2026-07-10 21:16:45'::timestamp) - extract(epoch from '2026-07-10 21:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432349 -3.128258)'), GeomFromEWKT('SRID=4674;POINT (-39.432379 -3.128284)'))) / (select extract(epoch from '2026-07-10 21:16:45'::timestamp) - extract(epoch from '2026-07-10 21:16: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'), 47986, 'SRID=4674;POINT (-39.432416 -3.128333)', '2026-07-10 21:16:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432379 -3.128284)'), GeomFromEWKT('SRID=4674;POINT (-39.432416 -3.128333)'))) / (select extract(epoch from '2026-07-10 21:16:51'::timestamp) - extract(epoch from '2026-07-10 21:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432379 -3.128284)'), GeomFromEWKT('SRID=4674;POINT (-39.432416 -3.128333)'))) / (select extract(epoch from '2026-07-10 21:16:51'::timestamp) - extract(epoch from '2026-07-10 21:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.432464 -3.128369)', '2026-07-10 21:17:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432416 -3.128333)'), GeomFromEWKT('SRID=4674;POINT (-39.432464 -3.128369)'))) / (select extract(epoch from '2026-07-10 21:17:00'::timestamp) - extract(epoch from '2026-07-10 21:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432416 -3.128333)'), GeomFromEWKT('SRID=4674;POINT (-39.432464 -3.128369)'))) / (select extract(epoch from '2026-07-10 21:17:00'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.4325 -3.128376)', '2026-07-10 21:17:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432464 -3.128369)'), GeomFromEWKT('SRID=4674;POINT (-39.4325 -3.128376)'))) / (select extract(epoch from '2026-07-10 21:17:07'::timestamp) - extract(epoch from '2026-07-10 21:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432464 -3.128369)'), GeomFromEWKT('SRID=4674;POINT (-39.4325 -3.128376)'))) / (select extract(epoch from '2026-07-10 21:17:07'::timestamp) - extract(epoch from '2026-07-10 21:17: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'), 47986, 'SRID=4674;POINT (-39.432534 -3.128385)', '2026-07-10 21:17:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4325 -3.128376)'), GeomFromEWKT('SRID=4674;POINT (-39.432534 -3.128385)'))) / (select extract(epoch from '2026-07-10 21:17:15'::timestamp) - extract(epoch from '2026-07-10 21:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4325 -3.128376)'), GeomFromEWKT('SRID=4674;POINT (-39.432534 -3.128385)'))) / (select extract(epoch from '2026-07-10 21:17:15'::timestamp) - extract(epoch from '2026-07-10 21:17: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'), 47986, 'SRID=4674;POINT (-39.432569 -3.128382)', '2026-07-10 21:17:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432534 -3.128385)'), GeomFromEWKT('SRID=4674;POINT (-39.432569 -3.128382)'))) / (select extract(epoch from '2026-07-10 21:17:23'::timestamp) - extract(epoch from '2026-07-10 21:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432534 -3.128385)'), GeomFromEWKT('SRID=4674;POINT (-39.432569 -3.128382)'))) / (select extract(epoch from '2026-07-10 21:17:23'::timestamp) - extract(epoch from '2026-07-10 21:17: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'), 47986, 'SRID=4674;POINT (-39.43262 -3.128379)', '2026-07-10 21:17:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432569 -3.128382)'), GeomFromEWKT('SRID=4674;POINT (-39.43262 -3.128379)'))) / (select extract(epoch from '2026-07-10 21:17:32'::timestamp) - extract(epoch from '2026-07-10 21:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432569 -3.128382)'), GeomFromEWKT('SRID=4674;POINT (-39.43262 -3.128379)'))) / (select extract(epoch from '2026-07-10 21:17:32'::timestamp) - extract(epoch from '2026-07-10 21:17: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'), 47986, 'SRID=4674;POINT (-39.43266 -3.128374)', '2026-07-10 21:17:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43262 -3.128379)'), GeomFromEWKT('SRID=4674;POINT (-39.43266 -3.128374)'))) / (select extract(epoch from '2026-07-10 21:17:42'::timestamp) - extract(epoch from '2026-07-10 21:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43262 -3.128379)'), GeomFromEWKT('SRID=4674;POINT (-39.43266 -3.128374)'))) / (select extract(epoch from '2026-07-10 21:17:42'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.432702 -3.128377)', '2026-07-10 21:17:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43266 -3.128374)'), GeomFromEWKT('SRID=4674;POINT (-39.432702 -3.128377)'))) / (select extract(epoch from '2026-07-10 21:17:51'::timestamp) - extract(epoch from '2026-07-10 21:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43266 -3.128374)'), GeomFromEWKT('SRID=4674;POINT (-39.432702 -3.128377)'))) / (select extract(epoch from '2026-07-10 21:17:51'::timestamp) - extract(epoch from '2026-07-10 21:17: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'), 47986, 'SRID=4674;POINT (-39.432747 -3.128377)', '2026-07-10 21:18:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432702 -3.128377)'), GeomFromEWKT('SRID=4674;POINT (-39.432747 -3.128377)'))) / (select extract(epoch from '2026-07-10 21:18:00'::timestamp) - extract(epoch from '2026-07-10 21:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432702 -3.128377)'), GeomFromEWKT('SRID=4674;POINT (-39.432747 -3.128377)'))) / (select extract(epoch from '2026-07-10 21:18:00'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.432772 -3.128378)', '2026-07-10 21:18:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432747 -3.128377)'), GeomFromEWKT('SRID=4674;POINT (-39.432772 -3.128378)'))) / (select extract(epoch from '2026-07-10 21:18:07'::timestamp) - extract(epoch from '2026-07-10 21:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432747 -3.128377)'), GeomFromEWKT('SRID=4674;POINT (-39.432772 -3.128378)'))) / (select extract(epoch from '2026-07-10 21:18:07'::timestamp) - extract(epoch from '2026-07-10 21:18: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'), 47986, 'SRID=4674;POINT (-39.432814 -3.128368)', '2026-07-10 21:18:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432772 -3.128378)'), GeomFromEWKT('SRID=4674;POINT (-39.432814 -3.128368)'))) / (select extract(epoch from '2026-07-10 21:18:17'::timestamp) - extract(epoch from '2026-07-10 21:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432772 -3.128378)'), GeomFromEWKT('SRID=4674;POINT (-39.432814 -3.128368)'))) / (select extract(epoch from '2026-07-10 21:18:17'::timestamp) - extract(epoch from '2026-07-10 21:18: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'), 47986, 'SRID=4674;POINT (-39.432819 -3.128365)', '2026-07-10 21:18:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432814 -3.128368)'), GeomFromEWKT('SRID=4674;POINT (-39.432819 -3.128365)'))) / (select extract(epoch from '2026-07-10 21:18:29'::timestamp) - extract(epoch from '2026-07-10 21:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432814 -3.128368)'), GeomFromEWKT('SRID=4674;POINT (-39.432819 -3.128365)'))) / (select extract(epoch from '2026-07-10 21:18:29'::timestamp) - extract(epoch from '2026-07-10 21:18: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'), 47986, 'SRID=4674;POINT (-39.432929 -3.128378)', '2026-07-10 21:18:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432819 -3.128365)'), GeomFromEWKT('SRID=4674;POINT (-39.432929 -3.128378)'))) / (select extract(epoch from '2026-07-10 21:18:44'::timestamp) - extract(epoch from '2026-07-10 21:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432819 -3.128365)'), GeomFromEWKT('SRID=4674;POINT (-39.432929 -3.128378)'))) / (select extract(epoch from '2026-07-10 21:18:44'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.433013 -3.128366)', '2026-07-10 21:18:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432929 -3.128378)'), GeomFromEWKT('SRID=4674;POINT (-39.433013 -3.128366)'))) / (select extract(epoch from '2026-07-10 21:18:56'::timestamp) - extract(epoch from '2026-07-10 21:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.432929 -3.128378)'), GeomFromEWKT('SRID=4674;POINT (-39.433013 -3.128366)'))) / (select extract(epoch from '2026-07-10 21:18:56'::timestamp) - extract(epoch from '2026-07-10 21:18: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'), 47986, 'SRID=4674;POINT (-39.433024 -3.128369)', '2026-07-10 21:19:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433013 -3.128366)'), GeomFromEWKT('SRID=4674;POINT (-39.433024 -3.128369)'))) / (select extract(epoch from '2026-07-10 21:19:02'::timestamp) - extract(epoch from '2026-07-10 21:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433013 -3.128366)'), GeomFromEWKT('SRID=4674;POINT (-39.433024 -3.128369)'))) / (select extract(epoch from '2026-07-10 21:19:02'::timestamp) - extract(epoch from '2026-07-10 21:18: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'), 47986, 'SRID=4674;POINT (-39.433115 -3.128362)', '2026-07-10 21:19:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433024 -3.128369)'), GeomFromEWKT('SRID=4674;POINT (-39.433115 -3.128362)'))) / (select extract(epoch from '2026-07-10 21:19:24'::timestamp) - extract(epoch from '2026-07-10 21:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433024 -3.128369)'), GeomFromEWKT('SRID=4674;POINT (-39.433115 -3.128362)'))) / (select extract(epoch from '2026-07-10 21:19:24'::timestamp) - extract(epoch from '2026-07-10 21:19: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'), 47986, 'SRID=4674;POINT (-39.433167 -3.128363)', '2026-07-10 21:19:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433115 -3.128362)'), GeomFromEWKT('SRID=4674;POINT (-39.433167 -3.128363)'))) / (select extract(epoch from '2026-07-10 21:19:35'::timestamp) - extract(epoch from '2026-07-10 21:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433115 -3.128362)'), GeomFromEWKT('SRID=4674;POINT (-39.433167 -3.128363)'))) / (select extract(epoch from '2026-07-10 21:19:35'::timestamp) - extract(epoch from '2026-07-10 21:19: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'), 47986, 'SRID=4674;POINT (-39.433193 -3.128361)', '2026-07-10 21:19:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433167 -3.128363)'), GeomFromEWKT('SRID=4674;POINT (-39.433193 -3.128361)'))) / (select extract(epoch from '2026-07-10 21:19:43'::timestamp) - extract(epoch from '2026-07-10 21:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433167 -3.128363)'), GeomFromEWKT('SRID=4674;POINT (-39.433193 -3.128361)'))) / (select extract(epoch from '2026-07-10 21:19:43'::timestamp) - extract(epoch from '2026-07-10 21:19: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'), 47986, 'SRID=4674;POINT (-39.433242 -3.128356)', '2026-07-10 21:19:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433193 -3.128361)'), GeomFromEWKT('SRID=4674;POINT (-39.433242 -3.128356)'))) / (select extract(epoch from '2026-07-10 21:19:53'::timestamp) - extract(epoch from '2026-07-10 21:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433193 -3.128361)'), GeomFromEWKT('SRID=4674;POINT (-39.433242 -3.128356)'))) / (select extract(epoch from '2026-07-10 21:19:53'::timestamp) - extract(epoch from '2026-07-10 21:19: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'), 47986, 'SRID=4674;POINT (-39.433269 -3.128361)', '2026-07-10 21:20:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433242 -3.128356)'), GeomFromEWKT('SRID=4674;POINT (-39.433269 -3.128361)'))) / (select extract(epoch from '2026-07-10 21:20:00'::timestamp) - extract(epoch from '2026-07-10 21:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433242 -3.128356)'), GeomFromEWKT('SRID=4674;POINT (-39.433269 -3.128361)'))) / (select extract(epoch from '2026-07-10 21:20:00'::timestamp) - extract(epoch from '2026-07-10 21:19: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'), 47986, 'SRID=4674;POINT (-39.433324 -3.128365)', '2026-07-10 21:20:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433269 -3.128361)'), GeomFromEWKT('SRID=4674;POINT (-39.433324 -3.128365)'))) / (select extract(epoch from '2026-07-10 21:20:10'::timestamp) - extract(epoch from '2026-07-10 21:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433269 -3.128361)'), GeomFromEWKT('SRID=4674;POINT (-39.433324 -3.128365)'))) / (select extract(epoch from '2026-07-10 21:20:10'::timestamp) - extract(epoch from '2026-07-10 21:20: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'), 47986, 'SRID=4674;POINT (-39.43336 -3.128366)', '2026-07-10 21:20:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433324 -3.128365)'), GeomFromEWKT('SRID=4674;POINT (-39.43336 -3.128366)'))) / (select extract(epoch from '2026-07-10 21:20:15'::timestamp) - extract(epoch from '2026-07-10 21:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433324 -3.128365)'), GeomFromEWKT('SRID=4674;POINT (-39.43336 -3.128366)'))) / (select extract(epoch from '2026-07-10 21:20:15'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.433395 -3.128362)', '2026-07-10 21:20:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43336 -3.128366)'), GeomFromEWKT('SRID=4674;POINT (-39.433395 -3.128362)'))) / (select extract(epoch from '2026-07-10 21:20:24'::timestamp) - extract(epoch from '2026-07-10 21:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43336 -3.128366)'), GeomFromEWKT('SRID=4674;POINT (-39.433395 -3.128362)'))) / (select extract(epoch from '2026-07-10 21:20:24'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.433424 -3.12836)', '2026-07-10 21:20:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433395 -3.128362)'), GeomFromEWKT('SRID=4674;POINT (-39.433424 -3.12836)'))) / (select extract(epoch from '2026-07-10 21:20:31'::timestamp) - extract(epoch from '2026-07-10 21:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433395 -3.128362)'), GeomFromEWKT('SRID=4674;POINT (-39.433424 -3.12836)'))) / (select extract(epoch from '2026-07-10 21:20:31'::timestamp) - extract(epoch from '2026-07-10 21:20: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'), 47986, 'SRID=4674;POINT (-39.433467 -3.128364)', '2026-07-10 21:20:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433424 -3.12836)'), GeomFromEWKT('SRID=4674;POINT (-39.433467 -3.128364)'))) / (select extract(epoch from '2026-07-10 21:20:40'::timestamp) - extract(epoch from '2026-07-10 21:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433424 -3.12836)'), GeomFromEWKT('SRID=4674;POINT (-39.433467 -3.128364)'))) / (select extract(epoch from '2026-07-10 21:20:40'::timestamp) - extract(epoch from '2026-07-10 21:20: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'), 47986, 'SRID=4674;POINT (-39.433506 -3.128368)', '2026-07-10 21:20:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433467 -3.128364)'), GeomFromEWKT('SRID=4674;POINT (-39.433506 -3.128368)'))) / (select extract(epoch from '2026-07-10 21:20:47'::timestamp) - extract(epoch from '2026-07-10 21:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433467 -3.128364)'), GeomFromEWKT('SRID=4674;POINT (-39.433506 -3.128368)'))) / (select extract(epoch from '2026-07-10 21:20:47'::timestamp) - extract(epoch from '2026-07-10 21:20: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'), 47986, 'SRID=4674;POINT (-39.433521 -3.128371)', '2026-07-10 21:20:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433506 -3.128368)'), GeomFromEWKT('SRID=4674;POINT (-39.433521 -3.128371)'))) / (select extract(epoch from '2026-07-10 21:20:50'::timestamp) - extract(epoch from '2026-07-10 21:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433506 -3.128368)'), GeomFromEWKT('SRID=4674;POINT (-39.433521 -3.128371)'))) / (select extract(epoch from '2026-07-10 21:20:50'::timestamp) - extract(epoch from '2026-07-10 21:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.433562 -3.128372)', '2026-07-10 21:20:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433521 -3.128371)'), GeomFromEWKT('SRID=4674;POINT (-39.433562 -3.128372)'))) / (select extract(epoch from '2026-07-10 21:20:58'::timestamp) - extract(epoch from '2026-07-10 21:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433521 -3.128371)'), GeomFromEWKT('SRID=4674;POINT (-39.433562 -3.128372)'))) / (select extract(epoch from '2026-07-10 21:20:58'::timestamp) - extract(epoch from '2026-07-10 21:20: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'), 47986, 'SRID=4674;POINT (-39.433615 -3.128367)', '2026-07-10 21:21:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433562 -3.128372)'), GeomFromEWKT('SRID=4674;POINT (-39.433615 -3.128367)'))) / (select extract(epoch from '2026-07-10 21:21:07'::timestamp) - extract(epoch from '2026-07-10 21:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433562 -3.128372)'), GeomFromEWKT('SRID=4674;POINT (-39.433615 -3.128367)'))) / (select extract(epoch from '2026-07-10 21:21:07'::timestamp) - extract(epoch from '2026-07-10 21:20: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'), 47986, 'SRID=4674;POINT (-39.433646 -3.128355)', '2026-07-10 21:21:14', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433615 -3.128367)'), GeomFromEWKT('SRID=4674;POINT (-39.433646 -3.128355)'))) / (select extract(epoch from '2026-07-10 21:21:14'::timestamp) - extract(epoch from '2026-07-10 21:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433615 -3.128367)'), GeomFromEWKT('SRID=4674;POINT (-39.433646 -3.128355)'))) / (select extract(epoch from '2026-07-10 21:21:14'::timestamp) - extract(epoch from '2026-07-10 21:21: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'), 47986, 'SRID=4674;POINT (-39.433723 -3.128345)', '2026-07-10 21:21:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433646 -3.128355)'), GeomFromEWKT('SRID=4674;POINT (-39.433723 -3.128345)'))) / (select extract(epoch from '2026-07-10 21:21:27'::timestamp) - extract(epoch from '2026-07-10 21:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433646 -3.128355)'), GeomFromEWKT('SRID=4674;POINT (-39.433723 -3.128345)'))) / (select extract(epoch from '2026-07-10 21:21:27'::timestamp) - extract(epoch from '2026-07-10 21:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.433732 -3.128343)', '2026-07-10 21:21:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433723 -3.128345)'), GeomFromEWKT('SRID=4674;POINT (-39.433732 -3.128343)'))) / (select extract(epoch from '2026-07-10 21:21:28'::timestamp) - extract(epoch from '2026-07-10 21:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433723 -3.128345)'), GeomFromEWKT('SRID=4674;POINT (-39.433732 -3.128343)'))) / (select extract(epoch from '2026-07-10 21:21:28'::timestamp) - extract(epoch from '2026-07-10 21:21: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'), 47986, 'SRID=4674;POINT (-39.433755 -3.128343)', '2026-07-10 21:21:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433732 -3.128343)'), GeomFromEWKT('SRID=4674;POINT (-39.433755 -3.128343)'))) / (select extract(epoch from '2026-07-10 21:21:35'::timestamp) - extract(epoch from '2026-07-10 21:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433732 -3.128343)'), GeomFromEWKT('SRID=4674;POINT (-39.433755 -3.128343)'))) / (select extract(epoch from '2026-07-10 21:21:35'::timestamp) - extract(epoch from '2026-07-10 21:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.433787 -3.128337)', '2026-07-10 21:21:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433755 -3.128343)'), GeomFromEWKT('SRID=4674;POINT (-39.433787 -3.128337)'))) / (select extract(epoch from '2026-07-10 21:21:42'::timestamp) - extract(epoch from '2026-07-10 21:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433755 -3.128343)'), GeomFromEWKT('SRID=4674;POINT (-39.433787 -3.128337)'))) / (select extract(epoch from '2026-07-10 21:21:42'::timestamp) - extract(epoch from '2026-07-10 21:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.433831 -3.128351)', '2026-07-10 21:21:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433787 -3.128337)'), GeomFromEWKT('SRID=4674;POINT (-39.433831 -3.128351)'))) / (select extract(epoch from '2026-07-10 21:21:50'::timestamp) - extract(epoch from '2026-07-10 21:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433787 -3.128337)'), GeomFromEWKT('SRID=4674;POINT (-39.433831 -3.128351)'))) / (select extract(epoch from '2026-07-10 21:21:50'::timestamp) - extract(epoch from '2026-07-10 21:21:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.43386 -3.128351)', '2026-07-10 21:21:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433831 -3.128351)'), GeomFromEWKT('SRID=4674;POINT (-39.43386 -3.128351)'))) / (select extract(epoch from '2026-07-10 21:21:57'::timestamp) - extract(epoch from '2026-07-10 21:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433831 -3.128351)'), GeomFromEWKT('SRID=4674;POINT (-39.43386 -3.128351)'))) / (select extract(epoch from '2026-07-10 21:21:57'::timestamp) - extract(epoch from '2026-07-10 21:21: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'), 47986, 'SRID=4674;POINT (-39.433895 -3.128348)', '2026-07-10 21:22:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43386 -3.128351)'), GeomFromEWKT('SRID=4674;POINT (-39.433895 -3.128348)'))) / (select extract(epoch from '2026-07-10 21:22:05'::timestamp) - extract(epoch from '2026-07-10 21:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43386 -3.128351)'), GeomFromEWKT('SRID=4674;POINT (-39.433895 -3.128348)'))) / (select extract(epoch from '2026-07-10 21:22:05'::timestamp) - extract(epoch from '2026-07-10 21:21: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'), 47986, 'SRID=4674;POINT (-39.433949 -3.128337)', '2026-07-10 21:22:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433895 -3.128348)'), GeomFromEWKT('SRID=4674;POINT (-39.433949 -3.128337)'))) / (select extract(epoch from '2026-07-10 21:22:15'::timestamp) - extract(epoch from '2026-07-10 21:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433895 -3.128348)'), GeomFromEWKT('SRID=4674;POINT (-39.433949 -3.128337)'))) / (select extract(epoch from '2026-07-10 21:22:15'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.433971 -3.128349)', '2026-07-10 21:22:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433949 -3.128337)'), GeomFromEWKT('SRID=4674;POINT (-39.433971 -3.128349)'))) / (select extract(epoch from '2026-07-10 21:22:24'::timestamp) - extract(epoch from '2026-07-10 21:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433949 -3.128337)'), GeomFromEWKT('SRID=4674;POINT (-39.433971 -3.128349)'))) / (select extract(epoch from '2026-07-10 21:22:24'::timestamp) - extract(epoch from '2026-07-10 21:22: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'), 47986, 'SRID=4674;POINT (-39.434016 -3.128353)', '2026-07-10 21:22:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433971 -3.128349)'), GeomFromEWKT('SRID=4674;POINT (-39.434016 -3.128353)'))) / (select extract(epoch from '2026-07-10 21:22:31'::timestamp) - extract(epoch from '2026-07-10 21:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.433971 -3.128349)'), GeomFromEWKT('SRID=4674;POINT (-39.434016 -3.128353)'))) / (select extract(epoch from '2026-07-10 21:22:31'::timestamp) - extract(epoch from '2026-07-10 21:22: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'), 47986, 'SRID=4674;POINT (-39.434081 -3.128342)', '2026-07-10 21:22:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434016 -3.128353)'), GeomFromEWKT('SRID=4674;POINT (-39.434081 -3.128342)'))) / (select extract(epoch from '2026-07-10 21:22:42'::timestamp) - extract(epoch from '2026-07-10 21:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434016 -3.128353)'), GeomFromEWKT('SRID=4674;POINT (-39.434081 -3.128342)'))) / (select extract(epoch from '2026-07-10 21:22:42'::timestamp) - extract(epoch from '2026-07-10 21:22: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'), 47986, 'SRID=4674;POINT (-39.434119 -3.128351)', '2026-07-10 21:22:54', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434081 -3.128342)'), GeomFromEWKT('SRID=4674;POINT (-39.434119 -3.128351)'))) / (select extract(epoch from '2026-07-10 21:22:54'::timestamp) - extract(epoch from '2026-07-10 21:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434081 -3.128342)'), GeomFromEWKT('SRID=4674;POINT (-39.434119 -3.128351)'))) / (select extract(epoch from '2026-07-10 21:22:54'::timestamp) - extract(epoch from '2026-07-10 21:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.434156 -3.128346)', '2026-07-10 21:23:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434119 -3.128351)'), GeomFromEWKT('SRID=4674;POINT (-39.434156 -3.128346)'))) / (select extract(epoch from '2026-07-10 21:23:03'::timestamp) - extract(epoch from '2026-07-10 21:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434119 -3.128351)'), GeomFromEWKT('SRID=4674;POINT (-39.434156 -3.128346)'))) / (select extract(epoch from '2026-07-10 21:23:03'::timestamp) - extract(epoch from '2026-07-10 21:22:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.434184 -3.128344)', '2026-07-10 21:23:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434156 -3.128346)'), GeomFromEWKT('SRID=4674;POINT (-39.434184 -3.128344)'))) / (select extract(epoch from '2026-07-10 21:23:09'::timestamp) - extract(epoch from '2026-07-10 21:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434156 -3.128346)'), GeomFromEWKT('SRID=4674;POINT (-39.434184 -3.128344)'))) / (select extract(epoch from '2026-07-10 21:23:09'::timestamp) - extract(epoch from '2026-07-10 21:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.434235 -3.128363)', '2026-07-10 21:23:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434184 -3.128344)'), GeomFromEWKT('SRID=4674;POINT (-39.434235 -3.128363)'))) / (select extract(epoch from '2026-07-10 21:23:21'::timestamp) - extract(epoch from '2026-07-10 21:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434184 -3.128344)'), GeomFromEWKT('SRID=4674;POINT (-39.434235 -3.128363)'))) / (select extract(epoch from '2026-07-10 21:23:21'::timestamp) - extract(epoch from '2026-07-10 21:23: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'), 47986, 'SRID=4674;POINT (-39.434291 -3.128358)', '2026-07-10 21:23:29', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434235 -3.128363)'), GeomFromEWKT('SRID=4674;POINT (-39.434291 -3.128358)'))) / (select extract(epoch from '2026-07-10 21:23:29'::timestamp) - extract(epoch from '2026-07-10 21:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434235 -3.128363)'), GeomFromEWKT('SRID=4674;POINT (-39.434291 -3.128358)'))) / (select extract(epoch from '2026-07-10 21:23:29'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.434343 -3.128367)', '2026-07-10 21:23:41', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434291 -3.128358)'), GeomFromEWKT('SRID=4674;POINT (-39.434343 -3.128367)'))) / (select extract(epoch from '2026-07-10 21:23:41'::timestamp) - extract(epoch from '2026-07-10 21:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434291 -3.128358)'), GeomFromEWKT('SRID=4674;POINT (-39.434343 -3.128367)'))) / (select extract(epoch from '2026-07-10 21:23:41'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.434366 -3.128371)', '2026-07-10 21:23:48', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434343 -3.128367)'), GeomFromEWKT('SRID=4674;POINT (-39.434366 -3.128371)'))) / (select extract(epoch from '2026-07-10 21:23:48'::timestamp) - extract(epoch from '2026-07-10 21:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434343 -3.128367)'), GeomFromEWKT('SRID=4674;POINT (-39.434366 -3.128371)'))) / (select extract(epoch from '2026-07-10 21:23:48'::timestamp) - extract(epoch from '2026-07-10 21:23: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'), 47986, 'SRID=4674;POINT (-39.434413 -3.128377)', '2026-07-10 21:23:57', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434366 -3.128371)'), GeomFromEWKT('SRID=4674;POINT (-39.434413 -3.128377)'))) / (select extract(epoch from '2026-07-10 21:23:57'::timestamp) - extract(epoch from '2026-07-10 21:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434366 -3.128371)'), GeomFromEWKT('SRID=4674;POINT (-39.434413 -3.128377)'))) / (select extract(epoch from '2026-07-10 21:23:57'::timestamp) - extract(epoch from '2026-07-10 21:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.434474 -3.128376)', '2026-07-10 21:24:08', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434413 -3.128377)'), GeomFromEWKT('SRID=4674;POINT (-39.434474 -3.128376)'))) / (select extract(epoch from '2026-07-10 21:24:08'::timestamp) - extract(epoch from '2026-07-10 21:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434413 -3.128377)'), GeomFromEWKT('SRID=4674;POINT (-39.434474 -3.128376)'))) / (select extract(epoch from '2026-07-10 21:24:08'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.434484 -3.128372)', '2026-07-10 21:24:14', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434474 -3.128376)'), GeomFromEWKT('SRID=4674;POINT (-39.434484 -3.128372)'))) / (select extract(epoch from '2026-07-10 21:24:14'::timestamp) - extract(epoch from '2026-07-10 21:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434474 -3.128376)'), GeomFromEWKT('SRID=4674;POINT (-39.434484 -3.128372)'))) / (select extract(epoch from '2026-07-10 21:24:14'::timestamp) - extract(epoch from '2026-07-10 21:24: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'), 47986, 'SRID=4674;POINT (-39.434504 -3.128373)', '2026-07-10 21:24:21', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434484 -3.128372)'), GeomFromEWKT('SRID=4674;POINT (-39.434504 -3.128373)'))) / (select extract(epoch from '2026-07-10 21:24:21'::timestamp) - extract(epoch from '2026-07-10 21:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434484 -3.128372)'), GeomFromEWKT('SRID=4674;POINT (-39.434504 -3.128373)'))) / (select extract(epoch from '2026-07-10 21:24:21'::timestamp) - extract(epoch from '2026-07-10 21:24: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'), 47986, 'SRID=4674;POINT (-39.434537 -3.128372)', '2026-07-10 21:24:28', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434504 -3.128373)'), GeomFromEWKT('SRID=4674;POINT (-39.434537 -3.128372)'))) / (select extract(epoch from '2026-07-10 21:24:28'::timestamp) - extract(epoch from '2026-07-10 21:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434504 -3.128373)'), GeomFromEWKT('SRID=4674;POINT (-39.434537 -3.128372)'))) / (select extract(epoch from '2026-07-10 21:24:28'::timestamp) - extract(epoch from '2026-07-10 21:24: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'), 47986, 'SRID=4674;POINT (-39.434561 -3.128369)', '2026-07-10 21:24:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434537 -3.128372)'), GeomFromEWKT('SRID=4674;POINT (-39.434561 -3.128369)'))) / (select extract(epoch from '2026-07-10 21:24:35'::timestamp) - extract(epoch from '2026-07-10 21:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434537 -3.128372)'), GeomFromEWKT('SRID=4674;POINT (-39.434561 -3.128369)'))) / (select extract(epoch from '2026-07-10 21:24:35'::timestamp) - extract(epoch from '2026-07-10 21:24: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'), 47986, 'SRID=4674;POINT (-39.434569 -3.128371)', '2026-07-10 21:24:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434561 -3.128369)'), GeomFromEWKT('SRID=4674;POINT (-39.434569 -3.128371)'))) / (select extract(epoch from '2026-07-10 21:24:36'::timestamp) - extract(epoch from '2026-07-10 21:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434561 -3.128369)'), GeomFromEWKT('SRID=4674;POINT (-39.434569 -3.128371)'))) / (select extract(epoch from '2026-07-10 21:24:36'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.434579 -3.128374)', '2026-07-10 21:24:38', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434569 -3.128371)'), GeomFromEWKT('SRID=4674;POINT (-39.434579 -3.128374)'))) / (select extract(epoch from '2026-07-10 21:24:38'::timestamp) - extract(epoch from '2026-07-10 21:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434569 -3.128371)'), GeomFromEWKT('SRID=4674;POINT (-39.434579 -3.128374)'))) / (select extract(epoch from '2026-07-10 21:24:38'::timestamp) - extract(epoch from '2026-07-10 21:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.434618 -3.128384)', '2026-07-10 21:24:49', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434579 -3.128374)'), GeomFromEWKT('SRID=4674;POINT (-39.434618 -3.128384)'))) / (select extract(epoch from '2026-07-10 21:24:49'::timestamp) - extract(epoch from '2026-07-10 21:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434579 -3.128374)'), GeomFromEWKT('SRID=4674;POINT (-39.434618 -3.128384)'))) / (select extract(epoch from '2026-07-10 21:24:49'::timestamp) - extract(epoch from '2026-07-10 21:24: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'), 47986, 'SRID=4674;POINT (-39.434659 -3.128384)', '2026-07-10 21:24:57', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434618 -3.128384)'), GeomFromEWKT('SRID=4674;POINT (-39.434659 -3.128384)'))) / (select extract(epoch from '2026-07-10 21:24:57'::timestamp) - extract(epoch from '2026-07-10 21:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434618 -3.128384)'), GeomFromEWKT('SRID=4674;POINT (-39.434659 -3.128384)'))) / (select extract(epoch from '2026-07-10 21:24:57'::timestamp) - extract(epoch from '2026-07-10 21:24: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'), 47986, 'SRID=4674;POINT (-39.434698 -3.128465)', '2026-07-10 21:25:04', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434659 -3.128384)'), GeomFromEWKT('SRID=4674;POINT (-39.434698 -3.128465)'))) / (select extract(epoch from '2026-07-10 21:25:04'::timestamp) - extract(epoch from '2026-07-10 21:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434659 -3.128384)'), GeomFromEWKT('SRID=4674;POINT (-39.434698 -3.128465)'))) / (select extract(epoch from '2026-07-10 21:25:04'::timestamp) - extract(epoch from '2026-07-10 21:24: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'), 47986, 'SRID=4674;POINT (-39.434714 -3.128595)', '2026-07-10 21:25:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434698 -3.128465)'), GeomFromEWKT('SRID=4674;POINT (-39.434714 -3.128595)'))) / (select extract(epoch from '2026-07-10 21:25:11'::timestamp) - extract(epoch from '2026-07-10 21:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434698 -3.128465)'), GeomFromEWKT('SRID=4674;POINT (-39.434714 -3.128595)'))) / (select extract(epoch from '2026-07-10 21:25:11'::timestamp) - extract(epoch from '2026-07-10 21:25: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'), 47986, 'SRID=4674;POINT (-39.434667 -3.128689)', '2026-07-10 21:25:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434714 -3.128595)'), GeomFromEWKT('SRID=4674;POINT (-39.434667 -3.128689)'))) / (select extract(epoch from '2026-07-10 21:25:17'::timestamp) - extract(epoch from '2026-07-10 21:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434714 -3.128595)'), GeomFromEWKT('SRID=4674;POINT (-39.434667 -3.128689)'))) / (select extract(epoch from '2026-07-10 21:25:17'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.434652 -3.128802)', '2026-07-10 21:25:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434667 -3.128689)'), GeomFromEWKT('SRID=4674;POINT (-39.434652 -3.128802)'))) / (select extract(epoch from '2026-07-10 21:25:24'::timestamp) - extract(epoch from '2026-07-10 21:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434667 -3.128689)'), GeomFromEWKT('SRID=4674;POINT (-39.434652 -3.128802)'))) / (select extract(epoch from '2026-07-10 21:25:24'::timestamp) - extract(epoch from '2026-07-10 21:25: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'), 47986, 'SRID=4674;POINT (-39.434678 -3.128889)', '2026-07-10 21:25:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434652 -3.128802)'), GeomFromEWKT('SRID=4674;POINT (-39.434678 -3.128889)'))) / (select extract(epoch from '2026-07-10 21:25:29'::timestamp) - extract(epoch from '2026-07-10 21:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434652 -3.128802)'), GeomFromEWKT('SRID=4674;POINT (-39.434678 -3.128889)'))) / (select extract(epoch from '2026-07-10 21:25:29'::timestamp) - extract(epoch from '2026-07-10 21:25: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'), 47986, 'SRID=4674;POINT (-39.434698 -3.128907)', '2026-07-10 21:25:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434678 -3.128889)'), GeomFromEWKT('SRID=4674;POINT (-39.434698 -3.128907)'))) / (select extract(epoch from '2026-07-10 21:25:30'::timestamp) - extract(epoch from '2026-07-10 21:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434678 -3.128889)'), GeomFromEWKT('SRID=4674;POINT (-39.434698 -3.128907)'))) / (select extract(epoch from '2026-07-10 21:25:30'::timestamp) - extract(epoch from '2026-07-10 21:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.434713 -3.128933)', '2026-07-10 21:25:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434698 -3.128907)'), GeomFromEWKT('SRID=4674;POINT (-39.434713 -3.128933)'))) / (select extract(epoch from '2026-07-10 21:25:32'::timestamp) - extract(epoch from '2026-07-10 21:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434698 -3.128907)'), GeomFromEWKT('SRID=4674;POINT (-39.434713 -3.128933)'))) / (select extract(epoch from '2026-07-10 21:25:32'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.434717 -3.12895)', '2026-07-10 21:25:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434713 -3.128933)'), GeomFromEWKT('SRID=4674;POINT (-39.434717 -3.12895)'))) / (select extract(epoch from '2026-07-10 21:25:33'::timestamp) - extract(epoch from '2026-07-10 21:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434713 -3.128933)'), GeomFromEWKT('SRID=4674;POINT (-39.434717 -3.12895)'))) / (select extract(epoch from '2026-07-10 21:25:33'::timestamp) - extract(epoch from '2026-07-10 21:25: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'), 47986, 'SRID=4674;POINT (-39.434758 -3.129022)', '2026-07-10 21:25:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434717 -3.12895)'), GeomFromEWKT('SRID=4674;POINT (-39.434758 -3.129022)'))) / (select extract(epoch from '2026-07-10 21:25:37'::timestamp) - extract(epoch from '2026-07-10 21:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434717 -3.12895)'), GeomFromEWKT('SRID=4674;POINT (-39.434758 -3.129022)'))) / (select extract(epoch from '2026-07-10 21:25:37'::timestamp) - extract(epoch from '2026-07-10 21:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.434793 -3.129108)', '2026-07-10 21:25:42', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434758 -3.129022)'), GeomFromEWKT('SRID=4674;POINT (-39.434793 -3.129108)'))) / (select extract(epoch from '2026-07-10 21:25:42'::timestamp) - extract(epoch from '2026-07-10 21:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434758 -3.129022)'), GeomFromEWKT('SRID=4674;POINT (-39.434793 -3.129108)'))) / (select extract(epoch from '2026-07-10 21:25:42'::timestamp) - extract(epoch from '2026-07-10 21:25: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'), 47986, 'SRID=4674;POINT (-39.434828 -3.129221)', '2026-07-10 21:25:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434793 -3.129108)'), GeomFromEWKT('SRID=4674;POINT (-39.434828 -3.129221)'))) / (select extract(epoch from '2026-07-10 21:25:48'::timestamp) - extract(epoch from '2026-07-10 21:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434793 -3.129108)'), GeomFromEWKT('SRID=4674;POINT (-39.434828 -3.129221)'))) / (select extract(epoch from '2026-07-10 21:25:48'::timestamp) - extract(epoch from '2026-07-10 21:25: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'), 47986, 'SRID=4674;POINT (-39.434846 -3.129355)', '2026-07-10 21:25:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434828 -3.129221)'), GeomFromEWKT('SRID=4674;POINT (-39.434846 -3.129355)'))) / (select extract(epoch from '2026-07-10 21:25:55'::timestamp) - extract(epoch from '2026-07-10 21:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434828 -3.129221)'), GeomFromEWKT('SRID=4674;POINT (-39.434846 -3.129355)'))) / (select extract(epoch from '2026-07-10 21:25:55'::timestamp) - extract(epoch from '2026-07-10 21:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.434865 -3.129492)', '2026-07-10 21:26:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434846 -3.129355)'), GeomFromEWKT('SRID=4674;POINT (-39.434865 -3.129492)'))) / (select extract(epoch from '2026-07-10 21:26:02'::timestamp) - extract(epoch from '2026-07-10 21:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434846 -3.129355)'), GeomFromEWKT('SRID=4674;POINT (-39.434865 -3.129492)'))) / (select extract(epoch from '2026-07-10 21:26:02'::timestamp) - extract(epoch from '2026-07-10 21:25: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'), 47986, 'SRID=4674;POINT (-39.434916 -3.12966)', '2026-07-10 21:26:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434865 -3.129492)'), GeomFromEWKT('SRID=4674;POINT (-39.434916 -3.12966)'))) / (select extract(epoch from '2026-07-10 21:26:10'::timestamp) - extract(epoch from '2026-07-10 21:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434865 -3.129492)'), GeomFromEWKT('SRID=4674;POINT (-39.434916 -3.12966)'))) / (select extract(epoch from '2026-07-10 21:26:10'::timestamp) - extract(epoch from '2026-07-10 21:26: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'), 47986, 'SRID=4674;POINT (-39.434951 -3.12978)', '2026-07-10 21:26:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434916 -3.12966)'), GeomFromEWKT('SRID=4674;POINT (-39.434951 -3.12978)'))) / (select extract(epoch from '2026-07-10 21:26:17'::timestamp) - extract(epoch from '2026-07-10 21:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434916 -3.12966)'), GeomFromEWKT('SRID=4674;POINT (-39.434951 -3.12978)'))) / (select extract(epoch from '2026-07-10 21:26:17'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.434991 -3.129917)', '2026-07-10 21:26:24', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434951 -3.12978)'), GeomFromEWKT('SRID=4674;POINT (-39.434991 -3.129917)'))) / (select extract(epoch from '2026-07-10 21:26:24'::timestamp) - extract(epoch from '2026-07-10 21:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434951 -3.12978)'), GeomFromEWKT('SRID=4674;POINT (-39.434991 -3.129917)'))) / (select extract(epoch from '2026-07-10 21:26:24'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.43502 -3.130075)', '2026-07-10 21:26:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434991 -3.129917)'), GeomFromEWKT('SRID=4674;POINT (-39.43502 -3.130075)'))) / (select extract(epoch from '2026-07-10 21:26:32'::timestamp) - extract(epoch from '2026-07-10 21:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.434991 -3.129917)'), GeomFromEWKT('SRID=4674;POINT (-39.43502 -3.130075)'))) / (select extract(epoch from '2026-07-10 21:26:32'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.435025 -3.130186)', '2026-07-10 21:26:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43502 -3.130075)'), GeomFromEWKT('SRID=4674;POINT (-39.435025 -3.130186)'))) / (select extract(epoch from '2026-07-10 21:26:38'::timestamp) - extract(epoch from '2026-07-10 21:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43502 -3.130075)'), GeomFromEWKT('SRID=4674;POINT (-39.435025 -3.130186)'))) / (select extract(epoch from '2026-07-10 21:26:38'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.435046 -3.130336)', '2026-07-10 21:26:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435025 -3.130186)'), GeomFromEWKT('SRID=4674;POINT (-39.435046 -3.130336)'))) / (select extract(epoch from '2026-07-10 21:26:45'::timestamp) - extract(epoch from '2026-07-10 21:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435025 -3.130186)'), GeomFromEWKT('SRID=4674;POINT (-39.435046 -3.130336)'))) / (select extract(epoch from '2026-07-10 21:26:45'::timestamp) - extract(epoch from '2026-07-10 21:26: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'), 47986, 'SRID=4674;POINT (-39.43507 -3.130422)', '2026-07-10 21:26:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435046 -3.130336)'), GeomFromEWKT('SRID=4674;POINT (-39.43507 -3.130422)'))) / (select extract(epoch from '2026-07-10 21:26:50'::timestamp) - extract(epoch from '2026-07-10 21:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435046 -3.130336)'), GeomFromEWKT('SRID=4674;POINT (-39.43507 -3.130422)'))) / (select extract(epoch from '2026-07-10 21:26:50'::timestamp) - extract(epoch from '2026-07-10 21:26: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'), 47986, 'SRID=4674;POINT (-39.435096 -3.130525)', '2026-07-10 21:26:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43507 -3.130422)'), GeomFromEWKT('SRID=4674;POINT (-39.435096 -3.130525)'))) / (select extract(epoch from '2026-07-10 21:26:55'::timestamp) - extract(epoch from '2026-07-10 21:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43507 -3.130422)'), GeomFromEWKT('SRID=4674;POINT (-39.435096 -3.130525)'))) / (select extract(epoch from '2026-07-10 21:26:55'::timestamp) - extract(epoch from '2026-07-10 21:26: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'), 47986, 'SRID=4674;POINT (-39.435137 -3.130621)', '2026-07-10 21:27:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435096 -3.130525)'), GeomFromEWKT('SRID=4674;POINT (-39.435137 -3.130621)'))) / (select extract(epoch from '2026-07-10 21:27:00'::timestamp) - extract(epoch from '2026-07-10 21:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435096 -3.130525)'), GeomFromEWKT('SRID=4674;POINT (-39.435137 -3.130621)'))) / (select extract(epoch from '2026-07-10 21:27:00'::timestamp) - extract(epoch from '2026-07-10 21:26: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'), 47986, 'SRID=4674;POINT (-39.435179 -3.130738)', '2026-07-10 21:27:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435137 -3.130621)'), GeomFromEWKT('SRID=4674;POINT (-39.435179 -3.130738)'))) / (select extract(epoch from '2026-07-10 21:27:06'::timestamp) - extract(epoch from '2026-07-10 21:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435137 -3.130621)'), GeomFromEWKT('SRID=4674;POINT (-39.435179 -3.130738)'))) / (select extract(epoch from '2026-07-10 21:27:06'::timestamp) - extract(epoch from '2026-07-10 21:27: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'), 47986, 'SRID=4674;POINT (-39.435217 -3.130856)', '2026-07-10 21:27:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435179 -3.130738)'), GeomFromEWKT('SRID=4674;POINT (-39.435217 -3.130856)'))) / (select extract(epoch from '2026-07-10 21:27:12'::timestamp) - extract(epoch from '2026-07-10 21:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435179 -3.130738)'), GeomFromEWKT('SRID=4674;POINT (-39.435217 -3.130856)'))) / (select extract(epoch from '2026-07-10 21:27:12'::timestamp) - extract(epoch from '2026-07-10 21:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.43527 -3.130953)', '2026-07-10 21:27:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435217 -3.130856)'), GeomFromEWKT('SRID=4674;POINT (-39.43527 -3.130953)'))) / (select extract(epoch from '2026-07-10 21:27:17'::timestamp) - extract(epoch from '2026-07-10 21:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435217 -3.130856)'), GeomFromEWKT('SRID=4674;POINT (-39.43527 -3.130953)'))) / (select extract(epoch from '2026-07-10 21:27:17'::timestamp) - extract(epoch from '2026-07-10 21:27: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'), 47986, 'SRID=4674;POINT (-39.435311 -3.131024)', '2026-07-10 21:27:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43527 -3.130953)'), GeomFromEWKT('SRID=4674;POINT (-39.435311 -3.131024)'))) / (select extract(epoch from '2026-07-10 21:27:21'::timestamp) - extract(epoch from '2026-07-10 21:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43527 -3.130953)'), GeomFromEWKT('SRID=4674;POINT (-39.435311 -3.131024)'))) / (select extract(epoch from '2026-07-10 21:27:21'::timestamp) - extract(epoch from '2026-07-10 21:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.435319 -3.131046)', '2026-07-10 21:27:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435311 -3.131024)'), GeomFromEWKT('SRID=4674;POINT (-39.435319 -3.131046)'))) / (select extract(epoch from '2026-07-10 21:27:22'::timestamp) - extract(epoch from '2026-07-10 21:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435311 -3.131024)'), GeomFromEWKT('SRID=4674;POINT (-39.435319 -3.131046)'))) / (select extract(epoch from '2026-07-10 21:27:22'::timestamp) - extract(epoch from '2026-07-10 21:27: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'), 47986, 'SRID=4674;POINT (-39.435355 -3.13114)', '2026-07-10 21:27:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435319 -3.131046)'), GeomFromEWKT('SRID=4674;POINT (-39.435355 -3.13114)'))) / (select extract(epoch from '2026-07-10 21:27:27'::timestamp) - extract(epoch from '2026-07-10 21:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435319 -3.131046)'), GeomFromEWKT('SRID=4674;POINT (-39.435355 -3.13114)'))) / (select extract(epoch from '2026-07-10 21:27:27'::timestamp) - extract(epoch from '2026-07-10 21:27: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'), 47986, 'SRID=4674;POINT (-39.43539 -3.131231)', '2026-07-10 21:27:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435355 -3.13114)'), GeomFromEWKT('SRID=4674;POINT (-39.43539 -3.131231)'))) / (select extract(epoch from '2026-07-10 21:27:32'::timestamp) - extract(epoch from '2026-07-10 21:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435355 -3.13114)'), GeomFromEWKT('SRID=4674;POINT (-39.43539 -3.131231)'))) / (select extract(epoch from '2026-07-10 21:27:32'::timestamp) - extract(epoch from '2026-07-10 21:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.435428 -3.131325)', '2026-07-10 21:27:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43539 -3.131231)'), GeomFromEWKT('SRID=4674;POINT (-39.435428 -3.131325)'))) / (select extract(epoch from '2026-07-10 21:27:37'::timestamp) - extract(epoch from '2026-07-10 21:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43539 -3.131231)'), GeomFromEWKT('SRID=4674;POINT (-39.435428 -3.131325)'))) / (select extract(epoch from '2026-07-10 21:27:37'::timestamp) - extract(epoch from '2026-07-10 21:27: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'), 47986, 'SRID=4674;POINT (-39.435462 -3.131412)', '2026-07-10 21:27:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435428 -3.131325)'), GeomFromEWKT('SRID=4674;POINT (-39.435462 -3.131412)'))) / (select extract(epoch from '2026-07-10 21:27:42'::timestamp) - extract(epoch from '2026-07-10 21:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435428 -3.131325)'), GeomFromEWKT('SRID=4674;POINT (-39.435462 -3.131412)'))) / (select extract(epoch from '2026-07-10 21:27:42'::timestamp) - extract(epoch from '2026-07-10 21:27: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'), 47986, 'SRID=4674;POINT (-39.435495 -3.1315)', '2026-07-10 21:27:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435462 -3.131412)'), GeomFromEWKT('SRID=4674;POINT (-39.435495 -3.1315)'))) / (select extract(epoch from '2026-07-10 21:27:46'::timestamp) - extract(epoch from '2026-07-10 21:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435462 -3.131412)'), GeomFromEWKT('SRID=4674;POINT (-39.435495 -3.1315)'))) / (select extract(epoch from '2026-07-10 21:27:46'::timestamp) - extract(epoch from '2026-07-10 21:27: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'), 47986, 'SRID=4674;POINT (-39.435527 -3.131587)', '2026-07-10 21:27:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435495 -3.1315)'), GeomFromEWKT('SRID=4674;POINT (-39.435527 -3.131587)'))) / (select extract(epoch from '2026-07-10 21:27:51'::timestamp) - extract(epoch from '2026-07-10 21:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435495 -3.1315)'), GeomFromEWKT('SRID=4674;POINT (-39.435527 -3.131587)'))) / (select extract(epoch from '2026-07-10 21:27:51'::timestamp) - extract(epoch from '2026-07-10 21:27: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'), 47986, 'SRID=4674;POINT (-39.435573 -3.13168)', '2026-07-10 21:27:56', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435527 -3.131587)'), GeomFromEWKT('SRID=4674;POINT (-39.435573 -3.13168)'))) / (select extract(epoch from '2026-07-10 21:27:56'::timestamp) - extract(epoch from '2026-07-10 21:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435527 -3.131587)'), GeomFromEWKT('SRID=4674;POINT (-39.435573 -3.13168)'))) / (select extract(epoch from '2026-07-10 21:27:56'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.43562 -3.131756)', '2026-07-10 21:28:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435573 -3.13168)'), GeomFromEWKT('SRID=4674;POINT (-39.43562 -3.131756)'))) / (select extract(epoch from '2026-07-10 21:28:00'::timestamp) - extract(epoch from '2026-07-10 21:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435573 -3.13168)'), GeomFromEWKT('SRID=4674;POINT (-39.43562 -3.131756)'))) / (select extract(epoch from '2026-07-10 21:28:00'::timestamp) - extract(epoch from '2026-07-10 21:27: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'), 47986, 'SRID=4674;POINT (-39.435692 -3.131901)', '2026-07-10 21:28:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43562 -3.131756)'), GeomFromEWKT('SRID=4674;POINT (-39.435692 -3.131901)'))) / (select extract(epoch from '2026-07-10 21:28:08'::timestamp) - extract(epoch from '2026-07-10 21:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43562 -3.131756)'), GeomFromEWKT('SRID=4674;POINT (-39.435692 -3.131901)'))) / (select extract(epoch from '2026-07-10 21:28:08'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.435738 -3.13202)', '2026-07-10 21:28:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435692 -3.131901)'), GeomFromEWKT('SRID=4674;POINT (-39.435738 -3.13202)'))) / (select extract(epoch from '2026-07-10 21:28:14'::timestamp) - extract(epoch from '2026-07-10 21:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435692 -3.131901)'), GeomFromEWKT('SRID=4674;POINT (-39.435738 -3.13202)'))) / (select extract(epoch from '2026-07-10 21:28:14'::timestamp) - extract(epoch from '2026-07-10 21:28: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'), 47986, 'SRID=4674;POINT (-39.43578 -3.132106)', '2026-07-10 21:28:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435738 -3.13202)'), GeomFromEWKT('SRID=4674;POINT (-39.43578 -3.132106)'))) / (select extract(epoch from '2026-07-10 21:28:19'::timestamp) - extract(epoch from '2026-07-10 21:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435738 -3.13202)'), GeomFromEWKT('SRID=4674;POINT (-39.43578 -3.132106)'))) / (select extract(epoch from '2026-07-10 21:28:19'::timestamp) - extract(epoch from '2026-07-10 21:28: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'), 47986, 'SRID=4674;POINT (-39.435831 -3.132223)', '2026-07-10 21:28:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43578 -3.132106)'), GeomFromEWKT('SRID=4674;POINT (-39.435831 -3.132223)'))) / (select extract(epoch from '2026-07-10 21:28:25'::timestamp) - extract(epoch from '2026-07-10 21:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43578 -3.132106)'), GeomFromEWKT('SRID=4674;POINT (-39.435831 -3.132223)'))) / (select extract(epoch from '2026-07-10 21:28:25'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.435889 -3.132358)', '2026-07-10 21:28:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435831 -3.132223)'), GeomFromEWKT('SRID=4674;POINT (-39.435889 -3.132358)'))) / (select extract(epoch from '2026-07-10 21:28:32'::timestamp) - extract(epoch from '2026-07-10 21:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435831 -3.132223)'), GeomFromEWKT('SRID=4674;POINT (-39.435889 -3.132358)'))) / (select extract(epoch from '2026-07-10 21:28:32'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.43595 -3.132478)', '2026-07-10 21:28:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435889 -3.132358)'), GeomFromEWKT('SRID=4674;POINT (-39.43595 -3.132478)'))) / (select extract(epoch from '2026-07-10 21:28:38'::timestamp) - extract(epoch from '2026-07-10 21:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.435889 -3.132358)'), GeomFromEWKT('SRID=4674;POINT (-39.43595 -3.132478)'))) / (select extract(epoch from '2026-07-10 21:28:38'::timestamp) - extract(epoch from '2026-07-10 21:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.436011 -3.132629)', '2026-07-10 21:28:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43595 -3.132478)'), GeomFromEWKT('SRID=4674;POINT (-39.436011 -3.132629)'))) / (select extract(epoch from '2026-07-10 21:28:46'::timestamp) - extract(epoch from '2026-07-10 21:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43595 -3.132478)'), GeomFromEWKT('SRID=4674;POINT (-39.436011 -3.132629)'))) / (select extract(epoch from '2026-07-10 21:28:46'::timestamp) - extract(epoch from '2026-07-10 21:28: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'), 47986, 'SRID=4674;POINT (-39.436065 -3.132741)', '2026-07-10 21:28:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436011 -3.132629)'), GeomFromEWKT('SRID=4674;POINT (-39.436065 -3.132741)'))) / (select extract(epoch from '2026-07-10 21:28:52'::timestamp) - extract(epoch from '2026-07-10 21:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436011 -3.132629)'), GeomFromEWKT('SRID=4674;POINT (-39.436065 -3.132741)'))) / (select extract(epoch from '2026-07-10 21:28:52'::timestamp) - extract(epoch from '2026-07-10 21:28: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'), 47986, 'SRID=4674;POINT (-39.436114 -3.132854)', '2026-07-10 21:28:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436065 -3.132741)'), GeomFromEWKT('SRID=4674;POINT (-39.436114 -3.132854)'))) / (select extract(epoch from '2026-07-10 21:28:58'::timestamp) - extract(epoch from '2026-07-10 21:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436065 -3.132741)'), GeomFromEWKT('SRID=4674;POINT (-39.436114 -3.132854)'))) / (select extract(epoch from '2026-07-10 21:28:58'::timestamp) - extract(epoch from '2026-07-10 21:28: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'), 47986, 'SRID=4674;POINT (-39.436169 -3.132973)', '2026-07-10 21:29:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436114 -3.132854)'), GeomFromEWKT('SRID=4674;POINT (-39.436169 -3.132973)'))) / (select extract(epoch from '2026-07-10 21:29:04'::timestamp) - extract(epoch from '2026-07-10 21:28:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436114 -3.132854)'), GeomFromEWKT('SRID=4674;POINT (-39.436169 -3.132973)'))) / (select extract(epoch from '2026-07-10 21:29:04'::timestamp) - extract(epoch from '2026-07-10 21:28: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'), 47986, 'SRID=4674;POINT (-39.436218 -3.133091)', '2026-07-10 21:29:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436169 -3.132973)'), GeomFromEWKT('SRID=4674;POINT (-39.436218 -3.133091)'))) / (select extract(epoch from '2026-07-10 21:29:10'::timestamp) - extract(epoch from '2026-07-10 21:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436169 -3.132973)'), GeomFromEWKT('SRID=4674;POINT (-39.436218 -3.133091)'))) / (select extract(epoch from '2026-07-10 21:29:10'::timestamp) - extract(epoch from '2026-07-10 21:29: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'), 47986, 'SRID=4674;POINT (-39.436281 -3.133243)', '2026-07-10 21:29:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436218 -3.133091)'), GeomFromEWKT('SRID=4674;POINT (-39.436281 -3.133243)'))) / (select extract(epoch from '2026-07-10 21:29:18'::timestamp) - extract(epoch from '2026-07-10 21:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436218 -3.133091)'), GeomFromEWKT('SRID=4674;POINT (-39.436281 -3.133243)'))) / (select extract(epoch from '2026-07-10 21:29:18'::timestamp) - extract(epoch from '2026-07-10 21:29: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'), 47986, 'SRID=4674;POINT (-39.436325 -3.133365)', '2026-07-10 21:29:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436281 -3.133243)'), GeomFromEWKT('SRID=4674;POINT (-39.436325 -3.133365)'))) / (select extract(epoch from '2026-07-10 21:29:24'::timestamp) - extract(epoch from '2026-07-10 21:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436281 -3.133243)'), GeomFromEWKT('SRID=4674;POINT (-39.436325 -3.133365)'))) / (select extract(epoch from '2026-07-10 21:29:24'::timestamp) - extract(epoch from '2026-07-10 21:29: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'), 47986, 'SRID=4674;POINT (-39.436361 -3.133457)', '2026-07-10 21:29:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436325 -3.133365)'), GeomFromEWKT('SRID=4674;POINT (-39.436361 -3.133457)'))) / (select extract(epoch from '2026-07-10 21:29:29'::timestamp) - extract(epoch from '2026-07-10 21:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436325 -3.133365)'), GeomFromEWKT('SRID=4674;POINT (-39.436361 -3.133457)'))) / (select extract(epoch from '2026-07-10 21:29:29'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.436398 -3.133571)', '2026-07-10 21:29:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436361 -3.133457)'), GeomFromEWKT('SRID=4674;POINT (-39.436398 -3.133571)'))) / (select extract(epoch from '2026-07-10 21:29:35'::timestamp) - extract(epoch from '2026-07-10 21:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436361 -3.133457)'), GeomFromEWKT('SRID=4674;POINT (-39.436398 -3.133571)'))) / (select extract(epoch from '2026-07-10 21:29:35'::timestamp) - extract(epoch from '2026-07-10 21:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.436439 -3.133685)', '2026-07-10 21:29:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436398 -3.133571)'), GeomFromEWKT('SRID=4674;POINT (-39.436439 -3.133685)'))) / (select extract(epoch from '2026-07-10 21:29:41'::timestamp) - extract(epoch from '2026-07-10 21:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436398 -3.133571)'), GeomFromEWKT('SRID=4674;POINT (-39.436439 -3.133685)'))) / (select extract(epoch from '2026-07-10 21:29:41'::timestamp) - extract(epoch from '2026-07-10 21:29: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'), 47986, 'SRID=4674;POINT (-39.436483 -3.133804)', '2026-07-10 21:29:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436439 -3.133685)'), GeomFromEWKT('SRID=4674;POINT (-39.436483 -3.133804)'))) / (select extract(epoch from '2026-07-10 21:29:47'::timestamp) - extract(epoch from '2026-07-10 21:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436439 -3.133685)'), GeomFromEWKT('SRID=4674;POINT (-39.436483 -3.133804)'))) / (select extract(epoch from '2026-07-10 21:29:47'::timestamp) - extract(epoch from '2026-07-10 21:29: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'), 47986, 'SRID=4674;POINT (-39.436525 -3.133927)', '2026-07-10 21:29:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436483 -3.133804)'), GeomFromEWKT('SRID=4674;POINT (-39.436525 -3.133927)'))) / (select extract(epoch from '2026-07-10 21:29:53'::timestamp) - extract(epoch from '2026-07-10 21:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436483 -3.133804)'), GeomFromEWKT('SRID=4674;POINT (-39.436525 -3.133927)'))) / (select extract(epoch from '2026-07-10 21:29:53'::timestamp) - extract(epoch from '2026-07-10 21:29: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'), 47986, 'SRID=4674;POINT (-39.436559 -3.134024)', '2026-07-10 21:29:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436525 -3.133927)'), GeomFromEWKT('SRID=4674;POINT (-39.436559 -3.134024)'))) / (select extract(epoch from '2026-07-10 21:29:58'::timestamp) - extract(epoch from '2026-07-10 21:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436525 -3.133927)'), GeomFromEWKT('SRID=4674;POINT (-39.436559 -3.134024)'))) / (select extract(epoch from '2026-07-10 21:29:58'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.436608 -3.134114)', '2026-07-10 21:30:03', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436559 -3.134024)'), GeomFromEWKT('SRID=4674;POINT (-39.436608 -3.134114)'))) / (select extract(epoch from '2026-07-10 21:30:03'::timestamp) - extract(epoch from '2026-07-10 21:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436559 -3.134024)'), GeomFromEWKT('SRID=4674;POINT (-39.436608 -3.134114)'))) / (select extract(epoch from '2026-07-10 21:30:03'::timestamp) - extract(epoch from '2026-07-10 21:29: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'), 47986, 'SRID=4674;POINT (-39.436637 -3.134185)', '2026-07-10 21:30:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436608 -3.134114)'), GeomFromEWKT('SRID=4674;POINT (-39.436637 -3.134185)'))) / (select extract(epoch from '2026-07-10 21:30:07'::timestamp) - extract(epoch from '2026-07-10 21:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436608 -3.134114)'), GeomFromEWKT('SRID=4674;POINT (-39.436637 -3.134185)'))) / (select extract(epoch from '2026-07-10 21:30:07'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.43665 -3.134228)', '2026-07-10 21:30:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436637 -3.134185)'), GeomFromEWKT('SRID=4674;POINT (-39.43665 -3.134228)'))) / (select extract(epoch from '2026-07-10 21:30:09'::timestamp) - extract(epoch from '2026-07-10 21:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436637 -3.134185)'), GeomFromEWKT('SRID=4674;POINT (-39.43665 -3.134228)'))) / (select extract(epoch from '2026-07-10 21:30:09'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.436674 -3.134323)', '2026-07-10 21:30:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43665 -3.134228)'), GeomFromEWKT('SRID=4674;POINT (-39.436674 -3.134323)'))) / (select extract(epoch from '2026-07-10 21:30:14'::timestamp) - extract(epoch from '2026-07-10 21:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43665 -3.134228)'), GeomFromEWKT('SRID=4674;POINT (-39.436674 -3.134323)'))) / (select extract(epoch from '2026-07-10 21:30:14'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.436696 -3.134382)', '2026-07-10 21:30:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436674 -3.134323)'), GeomFromEWKT('SRID=4674;POINT (-39.436696 -3.134382)'))) / (select extract(epoch from '2026-07-10 21:30:17'::timestamp) - extract(epoch from '2026-07-10 21:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436674 -3.134323)'), GeomFromEWKT('SRID=4674;POINT (-39.436696 -3.134382)'))) / (select extract(epoch from '2026-07-10 21:30:17'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.436707 -3.134418)', '2026-07-10 21:30:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436696 -3.134382)'), GeomFromEWKT('SRID=4674;POINT (-39.436707 -3.134418)'))) / (select extract(epoch from '2026-07-10 21:30:19'::timestamp) - extract(epoch from '2026-07-10 21:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436696 -3.134382)'), GeomFromEWKT('SRID=4674;POINT (-39.436707 -3.134418)'))) / (select extract(epoch from '2026-07-10 21:30:19'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.436735 -3.134517)', '2026-07-10 21:30:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436707 -3.134418)'), GeomFromEWKT('SRID=4674;POINT (-39.436735 -3.134517)'))) / (select extract(epoch from '2026-07-10 21:30:24'::timestamp) - extract(epoch from '2026-07-10 21:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436707 -3.134418)'), GeomFromEWKT('SRID=4674;POINT (-39.436735 -3.134517)'))) / (select extract(epoch from '2026-07-10 21:30:24'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.436769 -3.134613)', '2026-07-10 21:30:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436735 -3.134517)'), GeomFromEWKT('SRID=4674;POINT (-39.436769 -3.134613)'))) / (select extract(epoch from '2026-07-10 21:30:29'::timestamp) - extract(epoch from '2026-07-10 21:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436735 -3.134517)'), GeomFromEWKT('SRID=4674;POINT (-39.436769 -3.134613)'))) / (select extract(epoch from '2026-07-10 21:30:29'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.436796 -3.134674)', '2026-07-10 21:30:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436769 -3.134613)'), GeomFromEWKT('SRID=4674;POINT (-39.436796 -3.134674)'))) / (select extract(epoch from '2026-07-10 21:30:32'::timestamp) - extract(epoch from '2026-07-10 21:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436769 -3.134613)'), GeomFromEWKT('SRID=4674;POINT (-39.436796 -3.134674)'))) / (select extract(epoch from '2026-07-10 21:30:32'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.436809 -3.134709)', '2026-07-10 21:30:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436796 -3.134674)'), GeomFromEWKT('SRID=4674;POINT (-39.436809 -3.134709)'))) / (select extract(epoch from '2026-07-10 21:30:34'::timestamp) - extract(epoch from '2026-07-10 21:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436796 -3.134674)'), GeomFromEWKT('SRID=4674;POINT (-39.436809 -3.134709)'))) / (select extract(epoch from '2026-07-10 21:30:34'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.43684 -3.134821)', '2026-07-10 21:30:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436809 -3.134709)'), GeomFromEWKT('SRID=4674;POINT (-39.43684 -3.134821)'))) / (select extract(epoch from '2026-07-10 21:30:40'::timestamp) - extract(epoch from '2026-07-10 21:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436809 -3.134709)'), GeomFromEWKT('SRID=4674;POINT (-39.43684 -3.134821)'))) / (select extract(epoch from '2026-07-10 21:30:40'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.436893 -3.134965)', '2026-07-10 21:30:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43684 -3.134821)'), GeomFromEWKT('SRID=4674;POINT (-39.436893 -3.134965)'))) / (select extract(epoch from '2026-07-10 21:30:47'::timestamp) - extract(epoch from '2026-07-10 21:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43684 -3.134821)'), GeomFromEWKT('SRID=4674;POINT (-39.436893 -3.134965)'))) / (select extract(epoch from '2026-07-10 21:30:47'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.436944 -3.135102)', '2026-07-10 21:30:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436893 -3.134965)'), GeomFromEWKT('SRID=4674;POINT (-39.436944 -3.135102)'))) / (select extract(epoch from '2026-07-10 21:30:54'::timestamp) - extract(epoch from '2026-07-10 21:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436893 -3.134965)'), GeomFromEWKT('SRID=4674;POINT (-39.436944 -3.135102)'))) / (select extract(epoch from '2026-07-10 21:30:54'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.436995 -3.135226)', '2026-07-10 21:31:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436944 -3.135102)'), GeomFromEWKT('SRID=4674;POINT (-39.436995 -3.135226)'))) / (select extract(epoch from '2026-07-10 21:31:00'::timestamp) - extract(epoch from '2026-07-10 21:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436944 -3.135102)'), GeomFromEWKT('SRID=4674;POINT (-39.436995 -3.135226)'))) / (select extract(epoch from '2026-07-10 21:31:00'::timestamp) - extract(epoch from '2026-07-10 21:30: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'), 47986, 'SRID=4674;POINT (-39.437031 -3.135343)', '2026-07-10 21:31:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436995 -3.135226)'), GeomFromEWKT('SRID=4674;POINT (-39.437031 -3.135343)'))) / (select extract(epoch from '2026-07-10 21:31:06'::timestamp) - extract(epoch from '2026-07-10 21:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.436995 -3.135226)'), GeomFromEWKT('SRID=4674;POINT (-39.437031 -3.135343)'))) / (select extract(epoch from '2026-07-10 21:31:06'::timestamp) - extract(epoch from '2026-07-10 21:31: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'), 47986, 'SRID=4674;POINT (-39.437078 -3.13547)', '2026-07-10 21:31:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437031 -3.135343)'), GeomFromEWKT('SRID=4674;POINT (-39.437078 -3.13547)'))) / (select extract(epoch from '2026-07-10 21:31:12'::timestamp) - extract(epoch from '2026-07-10 21:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437031 -3.135343)'), GeomFromEWKT('SRID=4674;POINT (-39.437078 -3.13547)'))) / (select extract(epoch from '2026-07-10 21:31:12'::timestamp) - extract(epoch from '2026-07-10 21:31: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'), 47986, 'SRID=4674;POINT (-39.437119 -3.135572)', '2026-07-10 21:31:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437078 -3.13547)'), GeomFromEWKT('SRID=4674;POINT (-39.437119 -3.135572)'))) / (select extract(epoch from '2026-07-10 21:31:17'::timestamp) - extract(epoch from '2026-07-10 21:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437078 -3.13547)'), GeomFromEWKT('SRID=4674;POINT (-39.437119 -3.135572)'))) / (select extract(epoch from '2026-07-10 21:31:17'::timestamp) - extract(epoch from '2026-07-10 21:31: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'), 47986, 'SRID=4674;POINT (-39.437123 -3.135606)', '2026-07-10 21:31:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437119 -3.135572)'), GeomFromEWKT('SRID=4674;POINT (-39.437123 -3.135606)'))) / (select extract(epoch from '2026-07-10 21:31:19'::timestamp) - extract(epoch from '2026-07-10 21:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437119 -3.135572)'), GeomFromEWKT('SRID=4674;POINT (-39.437123 -3.135606)'))) / (select extract(epoch from '2026-07-10 21:31:19'::timestamp) - extract(epoch from '2026-07-10 21:31: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'), 47986, 'SRID=4674;POINT (-39.437152 -3.135673)', '2026-07-10 21:31:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437123 -3.135606)'), GeomFromEWKT('SRID=4674;POINT (-39.437152 -3.135673)'))) / (select extract(epoch from '2026-07-10 21:31:22'::timestamp) - extract(epoch from '2026-07-10 21:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437123 -3.135606)'), GeomFromEWKT('SRID=4674;POINT (-39.437152 -3.135673)'))) / (select extract(epoch from '2026-07-10 21:31:22'::timestamp) - extract(epoch from '2026-07-10 21:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.437185 -3.135771)', '2026-07-10 21:31:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437152 -3.135673)'), GeomFromEWKT('SRID=4674;POINT (-39.437185 -3.135771)'))) / (select extract(epoch from '2026-07-10 21:31:27'::timestamp) - extract(epoch from '2026-07-10 21:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437152 -3.135673)'), GeomFromEWKT('SRID=4674;POINT (-39.437185 -3.135771)'))) / (select extract(epoch from '2026-07-10 21:31:27'::timestamp) - extract(epoch from '2026-07-10 21:31: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'), 47986, 'SRID=4674;POINT (-39.43725 -3.135907)', '2026-07-10 21:31:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437185 -3.135771)'), GeomFromEWKT('SRID=4674;POINT (-39.43725 -3.135907)'))) / (select extract(epoch from '2026-07-10 21:31:34'::timestamp) - extract(epoch from '2026-07-10 21:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437185 -3.135771)'), GeomFromEWKT('SRID=4674;POINT (-39.43725 -3.135907)'))) / (select extract(epoch from '2026-07-10 21:31:34'::timestamp) - extract(epoch from '2026-07-10 21:31: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'), 47986, 'SRID=4674;POINT (-39.437259 -3.135926)', '2026-07-10 21:31:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43725 -3.135907)'), GeomFromEWKT('SRID=4674;POINT (-39.437259 -3.135926)'))) / (select extract(epoch from '2026-07-10 21:31:35'::timestamp) - extract(epoch from '2026-07-10 21:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43725 -3.135907)'), GeomFromEWKT('SRID=4674;POINT (-39.437259 -3.135926)'))) / (select extract(epoch from '2026-07-10 21:31:35'::timestamp) - extract(epoch from '2026-07-10 21:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.437284 -3.136)', '2026-07-10 21:31:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437259 -3.135926)'), GeomFromEWKT('SRID=4674;POINT (-39.437284 -3.136)'))) / (select extract(epoch from '2026-07-10 21:31:39'::timestamp) - extract(epoch from '2026-07-10 21:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437259 -3.135926)'), GeomFromEWKT('SRID=4674;POINT (-39.437284 -3.136)'))) / (select extract(epoch from '2026-07-10 21:31:39'::timestamp) - extract(epoch from '2026-07-10 21:31: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'), 47986, 'SRID=4674;POINT (-39.43733 -3.136122)', '2026-07-10 21:31:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437284 -3.136)'), GeomFromEWKT('SRID=4674;POINT (-39.43733 -3.136122)'))) / (select extract(epoch from '2026-07-10 21:31:45'::timestamp) - extract(epoch from '2026-07-10 21:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437284 -3.136)'), GeomFromEWKT('SRID=4674;POINT (-39.43733 -3.136122)'))) / (select extract(epoch from '2026-07-10 21:31:45'::timestamp) - extract(epoch from '2026-07-10 21:31: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'), 47986, 'SRID=4674;POINT (-39.437367 -3.136229)', '2026-07-10 21:31:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43733 -3.136122)'), GeomFromEWKT('SRID=4674;POINT (-39.437367 -3.136229)'))) / (select extract(epoch from '2026-07-10 21:31:51'::timestamp) - extract(epoch from '2026-07-10 21:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43733 -3.136122)'), GeomFromEWKT('SRID=4674;POINT (-39.437367 -3.136229)'))) / (select extract(epoch from '2026-07-10 21:31:51'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.437401 -3.136328)', '2026-07-10 21:31:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437367 -3.136229)'), GeomFromEWKT('SRID=4674;POINT (-39.437401 -3.136328)'))) / (select extract(epoch from '2026-07-10 21:31:56'::timestamp) - extract(epoch from '2026-07-10 21:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437367 -3.136229)'), GeomFromEWKT('SRID=4674;POINT (-39.437401 -3.136328)'))) / (select extract(epoch from '2026-07-10 21:31:56'::timestamp) - extract(epoch from '2026-07-10 21:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.437457 -3.136422)', '2026-07-10 21:32:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437401 -3.136328)'), GeomFromEWKT('SRID=4674;POINT (-39.437457 -3.136422)'))) / (select extract(epoch from '2026-07-10 21:32:01'::timestamp) - extract(epoch from '2026-07-10 21:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437401 -3.136328)'), GeomFromEWKT('SRID=4674;POINT (-39.437457 -3.136422)'))) / (select extract(epoch from '2026-07-10 21:32:01'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.437512 -3.13656)', '2026-07-10 21:32:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437457 -3.136422)'), GeomFromEWKT('SRID=4674;POINT (-39.437512 -3.13656)'))) / (select extract(epoch from '2026-07-10 21:32:08'::timestamp) - extract(epoch from '2026-07-10 21:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437457 -3.136422)'), GeomFromEWKT('SRID=4674;POINT (-39.437512 -3.13656)'))) / (select extract(epoch from '2026-07-10 21:32:08'::timestamp) - extract(epoch from '2026-07-10 21:32: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'), 47986, 'SRID=4674;POINT (-39.437555 -3.13667)', '2026-07-10 21:32:14', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437512 -3.13656)'), GeomFromEWKT('SRID=4674;POINT (-39.437555 -3.13667)'))) / (select extract(epoch from '2026-07-10 21:32:14'::timestamp) - extract(epoch from '2026-07-10 21:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437512 -3.13656)'), GeomFromEWKT('SRID=4674;POINT (-39.437555 -3.13667)'))) / (select extract(epoch from '2026-07-10 21:32:14'::timestamp) - extract(epoch from '2026-07-10 21:32: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'), 47986, 'SRID=4674;POINT (-39.437605 -3.136789)', '2026-07-10 21:32:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437555 -3.13667)'), GeomFromEWKT('SRID=4674;POINT (-39.437605 -3.136789)'))) / (select extract(epoch from '2026-07-10 21:32:20'::timestamp) - extract(epoch from '2026-07-10 21:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437555 -3.13667)'), GeomFromEWKT('SRID=4674;POINT (-39.437605 -3.136789)'))) / (select extract(epoch from '2026-07-10 21:32:20'::timestamp) - extract(epoch from '2026-07-10 21:32:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.437651 -3.136901)', '2026-07-10 21:32:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437605 -3.136789)'), GeomFromEWKT('SRID=4674;POINT (-39.437651 -3.136901)'))) / (select extract(epoch from '2026-07-10 21:32:26'::timestamp) - extract(epoch from '2026-07-10 21:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437605 -3.136789)'), GeomFromEWKT('SRID=4674;POINT (-39.437651 -3.136901)'))) / (select extract(epoch from '2026-07-10 21:32:26'::timestamp) - extract(epoch from '2026-07-10 21:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.437687 -3.137)', '2026-07-10 21:32:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437651 -3.136901)'), GeomFromEWKT('SRID=4674;POINT (-39.437687 -3.137)'))) / (select extract(epoch from '2026-07-10 21:32:31'::timestamp) - extract(epoch from '2026-07-10 21:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437651 -3.136901)'), GeomFromEWKT('SRID=4674;POINT (-39.437687 -3.137)'))) / (select extract(epoch from '2026-07-10 21:32:31'::timestamp) - extract(epoch from '2026-07-10 21:32:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.437698 -3.137018)', '2026-07-10 21:32:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437687 -3.137)'), GeomFromEWKT('SRID=4674;POINT (-39.437698 -3.137018)'))) / (select extract(epoch from '2026-07-10 21:32:32'::timestamp) - extract(epoch from '2026-07-10 21:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437687 -3.137)'), GeomFromEWKT('SRID=4674;POINT (-39.437698 -3.137018)'))) / (select extract(epoch from '2026-07-10 21:32:32'::timestamp) - extract(epoch from '2026-07-10 21:32: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'), 47986, 'SRID=4674;POINT (-39.43774 -3.137114)', '2026-07-10 21:32:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437698 -3.137018)'), GeomFromEWKT('SRID=4674;POINT (-39.43774 -3.137114)'))) / (select extract(epoch from '2026-07-10 21:32:37'::timestamp) - extract(epoch from '2026-07-10 21:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437698 -3.137018)'), GeomFromEWKT('SRID=4674;POINT (-39.43774 -3.137114)'))) / (select extract(epoch from '2026-07-10 21:32:37'::timestamp) - extract(epoch from '2026-07-10 21:32: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'), 47986, 'SRID=4674;POINT (-39.437786 -3.137227)', '2026-07-10 21:32:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43774 -3.137114)'), GeomFromEWKT('SRID=4674;POINT (-39.437786 -3.137227)'))) / (select extract(epoch from '2026-07-10 21:32:43'::timestamp) - extract(epoch from '2026-07-10 21:32:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43774 -3.137114)'), GeomFromEWKT('SRID=4674;POINT (-39.437786 -3.137227)'))) / (select extract(epoch from '2026-07-10 21:32:43'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.437821 -3.137306)', '2026-07-10 21:32:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437786 -3.137227)'), GeomFromEWKT('SRID=4674;POINT (-39.437821 -3.137306)'))) / (select extract(epoch from '2026-07-10 21:32:47'::timestamp) - extract(epoch from '2026-07-10 21:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437786 -3.137227)'), GeomFromEWKT('SRID=4674;POINT (-39.437821 -3.137306)'))) / (select extract(epoch from '2026-07-10 21:32:47'::timestamp) - extract(epoch from '2026-07-10 21:32: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'), 47986, 'SRID=4674;POINT (-39.437832 -3.137346)', '2026-07-10 21:32:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437821 -3.137306)'), GeomFromEWKT('SRID=4674;POINT (-39.437832 -3.137346)'))) / (select extract(epoch from '2026-07-10 21:32:49'::timestamp) - extract(epoch from '2026-07-10 21:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437821 -3.137306)'), GeomFromEWKT('SRID=4674;POINT (-39.437832 -3.137346)'))) / (select extract(epoch from '2026-07-10 21:32:49'::timestamp) - extract(epoch from '2026-07-10 21:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.437889 -3.137478)', '2026-07-10 21:32:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437832 -3.137346)'), GeomFromEWKT('SRID=4674;POINT (-39.437889 -3.137478)'))) / (select extract(epoch from '2026-07-10 21:32:56'::timestamp) - extract(epoch from '2026-07-10 21:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437832 -3.137346)'), GeomFromEWKT('SRID=4674;POINT (-39.437889 -3.137478)'))) / (select extract(epoch from '2026-07-10 21:32:56'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.437925 -3.137555)', '2026-07-10 21:33:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437889 -3.137478)'), GeomFromEWKT('SRID=4674;POINT (-39.437925 -3.137555)'))) / (select extract(epoch from '2026-07-10 21:33:00'::timestamp) - extract(epoch from '2026-07-10 21:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437889 -3.137478)'), GeomFromEWKT('SRID=4674;POINT (-39.437925 -3.137555)'))) / (select extract(epoch from '2026-07-10 21:33:00'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.437975 -3.137645)', '2026-07-10 21:33:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437925 -3.137555)'), GeomFromEWKT('SRID=4674;POINT (-39.437975 -3.137645)'))) / (select extract(epoch from '2026-07-10 21:33:05'::timestamp) - extract(epoch from '2026-07-10 21:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437925 -3.137555)'), GeomFromEWKT('SRID=4674;POINT (-39.437975 -3.137645)'))) / (select extract(epoch from '2026-07-10 21:33:05'::timestamp) - extract(epoch from '2026-07-10 21:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.438027 -3.137797)', '2026-07-10 21:33:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437975 -3.137645)'), GeomFromEWKT('SRID=4674;POINT (-39.438027 -3.137797)'))) / (select extract(epoch from '2026-07-10 21:33:13'::timestamp) - extract(epoch from '2026-07-10 21:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.437975 -3.137645)'), GeomFromEWKT('SRID=4674;POINT (-39.438027 -3.137797)'))) / (select extract(epoch from '2026-07-10 21:33:13'::timestamp) - extract(epoch from '2026-07-10 21:33: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'), 47986, 'SRID=4674;POINT (-39.438053 -3.137927)', '2026-07-10 21:33:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438027 -3.137797)'), GeomFromEWKT('SRID=4674;POINT (-39.438053 -3.137927)'))) / (select extract(epoch from '2026-07-10 21:33:20'::timestamp) - extract(epoch from '2026-07-10 21:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438027 -3.137797)'), GeomFromEWKT('SRID=4674;POINT (-39.438053 -3.137927)'))) / (select extract(epoch from '2026-07-10 21:33:20'::timestamp) - extract(epoch from '2026-07-10 21:33: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'), 47986, 'SRID=4674;POINT (-39.438098 -3.138048)', '2026-07-10 21:33:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438053 -3.137927)'), GeomFromEWKT('SRID=4674;POINT (-39.438098 -3.138048)'))) / (select extract(epoch from '2026-07-10 21:33:27'::timestamp) - extract(epoch from '2026-07-10 21:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438053 -3.137927)'), GeomFromEWKT('SRID=4674;POINT (-39.438098 -3.138048)'))) / (select extract(epoch from '2026-07-10 21:33:27'::timestamp) - extract(epoch from '2026-07-10 21:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.438157 -3.138169)', '2026-07-10 21:33:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438098 -3.138048)'), GeomFromEWKT('SRID=4674;POINT (-39.438157 -3.138169)'))) / (select extract(epoch from '2026-07-10 21:33:34'::timestamp) - extract(epoch from '2026-07-10 21:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438098 -3.138048)'), GeomFromEWKT('SRID=4674;POINT (-39.438157 -3.138169)'))) / (select extract(epoch from '2026-07-10 21:33:34'::timestamp) - extract(epoch from '2026-07-10 21:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.43821 -3.138286)', '2026-07-10 21:33:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438157 -3.138169)'), GeomFromEWKT('SRID=4674;POINT (-39.43821 -3.138286)'))) / (select extract(epoch from '2026-07-10 21:33:41'::timestamp) - extract(epoch from '2026-07-10 21:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438157 -3.138169)'), GeomFromEWKT('SRID=4674;POINT (-39.43821 -3.138286)'))) / (select extract(epoch from '2026-07-10 21:33:41'::timestamp) - extract(epoch from '2026-07-10 21:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.438265 -3.138412)', '2026-07-10 21:33:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43821 -3.138286)'), GeomFromEWKT('SRID=4674;POINT (-39.438265 -3.138412)'))) / (select extract(epoch from '2026-07-10 21:33:48'::timestamp) - extract(epoch from '2026-07-10 21:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43821 -3.138286)'), GeomFromEWKT('SRID=4674;POINT (-39.438265 -3.138412)'))) / (select extract(epoch from '2026-07-10 21:33:48'::timestamp) - extract(epoch from '2026-07-10 21:33:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.438324 -3.138563)', '2026-07-10 21:33:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438265 -3.138412)'), GeomFromEWKT('SRID=4674;POINT (-39.438324 -3.138563)'))) / (select extract(epoch from '2026-07-10 21:33:55'::timestamp) - extract(epoch from '2026-07-10 21:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438265 -3.138412)'), GeomFromEWKT('SRID=4674;POINT (-39.438324 -3.138563)'))) / (select extract(epoch from '2026-07-10 21:33:55'::timestamp) - extract(epoch from '2026-07-10 21:33: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'), 47986, 'SRID=4674;POINT (-39.438374 -3.138686)', '2026-07-10 21:34:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438324 -3.138563)'), GeomFromEWKT('SRID=4674;POINT (-39.438374 -3.138686)'))) / (select extract(epoch from '2026-07-10 21:34:01'::timestamp) - extract(epoch from '2026-07-10 21:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438324 -3.138563)'), GeomFromEWKT('SRID=4674;POINT (-39.438374 -3.138686)'))) / (select extract(epoch from '2026-07-10 21:34:01'::timestamp) - extract(epoch from '2026-07-10 21:33: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'), 47986, 'SRID=4674;POINT (-39.438446 -3.138856)', '2026-07-10 21:34:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438374 -3.138686)'), GeomFromEWKT('SRID=4674;POINT (-39.438446 -3.138856)'))) / (select extract(epoch from '2026-07-10 21:34:09'::timestamp) - extract(epoch from '2026-07-10 21:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438374 -3.138686)'), GeomFromEWKT('SRID=4674;POINT (-39.438446 -3.138856)'))) / (select extract(epoch from '2026-07-10 21:34:09'::timestamp) - extract(epoch from '2026-07-10 21:34: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'), 47986, 'SRID=4674;POINT (-39.438507 -3.13901)', '2026-07-10 21:34:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438446 -3.138856)'), GeomFromEWKT('SRID=4674;POINT (-39.438507 -3.13901)'))) / (select extract(epoch from '2026-07-10 21:34:17'::timestamp) - extract(epoch from '2026-07-10 21:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438446 -3.138856)'), GeomFromEWKT('SRID=4674;POINT (-39.438507 -3.13901)'))) / (select extract(epoch from '2026-07-10 21:34:17'::timestamp) - extract(epoch from '2026-07-10 21:34: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'), 47986, 'SRID=4674;POINT (-39.438569 -3.139186)', '2026-07-10 21:34:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438507 -3.13901)'), GeomFromEWKT('SRID=4674;POINT (-39.438569 -3.139186)'))) / (select extract(epoch from '2026-07-10 21:34:26'::timestamp) - extract(epoch from '2026-07-10 21:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438507 -3.13901)'), GeomFromEWKT('SRID=4674;POINT (-39.438569 -3.139186)'))) / (select extract(epoch from '2026-07-10 21:34:26'::timestamp) - extract(epoch from '2026-07-10 21:34: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'), 47986, 'SRID=4674;POINT (-39.438613 -3.139285)', '2026-07-10 21:34:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438569 -3.139186)'), GeomFromEWKT('SRID=4674;POINT (-39.438613 -3.139285)'))) / (select extract(epoch from '2026-07-10 21:34:32'::timestamp) - extract(epoch from '2026-07-10 21:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438569 -3.139186)'), GeomFromEWKT('SRID=4674;POINT (-39.438613 -3.139285)'))) / (select extract(epoch from '2026-07-10 21:34:32'::timestamp) - extract(epoch from '2026-07-10 21:34: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'), 47986, 'SRID=4674;POINT (-39.438681 -3.139408)', '2026-07-10 21:34:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438613 -3.139285)'), GeomFromEWKT('SRID=4674;POINT (-39.438681 -3.139408)'))) / (select extract(epoch from '2026-07-10 21:34:38'::timestamp) - extract(epoch from '2026-07-10 21:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438613 -3.139285)'), GeomFromEWKT('SRID=4674;POINT (-39.438681 -3.139408)'))) / (select extract(epoch from '2026-07-10 21:34:38'::timestamp) - extract(epoch from '2026-07-10 21:34: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'), 47986, 'SRID=4674;POINT (-39.43877 -3.139566)', '2026-07-10 21:34:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438681 -3.139408)'), GeomFromEWKT('SRID=4674;POINT (-39.43877 -3.139566)'))) / (select extract(epoch from '2026-07-10 21:34:46'::timestamp) - extract(epoch from '2026-07-10 21:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438681 -3.139408)'), GeomFromEWKT('SRID=4674;POINT (-39.43877 -3.139566)'))) / (select extract(epoch from '2026-07-10 21:34:46'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.438777 -3.139583)', '2026-07-10 21:34:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43877 -3.139566)'), GeomFromEWKT('SRID=4674;POINT (-39.438777 -3.139583)'))) / (select extract(epoch from '2026-07-10 21:34:47'::timestamp) - extract(epoch from '2026-07-10 21:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43877 -3.139566)'), GeomFromEWKT('SRID=4674;POINT (-39.438777 -3.139583)'))) / (select extract(epoch from '2026-07-10 21:34:47'::timestamp) - extract(epoch from '2026-07-10 21:34: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'), 47986, 'SRID=4674;POINT (-39.438831 -3.139712)', '2026-07-10 21:34:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438777 -3.139583)'), GeomFromEWKT('SRID=4674;POINT (-39.438831 -3.139712)'))) / (select extract(epoch from '2026-07-10 21:34:54'::timestamp) - extract(epoch from '2026-07-10 21:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438777 -3.139583)'), GeomFromEWKT('SRID=4674;POINT (-39.438831 -3.139712)'))) / (select extract(epoch from '2026-07-10 21:34:54'::timestamp) - extract(epoch from '2026-07-10 21:34: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'), 47986, 'SRID=4674;POINT (-39.438888 -3.139846)', '2026-07-10 21:35:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438831 -3.139712)'), GeomFromEWKT('SRID=4674;POINT (-39.438888 -3.139846)'))) / (select extract(epoch from '2026-07-10 21:35:01'::timestamp) - extract(epoch from '2026-07-10 21:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438831 -3.139712)'), GeomFromEWKT('SRID=4674;POINT (-39.438888 -3.139846)'))) / (select extract(epoch from '2026-07-10 21:35:01'::timestamp) - extract(epoch from '2026-07-10 21:34: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'), 47986, 'SRID=4674;POINT (-39.438935 -3.139986)', '2026-07-10 21:35:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438888 -3.139846)'), GeomFromEWKT('SRID=4674;POINT (-39.438935 -3.139986)'))) / (select extract(epoch from '2026-07-10 21:35:08'::timestamp) - extract(epoch from '2026-07-10 21:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438888 -3.139846)'), GeomFromEWKT('SRID=4674;POINT (-39.438935 -3.139986)'))) / (select extract(epoch from '2026-07-10 21:35:08'::timestamp) - extract(epoch from '2026-07-10 21:35: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'), 47986, 'SRID=4674;POINT (-39.438974 -3.140095)', '2026-07-10 21:35:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438935 -3.139986)'), GeomFromEWKT('SRID=4674;POINT (-39.438974 -3.140095)'))) / (select extract(epoch from '2026-07-10 21:35:14'::timestamp) - extract(epoch from '2026-07-10 21:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438935 -3.139986)'), GeomFromEWKT('SRID=4674;POINT (-39.438974 -3.140095)'))) / (select extract(epoch from '2026-07-10 21:35:14'::timestamp) - extract(epoch from '2026-07-10 21:35: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'), 47986, 'SRID=4674;POINT (-39.439023 -3.14021)', '2026-07-10 21:35:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438974 -3.140095)'), GeomFromEWKT('SRID=4674;POINT (-39.439023 -3.14021)'))) / (select extract(epoch from '2026-07-10 21:35:20'::timestamp) - extract(epoch from '2026-07-10 21:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.438974 -3.140095)'), GeomFromEWKT('SRID=4674;POINT (-39.439023 -3.14021)'))) / (select extract(epoch from '2026-07-10 21:35:20'::timestamp) - extract(epoch from '2026-07-10 21:35: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'), 47986, 'SRID=4674;POINT (-39.439032 -3.140227)', '2026-07-10 21:35:21', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439023 -3.14021)'), GeomFromEWKT('SRID=4674;POINT (-39.439032 -3.140227)'))) / (select extract(epoch from '2026-07-10 21:35:21'::timestamp) - extract(epoch from '2026-07-10 21:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439023 -3.14021)'), GeomFromEWKT('SRID=4674;POINT (-39.439032 -3.140227)'))) / (select extract(epoch from '2026-07-10 21:35:21'::timestamp) - extract(epoch from '2026-07-10 21:35: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'), 47986, 'SRID=4674;POINT (-39.439087 -3.140384)', '2026-07-10 21:35:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439032 -3.140227)'), GeomFromEWKT('SRID=4674;POINT (-39.439087 -3.140384)'))) / (select extract(epoch from '2026-07-10 21:35:29'::timestamp) - extract(epoch from '2026-07-10 21:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439032 -3.140227)'), GeomFromEWKT('SRID=4674;POINT (-39.439087 -3.140384)'))) / (select extract(epoch from '2026-07-10 21:35:29'::timestamp) - extract(epoch from '2026-07-10 21:35: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'), 47986, 'SRID=4674;POINT (-39.439168 -3.140535)', '2026-07-10 21:35:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439087 -3.140384)'), GeomFromEWKT('SRID=4674;POINT (-39.439168 -3.140535)'))) / (select extract(epoch from '2026-07-10 21:35:36'::timestamp) - extract(epoch from '2026-07-10 21:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439087 -3.140384)'), GeomFromEWKT('SRID=4674;POINT (-39.439168 -3.140535)'))) / (select extract(epoch from '2026-07-10 21:35:36'::timestamp) - extract(epoch from '2026-07-10 21:35: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'), 47986, 'SRID=4674;POINT (-39.439211 -3.140667)', '2026-07-10 21:35:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439168 -3.140535)'), GeomFromEWKT('SRID=4674;POINT (-39.439211 -3.140667)'))) / (select extract(epoch from '2026-07-10 21:35:42'::timestamp) - extract(epoch from '2026-07-10 21:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439168 -3.140535)'), GeomFromEWKT('SRID=4674;POINT (-39.439211 -3.140667)'))) / (select extract(epoch from '2026-07-10 21:35:42'::timestamp) - extract(epoch from '2026-07-10 21:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47986, 'SRID=4674;POINT (-39.43927 -3.140808)', '2026-07-10 21:35:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439211 -3.140667)'), GeomFromEWKT('SRID=4674;POINT (-39.43927 -3.140808)'))) / (select extract(epoch from '2026-07-10 21:35:48'::timestamp) - extract(epoch from '2026-07-10 21:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439211 -3.140667)'), GeomFromEWKT('SRID=4674;POINT (-39.43927 -3.140808)'))) / (select extract(epoch from '2026-07-10 21:35:48'::timestamp) - extract(epoch from '2026-07-10 21:35: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'), 47986, 'SRID=4674;POINT (-39.439313 -3.140925)', '2026-07-10 21:35:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43927 -3.140808)'), GeomFromEWKT('SRID=4674;POINT (-39.439313 -3.140925)'))) / (select extract(epoch from '2026-07-10 21:35:54'::timestamp) - extract(epoch from '2026-07-10 21:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43927 -3.140808)'), GeomFromEWKT('SRID=4674;POINT (-39.439313 -3.140925)'))) / (select extract(epoch from '2026-07-10 21:35:54'::timestamp) - extract(epoch from '2026-07-10 21:35: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'), 47986, 'SRID=4674;POINT (-39.43937 -3.141063)', '2026-07-10 21:36:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439313 -3.140925)'), GeomFromEWKT('SRID=4674;POINT (-39.43937 -3.141063)'))) / (select extract(epoch from '2026-07-10 21:36:01'::timestamp) - extract(epoch from '2026-07-10 21:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439313 -3.140925)'), GeomFromEWKT('SRID=4674;POINT (-39.43937 -3.141063)'))) / (select extract(epoch from '2026-07-10 21:36:01'::timestamp) - extract(epoch from '2026-07-10 21:35: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'), 47986, 'SRID=4674;POINT (-39.439409 -3.141156)', '2026-07-10 21:36:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43937 -3.141063)'), GeomFromEWKT('SRID=4674;POINT (-39.439409 -3.141156)'))) / (select extract(epoch from '2026-07-10 21:36:06'::timestamp) - extract(epoch from '2026-07-10 21:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.43937 -3.141063)'), GeomFromEWKT('SRID=4674;POINT (-39.439409 -3.141156)'))) / (select extract(epoch from '2026-07-10 21:36:06'::timestamp) - extract(epoch from '2026-07-10 21: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'), 47986, 'SRID=4674;POINT (-39.439459 -3.141289)', '2026-07-10 21:36:13', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439409 -3.141156)'), GeomFromEWKT('SRID=4674;POINT (-39.439459 -3.141289)'))) / (select extract(epoch from '2026-07-10 21:36:13'::timestamp) - extract(epoch from '2026-07-10 21:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439409 -3.141156)'), GeomFromEWKT('SRID=4674;POINT (-39.439459 -3.141289)'))) / (select extract(epoch from '2026-07-10 21:36:13'::timestamp) - extract(epoch from '2026-07-10 21:36: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'), 47986, 'SRID=4674;POINT (-39.439495 -3.141367)', '2026-07-10 21:36:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439459 -3.141289)'), GeomFromEWKT('SRID=4674;POINT (-39.439495 -3.141367)'))) / (select extract(epoch from '2026-07-10 21:36:17'::timestamp) - extract(epoch from '2026-07-10 21:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439459 -3.141289)'), GeomFromEWKT('SRID=4674;POINT (-39.439495 -3.141367)'))) / (select extract(epoch from '2026-07-10 21:36:17'::timestamp) - extract(epoch from '2026-07-10 21:36: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'), 47986, 'SRID=4674;POINT (-39.439526 -3.141463)', '2026-07-10 21:36:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439495 -3.141367)'), GeomFromEWKT('SRID=4674;POINT (-39.439526 -3.141463)'))) / (select extract(epoch from '2026-07-10 21:36:22'::timestamp) - extract(epoch from '2026-07-10 21:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.439495 -3.141367)'), GeomFromEWKT('SRID=4674;POINT (-39.439526 -3.141463)'))) / (select extract(epoch from '2026-07-10 21:36:22'::timestamp) - extract(epoch from '2026-07-10 21:36:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
