 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771107 -2.629487)', '2026-07-22 14:36:15', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771195 -2.629384)'), GeomFromEWKT('SRID=4674;POINT (-39.771107 -2.629487)'))) / (select extract(epoch from '2026-07-22 14:36:15'::timestamp) - extract(epoch from '2026-07-22 14:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771195 -2.629384)'), GeomFromEWKT('SRID=4674;POINT (-39.771107 -2.629487)'))) / (select extract(epoch from '2026-07-22 14:36:15'::timestamp) - extract(epoch from '2026-07-22 14:36:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771027 -2.629533)', '2026-07-22 14:36:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771107 -2.629487)'), GeomFromEWKT('SRID=4674;POINT (-39.771027 -2.629533)'))) / (select extract(epoch from '2026-07-22 14:36:21'::timestamp) - extract(epoch from '2026-07-22 14:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771107 -2.629487)'), GeomFromEWKT('SRID=4674;POINT (-39.771027 -2.629533)'))) / (select extract(epoch from '2026-07-22 14:36:21'::timestamp) - extract(epoch from '2026-07-22 14:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770939 -2.629532)', '2026-07-22 14:36:28', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771027 -2.629533)'), GeomFromEWKT('SRID=4674;POINT (-39.770939 -2.629532)'))) / (select extract(epoch from '2026-07-22 14:36:28'::timestamp) - extract(epoch from '2026-07-22 14:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771027 -2.629533)'), GeomFromEWKT('SRID=4674;POINT (-39.770939 -2.629532)'))) / (select extract(epoch from '2026-07-22 14:36:28'::timestamp) - extract(epoch from '2026-07-22 14:36: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'), 47870, 'SRID=4674;POINT (-39.77088 -2.629515)', '2026-07-22 14:36:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770939 -2.629532)'), GeomFromEWKT('SRID=4674;POINT (-39.77088 -2.629515)'))) / (select extract(epoch from '2026-07-22 14:36:34'::timestamp) - extract(epoch from '2026-07-22 14:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770939 -2.629532)'), GeomFromEWKT('SRID=4674;POINT (-39.77088 -2.629515)'))) / (select extract(epoch from '2026-07-22 14:36:34'::timestamp) - extract(epoch from '2026-07-22 14:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770846 -2.629498)', '2026-07-22 14:36:40', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77088 -2.629515)'), GeomFromEWKT('SRID=4674;POINT (-39.770846 -2.629498)'))) / (select extract(epoch from '2026-07-22 14:36:40'::timestamp) - extract(epoch from '2026-07-22 14:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77088 -2.629515)'), GeomFromEWKT('SRID=4674;POINT (-39.770846 -2.629498)'))) / (select extract(epoch from '2026-07-22 14:36:40'::timestamp) - extract(epoch from '2026-07-22 14:36: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'), 47870, 'SRID=4674;POINT (-39.770831 -2.629456)', '2026-07-22 14:36:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770846 -2.629498)'), GeomFromEWKT('SRID=4674;POINT (-39.770831 -2.629456)'))) / (select extract(epoch from '2026-07-22 14:36:47'::timestamp) - extract(epoch from '2026-07-22 14:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770846 -2.629498)'), GeomFromEWKT('SRID=4674;POINT (-39.770831 -2.629456)'))) / (select extract(epoch from '2026-07-22 14:36:47'::timestamp) - extract(epoch from '2026-07-22 14:36: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'), 47870, 'SRID=4674;POINT (-39.770858 -2.629407)', '2026-07-22 14:36:54', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770831 -2.629456)'), GeomFromEWKT('SRID=4674;POINT (-39.770858 -2.629407)'))) / (select extract(epoch from '2026-07-22 14:36:54'::timestamp) - extract(epoch from '2026-07-22 14:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770831 -2.629456)'), GeomFromEWKT('SRID=4674;POINT (-39.770858 -2.629407)'))) / (select extract(epoch from '2026-07-22 14:36:54'::timestamp) - extract(epoch from '2026-07-22 14:36: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'), 47870, 'SRID=4674;POINT (-39.770872 -2.629365)', '2026-07-22 14:37:00', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770858 -2.629407)'), GeomFromEWKT('SRID=4674;POINT (-39.770872 -2.629365)'))) / (select extract(epoch from '2026-07-22 14:37:00'::timestamp) - extract(epoch from '2026-07-22 14:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770858 -2.629407)'), GeomFromEWKT('SRID=4674;POINT (-39.770872 -2.629365)'))) / (select extract(epoch from '2026-07-22 14:37:00'::timestamp) - extract(epoch from '2026-07-22 14:36: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'), 47870, 'SRID=4674;POINT (-39.770884 -2.629347)', '2026-07-22 14:37:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770872 -2.629365)'), GeomFromEWKT('SRID=4674;POINT (-39.770884 -2.629347)'))) / (select extract(epoch from '2026-07-22 14:37:03'::timestamp) - extract(epoch from '2026-07-22 14:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770872 -2.629365)'), GeomFromEWKT('SRID=4674;POINT (-39.770884 -2.629347)'))) / (select extract(epoch from '2026-07-22 14:37:03'::timestamp) - extract(epoch from '2026-07-22 14:37:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770897 -2.629318)', '2026-07-22 14:37:07', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770884 -2.629347)'), GeomFromEWKT('SRID=4674;POINT (-39.770897 -2.629318)'))) / (select extract(epoch from '2026-07-22 14:37:07'::timestamp) - extract(epoch from '2026-07-22 14:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770884 -2.629347)'), GeomFromEWKT('SRID=4674;POINT (-39.770897 -2.629318)'))) / (select extract(epoch from '2026-07-22 14:37:07'::timestamp) - extract(epoch from '2026-07-22 14:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770921 -2.629301)', '2026-07-22 14:37:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770897 -2.629318)'), GeomFromEWKT('SRID=4674;POINT (-39.770921 -2.629301)'))) / (select extract(epoch from '2026-07-22 14:37:10'::timestamp) - extract(epoch from '2026-07-22 14:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770897 -2.629318)'), GeomFromEWKT('SRID=4674;POINT (-39.770921 -2.629301)'))) / (select extract(epoch from '2026-07-22 14:37:10'::timestamp) - extract(epoch from '2026-07-22 14:37: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'), 47870, 'SRID=4674;POINT (-39.770933 -2.629281)', '2026-07-22 14:37:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770921 -2.629301)'), GeomFromEWKT('SRID=4674;POINT (-39.770933 -2.629281)'))) / (select extract(epoch from '2026-07-22 14:37:16'::timestamp) - extract(epoch from '2026-07-22 14:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770921 -2.629301)'), GeomFromEWKT('SRID=4674;POINT (-39.770933 -2.629281)'))) / (select extract(epoch from '2026-07-22 14:37:16'::timestamp) - extract(epoch from '2026-07-22 14:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770952 -2.629263)', '2026-07-22 14:37:19', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770933 -2.629281)'), GeomFromEWKT('SRID=4674;POINT (-39.770952 -2.629263)'))) / (select extract(epoch from '2026-07-22 14:37:19'::timestamp) - extract(epoch from '2026-07-22 14:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770933 -2.629281)'), GeomFromEWKT('SRID=4674;POINT (-39.770952 -2.629263)'))) / (select extract(epoch from '2026-07-22 14:37:19'::timestamp) - extract(epoch from '2026-07-22 14:37: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'), 47870, 'SRID=4674;POINT (-39.770965 -2.629253)', '2026-07-22 14:37:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770952 -2.629263)'), GeomFromEWKT('SRID=4674;POINT (-39.770965 -2.629253)'))) / (select extract(epoch from '2026-07-22 14:37:21'::timestamp) - extract(epoch from '2026-07-22 14:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770952 -2.629263)'), GeomFromEWKT('SRID=4674;POINT (-39.770965 -2.629253)'))) / (select extract(epoch from '2026-07-22 14:37:21'::timestamp) - extract(epoch from '2026-07-22 14:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770974 -2.629246)', '2026-07-22 14:37:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770965 -2.629253)'), GeomFromEWKT('SRID=4674;POINT (-39.770974 -2.629246)'))) / (select extract(epoch from '2026-07-22 14:37:22'::timestamp) - extract(epoch from '2026-07-22 14:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770965 -2.629253)'), GeomFromEWKT('SRID=4674;POINT (-39.770974 -2.629246)'))) / (select extract(epoch from '2026-07-22 14:37:22'::timestamp) - extract(epoch from '2026-07-22 14:37: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'), 47870, 'SRID=4674;POINT (-39.770994 -2.629225)', '2026-07-22 14:37:26', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770974 -2.629246)'), GeomFromEWKT('SRID=4674;POINT (-39.770994 -2.629225)'))) / (select extract(epoch from '2026-07-22 14:37:26'::timestamp) - extract(epoch from '2026-07-22 14:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770974 -2.629246)'), GeomFromEWKT('SRID=4674;POINT (-39.770994 -2.629225)'))) / (select extract(epoch from '2026-07-22 14:37:26'::timestamp) - extract(epoch from '2026-07-22 14:37: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'), 47870, 'SRID=4674;POINT (-39.771002 -2.629187)', '2026-07-22 14:37:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770994 -2.629225)'), GeomFromEWKT('SRID=4674;POINT (-39.771002 -2.629187)'))) / (select extract(epoch from '2026-07-22 14:37:32'::timestamp) - extract(epoch from '2026-07-22 14:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770994 -2.629225)'), GeomFromEWKT('SRID=4674;POINT (-39.771002 -2.629187)'))) / (select extract(epoch from '2026-07-22 14:37:32'::timestamp) - extract(epoch from '2026-07-22 14:37: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'), 47870, 'SRID=4674;POINT (-39.771034 -2.629149)', '2026-07-22 14:37:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771002 -2.629187)'), GeomFromEWKT('SRID=4674;POINT (-39.771034 -2.629149)'))) / (select extract(epoch from '2026-07-22 14:37:41'::timestamp) - extract(epoch from '2026-07-22 14:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771002 -2.629187)'), GeomFromEWKT('SRID=4674;POINT (-39.771034 -2.629149)'))) / (select extract(epoch from '2026-07-22 14:37:41'::timestamp) - extract(epoch from '2026-07-22 14:37: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'), 47870, 'SRID=4674;POINT (-39.771066 -2.629122)', '2026-07-22 14:37:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771034 -2.629149)'), GeomFromEWKT('SRID=4674;POINT (-39.771066 -2.629122)'))) / (select extract(epoch from '2026-07-22 14:37:46'::timestamp) - extract(epoch from '2026-07-22 14:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771034 -2.629149)'), GeomFromEWKT('SRID=4674;POINT (-39.771066 -2.629122)'))) / (select extract(epoch from '2026-07-22 14:37:46'::timestamp) - extract(epoch from '2026-07-22 14:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771086 -2.629087)', '2026-07-22 14:37:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771066 -2.629122)'), GeomFromEWKT('SRID=4674;POINT (-39.771086 -2.629087)'))) / (select extract(epoch from '2026-07-22 14:37:55'::timestamp) - extract(epoch from '2026-07-22 14:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771066 -2.629122)'), GeomFromEWKT('SRID=4674;POINT (-39.771086 -2.629087)'))) / (select extract(epoch from '2026-07-22 14:37:55'::timestamp) - extract(epoch from '2026-07-22 14:37: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'), 47870, 'SRID=4674;POINT (-39.77108 -2.629065)', '2026-07-22 14:38:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771086 -2.629087)'), GeomFromEWKT('SRID=4674;POINT (-39.77108 -2.629065)'))) / (select extract(epoch from '2026-07-22 14:38:02'::timestamp) - extract(epoch from '2026-07-22 14:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771086 -2.629087)'), GeomFromEWKT('SRID=4674;POINT (-39.77108 -2.629065)'))) / (select extract(epoch from '2026-07-22 14:38:02'::timestamp) - extract(epoch from '2026-07-22 14:37: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'), 47870, 'SRID=4674;POINT (-39.771085 -2.629083)', '2026-07-22 14:38:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77108 -2.629065)'), GeomFromEWKT('SRID=4674;POINT (-39.771085 -2.629083)'))) / (select extract(epoch from '2026-07-22 14:38:22'::timestamp) - extract(epoch from '2026-07-22 14:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77108 -2.629065)'), GeomFromEWKT('SRID=4674;POINT (-39.771085 -2.629083)'))) / (select extract(epoch from '2026-07-22 14:38:22'::timestamp) - extract(epoch from '2026-07-22 14:38: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'), 47870, 'SRID=4674;POINT (-39.771114 -2.629107)', '2026-07-22 14:38:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771085 -2.629083)'), GeomFromEWKT('SRID=4674;POINT (-39.771114 -2.629107)'))) / (select extract(epoch from '2026-07-22 14:38:32'::timestamp) - extract(epoch from '2026-07-22 14:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771085 -2.629083)'), GeomFromEWKT('SRID=4674;POINT (-39.771114 -2.629107)'))) / (select extract(epoch from '2026-07-22 14:38:32'::timestamp) - extract(epoch from '2026-07-22 14:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771136 -2.629117)', '2026-07-22 14:38:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771114 -2.629107)'), GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.629117)'))) / (select extract(epoch from '2026-07-22 14:38:39'::timestamp) - extract(epoch from '2026-07-22 14:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771114 -2.629107)'), GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.629117)'))) / (select extract(epoch from '2026-07-22 14:38:39'::timestamp) - extract(epoch from '2026-07-22 14:38:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771194 -2.629103)', '2026-07-22 14:38:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.629117)'), GeomFromEWKT('SRID=4674;POINT (-39.771194 -2.629103)'))) / (select extract(epoch from '2026-07-22 14:38:57'::timestamp) - extract(epoch from '2026-07-22 14:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.629117)'), GeomFromEWKT('SRID=4674;POINT (-39.771194 -2.629103)'))) / (select extract(epoch from '2026-07-22 14:38:57'::timestamp) - extract(epoch from '2026-07-22 14:38: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'), 47870, 'SRID=4674;POINT (-39.771223 -2.629086)', '2026-07-22 14:39:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771194 -2.629103)'), GeomFromEWKT('SRID=4674;POINT (-39.771223 -2.629086)'))) / (select extract(epoch from '2026-07-22 14:39:04'::timestamp) - extract(epoch from '2026-07-22 14:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771194 -2.629103)'), GeomFromEWKT('SRID=4674;POINT (-39.771223 -2.629086)'))) / (select extract(epoch from '2026-07-22 14:39:04'::timestamp) - extract(epoch from '2026-07-22 14:38: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'), 47870, 'SRID=4674;POINT (-39.771254 -2.629049)', '2026-07-22 14:39:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771223 -2.629086)'), GeomFromEWKT('SRID=4674;POINT (-39.771254 -2.629049)'))) / (select extract(epoch from '2026-07-22 14:39:14'::timestamp) - extract(epoch from '2026-07-22 14:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771223 -2.629086)'), GeomFromEWKT('SRID=4674;POINT (-39.771254 -2.629049)'))) / (select extract(epoch from '2026-07-22 14:39:14'::timestamp) - extract(epoch from '2026-07-22 14:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771263 -2.629018)', '2026-07-22 14:39:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771254 -2.629049)'), GeomFromEWKT('SRID=4674;POINT (-39.771263 -2.629018)'))) / (select extract(epoch from '2026-07-22 14:39:23'::timestamp) - extract(epoch from '2026-07-22 14:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771254 -2.629049)'), GeomFromEWKT('SRID=4674;POINT (-39.771263 -2.629018)'))) / (select extract(epoch from '2026-07-22 14:39:23'::timestamp) - extract(epoch from '2026-07-22 14:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771262 -2.628992)', '2026-07-22 14:39:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771263 -2.629018)'), GeomFromEWKT('SRID=4674;POINT (-39.771262 -2.628992)'))) / (select extract(epoch from '2026-07-22 14:39:33'::timestamp) - extract(epoch from '2026-07-22 14:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771263 -2.629018)'), GeomFromEWKT('SRID=4674;POINT (-39.771262 -2.628992)'))) / (select extract(epoch from '2026-07-22 14:39:33'::timestamp) - extract(epoch from '2026-07-22 14:39:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771232 -2.62895)', '2026-07-22 14:39:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771262 -2.628992)'), GeomFromEWKT('SRID=4674;POINT (-39.771232 -2.62895)'))) / (select extract(epoch from '2026-07-22 14:39:54'::timestamp) - extract(epoch from '2026-07-22 14:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771262 -2.628992)'), GeomFromEWKT('SRID=4674;POINT (-39.771232 -2.62895)'))) / (select extract(epoch from '2026-07-22 14:39:54'::timestamp) - extract(epoch from '2026-07-22 14:39: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'), 47870, 'SRID=4674;POINT (-39.771265 -2.628942)', '2026-07-22 14:40:06', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771232 -2.62895)'), GeomFromEWKT('SRID=4674;POINT (-39.771265 -2.628942)'))) / (select extract(epoch from '2026-07-22 14:40:06'::timestamp) - extract(epoch from '2026-07-22 14:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771232 -2.62895)'), GeomFromEWKT('SRID=4674;POINT (-39.771265 -2.628942)'))) / (select extract(epoch from '2026-07-22 14:40:06'::timestamp) - extract(epoch from '2026-07-22 14:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771286 -2.628927)', '2026-07-22 14:40:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771265 -2.628942)'), GeomFromEWKT('SRID=4674;POINT (-39.771286 -2.628927)'))) / (select extract(epoch from '2026-07-22 14:40:13'::timestamp) - extract(epoch from '2026-07-22 14:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771265 -2.628942)'), GeomFromEWKT('SRID=4674;POINT (-39.771286 -2.628927)'))) / (select extract(epoch from '2026-07-22 14:40:13'::timestamp) - extract(epoch from '2026-07-22 14:40: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'), 47870, 'SRID=4674;POINT (-39.771286 -2.628906)', '2026-07-22 14:40:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771286 -2.628927)'), GeomFromEWKT('SRID=4674;POINT (-39.771286 -2.628906)'))) / (select extract(epoch from '2026-07-22 14:40:21'::timestamp) - extract(epoch from '2026-07-22 14:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771286 -2.628927)'), GeomFromEWKT('SRID=4674;POINT (-39.771286 -2.628906)'))) / (select extract(epoch from '2026-07-22 14:40:21'::timestamp) - extract(epoch from '2026-07-22 14:40:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771276 -2.628909)', '2026-07-22 14:40:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771286 -2.628906)'), GeomFromEWKT('SRID=4674;POINT (-39.771276 -2.628909)'))) / (select extract(epoch from '2026-07-22 14:40:27'::timestamp) - extract(epoch from '2026-07-22 14:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771286 -2.628906)'), GeomFromEWKT('SRID=4674;POINT (-39.771276 -2.628909)'))) / (select extract(epoch from '2026-07-22 14:40:27'::timestamp) - extract(epoch from '2026-07-22 14:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771224 -2.628974)', '2026-07-22 14:40:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771276 -2.628909)'), GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.628974)'))) / (select extract(epoch from '2026-07-22 14:40:35'::timestamp) - extract(epoch from '2026-07-22 14:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771276 -2.628909)'), GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.628974)'))) / (select extract(epoch from '2026-07-22 14:40:35'::timestamp) - extract(epoch from '2026-07-22 14:40: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'), 47870, 'SRID=4674;POINT (-39.771212 -2.629048)', '2026-07-22 14:40:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.628974)'), GeomFromEWKT('SRID=4674;POINT (-39.771212 -2.629048)'))) / (select extract(epoch from '2026-07-22 14:40:41'::timestamp) - extract(epoch from '2026-07-22 14:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.628974)'), GeomFromEWKT('SRID=4674;POINT (-39.771212 -2.629048)'))) / (select extract(epoch from '2026-07-22 14:40:41'::timestamp) - extract(epoch from '2026-07-22 14:40: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'), 47870, 'SRID=4674;POINT (-39.77122 -2.629157)', '2026-07-22 14:40:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771212 -2.629048)'), GeomFromEWKT('SRID=4674;POINT (-39.77122 -2.629157)'))) / (select extract(epoch from '2026-07-22 14:40:48'::timestamp) - extract(epoch from '2026-07-22 14:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771212 -2.629048)'), GeomFromEWKT('SRID=4674;POINT (-39.77122 -2.629157)'))) / (select extract(epoch from '2026-07-22 14:40:48'::timestamp) - extract(epoch from '2026-07-22 14:40: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'), 47870, 'SRID=4674;POINT (-39.771224 -2.629283)', '2026-07-22 14:40:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77122 -2.629157)'), GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.629283)'))) / (select extract(epoch from '2026-07-22 14:40:55'::timestamp) - extract(epoch from '2026-07-22 14:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77122 -2.629157)'), GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.629283)'))) / (select extract(epoch from '2026-07-22 14:40:55'::timestamp) - extract(epoch from '2026-07-22 14:40: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'), 47870, 'SRID=4674;POINT (-39.771221 -2.629398)', '2026-07-22 14:41:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.629283)'), GeomFromEWKT('SRID=4674;POINT (-39.771221 -2.629398)'))) / (select extract(epoch from '2026-07-22 14:41:01'::timestamp) - extract(epoch from '2026-07-22 14:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.629283)'), GeomFromEWKT('SRID=4674;POINT (-39.771221 -2.629398)'))) / (select extract(epoch from '2026-07-22 14:41:01'::timestamp) - extract(epoch from '2026-07-22 14:40: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'), 47870, 'SRID=4674;POINT (-39.771221 -2.629533)', '2026-07-22 14:41:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771221 -2.629398)'), GeomFromEWKT('SRID=4674;POINT (-39.771221 -2.629533)'))) / (select extract(epoch from '2026-07-22 14:41:08'::timestamp) - extract(epoch from '2026-07-22 14:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771221 -2.629398)'), GeomFromEWKT('SRID=4674;POINT (-39.771221 -2.629533)'))) / (select extract(epoch from '2026-07-22 14:41:08'::timestamp) - extract(epoch from '2026-07-22 14:41: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'), 47870, 'SRID=4674;POINT (-39.771208 -2.629675)', '2026-07-22 14:41:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771221 -2.629533)'), GeomFromEWKT('SRID=4674;POINT (-39.771208 -2.629675)'))) / (select extract(epoch from '2026-07-22 14:41:15'::timestamp) - extract(epoch from '2026-07-22 14:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771221 -2.629533)'), GeomFromEWKT('SRID=4674;POINT (-39.771208 -2.629675)'))) / (select extract(epoch from '2026-07-22 14:41:15'::timestamp) - extract(epoch from '2026-07-22 14:41: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'), 47870, 'SRID=4674;POINT (-39.771186 -2.6298)', '2026-07-22 14:41:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771208 -2.629675)'), GeomFromEWKT('SRID=4674;POINT (-39.771186 -2.6298)'))) / (select extract(epoch from '2026-07-22 14:41:21'::timestamp) - extract(epoch from '2026-07-22 14:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771208 -2.629675)'), GeomFromEWKT('SRID=4674;POINT (-39.771186 -2.6298)'))) / (select extract(epoch from '2026-07-22 14:41:21'::timestamp) - extract(epoch from '2026-07-22 14:41: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'), 47870, 'SRID=4674;POINT (-39.77118 -2.629924)', '2026-07-22 14:41:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771186 -2.6298)'), GeomFromEWKT('SRID=4674;POINT (-39.77118 -2.629924)'))) / (select extract(epoch from '2026-07-22 14:41:27'::timestamp) - extract(epoch from '2026-07-22 14:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771186 -2.6298)'), GeomFromEWKT('SRID=4674;POINT (-39.77118 -2.629924)'))) / (select extract(epoch from '2026-07-22 14:41:27'::timestamp) - extract(epoch from '2026-07-22 14:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771175 -2.630013)', '2026-07-22 14:41:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77118 -2.629924)'), GeomFromEWKT('SRID=4674;POINT (-39.771175 -2.630013)'))) / (select extract(epoch from '2026-07-22 14:41:32'::timestamp) - extract(epoch from '2026-07-22 14:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77118 -2.629924)'), GeomFromEWKT('SRID=4674;POINT (-39.771175 -2.630013)'))) / (select extract(epoch from '2026-07-22 14:41:32'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.771154 -2.630117)', '2026-07-22 14:41:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771175 -2.630013)'), GeomFromEWKT('SRID=4674;POINT (-39.771154 -2.630117)'))) / (select extract(epoch from '2026-07-22 14:41:38'::timestamp) - extract(epoch from '2026-07-22 14:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771175 -2.630013)'), GeomFromEWKT('SRID=4674;POINT (-39.771154 -2.630117)'))) / (select extract(epoch from '2026-07-22 14:41:38'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.771148 -2.630155)', '2026-07-22 14:41:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771154 -2.630117)'), GeomFromEWKT('SRID=4674;POINT (-39.771148 -2.630155)'))) / (select extract(epoch from '2026-07-22 14:41:40'::timestamp) - extract(epoch from '2026-07-22 14:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771154 -2.630117)'), GeomFromEWKT('SRID=4674;POINT (-39.771148 -2.630155)'))) / (select extract(epoch from '2026-07-22 14:41:40'::timestamp) - extract(epoch from '2026-07-22 14:41:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771136 -2.630212)', '2026-07-22 14:41:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771148 -2.630155)'), GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.630212)'))) / (select extract(epoch from '2026-07-22 14:41:43'::timestamp) - extract(epoch from '2026-07-22 14:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771148 -2.630155)'), GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.630212)'))) / (select extract(epoch from '2026-07-22 14:41:43'::timestamp) - extract(epoch from '2026-07-22 14:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771103 -2.630324)', '2026-07-22 14:41:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.630212)'), GeomFromEWKT('SRID=4674;POINT (-39.771103 -2.630324)'))) / (select extract(epoch from '2026-07-22 14:41:49'::timestamp) - extract(epoch from '2026-07-22 14:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.630212)'), GeomFromEWKT('SRID=4674;POINT (-39.771103 -2.630324)'))) / (select extract(epoch from '2026-07-22 14:41:49'::timestamp) - extract(epoch from '2026-07-22 14:41: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'), 47870, 'SRID=4674;POINT (-39.771073 -2.630434)', '2026-07-22 14:41:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771103 -2.630324)'), GeomFromEWKT('SRID=4674;POINT (-39.771073 -2.630434)'))) / (select extract(epoch from '2026-07-22 14:41:55'::timestamp) - extract(epoch from '2026-07-22 14:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771103 -2.630324)'), GeomFromEWKT('SRID=4674;POINT (-39.771073 -2.630434)'))) / (select extract(epoch from '2026-07-22 14:41:55'::timestamp) - extract(epoch from '2026-07-22 14:41: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'), 47870, 'SRID=4674;POINT (-39.771052 -2.630527)', '2026-07-22 14:42:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771073 -2.630434)'), GeomFromEWKT('SRID=4674;POINT (-39.771052 -2.630527)'))) / (select extract(epoch from '2026-07-22 14:42:00'::timestamp) - extract(epoch from '2026-07-22 14:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771073 -2.630434)'), GeomFromEWKT('SRID=4674;POINT (-39.771052 -2.630527)'))) / (select extract(epoch from '2026-07-22 14:42:00'::timestamp) - extract(epoch from '2026-07-22 14:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771041 -2.630586)', '2026-07-22 14:42:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771052 -2.630527)'), GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.630586)'))) / (select extract(epoch from '2026-07-22 14:42:05'::timestamp) - extract(epoch from '2026-07-22 14:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771052 -2.630527)'), GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.630586)'))) / (select extract(epoch from '2026-07-22 14:42:05'::timestamp) - extract(epoch from '2026-07-22 14:42: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'), 47870, 'SRID=4674;POINT (-39.771037 -2.630593)', '2026-07-22 14:42:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.630586)'), GeomFromEWKT('SRID=4674;POINT (-39.771037 -2.630593)'))) / (select extract(epoch from '2026-07-22 14:42:06'::timestamp) - extract(epoch from '2026-07-22 14:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.630586)'), GeomFromEWKT('SRID=4674;POINT (-39.771037 -2.630593)'))) / (select extract(epoch from '2026-07-22 14:42:06'::timestamp) - extract(epoch from '2026-07-22 14:42: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'), 47870, 'SRID=4674;POINT (-39.771031 -2.630616)', '2026-07-22 14:42:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771037 -2.630593)'), GeomFromEWKT('SRID=4674;POINT (-39.771031 -2.630616)'))) / (select extract(epoch from '2026-07-22 14:42:13'::timestamp) - extract(epoch from '2026-07-22 14:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771037 -2.630593)'), GeomFromEWKT('SRID=4674;POINT (-39.771031 -2.630616)'))) / (select extract(epoch from '2026-07-22 14:42:13'::timestamp) - extract(epoch from '2026-07-22 14:42: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'), 47870, 'SRID=4674;POINT (-39.771021 -2.630604)', '2026-07-22 14:42:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771031 -2.630616)'), GeomFromEWKT('SRID=4674;POINT (-39.771021 -2.630604)'))) / (select extract(epoch from '2026-07-22 14:42:21'::timestamp) - extract(epoch from '2026-07-22 14:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771031 -2.630616)'), GeomFromEWKT('SRID=4674;POINT (-39.771021 -2.630604)'))) / (select extract(epoch from '2026-07-22 14:42:21'::timestamp) - extract(epoch from '2026-07-22 14:42: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'), 47870, 'SRID=4674;POINT (-39.771033 -2.630565)', '2026-07-22 14:42:30', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771021 -2.630604)'), GeomFromEWKT('SRID=4674;POINT (-39.771033 -2.630565)'))) / (select extract(epoch from '2026-07-22 14:42:30'::timestamp) - extract(epoch from '2026-07-22 14:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771021 -2.630604)'), GeomFromEWKT('SRID=4674;POINT (-39.771033 -2.630565)'))) / (select extract(epoch from '2026-07-22 14:42:30'::timestamp) - extract(epoch from '2026-07-22 14:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771043 -2.630555)', '2026-07-22 14:42:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771033 -2.630565)'), GeomFromEWKT('SRID=4674;POINT (-39.771043 -2.630555)'))) / (select extract(epoch from '2026-07-22 14:42:32'::timestamp) - extract(epoch from '2026-07-22 14:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771033 -2.630565)'), GeomFromEWKT('SRID=4674;POINT (-39.771043 -2.630555)'))) / (select extract(epoch from '2026-07-22 14:42:32'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.771087 -2.630486)', '2026-07-22 14:42:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771043 -2.630555)'), GeomFromEWKT('SRID=4674;POINT (-39.771087 -2.630486)'))) / (select extract(epoch from '2026-07-22 14:42:43'::timestamp) - extract(epoch from '2026-07-22 14:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771043 -2.630555)'), GeomFromEWKT('SRID=4674;POINT (-39.771087 -2.630486)'))) / (select extract(epoch from '2026-07-22 14:42:43'::timestamp) - extract(epoch from '2026-07-22 14:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771098 -2.63048)', '2026-07-22 14:42:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771087 -2.630486)'), GeomFromEWKT('SRID=4674;POINT (-39.771098 -2.63048)'))) / (select extract(epoch from '2026-07-22 14:42:44'::timestamp) - extract(epoch from '2026-07-22 14:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771087 -2.630486)'), GeomFromEWKT('SRID=4674;POINT (-39.771098 -2.63048)'))) / (select extract(epoch from '2026-07-22 14:42:44'::timestamp) - extract(epoch from '2026-07-22 14:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771116 -2.630471)', '2026-07-22 14:42:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771098 -2.63048)'), GeomFromEWKT('SRID=4674;POINT (-39.771116 -2.630471)'))) / (select extract(epoch from '2026-07-22 14:42:46'::timestamp) - extract(epoch from '2026-07-22 14:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771098 -2.63048)'), GeomFromEWKT('SRID=4674;POINT (-39.771116 -2.630471)'))) / (select extract(epoch from '2026-07-22 14:42:46'::timestamp) - extract(epoch from '2026-07-22 14:42: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'), 47870, 'SRID=4674;POINT (-39.771123 -2.630455)', '2026-07-22 14:42:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771116 -2.630471)'), GeomFromEWKT('SRID=4674;POINT (-39.771123 -2.630455)'))) / (select extract(epoch from '2026-07-22 14:42:48'::timestamp) - extract(epoch from '2026-07-22 14:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771116 -2.630471)'), GeomFromEWKT('SRID=4674;POINT (-39.771123 -2.630455)'))) / (select extract(epoch from '2026-07-22 14:42:48'::timestamp) - extract(epoch from '2026-07-22 14:42: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'), 47870, 'SRID=4674;POINT (-39.771129 -2.630449)', '2026-07-22 14:42:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771123 -2.630455)'), GeomFromEWKT('SRID=4674;POINT (-39.771129 -2.630449)'))) / (select extract(epoch from '2026-07-22 14:42:49'::timestamp) - extract(epoch from '2026-07-22 14:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771123 -2.630455)'), GeomFromEWKT('SRID=4674;POINT (-39.771129 -2.630449)'))) / (select extract(epoch from '2026-07-22 14:42:49'::timestamp) - extract(epoch from '2026-07-22 14:42: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'), 47870, 'SRID=4674;POINT (-39.771157 -2.630409)', '2026-07-22 14:42:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771129 -2.630449)'), GeomFromEWKT('SRID=4674;POINT (-39.771157 -2.630409)'))) / (select extract(epoch from '2026-07-22 14:42:55'::timestamp) - extract(epoch from '2026-07-22 14:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771129 -2.630449)'), GeomFromEWKT('SRID=4674;POINT (-39.771157 -2.630409)'))) / (select extract(epoch from '2026-07-22 14:42:55'::timestamp) - extract(epoch from '2026-07-22 14:42: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'), 47870, 'SRID=4674;POINT (-39.771184 -2.630354)', '2026-07-22 14:43:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771157 -2.630409)'), GeomFromEWKT('SRID=4674;POINT (-39.771184 -2.630354)'))) / (select extract(epoch from '2026-07-22 14:43:04'::timestamp) - extract(epoch from '2026-07-22 14:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771157 -2.630409)'), GeomFromEWKT('SRID=4674;POINT (-39.771184 -2.630354)'))) / (select extract(epoch from '2026-07-22 14:43:04'::timestamp) - extract(epoch from '2026-07-22 14:42: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'), 47870, 'SRID=4674;POINT (-39.771184 -2.63033)', '2026-07-22 14:43:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771184 -2.630354)'), GeomFromEWKT('SRID=4674;POINT (-39.771184 -2.63033)'))) / (select extract(epoch from '2026-07-22 14:43:10'::timestamp) - extract(epoch from '2026-07-22 14:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771184 -2.630354)'), GeomFromEWKT('SRID=4674;POINT (-39.771184 -2.63033)'))) / (select extract(epoch from '2026-07-22 14:43:10'::timestamp) - extract(epoch from '2026-07-22 14:43: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'), 47870, 'SRID=4674;POINT (-39.771186 -2.63031)', '2026-07-22 14:43:20', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771184 -2.63033)'), GeomFromEWKT('SRID=4674;POINT (-39.771186 -2.63031)'))) / (select extract(epoch from '2026-07-22 14:43:20'::timestamp) - extract(epoch from '2026-07-22 14:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771184 -2.63033)'), GeomFromEWKT('SRID=4674;POINT (-39.771186 -2.63031)'))) / (select extract(epoch from '2026-07-22 14:43:20'::timestamp) - extract(epoch from '2026-07-22 14:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771218 -2.630284)', '2026-07-22 14:43:29', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771186 -2.63031)'), GeomFromEWKT('SRID=4674;POINT (-39.771218 -2.630284)'))) / (select extract(epoch from '2026-07-22 14:43:29'::timestamp) - extract(epoch from '2026-07-22 14:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771186 -2.63031)'), GeomFromEWKT('SRID=4674;POINT (-39.771218 -2.630284)'))) / (select extract(epoch from '2026-07-22 14:43:29'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.771224 -2.630231)', '2026-07-22 14:43:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771218 -2.630284)'), GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.630231)'))) / (select extract(epoch from '2026-07-22 14:43:40'::timestamp) - extract(epoch from '2026-07-22 14:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771218 -2.630284)'), GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.630231)'))) / (select extract(epoch from '2026-07-22 14:43:40'::timestamp) - extract(epoch from '2026-07-22 14:43: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'), 47870, 'SRID=4674;POINT (-39.771226 -2.630186)', '2026-07-22 14:43:52', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.630231)'), GeomFromEWKT('SRID=4674;POINT (-39.771226 -2.630186)'))) / (select extract(epoch from '2026-07-22 14:43:52'::timestamp) - extract(epoch from '2026-07-22 14:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771224 -2.630231)'), GeomFromEWKT('SRID=4674;POINT (-39.771226 -2.630186)'))) / (select extract(epoch from '2026-07-22 14:43:52'::timestamp) - extract(epoch from '2026-07-22 14:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771241 -2.630175)', '2026-07-22 14:44:01', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771226 -2.630186)'), GeomFromEWKT('SRID=4674;POINT (-39.771241 -2.630175)'))) / (select extract(epoch from '2026-07-22 14:44:01'::timestamp) - extract(epoch from '2026-07-22 14:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771226 -2.630186)'), GeomFromEWKT('SRID=4674;POINT (-39.771241 -2.630175)'))) / (select extract(epoch from '2026-07-22 14:44:01'::timestamp) - extract(epoch from '2026-07-22 14:43: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'), 47870, 'SRID=4674;POINT (-39.771257 -2.630163)', '2026-07-22 14:44:07', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771241 -2.630175)'), GeomFromEWKT('SRID=4674;POINT (-39.771257 -2.630163)'))) / (select extract(epoch from '2026-07-22 14:44:07'::timestamp) - extract(epoch from '2026-07-22 14:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771241 -2.630175)'), GeomFromEWKT('SRID=4674;POINT (-39.771257 -2.630163)'))) / (select extract(epoch from '2026-07-22 14:44:07'::timestamp) - extract(epoch from '2026-07-22 14:44: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'), 47870, 'SRID=4674;POINT (-39.771292 -2.63014)', '2026-07-22 14:44:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771257 -2.630163)'), GeomFromEWKT('SRID=4674;POINT (-39.771292 -2.63014)'))) / (select extract(epoch from '2026-07-22 14:44:13'::timestamp) - extract(epoch from '2026-07-22 14:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771257 -2.630163)'), GeomFromEWKT('SRID=4674;POINT (-39.771292 -2.63014)'))) / (select extract(epoch from '2026-07-22 14:44:13'::timestamp) - extract(epoch from '2026-07-22 14:44: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'), 47870, 'SRID=4674;POINT (-39.771348 -2.630109)', '2026-07-22 14:44:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771292 -2.63014)'), GeomFromEWKT('SRID=4674;POINT (-39.771348 -2.630109)'))) / (select extract(epoch from '2026-07-22 14:44:22'::timestamp) - extract(epoch from '2026-07-22 14:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771292 -2.63014)'), GeomFromEWKT('SRID=4674;POINT (-39.771348 -2.630109)'))) / (select extract(epoch from '2026-07-22 14:44:22'::timestamp) - extract(epoch from '2026-07-22 14:44: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'), 47870, 'SRID=4674;POINT (-39.771394 -2.630079)', '2026-07-22 14:44:32', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771348 -2.630109)'), GeomFromEWKT('SRID=4674;POINT (-39.771394 -2.630079)'))) / (select extract(epoch from '2026-07-22 14:44:32'::timestamp) - extract(epoch from '2026-07-22 14:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771348 -2.630109)'), GeomFromEWKT('SRID=4674;POINT (-39.771394 -2.630079)'))) / (select extract(epoch from '2026-07-22 14:44:32'::timestamp) - extract(epoch from '2026-07-22 14:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771438 -2.630054)', '2026-07-22 14:44:43', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771394 -2.630079)'), GeomFromEWKT('SRID=4674;POINT (-39.771438 -2.630054)'))) / (select extract(epoch from '2026-07-22 14:44:43'::timestamp) - extract(epoch from '2026-07-22 14:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771394 -2.630079)'), GeomFromEWKT('SRID=4674;POINT (-39.771438 -2.630054)'))) / (select extract(epoch from '2026-07-22 14:44:43'::timestamp) - extract(epoch from '2026-07-22 14:44: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'), 47870, 'SRID=4674;POINT (-39.771496 -2.630001)', '2026-07-22 14:44:56', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771438 -2.630054)'), GeomFromEWKT('SRID=4674;POINT (-39.771496 -2.630001)'))) / (select extract(epoch from '2026-07-22 14:44:56'::timestamp) - extract(epoch from '2026-07-22 14:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771438 -2.630054)'), GeomFromEWKT('SRID=4674;POINT (-39.771496 -2.630001)'))) / (select extract(epoch from '2026-07-22 14:44:56'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.771533 -2.629971)', '2026-07-22 14:45:06', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771496 -2.630001)'), GeomFromEWKT('SRID=4674;POINT (-39.771533 -2.629971)'))) / (select extract(epoch from '2026-07-22 14:45:06'::timestamp) - extract(epoch from '2026-07-22 14:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771496 -2.630001)'), GeomFromEWKT('SRID=4674;POINT (-39.771533 -2.629971)'))) / (select extract(epoch from '2026-07-22 14:45:06'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.771519 -2.629972)', '2026-07-22 14:45:19', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771533 -2.629971)'), GeomFromEWKT('SRID=4674;POINT (-39.771519 -2.629972)'))) / (select extract(epoch from '2026-07-22 14:45:19'::timestamp) - extract(epoch from '2026-07-22 14:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771533 -2.629971)'), GeomFromEWKT('SRID=4674;POINT (-39.771519 -2.629972)'))) / (select extract(epoch from '2026-07-22 14:45:19'::timestamp) - extract(epoch from '2026-07-22 14:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771504 -2.629988)', '2026-07-22 14:45:37', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771519 -2.629972)'), GeomFromEWKT('SRID=4674;POINT (-39.771504 -2.629988)'))) / (select extract(epoch from '2026-07-22 14:45:37'::timestamp) - extract(epoch from '2026-07-22 14:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771519 -2.629972)'), GeomFromEWKT('SRID=4674;POINT (-39.771504 -2.629988)'))) / (select extract(epoch from '2026-07-22 14:45:37'::timestamp) - extract(epoch from '2026-07-22 14:45: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'), 47870, 'SRID=4674;POINT (-39.771567 -2.629962)', '2026-07-22 14:45:52', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771504 -2.629988)'), GeomFromEWKT('SRID=4674;POINT (-39.771567 -2.629962)'))) / (select extract(epoch from '2026-07-22 14:45:52'::timestamp) - extract(epoch from '2026-07-22 14:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771504 -2.629988)'), GeomFromEWKT('SRID=4674;POINT (-39.771567 -2.629962)'))) / (select extract(epoch from '2026-07-22 14:45:52'::timestamp) - extract(epoch from '2026-07-22 14:45: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'), 47870, 'SRID=4674;POINT (-39.771593 -2.62995)', '2026-07-22 14:45:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771567 -2.629962)'), GeomFromEWKT('SRID=4674;POINT (-39.771593 -2.62995)'))) / (select extract(epoch from '2026-07-22 14:45:57'::timestamp) - extract(epoch from '2026-07-22 14:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771567 -2.629962)'), GeomFromEWKT('SRID=4674;POINT (-39.771593 -2.62995)'))) / (select extract(epoch from '2026-07-22 14:45:57'::timestamp) - extract(epoch from '2026-07-22 14:45: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'), 47870, 'SRID=4674;POINT (-39.77158 -2.62996)', '2026-07-22 14:46:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771593 -2.62995)'), GeomFromEWKT('SRID=4674;POINT (-39.77158 -2.62996)'))) / (select extract(epoch from '2026-07-22 14:46:06'::timestamp) - extract(epoch from '2026-07-22 14:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771593 -2.62995)'), GeomFromEWKT('SRID=4674;POINT (-39.77158 -2.62996)'))) / (select extract(epoch from '2026-07-22 14:46:06'::timestamp) - extract(epoch from '2026-07-22 14:45: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'), 47870, 'SRID=4674;POINT (-39.77159 -2.630018)', '2026-07-22 14:46:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77158 -2.62996)'), GeomFromEWKT('SRID=4674;POINT (-39.77159 -2.630018)'))) / (select extract(epoch from '2026-07-22 14:46:19'::timestamp) - extract(epoch from '2026-07-22 14:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77158 -2.62996)'), GeomFromEWKT('SRID=4674;POINT (-39.77159 -2.630018)'))) / (select extract(epoch from '2026-07-22 14:46:19'::timestamp) - extract(epoch from '2026-07-22 14:46: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'), 47870, 'SRID=4674;POINT (-39.77162 -2.630056)', '2026-07-22 14:46:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77159 -2.630018)'), GeomFromEWKT('SRID=4674;POINT (-39.77162 -2.630056)'))) / (select extract(epoch from '2026-07-22 14:46:28'::timestamp) - extract(epoch from '2026-07-22 14:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77159 -2.630018)'), GeomFromEWKT('SRID=4674;POINT (-39.77162 -2.630056)'))) / (select extract(epoch from '2026-07-22 14:46:28'::timestamp) - extract(epoch from '2026-07-22 14:46: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'), 47870, 'SRID=4674;POINT (-39.771634 -2.630056)', '2026-07-22 14:46:30', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77162 -2.630056)'), GeomFromEWKT('SRID=4674;POINT (-39.771634 -2.630056)'))) / (select extract(epoch from '2026-07-22 14:46:30'::timestamp) - extract(epoch from '2026-07-22 14:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77162 -2.630056)'), GeomFromEWKT('SRID=4674;POINT (-39.771634 -2.630056)'))) / (select extract(epoch from '2026-07-22 14:46:30'::timestamp) - extract(epoch from '2026-07-22 14:46: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'), 47870, 'SRID=4674;POINT (-39.771674 -2.630054)', '2026-07-22 14:46:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771634 -2.630056)'), GeomFromEWKT('SRID=4674;POINT (-39.771674 -2.630054)'))) / (select extract(epoch from '2026-07-22 14:46:37'::timestamp) - extract(epoch from '2026-07-22 14:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771634 -2.630056)'), GeomFromEWKT('SRID=4674;POINT (-39.771674 -2.630054)'))) / (select extract(epoch from '2026-07-22 14:46:37'::timestamp) - extract(epoch from '2026-07-22 14:46: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'), 47870, 'SRID=4674;POINT (-39.771726 -2.630039)', '2026-07-22 14:46:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771674 -2.630054)'), GeomFromEWKT('SRID=4674;POINT (-39.771726 -2.630039)'))) / (select extract(epoch from '2026-07-22 14:46:49'::timestamp) - extract(epoch from '2026-07-22 14:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771674 -2.630054)'), GeomFromEWKT('SRID=4674;POINT (-39.771726 -2.630039)'))) / (select extract(epoch from '2026-07-22 14:46:49'::timestamp) - extract(epoch from '2026-07-22 14:46: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'), 47870, 'SRID=4674;POINT (-39.771731 -2.630036)', '2026-07-22 14:46:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771726 -2.630039)'), GeomFromEWKT('SRID=4674;POINT (-39.771731 -2.630036)'))) / (select extract(epoch from '2026-07-22 14:46:58'::timestamp) - extract(epoch from '2026-07-22 14:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771726 -2.630039)'), GeomFromEWKT('SRID=4674;POINT (-39.771731 -2.630036)'))) / (select extract(epoch from '2026-07-22 14:46:58'::timestamp) - extract(epoch from '2026-07-22 14:46: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'), 47870, 'SRID=4674;POINT (-39.771714 -2.630044)', '2026-07-22 14:47:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771731 -2.630036)'), GeomFromEWKT('SRID=4674;POINT (-39.771714 -2.630044)'))) / (select extract(epoch from '2026-07-22 14:47:02'::timestamp) - extract(epoch from '2026-07-22 14:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771731 -2.630036)'), GeomFromEWKT('SRID=4674;POINT (-39.771714 -2.630044)'))) / (select extract(epoch from '2026-07-22 14:47:02'::timestamp) - extract(epoch from '2026-07-22 14:46: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'), 47870, 'SRID=4674;POINT (-39.771675 -2.630076)', '2026-07-22 14:47:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771714 -2.630044)'), GeomFromEWKT('SRID=4674;POINT (-39.771675 -2.630076)'))) / (select extract(epoch from '2026-07-22 14:47:08'::timestamp) - extract(epoch from '2026-07-22 14:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771714 -2.630044)'), GeomFromEWKT('SRID=4674;POINT (-39.771675 -2.630076)'))) / (select extract(epoch from '2026-07-22 14:47:08'::timestamp) - extract(epoch from '2026-07-22 14:47: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'), 47870, 'SRID=4674;POINT (-39.771632 -2.630101)', '2026-07-22 14:47:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771675 -2.630076)'), GeomFromEWKT('SRID=4674;POINT (-39.771632 -2.630101)'))) / (select extract(epoch from '2026-07-22 14:47:13'::timestamp) - extract(epoch from '2026-07-22 14:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771675 -2.630076)'), GeomFromEWKT('SRID=4674;POINT (-39.771632 -2.630101)'))) / (select extract(epoch from '2026-07-22 14:47:13'::timestamp) - extract(epoch from '2026-07-22 14:47: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'), 47870, 'SRID=4674;POINT (-39.771614 -2.63012)', '2026-07-22 14:47:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771632 -2.630101)'), GeomFromEWKT('SRID=4674;POINT (-39.771614 -2.63012)'))) / (select extract(epoch from '2026-07-22 14:47:16'::timestamp) - extract(epoch from '2026-07-22 14:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771632 -2.630101)'), GeomFromEWKT('SRID=4674;POINT (-39.771614 -2.63012)'))) / (select extract(epoch from '2026-07-22 14:47:16'::timestamp) - extract(epoch from '2026-07-22 14:47: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'), 47870, 'SRID=4674;POINT (-39.771488 -2.630196)', '2026-07-22 14:47:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771614 -2.63012)'), GeomFromEWKT('SRID=4674;POINT (-39.771488 -2.630196)'))) / (select extract(epoch from '2026-07-22 14:47:29'::timestamp) - extract(epoch from '2026-07-22 14:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771614 -2.63012)'), GeomFromEWKT('SRID=4674;POINT (-39.771488 -2.630196)'))) / (select extract(epoch from '2026-07-22 14:47:29'::timestamp) - extract(epoch from '2026-07-22 14:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77145 -2.630243)', '2026-07-22 14:47:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771488 -2.630196)'), GeomFromEWKT('SRID=4674;POINT (-39.77145 -2.630243)'))) / (select extract(epoch from '2026-07-22 14:47:33'::timestamp) - extract(epoch from '2026-07-22 14:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771488 -2.630196)'), GeomFromEWKT('SRID=4674;POINT (-39.77145 -2.630243)'))) / (select extract(epoch from '2026-07-22 14:47:33'::timestamp) - extract(epoch from '2026-07-22 14:47:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771428 -2.63027)', '2026-07-22 14:47:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77145 -2.630243)'), GeomFromEWKT('SRID=4674;POINT (-39.771428 -2.63027)'))) / (select extract(epoch from '2026-07-22 14:47:35'::timestamp) - extract(epoch from '2026-07-22 14:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77145 -2.630243)'), GeomFromEWKT('SRID=4674;POINT (-39.771428 -2.63027)'))) / (select extract(epoch from '2026-07-22 14:47:35'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.771396 -2.630337)', '2026-07-22 14:47:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771428 -2.63027)'), GeomFromEWKT('SRID=4674;POINT (-39.771396 -2.630337)'))) / (select extract(epoch from '2026-07-22 14:47:40'::timestamp) - extract(epoch from '2026-07-22 14:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771428 -2.63027)'), GeomFromEWKT('SRID=4674;POINT (-39.771396 -2.630337)'))) / (select extract(epoch from '2026-07-22 14:47:40'::timestamp) - extract(epoch from '2026-07-22 14:47: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'), 47870, 'SRID=4674;POINT (-39.771381 -2.630444)', '2026-07-22 14:47:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771396 -2.630337)'), GeomFromEWKT('SRID=4674;POINT (-39.771381 -2.630444)'))) / (select extract(epoch from '2026-07-22 14:47:46'::timestamp) - extract(epoch from '2026-07-22 14:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771396 -2.630337)'), GeomFromEWKT('SRID=4674;POINT (-39.771381 -2.630444)'))) / (select extract(epoch from '2026-07-22 14:47:46'::timestamp) - extract(epoch from '2026-07-22 14:47: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'), 47870, 'SRID=4674;POINT (-39.771374 -2.630589)', '2026-07-22 14:47:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771381 -2.630444)'), GeomFromEWKT('SRID=4674;POINT (-39.771374 -2.630589)'))) / (select extract(epoch from '2026-07-22 14:47:54'::timestamp) - extract(epoch from '2026-07-22 14:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771381 -2.630444)'), GeomFromEWKT('SRID=4674;POINT (-39.771374 -2.630589)'))) / (select extract(epoch from '2026-07-22 14:47:54'::timestamp) - extract(epoch from '2026-07-22 14:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771366 -2.630708)', '2026-07-22 14:48:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771374 -2.630589)'), GeomFromEWKT('SRID=4674;POINT (-39.771366 -2.630708)'))) / (select extract(epoch from '2026-07-22 14:48:01'::timestamp) - extract(epoch from '2026-07-22 14:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771374 -2.630589)'), GeomFromEWKT('SRID=4674;POINT (-39.771366 -2.630708)'))) / (select extract(epoch from '2026-07-22 14:48:01'::timestamp) - extract(epoch from '2026-07-22 14:47: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'), 47870, 'SRID=4674;POINT (-39.771332 -2.630822)', '2026-07-22 14:48:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771366 -2.630708)'), GeomFromEWKT('SRID=4674;POINT (-39.771332 -2.630822)'))) / (select extract(epoch from '2026-07-22 14:48:08'::timestamp) - extract(epoch from '2026-07-22 14:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771366 -2.630708)'), GeomFromEWKT('SRID=4674;POINT (-39.771332 -2.630822)'))) / (select extract(epoch from '2026-07-22 14:48:08'::timestamp) - extract(epoch from '2026-07-22 14:48: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'), 47870, 'SRID=4674;POINT (-39.771274 -2.630898)', '2026-07-22 14:48:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771332 -2.630822)'), GeomFromEWKT('SRID=4674;POINT (-39.771274 -2.630898)'))) / (select extract(epoch from '2026-07-22 14:48:14'::timestamp) - extract(epoch from '2026-07-22 14:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771332 -2.630822)'), GeomFromEWKT('SRID=4674;POINT (-39.771274 -2.630898)'))) / (select extract(epoch from '2026-07-22 14:48:14'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.771174 -2.630965)', '2026-07-22 14:48:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771274 -2.630898)'), GeomFromEWKT('SRID=4674;POINT (-39.771174 -2.630965)'))) / (select extract(epoch from '2026-07-22 14:48:21'::timestamp) - extract(epoch from '2026-07-22 14:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771274 -2.630898)'), GeomFromEWKT('SRID=4674;POINT (-39.771174 -2.630965)'))) / (select extract(epoch from '2026-07-22 14:48:21'::timestamp) - extract(epoch from '2026-07-22 14:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771146 -2.630982)', '2026-07-22 14:48:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771174 -2.630965)'), GeomFromEWKT('SRID=4674;POINT (-39.771146 -2.630982)'))) / (select extract(epoch from '2026-07-22 14:48:23'::timestamp) - extract(epoch from '2026-07-22 14:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771174 -2.630965)'), GeomFromEWKT('SRID=4674;POINT (-39.771146 -2.630982)'))) / (select extract(epoch from '2026-07-22 14:48:23'::timestamp) - extract(epoch from '2026-07-22 14:48: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'), 47870, 'SRID=4674;POINT (-39.771101 -2.631003)', '2026-07-22 14:48:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771146 -2.630982)'), GeomFromEWKT('SRID=4674;POINT (-39.771101 -2.631003)'))) / (select extract(epoch from '2026-07-22 14:48:26'::timestamp) - extract(epoch from '2026-07-22 14:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771146 -2.630982)'), GeomFromEWKT('SRID=4674;POINT (-39.771101 -2.631003)'))) / (select extract(epoch from '2026-07-22 14:48:26'::timestamp) - extract(epoch from '2026-07-22 14:48: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'), 47870, 'SRID=4674;POINT (-39.771025 -2.63105)', '2026-07-22 14:48:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771101 -2.631003)'), GeomFromEWKT('SRID=4674;POINT (-39.771025 -2.63105)'))) / (select extract(epoch from '2026-07-22 14:48:32'::timestamp) - extract(epoch from '2026-07-22 14:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771101 -2.631003)'), GeomFromEWKT('SRID=4674;POINT (-39.771025 -2.63105)'))) / (select extract(epoch from '2026-07-22 14:48:32'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.770926 -2.631107)', '2026-07-22 14:48:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771025 -2.63105)'), GeomFromEWKT('SRID=4674;POINT (-39.770926 -2.631107)'))) / (select extract(epoch from '2026-07-22 14:48:39'::timestamp) - extract(epoch from '2026-07-22 14:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771025 -2.63105)'), GeomFromEWKT('SRID=4674;POINT (-39.770926 -2.631107)'))) / (select extract(epoch from '2026-07-22 14:48:39'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.770828 -2.631158)', '2026-07-22 14:48:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770926 -2.631107)'), GeomFromEWKT('SRID=4674;POINT (-39.770828 -2.631158)'))) / (select extract(epoch from '2026-07-22 14:48:45'::timestamp) - extract(epoch from '2026-07-22 14:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770926 -2.631107)'), GeomFromEWKT('SRID=4674;POINT (-39.770828 -2.631158)'))) / (select extract(epoch from '2026-07-22 14:48:45'::timestamp) - extract(epoch from '2026-07-22 14:48: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'), 47870, 'SRID=4674;POINT (-39.770749 -2.631217)', '2026-07-22 14:48:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770828 -2.631158)'), GeomFromEWKT('SRID=4674;POINT (-39.770749 -2.631217)'))) / (select extract(epoch from '2026-07-22 14:48:51'::timestamp) - extract(epoch from '2026-07-22 14:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770828 -2.631158)'), GeomFromEWKT('SRID=4674;POINT (-39.770749 -2.631217)'))) / (select extract(epoch from '2026-07-22 14:48:51'::timestamp) - extract(epoch from '2026-07-22 14:48: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'), 47870, 'SRID=4674;POINT (-39.770661 -2.631299)', '2026-07-22 14:48:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770749 -2.631217)'), GeomFromEWKT('SRID=4674;POINT (-39.770661 -2.631299)'))) / (select extract(epoch from '2026-07-22 14:48:58'::timestamp) - extract(epoch from '2026-07-22 14:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770749 -2.631217)'), GeomFromEWKT('SRID=4674;POINT (-39.770661 -2.631299)'))) / (select extract(epoch from '2026-07-22 14:48:58'::timestamp) - extract(epoch from '2026-07-22 14:48: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'), 47870, 'SRID=4674;POINT (-39.770649 -2.631393)', '2026-07-22 14:49:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770661 -2.631299)'), GeomFromEWKT('SRID=4674;POINT (-39.770649 -2.631393)'))) / (select extract(epoch from '2026-07-22 14:49:05'::timestamp) - extract(epoch from '2026-07-22 14:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770661 -2.631299)'), GeomFromEWKT('SRID=4674;POINT (-39.770649 -2.631393)'))) / (select extract(epoch from '2026-07-22 14:49:05'::timestamp) - extract(epoch from '2026-07-22 14:48: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'), 47870, 'SRID=4674;POINT (-39.770707 -2.631515)', '2026-07-22 14:49:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770649 -2.631393)'), GeomFromEWKT('SRID=4674;POINT (-39.770707 -2.631515)'))) / (select extract(epoch from '2026-07-22 14:49:13'::timestamp) - extract(epoch from '2026-07-22 14:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770649 -2.631393)'), GeomFromEWKT('SRID=4674;POINT (-39.770707 -2.631515)'))) / (select extract(epoch from '2026-07-22 14:49:13'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.770761 -2.631668)', '2026-07-22 14:49:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770707 -2.631515)'), GeomFromEWKT('SRID=4674;POINT (-39.770761 -2.631668)'))) / (select extract(epoch from '2026-07-22 14:49:21'::timestamp) - extract(epoch from '2026-07-22 14:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770707 -2.631515)'), GeomFromEWKT('SRID=4674;POINT (-39.770761 -2.631668)'))) / (select extract(epoch from '2026-07-22 14:49:21'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.770779 -2.63178)', '2026-07-22 14:49:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770761 -2.631668)'), GeomFromEWKT('SRID=4674;POINT (-39.770779 -2.63178)'))) / (select extract(epoch from '2026-07-22 14:49:28'::timestamp) - extract(epoch from '2026-07-22 14:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770761 -2.631668)'), GeomFromEWKT('SRID=4674;POINT (-39.770779 -2.63178)'))) / (select extract(epoch from '2026-07-22 14:49:28'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.770791 -2.631823)', '2026-07-22 14:49:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770779 -2.63178)'), GeomFromEWKT('SRID=4674;POINT (-39.770791 -2.631823)'))) / (select extract(epoch from '2026-07-22 14:49:34'::timestamp) - extract(epoch from '2026-07-22 14:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770779 -2.63178)'), GeomFromEWKT('SRID=4674;POINT (-39.770791 -2.631823)'))) / (select extract(epoch from '2026-07-22 14:49:34'::timestamp) - extract(epoch from '2026-07-22 14:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770792 -2.63182)', '2026-07-22 14:49:45', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770791 -2.631823)'), GeomFromEWKT('SRID=4674;POINT (-39.770792 -2.63182)'))) / (select extract(epoch from '2026-07-22 14:49:45'::timestamp) - extract(epoch from '2026-07-22 14:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770791 -2.631823)'), GeomFromEWKT('SRID=4674;POINT (-39.770792 -2.63182)'))) / (select extract(epoch from '2026-07-22 14:49:45'::timestamp) - extract(epoch from '2026-07-22 14:49: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'), 47870, 'SRID=4674;POINT (-39.770802 -2.631809)', '2026-07-22 14:49:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770792 -2.63182)'), GeomFromEWKT('SRID=4674;POINT (-39.770802 -2.631809)'))) / (select extract(epoch from '2026-07-22 14:49:48'::timestamp) - extract(epoch from '2026-07-22 14:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770792 -2.63182)'), GeomFromEWKT('SRID=4674;POINT (-39.770802 -2.631809)'))) / (select extract(epoch from '2026-07-22 14:49:48'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.770823 -2.631793)', '2026-07-22 14:49:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770802 -2.631809)'), GeomFromEWKT('SRID=4674;POINT (-39.770823 -2.631793)'))) / (select extract(epoch from '2026-07-22 14:49:55'::timestamp) - extract(epoch from '2026-07-22 14:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770802 -2.631809)'), GeomFromEWKT('SRID=4674;POINT (-39.770823 -2.631793)'))) / (select extract(epoch from '2026-07-22 14:49:55'::timestamp) - extract(epoch from '2026-07-22 14:49: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'), 47870, 'SRID=4674;POINT (-39.770854 -2.631738)', '2026-07-22 14:50:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770823 -2.631793)'), GeomFromEWKT('SRID=4674;POINT (-39.770854 -2.631738)'))) / (select extract(epoch from '2026-07-22 14:50:15'::timestamp) - extract(epoch from '2026-07-22 14:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770823 -2.631793)'), GeomFromEWKT('SRID=4674;POINT (-39.770854 -2.631738)'))) / (select extract(epoch from '2026-07-22 14:50:15'::timestamp) - extract(epoch from '2026-07-22 14:49: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'), 47870, 'SRID=4674;POINT (-39.770907 -2.631701)', '2026-07-22 14:50:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770854 -2.631738)'), GeomFromEWKT('SRID=4674;POINT (-39.770907 -2.631701)'))) / (select extract(epoch from '2026-07-22 14:50:24'::timestamp) - extract(epoch from '2026-07-22 14:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770854 -2.631738)'), GeomFromEWKT('SRID=4674;POINT (-39.770907 -2.631701)'))) / (select extract(epoch from '2026-07-22 14:50:24'::timestamp) - extract(epoch from '2026-07-22 14:50:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770956 -2.631673)', '2026-07-22 14:50:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770907 -2.631701)'), GeomFromEWKT('SRID=4674;POINT (-39.770956 -2.631673)'))) / (select extract(epoch from '2026-07-22 14:50:30'::timestamp) - extract(epoch from '2026-07-22 14:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770907 -2.631701)'), GeomFromEWKT('SRID=4674;POINT (-39.770956 -2.631673)'))) / (select extract(epoch from '2026-07-22 14:50:30'::timestamp) - extract(epoch from '2026-07-22 14:50: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'), 47870, 'SRID=4674;POINT (-39.770985 -2.631646)', '2026-07-22 14:50:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770956 -2.631673)'), GeomFromEWKT('SRID=4674;POINT (-39.770985 -2.631646)'))) / (select extract(epoch from '2026-07-22 14:50:33'::timestamp) - extract(epoch from '2026-07-22 14:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770956 -2.631673)'), GeomFromEWKT('SRID=4674;POINT (-39.770985 -2.631646)'))) / (select extract(epoch from '2026-07-22 14:50:33'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.771003 -2.631627)', '2026-07-22 14:50:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770985 -2.631646)'), GeomFromEWKT('SRID=4674;POINT (-39.771003 -2.631627)'))) / (select extract(epoch from '2026-07-22 14:50:37'::timestamp) - extract(epoch from '2026-07-22 14:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770985 -2.631646)'), GeomFromEWKT('SRID=4674;POINT (-39.771003 -2.631627)'))) / (select extract(epoch from '2026-07-22 14:50:37'::timestamp) - extract(epoch from '2026-07-22 14:50:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771041 -2.631588)', '2026-07-22 14:50:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771003 -2.631627)'), GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.631588)'))) / (select extract(epoch from '2026-07-22 14:50:45'::timestamp) - extract(epoch from '2026-07-22 14:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771003 -2.631627)'), GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.631588)'))) / (select extract(epoch from '2026-07-22 14:50:45'::timestamp) - extract(epoch from '2026-07-22 14:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77109 -2.631527)', '2026-07-22 14:50:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.631588)'), GeomFromEWKT('SRID=4674;POINT (-39.77109 -2.631527)'))) / (select extract(epoch from '2026-07-22 14:50:57'::timestamp) - extract(epoch from '2026-07-22 14:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.631588)'), GeomFromEWKT('SRID=4674;POINT (-39.77109 -2.631527)'))) / (select extract(epoch from '2026-07-22 14:50:57'::timestamp) - extract(epoch from '2026-07-22 14:50: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'), 47870, 'SRID=4674;POINT (-39.771101 -2.631513)', '2026-07-22 14:51:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77109 -2.631527)'), GeomFromEWKT('SRID=4674;POINT (-39.771101 -2.631513)'))) / (select extract(epoch from '2026-07-22 14:51:03'::timestamp) - extract(epoch from '2026-07-22 14:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77109 -2.631527)'), GeomFromEWKT('SRID=4674;POINT (-39.771101 -2.631513)'))) / (select extract(epoch from '2026-07-22 14:51:03'::timestamp) - extract(epoch from '2026-07-22 14:50:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771087 -2.631483)', '2026-07-22 14:51:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771101 -2.631513)'), GeomFromEWKT('SRID=4674;POINT (-39.771087 -2.631483)'))) / (select extract(epoch from '2026-07-22 14:51:12'::timestamp) - extract(epoch from '2026-07-22 14:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771101 -2.631513)'), GeomFromEWKT('SRID=4674;POINT (-39.771087 -2.631483)'))) / (select extract(epoch from '2026-07-22 14:51:12'::timestamp) - extract(epoch from '2026-07-22 14:51: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'), 47870, 'SRID=4674;POINT (-39.771074 -2.63145)', '2026-07-22 14:51:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771087 -2.631483)'), GeomFromEWKT('SRID=4674;POINT (-39.771074 -2.63145)'))) / (select extract(epoch from '2026-07-22 14:51:21'::timestamp) - extract(epoch from '2026-07-22 14:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771087 -2.631483)'), GeomFromEWKT('SRID=4674;POINT (-39.771074 -2.63145)'))) / (select extract(epoch from '2026-07-22 14:51:21'::timestamp) - extract(epoch from '2026-07-22 14:51: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'), 47870, 'SRID=4674;POINT (-39.77107 -2.631416)', '2026-07-22 14:51:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771074 -2.63145)'), GeomFromEWKT('SRID=4674;POINT (-39.77107 -2.631416)'))) / (select extract(epoch from '2026-07-22 14:51:33'::timestamp) - extract(epoch from '2026-07-22 14:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771074 -2.63145)'), GeomFromEWKT('SRID=4674;POINT (-39.77107 -2.631416)'))) / (select extract(epoch from '2026-07-22 14:51:33'::timestamp) - extract(epoch from '2026-07-22 14:51: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'), 47870, 'SRID=4674;POINT (-39.77106 -2.631381)', '2026-07-22 14:51:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77107 -2.631416)'), GeomFromEWKT('SRID=4674;POINT (-39.77106 -2.631381)'))) / (select extract(epoch from '2026-07-22 14:51:46'::timestamp) - extract(epoch from '2026-07-22 14:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77107 -2.631416)'), GeomFromEWKT('SRID=4674;POINT (-39.77106 -2.631381)'))) / (select extract(epoch from '2026-07-22 14:51:46'::timestamp) - extract(epoch from '2026-07-22 14:51: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'), 47870, 'SRID=4674;POINT (-39.771058 -2.631357)', '2026-07-22 14:51:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77106 -2.631381)'), GeomFromEWKT('SRID=4674;POINT (-39.771058 -2.631357)'))) / (select extract(epoch from '2026-07-22 14:51:57'::timestamp) - extract(epoch from '2026-07-22 14:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77106 -2.631381)'), GeomFromEWKT('SRID=4674;POINT (-39.771058 -2.631357)'))) / (select extract(epoch from '2026-07-22 14:51:57'::timestamp) - extract(epoch from '2026-07-22 14:51: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'), 47870, 'SRID=4674;POINT (-39.77107 -2.631344)', '2026-07-22 14:52:00', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771058 -2.631357)'), GeomFromEWKT('SRID=4674;POINT (-39.77107 -2.631344)'))) / (select extract(epoch from '2026-07-22 14:52:00'::timestamp) - extract(epoch from '2026-07-22 14:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771058 -2.631357)'), GeomFromEWKT('SRID=4674;POINT (-39.77107 -2.631344)'))) / (select extract(epoch from '2026-07-22 14:52:00'::timestamp) - extract(epoch from '2026-07-22 14:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771088 -2.631274)', '2026-07-22 14:52:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77107 -2.631344)'), GeomFromEWKT('SRID=4674;POINT (-39.771088 -2.631274)'))) / (select extract(epoch from '2026-07-22 14:52:23'::timestamp) - extract(epoch from '2026-07-22 14:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77107 -2.631344)'), GeomFromEWKT('SRID=4674;POINT (-39.771088 -2.631274)'))) / (select extract(epoch from '2026-07-22 14:52:23'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.77112 -2.631232)', '2026-07-22 14:52:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771088 -2.631274)'), GeomFromEWKT('SRID=4674;POINT (-39.77112 -2.631232)'))) / (select extract(epoch from '2026-07-22 14:52:32'::timestamp) - extract(epoch from '2026-07-22 14:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771088 -2.631274)'), GeomFromEWKT('SRID=4674;POINT (-39.77112 -2.631232)'))) / (select extract(epoch from '2026-07-22 14:52:32'::timestamp) - extract(epoch from '2026-07-22 14:52: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'), 47870, 'SRID=4674;POINT (-39.771127 -2.631221)', '2026-07-22 14:52:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77112 -2.631232)'), GeomFromEWKT('SRID=4674;POINT (-39.771127 -2.631221)'))) / (select extract(epoch from '2026-07-22 14:52:35'::timestamp) - extract(epoch from '2026-07-22 14:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77112 -2.631232)'), GeomFromEWKT('SRID=4674;POINT (-39.771127 -2.631221)'))) / (select extract(epoch from '2026-07-22 14:52:35'::timestamp) - extract(epoch from '2026-07-22 14:52: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'), 47870, 'SRID=4674;POINT (-39.771136 -2.631217)', '2026-07-22 14:52:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771127 -2.631221)'), GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.631217)'))) / (select extract(epoch from '2026-07-22 14:52:38'::timestamp) - extract(epoch from '2026-07-22 14:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771127 -2.631221)'), GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.631217)'))) / (select extract(epoch from '2026-07-22 14:52:38'::timestamp) - extract(epoch from '2026-07-22 14:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771137 -2.631254)', '2026-07-22 14:52:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.631217)'), GeomFromEWKT('SRID=4674;POINT (-39.771137 -2.631254)'))) / (select extract(epoch from '2026-07-22 14:52:50'::timestamp) - extract(epoch from '2026-07-22 14:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771136 -2.631217)'), GeomFromEWKT('SRID=4674;POINT (-39.771137 -2.631254)'))) / (select extract(epoch from '2026-07-22 14:52:50'::timestamp) - extract(epoch from '2026-07-22 14:52: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'), 47870, 'SRID=4674;POINT (-39.771126 -2.631292)', '2026-07-22 14:52:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771137 -2.631254)'), GeomFromEWKT('SRID=4674;POINT (-39.771126 -2.631292)'))) / (select extract(epoch from '2026-07-22 14:52:54'::timestamp) - extract(epoch from '2026-07-22 14:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771137 -2.631254)'), GeomFromEWKT('SRID=4674;POINT (-39.771126 -2.631292)'))) / (select extract(epoch from '2026-07-22 14:52:54'::timestamp) - extract(epoch from '2026-07-22 14:52: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'), 47870, 'SRID=4674;POINT (-39.77112 -2.631312)', '2026-07-22 14:52:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771126 -2.631292)'), GeomFromEWKT('SRID=4674;POINT (-39.77112 -2.631312)'))) / (select extract(epoch from '2026-07-22 14:52:56'::timestamp) - extract(epoch from '2026-07-22 14:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771126 -2.631292)'), GeomFromEWKT('SRID=4674;POINT (-39.77112 -2.631312)'))) / (select extract(epoch from '2026-07-22 14:52:56'::timestamp) - extract(epoch from '2026-07-22 14:52: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'), 47870, 'SRID=4674;POINT (-39.77108 -2.631372)', '2026-07-22 14:53:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77112 -2.631312)'), GeomFromEWKT('SRID=4674;POINT (-39.77108 -2.631372)'))) / (select extract(epoch from '2026-07-22 14:53:01'::timestamp) - extract(epoch from '2026-07-22 14:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77112 -2.631312)'), GeomFromEWKT('SRID=4674;POINT (-39.77108 -2.631372)'))) / (select extract(epoch from '2026-07-22 14:53:01'::timestamp) - extract(epoch from '2026-07-22 14:52:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771042 -2.631449)', '2026-07-22 14:53:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77108 -2.631372)'), GeomFromEWKT('SRID=4674;POINT (-39.771042 -2.631449)'))) / (select extract(epoch from '2026-07-22 14:53:07'::timestamp) - extract(epoch from '2026-07-22 14:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77108 -2.631372)'), GeomFromEWKT('SRID=4674;POINT (-39.771042 -2.631449)'))) / (select extract(epoch from '2026-07-22 14:53:07'::timestamp) - extract(epoch from '2026-07-22 14:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771041 -2.631462)', '2026-07-22 14:53:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771042 -2.631449)'), GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.631462)'))) / (select extract(epoch from '2026-07-22 14:53:08'::timestamp) - extract(epoch from '2026-07-22 14:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771042 -2.631449)'), GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.631462)'))) / (select extract(epoch from '2026-07-22 14:53:08'::timestamp) - extract(epoch from '2026-07-22 14:53:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771035 -2.631528)', '2026-07-22 14:53:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.631462)'), GeomFromEWKT('SRID=4674;POINT (-39.771035 -2.631528)'))) / (select extract(epoch from '2026-07-22 14:53:12'::timestamp) - extract(epoch from '2026-07-22 14:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771041 -2.631462)'), GeomFromEWKT('SRID=4674;POINT (-39.771035 -2.631528)'))) / (select extract(epoch from '2026-07-22 14:53:12'::timestamp) - extract(epoch from '2026-07-22 14:53: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'), 47870, 'SRID=4674;POINT (-39.771037 -2.631628)', '2026-07-22 14:53:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771035 -2.631528)'), GeomFromEWKT('SRID=4674;POINT (-39.771037 -2.631628)'))) / (select extract(epoch from '2026-07-22 14:53:18'::timestamp) - extract(epoch from '2026-07-22 14:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771035 -2.631528)'), GeomFromEWKT('SRID=4674;POINT (-39.771037 -2.631628)'))) / (select extract(epoch from '2026-07-22 14:53:18'::timestamp) - extract(epoch from '2026-07-22 14:53: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'), 47870, 'SRID=4674;POINT (-39.771023 -2.631731)', '2026-07-22 14:53:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771037 -2.631628)'), GeomFromEWKT('SRID=4674;POINT (-39.771023 -2.631731)'))) / (select extract(epoch from '2026-07-22 14:53:24'::timestamp) - extract(epoch from '2026-07-22 14:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771037 -2.631628)'), GeomFromEWKT('SRID=4674;POINT (-39.771023 -2.631731)'))) / (select extract(epoch from '2026-07-22 14:53:24'::timestamp) - extract(epoch from '2026-07-22 14:53: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'), 47870, 'SRID=4674;POINT (-39.771002 -2.631833)', '2026-07-22 14:53:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771023 -2.631731)'), GeomFromEWKT('SRID=4674;POINT (-39.771002 -2.631833)'))) / (select extract(epoch from '2026-07-22 14:53:29'::timestamp) - extract(epoch from '2026-07-22 14:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771023 -2.631731)'), GeomFromEWKT('SRID=4674;POINT (-39.771002 -2.631833)'))) / (select extract(epoch from '2026-07-22 14:53:29'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.771007 -2.631909)', '2026-07-22 14:53:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771002 -2.631833)'), GeomFromEWKT('SRID=4674;POINT (-39.771007 -2.631909)'))) / (select extract(epoch from '2026-07-22 14:53:33'::timestamp) - extract(epoch from '2026-07-22 14:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771002 -2.631833)'), GeomFromEWKT('SRID=4674;POINT (-39.771007 -2.631909)'))) / (select extract(epoch from '2026-07-22 14:53:33'::timestamp) - extract(epoch from '2026-07-22 14:53: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'), 47870, 'SRID=4674;POINT (-39.771003 -2.631927)', '2026-07-22 14:53:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771007 -2.631909)'), GeomFromEWKT('SRID=4674;POINT (-39.771003 -2.631927)'))) / (select extract(epoch from '2026-07-22 14:53:34'::timestamp) - extract(epoch from '2026-07-22 14:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771007 -2.631909)'), GeomFromEWKT('SRID=4674;POINT (-39.771003 -2.631927)'))) / (select extract(epoch from '2026-07-22 14:53:34'::timestamp) - extract(epoch from '2026-07-22 14:53: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'), 47870, 'SRID=4674;POINT (-39.770993 -2.632018)', '2026-07-22 14:53:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771003 -2.631927)'), GeomFromEWKT('SRID=4674;POINT (-39.770993 -2.632018)'))) / (select extract(epoch from '2026-07-22 14:53:39'::timestamp) - extract(epoch from '2026-07-22 14:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771003 -2.631927)'), GeomFromEWKT('SRID=4674;POINT (-39.770993 -2.632018)'))) / (select extract(epoch from '2026-07-22 14:53:39'::timestamp) - extract(epoch from '2026-07-22 14:53: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'), 47870, 'SRID=4674;POINT (-39.770989 -2.632034)', '2026-07-22 14:53:40', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770993 -2.632018)'), GeomFromEWKT('SRID=4674;POINT (-39.770989 -2.632034)'))) / (select extract(epoch from '2026-07-22 14:53:40'::timestamp) - extract(epoch from '2026-07-22 14:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770993 -2.632018)'), GeomFromEWKT('SRID=4674;POINT (-39.770989 -2.632034)'))) / (select extract(epoch from '2026-07-22 14:53:40'::timestamp) - extract(epoch from '2026-07-22 14:53: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'), 47870, 'SRID=4674;POINT (-39.770979 -2.632142)', '2026-07-22 14:53:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770989 -2.632034)'), GeomFromEWKT('SRID=4674;POINT (-39.770979 -2.632142)'))) / (select extract(epoch from '2026-07-22 14:53:46'::timestamp) - extract(epoch from '2026-07-22 14:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770989 -2.632034)'), GeomFromEWKT('SRID=4674;POINT (-39.770979 -2.632142)'))) / (select extract(epoch from '2026-07-22 14:53:46'::timestamp) - extract(epoch from '2026-07-22 14:53: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'), 47870, 'SRID=4674;POINT (-39.770983 -2.632221)', '2026-07-22 14:53:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770979 -2.632142)'), GeomFromEWKT('SRID=4674;POINT (-39.770983 -2.632221)'))) / (select extract(epoch from '2026-07-22 14:53:50'::timestamp) - extract(epoch from '2026-07-22 14:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770979 -2.632142)'), GeomFromEWKT('SRID=4674;POINT (-39.770983 -2.632221)'))) / (select extract(epoch from '2026-07-22 14:53:50'::timestamp) - extract(epoch from '2026-07-22 14:53: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'), 47870, 'SRID=4674;POINT (-39.771016 -2.63231)', '2026-07-22 14:53:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770983 -2.632221)'), GeomFromEWKT('SRID=4674;POINT (-39.771016 -2.63231)'))) / (select extract(epoch from '2026-07-22 14:53:55'::timestamp) - extract(epoch from '2026-07-22 14:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770983 -2.632221)'), GeomFromEWKT('SRID=4674;POINT (-39.771016 -2.63231)'))) / (select extract(epoch from '2026-07-22 14:53:55'::timestamp) - extract(epoch from '2026-07-22 14:53: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'), 47870, 'SRID=4674;POINT (-39.771018 -2.632392)', '2026-07-22 14:54:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771016 -2.63231)'), GeomFromEWKT('SRID=4674;POINT (-39.771018 -2.632392)'))) / (select extract(epoch from '2026-07-22 14:54:00'::timestamp) - extract(epoch from '2026-07-22 14:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771016 -2.63231)'), GeomFromEWKT('SRID=4674;POINT (-39.771018 -2.632392)'))) / (select extract(epoch from '2026-07-22 14:54:00'::timestamp) - extract(epoch from '2026-07-22 14:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.771014 -2.632421)', '2026-07-22 14:54:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771018 -2.632392)'), GeomFromEWKT('SRID=4674;POINT (-39.771014 -2.632421)'))) / (select extract(epoch from '2026-07-22 14:54:02'::timestamp) - extract(epoch from '2026-07-22 14:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771018 -2.632392)'), GeomFromEWKT('SRID=4674;POINT (-39.771014 -2.632421)'))) / (select extract(epoch from '2026-07-22 14:54:02'::timestamp) - extract(epoch from '2026-07-22 14:54: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'), 47870, 'SRID=4674;POINT (-39.770994 -2.632469)', '2026-07-22 14:54:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771014 -2.632421)'), GeomFromEWKT('SRID=4674;POINT (-39.770994 -2.632469)'))) / (select extract(epoch from '2026-07-22 14:54:05'::timestamp) - extract(epoch from '2026-07-22 14:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.771014 -2.632421)'), GeomFromEWKT('SRID=4674;POINT (-39.770994 -2.632469)'))) / (select extract(epoch from '2026-07-22 14:54:05'::timestamp) - extract(epoch from '2026-07-22 14:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770941 -2.632567)', '2026-07-22 14:54:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770994 -2.632469)'), GeomFromEWKT('SRID=4674;POINT (-39.770941 -2.632567)'))) / (select extract(epoch from '2026-07-22 14:54:12'::timestamp) - extract(epoch from '2026-07-22 14:54:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770994 -2.632469)'), GeomFromEWKT('SRID=4674;POINT (-39.770941 -2.632567)'))) / (select extract(epoch from '2026-07-22 14:54:12'::timestamp) - extract(epoch from '2026-07-22 14:54: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'), 47870, 'SRID=4674;POINT (-39.77086 -2.632658)', '2026-07-22 14:54:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770941 -2.632567)'), GeomFromEWKT('SRID=4674;POINT (-39.77086 -2.632658)'))) / (select extract(epoch from '2026-07-22 14:54:19'::timestamp) - extract(epoch from '2026-07-22 14:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770941 -2.632567)'), GeomFromEWKT('SRID=4674;POINT (-39.77086 -2.632658)'))) / (select extract(epoch from '2026-07-22 14:54:19'::timestamp) - extract(epoch from '2026-07-22 14:54:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770806 -2.632723)', '2026-07-22 14:54:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77086 -2.632658)'), GeomFromEWKT('SRID=4674;POINT (-39.770806 -2.632723)'))) / (select extract(epoch from '2026-07-22 14:54:24'::timestamp) - extract(epoch from '2026-07-22 14:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77086 -2.632658)'), GeomFromEWKT('SRID=4674;POINT (-39.770806 -2.632723)'))) / (select extract(epoch from '2026-07-22 14:54:24'::timestamp) - extract(epoch from '2026-07-22 14:54: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'), 47870, 'SRID=4674;POINT (-39.770765 -2.632773)', '2026-07-22 14:54:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770806 -2.632723)'), GeomFromEWKT('SRID=4674;POINT (-39.770765 -2.632773)'))) / (select extract(epoch from '2026-07-22 14:54:28'::timestamp) - extract(epoch from '2026-07-22 14:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770806 -2.632723)'), GeomFromEWKT('SRID=4674;POINT (-39.770765 -2.632773)'))) / (select extract(epoch from '2026-07-22 14:54:28'::timestamp) - extract(epoch from '2026-07-22 14:54:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770752 -2.632783)', '2026-07-22 14:54:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770765 -2.632773)'), GeomFromEWKT('SRID=4674;POINT (-39.770752 -2.632783)'))) / (select extract(epoch from '2026-07-22 14:54:29'::timestamp) - extract(epoch from '2026-07-22 14:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770765 -2.632773)'), GeomFromEWKT('SRID=4674;POINT (-39.770752 -2.632783)'))) / (select extract(epoch from '2026-07-22 14:54:29'::timestamp) - extract(epoch from '2026-07-22 14:54: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'), 47870, 'SRID=4674;POINT (-39.770694 -2.63284)', '2026-07-22 14:54:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770752 -2.632783)'), GeomFromEWKT('SRID=4674;POINT (-39.770694 -2.63284)'))) / (select extract(epoch from '2026-07-22 14:54:34'::timestamp) - extract(epoch from '2026-07-22 14:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770752 -2.632783)'), GeomFromEWKT('SRID=4674;POINT (-39.770694 -2.63284)'))) / (select extract(epoch from '2026-07-22 14:54:34'::timestamp) - extract(epoch from '2026-07-22 14:54: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'), 47870, 'SRID=4674;POINT (-39.770619 -2.632866)', '2026-07-22 14:54:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770694 -2.63284)'), GeomFromEWKT('SRID=4674;POINT (-39.770619 -2.632866)'))) / (select extract(epoch from '2026-07-22 14:54:41'::timestamp) - extract(epoch from '2026-07-22 14:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770694 -2.63284)'), GeomFromEWKT('SRID=4674;POINT (-39.770619 -2.632866)'))) / (select extract(epoch from '2026-07-22 14:54:41'::timestamp) - extract(epoch from '2026-07-22 14:54:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770581 -2.63286)', '2026-07-22 14:54:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770619 -2.632866)'), GeomFromEWKT('SRID=4674;POINT (-39.770581 -2.63286)'))) / (select extract(epoch from '2026-07-22 14:54:46'::timestamp) - extract(epoch from '2026-07-22 14:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770619 -2.632866)'), GeomFromEWKT('SRID=4674;POINT (-39.770581 -2.63286)'))) / (select extract(epoch from '2026-07-22 14:54:46'::timestamp) - extract(epoch from '2026-07-22 14:54: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'), 47870, 'SRID=4674;POINT (-39.77054 -2.632809)', '2026-07-22 14:54:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770581 -2.63286)'), GeomFromEWKT('SRID=4674;POINT (-39.77054 -2.632809)'))) / (select extract(epoch from '2026-07-22 14:54:54'::timestamp) - extract(epoch from '2026-07-22 14:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770581 -2.63286)'), GeomFromEWKT('SRID=4674;POINT (-39.77054 -2.632809)'))) / (select extract(epoch from '2026-07-22 14:54:54'::timestamp) - extract(epoch from '2026-07-22 14:54: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'), 47870, 'SRID=4674;POINT (-39.770543 -2.632767)', '2026-07-22 14:55:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77054 -2.632809)'), GeomFromEWKT('SRID=4674;POINT (-39.770543 -2.632767)'))) / (select extract(epoch from '2026-07-22 14:55:02'::timestamp) - extract(epoch from '2026-07-22 14:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77054 -2.632809)'), GeomFromEWKT('SRID=4674;POINT (-39.770543 -2.632767)'))) / (select extract(epoch from '2026-07-22 14:55:02'::timestamp) - extract(epoch from '2026-07-22 14:54:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770565 -2.632694)', '2026-07-22 14:55:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770543 -2.632767)'), GeomFromEWKT('SRID=4674;POINT (-39.770565 -2.632694)'))) / (select extract(epoch from '2026-07-22 14:55:14'::timestamp) - extract(epoch from '2026-07-22 14:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770543 -2.632767)'), GeomFromEWKT('SRID=4674;POINT (-39.770565 -2.632694)'))) / (select extract(epoch from '2026-07-22 14:55:14'::timestamp) - extract(epoch from '2026-07-22 14:55:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770604 -2.63264)', '2026-07-22 14:55:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770565 -2.632694)'), GeomFromEWKT('SRID=4674;POINT (-39.770604 -2.63264)'))) / (select extract(epoch from '2026-07-22 14:55:25'::timestamp) - extract(epoch from '2026-07-22 14:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770565 -2.632694)'), GeomFromEWKT('SRID=4674;POINT (-39.770604 -2.63264)'))) / (select extract(epoch from '2026-07-22 14:55:25'::timestamp) - extract(epoch from '2026-07-22 14:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770624 -2.632581)', '2026-07-22 14:55:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770604 -2.63264)'), GeomFromEWKT('SRID=4674;POINT (-39.770624 -2.632581)'))) / (select extract(epoch from '2026-07-22 14:55:34'::timestamp) - extract(epoch from '2026-07-22 14:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770604 -2.63264)'), GeomFromEWKT('SRID=4674;POINT (-39.770624 -2.632581)'))) / (select extract(epoch from '2026-07-22 14:55:34'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.770626 -2.632515)', '2026-07-22 14:55:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770624 -2.632581)'), GeomFromEWKT('SRID=4674;POINT (-39.770626 -2.632515)'))) / (select extract(epoch from '2026-07-22 14:55:43'::timestamp) - extract(epoch from '2026-07-22 14:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770624 -2.632581)'), GeomFromEWKT('SRID=4674;POINT (-39.770626 -2.632515)'))) / (select extract(epoch from '2026-07-22 14:55:43'::timestamp) - extract(epoch from '2026-07-22 14:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770637 -2.632485)', '2026-07-22 14:55:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770626 -2.632515)'), GeomFromEWKT('SRID=4674;POINT (-39.770637 -2.632485)'))) / (select extract(epoch from '2026-07-22 14:55:48'::timestamp) - extract(epoch from '2026-07-22 14:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770626 -2.632515)'), GeomFromEWKT('SRID=4674;POINT (-39.770637 -2.632485)'))) / (select extract(epoch from '2026-07-22 14:55:48'::timestamp) - extract(epoch from '2026-07-22 14:55: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'), 47870, 'SRID=4674;POINT (-39.770638 -2.632465)', '2026-07-22 14:55:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770637 -2.632485)'), GeomFromEWKT('SRID=4674;POINT (-39.770638 -2.632465)'))) / (select extract(epoch from '2026-07-22 14:55:50'::timestamp) - extract(epoch from '2026-07-22 14:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770637 -2.632485)'), GeomFromEWKT('SRID=4674;POINT (-39.770638 -2.632465)'))) / (select extract(epoch from '2026-07-22 14:55:50'::timestamp) - extract(epoch from '2026-07-22 14:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770652 -2.632456)', '2026-07-22 14:55:51', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770638 -2.632465)'), GeomFromEWKT('SRID=4674;POINT (-39.770652 -2.632456)'))) / (select extract(epoch from '2026-07-22 14:55:51'::timestamp) - extract(epoch from '2026-07-22 14:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770638 -2.632465)'), GeomFromEWKT('SRID=4674;POINT (-39.770652 -2.632456)'))) / (select extract(epoch from '2026-07-22 14:55:51'::timestamp) - extract(epoch from '2026-07-22 14:55: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'), 47870, 'SRID=4674;POINT (-39.770677 -2.632417)', '2026-07-22 14:55:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770652 -2.632456)'), GeomFromEWKT('SRID=4674;POINT (-39.770677 -2.632417)'))) / (select extract(epoch from '2026-07-22 14:55:57'::timestamp) - extract(epoch from '2026-07-22 14:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770652 -2.632456)'), GeomFromEWKT('SRID=4674;POINT (-39.770677 -2.632417)'))) / (select extract(epoch from '2026-07-22 14:55:57'::timestamp) - extract(epoch from '2026-07-22 14:55: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'), 47870, 'SRID=4674;POINT (-39.770721 -2.632399)', '2026-07-22 14:56:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770677 -2.632417)'), GeomFromEWKT('SRID=4674;POINT (-39.770721 -2.632399)'))) / (select extract(epoch from '2026-07-22 14:56:08'::timestamp) - extract(epoch from '2026-07-22 14:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770677 -2.632417)'), GeomFromEWKT('SRID=4674;POINT (-39.770721 -2.632399)'))) / (select extract(epoch from '2026-07-22 14:56:08'::timestamp) - extract(epoch from '2026-07-22 14:55:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770759 -2.632448)', '2026-07-22 14:56:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770721 -2.632399)'), GeomFromEWKT('SRID=4674;POINT (-39.770759 -2.632448)'))) / (select extract(epoch from '2026-07-22 14:56:18'::timestamp) - extract(epoch from '2026-07-22 14:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770721 -2.632399)'), GeomFromEWKT('SRID=4674;POINT (-39.770759 -2.632448)'))) / (select extract(epoch from '2026-07-22 14:56:18'::timestamp) - extract(epoch from '2026-07-22 14:56:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770821 -2.632437)', '2026-07-22 14:56:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770759 -2.632448)'), GeomFromEWKT('SRID=4674;POINT (-39.770821 -2.632437)'))) / (select extract(epoch from '2026-07-22 14:56:42'::timestamp) - extract(epoch from '2026-07-22 14:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770759 -2.632448)'), GeomFromEWKT('SRID=4674;POINT (-39.770821 -2.632437)'))) / (select extract(epoch from '2026-07-22 14:56:42'::timestamp) - extract(epoch from '2026-07-22 14:56: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'), 47870, 'SRID=4674;POINT (-39.77086 -2.632405)', '2026-07-22 14:56:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770821 -2.632437)'), GeomFromEWKT('SRID=4674;POINT (-39.77086 -2.632405)'))) / (select extract(epoch from '2026-07-22 14:56:52'::timestamp) - extract(epoch from '2026-07-22 14:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770821 -2.632437)'), GeomFromEWKT('SRID=4674;POINT (-39.77086 -2.632405)'))) / (select extract(epoch from '2026-07-22 14:56:52'::timestamp) - extract(epoch from '2026-07-22 14:56: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'), 47870, 'SRID=4674;POINT (-39.770869 -2.632386)', '2026-07-22 14:56:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77086 -2.632405)'), GeomFromEWKT('SRID=4674;POINT (-39.770869 -2.632386)'))) / (select extract(epoch from '2026-07-22 14:56:59'::timestamp) - extract(epoch from '2026-07-22 14:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77086 -2.632405)'), GeomFromEWKT('SRID=4674;POINT (-39.770869 -2.632386)'))) / (select extract(epoch from '2026-07-22 14:56:59'::timestamp) - extract(epoch from '2026-07-22 14:56: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'), 47870, 'SRID=4674;POINT (-39.770877 -2.632358)', '2026-07-22 14:57:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770869 -2.632386)'), GeomFromEWKT('SRID=4674;POINT (-39.770877 -2.632358)'))) / (select extract(epoch from '2026-07-22 14:57:14'::timestamp) - extract(epoch from '2026-07-22 14:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770869 -2.632386)'), GeomFromEWKT('SRID=4674;POINT (-39.770877 -2.632358)'))) / (select extract(epoch from '2026-07-22 14:57:14'::timestamp) - extract(epoch from '2026-07-22 14:56: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'), 47870, 'SRID=4674;POINT (-39.770898 -2.632339)', '2026-07-22 14:57:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770877 -2.632358)'), GeomFromEWKT('SRID=4674;POINT (-39.770898 -2.632339)'))) / (select extract(epoch from '2026-07-22 14:57:17'::timestamp) - extract(epoch from '2026-07-22 14:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770877 -2.632358)'), GeomFromEWKT('SRID=4674;POINT (-39.770898 -2.632339)'))) / (select extract(epoch from '2026-07-22 14:57:17'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.770906 -2.632314)', '2026-07-22 14:57:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770898 -2.632339)'), GeomFromEWKT('SRID=4674;POINT (-39.770906 -2.632314)'))) / (select extract(epoch from '2026-07-22 14:57:24'::timestamp) - extract(epoch from '2026-07-22 14:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770898 -2.632339)'), GeomFromEWKT('SRID=4674;POINT (-39.770906 -2.632314)'))) / (select extract(epoch from '2026-07-22 14:57:24'::timestamp) - extract(epoch from '2026-07-22 14:57: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'), 47870, 'SRID=4674;POINT (-39.770845 -2.63237)', '2026-07-22 14:57:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770906 -2.632314)'), GeomFromEWKT('SRID=4674;POINT (-39.770845 -2.63237)'))) / (select extract(epoch from '2026-07-22 14:57:38'::timestamp) - extract(epoch from '2026-07-22 14:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770906 -2.632314)'), GeomFromEWKT('SRID=4674;POINT (-39.770845 -2.63237)'))) / (select extract(epoch from '2026-07-22 14:57:38'::timestamp) - extract(epoch from '2026-07-22 14:57: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'), 47870, 'SRID=4674;POINT (-39.770823 -2.632471)', '2026-07-22 14:57:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770845 -2.63237)'), GeomFromEWKT('SRID=4674;POINT (-39.770823 -2.632471)'))) / (select extract(epoch from '2026-07-22 14:57:46'::timestamp) - extract(epoch from '2026-07-22 14:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770845 -2.63237)'), GeomFromEWKT('SRID=4674;POINT (-39.770823 -2.632471)'))) / (select extract(epoch from '2026-07-22 14:57:46'::timestamp) - extract(epoch from '2026-07-22 14:57: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'), 47870, 'SRID=4674;POINT (-39.770801 -2.632583)', '2026-07-22 14:57:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770823 -2.632471)'), GeomFromEWKT('SRID=4674;POINT (-39.770801 -2.632583)'))) / (select extract(epoch from '2026-07-22 14:57:52'::timestamp) - extract(epoch from '2026-07-22 14:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770823 -2.632471)'), GeomFromEWKT('SRID=4674;POINT (-39.770801 -2.632583)'))) / (select extract(epoch from '2026-07-22 14:57:52'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.770789 -2.632683)', '2026-07-22 14:57:57', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770801 -2.632583)'), GeomFromEWKT('SRID=4674;POINT (-39.770789 -2.632683)'))) / (select extract(epoch from '2026-07-22 14:57:57'::timestamp) - extract(epoch from '2026-07-22 14:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770801 -2.632583)'), GeomFromEWKT('SRID=4674;POINT (-39.770789 -2.632683)'))) / (select extract(epoch from '2026-07-22 14:57:57'::timestamp) - extract(epoch from '2026-07-22 14:57:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770761 -2.63281)', '2026-07-22 14:58:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770789 -2.632683)'), GeomFromEWKT('SRID=4674;POINT (-39.770761 -2.63281)'))) / (select extract(epoch from '2026-07-22 14:58:02'::timestamp) - extract(epoch from '2026-07-22 14:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770789 -2.632683)'), GeomFromEWKT('SRID=4674;POINT (-39.770761 -2.63281)'))) / (select extract(epoch from '2026-07-22 14:58:02'::timestamp) - extract(epoch from '2026-07-22 14:57: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'), 47870, 'SRID=4674;POINT (-39.770743 -2.632908)', '2026-07-22 14:58:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770761 -2.63281)'), GeomFromEWKT('SRID=4674;POINT (-39.770743 -2.632908)'))) / (select extract(epoch from '2026-07-22 14:58:08'::timestamp) - extract(epoch from '2026-07-22 14:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770761 -2.63281)'), GeomFromEWKT('SRID=4674;POINT (-39.770743 -2.632908)'))) / (select extract(epoch from '2026-07-22 14:58:08'::timestamp) - extract(epoch from '2026-07-22 14:58: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'), 47870, 'SRID=4674;POINT (-39.77073 -2.632958)', '2026-07-22 14:58:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770743 -2.632908)'), GeomFromEWKT('SRID=4674;POINT (-39.77073 -2.632958)'))) / (select extract(epoch from '2026-07-22 14:58:10'::timestamp) - extract(epoch from '2026-07-22 14:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770743 -2.632908)'), GeomFromEWKT('SRID=4674;POINT (-39.77073 -2.632958)'))) / (select extract(epoch from '2026-07-22 14:58:10'::timestamp) - extract(epoch from '2026-07-22 14:58:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770728 -2.633)', '2026-07-22 14:58:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77073 -2.632958)'), GeomFromEWKT('SRID=4674;POINT (-39.770728 -2.633)'))) / (select extract(epoch from '2026-07-22 14:58:12'::timestamp) - extract(epoch from '2026-07-22 14:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77073 -2.632958)'), GeomFromEWKT('SRID=4674;POINT (-39.770728 -2.633)'))) / (select extract(epoch from '2026-07-22 14:58:12'::timestamp) - extract(epoch from '2026-07-22 14:58: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'), 47870, 'SRID=4674;POINT (-39.770709 -2.633172)', '2026-07-22 14:58:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770728 -2.633)'), GeomFromEWKT('SRID=4674;POINT (-39.770709 -2.633172)'))) / (select extract(epoch from '2026-07-22 14:58:20'::timestamp) - extract(epoch from '2026-07-22 14:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770728 -2.633)'), GeomFromEWKT('SRID=4674;POINT (-39.770709 -2.633172)'))) / (select extract(epoch from '2026-07-22 14:58:20'::timestamp) - extract(epoch from '2026-07-22 14:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770691 -2.63332)', '2026-07-22 14:58:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770709 -2.633172)'), GeomFromEWKT('SRID=4674;POINT (-39.770691 -2.63332)'))) / (select extract(epoch from '2026-07-22 14:58:28'::timestamp) - extract(epoch from '2026-07-22 14:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770709 -2.633172)'), GeomFromEWKT('SRID=4674;POINT (-39.770691 -2.63332)'))) / (select extract(epoch from '2026-07-22 14:58:28'::timestamp) - extract(epoch from '2026-07-22 14:58: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'), 47870, 'SRID=4674;POINT (-39.770689 -2.633459)', '2026-07-22 14:58:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770691 -2.63332)'), GeomFromEWKT('SRID=4674;POINT (-39.770689 -2.633459)'))) / (select extract(epoch from '2026-07-22 14:58:34'::timestamp) - extract(epoch from '2026-07-22 14:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770691 -2.63332)'), GeomFromEWKT('SRID=4674;POINT (-39.770689 -2.633459)'))) / (select extract(epoch from '2026-07-22 14:58:34'::timestamp) - extract(epoch from '2026-07-22 14:58: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'), 47870, 'SRID=4674;POINT (-39.770679 -2.633576)', '2026-07-22 14:58:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770689 -2.633459)'), GeomFromEWKT('SRID=4674;POINT (-39.770679 -2.633576)'))) / (select extract(epoch from '2026-07-22 14:58:40'::timestamp) - extract(epoch from '2026-07-22 14:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770689 -2.633459)'), GeomFromEWKT('SRID=4674;POINT (-39.770679 -2.633576)'))) / (select extract(epoch from '2026-07-22 14:58:40'::timestamp) - extract(epoch from '2026-07-22 14:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.77066 -2.633701)', '2026-07-22 14:58:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770679 -2.633576)'), GeomFromEWKT('SRID=4674;POINT (-39.77066 -2.633701)'))) / (select extract(epoch from '2026-07-22 14:58:46'::timestamp) - extract(epoch from '2026-07-22 14:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770679 -2.633576)'), GeomFromEWKT('SRID=4674;POINT (-39.77066 -2.633701)'))) / (select extract(epoch from '2026-07-22 14:58:46'::timestamp) - extract(epoch from '2026-07-22 14:58: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'), 47870, 'SRID=4674;POINT (-39.770642 -2.633869)', '2026-07-22 14:58:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77066 -2.633701)'), GeomFromEWKT('SRID=4674;POINT (-39.770642 -2.633869)'))) / (select extract(epoch from '2026-07-22 14:58:54'::timestamp) - extract(epoch from '2026-07-22 14:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77066 -2.633701)'), GeomFromEWKT('SRID=4674;POINT (-39.770642 -2.633869)'))) / (select extract(epoch from '2026-07-22 14:58:54'::timestamp) - extract(epoch from '2026-07-22 14:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770639 -2.633889)', '2026-07-22 14:58:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770642 -2.633869)'), GeomFromEWKT('SRID=4674;POINT (-39.770639 -2.633889)'))) / (select extract(epoch from '2026-07-22 14:58:55'::timestamp) - extract(epoch from '2026-07-22 14:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770642 -2.633869)'), GeomFromEWKT('SRID=4674;POINT (-39.770639 -2.633889)'))) / (select extract(epoch from '2026-07-22 14:58:55'::timestamp) - extract(epoch from '2026-07-22 14:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770613 -2.633963)', '2026-07-22 14:58:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770639 -2.633889)'), GeomFromEWKT('SRID=4674;POINT (-39.770613 -2.633963)'))) / (select extract(epoch from '2026-07-22 14:58:59'::timestamp) - extract(epoch from '2026-07-22 14:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770639 -2.633889)'), GeomFromEWKT('SRID=4674;POINT (-39.770613 -2.633963)'))) / (select extract(epoch from '2026-07-22 14:58:59'::timestamp) - extract(epoch from '2026-07-22 14:58:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770567 -2.634026)', '2026-07-22 14:59:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770613 -2.633963)'), GeomFromEWKT('SRID=4674;POINT (-39.770567 -2.634026)'))) / (select extract(epoch from '2026-07-22 14:59:03'::timestamp) - extract(epoch from '2026-07-22 14:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770613 -2.633963)'), GeomFromEWKT('SRID=4674;POINT (-39.770567 -2.634026)'))) / (select extract(epoch from '2026-07-22 14:59:03'::timestamp) - extract(epoch from '2026-07-22 14:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770551 -2.634036)', '2026-07-22 14:59:04', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770567 -2.634026)'), GeomFromEWKT('SRID=4674;POINT (-39.770551 -2.634036)'))) / (select extract(epoch from '2026-07-22 14:59:04'::timestamp) - extract(epoch from '2026-07-22 14:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770567 -2.634026)'), GeomFromEWKT('SRID=4674;POINT (-39.770551 -2.634036)'))) / (select extract(epoch from '2026-07-22 14:59:04'::timestamp) - extract(epoch from '2026-07-22 14:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770473 -2.634109)', '2026-07-22 14:59:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770551 -2.634036)'), GeomFromEWKT('SRID=4674;POINT (-39.770473 -2.634109)'))) / (select extract(epoch from '2026-07-22 14:59:10'::timestamp) - extract(epoch from '2026-07-22 14:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770551 -2.634036)'), GeomFromEWKT('SRID=4674;POINT (-39.770473 -2.634109)'))) / (select extract(epoch from '2026-07-22 14:59:10'::timestamp) - extract(epoch from '2026-07-22 14:59: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'), 47870, 'SRID=4674;POINT (-39.770395 -2.634154)', '2026-07-22 14:59:16', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770473 -2.634109)'), GeomFromEWKT('SRID=4674;POINT (-39.770395 -2.634154)'))) / (select extract(epoch from '2026-07-22 14:59:16'::timestamp) - extract(epoch from '2026-07-22 14:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770473 -2.634109)'), GeomFromEWKT('SRID=4674;POINT (-39.770395 -2.634154)'))) / (select extract(epoch from '2026-07-22 14:59:16'::timestamp) - extract(epoch from '2026-07-22 14:59: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'), 47870, 'SRID=4674;POINT (-39.770332 -2.634182)', '2026-07-22 14:59:21', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770395 -2.634154)'), GeomFromEWKT('SRID=4674;POINT (-39.770332 -2.634182)'))) / (select extract(epoch from '2026-07-22 14:59:21'::timestamp) - extract(epoch from '2026-07-22 14:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770395 -2.634154)'), GeomFromEWKT('SRID=4674;POINT (-39.770332 -2.634182)'))) / (select extract(epoch from '2026-07-22 14:59:21'::timestamp) - extract(epoch from '2026-07-22 14:59: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'), 47870, 'SRID=4674;POINT (-39.770241 -2.634202)', '2026-07-22 14:59:26', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770332 -2.634182)'), GeomFromEWKT('SRID=4674;POINT (-39.770241 -2.634202)'))) / (select extract(epoch from '2026-07-22 14:59:26'::timestamp) - extract(epoch from '2026-07-22 14:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770332 -2.634182)'), GeomFromEWKT('SRID=4674;POINT (-39.770241 -2.634202)'))) / (select extract(epoch from '2026-07-22 14:59:26'::timestamp) - extract(epoch from '2026-07-22 14:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770229 -2.634199)', '2026-07-22 14:59:27', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770241 -2.634202)'), GeomFromEWKT('SRID=4674;POINT (-39.770229 -2.634199)'))) / (select extract(epoch from '2026-07-22 14:59:27'::timestamp) - extract(epoch from '2026-07-22 14:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770241 -2.634202)'), GeomFromEWKT('SRID=4674;POINT (-39.770229 -2.634199)'))) / (select extract(epoch from '2026-07-22 14:59:27'::timestamp) - extract(epoch from '2026-07-22 14:59: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'), 47870, 'SRID=4674;POINT (-39.770176 -2.634165)', '2026-07-22 14:59:35', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770229 -2.634199)'), GeomFromEWKT('SRID=4674;POINT (-39.770176 -2.634165)'))) / (select extract(epoch from '2026-07-22 14:59:35'::timestamp) - extract(epoch from '2026-07-22 14:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770229 -2.634199)'), GeomFromEWKT('SRID=4674;POINT (-39.770176 -2.634165)'))) / (select extract(epoch from '2026-07-22 14:59:35'::timestamp) - extract(epoch from '2026-07-22 14:59: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'), 47870, 'SRID=4674;POINT (-39.770169 -2.634145)', '2026-07-22 14:59:41', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770176 -2.634165)'), GeomFromEWKT('SRID=4674;POINT (-39.770169 -2.634145)'))) / (select extract(epoch from '2026-07-22 14:59:41'::timestamp) - extract(epoch from '2026-07-22 14:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770176 -2.634165)'), GeomFromEWKT('SRID=4674;POINT (-39.770169 -2.634145)'))) / (select extract(epoch from '2026-07-22 14:59:41'::timestamp) - extract(epoch from '2026-07-22 14:59: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'), 47870, 'SRID=4674;POINT (-39.770178 -2.634115)', '2026-07-22 14:59:47', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770169 -2.634145)'), GeomFromEWKT('SRID=4674;POINT (-39.770178 -2.634115)'))) / (select extract(epoch from '2026-07-22 14:59:47'::timestamp) - extract(epoch from '2026-07-22 14:59:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770169 -2.634145)'), GeomFromEWKT('SRID=4674;POINT (-39.770178 -2.634115)'))) / (select extract(epoch from '2026-07-22 14:59:47'::timestamp) - extract(epoch from '2026-07-22 14:59: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'), 47870, 'SRID=4674;POINT (-39.770192 -2.634098)', '2026-07-22 14:59:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770178 -2.634115)'), GeomFromEWKT('SRID=4674;POINT (-39.770192 -2.634098)'))) / (select extract(epoch from '2026-07-22 14:59:50'::timestamp) - extract(epoch from '2026-07-22 14:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770178 -2.634115)'), GeomFromEWKT('SRID=4674;POINT (-39.770192 -2.634098)'))) / (select extract(epoch from '2026-07-22 14:59:50'::timestamp) - extract(epoch from '2026-07-22 14:59: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'), 47870, 'SRID=4674;POINT (-39.770225 -2.63404)', '2026-07-22 15:00:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770192 -2.634098)'), GeomFromEWKT('SRID=4674;POINT (-39.770225 -2.63404)'))) / (select extract(epoch from '2026-07-22 15:00:00'::timestamp) - extract(epoch from '2026-07-22 14:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770192 -2.634098)'), GeomFromEWKT('SRID=4674;POINT (-39.770225 -2.63404)'))) / (select extract(epoch from '2026-07-22 15:00:00'::timestamp) - extract(epoch from '2026-07-22 14: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'), 47870, 'SRID=4674;POINT (-39.770274 -2.633974)', '2026-07-22 15:00:11', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770225 -2.63404)'), GeomFromEWKT('SRID=4674;POINT (-39.770274 -2.633974)'))) / (select extract(epoch from '2026-07-22 15:00:11'::timestamp) - extract(epoch from '2026-07-22 15:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770225 -2.63404)'), GeomFromEWKT('SRID=4674;POINT (-39.770274 -2.633974)'))) / (select extract(epoch from '2026-07-22 15:00:11'::timestamp) - extract(epoch from '2026-07-22 15:00: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'), 47870, 'SRID=4674;POINT (-39.770284 -2.633965)', '2026-07-22 15:00:13', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770274 -2.633974)'), GeomFromEWKT('SRID=4674;POINT (-39.770284 -2.633965)'))) / (select extract(epoch from '2026-07-22 15:00:13'::timestamp) - extract(epoch from '2026-07-22 15:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770274 -2.633974)'), GeomFromEWKT('SRID=4674;POINT (-39.770284 -2.633965)'))) / (select extract(epoch from '2026-07-22 15:00:13'::timestamp) - extract(epoch from '2026-07-22 15:00:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770316 -2.633946)', '2026-07-22 15:00:18', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770284 -2.633965)'), GeomFromEWKT('SRID=4674;POINT (-39.770316 -2.633946)'))) / (select extract(epoch from '2026-07-22 15:00:18'::timestamp) - extract(epoch from '2026-07-22 15:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770284 -2.633965)'), GeomFromEWKT('SRID=4674;POINT (-39.770316 -2.633946)'))) / (select extract(epoch from '2026-07-22 15:00:18'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770334 -2.633912)', '2026-07-22 15:00:26', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770316 -2.633946)'), GeomFromEWKT('SRID=4674;POINT (-39.770334 -2.633912)'))) / (select extract(epoch from '2026-07-22 15:00:26'::timestamp) - extract(epoch from '2026-07-22 15:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770316 -2.633946)'), GeomFromEWKT('SRID=4674;POINT (-39.770334 -2.633912)'))) / (select extract(epoch from '2026-07-22 15:00:26'::timestamp) - extract(epoch from '2026-07-22 15:00: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'), 47870, 'SRID=4674;POINT (-39.770357 -2.633891)', '2026-07-22 15:00:33', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770334 -2.633912)'), GeomFromEWKT('SRID=4674;POINT (-39.770357 -2.633891)'))) / (select extract(epoch from '2026-07-22 15:00:33'::timestamp) - extract(epoch from '2026-07-22 15:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770334 -2.633912)'), GeomFromEWKT('SRID=4674;POINT (-39.770357 -2.633891)'))) / (select extract(epoch from '2026-07-22 15:00:33'::timestamp) - extract(epoch from '2026-07-22 15:00: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'), 47870, 'SRID=4674;POINT (-39.770374 -2.633857)', '2026-07-22 15:00:42', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770357 -2.633891)'), GeomFromEWKT('SRID=4674;POINT (-39.770374 -2.633857)'))) / (select extract(epoch from '2026-07-22 15:00:42'::timestamp) - extract(epoch from '2026-07-22 15:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770357 -2.633891)'), GeomFromEWKT('SRID=4674;POINT (-39.770374 -2.633857)'))) / (select extract(epoch from '2026-07-22 15:00:42'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770379 -2.633829)', '2026-07-22 15:00:50', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770374 -2.633857)'), GeomFromEWKT('SRID=4674;POINT (-39.770379 -2.633829)'))) / (select extract(epoch from '2026-07-22 15:00:50'::timestamp) - extract(epoch from '2026-07-22 15:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770374 -2.633857)'), GeomFromEWKT('SRID=4674;POINT (-39.770379 -2.633829)'))) / (select extract(epoch from '2026-07-22 15:00:50'::timestamp) - extract(epoch from '2026-07-22 15:00: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'), 47870, 'SRID=4674;POINT (-39.770365 -2.633807)', '2026-07-22 15:00:59', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770379 -2.633829)'), GeomFromEWKT('SRID=4674;POINT (-39.770365 -2.633807)'))) / (select extract(epoch from '2026-07-22 15:00:59'::timestamp) - extract(epoch from '2026-07-22 15:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770379 -2.633829)'), GeomFromEWKT('SRID=4674;POINT (-39.770365 -2.633807)'))) / (select extract(epoch from '2026-07-22 15:00:59'::timestamp) - extract(epoch from '2026-07-22 15:00: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'), 47870, 'SRID=4674;POINT (-39.770384 -2.633778)', '2026-07-22 15:01:07', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770365 -2.633807)'), GeomFromEWKT('SRID=4674;POINT (-39.770384 -2.633778)'))) / (select extract(epoch from '2026-07-22 15:01:07'::timestamp) - extract(epoch from '2026-07-22 15:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770365 -2.633807)'), GeomFromEWKT('SRID=4674;POINT (-39.770384 -2.633778)'))) / (select extract(epoch from '2026-07-22 15:01:07'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770373 -2.633758)', '2026-07-22 15:01:19', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770384 -2.633778)'), GeomFromEWKT('SRID=4674;POINT (-39.770373 -2.633758)'))) / (select extract(epoch from '2026-07-22 15:01:19'::timestamp) - extract(epoch from '2026-07-22 15:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770384 -2.633778)'), GeomFromEWKT('SRID=4674;POINT (-39.770373 -2.633758)'))) / (select extract(epoch from '2026-07-22 15:01:19'::timestamp) - extract(epoch from '2026-07-22 15:01: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'), 47870, 'SRID=4674;POINT (-39.770363 -2.633763)', '2026-07-22 15:01:28', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770373 -2.633758)'), GeomFromEWKT('SRID=4674;POINT (-39.770363 -2.633763)'))) / (select extract(epoch from '2026-07-22 15:01:28'::timestamp) - extract(epoch from '2026-07-22 15:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770373 -2.633758)'), GeomFromEWKT('SRID=4674;POINT (-39.770363 -2.633763)'))) / (select extract(epoch from '2026-07-22 15:01:28'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770363 -2.633749)', '2026-07-22 15:01:44', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770363 -2.633763)'), GeomFromEWKT('SRID=4674;POINT (-39.770363 -2.633749)'))) / (select extract(epoch from '2026-07-22 15:01:44'::timestamp) - extract(epoch from '2026-07-22 15:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770363 -2.633763)'), GeomFromEWKT('SRID=4674;POINT (-39.770363 -2.633749)'))) / (select extract(epoch from '2026-07-22 15:01:44'::timestamp) - extract(epoch from '2026-07-22 15:01: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'), 47870, 'SRID=4674;POINT (-39.770357 -2.633736)', '2026-07-22 15:01:51', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770363 -2.633749)'), GeomFromEWKT('SRID=4674;POINT (-39.770357 -2.633736)'))) / (select extract(epoch from '2026-07-22 15:01:51'::timestamp) - extract(epoch from '2026-07-22 15:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770363 -2.633749)'), GeomFromEWKT('SRID=4674;POINT (-39.770357 -2.633736)'))) / (select extract(epoch from '2026-07-22 15:01:51'::timestamp) - extract(epoch from '2026-07-22 15:01: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'), 47870, 'SRID=4674;POINT (-39.770365 -2.633711)', '2026-07-22 15:01:59', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770357 -2.633736)'), GeomFromEWKT('SRID=4674;POINT (-39.770365 -2.633711)'))) / (select extract(epoch from '2026-07-22 15:01:59'::timestamp) - extract(epoch from '2026-07-22 15:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770357 -2.633736)'), GeomFromEWKT('SRID=4674;POINT (-39.770365 -2.633711)'))) / (select extract(epoch from '2026-07-22 15:01:59'::timestamp) - extract(epoch from '2026-07-22 15:01: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'), 47870, 'SRID=4674;POINT (-39.770366 -2.633703)', '2026-07-22 15:02:30', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770365 -2.633711)'), GeomFromEWKT('SRID=4674;POINT (-39.770366 -2.633703)'))) / (select extract(epoch from '2026-07-22 15:02:30'::timestamp) - extract(epoch from '2026-07-22 15:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770365 -2.633711)'), GeomFromEWKT('SRID=4674;POINT (-39.770366 -2.633703)'))) / (select extract(epoch from '2026-07-22 15:02:30'::timestamp) - extract(epoch from '2026-07-22 15:01: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'), 47870, 'SRID=4674;POINT (-39.770377 -2.633699)', '2026-07-22 15:02:31', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770366 -2.633703)'), GeomFromEWKT('SRID=4674;POINT (-39.770377 -2.633699)'))) / (select extract(epoch from '2026-07-22 15:02:31'::timestamp) - extract(epoch from '2026-07-22 15:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770366 -2.633703)'), GeomFromEWKT('SRID=4674;POINT (-39.770377 -2.633699)'))) / (select extract(epoch from '2026-07-22 15:02:31'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770382 -2.633686)', '2026-07-22 15:02:34', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770377 -2.633699)'), GeomFromEWKT('SRID=4674;POINT (-39.770382 -2.633686)'))) / (select extract(epoch from '2026-07-22 15:02:34'::timestamp) - extract(epoch from '2026-07-22 15:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770377 -2.633699)'), GeomFromEWKT('SRID=4674;POINT (-39.770382 -2.633686)'))) / (select extract(epoch from '2026-07-22 15:02:34'::timestamp) - extract(epoch from '2026-07-22 15:02: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'), 47870, 'SRID=4674;POINT (-39.770388 -2.633682)', '2026-07-22 15:02:35', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770382 -2.633686)'), GeomFromEWKT('SRID=4674;POINT (-39.770388 -2.633682)'))) / (select extract(epoch from '2026-07-22 15:02:35'::timestamp) - extract(epoch from '2026-07-22 15:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770382 -2.633686)'), GeomFromEWKT('SRID=4674;POINT (-39.770388 -2.633682)'))) / (select extract(epoch from '2026-07-22 15:02:35'::timestamp) - extract(epoch from '2026-07-22 15:02: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'), 47870, 'SRID=4674;POINT (-39.770411 -2.633676)', '2026-07-22 15:02:39', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770388 -2.633682)'), GeomFromEWKT('SRID=4674;POINT (-39.770411 -2.633676)'))) / (select extract(epoch from '2026-07-22 15:02:39'::timestamp) - extract(epoch from '2026-07-22 15:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770388 -2.633682)'), GeomFromEWKT('SRID=4674;POINT (-39.770411 -2.633676)'))) / (select extract(epoch from '2026-07-22 15:02:39'::timestamp) - extract(epoch from '2026-07-22 15:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770454 -2.633651)', '2026-07-22 15:02:47', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770411 -2.633676)'), GeomFromEWKT('SRID=4674;POINT (-39.770454 -2.633651)'))) / (select extract(epoch from '2026-07-22 15:02:47'::timestamp) - extract(epoch from '2026-07-22 15:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770411 -2.633676)'), GeomFromEWKT('SRID=4674;POINT (-39.770454 -2.633651)'))) / (select extract(epoch from '2026-07-22 15:02:47'::timestamp) - extract(epoch from '2026-07-22 15:02: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'), 47870, 'SRID=4674;POINT (-39.770486 -2.633634)', '2026-07-22 15:02:53', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770454 -2.633651)'), GeomFromEWKT('SRID=4674;POINT (-39.770486 -2.633634)'))) / (select extract(epoch from '2026-07-22 15:02:53'::timestamp) - extract(epoch from '2026-07-22 15:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770454 -2.633651)'), GeomFromEWKT('SRID=4674;POINT (-39.770486 -2.633634)'))) / (select extract(epoch from '2026-07-22 15:02:53'::timestamp) - extract(epoch from '2026-07-22 15:02: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'), 47870, 'SRID=4674;POINT (-39.770512 -2.633608)', '2026-07-22 15:02:59', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770486 -2.633634)'), GeomFromEWKT('SRID=4674;POINT (-39.770512 -2.633608)'))) / (select extract(epoch from '2026-07-22 15:02:59'::timestamp) - extract(epoch from '2026-07-22 15:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770486 -2.633634)'), GeomFromEWKT('SRID=4674;POINT (-39.770512 -2.633608)'))) / (select extract(epoch from '2026-07-22 15:02:59'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770517 -2.633597)', '2026-07-22 15:03:08', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770512 -2.633608)'), GeomFromEWKT('SRID=4674;POINT (-39.770517 -2.633597)'))) / (select extract(epoch from '2026-07-22 15:03:08'::timestamp) - extract(epoch from '2026-07-22 15:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770512 -2.633608)'), GeomFromEWKT('SRID=4674;POINT (-39.770517 -2.633597)'))) / (select extract(epoch from '2026-07-22 15:03:08'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770503 -2.633612)', '2026-07-22 15:03:09', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770517 -2.633597)'), GeomFromEWKT('SRID=4674;POINT (-39.770503 -2.633612)'))) / (select extract(epoch from '2026-07-22 15:03:09'::timestamp) - extract(epoch from '2026-07-22 15:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770517 -2.633597)'), GeomFromEWKT('SRID=4674;POINT (-39.770503 -2.633612)'))) / (select extract(epoch from '2026-07-22 15:03:09'::timestamp) - extract(epoch from '2026-07-22 15:03: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'), 47870, 'SRID=4674;POINT (-39.770471 -2.633636)', '2026-07-22 15:03:13', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770503 -2.633612)'), GeomFromEWKT('SRID=4674;POINT (-39.770471 -2.633636)'))) / (select extract(epoch from '2026-07-22 15:03:13'::timestamp) - extract(epoch from '2026-07-22 15:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770503 -2.633612)'), GeomFromEWKT('SRID=4674;POINT (-39.770471 -2.633636)'))) / (select extract(epoch from '2026-07-22 15:03:13'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770427 -2.633678)', '2026-07-22 15:03:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770471 -2.633636)'), GeomFromEWKT('SRID=4674;POINT (-39.770427 -2.633678)'))) / (select extract(epoch from '2026-07-22 15:03:17'::timestamp) - extract(epoch from '2026-07-22 15:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770471 -2.633636)'), GeomFromEWKT('SRID=4674;POINT (-39.770427 -2.633678)'))) / (select extract(epoch from '2026-07-22 15:03:17'::timestamp) - extract(epoch from '2026-07-22 15:03: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'), 47870, 'SRID=4674;POINT (-39.770422 -2.633694)', '2026-07-22 15:03:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770427 -2.633678)'), GeomFromEWKT('SRID=4674;POINT (-39.770422 -2.633694)'))) / (select extract(epoch from '2026-07-22 15:03:18'::timestamp) - extract(epoch from '2026-07-22 15:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770427 -2.633678)'), GeomFromEWKT('SRID=4674;POINT (-39.770422 -2.633694)'))) / (select extract(epoch from '2026-07-22 15:03:18'::timestamp) - extract(epoch from '2026-07-22 15:03: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'), 47870, 'SRID=4674;POINT (-39.770395 -2.633794)', '2026-07-22 15:03:24', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770422 -2.633694)'), GeomFromEWKT('SRID=4674;POINT (-39.770395 -2.633794)'))) / (select extract(epoch from '2026-07-22 15:03:24'::timestamp) - extract(epoch from '2026-07-22 15:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770422 -2.633694)'), GeomFromEWKT('SRID=4674;POINT (-39.770395 -2.633794)'))) / (select extract(epoch from '2026-07-22 15:03:24'::timestamp) - extract(epoch from '2026-07-22 15:03: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'), 47870, 'SRID=4674;POINT (-39.770364 -2.633904)', '2026-07-22 15:03:30', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770395 -2.633794)'), GeomFromEWKT('SRID=4674;POINT (-39.770364 -2.633904)'))) / (select extract(epoch from '2026-07-22 15:03:30'::timestamp) - extract(epoch from '2026-07-22 15:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770395 -2.633794)'), GeomFromEWKT('SRID=4674;POINT (-39.770364 -2.633904)'))) / (select extract(epoch from '2026-07-22 15:03:30'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770327 -2.634)', '2026-07-22 15:03:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770364 -2.633904)'), GeomFromEWKT('SRID=4674;POINT (-39.770327 -2.634)'))) / (select extract(epoch from '2026-07-22 15:03:36'::timestamp) - extract(epoch from '2026-07-22 15:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770364 -2.633904)'), GeomFromEWKT('SRID=4674;POINT (-39.770327 -2.634)'))) / (select extract(epoch from '2026-07-22 15:03:36'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770347 -2.6341)', '2026-07-22 15:03:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770327 -2.634)'), GeomFromEWKT('SRID=4674;POINT (-39.770347 -2.6341)'))) / (select extract(epoch from '2026-07-22 15:03:42'::timestamp) - extract(epoch from '2026-07-22 15:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770327 -2.634)'), GeomFromEWKT('SRID=4674;POINT (-39.770347 -2.6341)'))) / (select extract(epoch from '2026-07-22 15:03:42'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770343 -2.634184)', '2026-07-22 15:03:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770347 -2.6341)'), GeomFromEWKT('SRID=4674;POINT (-39.770343 -2.634184)'))) / (select extract(epoch from '2026-07-22 15:03:47'::timestamp) - extract(epoch from '2026-07-22 15:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770347 -2.6341)'), GeomFromEWKT('SRID=4674;POINT (-39.770343 -2.634184)'))) / (select extract(epoch from '2026-07-22 15:03:47'::timestamp) - extract(epoch from '2026-07-22 15:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770303 -2.63431)', '2026-07-22 15:03:54', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770343 -2.634184)'), GeomFromEWKT('SRID=4674;POINT (-39.770303 -2.63431)'))) / (select extract(epoch from '2026-07-22 15:03:54'::timestamp) - extract(epoch from '2026-07-22 15:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770343 -2.634184)'), GeomFromEWKT('SRID=4674;POINT (-39.770303 -2.63431)'))) / (select extract(epoch from '2026-07-22 15:03:54'::timestamp) - extract(epoch from '2026-07-22 15:03: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'), 47870, 'SRID=4674;POINT (-39.77027 -2.634384)', '2026-07-22 15:03:59', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770303 -2.63431)'), GeomFromEWKT('SRID=4674;POINT (-39.77027 -2.634384)'))) / (select extract(epoch from '2026-07-22 15:03:59'::timestamp) - extract(epoch from '2026-07-22 15:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770303 -2.63431)'), GeomFromEWKT('SRID=4674;POINT (-39.77027 -2.634384)'))) / (select extract(epoch from '2026-07-22 15:03:59'::timestamp) - extract(epoch from '2026-07-22 15:03: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'), 47870, 'SRID=4674;POINT (-39.770245 -2.634476)', '2026-07-22 15:04:05', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77027 -2.634384)'), GeomFromEWKT('SRID=4674;POINT (-39.770245 -2.634476)'))) / (select extract(epoch from '2026-07-22 15:04:05'::timestamp) - extract(epoch from '2026-07-22 15:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77027 -2.634384)'), GeomFromEWKT('SRID=4674;POINT (-39.770245 -2.634476)'))) / (select extract(epoch from '2026-07-22 15:04:05'::timestamp) - extract(epoch from '2026-07-22 15:03: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'), 47870, 'SRID=4674;POINT (-39.770182 -2.634598)', '2026-07-22 15:04:13', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770245 -2.634476)'), GeomFromEWKT('SRID=4674;POINT (-39.770182 -2.634598)'))) / (select extract(epoch from '2026-07-22 15:04:13'::timestamp) - extract(epoch from '2026-07-22 15:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770245 -2.634476)'), GeomFromEWKT('SRID=4674;POINT (-39.770182 -2.634598)'))) / (select extract(epoch from '2026-07-22 15:04:13'::timestamp) - extract(epoch from '2026-07-22 15:04: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'), 47870, 'SRID=4674;POINT (-39.770129 -2.634714)', '2026-07-22 15:04:20', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770182 -2.634598)'), GeomFromEWKT('SRID=4674;POINT (-39.770129 -2.634714)'))) / (select extract(epoch from '2026-07-22 15:04:20'::timestamp) - extract(epoch from '2026-07-22 15:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770182 -2.634598)'), GeomFromEWKT('SRID=4674;POINT (-39.770129 -2.634714)'))) / (select extract(epoch from '2026-07-22 15:04:20'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770079 -2.634828)', '2026-07-22 15:04:27', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770129 -2.634714)'), GeomFromEWKT('SRID=4674;POINT (-39.770079 -2.634828)'))) / (select extract(epoch from '2026-07-22 15:04:27'::timestamp) - extract(epoch from '2026-07-22 15:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770129 -2.634714)'), GeomFromEWKT('SRID=4674;POINT (-39.770079 -2.634828)'))) / (select extract(epoch from '2026-07-22 15:04:27'::timestamp) - extract(epoch from '2026-07-22 15:04: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'), 47870, 'SRID=4674;POINT (-39.770032 -2.634927)', '2026-07-22 15:04:33', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770079 -2.634828)'), GeomFromEWKT('SRID=4674;POINT (-39.770032 -2.634927)'))) / (select extract(epoch from '2026-07-22 15:04:33'::timestamp) - extract(epoch from '2026-07-22 15:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770079 -2.634828)'), GeomFromEWKT('SRID=4674;POINT (-39.770032 -2.634927)'))) / (select extract(epoch from '2026-07-22 15:04:33'::timestamp) - extract(epoch from '2026-07-22 15:04: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'), 47870, 'SRID=4674;POINT (-39.770004 -2.634995)', '2026-07-22 15:04:37', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770032 -2.634927)'), GeomFromEWKT('SRID=4674;POINT (-39.770004 -2.634995)'))) / (select extract(epoch from '2026-07-22 15:04:37'::timestamp) - extract(epoch from '2026-07-22 15:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770032 -2.634927)'), GeomFromEWKT('SRID=4674;POINT (-39.770004 -2.634995)'))) / (select extract(epoch from '2026-07-22 15:04:37'::timestamp) - extract(epoch from '2026-07-22 15:04: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'), 47870, 'SRID=4674;POINT (-39.769982 -2.635026)', '2026-07-22 15:04:39', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770004 -2.634995)'), GeomFromEWKT('SRID=4674;POINT (-39.769982 -2.635026)'))) / (select extract(epoch from '2026-07-22 15:04:39'::timestamp) - extract(epoch from '2026-07-22 15:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770004 -2.634995)'), GeomFromEWKT('SRID=4674;POINT (-39.769982 -2.635026)'))) / (select extract(epoch from '2026-07-22 15:04:39'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.76998 -2.635043)', '2026-07-22 15:04:40', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769982 -2.635026)'), GeomFromEWKT('SRID=4674;POINT (-39.76998 -2.635043)'))) / (select extract(epoch from '2026-07-22 15:04:40'::timestamp) - extract(epoch from '2026-07-22 15:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769982 -2.635026)'), GeomFromEWKT('SRID=4674;POINT (-39.76998 -2.635043)'))) / (select extract(epoch from '2026-07-22 15:04:40'::timestamp) - extract(epoch from '2026-07-22 15:04:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.769972 -2.635094)', '2026-07-22 15:04:43', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76998 -2.635043)'), GeomFromEWKT('SRID=4674;POINT (-39.769972 -2.635094)'))) / (select extract(epoch from '2026-07-22 15:04:43'::timestamp) - extract(epoch from '2026-07-22 15:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76998 -2.635043)'), GeomFromEWKT('SRID=4674;POINT (-39.769972 -2.635094)'))) / (select extract(epoch from '2026-07-22 15:04:43'::timestamp) - extract(epoch from '2026-07-22 15:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76997 -2.635105)', '2026-07-22 15:04:44', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769972 -2.635094)'), GeomFromEWKT('SRID=4674;POINT (-39.76997 -2.635105)'))) / (select extract(epoch from '2026-07-22 15:04:44'::timestamp) - extract(epoch from '2026-07-22 15:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769972 -2.635094)'), GeomFromEWKT('SRID=4674;POINT (-39.76997 -2.635105)'))) / (select extract(epoch from '2026-07-22 15:04:44'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769964 -2.635158)', '2026-07-22 15:04:52', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76997 -2.635105)'), GeomFromEWKT('SRID=4674;POINT (-39.769964 -2.635158)'))) / (select extract(epoch from '2026-07-22 15:04:52'::timestamp) - extract(epoch from '2026-07-22 15:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76997 -2.635105)'), GeomFromEWKT('SRID=4674;POINT (-39.769964 -2.635158)'))) / (select extract(epoch from '2026-07-22 15:04:52'::timestamp) - extract(epoch from '2026-07-22 15:04: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'), 47870, 'SRID=4674;POINT (-39.769925 -2.635175)', '2026-07-22 15:05:01', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769964 -2.635158)'), GeomFromEWKT('SRID=4674;POINT (-39.769925 -2.635175)'))) / (select extract(epoch from '2026-07-22 15:05:01'::timestamp) - extract(epoch from '2026-07-22 15:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769964 -2.635158)'), GeomFromEWKT('SRID=4674;POINT (-39.769925 -2.635175)'))) / (select extract(epoch from '2026-07-22 15:05:01'::timestamp) - extract(epoch from '2026-07-22 15:04: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'), 47870, 'SRID=4674;POINT (-39.769909 -2.635172)', '2026-07-22 15:05:07', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769925 -2.635175)'), GeomFromEWKT('SRID=4674;POINT (-39.769909 -2.635172)'))) / (select extract(epoch from '2026-07-22 15:05:07'::timestamp) - extract(epoch from '2026-07-22 15:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769925 -2.635175)'), GeomFromEWKT('SRID=4674;POINT (-39.769909 -2.635172)'))) / (select extract(epoch from '2026-07-22 15:05:07'::timestamp) - extract(epoch from '2026-07-22 15:05: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'), 47870, 'SRID=4674;POINT (-39.769911 -2.635107)', '2026-07-22 15:05:27', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769909 -2.635172)'), GeomFromEWKT('SRID=4674;POINT (-39.769911 -2.635107)'))) / (select extract(epoch from '2026-07-22 15:05:27'::timestamp) - extract(epoch from '2026-07-22 15:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769909 -2.635172)'), GeomFromEWKT('SRID=4674;POINT (-39.769911 -2.635107)'))) / (select extract(epoch from '2026-07-22 15:05:27'::timestamp) - extract(epoch from '2026-07-22 15:05: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'), 47870, 'SRID=4674;POINT (-39.769897 -2.635063)', '2026-07-22 15:05:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769911 -2.635107)'), GeomFromEWKT('SRID=4674;POINT (-39.769897 -2.635063)'))) / (select extract(epoch from '2026-07-22 15:05:38'::timestamp) - extract(epoch from '2026-07-22 15:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769911 -2.635107)'), GeomFromEWKT('SRID=4674;POINT (-39.769897 -2.635063)'))) / (select extract(epoch from '2026-07-22 15:05:38'::timestamp) - extract(epoch from '2026-07-22 15:05: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'), 47870, 'SRID=4674;POINT (-39.769941 -2.635094)', '2026-07-22 15:05:51', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769897 -2.635063)'), GeomFromEWKT('SRID=4674;POINT (-39.769941 -2.635094)'))) / (select extract(epoch from '2026-07-22 15:05:51'::timestamp) - extract(epoch from '2026-07-22 15:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769897 -2.635063)'), GeomFromEWKT('SRID=4674;POINT (-39.769941 -2.635094)'))) / (select extract(epoch from '2026-07-22 15:05:51'::timestamp) - extract(epoch from '2026-07-22 15:05: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'), 47870, 'SRID=4674;POINT (-39.769982 -2.635155)', '2026-07-22 15:05:59', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769941 -2.635094)'), GeomFromEWKT('SRID=4674;POINT (-39.769982 -2.635155)'))) / (select extract(epoch from '2026-07-22 15:05:59'::timestamp) - extract(epoch from '2026-07-22 15:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769941 -2.635094)'), GeomFromEWKT('SRID=4674;POINT (-39.769982 -2.635155)'))) / (select extract(epoch from '2026-07-22 15:05:59'::timestamp) - extract(epoch from '2026-07-22 15:05: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'), 47870, 'SRID=4674;POINT (-39.76994 -2.635161)', '2026-07-22 15:06:06', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769982 -2.635155)'), GeomFromEWKT('SRID=4674;POINT (-39.76994 -2.635161)'))) / (select extract(epoch from '2026-07-22 15:06:06'::timestamp) - extract(epoch from '2026-07-22 15:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769982 -2.635155)'), GeomFromEWKT('SRID=4674;POINT (-39.76994 -2.635161)'))) / (select extract(epoch from '2026-07-22 15:06:06'::timestamp) - extract(epoch from '2026-07-22 15:05: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'), 47870, 'SRID=4674;POINT (-39.769881 -2.635113)', '2026-07-22 15:06:15', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76994 -2.635161)'), GeomFromEWKT('SRID=4674;POINT (-39.769881 -2.635113)'))) / (select extract(epoch from '2026-07-22 15:06:15'::timestamp) - extract(epoch from '2026-07-22 15:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76994 -2.635161)'), GeomFromEWKT('SRID=4674;POINT (-39.769881 -2.635113)'))) / (select extract(epoch from '2026-07-22 15:06:15'::timestamp) - extract(epoch from '2026-07-22 15:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.769872 -2.635066)', '2026-07-22 15:06:23', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769881 -2.635113)'), GeomFromEWKT('SRID=4674;POINT (-39.769872 -2.635066)'))) / (select extract(epoch from '2026-07-22 15:06:23'::timestamp) - extract(epoch from '2026-07-22 15:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769881 -2.635113)'), GeomFromEWKT('SRID=4674;POINT (-39.769872 -2.635066)'))) / (select extract(epoch from '2026-07-22 15:06:23'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769897 -2.635038)', '2026-07-22 15:06:29', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769872 -2.635066)'), GeomFromEWKT('SRID=4674;POINT (-39.769897 -2.635038)'))) / (select extract(epoch from '2026-07-22 15:06:29'::timestamp) - extract(epoch from '2026-07-22 15:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769872 -2.635066)'), GeomFromEWKT('SRID=4674;POINT (-39.769897 -2.635038)'))) / (select extract(epoch from '2026-07-22 15:06:29'::timestamp) - extract(epoch from '2026-07-22 15:06: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'), 47870, 'SRID=4674;POINT (-39.769933 -2.634995)', '2026-07-22 15:06:42', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769897 -2.635038)'), GeomFromEWKT('SRID=4674;POINT (-39.769933 -2.634995)'))) / (select extract(epoch from '2026-07-22 15:06:42'::timestamp) - extract(epoch from '2026-07-22 15:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769897 -2.635038)'), GeomFromEWKT('SRID=4674;POINT (-39.769933 -2.634995)'))) / (select extract(epoch from '2026-07-22 15:06:42'::timestamp) - extract(epoch from '2026-07-22 15:06: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'), 47870, 'SRID=4674;POINT (-39.769973 -2.634961)', '2026-07-22 15:06:51', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769933 -2.634995)'), GeomFromEWKT('SRID=4674;POINT (-39.769973 -2.634961)'))) / (select extract(epoch from '2026-07-22 15:06:51'::timestamp) - extract(epoch from '2026-07-22 15:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769933 -2.634995)'), GeomFromEWKT('SRID=4674;POINT (-39.769973 -2.634961)'))) / (select extract(epoch from '2026-07-22 15:06:51'::timestamp) - extract(epoch from '2026-07-22 15:06: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'), 47870, 'SRID=4674;POINT (-39.769983 -2.634946)', '2026-07-22 15:06:58', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769973 -2.634961)'), GeomFromEWKT('SRID=4674;POINT (-39.769983 -2.634946)'))) / (select extract(epoch from '2026-07-22 15:06:58'::timestamp) - extract(epoch from '2026-07-22 15:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769973 -2.634961)'), GeomFromEWKT('SRID=4674;POINT (-39.769983 -2.634946)'))) / (select extract(epoch from '2026-07-22 15:06:58'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770029 -2.634931)', '2026-07-22 15:07:20', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769983 -2.634946)'), GeomFromEWKT('SRID=4674;POINT (-39.770029 -2.634931)'))) / (select extract(epoch from '2026-07-22 15:07:20'::timestamp) - extract(epoch from '2026-07-22 15:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769983 -2.634946)'), GeomFromEWKT('SRID=4674;POINT (-39.770029 -2.634931)'))) / (select extract(epoch from '2026-07-22 15:07:20'::timestamp) - extract(epoch from '2026-07-22 15:06: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'), 47870, 'SRID=4674;POINT (-39.770085 -2.634908)', '2026-07-22 15:07:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770029 -2.634931)'), GeomFromEWKT('SRID=4674;POINT (-39.770085 -2.634908)'))) / (select extract(epoch from '2026-07-22 15:07:30'::timestamp) - extract(epoch from '2026-07-22 15:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770029 -2.634931)'), GeomFromEWKT('SRID=4674;POINT (-39.770085 -2.634908)'))) / (select extract(epoch from '2026-07-22 15:07:30'::timestamp) - extract(epoch from '2026-07-22 15:07: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'), 47870, 'SRID=4674;POINT (-39.77013 -2.634891)', '2026-07-22 15:07:38', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770085 -2.634908)'), GeomFromEWKT('SRID=4674;POINT (-39.77013 -2.634891)'))) / (select extract(epoch from '2026-07-22 15:07:38'::timestamp) - extract(epoch from '2026-07-22 15:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770085 -2.634908)'), GeomFromEWKT('SRID=4674;POINT (-39.77013 -2.634891)'))) / (select extract(epoch from '2026-07-22 15:07:38'::timestamp) - extract(epoch from '2026-07-22 15:07: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'), 47870, 'SRID=4674;POINT (-39.770146 -2.634875)', '2026-07-22 15:07:45', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77013 -2.634891)'), GeomFromEWKT('SRID=4674;POINT (-39.770146 -2.634875)'))) / (select extract(epoch from '2026-07-22 15:07:45'::timestamp) - extract(epoch from '2026-07-22 15:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77013 -2.634891)'), GeomFromEWKT('SRID=4674;POINT (-39.770146 -2.634875)'))) / (select extract(epoch from '2026-07-22 15:07:45'::timestamp) - extract(epoch from '2026-07-22 15:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.770192 -2.63486)', '2026-07-22 15:07:55', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770146 -2.634875)'), GeomFromEWKT('SRID=4674;POINT (-39.770192 -2.63486)'))) / (select extract(epoch from '2026-07-22 15:07:55'::timestamp) - extract(epoch from '2026-07-22 15:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770146 -2.634875)'), GeomFromEWKT('SRID=4674;POINT (-39.770192 -2.63486)'))) / (select extract(epoch from '2026-07-22 15:07:55'::timestamp) - extract(epoch from '2026-07-22 15:07: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'), 47870, 'SRID=4674;POINT (-39.770212 -2.634858)', '2026-07-22 15:08:00', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770192 -2.63486)'), GeomFromEWKT('SRID=4674;POINT (-39.770212 -2.634858)'))) / (select extract(epoch from '2026-07-22 15:08:00'::timestamp) - extract(epoch from '2026-07-22 15:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770192 -2.63486)'), GeomFromEWKT('SRID=4674;POINT (-39.770212 -2.634858)'))) / (select extract(epoch from '2026-07-22 15:08:00'::timestamp) - extract(epoch from '2026-07-22 15:07: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'), 47870, 'SRID=4674;POINT (-39.770254 -2.634843)', '2026-07-22 15:08:08', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770212 -2.634858)'), GeomFromEWKT('SRID=4674;POINT (-39.770254 -2.634843)'))) / (select extract(epoch from '2026-07-22 15:08:08'::timestamp) - extract(epoch from '2026-07-22 15:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770212 -2.634858)'), GeomFromEWKT('SRID=4674;POINT (-39.770254 -2.634843)'))) / (select extract(epoch from '2026-07-22 15:08:08'::timestamp) - extract(epoch from '2026-07-22 15:08: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'), 47870, 'SRID=4674;POINT (-39.77028 -2.63483)', '2026-07-22 15:08:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770254 -2.634843)'), GeomFromEWKT('SRID=4674;POINT (-39.77028 -2.63483)'))) / (select extract(epoch from '2026-07-22 15:08:13'::timestamp) - extract(epoch from '2026-07-22 15:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770254 -2.634843)'), GeomFromEWKT('SRID=4674;POINT (-39.77028 -2.63483)'))) / (select extract(epoch from '2026-07-22 15:08:13'::timestamp) - extract(epoch from '2026-07-22 15:08: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'), 47870, 'SRID=4674;POINT (-39.770283 -2.63481)', '2026-07-22 15:08:22', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77028 -2.63483)'), GeomFromEWKT('SRID=4674;POINT (-39.770283 -2.63481)'))) / (select extract(epoch from '2026-07-22 15:08:22'::timestamp) - extract(epoch from '2026-07-22 15:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77028 -2.63483)'), GeomFromEWKT('SRID=4674;POINT (-39.770283 -2.63481)'))) / (select extract(epoch from '2026-07-22 15:08:22'::timestamp) - extract(epoch from '2026-07-22 15:08: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'), 47870, 'SRID=4674;POINT (-39.770257 -2.634775)', '2026-07-22 15:08:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770283 -2.63481)'), GeomFromEWKT('SRID=4674;POINT (-39.770257 -2.634775)'))) / (select extract(epoch from '2026-07-22 15:08:31'::timestamp) - extract(epoch from '2026-07-22 15:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770283 -2.63481)'), GeomFromEWKT('SRID=4674;POINT (-39.770257 -2.634775)'))) / (select extract(epoch from '2026-07-22 15:08:31'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770236 -2.634758)', '2026-07-22 15:08:39', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770257 -2.634775)'), GeomFromEWKT('SRID=4674;POINT (-39.770236 -2.634758)'))) / (select extract(epoch from '2026-07-22 15:08:39'::timestamp) - extract(epoch from '2026-07-22 15:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770257 -2.634775)'), GeomFromEWKT('SRID=4674;POINT (-39.770236 -2.634758)'))) / (select extract(epoch from '2026-07-22 15:08:39'::timestamp) - extract(epoch from '2026-07-22 15:08: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'), 47870, 'SRID=4674;POINT (-39.770242 -2.634728)', '2026-07-22 15:08:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770236 -2.634758)'), GeomFromEWKT('SRID=4674;POINT (-39.770242 -2.634728)'))) / (select extract(epoch from '2026-07-22 15:08:54'::timestamp) - extract(epoch from '2026-07-22 15:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770236 -2.634758)'), GeomFromEWKT('SRID=4674;POINT (-39.770242 -2.634728)'))) / (select extract(epoch from '2026-07-22 15:08:54'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770258 -2.634704)', '2026-07-22 15:09:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770242 -2.634728)'), GeomFromEWKT('SRID=4674;POINT (-39.770258 -2.634704)'))) / (select extract(epoch from '2026-07-22 15:09:08'::timestamp) - extract(epoch from '2026-07-22 15:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770242 -2.634728)'), GeomFromEWKT('SRID=4674;POINT (-39.770258 -2.634704)'))) / (select extract(epoch from '2026-07-22 15:09:08'::timestamp) - extract(epoch from '2026-07-22 15:08: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'), 47870, 'SRID=4674;POINT (-39.770262 -2.634685)', '2026-07-22 15:09:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770258 -2.634704)'), GeomFromEWKT('SRID=4674;POINT (-39.770262 -2.634685)'))) / (select extract(epoch from '2026-07-22 15:09:16'::timestamp) - extract(epoch from '2026-07-22 15:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770258 -2.634704)'), GeomFromEWKT('SRID=4674;POINT (-39.770262 -2.634685)'))) / (select extract(epoch from '2026-07-22 15:09:16'::timestamp) - extract(epoch from '2026-07-22 15:09: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'), 47870, 'SRID=4674;POINT (-39.77028 -2.634647)', '2026-07-22 15:09:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770262 -2.634685)'), GeomFromEWKT('SRID=4674;POINT (-39.77028 -2.634647)'))) / (select extract(epoch from '2026-07-22 15:09:25'::timestamp) - extract(epoch from '2026-07-22 15:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770262 -2.634685)'), GeomFromEWKT('SRID=4674;POINT (-39.77028 -2.634647)'))) / (select extract(epoch from '2026-07-22 15:09:25'::timestamp) - extract(epoch from '2026-07-22 15:09: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'), 47870, 'SRID=4674;POINT (-39.770275 -2.634624)', '2026-07-22 15:09:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77028 -2.634647)'), GeomFromEWKT('SRID=4674;POINT (-39.770275 -2.634624)'))) / (select extract(epoch from '2026-07-22 15:09:34'::timestamp) - extract(epoch from '2026-07-22 15:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.77028 -2.634647)'), GeomFromEWKT('SRID=4674;POINT (-39.770275 -2.634624)'))) / (select extract(epoch from '2026-07-22 15:09:34'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770245 -2.63465)', '2026-07-22 15:09:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770275 -2.634624)'), GeomFromEWKT('SRID=4674;POINT (-39.770245 -2.63465)'))) / (select extract(epoch from '2026-07-22 15:09:39'::timestamp) - extract(epoch from '2026-07-22 15:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770275 -2.634624)'), GeomFromEWKT('SRID=4674;POINT (-39.770245 -2.63465)'))) / (select extract(epoch from '2026-07-22 15:09:39'::timestamp) - extract(epoch from '2026-07-22 15:09: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'), 47870, 'SRID=4674;POINT (-39.770219 -2.634676)', '2026-07-22 15:09:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770245 -2.63465)'), GeomFromEWKT('SRID=4674;POINT (-39.770219 -2.634676)'))) / (select extract(epoch from '2026-07-22 15:09:42'::timestamp) - extract(epoch from '2026-07-22 15:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770245 -2.63465)'), GeomFromEWKT('SRID=4674;POINT (-39.770219 -2.634676)'))) / (select extract(epoch from '2026-07-22 15:09:42'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.770188 -2.634694)', '2026-07-22 15:09:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770219 -2.634676)'), GeomFromEWKT('SRID=4674;POINT (-39.770188 -2.634694)'))) / (select extract(epoch from '2026-07-22 15:09:44'::timestamp) - extract(epoch from '2026-07-22 15:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770219 -2.634676)'), GeomFromEWKT('SRID=4674;POINT (-39.770188 -2.634694)'))) / (select extract(epoch from '2026-07-22 15:09:44'::timestamp) - extract(epoch from '2026-07-22 15:09: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'), 47870, 'SRID=4674;POINT (-39.770115 -2.634763)', '2026-07-22 15:09:50', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770188 -2.634694)'), GeomFromEWKT('SRID=4674;POINT (-39.770115 -2.634763)'))) / (select extract(epoch from '2026-07-22 15:09:50'::timestamp) - extract(epoch from '2026-07-22 15:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770188 -2.634694)'), GeomFromEWKT('SRID=4674;POINT (-39.770115 -2.634763)'))) / (select extract(epoch from '2026-07-22 15:09:50'::timestamp) - extract(epoch from '2026-07-22 15:09: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'), 47870, 'SRID=4674;POINT (-39.770017 -2.634867)', '2026-07-22 15:09:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770115 -2.634763)'), GeomFromEWKT('SRID=4674;POINT (-39.770017 -2.634867)'))) / (select extract(epoch from '2026-07-22 15:09:58'::timestamp) - extract(epoch from '2026-07-22 15:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770115 -2.634763)'), GeomFromEWKT('SRID=4674;POINT (-39.770017 -2.634867)'))) / (select extract(epoch from '2026-07-22 15:09:58'::timestamp) - extract(epoch from '2026-07-22 15:09: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'), 47870, 'SRID=4674;POINT (-39.769993 -2.634898)', '2026-07-22 15:10:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770017 -2.634867)'), GeomFromEWKT('SRID=4674;POINT (-39.769993 -2.634898)'))) / (select extract(epoch from '2026-07-22 15:10:00'::timestamp) - extract(epoch from '2026-07-22 15:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.770017 -2.634867)'), GeomFromEWKT('SRID=4674;POINT (-39.769993 -2.634898)'))) / (select extract(epoch from '2026-07-22 15:10:00'::timestamp) - extract(epoch from '2026-07-22 15:09: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'), 47870, 'SRID=4674;POINT (-39.769945 -2.634931)', '2026-07-22 15:10:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769993 -2.634898)'), GeomFromEWKT('SRID=4674;POINT (-39.769945 -2.634931)'))) / (select extract(epoch from '2026-07-22 15:10:03'::timestamp) - extract(epoch from '2026-07-22 15:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769993 -2.634898)'), GeomFromEWKT('SRID=4674;POINT (-39.769945 -2.634931)'))) / (select extract(epoch from '2026-07-22 15:10:03'::timestamp) - extract(epoch from '2026-07-22 15:10: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'), 47870, 'SRID=4674;POINT (-39.76986 -2.635021)', '2026-07-22 15:10:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769945 -2.634931)'), GeomFromEWKT('SRID=4674;POINT (-39.76986 -2.635021)'))) / (select extract(epoch from '2026-07-22 15:10:10'::timestamp) - extract(epoch from '2026-07-22 15:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769945 -2.634931)'), GeomFromEWKT('SRID=4674;POINT (-39.76986 -2.635021)'))) / (select extract(epoch from '2026-07-22 15:10:10'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769779 -2.635077)', '2026-07-22 15:10:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76986 -2.635021)'), GeomFromEWKT('SRID=4674;POINT (-39.769779 -2.635077)'))) / (select extract(epoch from '2026-07-22 15:10:15'::timestamp) - extract(epoch from '2026-07-22 15:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76986 -2.635021)'), GeomFromEWKT('SRID=4674;POINT (-39.769779 -2.635077)'))) / (select extract(epoch from '2026-07-22 15:10:15'::timestamp) - extract(epoch from '2026-07-22 15:10: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'), 47870, 'SRID=4674;POINT (-39.769655 -2.635134)', '2026-07-22 15:10:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769779 -2.635077)'), GeomFromEWKT('SRID=4674;POINT (-39.769655 -2.635134)'))) / (select extract(epoch from '2026-07-22 15:10:21'::timestamp) - extract(epoch from '2026-07-22 15:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769779 -2.635077)'), GeomFromEWKT('SRID=4674;POINT (-39.769655 -2.635134)'))) / (select extract(epoch from '2026-07-22 15:10:21'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769546 -2.635154)', '2026-07-22 15:10:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769655 -2.635134)'), GeomFromEWKT('SRID=4674;POINT (-39.769546 -2.635154)'))) / (select extract(epoch from '2026-07-22 15:10:27'::timestamp) - extract(epoch from '2026-07-22 15:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769655 -2.635134)'), GeomFromEWKT('SRID=4674;POINT (-39.769546 -2.635154)'))) / (select extract(epoch from '2026-07-22 15:10:27'::timestamp) - extract(epoch from '2026-07-22 15:10: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'), 47870, 'SRID=4674;POINT (-39.769458 -2.635211)', '2026-07-22 15:10:34', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769546 -2.635154)'), GeomFromEWKT('SRID=4674;POINT (-39.769458 -2.635211)'))) / (select extract(epoch from '2026-07-22 15:10:34'::timestamp) - extract(epoch from '2026-07-22 15:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769546 -2.635154)'), GeomFromEWKT('SRID=4674;POINT (-39.769458 -2.635211)'))) / (select extract(epoch from '2026-07-22 15:10:34'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769404 -2.635246)', '2026-07-22 15:10:37', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769458 -2.635211)'), GeomFromEWKT('SRID=4674;POINT (-39.769404 -2.635246)'))) / (select extract(epoch from '2026-07-22 15:10:37'::timestamp) - extract(epoch from '2026-07-22 15:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769458 -2.635211)'), GeomFromEWKT('SRID=4674;POINT (-39.769404 -2.635246)'))) / (select extract(epoch from '2026-07-22 15:10:37'::timestamp) - extract(epoch from '2026-07-22 15:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.769374 -2.63527)', '2026-07-22 15:10:39', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769404 -2.635246)'), GeomFromEWKT('SRID=4674;POINT (-39.769374 -2.63527)'))) / (select extract(epoch from '2026-07-22 15:10:39'::timestamp) - extract(epoch from '2026-07-22 15:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769404 -2.635246)'), GeomFromEWKT('SRID=4674;POINT (-39.769374 -2.63527)'))) / (select extract(epoch from '2026-07-22 15:10:39'::timestamp) - extract(epoch from '2026-07-22 15:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.769272 -2.635336)', '2026-07-22 15:10:47', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769374 -2.63527)'), GeomFromEWKT('SRID=4674;POINT (-39.769272 -2.635336)'))) / (select extract(epoch from '2026-07-22 15:10:47'::timestamp) - extract(epoch from '2026-07-22 15:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769374 -2.63527)'), GeomFromEWKT('SRID=4674;POINT (-39.769272 -2.635336)'))) / (select extract(epoch from '2026-07-22 15:10:47'::timestamp) - extract(epoch from '2026-07-22 15:10: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'), 47870, 'SRID=4674;POINT (-39.769187 -2.63538)', '2026-07-22 15:10:53', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769272 -2.635336)'), GeomFromEWKT('SRID=4674;POINT (-39.769187 -2.63538)'))) / (select extract(epoch from '2026-07-22 15:10:53'::timestamp) - extract(epoch from '2026-07-22 15:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769272 -2.635336)'), GeomFromEWKT('SRID=4674;POINT (-39.769187 -2.63538)'))) / (select extract(epoch from '2026-07-22 15:10:53'::timestamp) - extract(epoch from '2026-07-22 15:10: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'), 47870, 'SRID=4674;POINT (-39.769105 -2.635469)', '2026-07-22 15:11:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769187 -2.63538)'), GeomFromEWKT('SRID=4674;POINT (-39.769105 -2.635469)'))) / (select extract(epoch from '2026-07-22 15:11:00'::timestamp) - extract(epoch from '2026-07-22 15:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769187 -2.63538)'), GeomFromEWKT('SRID=4674;POINT (-39.769105 -2.635469)'))) / (select extract(epoch from '2026-07-22 15:11:00'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.768985 -2.635535)', '2026-07-22 15:11:07', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769105 -2.635469)'), GeomFromEWKT('SRID=4674;POINT (-39.768985 -2.635535)'))) / (select extract(epoch from '2026-07-22 15:11:07'::timestamp) - extract(epoch from '2026-07-22 15:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769105 -2.635469)'), GeomFromEWKT('SRID=4674;POINT (-39.768985 -2.635535)'))) / (select extract(epoch from '2026-07-22 15:11:07'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.7689 -2.635562)', '2026-07-22 15:11:13', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768985 -2.635535)'), GeomFromEWKT('SRID=4674;POINT (-39.7689 -2.635562)'))) / (select extract(epoch from '2026-07-22 15:11:13'::timestamp) - extract(epoch from '2026-07-22 15:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768985 -2.635535)'), GeomFromEWKT('SRID=4674;POINT (-39.7689 -2.635562)'))) / (select extract(epoch from '2026-07-22 15:11:13'::timestamp) - extract(epoch from '2026-07-22 15:11: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'), 47870, 'SRID=4674;POINT (-39.768881 -2.635557)', '2026-07-22 15:11:15', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7689 -2.635562)'), GeomFromEWKT('SRID=4674;POINT (-39.768881 -2.635557)'))) / (select extract(epoch from '2026-07-22 15:11:15'::timestamp) - extract(epoch from '2026-07-22 15:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7689 -2.635562)'), GeomFromEWKT('SRID=4674;POINT (-39.768881 -2.635557)'))) / (select extract(epoch from '2026-07-22 15:11:15'::timestamp) - extract(epoch from '2026-07-22 15:11: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'), 47870, 'SRID=4674;POINT (-39.768854 -2.635526)', '2026-07-22 15:11:19', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768881 -2.635557)'), GeomFromEWKT('SRID=4674;POINT (-39.768854 -2.635526)'))) / (select extract(epoch from '2026-07-22 15:11:19'::timestamp) - extract(epoch from '2026-07-22 15:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768881 -2.635557)'), GeomFromEWKT('SRID=4674;POINT (-39.768854 -2.635526)'))) / (select extract(epoch from '2026-07-22 15:11:19'::timestamp) - extract(epoch from '2026-07-22 15:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76883 -2.635472)', '2026-07-22 15:11:28', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768854 -2.635526)'), GeomFromEWKT('SRID=4674;POINT (-39.76883 -2.635472)'))) / (select extract(epoch from '2026-07-22 15:11:28'::timestamp) - extract(epoch from '2026-07-22 15:11:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768854 -2.635526)'), GeomFromEWKT('SRID=4674;POINT (-39.76883 -2.635472)'))) / (select extract(epoch from '2026-07-22 15:11:28'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.768843 -2.635418)', '2026-07-22 15:11:37', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76883 -2.635472)'), GeomFromEWKT('SRID=4674;POINT (-39.768843 -2.635418)'))) / (select extract(epoch from '2026-07-22 15:11:37'::timestamp) - extract(epoch from '2026-07-22 15:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76883 -2.635472)'), GeomFromEWKT('SRID=4674;POINT (-39.768843 -2.635418)'))) / (select extract(epoch from '2026-07-22 15:11:37'::timestamp) - extract(epoch from '2026-07-22 15:11: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'), 47870, 'SRID=4674;POINT (-39.768856 -2.635374)', '2026-07-22 15:11:46', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768843 -2.635418)'), GeomFromEWKT('SRID=4674;POINT (-39.768856 -2.635374)'))) / (select extract(epoch from '2026-07-22 15:11:46'::timestamp) - extract(epoch from '2026-07-22 15:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768843 -2.635418)'), GeomFromEWKT('SRID=4674;POINT (-39.768856 -2.635374)'))) / (select extract(epoch from '2026-07-22 15:11:46'::timestamp) - extract(epoch from '2026-07-22 15:11: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'), 47870, 'SRID=4674;POINT (-39.768885 -2.635342)', '2026-07-22 15:11:53', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768856 -2.635374)'), GeomFromEWKT('SRID=4674;POINT (-39.768885 -2.635342)'))) / (select extract(epoch from '2026-07-22 15:11:53'::timestamp) - extract(epoch from '2026-07-22 15:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768856 -2.635374)'), GeomFromEWKT('SRID=4674;POINT (-39.768885 -2.635342)'))) / (select extract(epoch from '2026-07-22 15:11:53'::timestamp) - extract(epoch from '2026-07-22 15:11: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'), 47870, 'SRID=4674;POINT (-39.768894 -2.635333)', '2026-07-22 15:11:55', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768885 -2.635342)'), GeomFromEWKT('SRID=4674;POINT (-39.768894 -2.635333)'))) / (select extract(epoch from '2026-07-22 15:11:55'::timestamp) - extract(epoch from '2026-07-22 15:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768885 -2.635342)'), GeomFromEWKT('SRID=4674;POINT (-39.768894 -2.635333)'))) / (select extract(epoch from '2026-07-22 15:11:55'::timestamp) - extract(epoch from '2026-07-22 15:11: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'), 47870, 'SRID=4674;POINT (-39.768919 -2.635322)', '2026-07-22 15:11:59', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768894 -2.635333)'), GeomFromEWKT('SRID=4674;POINT (-39.768919 -2.635322)'))) / (select extract(epoch from '2026-07-22 15:11:59'::timestamp) - extract(epoch from '2026-07-22 15:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768894 -2.635333)'), GeomFromEWKT('SRID=4674;POINT (-39.768919 -2.635322)'))) / (select extract(epoch from '2026-07-22 15:11:59'::timestamp) - extract(epoch from '2026-07-22 15:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.768925 -2.635317)', '2026-07-22 15:12:00', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768919 -2.635322)'), GeomFromEWKT('SRID=4674;POINT (-39.768925 -2.635317)'))) / (select extract(epoch from '2026-07-22 15:12:00'::timestamp) - extract(epoch from '2026-07-22 15:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768919 -2.635322)'), GeomFromEWKT('SRID=4674;POINT (-39.768925 -2.635317)'))) / (select extract(epoch from '2026-07-22 15:12:00'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.768932 -2.635299)', '2026-07-22 15:12:03', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768925 -2.635317)'), GeomFromEWKT('SRID=4674;POINT (-39.768932 -2.635299)'))) / (select extract(epoch from '2026-07-22 15:12:03'::timestamp) - extract(epoch from '2026-07-22 15:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768925 -2.635317)'), GeomFromEWKT('SRID=4674;POINT (-39.768932 -2.635299)'))) / (select extract(epoch from '2026-07-22 15:12:03'::timestamp) - extract(epoch from '2026-07-22 15:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.768957 -2.635265)', '2026-07-22 15:12:11', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768932 -2.635299)'), GeomFromEWKT('SRID=4674;POINT (-39.768957 -2.635265)'))) / (select extract(epoch from '2026-07-22 15:12:11'::timestamp) - extract(epoch from '2026-07-22 15:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768932 -2.635299)'), GeomFromEWKT('SRID=4674;POINT (-39.768957 -2.635265)'))) / (select extract(epoch from '2026-07-22 15:12:11'::timestamp) - extract(epoch from '2026-07-22 15:12: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'), 47870, 'SRID=4674;POINT (-39.768994 -2.635202)', '2026-07-22 15:12:23', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768957 -2.635265)'), GeomFromEWKT('SRID=4674;POINT (-39.768994 -2.635202)'))) / (select extract(epoch from '2026-07-22 15:12:23'::timestamp) - extract(epoch from '2026-07-22 15:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768957 -2.635265)'), GeomFromEWKT('SRID=4674;POINT (-39.768994 -2.635202)'))) / (select extract(epoch from '2026-07-22 15:12:23'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.76903 -2.635163)', '2026-07-22 15:12:33', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768994 -2.635202)'), GeomFromEWKT('SRID=4674;POINT (-39.76903 -2.635163)'))) / (select extract(epoch from '2026-07-22 15:12:33'::timestamp) - extract(epoch from '2026-07-22 15:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768994 -2.635202)'), GeomFromEWKT('SRID=4674;POINT (-39.76903 -2.635163)'))) / (select extract(epoch from '2026-07-22 15:12:33'::timestamp) - extract(epoch from '2026-07-22 15:12: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'), 47870, 'SRID=4674;POINT (-39.769046 -2.635129)', '2026-07-22 15:12:44', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76903 -2.635163)'), GeomFromEWKT('SRID=4674;POINT (-39.769046 -2.635129)'))) / (select extract(epoch from '2026-07-22 15:12:44'::timestamp) - extract(epoch from '2026-07-22 15:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76903 -2.635163)'), GeomFromEWKT('SRID=4674;POINT (-39.769046 -2.635129)'))) / (select extract(epoch from '2026-07-22 15:12:44'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769058 -2.635123)', '2026-07-22 15:12:52', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769046 -2.635129)'), GeomFromEWKT('SRID=4674;POINT (-39.769058 -2.635123)'))) / (select extract(epoch from '2026-07-22 15:12:52'::timestamp) - extract(epoch from '2026-07-22 15:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769046 -2.635129)'), GeomFromEWKT('SRID=4674;POINT (-39.769058 -2.635123)'))) / (select extract(epoch from '2026-07-22 15:12:52'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769088 -2.635082)', '2026-07-22 15:13:04', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769058 -2.635123)'), GeomFromEWKT('SRID=4674;POINT (-39.769088 -2.635082)'))) / (select extract(epoch from '2026-07-22 15:13:04'::timestamp) - extract(epoch from '2026-07-22 15:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769058 -2.635123)'), GeomFromEWKT('SRID=4674;POINT (-39.769088 -2.635082)'))) / (select extract(epoch from '2026-07-22 15:13:04'::timestamp) - extract(epoch from '2026-07-22 15:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.769093 -2.635068)', '2026-07-22 15:13:10', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769088 -2.635082)'), GeomFromEWKT('SRID=4674;POINT (-39.769093 -2.635068)'))) / (select extract(epoch from '2026-07-22 15:13:10'::timestamp) - extract(epoch from '2026-07-22 15:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769088 -2.635082)'), GeomFromEWKT('SRID=4674;POINT (-39.769093 -2.635068)'))) / (select extract(epoch from '2026-07-22 15:13:10'::timestamp) - extract(epoch from '2026-07-22 15:13: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'), 47870, 'SRID=4674;POINT (-39.769104 -2.635061)', '2026-07-22 15:13:17', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769093 -2.635068)'), GeomFromEWKT('SRID=4674;POINT (-39.769104 -2.635061)'))) / (select extract(epoch from '2026-07-22 15:13:17'::timestamp) - extract(epoch from '2026-07-22 15:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769093 -2.635068)'), GeomFromEWKT('SRID=4674;POINT (-39.769104 -2.635061)'))) / (select extract(epoch from '2026-07-22 15:13:17'::timestamp) - extract(epoch from '2026-07-22 15:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.769114 -2.635066)', '2026-07-22 15:13:20', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769104 -2.635061)'), GeomFromEWKT('SRID=4674;POINT (-39.769114 -2.635066)'))) / (select extract(epoch from '2026-07-22 15:13:20'::timestamp) - extract(epoch from '2026-07-22 15:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769104 -2.635061)'), GeomFromEWKT('SRID=4674;POINT (-39.769114 -2.635066)'))) / (select extract(epoch from '2026-07-22 15:13:20'::timestamp) - extract(epoch from '2026-07-22 15:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.769125 -2.635068)', '2026-07-22 15:13:26', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769114 -2.635066)'), GeomFromEWKT('SRID=4674;POINT (-39.769125 -2.635068)'))) / (select extract(epoch from '2026-07-22 15:13:26'::timestamp) - extract(epoch from '2026-07-22 15:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769114 -2.635066)'), GeomFromEWKT('SRID=4674;POINT (-39.769125 -2.635068)'))) / (select extract(epoch from '2026-07-22 15:13:26'::timestamp) - extract(epoch from '2026-07-22 15:13: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'), 47870, 'SRID=4674;POINT (-39.769139 -2.635067)', '2026-07-22 15:13:34', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769125 -2.635068)'), GeomFromEWKT('SRID=4674;POINT (-39.769139 -2.635067)'))) / (select extract(epoch from '2026-07-22 15:13:34'::timestamp) - extract(epoch from '2026-07-22 15:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769125 -2.635068)'), GeomFromEWKT('SRID=4674;POINT (-39.769139 -2.635067)'))) / (select extract(epoch from '2026-07-22 15:13:34'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769151 -2.635064)', '2026-07-22 15:13:44', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769139 -2.635067)'), GeomFromEWKT('SRID=4674;POINT (-39.769151 -2.635064)'))) / (select extract(epoch from '2026-07-22 15:13:44'::timestamp) - extract(epoch from '2026-07-22 15:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769139 -2.635067)'), GeomFromEWKT('SRID=4674;POINT (-39.769151 -2.635064)'))) / (select extract(epoch from '2026-07-22 15:13:44'::timestamp) - extract(epoch from '2026-07-22 15:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.769174 -2.635061)', '2026-07-22 15:13:49', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769151 -2.635064)'), GeomFromEWKT('SRID=4674;POINT (-39.769174 -2.635061)'))) / (select extract(epoch from '2026-07-22 15:13:49'::timestamp) - extract(epoch from '2026-07-22 15:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769151 -2.635064)'), GeomFromEWKT('SRID=4674;POINT (-39.769174 -2.635061)'))) / (select extract(epoch from '2026-07-22 15:13:49'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769182 -2.635053)', '2026-07-22 15:13:53', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769174 -2.635061)'), GeomFromEWKT('SRID=4674;POINT (-39.769182 -2.635053)'))) / (select extract(epoch from '2026-07-22 15:13:53'::timestamp) - extract(epoch from '2026-07-22 15:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769174 -2.635061)'), GeomFromEWKT('SRID=4674;POINT (-39.769182 -2.635053)'))) / (select extract(epoch from '2026-07-22 15:13:53'::timestamp) - extract(epoch from '2026-07-22 15:13: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'), 47870, 'SRID=4674;POINT (-39.769221 -2.635044)', '2026-07-22 15:14:00', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769182 -2.635053)'), GeomFromEWKT('SRID=4674;POINT (-39.769221 -2.635044)'))) / (select extract(epoch from '2026-07-22 15:14:00'::timestamp) - extract(epoch from '2026-07-22 15:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769182 -2.635053)'), GeomFromEWKT('SRID=4674;POINT (-39.769221 -2.635044)'))) / (select extract(epoch from '2026-07-22 15:14:00'::timestamp) - extract(epoch from '2026-07-22 15:13: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'), 47870, 'SRID=4674;POINT (-39.769249 -2.635029)', '2026-07-22 15:14:05', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769221 -2.635044)'), GeomFromEWKT('SRID=4674;POINT (-39.769249 -2.635029)'))) / (select extract(epoch from '2026-07-22 15:14:05'::timestamp) - extract(epoch from '2026-07-22 15:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769221 -2.635044)'), GeomFromEWKT('SRID=4674;POINT (-39.769249 -2.635029)'))) / (select extract(epoch from '2026-07-22 15:14:05'::timestamp) - extract(epoch from '2026-07-22 15:14: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'), 47870, 'SRID=4674;POINT (-39.769268 -2.635024)', '2026-07-22 15:14:11', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769249 -2.635029)'), GeomFromEWKT('SRID=4674;POINT (-39.769268 -2.635024)'))) / (select extract(epoch from '2026-07-22 15:14:11'::timestamp) - extract(epoch from '2026-07-22 15:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769249 -2.635029)'), GeomFromEWKT('SRID=4674;POINT (-39.769268 -2.635024)'))) / (select extract(epoch from '2026-07-22 15:14:11'::timestamp) - extract(epoch from '2026-07-22 15:14: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'), 47870, 'SRID=4674;POINT (-39.769273 -2.635016)', '2026-07-22 15:14:16', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769268 -2.635024)'), GeomFromEWKT('SRID=4674;POINT (-39.769273 -2.635016)'))) / (select extract(epoch from '2026-07-22 15:14:16'::timestamp) - extract(epoch from '2026-07-22 15:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769268 -2.635024)'), GeomFromEWKT('SRID=4674;POINT (-39.769273 -2.635016)'))) / (select extract(epoch from '2026-07-22 15:14:16'::timestamp) - extract(epoch from '2026-07-22 15:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.769279 -2.635011)', '2026-07-22 15:14:19', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769273 -2.635016)'), GeomFromEWKT('SRID=4674;POINT (-39.769279 -2.635011)'))) / (select extract(epoch from '2026-07-22 15:14:19'::timestamp) - extract(epoch from '2026-07-22 15:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769273 -2.635016)'), GeomFromEWKT('SRID=4674;POINT (-39.769279 -2.635011)'))) / (select extract(epoch from '2026-07-22 15:14:19'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769267 -2.634997)', '2026-07-22 15:14:27', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769279 -2.635011)'), GeomFromEWKT('SRID=4674;POINT (-39.769267 -2.634997)'))) / (select extract(epoch from '2026-07-22 15:14:27'::timestamp) - extract(epoch from '2026-07-22 15:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769279 -2.635011)'), GeomFromEWKT('SRID=4674;POINT (-39.769267 -2.634997)'))) / (select extract(epoch from '2026-07-22 15:14:27'::timestamp) - extract(epoch from '2026-07-22 15:14:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.769198 -2.635012)', '2026-07-22 15:14:34', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769267 -2.634997)'), GeomFromEWKT('SRID=4674;POINT (-39.769198 -2.635012)'))) / (select extract(epoch from '2026-07-22 15:14:34'::timestamp) - extract(epoch from '2026-07-22 15:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769267 -2.634997)'), GeomFromEWKT('SRID=4674;POINT (-39.769198 -2.635012)'))) / (select extract(epoch from '2026-07-22 15:14:34'::timestamp) - extract(epoch from '2026-07-22 15:14: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'), 47870, 'SRID=4674;POINT (-39.769187 -2.635017)', '2026-07-22 15:14:35', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769198 -2.635012)'), GeomFromEWKT('SRID=4674;POINT (-39.769187 -2.635017)'))) / (select extract(epoch from '2026-07-22 15:14:35'::timestamp) - extract(epoch from '2026-07-22 15:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769198 -2.635012)'), GeomFromEWKT('SRID=4674;POINT (-39.769187 -2.635017)'))) / (select extract(epoch from '2026-07-22 15:14:35'::timestamp) - extract(epoch from '2026-07-22 15:14: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'), 47870, 'SRID=4674;POINT (-39.769138 -2.635079)', '2026-07-22 15:14:41', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769187 -2.635017)'), GeomFromEWKT('SRID=4674;POINT (-39.769138 -2.635079)'))) / (select extract(epoch from '2026-07-22 15:14:41'::timestamp) - extract(epoch from '2026-07-22 15:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769187 -2.635017)'), GeomFromEWKT('SRID=4674;POINT (-39.769138 -2.635079)'))) / (select extract(epoch from '2026-07-22 15:14:41'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.76914 -2.635187)', '2026-07-22 15:14:47', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769138 -2.635079)'), GeomFromEWKT('SRID=4674;POINT (-39.76914 -2.635187)'))) / (select extract(epoch from '2026-07-22 15:14:47'::timestamp) - extract(epoch from '2026-07-22 15:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769138 -2.635079)'), GeomFromEWKT('SRID=4674;POINT (-39.76914 -2.635187)'))) / (select extract(epoch from '2026-07-22 15:14:47'::timestamp) - extract(epoch from '2026-07-22 15:14: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'), 47870, 'SRID=4674;POINT (-39.769137 -2.635313)', '2026-07-22 15:14:54', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76914 -2.635187)'), GeomFromEWKT('SRID=4674;POINT (-39.769137 -2.635313)'))) / (select extract(epoch from '2026-07-22 15:14:54'::timestamp) - extract(epoch from '2026-07-22 15:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76914 -2.635187)'), GeomFromEWKT('SRID=4674;POINT (-39.769137 -2.635313)'))) / (select extract(epoch from '2026-07-22 15:14:54'::timestamp) - extract(epoch from '2026-07-22 15:14: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'), 47870, 'SRID=4674;POINT (-39.769119 -2.635334)', '2026-07-22 15:14:55', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769137 -2.635313)'), GeomFromEWKT('SRID=4674;POINT (-39.769119 -2.635334)'))) / (select extract(epoch from '2026-07-22 15:14:55'::timestamp) - extract(epoch from '2026-07-22 15:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769137 -2.635313)'), GeomFromEWKT('SRID=4674;POINT (-39.769119 -2.635334)'))) / (select extract(epoch from '2026-07-22 15:14:55'::timestamp) - extract(epoch from '2026-07-22 15:14:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7691 -2.635355)', '2026-07-22 15:14:58', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769119 -2.635334)'), GeomFromEWKT('SRID=4674;POINT (-39.7691 -2.635355)'))) / (select extract(epoch from '2026-07-22 15:14:58'::timestamp) - extract(epoch from '2026-07-22 15:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769119 -2.635334)'), GeomFromEWKT('SRID=4674;POINT (-39.7691 -2.635355)'))) / (select extract(epoch from '2026-07-22 15:14:58'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769088 -2.635358)', '2026-07-22 15:14:59', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7691 -2.635355)'), GeomFromEWKT('SRID=4674;POINT (-39.769088 -2.635358)'))) / (select extract(epoch from '2026-07-22 15:14:59'::timestamp) - extract(epoch from '2026-07-22 15:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7691 -2.635355)'), GeomFromEWKT('SRID=4674;POINT (-39.769088 -2.635358)'))) / (select extract(epoch from '2026-07-22 15:14:59'::timestamp) - extract(epoch from '2026-07-22 15:14:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76905 -2.635358)', '2026-07-22 15:15:02', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769088 -2.635358)'), GeomFromEWKT('SRID=4674;POINT (-39.76905 -2.635358)'))) / (select extract(epoch from '2026-07-22 15:15:02'::timestamp) - extract(epoch from '2026-07-22 15:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769088 -2.635358)'), GeomFromEWKT('SRID=4674;POINT (-39.76905 -2.635358)'))) / (select extract(epoch from '2026-07-22 15:15:02'::timestamp) - extract(epoch from '2026-07-22 15:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.769019 -2.635342)', '2026-07-22 15:15:04', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76905 -2.635358)'), GeomFromEWKT('SRID=4674;POINT (-39.769019 -2.635342)'))) / (select extract(epoch from '2026-07-22 15:15:04'::timestamp) - extract(epoch from '2026-07-22 15:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76905 -2.635358)'), GeomFromEWKT('SRID=4674;POINT (-39.769019 -2.635342)'))) / (select extract(epoch from '2026-07-22 15:15:04'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.769006 -2.635339)', '2026-07-22 15:15:05', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769019 -2.635342)'), GeomFromEWKT('SRID=4674;POINT (-39.769006 -2.635339)'))) / (select extract(epoch from '2026-07-22 15:15:05'::timestamp) - extract(epoch from '2026-07-22 15:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769019 -2.635342)'), GeomFromEWKT('SRID=4674;POINT (-39.769006 -2.635339)'))) / (select extract(epoch from '2026-07-22 15:15:05'::timestamp) - extract(epoch from '2026-07-22 15:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.768935 -2.635325)', '2026-07-22 15:15:09', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769006 -2.635339)'), GeomFromEWKT('SRID=4674;POINT (-39.768935 -2.635325)'))) / (select extract(epoch from '2026-07-22 15:15:09'::timestamp) - extract(epoch from '2026-07-22 15:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.769006 -2.635339)'), GeomFromEWKT('SRID=4674;POINT (-39.768935 -2.635325)'))) / (select extract(epoch from '2026-07-22 15:15:09'::timestamp) - extract(epoch from '2026-07-22 15:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.768796 -2.635306)', '2026-07-22 15:15:16', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768935 -2.635325)'), GeomFromEWKT('SRID=4674;POINT (-39.768796 -2.635306)'))) / (select extract(epoch from '2026-07-22 15:15:16'::timestamp) - extract(epoch from '2026-07-22 15:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768935 -2.635325)'), GeomFromEWKT('SRID=4674;POINT (-39.768796 -2.635306)'))) / (select extract(epoch from '2026-07-22 15:15:16'::timestamp) - extract(epoch from '2026-07-22 15:15: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'), 47870, 'SRID=4674;POINT (-39.768674 -2.635318)', '2026-07-22 15:15:23', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768796 -2.635306)'), GeomFromEWKT('SRID=4674;POINT (-39.768674 -2.635318)'))) / (select extract(epoch from '2026-07-22 15:15:23'::timestamp) - extract(epoch from '2026-07-22 15:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768796 -2.635306)'), GeomFromEWKT('SRID=4674;POINT (-39.768674 -2.635318)'))) / (select extract(epoch from '2026-07-22 15:15:23'::timestamp) - extract(epoch from '2026-07-22 15:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.768598 -2.635342)', '2026-07-22 15:15:28', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768674 -2.635318)'), GeomFromEWKT('SRID=4674;POINT (-39.768598 -2.635342)'))) / (select extract(epoch from '2026-07-22 15:15:28'::timestamp) - extract(epoch from '2026-07-22 15:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768674 -2.635318)'), GeomFromEWKT('SRID=4674;POINT (-39.768598 -2.635342)'))) / (select extract(epoch from '2026-07-22 15:15:28'::timestamp) - extract(epoch from '2026-07-22 15:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.768518 -2.635379)', '2026-07-22 15:15:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768598 -2.635342)'), GeomFromEWKT('SRID=4674;POINT (-39.768518 -2.635379)'))) / (select extract(epoch from '2026-07-22 15:15:33'::timestamp) - extract(epoch from '2026-07-22 15:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768598 -2.635342)'), GeomFromEWKT('SRID=4674;POINT (-39.768518 -2.635379)'))) / (select extract(epoch from '2026-07-22 15:15:33'::timestamp) - extract(epoch from '2026-07-22 15:15: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'), 47870, 'SRID=4674;POINT (-39.768425 -2.635404)', '2026-07-22 15:15:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768518 -2.635379)'), GeomFromEWKT('SRID=4674;POINT (-39.768425 -2.635404)'))) / (select extract(epoch from '2026-07-22 15:15:38'::timestamp) - extract(epoch from '2026-07-22 15:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768518 -2.635379)'), GeomFromEWKT('SRID=4674;POINT (-39.768425 -2.635404)'))) / (select extract(epoch from '2026-07-22 15:15:38'::timestamp) - extract(epoch from '2026-07-22 15:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.768334 -2.635426)', '2026-07-22 15:15:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768425 -2.635404)'), GeomFromEWKT('SRID=4674;POINT (-39.768334 -2.635426)'))) / (select extract(epoch from '2026-07-22 15:15:43'::timestamp) - extract(epoch from '2026-07-22 15:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768425 -2.635404)'), GeomFromEWKT('SRID=4674;POINT (-39.768334 -2.635426)'))) / (select extract(epoch from '2026-07-22 15:15:43'::timestamp) - extract(epoch from '2026-07-22 15:15: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'), 47870, 'SRID=4674;POINT (-39.768239 -2.635456)', '2026-07-22 15:15:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768334 -2.635426)'), GeomFromEWKT('SRID=4674;POINT (-39.768239 -2.635456)'))) / (select extract(epoch from '2026-07-22 15:15:48'::timestamp) - extract(epoch from '2026-07-22 15:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768334 -2.635426)'), GeomFromEWKT('SRID=4674;POINT (-39.768239 -2.635456)'))) / (select extract(epoch from '2026-07-22 15:15:48'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.768106 -2.635513)', '2026-07-22 15:15:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768239 -2.635456)'), GeomFromEWKT('SRID=4674;POINT (-39.768106 -2.635513)'))) / (select extract(epoch from '2026-07-22 15:15:55'::timestamp) - extract(epoch from '2026-07-22 15:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768239 -2.635456)'), GeomFromEWKT('SRID=4674;POINT (-39.768106 -2.635513)'))) / (select extract(epoch from '2026-07-22 15:15:55'::timestamp) - extract(epoch from '2026-07-22 15:15: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'), 47870, 'SRID=4674;POINT (-39.767978 -2.635556)', '2026-07-22 15:16:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768106 -2.635513)'), GeomFromEWKT('SRID=4674;POINT (-39.767978 -2.635556)'))) / (select extract(epoch from '2026-07-22 15:16:02'::timestamp) - extract(epoch from '2026-07-22 15:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768106 -2.635513)'), GeomFromEWKT('SRID=4674;POINT (-39.767978 -2.635556)'))) / (select extract(epoch from '2026-07-22 15:16:02'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767879 -2.635597)', '2026-07-22 15:16:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767978 -2.635556)'), GeomFromEWKT('SRID=4674;POINT (-39.767879 -2.635597)'))) / (select extract(epoch from '2026-07-22 15:16:10'::timestamp) - extract(epoch from '2026-07-22 15:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767978 -2.635556)'), GeomFromEWKT('SRID=4674;POINT (-39.767879 -2.635597)'))) / (select extract(epoch from '2026-07-22 15:16:10'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767866 -2.635591)', '2026-07-22 15:16:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767879 -2.635597)'), GeomFromEWKT('SRID=4674;POINT (-39.767866 -2.635591)'))) / (select extract(epoch from '2026-07-22 15:16:12'::timestamp) - extract(epoch from '2026-07-22 15:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767879 -2.635597)'), GeomFromEWKT('SRID=4674;POINT (-39.767866 -2.635591)'))) / (select extract(epoch from '2026-07-22 15:16:12'::timestamp) - extract(epoch from '2026-07-22 15:16: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'), 47870, 'SRID=4674;POINT (-39.767845 -2.635575)', '2026-07-22 15:16:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767866 -2.635591)'), GeomFromEWKT('SRID=4674;POINT (-39.767845 -2.635575)'))) / (select extract(epoch from '2026-07-22 15:16:17'::timestamp) - extract(epoch from '2026-07-22 15:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767866 -2.635591)'), GeomFromEWKT('SRID=4674;POINT (-39.767845 -2.635575)'))) / (select extract(epoch from '2026-07-22 15:16:17'::timestamp) - extract(epoch from '2026-07-22 15:16: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'), 47870, 'SRID=4674;POINT (-39.767839 -2.635537)', '2026-07-22 15:16:25', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767845 -2.635575)'), GeomFromEWKT('SRID=4674;POINT (-39.767839 -2.635537)'))) / (select extract(epoch from '2026-07-22 15:16:25'::timestamp) - extract(epoch from '2026-07-22 15:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767845 -2.635575)'), GeomFromEWKT('SRID=4674;POINT (-39.767839 -2.635537)'))) / (select extract(epoch from '2026-07-22 15:16:25'::timestamp) - extract(epoch from '2026-07-22 15:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767845 -2.635498)', '2026-07-22 15:16:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767839 -2.635537)'), GeomFromEWKT('SRID=4674;POINT (-39.767845 -2.635498)'))) / (select extract(epoch from '2026-07-22 15:16:33'::timestamp) - extract(epoch from '2026-07-22 15:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767839 -2.635537)'), GeomFromEWKT('SRID=4674;POINT (-39.767845 -2.635498)'))) / (select extract(epoch from '2026-07-22 15:16:33'::timestamp) - extract(epoch from '2026-07-22 15:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76786 -2.635489)', '2026-07-22 15:16:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767845 -2.635498)'), GeomFromEWKT('SRID=4674;POINT (-39.76786 -2.635489)'))) / (select extract(epoch from '2026-07-22 15:16:38'::timestamp) - extract(epoch from '2026-07-22 15:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767845 -2.635498)'), GeomFromEWKT('SRID=4674;POINT (-39.76786 -2.635489)'))) / (select extract(epoch from '2026-07-22 15:16:38'::timestamp) - extract(epoch from '2026-07-22 15:16: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'), 47870, 'SRID=4674;POINT (-39.767884 -2.635482)', '2026-07-22 15:16:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76786 -2.635489)'), GeomFromEWKT('SRID=4674;POINT (-39.767884 -2.635482)'))) / (select extract(epoch from '2026-07-22 15:16:42'::timestamp) - extract(epoch from '2026-07-22 15:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76786 -2.635489)'), GeomFromEWKT('SRID=4674;POINT (-39.767884 -2.635482)'))) / (select extract(epoch from '2026-07-22 15:16:42'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767889 -2.635471)', '2026-07-22 15:16:45', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767884 -2.635482)'), GeomFromEWKT('SRID=4674;POINT (-39.767889 -2.635471)'))) / (select extract(epoch from '2026-07-22 15:16:45'::timestamp) - extract(epoch from '2026-07-22 15:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767884 -2.635482)'), GeomFromEWKT('SRID=4674;POINT (-39.767889 -2.635471)'))) / (select extract(epoch from '2026-07-22 15:16:45'::timestamp) - extract(epoch from '2026-07-22 15:16: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'), 47870, 'SRID=4674;POINT (-39.767905 -2.635453)', '2026-07-22 15:16:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767889 -2.635471)'), GeomFromEWKT('SRID=4674;POINT (-39.767905 -2.635453)'))) / (select extract(epoch from '2026-07-22 15:16:47'::timestamp) - extract(epoch from '2026-07-22 15:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767889 -2.635471)'), GeomFromEWKT('SRID=4674;POINT (-39.767905 -2.635453)'))) / (select extract(epoch from '2026-07-22 15:16:47'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.76793 -2.635422)', '2026-07-22 15:16:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767905 -2.635453)'), GeomFromEWKT('SRID=4674;POINT (-39.76793 -2.635422)'))) / (select extract(epoch from '2026-07-22 15:16:54'::timestamp) - extract(epoch from '2026-07-22 15:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767905 -2.635453)'), GeomFromEWKT('SRID=4674;POINT (-39.76793 -2.635422)'))) / (select extract(epoch from '2026-07-22 15:16:54'::timestamp) - extract(epoch from '2026-07-22 15:16: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'), 47870, 'SRID=4674;POINT (-39.767991 -2.635383)', '2026-07-22 15:17:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76793 -2.635422)'), GeomFromEWKT('SRID=4674;POINT (-39.767991 -2.635383)'))) / (select extract(epoch from '2026-07-22 15:17:02'::timestamp) - extract(epoch from '2026-07-22 15:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76793 -2.635422)'), GeomFromEWKT('SRID=4674;POINT (-39.767991 -2.635383)'))) / (select extract(epoch from '2026-07-22 15:17:02'::timestamp) - extract(epoch from '2026-07-22 15:16: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'), 47870, 'SRID=4674;POINT (-39.768021 -2.635319)', '2026-07-22 15:17:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767991 -2.635383)'), GeomFromEWKT('SRID=4674;POINT (-39.768021 -2.635319)'))) / (select extract(epoch from '2026-07-22 15:17:19'::timestamp) - extract(epoch from '2026-07-22 15:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767991 -2.635383)'), GeomFromEWKT('SRID=4674;POINT (-39.768021 -2.635319)'))) / (select extract(epoch from '2026-07-22 15:17:19'::timestamp) - extract(epoch from '2026-07-22 15:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.768039 -2.635302)', '2026-07-22 15:17:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768021 -2.635319)'), GeomFromEWKT('SRID=4674;POINT (-39.768039 -2.635302)'))) / (select extract(epoch from '2026-07-22 15:17:33'::timestamp) - extract(epoch from '2026-07-22 15:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768021 -2.635319)'), GeomFromEWKT('SRID=4674;POINT (-39.768039 -2.635302)'))) / (select extract(epoch from '2026-07-22 15:17:33'::timestamp) - extract(epoch from '2026-07-22 15:17: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'), 47870, 'SRID=4674;POINT (-39.768064 -2.635274)', '2026-07-22 15:17:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768039 -2.635302)'), GeomFromEWKT('SRID=4674;POINT (-39.768064 -2.635274)'))) / (select extract(epoch from '2026-07-22 15:17:44'::timestamp) - extract(epoch from '2026-07-22 15:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768039 -2.635302)'), GeomFromEWKT('SRID=4674;POINT (-39.768064 -2.635274)'))) / (select extract(epoch from '2026-07-22 15:17:44'::timestamp) - extract(epoch from '2026-07-22 15:17: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'), 47870, 'SRID=4674;POINT (-39.768094 -2.635255)', '2026-07-22 15:17:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768064 -2.635274)'), GeomFromEWKT('SRID=4674;POINT (-39.768094 -2.635255)'))) / (select extract(epoch from '2026-07-22 15:17:53'::timestamp) - extract(epoch from '2026-07-22 15:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768064 -2.635274)'), GeomFromEWKT('SRID=4674;POINT (-39.768094 -2.635255)'))) / (select extract(epoch from '2026-07-22 15:17:53'::timestamp) - extract(epoch from '2026-07-22 15:17: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'), 47870, 'SRID=4674;POINT (-39.768097 -2.635237)', '2026-07-22 15:18:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768094 -2.635255)'), GeomFromEWKT('SRID=4674;POINT (-39.768097 -2.635237)'))) / (select extract(epoch from '2026-07-22 15:18:08'::timestamp) - extract(epoch from '2026-07-22 15:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768094 -2.635255)'), GeomFromEWKT('SRID=4674;POINT (-39.768097 -2.635237)'))) / (select extract(epoch from '2026-07-22 15:18:08'::timestamp) - extract(epoch from '2026-07-22 15:17: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'), 47870, 'SRID=4674;POINT (-39.7681 -2.635221)', '2026-07-22 15:18:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768097 -2.635237)'), GeomFromEWKT('SRID=4674;POINT (-39.7681 -2.635221)'))) / (select extract(epoch from '2026-07-22 15:18:31'::timestamp) - extract(epoch from '2026-07-22 15:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768097 -2.635237)'), GeomFromEWKT('SRID=4674;POINT (-39.7681 -2.635221)'))) / (select extract(epoch from '2026-07-22 15:18:31'::timestamp) - extract(epoch from '2026-07-22 15:18: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'), 47870, 'SRID=4674;POINT (-39.768109 -2.635228)', '2026-07-22 15:18:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7681 -2.635221)'), GeomFromEWKT('SRID=4674;POINT (-39.768109 -2.635228)'))) / (select extract(epoch from '2026-07-22 15:18:55'::timestamp) - extract(epoch from '2026-07-22 15:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7681 -2.635221)'), GeomFromEWKT('SRID=4674;POINT (-39.768109 -2.635228)'))) / (select extract(epoch from '2026-07-22 15:18:55'::timestamp) - extract(epoch from '2026-07-22 15:18: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'), 47870, 'SRID=4674;POINT (-39.768139 -2.635195)', '2026-07-22 15:19:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768109 -2.635228)'), GeomFromEWKT('SRID=4674;POINT (-39.768139 -2.635195)'))) / (select extract(epoch from '2026-07-22 15:19:02'::timestamp) - extract(epoch from '2026-07-22 15:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768109 -2.635228)'), GeomFromEWKT('SRID=4674;POINT (-39.768139 -2.635195)'))) / (select extract(epoch from '2026-07-22 15:19:02'::timestamp) - extract(epoch from '2026-07-22 15:18: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'), 47870, 'SRID=4674;POINT (-39.76814 -2.635187)', '2026-07-22 15:19:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768139 -2.635195)'), GeomFromEWKT('SRID=4674;POINT (-39.76814 -2.635187)'))) / (select extract(epoch from '2026-07-22 15:19:11'::timestamp) - extract(epoch from '2026-07-22 15:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768139 -2.635195)'), GeomFromEWKT('SRID=4674;POINT (-39.76814 -2.635187)'))) / (select extract(epoch from '2026-07-22 15:19:11'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.768122 -2.635162)', '2026-07-22 15:19:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76814 -2.635187)'), GeomFromEWKT('SRID=4674;POINT (-39.768122 -2.635162)'))) / (select extract(epoch from '2026-07-22 15:19:27'::timestamp) - extract(epoch from '2026-07-22 15:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76814 -2.635187)'), GeomFromEWKT('SRID=4674;POINT (-39.768122 -2.635162)'))) / (select extract(epoch from '2026-07-22 15:19:27'::timestamp) - extract(epoch from '2026-07-22 15:19: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'), 47870, 'SRID=4674;POINT (-39.76811 -2.635166)', '2026-07-22 15:19:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768122 -2.635162)'), GeomFromEWKT('SRID=4674;POINT (-39.76811 -2.635166)'))) / (select extract(epoch from '2026-07-22 15:19:36'::timestamp) - extract(epoch from '2026-07-22 15:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768122 -2.635162)'), GeomFromEWKT('SRID=4674;POINT (-39.76811 -2.635166)'))) / (select extract(epoch from '2026-07-22 15:19:36'::timestamp) - extract(epoch from '2026-07-22 15:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7681 -2.635177)', '2026-07-22 15:19:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76811 -2.635166)'), GeomFromEWKT('SRID=4674;POINT (-39.7681 -2.635177)'))) / (select extract(epoch from '2026-07-22 15:19:39'::timestamp) - extract(epoch from '2026-07-22 15:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76811 -2.635166)'), GeomFromEWKT('SRID=4674;POINT (-39.7681 -2.635177)'))) / (select extract(epoch from '2026-07-22 15:19:39'::timestamp) - extract(epoch from '2026-07-22 15:19: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'), 47870, 'SRID=4674;POINT (-39.768089 -2.635186)', '2026-07-22 15:19:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7681 -2.635177)'), GeomFromEWKT('SRID=4674;POINT (-39.768089 -2.635186)'))) / (select extract(epoch from '2026-07-22 15:19:42'::timestamp) - extract(epoch from '2026-07-22 15:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7681 -2.635177)'), GeomFromEWKT('SRID=4674;POINT (-39.768089 -2.635186)'))) / (select extract(epoch from '2026-07-22 15:19:42'::timestamp) - extract(epoch from '2026-07-22 15:19: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'), 47870, 'SRID=4674;POINT (-39.768118 -2.635194)', '2026-07-22 15:20:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768089 -2.635186)'), GeomFromEWKT('SRID=4674;POINT (-39.768118 -2.635194)'))) / (select extract(epoch from '2026-07-22 15:20:00'::timestamp) - extract(epoch from '2026-07-22 15:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768089 -2.635186)'), GeomFromEWKT('SRID=4674;POINT (-39.768118 -2.635194)'))) / (select extract(epoch from '2026-07-22 15:20:00'::timestamp) - extract(epoch from '2026-07-22 15:19: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'), 47870, 'SRID=4674;POINT (-39.768156 -2.635171)', '2026-07-22 15:20:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768118 -2.635194)'), GeomFromEWKT('SRID=4674;POINT (-39.768156 -2.635171)'))) / (select extract(epoch from '2026-07-22 15:20:07'::timestamp) - extract(epoch from '2026-07-22 15:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768118 -2.635194)'), GeomFromEWKT('SRID=4674;POINT (-39.768156 -2.635171)'))) / (select extract(epoch from '2026-07-22 15:20:07'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.768228 -2.635132)', '2026-07-22 15:20:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768156 -2.635171)'), GeomFromEWKT('SRID=4674;POINT (-39.768228 -2.635132)'))) / (select extract(epoch from '2026-07-22 15:20:17'::timestamp) - extract(epoch from '2026-07-22 15:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768156 -2.635171)'), GeomFromEWKT('SRID=4674;POINT (-39.768228 -2.635132)'))) / (select extract(epoch from '2026-07-22 15:20:17'::timestamp) - extract(epoch from '2026-07-22 15:20: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'), 47870, 'SRID=4674;POINT (-39.768264 -2.635125)', '2026-07-22 15:20:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768228 -2.635132)'), GeomFromEWKT('SRID=4674;POINT (-39.768264 -2.635125)'))) / (select extract(epoch from '2026-07-22 15:20:22'::timestamp) - extract(epoch from '2026-07-22 15:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768228 -2.635132)'), GeomFromEWKT('SRID=4674;POINT (-39.768264 -2.635125)'))) / (select extract(epoch from '2026-07-22 15:20:22'::timestamp) - extract(epoch from '2026-07-22 15:20: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'), 47870, 'SRID=4674;POINT (-39.76828 -2.635119)', '2026-07-22 15:20:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768264 -2.635125)'), GeomFromEWKT('SRID=4674;POINT (-39.76828 -2.635119)'))) / (select extract(epoch from '2026-07-22 15:20:28'::timestamp) - extract(epoch from '2026-07-22 15:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768264 -2.635125)'), GeomFromEWKT('SRID=4674;POINT (-39.76828 -2.635119)'))) / (select extract(epoch from '2026-07-22 15:20:28'::timestamp) - extract(epoch from '2026-07-22 15:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.768288 -2.635096)', '2026-07-22 15:20:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76828 -2.635119)'), GeomFromEWKT('SRID=4674;POINT (-39.768288 -2.635096)'))) / (select extract(epoch from '2026-07-22 15:20:37'::timestamp) - extract(epoch from '2026-07-22 15:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76828 -2.635119)'), GeomFromEWKT('SRID=4674;POINT (-39.768288 -2.635096)'))) / (select extract(epoch from '2026-07-22 15:20:37'::timestamp) - extract(epoch from '2026-07-22 15:20: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'), 47870, 'SRID=4674;POINT (-39.768259 -2.635146)', '2026-07-22 15:20:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768288 -2.635096)'), GeomFromEWKT('SRID=4674;POINT (-39.768259 -2.635146)'))) / (select extract(epoch from '2026-07-22 15:20:48'::timestamp) - extract(epoch from '2026-07-22 15:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768288 -2.635096)'), GeomFromEWKT('SRID=4674;POINT (-39.768259 -2.635146)'))) / (select extract(epoch from '2026-07-22 15:20:48'::timestamp) - extract(epoch from '2026-07-22 15:20: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'), 47870, 'SRID=4674;POINT (-39.768204 -2.635266)', '2026-07-22 15:20:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768259 -2.635146)'), GeomFromEWKT('SRID=4674;POINT (-39.768204 -2.635266)'))) / (select extract(epoch from '2026-07-22 15:20:59'::timestamp) - extract(epoch from '2026-07-22 15:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768259 -2.635146)'), GeomFromEWKT('SRID=4674;POINT (-39.768204 -2.635266)'))) / (select extract(epoch from '2026-07-22 15:20:59'::timestamp) - extract(epoch from '2026-07-22 15:20: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'), 47870, 'SRID=4674;POINT (-39.768128 -2.635371)', '2026-07-22 15:21:06', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768204 -2.635266)'), GeomFromEWKT('SRID=4674;POINT (-39.768128 -2.635371)'))) / (select extract(epoch from '2026-07-22 15:21:06'::timestamp) - extract(epoch from '2026-07-22 15:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768204 -2.635266)'), GeomFromEWKT('SRID=4674;POINT (-39.768128 -2.635371)'))) / (select extract(epoch from '2026-07-22 15:21:06'::timestamp) - extract(epoch from '2026-07-22 15:20: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'), 47870, 'SRID=4674;POINT (-39.768049 -2.635437)', '2026-07-22 15:21:12', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768128 -2.635371)'), GeomFromEWKT('SRID=4674;POINT (-39.768049 -2.635437)'))) / (select extract(epoch from '2026-07-22 15:21:12'::timestamp) - extract(epoch from '2026-07-22 15:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768128 -2.635371)'), GeomFromEWKT('SRID=4674;POINT (-39.768049 -2.635437)'))) / (select extract(epoch from '2026-07-22 15:21:12'::timestamp) - extract(epoch from '2026-07-22 15:21: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'), 47870, 'SRID=4674;POINT (-39.768032 -2.635446)', '2026-07-22 15:21:14', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768049 -2.635437)'), GeomFromEWKT('SRID=4674;POINT (-39.768032 -2.635446)'))) / (select extract(epoch from '2026-07-22 15:21:14'::timestamp) - extract(epoch from '2026-07-22 15:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768049 -2.635437)'), GeomFromEWKT('SRID=4674;POINT (-39.768032 -2.635446)'))) / (select extract(epoch from '2026-07-22 15:21:14'::timestamp) - extract(epoch from '2026-07-22 15:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767941 -2.635467)', '2026-07-22 15:21:19', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768032 -2.635446)'), GeomFromEWKT('SRID=4674;POINT (-39.767941 -2.635467)'))) / (select extract(epoch from '2026-07-22 15:21:19'::timestamp) - extract(epoch from '2026-07-22 15:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.768032 -2.635446)'), GeomFromEWKT('SRID=4674;POINT (-39.767941 -2.635467)'))) / (select extract(epoch from '2026-07-22 15:21:19'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767909 -2.635473)', '2026-07-22 15:21:21', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767941 -2.635467)'), GeomFromEWKT('SRID=4674;POINT (-39.767909 -2.635473)'))) / (select extract(epoch from '2026-07-22 15:21:21'::timestamp) - extract(epoch from '2026-07-22 15:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767941 -2.635467)'), GeomFromEWKT('SRID=4674;POINT (-39.767909 -2.635473)'))) / (select extract(epoch from '2026-07-22 15:21:21'::timestamp) - extract(epoch from '2026-07-22 15:21: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'), 47870, 'SRID=4674;POINT (-39.767867 -2.635479)', '2026-07-22 15:21:25', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767909 -2.635473)'), GeomFromEWKT('SRID=4674;POINT (-39.767867 -2.635479)'))) / (select extract(epoch from '2026-07-22 15:21:25'::timestamp) - extract(epoch from '2026-07-22 15:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767909 -2.635473)'), GeomFromEWKT('SRID=4674;POINT (-39.767867 -2.635479)'))) / (select extract(epoch from '2026-07-22 15:21:25'::timestamp) - extract(epoch from '2026-07-22 15:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767771 -2.635514)', '2026-07-22 15:21:31', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767867 -2.635479)'), GeomFromEWKT('SRID=4674;POINT (-39.767771 -2.635514)'))) / (select extract(epoch from '2026-07-22 15:21:31'::timestamp) - extract(epoch from '2026-07-22 15:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767867 -2.635479)'), GeomFromEWKT('SRID=4674;POINT (-39.767771 -2.635514)'))) / (select extract(epoch from '2026-07-22 15:21:31'::timestamp) - extract(epoch from '2026-07-22 15:21:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767665 -2.635556)', '2026-07-22 15:21:38', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767771 -2.635514)'), GeomFromEWKT('SRID=4674;POINT (-39.767665 -2.635556)'))) / (select extract(epoch from '2026-07-22 15:21:38'::timestamp) - extract(epoch from '2026-07-22 15:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767771 -2.635514)'), GeomFromEWKT('SRID=4674;POINT (-39.767665 -2.635556)'))) / (select extract(epoch from '2026-07-22 15:21:38'::timestamp) - extract(epoch from '2026-07-22 15:21: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'), 47870, 'SRID=4674;POINT (-39.767592 -2.635609)', '2026-07-22 15:21:43', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767665 -2.635556)'), GeomFromEWKT('SRID=4674;POINT (-39.767592 -2.635609)'))) / (select extract(epoch from '2026-07-22 15:21:43'::timestamp) - extract(epoch from '2026-07-22 15:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767665 -2.635556)'), GeomFromEWKT('SRID=4674;POINT (-39.767592 -2.635609)'))) / (select extract(epoch from '2026-07-22 15:21:43'::timestamp) - extract(epoch from '2026-07-22 15:21: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'), 47870, 'SRID=4674;POINT (-39.76746 -2.635687)', '2026-07-22 15:21:50', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767592 -2.635609)'), GeomFromEWKT('SRID=4674;POINT (-39.76746 -2.635687)'))) / (select extract(epoch from '2026-07-22 15:21:50'::timestamp) - extract(epoch from '2026-07-22 15:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767592 -2.635609)'), GeomFromEWKT('SRID=4674;POINT (-39.76746 -2.635687)'))) / (select extract(epoch from '2026-07-22 15:21:50'::timestamp) - extract(epoch from '2026-07-22 15:21: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'), 47870, 'SRID=4674;POINT (-39.767364 -2.635707)', '2026-07-22 15:21:57', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76746 -2.635687)'), GeomFromEWKT('SRID=4674;POINT (-39.767364 -2.635707)'))) / (select extract(epoch from '2026-07-22 15:21:57'::timestamp) - extract(epoch from '2026-07-22 15:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76746 -2.635687)'), GeomFromEWKT('SRID=4674;POINT (-39.767364 -2.635707)'))) / (select extract(epoch from '2026-07-22 15:21:57'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767244 -2.635703)', '2026-07-22 15:22:04', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767364 -2.635707)'), GeomFromEWKT('SRID=4674;POINT (-39.767244 -2.635703)'))) / (select extract(epoch from '2026-07-22 15:22:04'::timestamp) - extract(epoch from '2026-07-22 15:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767364 -2.635707)'), GeomFromEWKT('SRID=4674;POINT (-39.767244 -2.635703)'))) / (select extract(epoch from '2026-07-22 15:22:04'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767198 -2.635698)', '2026-07-22 15:22:09', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767244 -2.635703)'), GeomFromEWKT('SRID=4674;POINT (-39.767198 -2.635698)'))) / (select extract(epoch from '2026-07-22 15:22:09'::timestamp) - extract(epoch from '2026-07-22 15:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767244 -2.635703)'), GeomFromEWKT('SRID=4674;POINT (-39.767198 -2.635698)'))) / (select extract(epoch from '2026-07-22 15:22:09'::timestamp) - extract(epoch from '2026-07-22 15:22: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'), 47870, 'SRID=4674;POINT (-39.767169 -2.635701)', '2026-07-22 15:22:17', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767198 -2.635698)'), GeomFromEWKT('SRID=4674;POINT (-39.767169 -2.635701)'))) / (select extract(epoch from '2026-07-22 15:22:17'::timestamp) - extract(epoch from '2026-07-22 15:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767198 -2.635698)'), GeomFromEWKT('SRID=4674;POINT (-39.767169 -2.635701)'))) / (select extract(epoch from '2026-07-22 15:22:17'::timestamp) - extract(epoch from '2026-07-22 15:22: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'), 47870, 'SRID=4674;POINT (-39.767127 -2.635656)', '2026-07-22 15:22:29', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767169 -2.635701)'), GeomFromEWKT('SRID=4674;POINT (-39.767127 -2.635656)'))) / (select extract(epoch from '2026-07-22 15:22:29'::timestamp) - extract(epoch from '2026-07-22 15:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767169 -2.635701)'), GeomFromEWKT('SRID=4674;POINT (-39.767127 -2.635656)'))) / (select extract(epoch from '2026-07-22 15:22:29'::timestamp) - extract(epoch from '2026-07-22 15:22:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767136 -2.635613)', '2026-07-22 15:22:35', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767127 -2.635656)'), GeomFromEWKT('SRID=4674;POINT (-39.767136 -2.635613)'))) / (select extract(epoch from '2026-07-22 15:22:35'::timestamp) - extract(epoch from '2026-07-22 15:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767127 -2.635656)'), GeomFromEWKT('SRID=4674;POINT (-39.767136 -2.635613)'))) / (select extract(epoch from '2026-07-22 15:22:35'::timestamp) - extract(epoch from '2026-07-22 15:22: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'), 47870, 'SRID=4674;POINT (-39.76716 -2.635586)', '2026-07-22 15:22:41', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767136 -2.635613)'), GeomFromEWKT('SRID=4674;POINT (-39.76716 -2.635586)'))) / (select extract(epoch from '2026-07-22 15:22:41'::timestamp) - extract(epoch from '2026-07-22 15:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767136 -2.635613)'), GeomFromEWKT('SRID=4674;POINT (-39.76716 -2.635586)'))) / (select extract(epoch from '2026-07-22 15:22:41'::timestamp) - extract(epoch from '2026-07-22 15:22: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'), 47870, 'SRID=4674;POINT (-39.767174 -2.635557)', '2026-07-22 15:22:48', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76716 -2.635586)'), GeomFromEWKT('SRID=4674;POINT (-39.767174 -2.635557)'))) / (select extract(epoch from '2026-07-22 15:22:48'::timestamp) - extract(epoch from '2026-07-22 15:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76716 -2.635586)'), GeomFromEWKT('SRID=4674;POINT (-39.767174 -2.635557)'))) / (select extract(epoch from '2026-07-22 15:22:48'::timestamp) - extract(epoch from '2026-07-22 15:22: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'), 47870, 'SRID=4674;POINT (-39.767196 -2.635523)', '2026-07-22 15:22:57', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767174 -2.635557)'), GeomFromEWKT('SRID=4674;POINT (-39.767196 -2.635523)'))) / (select extract(epoch from '2026-07-22 15:22:57'::timestamp) - extract(epoch from '2026-07-22 15:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767174 -2.635557)'), GeomFromEWKT('SRID=4674;POINT (-39.767196 -2.635523)'))) / (select extract(epoch from '2026-07-22 15:22:57'::timestamp) - extract(epoch from '2026-07-22 15:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767257 -2.635451)', '2026-07-22 15:23:10', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767196 -2.635523)'), GeomFromEWKT('SRID=4674;POINT (-39.767257 -2.635451)'))) / (select extract(epoch from '2026-07-22 15:23:10'::timestamp) - extract(epoch from '2026-07-22 15:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767196 -2.635523)'), GeomFromEWKT('SRID=4674;POINT (-39.767257 -2.635451)'))) / (select extract(epoch from '2026-07-22 15:23:10'::timestamp) - extract(epoch from '2026-07-22 15:22:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767302 -2.635385)', '2026-07-22 15:23:21', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767257 -2.635451)'), GeomFromEWKT('SRID=4674;POINT (-39.767302 -2.635385)'))) / (select extract(epoch from '2026-07-22 15:23:21'::timestamp) - extract(epoch from '2026-07-22 15:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767257 -2.635451)'), GeomFromEWKT('SRID=4674;POINT (-39.767302 -2.635385)'))) / (select extract(epoch from '2026-07-22 15:23:21'::timestamp) - extract(epoch from '2026-07-22 15:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767321 -2.635361)', '2026-07-22 15:23:24', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767302 -2.635385)'), GeomFromEWKT('SRID=4674;POINT (-39.767321 -2.635361)'))) / (select extract(epoch from '2026-07-22 15:23:24'::timestamp) - extract(epoch from '2026-07-22 15:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767302 -2.635385)'), GeomFromEWKT('SRID=4674;POINT (-39.767321 -2.635361)'))) / (select extract(epoch from '2026-07-22 15:23:24'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767338 -2.635348)', '2026-07-22 15:23:27', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767321 -2.635361)'), GeomFromEWKT('SRID=4674;POINT (-39.767338 -2.635348)'))) / (select extract(epoch from '2026-07-22 15:23:27'::timestamp) - extract(epoch from '2026-07-22 15:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767321 -2.635361)'), GeomFromEWKT('SRID=4674;POINT (-39.767338 -2.635348)'))) / (select extract(epoch from '2026-07-22 15:23:27'::timestamp) - extract(epoch from '2026-07-22 15:23: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'), 47870, 'SRID=4674;POINT (-39.767351 -2.635263)', '2026-07-22 15:23:36', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767338 -2.635348)'), GeomFromEWKT('SRID=4674;POINT (-39.767351 -2.635263)'))) / (select extract(epoch from '2026-07-22 15:23:36'::timestamp) - extract(epoch from '2026-07-22 15:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767338 -2.635348)'), GeomFromEWKT('SRID=4674;POINT (-39.767351 -2.635263)'))) / (select extract(epoch from '2026-07-22 15:23:36'::timestamp) - extract(epoch from '2026-07-22 15:23: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'), 47870, 'SRID=4674;POINT (-39.767313 -2.635236)', '2026-07-22 15:23:40', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767351 -2.635263)'), GeomFromEWKT('SRID=4674;POINT (-39.767313 -2.635236)'))) / (select extract(epoch from '2026-07-22 15:23:40'::timestamp) - extract(epoch from '2026-07-22 15:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767351 -2.635263)'), GeomFromEWKT('SRID=4674;POINT (-39.767313 -2.635236)'))) / (select extract(epoch from '2026-07-22 15:23:40'::timestamp) - extract(epoch from '2026-07-22 15:23: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'), 47870, 'SRID=4674;POINT (-39.7673 -2.635237)', '2026-07-22 15:23:42', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767313 -2.635236)'), GeomFromEWKT('SRID=4674;POINT (-39.7673 -2.635237)'))) / (select extract(epoch from '2026-07-22 15:23:42'::timestamp) - extract(epoch from '2026-07-22 15:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767313 -2.635236)'), GeomFromEWKT('SRID=4674;POINT (-39.7673 -2.635237)'))) / (select extract(epoch from '2026-07-22 15:23:42'::timestamp) - extract(epoch from '2026-07-22 15:23: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'), 47870, 'SRID=4674;POINT (-39.767251 -2.635255)', '2026-07-22 15:23:49', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7673 -2.635237)'), GeomFromEWKT('SRID=4674;POINT (-39.767251 -2.635255)'))) / (select extract(epoch from '2026-07-22 15:23:49'::timestamp) - extract(epoch from '2026-07-22 15:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7673 -2.635237)'), GeomFromEWKT('SRID=4674;POINT (-39.767251 -2.635255)'))) / (select extract(epoch from '2026-07-22 15:23:49'::timestamp) - extract(epoch from '2026-07-22 15:23: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'), 47870, 'SRID=4674;POINT (-39.767153 -2.635354)', '2026-07-22 15:23:58', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767251 -2.635255)'), GeomFromEWKT('SRID=4674;POINT (-39.767153 -2.635354)'))) / (select extract(epoch from '2026-07-22 15:23:58'::timestamp) - extract(epoch from '2026-07-22 15:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767251 -2.635255)'), GeomFromEWKT('SRID=4674;POINT (-39.767153 -2.635354)'))) / (select extract(epoch from '2026-07-22 15:23:58'::timestamp) - extract(epoch from '2026-07-22 15:23: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'), 47870, 'SRID=4674;POINT (-39.767089 -2.63542)', '2026-07-22 15:24:04', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767153 -2.635354)'), GeomFromEWKT('SRID=4674;POINT (-39.767089 -2.63542)'))) / (select extract(epoch from '2026-07-22 15:24:04'::timestamp) - extract(epoch from '2026-07-22 15:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767153 -2.635354)'), GeomFromEWKT('SRID=4674;POINT (-39.767089 -2.63542)'))) / (select extract(epoch from '2026-07-22 15:24:04'::timestamp) - extract(epoch from '2026-07-22 15:23: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'), 47870, 'SRID=4674;POINT (-39.766996 -2.63551)', '2026-07-22 15:24:11', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767089 -2.63542)'), GeomFromEWKT('SRID=4674;POINT (-39.766996 -2.63551)'))) / (select extract(epoch from '2026-07-22 15:24:11'::timestamp) - extract(epoch from '2026-07-22 15:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767089 -2.63542)'), GeomFromEWKT('SRID=4674;POINT (-39.766996 -2.63551)'))) / (select extract(epoch from '2026-07-22 15:24:11'::timestamp) - extract(epoch from '2026-07-22 15:24: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'), 47870, 'SRID=4674;POINT (-39.766986 -2.635529)', '2026-07-22 15:24:12', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766996 -2.63551)'), GeomFromEWKT('SRID=4674;POINT (-39.766986 -2.635529)'))) / (select extract(epoch from '2026-07-22 15:24:12'::timestamp) - extract(epoch from '2026-07-22 15:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766996 -2.63551)'), GeomFromEWKT('SRID=4674;POINT (-39.766986 -2.635529)'))) / (select extract(epoch from '2026-07-22 15:24:12'::timestamp) - extract(epoch from '2026-07-22 15:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.766946 -2.635583)', '2026-07-22 15:24:15', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766986 -2.635529)'), GeomFromEWKT('SRID=4674;POINT (-39.766946 -2.635583)'))) / (select extract(epoch from '2026-07-22 15:24:15'::timestamp) - extract(epoch from '2026-07-22 15:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766986 -2.635529)'), GeomFromEWKT('SRID=4674;POINT (-39.766946 -2.635583)'))) / (select extract(epoch from '2026-07-22 15:24:15'::timestamp) - extract(epoch from '2026-07-22 15:24: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'), 47870, 'SRID=4674;POINT (-39.766899 -2.635654)', '2026-07-22 15:24:24', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766946 -2.635583)'), GeomFromEWKT('SRID=4674;POINT (-39.766899 -2.635654)'))) / (select extract(epoch from '2026-07-22 15:24:24'::timestamp) - extract(epoch from '2026-07-22 15:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766946 -2.635583)'), GeomFromEWKT('SRID=4674;POINT (-39.766899 -2.635654)'))) / (select extract(epoch from '2026-07-22 15:24:24'::timestamp) - extract(epoch from '2026-07-22 15:24: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'), 47870, 'SRID=4674;POINT (-39.76688 -2.635655)', '2026-07-22 15:24:33', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766899 -2.635654)'), GeomFromEWKT('SRID=4674;POINT (-39.76688 -2.635655)'))) / (select extract(epoch from '2026-07-22 15:24:33'::timestamp) - extract(epoch from '2026-07-22 15:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766899 -2.635654)'), GeomFromEWKT('SRID=4674;POINT (-39.76688 -2.635655)'))) / (select extract(epoch from '2026-07-22 15:24:33'::timestamp) - extract(epoch from '2026-07-22 15:24: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'), 47870, 'SRID=4674;POINT (-39.76688 -2.635596)', '2026-07-22 15:24:46', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76688 -2.635655)'), GeomFromEWKT('SRID=4674;POINT (-39.76688 -2.635596)'))) / (select extract(epoch from '2026-07-22 15:24:46'::timestamp) - extract(epoch from '2026-07-22 15:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76688 -2.635655)'), GeomFromEWKT('SRID=4674;POINT (-39.76688 -2.635596)'))) / (select extract(epoch from '2026-07-22 15:24:46'::timestamp) - extract(epoch from '2026-07-22 15:24: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'), 47870, 'SRID=4674;POINT (-39.766885 -2.635592)', '2026-07-22 15:24:47', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76688 -2.635596)'), GeomFromEWKT('SRID=4674;POINT (-39.766885 -2.635592)'))) / (select extract(epoch from '2026-07-22 15:24:47'::timestamp) - extract(epoch from '2026-07-22 15:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76688 -2.635596)'), GeomFromEWKT('SRID=4674;POINT (-39.766885 -2.635592)'))) / (select extract(epoch from '2026-07-22 15:24:47'::timestamp) - extract(epoch from '2026-07-22 15:24: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'), 47870, 'SRID=4674;POINT (-39.76692 -2.635558)', '2026-07-22 15:24:55', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766885 -2.635592)'), GeomFromEWKT('SRID=4674;POINT (-39.76692 -2.635558)'))) / (select extract(epoch from '2026-07-22 15:24:55'::timestamp) - extract(epoch from '2026-07-22 15:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766885 -2.635592)'), GeomFromEWKT('SRID=4674;POINT (-39.76692 -2.635558)'))) / (select extract(epoch from '2026-07-22 15:24:55'::timestamp) - extract(epoch from '2026-07-22 15:24: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'), 47870, 'SRID=4674;POINT (-39.766967 -2.635502)', '2026-07-22 15:25:05', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76692 -2.635558)'), GeomFromEWKT('SRID=4674;POINT (-39.766967 -2.635502)'))) / (select extract(epoch from '2026-07-22 15:25:05'::timestamp) - extract(epoch from '2026-07-22 15:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76692 -2.635558)'), GeomFromEWKT('SRID=4674;POINT (-39.766967 -2.635502)'))) / (select extract(epoch from '2026-07-22 15:25:05'::timestamp) - extract(epoch from '2026-07-22 15:24: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'), 47870, 'SRID=4674;POINT (-39.766967 -2.635502)', '2026-07-22 15:25:06', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766967 -2.635502)'), GeomFromEWKT('SRID=4674;POINT (-39.766967 -2.635502)'))) / (select extract(epoch from '2026-07-22 15:25:06'::timestamp) - extract(epoch from '2026-07-22 15:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766967 -2.635502)'), GeomFromEWKT('SRID=4674;POINT (-39.766967 -2.635502)'))) / (select extract(epoch from '2026-07-22 15:25:06'::timestamp) - extract(epoch from '2026-07-22 15:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76698 -2.635455)', '2026-07-22 15:25:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766967 -2.635502)'), GeomFromEWKT('SRID=4674;POINT (-39.76698 -2.635455)'))) / (select extract(epoch from '2026-07-22 15:25:12'::timestamp) - extract(epoch from '2026-07-22 15:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766967 -2.635502)'), GeomFromEWKT('SRID=4674;POINT (-39.76698 -2.635455)'))) / (select extract(epoch from '2026-07-22 15:25:12'::timestamp) - extract(epoch from '2026-07-22 15:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76702 -2.635409)', '2026-07-22 15:25:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76698 -2.635455)'), GeomFromEWKT('SRID=4674;POINT (-39.76702 -2.635409)'))) / (select extract(epoch from '2026-07-22 15:25:22'::timestamp) - extract(epoch from '2026-07-22 15:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76698 -2.635455)'), GeomFromEWKT('SRID=4674;POINT (-39.76702 -2.635409)'))) / (select extract(epoch from '2026-07-22 15:25:22'::timestamp) - extract(epoch from '2026-07-22 15:25: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'), 47870, 'SRID=4674;POINT (-39.767066 -2.635368)', '2026-07-22 15:25:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76702 -2.635409)'), GeomFromEWKT('SRID=4674;POINT (-39.767066 -2.635368)'))) / (select extract(epoch from '2026-07-22 15:25:33'::timestamp) - extract(epoch from '2026-07-22 15:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76702 -2.635409)'), GeomFromEWKT('SRID=4674;POINT (-39.767066 -2.635368)'))) / (select extract(epoch from '2026-07-22 15:25:33'::timestamp) - extract(epoch from '2026-07-22 15:25:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767085 -2.635343)', '2026-07-22 15:25:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767066 -2.635368)'), GeomFromEWKT('SRID=4674;POINT (-39.767085 -2.635343)'))) / (select extract(epoch from '2026-07-22 15:25:38'::timestamp) - extract(epoch from '2026-07-22 15:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767066 -2.635368)'), GeomFromEWKT('SRID=4674;POINT (-39.767085 -2.635343)'))) / (select extract(epoch from '2026-07-22 15:25:38'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767122 -2.63532)', '2026-07-22 15:25:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767085 -2.635343)'), GeomFromEWKT('SRID=4674;POINT (-39.767122 -2.63532)'))) / (select extract(epoch from '2026-07-22 15:25:45'::timestamp) - extract(epoch from '2026-07-22 15:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767085 -2.635343)'), GeomFromEWKT('SRID=4674;POINT (-39.767122 -2.63532)'))) / (select extract(epoch from '2026-07-22 15:25:45'::timestamp) - extract(epoch from '2026-07-22 15:25: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'), 47870, 'SRID=4674;POINT (-39.767134 -2.635305)', '2026-07-22 15:25:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767122 -2.63532)'), GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.635305)'))) / (select extract(epoch from '2026-07-22 15:25:50'::timestamp) - extract(epoch from '2026-07-22 15:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767122 -2.63532)'), GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.635305)'))) / (select extract(epoch from '2026-07-22 15:25:50'::timestamp) - extract(epoch from '2026-07-22 15:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767145 -2.6353)', '2026-07-22 15:25:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.635305)'), GeomFromEWKT('SRID=4674;POINT (-39.767145 -2.6353)'))) / (select extract(epoch from '2026-07-22 15:25:51'::timestamp) - extract(epoch from '2026-07-22 15:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.635305)'), GeomFromEWKT('SRID=4674;POINT (-39.767145 -2.6353)'))) / (select extract(epoch from '2026-07-22 15:25:51'::timestamp) - extract(epoch from '2026-07-22 15:25: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'), 47870, 'SRID=4674;POINT (-39.767161 -2.635283)', '2026-07-22 15:25:55', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767145 -2.6353)'), GeomFromEWKT('SRID=4674;POINT (-39.767161 -2.635283)'))) / (select extract(epoch from '2026-07-22 15:25:55'::timestamp) - extract(epoch from '2026-07-22 15:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767145 -2.6353)'), GeomFromEWKT('SRID=4674;POINT (-39.767161 -2.635283)'))) / (select extract(epoch from '2026-07-22 15:25:55'::timestamp) - extract(epoch from '2026-07-22 15:25: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'), 47870, 'SRID=4674;POINT (-39.767177 -2.63527)', '2026-07-22 15:26:04', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767161 -2.635283)'), GeomFromEWKT('SRID=4674;POINT (-39.767177 -2.63527)'))) / (select extract(epoch from '2026-07-22 15:26:04'::timestamp) - extract(epoch from '2026-07-22 15:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767161 -2.635283)'), GeomFromEWKT('SRID=4674;POINT (-39.767177 -2.63527)'))) / (select extract(epoch from '2026-07-22 15:26:04'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767191 -2.635265)', '2026-07-22 15:26:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767177 -2.63527)'), GeomFromEWKT('SRID=4674;POINT (-39.767191 -2.635265)'))) / (select extract(epoch from '2026-07-22 15:26:13'::timestamp) - extract(epoch from '2026-07-22 15:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767177 -2.63527)'), GeomFromEWKT('SRID=4674;POINT (-39.767191 -2.635265)'))) / (select extract(epoch from '2026-07-22 15:26:13'::timestamp) - extract(epoch from '2026-07-22 15:26: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'), 47870, 'SRID=4674;POINT (-39.767188 -2.635259)', '2026-07-22 15:26:19', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767191 -2.635265)'), GeomFromEWKT('SRID=4674;POINT (-39.767188 -2.635259)'))) / (select extract(epoch from '2026-07-22 15:26:19'::timestamp) - extract(epoch from '2026-07-22 15:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767191 -2.635265)'), GeomFromEWKT('SRID=4674;POINT (-39.767188 -2.635259)'))) / (select extract(epoch from '2026-07-22 15:26:19'::timestamp) - extract(epoch from '2026-07-22 15:26: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'), 47870, 'SRID=4674;POINT (-39.767195 -2.635244)', '2026-07-22 15:26:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767188 -2.635259)'), GeomFromEWKT('SRID=4674;POINT (-39.767195 -2.635244)'))) / (select extract(epoch from '2026-07-22 15:26:25'::timestamp) - extract(epoch from '2026-07-22 15:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767188 -2.635259)'), GeomFromEWKT('SRID=4674;POINT (-39.767195 -2.635244)'))) / (select extract(epoch from '2026-07-22 15:26:25'::timestamp) - extract(epoch from '2026-07-22 15:26: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'), 47870, 'SRID=4674;POINT (-39.767219 -2.635204)', '2026-07-22 15:26:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767195 -2.635244)'), GeomFromEWKT('SRID=4674;POINT (-39.767219 -2.635204)'))) / (select extract(epoch from '2026-07-22 15:26:34'::timestamp) - extract(epoch from '2026-07-22 15:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767195 -2.635244)'), GeomFromEWKT('SRID=4674;POINT (-39.767219 -2.635204)'))) / (select extract(epoch from '2026-07-22 15:26:34'::timestamp) - extract(epoch from '2026-07-22 15:26: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'), 47870, 'SRID=4674;POINT (-39.76722 -2.635159)', '2026-07-22 15:26:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767219 -2.635204)'), GeomFromEWKT('SRID=4674;POINT (-39.76722 -2.635159)'))) / (select extract(epoch from '2026-07-22 15:26:43'::timestamp) - extract(epoch from '2026-07-22 15:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767219 -2.635204)'), GeomFromEWKT('SRID=4674;POINT (-39.76722 -2.635159)'))) / (select extract(epoch from '2026-07-22 15:26:43'::timestamp) - extract(epoch from '2026-07-22 15:26: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'), 47870, 'SRID=4674;POINT (-39.767218 -2.635152)', '2026-07-22 15:26:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76722 -2.635159)'), GeomFromEWKT('SRID=4674;POINT (-39.767218 -2.635152)'))) / (select extract(epoch from '2026-07-22 15:26:56'::timestamp) - extract(epoch from '2026-07-22 15:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76722 -2.635159)'), GeomFromEWKT('SRID=4674;POINT (-39.767218 -2.635152)'))) / (select extract(epoch from '2026-07-22 15:26:56'::timestamp) - extract(epoch from '2026-07-22 15:26: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'), 47870, 'SRID=4674;POINT (-39.767229 -2.635102)', '2026-07-22 15:27:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767218 -2.635152)'), GeomFromEWKT('SRID=4674;POINT (-39.767229 -2.635102)'))) / (select extract(epoch from '2026-07-22 15:27:17'::timestamp) - extract(epoch from '2026-07-22 15:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767218 -2.635152)'), GeomFromEWKT('SRID=4674;POINT (-39.767229 -2.635102)'))) / (select extract(epoch from '2026-07-22 15:27:17'::timestamp) - extract(epoch from '2026-07-22 15:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767244 -2.635087)', '2026-07-22 15:27:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767229 -2.635102)'), GeomFromEWKT('SRID=4674;POINT (-39.767244 -2.635087)'))) / (select extract(epoch from '2026-07-22 15:27:23'::timestamp) - extract(epoch from '2026-07-22 15:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767229 -2.635102)'), GeomFromEWKT('SRID=4674;POINT (-39.767244 -2.635087)'))) / (select extract(epoch from '2026-07-22 15:27:23'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767256 -2.635077)', '2026-07-22 15:27:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767244 -2.635087)'), GeomFromEWKT('SRID=4674;POINT (-39.767256 -2.635077)'))) / (select extract(epoch from '2026-07-22 15:27:33'::timestamp) - extract(epoch from '2026-07-22 15:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767244 -2.635087)'), GeomFromEWKT('SRID=4674;POINT (-39.767256 -2.635077)'))) / (select extract(epoch from '2026-07-22 15:27:33'::timestamp) - extract(epoch from '2026-07-22 15:27: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'), 47870, 'SRID=4674;POINT (-39.76725 -2.635071)', '2026-07-22 15:27:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767256 -2.635077)'), GeomFromEWKT('SRID=4674;POINT (-39.76725 -2.635071)'))) / (select extract(epoch from '2026-07-22 15:27:38'::timestamp) - extract(epoch from '2026-07-22 15:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767256 -2.635077)'), GeomFromEWKT('SRID=4674;POINT (-39.76725 -2.635071)'))) / (select extract(epoch from '2026-07-22 15:27:38'::timestamp) - extract(epoch from '2026-07-22 15:27: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'), 47870, 'SRID=4674;POINT (-39.767225 -2.635084)', '2026-07-22 15:27:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76725 -2.635071)'), GeomFromEWKT('SRID=4674;POINT (-39.767225 -2.635084)'))) / (select extract(epoch from '2026-07-22 15:27:42'::timestamp) - extract(epoch from '2026-07-22 15:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76725 -2.635071)'), GeomFromEWKT('SRID=4674;POINT (-39.767225 -2.635084)'))) / (select extract(epoch from '2026-07-22 15:27:42'::timestamp) - extract(epoch from '2026-07-22 15:27: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'), 47870, 'SRID=4674;POINT (-39.767194 -2.635106)', '2026-07-22 15:27:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767225 -2.635084)'), GeomFromEWKT('SRID=4674;POINT (-39.767194 -2.635106)'))) / (select extract(epoch from '2026-07-22 15:27:50'::timestamp) - extract(epoch from '2026-07-22 15:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767225 -2.635084)'), GeomFromEWKT('SRID=4674;POINT (-39.767194 -2.635106)'))) / (select extract(epoch from '2026-07-22 15:27:50'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767197 -2.635123)', '2026-07-22 15:27:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767194 -2.635106)'), GeomFromEWKT('SRID=4674;POINT (-39.767197 -2.635123)'))) / (select extract(epoch from '2026-07-22 15:27:55'::timestamp) - extract(epoch from '2026-07-22 15:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767194 -2.635106)'), GeomFromEWKT('SRID=4674;POINT (-39.767197 -2.635123)'))) / (select extract(epoch from '2026-07-22 15:27:55'::timestamp) - extract(epoch from '2026-07-22 15:27: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'), 47870, 'SRID=4674;POINT (-39.767228 -2.635111)', '2026-07-22 15:28:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767197 -2.635123)'), GeomFromEWKT('SRID=4674;POINT (-39.767228 -2.635111)'))) / (select extract(epoch from '2026-07-22 15:28:07'::timestamp) - extract(epoch from '2026-07-22 15:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767197 -2.635123)'), GeomFromEWKT('SRID=4674;POINT (-39.767228 -2.635111)'))) / (select extract(epoch from '2026-07-22 15:28:07'::timestamp) - extract(epoch from '2026-07-22 15:27: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'), 47870, 'SRID=4674;POINT (-39.767252 -2.635093)', '2026-07-22 15:28:15', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767228 -2.635111)'), GeomFromEWKT('SRID=4674;POINT (-39.767252 -2.635093)'))) / (select extract(epoch from '2026-07-22 15:28:15'::timestamp) - extract(epoch from '2026-07-22 15:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767228 -2.635111)'), GeomFromEWKT('SRID=4674;POINT (-39.767252 -2.635093)'))) / (select extract(epoch from '2026-07-22 15:28:15'::timestamp) - extract(epoch from '2026-07-22 15:28: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'), 47870, 'SRID=4674;POINT (-39.76724 -2.6351)', '2026-07-22 15:28:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767252 -2.635093)'), GeomFromEWKT('SRID=4674;POINT (-39.76724 -2.6351)'))) / (select extract(epoch from '2026-07-22 15:28:21'::timestamp) - extract(epoch from '2026-07-22 15:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767252 -2.635093)'), GeomFromEWKT('SRID=4674;POINT (-39.76724 -2.6351)'))) / (select extract(epoch from '2026-07-22 15:28:21'::timestamp) - extract(epoch from '2026-07-22 15:28: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'), 47870, 'SRID=4674;POINT (-39.76719 -2.635119)', '2026-07-22 15:28:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76724 -2.6351)'), GeomFromEWKT('SRID=4674;POINT (-39.76719 -2.635119)'))) / (select extract(epoch from '2026-07-22 15:28:26'::timestamp) - extract(epoch from '2026-07-22 15:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76724 -2.6351)'), GeomFromEWKT('SRID=4674;POINT (-39.76719 -2.635119)'))) / (select extract(epoch from '2026-07-22 15:28:26'::timestamp) - extract(epoch from '2026-07-22 15:28: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'), 47870, 'SRID=4674;POINT (-39.767138 -2.635187)', '2026-07-22 15:28:32', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76719 -2.635119)'), GeomFromEWKT('SRID=4674;POINT (-39.767138 -2.635187)'))) / (select extract(epoch from '2026-07-22 15:28:32'::timestamp) - extract(epoch from '2026-07-22 15:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76719 -2.635119)'), GeomFromEWKT('SRID=4674;POINT (-39.767138 -2.635187)'))) / (select extract(epoch from '2026-07-22 15:28:32'::timestamp) - extract(epoch from '2026-07-22 15:28: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'), 47870, 'SRID=4674;POINT (-39.767137 -2.635201)', '2026-07-22 15:28:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767138 -2.635187)'), GeomFromEWKT('SRID=4674;POINT (-39.767137 -2.635201)'))) / (select extract(epoch from '2026-07-22 15:28:33'::timestamp) - extract(epoch from '2026-07-22 15:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767138 -2.635187)'), GeomFromEWKT('SRID=4674;POINT (-39.767137 -2.635201)'))) / (select extract(epoch from '2026-07-22 15:28:33'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.767136 -2.635322)', '2026-07-22 15:28:40', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767137 -2.635201)'), GeomFromEWKT('SRID=4674;POINT (-39.767136 -2.635322)'))) / (select extract(epoch from '2026-07-22 15:28:40'::timestamp) - extract(epoch from '2026-07-22 15:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767137 -2.635201)'), GeomFromEWKT('SRID=4674;POINT (-39.767136 -2.635322)'))) / (select extract(epoch from '2026-07-22 15:28:40'::timestamp) - extract(epoch from '2026-07-22 15:28: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'), 47870, 'SRID=4674;POINT (-39.767131 -2.635391)', '2026-07-22 15:28:44', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767136 -2.635322)'), GeomFromEWKT('SRID=4674;POINT (-39.767131 -2.635391)'))) / (select extract(epoch from '2026-07-22 15:28:44'::timestamp) - extract(epoch from '2026-07-22 15:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767136 -2.635322)'), GeomFromEWKT('SRID=4674;POINT (-39.767131 -2.635391)'))) / (select extract(epoch from '2026-07-22 15:28:44'::timestamp) - extract(epoch from '2026-07-22 15:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.767134 -2.635409)', '2026-07-22 15:28:45', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767131 -2.635391)'), GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.635409)'))) / (select extract(epoch from '2026-07-22 15:28:45'::timestamp) - extract(epoch from '2026-07-22 15:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767131 -2.635391)'), GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.635409)'))) / (select extract(epoch from '2026-07-22 15:28:45'::timestamp) - extract(epoch from '2026-07-22 15:28: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'), 47870, 'SRID=4674;POINT (-39.767134 -2.63551)', '2026-07-22 15:28:50', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.635409)'), GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.63551)'))) / (select extract(epoch from '2026-07-22 15:28:50'::timestamp) - extract(epoch from '2026-07-22 15:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.635409)'), GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.63551)'))) / (select extract(epoch from '2026-07-22 15:28:50'::timestamp) - extract(epoch from '2026-07-22 15:28: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'), 47870, 'SRID=4674;POINT (-39.7671 -2.635626)', '2026-07-22 15:28:56', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.63551)'), GeomFromEWKT('SRID=4674;POINT (-39.7671 -2.635626)'))) / (select extract(epoch from '2026-07-22 15:28:56'::timestamp) - extract(epoch from '2026-07-22 15:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767134 -2.63551)'), GeomFromEWKT('SRID=4674;POINT (-39.7671 -2.635626)'))) / (select extract(epoch from '2026-07-22 15:28:56'::timestamp) - extract(epoch from '2026-07-22 15:28: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'), 47870, 'SRID=4674;POINT (-39.767036 -2.635705)', '2026-07-22 15:29:02', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7671 -2.635626)'), GeomFromEWKT('SRID=4674;POINT (-39.767036 -2.635705)'))) / (select extract(epoch from '2026-07-22 15:29:02'::timestamp) - extract(epoch from '2026-07-22 15:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7671 -2.635626)'), GeomFromEWKT('SRID=4674;POINT (-39.767036 -2.635705)'))) / (select extract(epoch from '2026-07-22 15:29:02'::timestamp) - extract(epoch from '2026-07-22 15:28: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'), 47870, 'SRID=4674;POINT (-39.766981 -2.635739)', '2026-07-22 15:29:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767036 -2.635705)'), GeomFromEWKT('SRID=4674;POINT (-39.766981 -2.635739)'))) / (select extract(epoch from '2026-07-22 15:29:07'::timestamp) - extract(epoch from '2026-07-22 15:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.767036 -2.635705)'), GeomFromEWKT('SRID=4674;POINT (-39.766981 -2.635739)'))) / (select extract(epoch from '2026-07-22 15:29:07'::timestamp) - extract(epoch from '2026-07-22 15:29: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'), 47870, 'SRID=4674;POINT (-39.766968 -2.635738)', '2026-07-22 15:29:08', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766981 -2.635739)'), GeomFromEWKT('SRID=4674;POINT (-39.766968 -2.635738)'))) / (select extract(epoch from '2026-07-22 15:29:08'::timestamp) - extract(epoch from '2026-07-22 15:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766981 -2.635739)'), GeomFromEWKT('SRID=4674;POINT (-39.766968 -2.635738)'))) / (select extract(epoch from '2026-07-22 15:29:08'::timestamp) - extract(epoch from '2026-07-22 15:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.766896 -2.635722)', '2026-07-22 15:29:14', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766968 -2.635738)'), GeomFromEWKT('SRID=4674;POINT (-39.766896 -2.635722)'))) / (select extract(epoch from '2026-07-22 15:29:14'::timestamp) - extract(epoch from '2026-07-22 15:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766968 -2.635738)'), GeomFromEWKT('SRID=4674;POINT (-39.766896 -2.635722)'))) / (select extract(epoch from '2026-07-22 15:29:14'::timestamp) - extract(epoch from '2026-07-22 15:29: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'), 47870, 'SRID=4674;POINT (-39.766878 -2.63571)', '2026-07-22 15:29:16', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766896 -2.635722)'), GeomFromEWKT('SRID=4674;POINT (-39.766878 -2.63571)'))) / (select extract(epoch from '2026-07-22 15:29:16'::timestamp) - extract(epoch from '2026-07-22 15:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766896 -2.635722)'), GeomFromEWKT('SRID=4674;POINT (-39.766878 -2.63571)'))) / (select extract(epoch from '2026-07-22 15:29:16'::timestamp) - extract(epoch from '2026-07-22 15:29: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'), 47870, 'SRID=4674;POINT (-39.766861 -2.635705)', '2026-07-22 15:29:18', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766878 -2.63571)'), GeomFromEWKT('SRID=4674;POINT (-39.766861 -2.635705)'))) / (select extract(epoch from '2026-07-22 15:29:18'::timestamp) - extract(epoch from '2026-07-22 15:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766878 -2.63571)'), GeomFromEWKT('SRID=4674;POINT (-39.766861 -2.635705)'))) / (select extract(epoch from '2026-07-22 15:29:18'::timestamp) - extract(epoch from '2026-07-22 15:29: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'), 47870, 'SRID=4674;POINT (-39.766818 -2.635686)', '2026-07-22 15:29:23', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766861 -2.635705)'), GeomFromEWKT('SRID=4674;POINT (-39.766818 -2.635686)'))) / (select extract(epoch from '2026-07-22 15:29:23'::timestamp) - extract(epoch from '2026-07-22 15:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766861 -2.635705)'), GeomFromEWKT('SRID=4674;POINT (-39.766818 -2.635686)'))) / (select extract(epoch from '2026-07-22 15:29:23'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.766809 -2.635679)', '2026-07-22 15:29:24', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766818 -2.635686)'), GeomFromEWKT('SRID=4674;POINT (-39.766809 -2.635679)'))) / (select extract(epoch from '2026-07-22 15:29:24'::timestamp) - extract(epoch from '2026-07-22 15:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766818 -2.635686)'), GeomFromEWKT('SRID=4674;POINT (-39.766809 -2.635679)'))) / (select extract(epoch from '2026-07-22 15:29:24'::timestamp) - extract(epoch from '2026-07-22 15:29: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'), 47870, 'SRID=4674;POINT (-39.7668 -2.635651)', '2026-07-22 15:29:30', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766809 -2.635679)'), GeomFromEWKT('SRID=4674;POINT (-39.7668 -2.635651)'))) / (select extract(epoch from '2026-07-22 15:29:30'::timestamp) - extract(epoch from '2026-07-22 15:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766809 -2.635679)'), GeomFromEWKT('SRID=4674;POINT (-39.7668 -2.635651)'))) / (select extract(epoch from '2026-07-22 15:29:30'::timestamp) - extract(epoch from '2026-07-22 15: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'), 47870, 'SRID=4674;POINT (-39.76679 -2.63558)', '2026-07-22 15:29:42', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7668 -2.635651)'), GeomFromEWKT('SRID=4674;POINT (-39.76679 -2.63558)'))) / (select extract(epoch from '2026-07-22 15:29:42'::timestamp) - extract(epoch from '2026-07-22 15:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7668 -2.635651)'), GeomFromEWKT('SRID=4674;POINT (-39.76679 -2.63558)'))) / (select extract(epoch from '2026-07-22 15:29:42'::timestamp) - extract(epoch from '2026-07-22 15:29: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'), 47870, 'SRID=4674;POINT (-39.766809 -2.635542)', '2026-07-22 15:29:49', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76679 -2.63558)'), GeomFromEWKT('SRID=4674;POINT (-39.766809 -2.635542)'))) / (select extract(epoch from '2026-07-22 15:29:49'::timestamp) - extract(epoch from '2026-07-22 15:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76679 -2.63558)'), GeomFromEWKT('SRID=4674;POINT (-39.766809 -2.635542)'))) / (select extract(epoch from '2026-07-22 15:29:49'::timestamp) - extract(epoch from '2026-07-22 15:29:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.766829 -2.635518)', '2026-07-22 15:29:55', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766809 -2.635542)'), GeomFromEWKT('SRID=4674;POINT (-39.766829 -2.635518)'))) / (select extract(epoch from '2026-07-22 15:29:55'::timestamp) - extract(epoch from '2026-07-22 15:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766809 -2.635542)'), GeomFromEWKT('SRID=4674;POINT (-39.766829 -2.635518)'))) / (select extract(epoch from '2026-07-22 15:29:55'::timestamp) - extract(epoch from '2026-07-22 15:29: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'), 47870, 'SRID=4674;POINT (-39.766892 -2.635485)', '2026-07-22 15:30:06', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766829 -2.635518)'), GeomFromEWKT('SRID=4674;POINT (-39.766892 -2.635485)'))) / (select extract(epoch from '2026-07-22 15:30:06'::timestamp) - extract(epoch from '2026-07-22 15:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766829 -2.635518)'), GeomFromEWKT('SRID=4674;POINT (-39.766892 -2.635485)'))) / (select extract(epoch from '2026-07-22 15:30:06'::timestamp) - extract(epoch from '2026-07-22 15:29: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'), 47870, 'SRID=4674;POINT (-39.766927 -2.635472)', '2026-07-22 15:30:13', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766892 -2.635485)'), GeomFromEWKT('SRID=4674;POINT (-39.766927 -2.635472)'))) / (select extract(epoch from '2026-07-22 15:30:13'::timestamp) - extract(epoch from '2026-07-22 15:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766892 -2.635485)'), GeomFromEWKT('SRID=4674;POINT (-39.766927 -2.635472)'))) / (select extract(epoch from '2026-07-22 15:30:13'::timestamp) - extract(epoch from '2026-07-22 15:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.766938 -2.63545)', '2026-07-22 15:30:20', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766927 -2.635472)'), GeomFromEWKT('SRID=4674;POINT (-39.766938 -2.63545)'))) / (select extract(epoch from '2026-07-22 15:30:20'::timestamp) - extract(epoch from '2026-07-22 15:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766927 -2.635472)'), GeomFromEWKT('SRID=4674;POINT (-39.766938 -2.63545)'))) / (select extract(epoch from '2026-07-22 15:30:20'::timestamp) - extract(epoch from '2026-07-22 15:30: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'), 47870, 'SRID=4674;POINT (-39.766954 -2.635426)', '2026-07-22 15:30:30', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766938 -2.63545)'), GeomFromEWKT('SRID=4674;POINT (-39.766954 -2.635426)'))) / (select extract(epoch from '2026-07-22 15:30:30'::timestamp) - extract(epoch from '2026-07-22 15:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.766938 -2.63545)'), GeomFromEWKT('SRID=4674;POINT (-39.766954 -2.635426)'))) / (select extract(epoch from '2026-07-22 15:30:30'::timestamp) - extract(epoch from '2026-07-22 15:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
