 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.760751 -2.646382)', '2026-07-22 16:31:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760706 -2.646446)'), GeomFromEWKT('SRID=4674;POINT (-39.760751 -2.646382)'))) / (select extract(epoch from '2026-07-22 16:31:05'::timestamp) - extract(epoch from '2026-07-22 16:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760706 -2.646446)'), GeomFromEWKT('SRID=4674;POINT (-39.760751 -2.646382)'))) / (select extract(epoch from '2026-07-22 16:31:05'::timestamp) - extract(epoch from '2026-07-22 16:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.760802 -2.64633)', '2026-07-22 16:31:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760751 -2.646382)'), GeomFromEWKT('SRID=4674;POINT (-39.760802 -2.64633)'))) / (select extract(epoch from '2026-07-22 16:31:17'::timestamp) - extract(epoch from '2026-07-22 16:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760751 -2.646382)'), GeomFromEWKT('SRID=4674;POINT (-39.760802 -2.64633)'))) / (select extract(epoch from '2026-07-22 16:31:17'::timestamp) - extract(epoch from '2026-07-22 16:31: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.760862 -2.646283)', '2026-07-22 16:31:26', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760802 -2.64633)'), GeomFromEWKT('SRID=4674;POINT (-39.760862 -2.646283)'))) / (select extract(epoch from '2026-07-22 16:31:26'::timestamp) - extract(epoch from '2026-07-22 16:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760802 -2.64633)'), GeomFromEWKT('SRID=4674;POINT (-39.760862 -2.646283)'))) / (select extract(epoch from '2026-07-22 16:31:26'::timestamp) - extract(epoch from '2026-07-22 16:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.760912 -2.64623)', '2026-07-22 16:31:36', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760862 -2.646283)'), GeomFromEWKT('SRID=4674;POINT (-39.760912 -2.64623)'))) / (select extract(epoch from '2026-07-22 16:31:36'::timestamp) - extract(epoch from '2026-07-22 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760862 -2.646283)'), GeomFromEWKT('SRID=4674;POINT (-39.760912 -2.64623)'))) / (select extract(epoch from '2026-07-22 16:31:36'::timestamp) - extract(epoch from '2026-07-22 16:31: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.760925 -2.646208)', '2026-07-22 16:31:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760912 -2.64623)'), GeomFromEWKT('SRID=4674;POINT (-39.760925 -2.646208)'))) / (select extract(epoch from '2026-07-22 16:31:40'::timestamp) - extract(epoch from '2026-07-22 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760912 -2.64623)'), GeomFromEWKT('SRID=4674;POINT (-39.760925 -2.646208)'))) / (select extract(epoch from '2026-07-22 16:31:40'::timestamp) - extract(epoch from '2026-07-22 16:31: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.760933 -2.646198)', '2026-07-22 16:31:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760925 -2.646208)'), GeomFromEWKT('SRID=4674;POINT (-39.760933 -2.646198)'))) / (select extract(epoch from '2026-07-22 16:31:43'::timestamp) - extract(epoch from '2026-07-22 16:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760925 -2.646208)'), GeomFromEWKT('SRID=4674;POINT (-39.760933 -2.646198)'))) / (select extract(epoch from '2026-07-22 16:31:43'::timestamp) - extract(epoch from '2026-07-22 16:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.760974 -2.646164)', '2026-07-22 16:31:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760933 -2.646198)'), GeomFromEWKT('SRID=4674;POINT (-39.760974 -2.646164)'))) / (select extract(epoch from '2026-07-22 16:31:53'::timestamp) - extract(epoch from '2026-07-22 16:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760933 -2.646198)'), GeomFromEWKT('SRID=4674;POINT (-39.760974 -2.646164)'))) / (select extract(epoch from '2026-07-22 16:31:53'::timestamp) - extract(epoch from '2026-07-22 16:31: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.761017 -2.646117)', '2026-07-22 16:32:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760974 -2.646164)'), GeomFromEWKT('SRID=4674;POINT (-39.761017 -2.646117)'))) / (select extract(epoch from '2026-07-22 16:32:05'::timestamp) - extract(epoch from '2026-07-22 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.760974 -2.646164)'), GeomFromEWKT('SRID=4674;POINT (-39.761017 -2.646117)'))) / (select extract(epoch from '2026-07-22 16:32:05'::timestamp) - extract(epoch from '2026-07-22 16:31: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.761068 -2.646048)', '2026-07-22 16:32:17', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761017 -2.646117)'), GeomFromEWKT('SRID=4674;POINT (-39.761068 -2.646048)'))) / (select extract(epoch from '2026-07-22 16:32:17'::timestamp) - extract(epoch from '2026-07-22 16:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761017 -2.646117)'), GeomFromEWKT('SRID=4674;POINT (-39.761068 -2.646048)'))) / (select extract(epoch from '2026-07-22 16:32:17'::timestamp) - extract(epoch from '2026-07-22 16:32: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.761118 -2.645971)', '2026-07-22 16:32:28', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761068 -2.646048)'), GeomFromEWKT('SRID=4674;POINT (-39.761118 -2.645971)'))) / (select extract(epoch from '2026-07-22 16:32:28'::timestamp) - extract(epoch from '2026-07-22 16:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761068 -2.646048)'), GeomFromEWKT('SRID=4674;POINT (-39.761118 -2.645971)'))) / (select extract(epoch from '2026-07-22 16:32:28'::timestamp) - extract(epoch from '2026-07-22 16:32: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.76115 -2.645937)', '2026-07-22 16:32:34', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761118 -2.645971)'), GeomFromEWKT('SRID=4674;POINT (-39.76115 -2.645937)'))) / (select extract(epoch from '2026-07-22 16:32:34'::timestamp) - extract(epoch from '2026-07-22 16:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761118 -2.645971)'), GeomFromEWKT('SRID=4674;POINT (-39.76115 -2.645937)'))) / (select extract(epoch from '2026-07-22 16:32:34'::timestamp) - extract(epoch from '2026-07-22 16:32:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761186 -2.645892)', '2026-07-22 16:32:42', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76115 -2.645937)'), GeomFromEWKT('SRID=4674;POINT (-39.761186 -2.645892)'))) / (select extract(epoch from '2026-07-22 16:32:42'::timestamp) - extract(epoch from '2026-07-22 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76115 -2.645937)'), GeomFromEWKT('SRID=4674;POINT (-39.761186 -2.645892)'))) / (select extract(epoch from '2026-07-22 16:32:42'::timestamp) - extract(epoch from '2026-07-22 16:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761219 -2.645847)', '2026-07-22 16:32:51', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761186 -2.645892)'), GeomFromEWKT('SRID=4674;POINT (-39.761219 -2.645847)'))) / (select extract(epoch from '2026-07-22 16:32:51'::timestamp) - extract(epoch from '2026-07-22 16:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761186 -2.645892)'), GeomFromEWKT('SRID=4674;POINT (-39.761219 -2.645847)'))) / (select extract(epoch from '2026-07-22 16:32:51'::timestamp) - extract(epoch from '2026-07-22 16:32:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76126 -2.645804)', '2026-07-22 16:33:00', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761219 -2.645847)'), GeomFromEWKT('SRID=4674;POINT (-39.76126 -2.645804)'))) / (select extract(epoch from '2026-07-22 16:33:00'::timestamp) - extract(epoch from '2026-07-22 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761219 -2.645847)'), GeomFromEWKT('SRID=4674;POINT (-39.76126 -2.645804)'))) / (select extract(epoch from '2026-07-22 16:33:00'::timestamp) - extract(epoch from '2026-07-22 16:32: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.76129 -2.645741)', '2026-07-22 16:33:12', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76126 -2.645804)'), GeomFromEWKT('SRID=4674;POINT (-39.76129 -2.645741)'))) / (select extract(epoch from '2026-07-22 16:33:12'::timestamp) - extract(epoch from '2026-07-22 16:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76126 -2.645804)'), GeomFromEWKT('SRID=4674;POINT (-39.76129 -2.645741)'))) / (select extract(epoch from '2026-07-22 16:33:12'::timestamp) - extract(epoch from '2026-07-22 16:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761326 -2.645711)', '2026-07-22 16:33:20', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76129 -2.645741)'), GeomFromEWKT('SRID=4674;POINT (-39.761326 -2.645711)'))) / (select extract(epoch from '2026-07-22 16:33:20'::timestamp) - extract(epoch from '2026-07-22 16:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76129 -2.645741)'), GeomFromEWKT('SRID=4674;POINT (-39.761326 -2.645711)'))) / (select extract(epoch from '2026-07-22 16:33:20'::timestamp) - extract(epoch from '2026-07-22 16:33:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761352 -2.645686)', '2026-07-22 16:33:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761326 -2.645711)'), GeomFromEWKT('SRID=4674;POINT (-39.761352 -2.645686)'))) / (select extract(epoch from '2026-07-22 16:33:26'::timestamp) - extract(epoch from '2026-07-22 16:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761326 -2.645711)'), GeomFromEWKT('SRID=4674;POINT (-39.761352 -2.645686)'))) / (select extract(epoch from '2026-07-22 16:33:26'::timestamp) - extract(epoch from '2026-07-22 16:33:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761399 -2.64565)', '2026-07-22 16:33:36', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761352 -2.645686)'), GeomFromEWKT('SRID=4674;POINT (-39.761399 -2.64565)'))) / (select extract(epoch from '2026-07-22 16:33:36'::timestamp) - extract(epoch from '2026-07-22 16:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761352 -2.645686)'), GeomFromEWKT('SRID=4674;POINT (-39.761399 -2.64565)'))) / (select extract(epoch from '2026-07-22 16:33:36'::timestamp) - extract(epoch from '2026-07-22 16:33: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.761462 -2.645603)', '2026-07-22 16:33:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761399 -2.64565)'), GeomFromEWKT('SRID=4674;POINT (-39.761462 -2.645603)'))) / (select extract(epoch from '2026-07-22 16:33:46'::timestamp) - extract(epoch from '2026-07-22 16:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761399 -2.64565)'), GeomFromEWKT('SRID=4674;POINT (-39.761462 -2.645603)'))) / (select extract(epoch from '2026-07-22 16:33:46'::timestamp) - extract(epoch from '2026-07-22 16:33: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.761512 -2.645557)', '2026-07-22 16:33:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761462 -2.645603)'), GeomFromEWKT('SRID=4674;POINT (-39.761512 -2.645557)'))) / (select extract(epoch from '2026-07-22 16:33:56'::timestamp) - extract(epoch from '2026-07-22 16:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761462 -2.645603)'), GeomFromEWKT('SRID=4674;POINT (-39.761512 -2.645557)'))) / (select extract(epoch from '2026-07-22 16:33:56'::timestamp) - extract(epoch from '2026-07-22 16:33: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.761572 -2.645501)', '2026-07-22 16:34:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761512 -2.645557)'), GeomFromEWKT('SRID=4674;POINT (-39.761572 -2.645501)'))) / (select extract(epoch from '2026-07-22 16:34:08'::timestamp) - extract(epoch from '2026-07-22 16:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761512 -2.645557)'), GeomFromEWKT('SRID=4674;POINT (-39.761572 -2.645501)'))) / (select extract(epoch from '2026-07-22 16:34:08'::timestamp) - extract(epoch from '2026-07-22 16:33: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.761632 -2.645458)', '2026-07-22 16:34:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761572 -2.645501)'), GeomFromEWKT('SRID=4674;POINT (-39.761632 -2.645458)'))) / (select extract(epoch from '2026-07-22 16:34:17'::timestamp) - extract(epoch from '2026-07-22 16:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761572 -2.645501)'), GeomFromEWKT('SRID=4674;POINT (-39.761632 -2.645458)'))) / (select extract(epoch from '2026-07-22 16:34:17'::timestamp) - extract(epoch from '2026-07-22 16:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761643 -2.645438)', '2026-07-22 16:34:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761632 -2.645458)'), GeomFromEWKT('SRID=4674;POINT (-39.761643 -2.645438)'))) / (select extract(epoch from '2026-07-22 16:34:23'::timestamp) - extract(epoch from '2026-07-22 16:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761632 -2.645458)'), GeomFromEWKT('SRID=4674;POINT (-39.761643 -2.645438)'))) / (select extract(epoch from '2026-07-22 16:34:23'::timestamp) - extract(epoch from '2026-07-22 16:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76169 -2.645375)', '2026-07-22 16:34:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761643 -2.645438)'), GeomFromEWKT('SRID=4674;POINT (-39.76169 -2.645375)'))) / (select extract(epoch from '2026-07-22 16:34:35'::timestamp) - extract(epoch from '2026-07-22 16:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761643 -2.645438)'), GeomFromEWKT('SRID=4674;POINT (-39.76169 -2.645375)'))) / (select extract(epoch from '2026-07-22 16:34:35'::timestamp) - extract(epoch from '2026-07-22 16:34: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.761735 -2.645335)', '2026-07-22 16:34:45', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76169 -2.645375)'), GeomFromEWKT('SRID=4674;POINT (-39.761735 -2.645335)'))) / (select extract(epoch from '2026-07-22 16:34:45'::timestamp) - extract(epoch from '2026-07-22 16:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76169 -2.645375)'), GeomFromEWKT('SRID=4674;POINT (-39.761735 -2.645335)'))) / (select extract(epoch from '2026-07-22 16:34:45'::timestamp) - extract(epoch from '2026-07-22 16:34: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.761797 -2.64526)', '2026-07-22 16:34:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761735 -2.645335)'), GeomFromEWKT('SRID=4674;POINT (-39.761797 -2.64526)'))) / (select extract(epoch from '2026-07-22 16:34:58'::timestamp) - extract(epoch from '2026-07-22 16:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761735 -2.645335)'), GeomFromEWKT('SRID=4674;POINT (-39.761797 -2.64526)'))) / (select extract(epoch from '2026-07-22 16:34:58'::timestamp) - extract(epoch from '2026-07-22 16:34: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.761861 -2.645201)', '2026-07-22 16:35:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761797 -2.64526)'), GeomFromEWKT('SRID=4674;POINT (-39.761861 -2.645201)'))) / (select extract(epoch from '2026-07-22 16:35:10'::timestamp) - extract(epoch from '2026-07-22 16:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761797 -2.64526)'), GeomFromEWKT('SRID=4674;POINT (-39.761861 -2.645201)'))) / (select extract(epoch from '2026-07-22 16:35:10'::timestamp) - extract(epoch from '2026-07-22 16:34: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.761909 -2.645157)', '2026-07-22 16:35:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761861 -2.645201)'), GeomFromEWKT('SRID=4674;POINT (-39.761909 -2.645157)'))) / (select extract(epoch from '2026-07-22 16:35:17'::timestamp) - extract(epoch from '2026-07-22 16:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761861 -2.645201)'), GeomFromEWKT('SRID=4674;POINT (-39.761909 -2.645157)'))) / (select extract(epoch from '2026-07-22 16:35:17'::timestamp) - extract(epoch from '2026-07-22 16:35: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.761948 -2.645127)', '2026-07-22 16:35:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761909 -2.645157)'), GeomFromEWKT('SRID=4674;POINT (-39.761948 -2.645127)'))) / (select extract(epoch from '2026-07-22 16:35:24'::timestamp) - extract(epoch from '2026-07-22 16:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761909 -2.645157)'), GeomFromEWKT('SRID=4674;POINT (-39.761948 -2.645127)'))) / (select extract(epoch from '2026-07-22 16:35:24'::timestamp) - extract(epoch from '2026-07-22 16:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761993 -2.64509)', '2026-07-22 16:35:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761948 -2.645127)'), GeomFromEWKT('SRID=4674;POINT (-39.761993 -2.64509)'))) / (select extract(epoch from '2026-07-22 16:35:33'::timestamp) - extract(epoch from '2026-07-22 16:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761948 -2.645127)'), GeomFromEWKT('SRID=4674;POINT (-39.761993 -2.64509)'))) / (select extract(epoch from '2026-07-22 16:35:33'::timestamp) - extract(epoch from '2026-07-22 16:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762043 -2.645042)', '2026-07-22 16:35:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761993 -2.64509)'), GeomFromEWKT('SRID=4674;POINT (-39.762043 -2.645042)'))) / (select extract(epoch from '2026-07-22 16:35:41'::timestamp) - extract(epoch from '2026-07-22 16:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761993 -2.64509)'), GeomFromEWKT('SRID=4674;POINT (-39.762043 -2.645042)'))) / (select extract(epoch from '2026-07-22 16:35:41'::timestamp) - extract(epoch from '2026-07-22 16:35: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.762061 -2.645003)', '2026-07-22 16:35:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762043 -2.645042)'), GeomFromEWKT('SRID=4674;POINT (-39.762061 -2.645003)'))) / (select extract(epoch from '2026-07-22 16:35:48'::timestamp) - extract(epoch from '2026-07-22 16:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762043 -2.645042)'), GeomFromEWKT('SRID=4674;POINT (-39.762061 -2.645003)'))) / (select extract(epoch from '2026-07-22 16:35:48'::timestamp) - extract(epoch from '2026-07-22 16:35: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.762109 -2.644939)', '2026-07-22 16:35:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762061 -2.645003)'), GeomFromEWKT('SRID=4674;POINT (-39.762109 -2.644939)'))) / (select extract(epoch from '2026-07-22 16:35:59'::timestamp) - extract(epoch from '2026-07-22 16:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762061 -2.645003)'), GeomFromEWKT('SRID=4674;POINT (-39.762109 -2.644939)'))) / (select extract(epoch from '2026-07-22 16:35:59'::timestamp) - extract(epoch from '2026-07-22 16:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762146 -2.64486)', '2026-07-22 16:36:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762109 -2.644939)'), GeomFromEWKT('SRID=4674;POINT (-39.762146 -2.64486)'))) / (select extract(epoch from '2026-07-22 16:36:13'::timestamp) - extract(epoch from '2026-07-22 16:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762109 -2.644939)'), GeomFromEWKT('SRID=4674;POINT (-39.762146 -2.64486)'))) / (select extract(epoch from '2026-07-22 16:36:13'::timestamp) - extract(epoch from '2026-07-22 16:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762123 -2.644845)', '2026-07-22 16:36:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762146 -2.64486)'), GeomFromEWKT('SRID=4674;POINT (-39.762123 -2.644845)'))) / (select extract(epoch from '2026-07-22 16:36:21'::timestamp) - extract(epoch from '2026-07-22 16:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762146 -2.64486)'), GeomFromEWKT('SRID=4674;POINT (-39.762123 -2.644845)'))) / (select extract(epoch from '2026-07-22 16:36:21'::timestamp) - extract(epoch from '2026-07-22 16:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762056 -2.644863)', '2026-07-22 16:36:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762123 -2.644845)'), GeomFromEWKT('SRID=4674;POINT (-39.762056 -2.644863)'))) / (select extract(epoch from '2026-07-22 16:36:30'::timestamp) - extract(epoch from '2026-07-22 16:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762123 -2.644845)'), GeomFromEWKT('SRID=4674;POINT (-39.762056 -2.644863)'))) / (select extract(epoch from '2026-07-22 16:36:30'::timestamp) - extract(epoch from '2026-07-22 16: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.761985 -2.644902)', '2026-07-22 16:36:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762056 -2.644863)'), GeomFromEWKT('SRID=4674;POINT (-39.761985 -2.644902)'))) / (select extract(epoch from '2026-07-22 16:36:39'::timestamp) - extract(epoch from '2026-07-22 16:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762056 -2.644863)'), GeomFromEWKT('SRID=4674;POINT (-39.761985 -2.644902)'))) / (select extract(epoch from '2026-07-22 16:36:39'::timestamp) - extract(epoch from '2026-07-22 16:36: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.761865 -2.64493)', '2026-07-22 16:36:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761985 -2.644902)'), GeomFromEWKT('SRID=4674;POINT (-39.761865 -2.64493)'))) / (select extract(epoch from '2026-07-22 16:36:48'::timestamp) - extract(epoch from '2026-07-22 16:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761985 -2.644902)'), GeomFromEWKT('SRID=4674;POINT (-39.761865 -2.64493)'))) / (select extract(epoch from '2026-07-22 16:36:48'::timestamp) - extract(epoch from '2026-07-22 16:36: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.761807 -2.644971)', '2026-07-22 16:36:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761865 -2.64493)'), GeomFromEWKT('SRID=4674;POINT (-39.761807 -2.644971)'))) / (select extract(epoch from '2026-07-22 16:36:54'::timestamp) - extract(epoch from '2026-07-22 16:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761865 -2.64493)'), GeomFromEWKT('SRID=4674;POINT (-39.761807 -2.644971)'))) / (select extract(epoch from '2026-07-22 16:36:54'::timestamp) - extract(epoch from '2026-07-22 16:36:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.761807 -2.645015)', '2026-07-22 16:36:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761807 -2.644971)'), GeomFromEWKT('SRID=4674;POINT (-39.761807 -2.645015)'))) / (select extract(epoch from '2026-07-22 16:36:57'::timestamp) - extract(epoch from '2026-07-22 16:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761807 -2.644971)'), GeomFromEWKT('SRID=4674;POINT (-39.761807 -2.645015)'))) / (select extract(epoch from '2026-07-22 16:36:57'::timestamp) - extract(epoch from '2026-07-22 16: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.761839 -2.645056)', '2026-07-22 16:37:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761807 -2.645015)'), GeomFromEWKT('SRID=4674;POINT (-39.761839 -2.645056)'))) / (select extract(epoch from '2026-07-22 16:37:00'::timestamp) - extract(epoch from '2026-07-22 16:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761807 -2.645015)'), GeomFromEWKT('SRID=4674;POINT (-39.761839 -2.645056)'))) / (select extract(epoch from '2026-07-22 16:37:00'::timestamp) - extract(epoch from '2026-07-22 16:36: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.761946 -2.645081)', '2026-07-22 16:37:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761839 -2.645056)'), GeomFromEWKT('SRID=4674;POINT (-39.761946 -2.645081)'))) / (select extract(epoch from '2026-07-22 16:37:06'::timestamp) - extract(epoch from '2026-07-22 16:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761839 -2.645056)'), GeomFromEWKT('SRID=4674;POINT (-39.761946 -2.645081)'))) / (select extract(epoch from '2026-07-22 16:37:06'::timestamp) - extract(epoch from '2026-07-22 16: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.762075 -2.645024)', '2026-07-22 16:37:12', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761946 -2.645081)'), GeomFromEWKT('SRID=4674;POINT (-39.762075 -2.645024)'))) / (select extract(epoch from '2026-07-22 16:37:12'::timestamp) - extract(epoch from '2026-07-22 16:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.761946 -2.645081)'), GeomFromEWKT('SRID=4674;POINT (-39.762075 -2.645024)'))) / (select extract(epoch from '2026-07-22 16:37:12'::timestamp) - extract(epoch from '2026-07-22 16:37: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.762197 -2.644969)', '2026-07-22 16:37:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762075 -2.645024)'), GeomFromEWKT('SRID=4674;POINT (-39.762197 -2.644969)'))) / (select extract(epoch from '2026-07-22 16:37:16'::timestamp) - extract(epoch from '2026-07-22 16:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762075 -2.645024)'), GeomFromEWKT('SRID=4674;POINT (-39.762197 -2.644969)'))) / (select extract(epoch from '2026-07-22 16:37:16'::timestamp) - extract(epoch from '2026-07-22 16:37: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.762322 -2.644913)', '2026-07-22 16:37:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762197 -2.644969)'), GeomFromEWKT('SRID=4674;POINT (-39.762322 -2.644913)'))) / (select extract(epoch from '2026-07-22 16:37:21'::timestamp) - extract(epoch from '2026-07-22 16:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762197 -2.644969)'), GeomFromEWKT('SRID=4674;POINT (-39.762322 -2.644913)'))) / (select extract(epoch from '2026-07-22 16:37:21'::timestamp) - extract(epoch from '2026-07-22 16: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.762466 -2.644866)', '2026-07-22 16:37:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762322 -2.644913)'), GeomFromEWKT('SRID=4674;POINT (-39.762466 -2.644866)'))) / (select extract(epoch from '2026-07-22 16:37:26'::timestamp) - extract(epoch from '2026-07-22 16:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762322 -2.644913)'), GeomFromEWKT('SRID=4674;POINT (-39.762466 -2.644866)'))) / (select extract(epoch from '2026-07-22 16:37:26'::timestamp) - extract(epoch from '2026-07-22 16: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.762608 -2.6448)', '2026-07-22 16:37:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762466 -2.644866)'), GeomFromEWKT('SRID=4674;POINT (-39.762608 -2.6448)'))) / (select extract(epoch from '2026-07-22 16:37:31'::timestamp) - extract(epoch from '2026-07-22 16:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762466 -2.644866)'), GeomFromEWKT('SRID=4674;POINT (-39.762608 -2.6448)'))) / (select extract(epoch from '2026-07-22 16:37:31'::timestamp) - extract(epoch from '2026-07-22 16: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.762756 -2.644696)', '2026-07-22 16:37:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762608 -2.6448)'), GeomFromEWKT('SRID=4674;POINT (-39.762756 -2.644696)'))) / (select extract(epoch from '2026-07-22 16:37:37'::timestamp) - extract(epoch from '2026-07-22 16:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762608 -2.6448)'), GeomFromEWKT('SRID=4674;POINT (-39.762756 -2.644696)'))) / (select extract(epoch from '2026-07-22 16:37:37'::timestamp) - extract(epoch from '2026-07-22 16:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.762961 -2.644588)', '2026-07-22 16:37:45', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762756 -2.644696)'), GeomFromEWKT('SRID=4674;POINT (-39.762961 -2.644588)'))) / (select extract(epoch from '2026-07-22 16:37:45'::timestamp) - extract(epoch from '2026-07-22 16:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762756 -2.644696)'), GeomFromEWKT('SRID=4674;POINT (-39.762961 -2.644588)'))) / (select extract(epoch from '2026-07-22 16:37:45'::timestamp) - extract(epoch from '2026-07-22 16:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763141 -2.644551)', '2026-07-22 16:37:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762961 -2.644588)'), GeomFromEWKT('SRID=4674;POINT (-39.763141 -2.644551)'))) / (select extract(epoch from '2026-07-22 16:37:51'::timestamp) - extract(epoch from '2026-07-22 16:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.762961 -2.644588)'), GeomFromEWKT('SRID=4674;POINT (-39.763141 -2.644551)'))) / (select extract(epoch from '2026-07-22 16:37:51'::timestamp) - extract(epoch from '2026-07-22 16:37: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.763298 -2.644522)', '2026-07-22 16:37:57', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763141 -2.644551)'), GeomFromEWKT('SRID=4674;POINT (-39.763298 -2.644522)'))) / (select extract(epoch from '2026-07-22 16:37:57'::timestamp) - extract(epoch from '2026-07-22 16:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763141 -2.644551)'), GeomFromEWKT('SRID=4674;POINT (-39.763298 -2.644522)'))) / (select extract(epoch from '2026-07-22 16:37:57'::timestamp) - extract(epoch from '2026-07-22 16:37: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.763563 -2.644466)', '2026-07-22 16:38:06', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763298 -2.644522)'), GeomFromEWKT('SRID=4674;POINT (-39.763563 -2.644466)'))) / (select extract(epoch from '2026-07-22 16:38:06'::timestamp) - extract(epoch from '2026-07-22 16:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763298 -2.644522)'), GeomFromEWKT('SRID=4674;POINT (-39.763563 -2.644466)'))) / (select extract(epoch from '2026-07-22 16:38:06'::timestamp) - extract(epoch from '2026-07-22 16:37:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.763736 -2.644423)', '2026-07-22 16:38:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763563 -2.644466)'), GeomFromEWKT('SRID=4674;POINT (-39.763736 -2.644423)'))) / (select extract(epoch from '2026-07-22 16:38:12'::timestamp) - extract(epoch from '2026-07-22 16:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763563 -2.644466)'), GeomFromEWKT('SRID=4674;POINT (-39.763736 -2.644423)'))) / (select extract(epoch from '2026-07-22 16:38:12'::timestamp) - extract(epoch from '2026-07-22 16:38: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.763923 -2.644349)', '2026-07-22 16:38:19', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763736 -2.644423)'), GeomFromEWKT('SRID=4674;POINT (-39.763923 -2.644349)'))) / (select extract(epoch from '2026-07-22 16:38:19'::timestamp) - extract(epoch from '2026-07-22 16:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763736 -2.644423)'), GeomFromEWKT('SRID=4674;POINT (-39.763923 -2.644349)'))) / (select extract(epoch from '2026-07-22 16:38:19'::timestamp) - extract(epoch from '2026-07-22 16:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76412 -2.644284)', '2026-07-22 16:38:26', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763923 -2.644349)'), GeomFromEWKT('SRID=4674;POINT (-39.76412 -2.644284)'))) / (select extract(epoch from '2026-07-22 16:38:26'::timestamp) - extract(epoch from '2026-07-22 16:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.763923 -2.644349)'), GeomFromEWKT('SRID=4674;POINT (-39.76412 -2.644284)'))) / (select extract(epoch from '2026-07-22 16:38:26'::timestamp) - extract(epoch from '2026-07-22 16:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764278 -2.644321)', '2026-07-22 16:38:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76412 -2.644284)'), GeomFromEWKT('SRID=4674;POINT (-39.764278 -2.644321)'))) / (select extract(epoch from '2026-07-22 16:38:31'::timestamp) - extract(epoch from '2026-07-22 16:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76412 -2.644284)'), GeomFromEWKT('SRID=4674;POINT (-39.764278 -2.644321)'))) / (select extract(epoch from '2026-07-22 16:38:31'::timestamp) - extract(epoch from '2026-07-22 16:38: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.764377 -2.644397)', '2026-07-22 16:38:36', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764278 -2.644321)'), GeomFromEWKT('SRID=4674;POINT (-39.764377 -2.644397)'))) / (select extract(epoch from '2026-07-22 16:38:36'::timestamp) - extract(epoch from '2026-07-22 16:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764278 -2.644321)'), GeomFromEWKT('SRID=4674;POINT (-39.764377 -2.644397)'))) / (select extract(epoch from '2026-07-22 16:38:36'::timestamp) - extract(epoch from '2026-07-22 16:38: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.764448 -2.644495)', '2026-07-22 16:38:41', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764377 -2.644397)'), GeomFromEWKT('SRID=4674;POINT (-39.764448 -2.644495)'))) / (select extract(epoch from '2026-07-22 16:38:41'::timestamp) - extract(epoch from '2026-07-22 16:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764377 -2.644397)'), GeomFromEWKT('SRID=4674;POINT (-39.764448 -2.644495)'))) / (select extract(epoch from '2026-07-22 16:38:41'::timestamp) - extract(epoch from '2026-07-22 16:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764518 -2.644602)', '2026-07-22 16:38:46', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764448 -2.644495)'), GeomFromEWKT('SRID=4674;POINT (-39.764518 -2.644602)'))) / (select extract(epoch from '2026-07-22 16:38:46'::timestamp) - extract(epoch from '2026-07-22 16:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764448 -2.644495)'), GeomFromEWKT('SRID=4674;POINT (-39.764518 -2.644602)'))) / (select extract(epoch from '2026-07-22 16:38:46'::timestamp) - extract(epoch from '2026-07-22 16:38: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.764591 -2.644738)', '2026-07-22 16:38:52', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764518 -2.644602)'), GeomFromEWKT('SRID=4674;POINT (-39.764591 -2.644738)'))) / (select extract(epoch from '2026-07-22 16:38:52'::timestamp) - extract(epoch from '2026-07-22 16:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764518 -2.644602)'), GeomFromEWKT('SRID=4674;POINT (-39.764591 -2.644738)'))) / (select extract(epoch from '2026-07-22 16:38:52'::timestamp) - extract(epoch from '2026-07-22 16:38: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.76463 -2.64487)', '2026-07-22 16:38:58', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764591 -2.644738)'), GeomFromEWKT('SRID=4674;POINT (-39.76463 -2.64487)'))) / (select extract(epoch from '2026-07-22 16:38:58'::timestamp) - extract(epoch from '2026-07-22 16:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764591 -2.644738)'), GeomFromEWKT('SRID=4674;POINT (-39.76463 -2.64487)'))) / (select extract(epoch from '2026-07-22 16:38:58'::timestamp) - extract(epoch from '2026-07-22 16:38: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.764666 -2.644991)', '2026-07-22 16:39:03', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76463 -2.64487)'), GeomFromEWKT('SRID=4674;POINT (-39.764666 -2.644991)'))) / (select extract(epoch from '2026-07-22 16:39:03'::timestamp) - extract(epoch from '2026-07-22 16:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76463 -2.64487)'), GeomFromEWKT('SRID=4674;POINT (-39.764666 -2.644991)'))) / (select extract(epoch from '2026-07-22 16:39:03'::timestamp) - extract(epoch from '2026-07-22 16:38: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.764705 -2.645101)', '2026-07-22 16:39:08', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764666 -2.644991)'), GeomFromEWKT('SRID=4674;POINT (-39.764705 -2.645101)'))) / (select extract(epoch from '2026-07-22 16:39:08'::timestamp) - extract(epoch from '2026-07-22 16:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764666 -2.644991)'), GeomFromEWKT('SRID=4674;POINT (-39.764705 -2.645101)'))) / (select extract(epoch from '2026-07-22 16:39:08'::timestamp) - extract(epoch from '2026-07-22 16:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764733 -2.645224)', '2026-07-22 16:39:13', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764705 -2.645101)'), GeomFromEWKT('SRID=4674;POINT (-39.764733 -2.645224)'))) / (select extract(epoch from '2026-07-22 16:39:13'::timestamp) - extract(epoch from '2026-07-22 16:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764705 -2.645101)'), GeomFromEWKT('SRID=4674;POINT (-39.764733 -2.645224)'))) / (select extract(epoch from '2026-07-22 16:39:13'::timestamp) - extract(epoch from '2026-07-22 16:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764765 -2.645337)', '2026-07-22 16:39:18', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764733 -2.645224)'), GeomFromEWKT('SRID=4674;POINT (-39.764765 -2.645337)'))) / (select extract(epoch from '2026-07-22 16:39:18'::timestamp) - extract(epoch from '2026-07-22 16:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764733 -2.645224)'), GeomFromEWKT('SRID=4674;POINT (-39.764765 -2.645337)'))) / (select extract(epoch from '2026-07-22 16:39:18'::timestamp) - extract(epoch from '2026-07-22 16:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764773 -2.64543)', '2026-07-22 16:39:22', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764765 -2.645337)'), GeomFromEWKT('SRID=4674;POINT (-39.764773 -2.64543)'))) / (select extract(epoch from '2026-07-22 16:39:22'::timestamp) - extract(epoch from '2026-07-22 16:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764765 -2.645337)'), GeomFromEWKT('SRID=4674;POINT (-39.764773 -2.64543)'))) / (select extract(epoch from '2026-07-22 16:39:22'::timestamp) - extract(epoch from '2026-07-22 16:39: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.764785 -2.645567)', '2026-07-22 16:39:28', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764773 -2.64543)'), GeomFromEWKT('SRID=4674;POINT (-39.764785 -2.645567)'))) / (select extract(epoch from '2026-07-22 16:39:28'::timestamp) - extract(epoch from '2026-07-22 16:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764773 -2.64543)'), GeomFromEWKT('SRID=4674;POINT (-39.764785 -2.645567)'))) / (select extract(epoch from '2026-07-22 16:39:28'::timestamp) - extract(epoch from '2026-07-22 16:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764806 -2.645702)', '2026-07-22 16:39:34', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764785 -2.645567)'), GeomFromEWKT('SRID=4674;POINT (-39.764806 -2.645702)'))) / (select extract(epoch from '2026-07-22 16:39:34'::timestamp) - extract(epoch from '2026-07-22 16:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764785 -2.645567)'), GeomFromEWKT('SRID=4674;POINT (-39.764806 -2.645702)'))) / (select extract(epoch from '2026-07-22 16:39:34'::timestamp) - extract(epoch from '2026-07-22 16:39: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.764818 -2.645805)', '2026-07-22 16:39:38', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764806 -2.645702)'), GeomFromEWKT('SRID=4674;POINT (-39.764818 -2.645805)'))) / (select extract(epoch from '2026-07-22 16:39:38'::timestamp) - extract(epoch from '2026-07-22 16:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764806 -2.645702)'), GeomFromEWKT('SRID=4674;POINT (-39.764818 -2.645805)'))) / (select extract(epoch from '2026-07-22 16:39:38'::timestamp) - extract(epoch from '2026-07-22 16:39: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.764836 -2.645965)', '2026-07-22 16:39:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764818 -2.645805)'), GeomFromEWKT('SRID=4674;POINT (-39.764836 -2.645965)'))) / (select extract(epoch from '2026-07-22 16:39:45'::timestamp) - extract(epoch from '2026-07-22 16:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764818 -2.645805)'), GeomFromEWKT('SRID=4674;POINT (-39.764836 -2.645965)'))) / (select extract(epoch from '2026-07-22 16:39:45'::timestamp) - extract(epoch from '2026-07-22 16:39: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.764833 -2.646086)', '2026-07-22 16:39:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764836 -2.645965)'), GeomFromEWKT('SRID=4674;POINT (-39.764833 -2.646086)'))) / (select extract(epoch from '2026-07-22 16:39:50'::timestamp) - extract(epoch from '2026-07-22 16:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764836 -2.645965)'), GeomFromEWKT('SRID=4674;POINT (-39.764833 -2.646086)'))) / (select extract(epoch from '2026-07-22 16:39:50'::timestamp) - extract(epoch from '2026-07-22 16:39: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.764798 -2.646251)', '2026-07-22 16:39:57', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764833 -2.646086)'), GeomFromEWKT('SRID=4674;POINT (-39.764798 -2.646251)'))) / (select extract(epoch from '2026-07-22 16:39:57'::timestamp) - extract(epoch from '2026-07-22 16:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764833 -2.646086)'), GeomFromEWKT('SRID=4674;POINT (-39.764798 -2.646251)'))) / (select extract(epoch from '2026-07-22 16:39:57'::timestamp) - extract(epoch from '2026-07-22 16:39: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.764786 -2.646421)', '2026-07-22 16:40:05', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764798 -2.646251)'), GeomFromEWKT('SRID=4674;POINT (-39.764786 -2.646421)'))) / (select extract(epoch from '2026-07-22 16:40:05'::timestamp) - extract(epoch from '2026-07-22 16:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764798 -2.646251)'), GeomFromEWKT('SRID=4674;POINT (-39.764786 -2.646421)'))) / (select extract(epoch from '2026-07-22 16:40:05'::timestamp) - extract(epoch from '2026-07-22 16:39: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.764756 -2.646566)', '2026-07-22 16:40:11', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764786 -2.646421)'), GeomFromEWKT('SRID=4674;POINT (-39.764756 -2.646566)'))) / (select extract(epoch from '2026-07-22 16:40:11'::timestamp) - extract(epoch from '2026-07-22 16:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764786 -2.646421)'), GeomFromEWKT('SRID=4674;POINT (-39.764756 -2.646566)'))) / (select extract(epoch from '2026-07-22 16:40:11'::timestamp) - extract(epoch from '2026-07-22 16:40: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.764727 -2.646746)', '2026-07-22 16:40:19', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764756 -2.646566)'), GeomFromEWKT('SRID=4674;POINT (-39.764727 -2.646746)'))) / (select extract(epoch from '2026-07-22 16:40:19'::timestamp) - extract(epoch from '2026-07-22 16:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764756 -2.646566)'), GeomFromEWKT('SRID=4674;POINT (-39.764727 -2.646746)'))) / (select extract(epoch from '2026-07-22 16:40:19'::timestamp) - extract(epoch from '2026-07-22 16:40: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.764704 -2.646927)', '2026-07-22 16:40:27', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764727 -2.646746)'), GeomFromEWKT('SRID=4674;POINT (-39.764704 -2.646927)'))) / (select extract(epoch from '2026-07-22 16:40:27'::timestamp) - extract(epoch from '2026-07-22 16:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764727 -2.646746)'), GeomFromEWKT('SRID=4674;POINT (-39.764704 -2.646927)'))) / (select extract(epoch from '2026-07-22 16:40:27'::timestamp) - extract(epoch from '2026-07-22 16:40: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.764723 -2.647094)', '2026-07-22 16:40:34', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764704 -2.646927)'), GeomFromEWKT('SRID=4674;POINT (-39.764723 -2.647094)'))) / (select extract(epoch from '2026-07-22 16:40:34'::timestamp) - extract(epoch from '2026-07-22 16:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764704 -2.646927)'), GeomFromEWKT('SRID=4674;POINT (-39.764723 -2.647094)'))) / (select extract(epoch from '2026-07-22 16:40:34'::timestamp) - extract(epoch from '2026-07-22 16: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.7647 -2.647279)', '2026-07-22 16:40:42', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764723 -2.647094)'), GeomFromEWKT('SRID=4674;POINT (-39.7647 -2.647279)'))) / (select extract(epoch from '2026-07-22 16:40:42'::timestamp) - extract(epoch from '2026-07-22 16:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764723 -2.647094)'), GeomFromEWKT('SRID=4674;POINT (-39.7647 -2.647279)'))) / (select extract(epoch from '2026-07-22 16:40:42'::timestamp) - extract(epoch from '2026-07-22 16:40: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.764677 -2.647429)', '2026-07-22 16:40:49', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7647 -2.647279)'), GeomFromEWKT('SRID=4674;POINT (-39.764677 -2.647429)'))) / (select extract(epoch from '2026-07-22 16:40:49'::timestamp) - extract(epoch from '2026-07-22 16:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7647 -2.647279)'), GeomFromEWKT('SRID=4674;POINT (-39.764677 -2.647429)'))) / (select extract(epoch from '2026-07-22 16:40:49'::timestamp) - extract(epoch from '2026-07-22 16:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764633 -2.647553)', '2026-07-22 16:40:55', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764677 -2.647429)'), GeomFromEWKT('SRID=4674;POINT (-39.764633 -2.647553)'))) / (select extract(epoch from '2026-07-22 16:40:55'::timestamp) - extract(epoch from '2026-07-22 16:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764677 -2.647429)'), GeomFromEWKT('SRID=4674;POINT (-39.764633 -2.647553)'))) / (select extract(epoch from '2026-07-22 16:40:55'::timestamp) - extract(epoch from '2026-07-22 16:40: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.764582 -2.64766)', '2026-07-22 16:41:02', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764633 -2.647553)'), GeomFromEWKT('SRID=4674;POINT (-39.764582 -2.64766)'))) / (select extract(epoch from '2026-07-22 16:41:02'::timestamp) - extract(epoch from '2026-07-22 16:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764633 -2.647553)'), GeomFromEWKT('SRID=4674;POINT (-39.764582 -2.64766)'))) / (select extract(epoch from '2026-07-22 16:41:02'::timestamp) - extract(epoch from '2026-07-22 16: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.76458 -2.647704)', '2026-07-22 16:41:09', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764582 -2.64766)'), GeomFromEWKT('SRID=4674;POINT (-39.76458 -2.647704)'))) / (select extract(epoch from '2026-07-22 16:41:09'::timestamp) - extract(epoch from '2026-07-22 16:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764582 -2.64766)'), GeomFromEWKT('SRID=4674;POINT (-39.76458 -2.647704)'))) / (select extract(epoch from '2026-07-22 16:41:09'::timestamp) - extract(epoch from '2026-07-22 16:41: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.764581 -2.647714)', '2026-07-22 16:41:10', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76458 -2.647704)'), GeomFromEWKT('SRID=4674;POINT (-39.764581 -2.647714)'))) / (select extract(epoch from '2026-07-22 16:41:10'::timestamp) - extract(epoch from '2026-07-22 16:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76458 -2.647704)'), GeomFromEWKT('SRID=4674;POINT (-39.764581 -2.647714)'))) / (select extract(epoch from '2026-07-22 16:41:10'::timestamp) - extract(epoch from '2026-07-22 16:41: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.764604 -2.647752)', '2026-07-22 16:41:15', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764581 -2.647714)'), GeomFromEWKT('SRID=4674;POINT (-39.764604 -2.647752)'))) / (select extract(epoch from '2026-07-22 16:41:15'::timestamp) - extract(epoch from '2026-07-22 16:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764581 -2.647714)'), GeomFromEWKT('SRID=4674;POINT (-39.764604 -2.647752)'))) / (select extract(epoch from '2026-07-22 16:41:15'::timestamp) - extract(epoch from '2026-07-22 16:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764708 -2.647816)', '2026-07-22 16:41:23', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764604 -2.647752)'), GeomFromEWKT('SRID=4674;POINT (-39.764708 -2.647816)'))) / (select extract(epoch from '2026-07-22 16:41:23'::timestamp) - extract(epoch from '2026-07-22 16:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764604 -2.647752)'), GeomFromEWKT('SRID=4674;POINT (-39.764708 -2.647816)'))) / (select extract(epoch from '2026-07-22 16:41:23'::timestamp) - extract(epoch from '2026-07-22 16: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.764787 -2.647861)', '2026-07-22 16:41:28', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764708 -2.647816)'), GeomFromEWKT('SRID=4674;POINT (-39.764787 -2.647861)'))) / (select extract(epoch from '2026-07-22 16:41:28'::timestamp) - extract(epoch from '2026-07-22 16:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764708 -2.647816)'), GeomFromEWKT('SRID=4674;POINT (-39.764787 -2.647861)'))) / (select extract(epoch from '2026-07-22 16:41:28'::timestamp) - extract(epoch from '2026-07-22 16:41:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764796 -2.647875)', '2026-07-22 16:41:29', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764787 -2.647861)'), GeomFromEWKT('SRID=4674;POINT (-39.764796 -2.647875)'))) / (select extract(epoch from '2026-07-22 16:41:29'::timestamp) - extract(epoch from '2026-07-22 16:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764787 -2.647861)'), GeomFromEWKT('SRID=4674;POINT (-39.764796 -2.647875)'))) / (select extract(epoch from '2026-07-22 16:41:29'::timestamp) - extract(epoch from '2026-07-22 16:41: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.764827 -2.647945)', '2026-07-22 16:41:36', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764796 -2.647875)'), GeomFromEWKT('SRID=4674;POINT (-39.764827 -2.647945)'))) / (select extract(epoch from '2026-07-22 16:41:36'::timestamp) - extract(epoch from '2026-07-22 16:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764796 -2.647875)'), GeomFromEWKT('SRID=4674;POINT (-39.764827 -2.647945)'))) / (select extract(epoch from '2026-07-22 16:41:36'::timestamp) - extract(epoch from '2026-07-22 16:41: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.764829 -2.647962)', '2026-07-22 16:41:38', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764827 -2.647945)'), GeomFromEWKT('SRID=4674;POINT (-39.764829 -2.647962)'))) / (select extract(epoch from '2026-07-22 16:41:38'::timestamp) - extract(epoch from '2026-07-22 16:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764827 -2.647945)'), GeomFromEWKT('SRID=4674;POINT (-39.764829 -2.647962)'))) / (select extract(epoch from '2026-07-22 16:41:38'::timestamp) - extract(epoch from '2026-07-22 16:41:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76481 -2.647998)', '2026-07-22 16:41:41', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764829 -2.647962)'), GeomFromEWKT('SRID=4674;POINT (-39.76481 -2.647998)'))) / (select extract(epoch from '2026-07-22 16:41:41'::timestamp) - extract(epoch from '2026-07-22 16:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764829 -2.647962)'), GeomFromEWKT('SRID=4674;POINT (-39.76481 -2.647998)'))) / (select extract(epoch from '2026-07-22 16:41:41'::timestamp) - extract(epoch from '2026-07-22 16: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.764767 -2.64807)', '2026-07-22 16:41:49', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76481 -2.647998)'), GeomFromEWKT('SRID=4674;POINT (-39.764767 -2.64807)'))) / (select extract(epoch from '2026-07-22 16:41:49'::timestamp) - extract(epoch from '2026-07-22 16:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76481 -2.647998)'), GeomFromEWKT('SRID=4674;POINT (-39.764767 -2.64807)'))) / (select extract(epoch from '2026-07-22 16:41:49'::timestamp) - extract(epoch from '2026-07-22 16:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764729 -2.648087)', '2026-07-22 16:41:56', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764767 -2.64807)'), GeomFromEWKT('SRID=4674;POINT (-39.764729 -2.648087)'))) / (select extract(epoch from '2026-07-22 16:41:56'::timestamp) - extract(epoch from '2026-07-22 16:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764767 -2.64807)'), GeomFromEWKT('SRID=4674;POINT (-39.764729 -2.648087)'))) / (select extract(epoch from '2026-07-22 16:41:56'::timestamp) - extract(epoch from '2026-07-22 16: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.764721 -2.648071)', '2026-07-22 16:42:05', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764729 -2.648087)'), GeomFromEWKT('SRID=4674;POINT (-39.764721 -2.648071)'))) / (select extract(epoch from '2026-07-22 16:42:05'::timestamp) - extract(epoch from '2026-07-22 16:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764729 -2.648087)'), GeomFromEWKT('SRID=4674;POINT (-39.764721 -2.648071)'))) / (select extract(epoch from '2026-07-22 16:42:05'::timestamp) - extract(epoch from '2026-07-22 16:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764733 -2.648062)', '2026-07-22 16:42:08', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764721 -2.648071)'), GeomFromEWKT('SRID=4674;POINT (-39.764733 -2.648062)'))) / (select extract(epoch from '2026-07-22 16:42:08'::timestamp) - extract(epoch from '2026-07-22 16:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764721 -2.648071)'), GeomFromEWKT('SRID=4674;POINT (-39.764733 -2.648062)'))) / (select extract(epoch from '2026-07-22 16:42:08'::timestamp) - extract(epoch from '2026-07-22 16: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.764753 -2.648052)', '2026-07-22 16:42:11', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764733 -2.648062)'), GeomFromEWKT('SRID=4674;POINT (-39.764753 -2.648052)'))) / (select extract(epoch from '2026-07-22 16:42:11'::timestamp) - extract(epoch from '2026-07-22 16:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764733 -2.648062)'), GeomFromEWKT('SRID=4674;POINT (-39.764753 -2.648052)'))) / (select extract(epoch from '2026-07-22 16:42:11'::timestamp) - extract(epoch from '2026-07-22 16:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764805 -2.648034)', '2026-07-22 16:42:19', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764753 -2.648052)'), GeomFromEWKT('SRID=4674;POINT (-39.764805 -2.648034)'))) / (select extract(epoch from '2026-07-22 16:42:19'::timestamp) - extract(epoch from '2026-07-22 16:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764753 -2.648052)'), GeomFromEWKT('SRID=4674;POINT (-39.764805 -2.648034)'))) / (select extract(epoch from '2026-07-22 16:42:19'::timestamp) - extract(epoch from '2026-07-22 16:42: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.764872 -2.648019)', '2026-07-22 16:42:28', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764805 -2.648034)'), GeomFromEWKT('SRID=4674;POINT (-39.764872 -2.648019)'))) / (select extract(epoch from '2026-07-22 16:42:28'::timestamp) - extract(epoch from '2026-07-22 16:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764805 -2.648034)'), GeomFromEWKT('SRID=4674;POINT (-39.764872 -2.648019)'))) / (select extract(epoch from '2026-07-22 16:42:28'::timestamp) - extract(epoch from '2026-07-22 16:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.764886 -2.648012)', '2026-07-22 16:42:30', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764872 -2.648019)'), GeomFromEWKT('SRID=4674;POINT (-39.764886 -2.648012)'))) / (select extract(epoch from '2026-07-22 16:42:30'::timestamp) - extract(epoch from '2026-07-22 16:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764872 -2.648019)'), GeomFromEWKT('SRID=4674;POINT (-39.764886 -2.648012)'))) / (select extract(epoch from '2026-07-22 16:42:30'::timestamp) - extract(epoch from '2026-07-22 16:42: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.76492 -2.648009)', '2026-07-22 16:42:34', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764886 -2.648012)'), GeomFromEWKT('SRID=4674;POINT (-39.76492 -2.648009)'))) / (select extract(epoch from '2026-07-22 16:42:34'::timestamp) - extract(epoch from '2026-07-22 16:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764886 -2.648012)'), GeomFromEWKT('SRID=4674;POINT (-39.76492 -2.648009)'))) / (select extract(epoch from '2026-07-22 16:42:34'::timestamp) - extract(epoch from '2026-07-22 16: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.764992 -2.647998)', '2026-07-22 16:42:43', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76492 -2.648009)'), GeomFromEWKT('SRID=4674;POINT (-39.764992 -2.647998)'))) / (select extract(epoch from '2026-07-22 16:42:43'::timestamp) - extract(epoch from '2026-07-22 16:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76492 -2.648009)'), GeomFromEWKT('SRID=4674;POINT (-39.764992 -2.647998)'))) / (select extract(epoch from '2026-07-22 16:42:43'::timestamp) - extract(epoch from '2026-07-22 16:42: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.765027 -2.647995)', '2026-07-22 16:42:47', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764992 -2.647998)'), GeomFromEWKT('SRID=4674;POINT (-39.765027 -2.647995)'))) / (select extract(epoch from '2026-07-22 16:42:47'::timestamp) - extract(epoch from '2026-07-22 16:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.764992 -2.647998)'), GeomFromEWKT('SRID=4674;POINT (-39.765027 -2.647995)'))) / (select extract(epoch from '2026-07-22 16:42:47'::timestamp) - extract(epoch from '2026-07-22 16: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.765036 -2.647992)', '2026-07-22 16:42:48', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765027 -2.647995)'), GeomFromEWKT('SRID=4674;POINT (-39.765036 -2.647992)'))) / (select extract(epoch from '2026-07-22 16:42:48'::timestamp) - extract(epoch from '2026-07-22 16:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765027 -2.647995)'), GeomFromEWKT('SRID=4674;POINT (-39.765036 -2.647992)'))) / (select extract(epoch from '2026-07-22 16:42:48'::timestamp) - extract(epoch from '2026-07-22 16:42: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.765092 -2.647981)', '2026-07-22 16:42:54', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765036 -2.647992)'), GeomFromEWKT('SRID=4674;POINT (-39.765092 -2.647981)'))) / (select extract(epoch from '2026-07-22 16:42:54'::timestamp) - extract(epoch from '2026-07-22 16:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765036 -2.647992)'), GeomFromEWKT('SRID=4674;POINT (-39.765092 -2.647981)'))) / (select extract(epoch from '2026-07-22 16:42:54'::timestamp) - extract(epoch from '2026-07-22 16: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.765103 -2.647979)', '2026-07-22 16:42:55', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765092 -2.647981)'), GeomFromEWKT('SRID=4674;POINT (-39.765103 -2.647979)'))) / (select extract(epoch from '2026-07-22 16:42:55'::timestamp) - extract(epoch from '2026-07-22 16:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765092 -2.647981)'), GeomFromEWKT('SRID=4674;POINT (-39.765103 -2.647979)'))) / (select extract(epoch from '2026-07-22 16:42:55'::timestamp) - extract(epoch from '2026-07-22 16:42: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.765162 -2.647982)', '2026-07-22 16:43:03', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765103 -2.647979)'), GeomFromEWKT('SRID=4674;POINT (-39.765162 -2.647982)'))) / (select extract(epoch from '2026-07-22 16:43:03'::timestamp) - extract(epoch from '2026-07-22 16:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765103 -2.647979)'), GeomFromEWKT('SRID=4674;POINT (-39.765162 -2.647982)'))) / (select extract(epoch from '2026-07-22 16:43:03'::timestamp) - extract(epoch from '2026-07-22 16: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.765198 -2.64798)', '2026-07-22 16:43:09', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765162 -2.647982)'), GeomFromEWKT('SRID=4674;POINT (-39.765198 -2.64798)'))) / (select extract(epoch from '2026-07-22 16:43:09'::timestamp) - extract(epoch from '2026-07-22 16:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765162 -2.647982)'), GeomFromEWKT('SRID=4674;POINT (-39.765198 -2.64798)'))) / (select extract(epoch from '2026-07-22 16:43:09'::timestamp) - extract(epoch from '2026-07-22 16:43: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.765254 -2.647984)', '2026-07-22 16:43:17', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765198 -2.64798)'), GeomFromEWKT('SRID=4674;POINT (-39.765254 -2.647984)'))) / (select extract(epoch from '2026-07-22 16:43:17'::timestamp) - extract(epoch from '2026-07-22 16:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765198 -2.64798)'), GeomFromEWKT('SRID=4674;POINT (-39.765254 -2.647984)'))) / (select extract(epoch from '2026-07-22 16:43:17'::timestamp) - extract(epoch from '2026-07-22 16:43:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765293 -2.64799)', '2026-07-22 16:43:24', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765254 -2.647984)'), GeomFromEWKT('SRID=4674;POINT (-39.765293 -2.64799)'))) / (select extract(epoch from '2026-07-22 16:43:24'::timestamp) - extract(epoch from '2026-07-22 16:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765254 -2.647984)'), GeomFromEWKT('SRID=4674;POINT (-39.765293 -2.64799)'))) / (select extract(epoch from '2026-07-22 16:43:24'::timestamp) - extract(epoch from '2026-07-22 16:43:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76535 -2.64799)', '2026-07-22 16:43:34', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765293 -2.64799)'), GeomFromEWKT('SRID=4674;POINT (-39.76535 -2.64799)'))) / (select extract(epoch from '2026-07-22 16:43:34'::timestamp) - extract(epoch from '2026-07-22 16:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765293 -2.64799)'), GeomFromEWKT('SRID=4674;POINT (-39.76535 -2.64799)'))) / (select extract(epoch from '2026-07-22 16:43:34'::timestamp) - extract(epoch from '2026-07-22 16:43: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.765392 -2.647995)', '2026-07-22 16:43:42', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76535 -2.64799)'), GeomFromEWKT('SRID=4674;POINT (-39.765392 -2.647995)'))) / (select extract(epoch from '2026-07-22 16:43:42'::timestamp) - extract(epoch from '2026-07-22 16:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76535 -2.64799)'), GeomFromEWKT('SRID=4674;POINT (-39.765392 -2.647995)'))) / (select extract(epoch from '2026-07-22 16:43:42'::timestamp) - extract(epoch from '2026-07-22 16:43:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765443 -2.647995)', '2026-07-22 16:43:51', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765392 -2.647995)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647995)'))) / (select extract(epoch from '2026-07-22 16:43:51'::timestamp) - extract(epoch from '2026-07-22 16:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765392 -2.647995)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647995)'))) / (select extract(epoch from '2026-07-22 16:43:51'::timestamp) - extract(epoch from '2026-07-22 16:43: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.765503 -2.647967)', '2026-07-22 16:44:01', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647995)'), GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647967)'))) / (select extract(epoch from '2026-07-22 16:44:01'::timestamp) - extract(epoch from '2026-07-22 16:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647995)'), GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647967)'))) / (select extract(epoch from '2026-07-22 16:44:01'::timestamp) - extract(epoch from '2026-07-22 16:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765528 -2.647966)', '2026-07-22 16:44:09', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647967)'), GeomFromEWKT('SRID=4674;POINT (-39.765528 -2.647966)'))) / (select extract(epoch from '2026-07-22 16:44:09'::timestamp) - extract(epoch from '2026-07-22 16:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647967)'), GeomFromEWKT('SRID=4674;POINT (-39.765528 -2.647966)'))) / (select extract(epoch from '2026-07-22 16:44:09'::timestamp) - extract(epoch from '2026-07-22 16: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.765525 -2.647919)', '2026-07-22 16:44:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765528 -2.647966)'), GeomFromEWKT('SRID=4674;POINT (-39.765525 -2.647919)'))) / (select extract(epoch from '2026-07-22 16:44:35'::timestamp) - extract(epoch from '2026-07-22 16:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765528 -2.647966)'), GeomFromEWKT('SRID=4674;POINT (-39.765525 -2.647919)'))) / (select extract(epoch from '2026-07-22 16:44:35'::timestamp) - extract(epoch from '2026-07-22 16:44: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.765529 -2.647902)', '2026-07-22 16:44:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765525 -2.647919)'), GeomFromEWKT('SRID=4674;POINT (-39.765529 -2.647902)'))) / (select extract(epoch from '2026-07-22 16:44:43'::timestamp) - extract(epoch from '2026-07-22 16:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765525 -2.647919)'), GeomFromEWKT('SRID=4674;POINT (-39.765529 -2.647902)'))) / (select extract(epoch from '2026-07-22 16:44:43'::timestamp) - extract(epoch from '2026-07-22 16:44:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765514 -2.64789)', '2026-07-22 16:44:49', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765529 -2.647902)'), GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.64789)'))) / (select extract(epoch from '2026-07-22 16:44:49'::timestamp) - extract(epoch from '2026-07-22 16:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765529 -2.647902)'), GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.64789)'))) / (select extract(epoch from '2026-07-22 16:44:49'::timestamp) - extract(epoch from '2026-07-22 16: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.765519 -2.647888)', '2026-07-22 16:44:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.64789)'), GeomFromEWKT('SRID=4674;POINT (-39.765519 -2.647888)'))) / (select extract(epoch from '2026-07-22 16:44:55'::timestamp) - extract(epoch from '2026-07-22 16:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.64789)'), GeomFromEWKT('SRID=4674;POINT (-39.765519 -2.647888)'))) / (select extract(epoch from '2026-07-22 16:44:55'::timestamp) - extract(epoch from '2026-07-22 16:44: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.765524 -2.647886)', '2026-07-22 16:45:01', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765519 -2.647888)'), GeomFromEWKT('SRID=4674;POINT (-39.765524 -2.647886)'))) / (select extract(epoch from '2026-07-22 16:45:01'::timestamp) - extract(epoch from '2026-07-22 16:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765519 -2.647888)'), GeomFromEWKT('SRID=4674;POINT (-39.765524 -2.647886)'))) / (select extract(epoch from '2026-07-22 16:45:01'::timestamp) - extract(epoch from '2026-07-22 16:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765515 -2.647871)', '2026-07-22 16:45:23', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765524 -2.647886)'), GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647871)'))) / (select extract(epoch from '2026-07-22 16:45:23'::timestamp) - extract(epoch from '2026-07-22 16:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765524 -2.647886)'), GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647871)'))) / (select extract(epoch from '2026-07-22 16:45:23'::timestamp) - extract(epoch from '2026-07-22 16:45: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.765506 -2.647853)', '2026-07-22 16:45:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647871)'), GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647853)'))) / (select extract(epoch from '2026-07-22 16:45:31'::timestamp) - extract(epoch from '2026-07-22 16:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647871)'), GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647853)'))) / (select extract(epoch from '2026-07-22 16:45:31'::timestamp) - extract(epoch from '2026-07-22 16:45: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.765502 -2.647849)', '2026-07-22 16:45:43', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647853)'), GeomFromEWKT('SRID=4674;POINT (-39.765502 -2.647849)'))) / (select extract(epoch from '2026-07-22 16:45:43'::timestamp) - extract(epoch from '2026-07-22 16:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647853)'), GeomFromEWKT('SRID=4674;POINT (-39.765502 -2.647849)'))) / (select extract(epoch from '2026-07-22 16:45:43'::timestamp) - extract(epoch from '2026-07-22 16:45: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.765497 -2.647832)', '2026-07-22 16:46:02', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765502 -2.647849)'), GeomFromEWKT('SRID=4674;POINT (-39.765497 -2.647832)'))) / (select extract(epoch from '2026-07-22 16:46:02'::timestamp) - extract(epoch from '2026-07-22 16:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765502 -2.647849)'), GeomFromEWKT('SRID=4674;POINT (-39.765497 -2.647832)'))) / (select extract(epoch from '2026-07-22 16:46:02'::timestamp) - extract(epoch from '2026-07-22 16:45: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.765499 -2.647825)', '2026-07-22 16:46:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765497 -2.647832)'), GeomFromEWKT('SRID=4674;POINT (-39.765499 -2.647825)'))) / (select extract(epoch from '2026-07-22 16:46:15'::timestamp) - extract(epoch from '2026-07-22 16:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765497 -2.647832)'), GeomFromEWKT('SRID=4674;POINT (-39.765499 -2.647825)'))) / (select extract(epoch from '2026-07-22 16:46:15'::timestamp) - extract(epoch from '2026-07-22 16:46: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.765499 -2.64781)', '2026-07-22 16:46:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765499 -2.647825)'), GeomFromEWKT('SRID=4674;POINT (-39.765499 -2.64781)'))) / (select extract(epoch from '2026-07-22 16:46:22'::timestamp) - extract(epoch from '2026-07-22 16:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765499 -2.647825)'), GeomFromEWKT('SRID=4674;POINT (-39.765499 -2.64781)'))) / (select extract(epoch from '2026-07-22 16:46:22'::timestamp) - extract(epoch from '2026-07-22 16:46: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.765495 -2.647804)', '2026-07-22 16:46:33', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765499 -2.64781)'), GeomFromEWKT('SRID=4674;POINT (-39.765495 -2.647804)'))) / (select extract(epoch from '2026-07-22 16:46:33'::timestamp) - extract(epoch from '2026-07-22 16:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765499 -2.64781)'), GeomFromEWKT('SRID=4674;POINT (-39.765495 -2.647804)'))) / (select extract(epoch from '2026-07-22 16:46:33'::timestamp) - extract(epoch from '2026-07-22 16:46: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.765489 -2.647789)', '2026-07-22 16:46:48', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765495 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.765489 -2.647789)'))) / (select extract(epoch from '2026-07-22 16:46:48'::timestamp) - extract(epoch from '2026-07-22 16:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765495 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.765489 -2.647789)'))) / (select extract(epoch from '2026-07-22 16:46:48'::timestamp) - extract(epoch from '2026-07-22 16:46:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765488 -2.647781)', '2026-07-22 16:46:58', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765489 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765488 -2.647781)'))) / (select extract(epoch from '2026-07-22 16:46:58'::timestamp) - extract(epoch from '2026-07-22 16:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765489 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765488 -2.647781)'))) / (select extract(epoch from '2026-07-22 16:46:58'::timestamp) - extract(epoch from '2026-07-22 16:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76548 -2.647767)', '2026-07-22 16:47:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765488 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647767)'))) / (select extract(epoch from '2026-07-22 16:47:18'::timestamp) - extract(epoch from '2026-07-22 16:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765488 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647767)'))) / (select extract(epoch from '2026-07-22 16:47:18'::timestamp) - extract(epoch from '2026-07-22 16: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.765468 -2.647753)', '2026-07-22 16:47:40', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647767)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647753)'))) / (select extract(epoch from '2026-07-22 16:47:40'::timestamp) - extract(epoch from '2026-07-22 16:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76548 -2.647767)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647753)'))) / (select extract(epoch from '2026-07-22 16:47:40'::timestamp) - extract(epoch from '2026-07-22 16:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765446 -2.647733)', '2026-07-22 16:49:01', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647753)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647733)'))) / (select extract(epoch from '2026-07-22 16:49:01'::timestamp) - extract(epoch from '2026-07-22 16:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647753)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647733)'))) / (select extract(epoch from '2026-07-22 16:49:01'::timestamp) - extract(epoch from '2026-07-22 16: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.765431 -2.64771)', '2026-07-22 16:49:41', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647733)'), GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.64771)'))) / (select extract(epoch from '2026-07-22 16:49:41'::timestamp) - extract(epoch from '2026-07-22 16:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647733)'), GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.64771)'))) / (select extract(epoch from '2026-07-22 16:49:41'::timestamp) - extract(epoch from '2026-07-22 16:49: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.765431 -2.6477)', '2026-07-22 16:49:52', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.64771)'), GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.6477)'))) / (select extract(epoch from '2026-07-22 16:49:52'::timestamp) - extract(epoch from '2026-07-22 16:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.64771)'), GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.6477)'))) / (select extract(epoch from '2026-07-22 16:49:52'::timestamp) - extract(epoch from '2026-07-22 16:49: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.76543 -2.647698)', '2026-07-22 16:50:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.6477)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647698)'))) / (select extract(epoch from '2026-07-22 16:50:18'::timestamp) - extract(epoch from '2026-07-22 16:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.6477)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647698)'))) / (select extract(epoch from '2026-07-22 16:50:18'::timestamp) - extract(epoch from '2026-07-22 16:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765421 -2.647701)', '2026-07-22 16:51:07', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647698)'), GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647701)'))) / (select extract(epoch from '2026-07-22 16:51:07'::timestamp) - extract(epoch from '2026-07-22 16:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647698)'), GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647701)'))) / (select extract(epoch from '2026-07-22 16:51:07'::timestamp) - extract(epoch from '2026-07-22 16:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765424 -2.647703)', '2026-07-22 16:51:22', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647701)'), GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647703)'))) / (select extract(epoch from '2026-07-22 16:51:22'::timestamp) - extract(epoch from '2026-07-22 16:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647701)'), GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647703)'))) / (select extract(epoch from '2026-07-22 16:51:22'::timestamp) - extract(epoch from '2026-07-22 16:51:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765427 -2.647702)', '2026-07-22 16:51:50', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647703)'), GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647702)'))) / (select extract(epoch from '2026-07-22 16:51:50'::timestamp) - extract(epoch from '2026-07-22 16:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647703)'), GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647702)'))) / (select extract(epoch from '2026-07-22 16:51:50'::timestamp) - extract(epoch from '2026-07-22 16:51: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.765417 -2.647686)', '2026-07-22 16:52:04', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647702)'), GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.647686)'))) / (select extract(epoch from '2026-07-22 16:52:04'::timestamp) - extract(epoch from '2026-07-22 16:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647702)'), GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.647686)'))) / (select extract(epoch from '2026-07-22 16:52:04'::timestamp) - extract(epoch from '2026-07-22 16:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765416 -2.647682)', '2026-07-22 16:52:38', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.647686)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647682)'))) / (select extract(epoch from '2026-07-22 16:52:38'::timestamp) - extract(epoch from '2026-07-22 16:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.647686)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647682)'))) / (select extract(epoch from '2026-07-22 16:52:38'::timestamp) - extract(epoch from '2026-07-22 16:52: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.765409 -2.647682)', '2026-07-22 16:52:44', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647682)'), GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647682)'))) / (select extract(epoch from '2026-07-22 16:52:44'::timestamp) - extract(epoch from '2026-07-22 16:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647682)'), GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647682)'))) / (select extract(epoch from '2026-07-22 16:52:44'::timestamp) - extract(epoch from '2026-07-22 16: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.765416 -2.647676)', '2026-07-22 16:52:55', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647682)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647676)'))) / (select extract(epoch from '2026-07-22 16:52:55'::timestamp) - extract(epoch from '2026-07-22 16:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647682)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647676)'))) / (select extract(epoch from '2026-07-22 16:52:55'::timestamp) - extract(epoch from '2026-07-22 16:52: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.765415 -2.647677)', '2026-07-22 16:52:58', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647676)'), GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647677)'))) / (select extract(epoch from '2026-07-22 16:52:58'::timestamp) - extract(epoch from '2026-07-22 16:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647676)'), GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647677)'))) / (select extract(epoch from '2026-07-22 16:52:58'::timestamp) - extract(epoch from '2026-07-22 16:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765432 -2.647701)', '2026-07-22 16:53:47', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647677)'), GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647701)'))) / (select extract(epoch from '2026-07-22 16:53:47'::timestamp) - extract(epoch from '2026-07-22 16:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647677)'), GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647701)'))) / (select extract(epoch from '2026-07-22 16:53:47'::timestamp) - extract(epoch from '2026-07-22 16:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765447 -2.647707)', '2026-07-22 16:54:02', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647701)'), GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.647707)'))) / (select extract(epoch from '2026-07-22 16:54:02'::timestamp) - extract(epoch from '2026-07-22 16:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647701)'), GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.647707)'))) / (select extract(epoch from '2026-07-22 16:54:02'::timestamp) - extract(epoch from '2026-07-22 16:53: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.765457 -2.647705)', '2026-07-22 16:54:06', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.647707)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647705)'))) / (select extract(epoch from '2026-07-22 16:54:06'::timestamp) - extract(epoch from '2026-07-22 16:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.647707)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647705)'))) / (select extract(epoch from '2026-07-22 16:54:06'::timestamp) - extract(epoch from '2026-07-22 16: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.765455 -2.64772)', '2026-07-22 16:54:11', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647705)'), GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.64772)'))) / (select extract(epoch from '2026-07-22 16:54:11'::timestamp) - extract(epoch from '2026-07-22 16:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647705)'), GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.64772)'))) / (select extract(epoch from '2026-07-22 16:54:11'::timestamp) - extract(epoch from '2026-07-22 16:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765456 -2.647722)', '2026-07-22 16:54:25', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.64772)'), GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647722)'))) / (select extract(epoch from '2026-07-22 16:54:25'::timestamp) - extract(epoch from '2026-07-22 16:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765455 -2.64772)'), GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647722)'))) / (select extract(epoch from '2026-07-22 16:54:25'::timestamp) - extract(epoch from '2026-07-22 16:54: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.765445 -2.647724)', '2026-07-22 16:54:46', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647722)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647724)'))) / (select extract(epoch from '2026-07-22 16:54:46'::timestamp) - extract(epoch from '2026-07-22 16:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647722)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647724)'))) / (select extract(epoch from '2026-07-22 16:54:46'::timestamp) - extract(epoch from '2026-07-22 16:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765443 -2.647734)', '2026-07-22 16:54:53', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647724)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647734)'))) / (select extract(epoch from '2026-07-22 16:54:53'::timestamp) - extract(epoch from '2026-07-22 16:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647724)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647734)'))) / (select extract(epoch from '2026-07-22 16:54:53'::timestamp) - extract(epoch from '2026-07-22 16: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.765448 -2.647727)', '2026-07-22 16:55:12', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647734)'), GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.647727)'))) / (select extract(epoch from '2026-07-22 16:55:12'::timestamp) - extract(epoch from '2026-07-22 16:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647734)'), GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.647727)'))) / (select extract(epoch from '2026-07-22 16:55:12'::timestamp) - extract(epoch from '2026-07-22 16:54: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.765441 -2.647725)', '2026-07-22 16:55:22', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.647727)'), GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647725)'))) / (select extract(epoch from '2026-07-22 16:55:22'::timestamp) - extract(epoch from '2026-07-22 16:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765448 -2.647727)'), GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647725)'))) / (select extract(epoch from '2026-07-22 16:55:22'::timestamp) - extract(epoch from '2026-07-22 16:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765432 -2.647712)', '2026-07-22 16:56:08', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647725)'), GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647712)'))) / (select extract(epoch from '2026-07-22 16:56:08'::timestamp) - extract(epoch from '2026-07-22 16:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647725)'), GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647712)'))) / (select extract(epoch from '2026-07-22 16:56:08'::timestamp) - extract(epoch from '2026-07-22 16:55: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.76543 -2.647719)', '2026-07-22 16:56:39', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647712)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647719)'))) / (select extract(epoch from '2026-07-22 16:56:39'::timestamp) - extract(epoch from '2026-07-22 16:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647712)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647719)'))) / (select extract(epoch from '2026-07-22 16:56:39'::timestamp) - extract(epoch from '2026-07-22 16: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.765421 -2.647713)', '2026-07-22 16:56:56', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647719)'), GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647713)'))) / (select extract(epoch from '2026-07-22 16:56:56'::timestamp) - extract(epoch from '2026-07-22 16:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647719)'), GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647713)'))) / (select extract(epoch from '2026-07-22 16:56:56'::timestamp) - extract(epoch from '2026-07-22 16:56: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.765413 -2.647721)', '2026-07-22 16:57:22', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647713)'), GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647721)'))) / (select extract(epoch from '2026-07-22 16:57:22'::timestamp) - extract(epoch from '2026-07-22 16:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647713)'), GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647721)'))) / (select extract(epoch from '2026-07-22 16:57:22'::timestamp) - extract(epoch from '2026-07-22 16:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765408 -2.647725)', '2026-07-22 16:57:25', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647721)'), GeomFromEWKT('SRID=4674;POINT (-39.765408 -2.647725)'))) / (select extract(epoch from '2026-07-22 16:57:25'::timestamp) - extract(epoch from '2026-07-22 16:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647721)'), GeomFromEWKT('SRID=4674;POINT (-39.765408 -2.647725)'))) / (select extract(epoch from '2026-07-22 16:57:25'::timestamp) - extract(epoch from '2026-07-22 16:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765406 -2.647724)', '2026-07-22 16:57:45', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765408 -2.647725)'), GeomFromEWKT('SRID=4674;POINT (-39.765406 -2.647724)'))) / (select extract(epoch from '2026-07-22 16:57:45'::timestamp) - extract(epoch from '2026-07-22 16:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765408 -2.647725)'), GeomFromEWKT('SRID=4674;POINT (-39.765406 -2.647724)'))) / (select extract(epoch from '2026-07-22 16:57:45'::timestamp) - extract(epoch from '2026-07-22 16:57: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.76541 -2.647732)', '2026-07-22 16:57:57', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765406 -2.647724)'), GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647732)'))) / (select extract(epoch from '2026-07-22 16:57:57'::timestamp) - extract(epoch from '2026-07-22 16:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765406 -2.647724)'), GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647732)'))) / (select extract(epoch from '2026-07-22 16:57:57'::timestamp) - extract(epoch from '2026-07-22 16:57: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.765402 -2.647731)', '2026-07-22 16:58:12', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647732)'), GeomFromEWKT('SRID=4674;POINT (-39.765402 -2.647731)'))) / (select extract(epoch from '2026-07-22 16:58:12'::timestamp) - extract(epoch from '2026-07-22 16:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647732)'), GeomFromEWKT('SRID=4674;POINT (-39.765402 -2.647731)'))) / (select extract(epoch from '2026-07-22 16:58:12'::timestamp) - extract(epoch from '2026-07-22 16: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.765417 -2.647747)', '2026-07-22 16:59:46', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765402 -2.647731)'), GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.647747)'))) / (select extract(epoch from '2026-07-22 16:59:46'::timestamp) - extract(epoch from '2026-07-22 16:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765402 -2.647731)'), GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.647747)'))) / (select extract(epoch from '2026-07-22 16:59:46'::timestamp) - extract(epoch from '2026-07-22 16: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.765423 -2.64775)', '2026-07-22 17:00:07', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.647747)'), GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.64775)'))) / (select extract(epoch from '2026-07-22 17:00:07'::timestamp) - extract(epoch from '2026-07-22 16:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.647747)'), GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.64775)'))) / (select extract(epoch from '2026-07-22 17:00:07'::timestamp) - extract(epoch from '2026-07-22 16:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765421 -2.647744)', '2026-07-22 17:00:17', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.64775)'), GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647744)'))) / (select extract(epoch from '2026-07-22 17:00:17'::timestamp) - extract(epoch from '2026-07-22 17:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.64775)'), GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647744)'))) / (select extract(epoch from '2026-07-22 17:00:17'::timestamp) - extract(epoch from '2026-07-22 17:00: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.76542 -2.647735)', '2026-07-22 17:00:49', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647744)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647735)'))) / (select extract(epoch from '2026-07-22 17:00:49'::timestamp) - extract(epoch from '2026-07-22 17:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647744)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647735)'))) / (select extract(epoch from '2026-07-22 17:00:49'::timestamp) - extract(epoch from '2026-07-22 17:00:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765423 -2.647736)', '2026-07-22 17:00:55', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647735)'), GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.647736)'))) / (select extract(epoch from '2026-07-22 17:00:55'::timestamp) - extract(epoch from '2026-07-22 17:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647735)'), GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.647736)'))) / (select extract(epoch from '2026-07-22 17:00:55'::timestamp) - extract(epoch from '2026-07-22 17:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765428 -2.647735)', '2026-07-22 17:01:09', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.647736)'), GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647735)'))) / (select extract(epoch from '2026-07-22 17:01:09'::timestamp) - extract(epoch from '2026-07-22 17:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765423 -2.647736)'), GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647735)'))) / (select extract(epoch from '2026-07-22 17:01:09'::timestamp) - extract(epoch from '2026-07-22 17:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765435 -2.647757)', '2026-07-22 17:01:29', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647735)'), GeomFromEWKT('SRID=4674;POINT (-39.765435 -2.647757)'))) / (select extract(epoch from '2026-07-22 17:01:29'::timestamp) - extract(epoch from '2026-07-22 17:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647735)'), GeomFromEWKT('SRID=4674;POINT (-39.765435 -2.647757)'))) / (select extract(epoch from '2026-07-22 17:01:29'::timestamp) - extract(epoch from '2026-07-22 17:01: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.765424 -2.647759)', '2026-07-22 17:01:42', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765435 -2.647757)'), GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647759)'))) / (select extract(epoch from '2026-07-22 17:01:42'::timestamp) - extract(epoch from '2026-07-22 17:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765435 -2.647757)'), GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647759)'))) / (select extract(epoch from '2026-07-22 17:01:42'::timestamp) - extract(epoch from '2026-07-22 17:01: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.76542 -2.647755)', '2026-07-22 17:02:43', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647759)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647755)'))) / (select extract(epoch from '2026-07-22 17:02:43'::timestamp) - extract(epoch from '2026-07-22 17:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647759)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647755)'))) / (select extract(epoch from '2026-07-22 17:02:43'::timestamp) - extract(epoch from '2026-07-22 17:01: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.765424 -2.647758)', '2026-07-22 17:02:49', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647755)'), GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647758)'))) / (select extract(epoch from '2026-07-22 17:02:49'::timestamp) - extract(epoch from '2026-07-22 17:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647755)'), GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647758)'))) / (select extract(epoch from '2026-07-22 17:02:49'::timestamp) - extract(epoch from '2026-07-22 17:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765425 -2.647749)', '2026-07-22 17:03:05', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647758)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647749)'))) / (select extract(epoch from '2026-07-22 17:03:05'::timestamp) - extract(epoch from '2026-07-22 17:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647758)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647749)'))) / (select extract(epoch from '2026-07-22 17:03:05'::timestamp) - extract(epoch from '2026-07-22 17:02: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.765424 -2.647761)', '2026-07-22 17:03:33', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647749)'), GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647761)'))) / (select extract(epoch from '2026-07-22 17:03:33'::timestamp) - extract(epoch from '2026-07-22 17:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647749)'), GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647761)'))) / (select extract(epoch from '2026-07-22 17:03:33'::timestamp) - extract(epoch from '2026-07-22 17:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765427 -2.647776)', '2026-07-22 17:04:11', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647761)'), GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647776)'))) / (select extract(epoch from '2026-07-22 17:04:11'::timestamp) - extract(epoch from '2026-07-22 17:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647761)'), GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647776)'))) / (select extract(epoch from '2026-07-22 17:04:11'::timestamp) - extract(epoch from '2026-07-22 17:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765427 -2.647787)', '2026-07-22 17:04:18', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647776)'), GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:04:18'::timestamp) - extract(epoch from '2026-07-22 17:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647776)'), GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:04:18'::timestamp) - extract(epoch from '2026-07-22 17:04: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.765425 -2.647787)', '2026-07-22 17:04:24', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:04:24'::timestamp) - extract(epoch from '2026-07-22 17:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:04:24'::timestamp) - extract(epoch from '2026-07-22 17:04: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.765415 -2.647787)', '2026-07-22 17:04:37', 31, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:04:37'::timestamp) - extract(epoch from '2026-07-22 17:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:04:37'::timestamp) - extract(epoch from '2026-07-22 17:04:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765451 -2.647793)', '2026-07-22 17:05:10', 31.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647793)'))) / (select extract(epoch from '2026-07-22 17:05:10'::timestamp) - extract(epoch from '2026-07-22 17:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647793)'))) / (select extract(epoch from '2026-07-22 17:05:10'::timestamp) - extract(epoch from '2026-07-22 17: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.765461 -2.6478)', '2026-07-22 17:05:48', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647793)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.6478)'))) / (select extract(epoch from '2026-07-22 17:05:48'::timestamp) - extract(epoch from '2026-07-22 17:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647793)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.6478)'))) / (select extract(epoch from '2026-07-22 17:05:48'::timestamp) - extract(epoch from '2026-07-22 17:05: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.765453 -2.647789)', '2026-07-22 17:06:20', 33.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.6478)'), GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647789)'))) / (select extract(epoch from '2026-07-22 17:06:20'::timestamp) - extract(epoch from '2026-07-22 17:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.6478)'), GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647789)'))) / (select extract(epoch from '2026-07-22 17:06:20'::timestamp) - extract(epoch from '2026-07-22 17:05:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765461 -2.647786)', '2026-07-22 17:06:25', 33.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647786)'))) / (select extract(epoch from '2026-07-22 17:06:25'::timestamp) - extract(epoch from '2026-07-22 17:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647786)'))) / (select extract(epoch from '2026-07-22 17:06:25'::timestamp) - extract(epoch from '2026-07-22 17:06: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.765459 -2.647789)', '2026-07-22 17:06:30', 33.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647789)'))) / (select extract(epoch from '2026-07-22 17:06:30'::timestamp) - extract(epoch from '2026-07-22 17:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647789)'))) / (select extract(epoch from '2026-07-22 17:06:30'::timestamp) - extract(epoch from '2026-07-22 17:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765446 -2.647771)', '2026-07-22 17:06:57', 33.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647771)'))) / (select extract(epoch from '2026-07-22 17:06:57'::timestamp) - extract(epoch from '2026-07-22 17:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647771)'))) / (select extract(epoch from '2026-07-22 17:06:57'::timestamp) - extract(epoch from '2026-07-22 17:06: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.765425 -2.647757)', '2026-07-22 17:07:54', 34.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647771)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647757)'))) / (select extract(epoch from '2026-07-22 17:07:54'::timestamp) - extract(epoch from '2026-07-22 17:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647771)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647757)'))) / (select extract(epoch from '2026-07-22 17:07:54'::timestamp) - extract(epoch from '2026-07-22 17:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76543 -2.64777)', '2026-07-22 17:08:08', 34.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647757)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.64777)'))) / (select extract(epoch from '2026-07-22 17:08:08'::timestamp) - extract(epoch from '2026-07-22 17:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647757)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.64777)'))) / (select extract(epoch from '2026-07-22 17:08:08'::timestamp) - extract(epoch from '2026-07-22 17:07: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.765419 -2.647769)', '2026-07-22 17:08:38', 34.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.64777)'), GeomFromEWKT('SRID=4674;POINT (-39.765419 -2.647769)'))) / (select extract(epoch from '2026-07-22 17:08:38'::timestamp) - extract(epoch from '2026-07-22 17:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.64777)'), GeomFromEWKT('SRID=4674;POINT (-39.765419 -2.647769)'))) / (select extract(epoch from '2026-07-22 17:08:38'::timestamp) - extract(epoch from '2026-07-22 17: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.76542 -2.647773)', '2026-07-22 17:08:43', 34.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765419 -2.647769)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647773)'))) / (select extract(epoch from '2026-07-22 17:08:43'::timestamp) - extract(epoch from '2026-07-22 17:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765419 -2.647769)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647773)'))) / (select extract(epoch from '2026-07-22 17:08:43'::timestamp) - extract(epoch from '2026-07-22 17:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765413 -2.647788)', '2026-07-22 17:09:01', 35, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647788)'))) / (select extract(epoch from '2026-07-22 17:09:01'::timestamp) - extract(epoch from '2026-07-22 17:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647788)'))) / (select extract(epoch from '2026-07-22 17:09:01'::timestamp) - extract(epoch from '2026-07-22 17:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765397 -2.647781)', '2026-07-22 17:09:20', 34.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647788)'), GeomFromEWKT('SRID=4674;POINT (-39.765397 -2.647781)'))) / (select extract(epoch from '2026-07-22 17:09:20'::timestamp) - extract(epoch from '2026-07-22 17:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647788)'), GeomFromEWKT('SRID=4674;POINT (-39.765397 -2.647781)'))) / (select extract(epoch from '2026-07-22 17:09:20'::timestamp) - extract(epoch from '2026-07-22 17:09: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.765404 -2.647776)', '2026-07-22 17:09:29', 35.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765397 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647776)'))) / (select extract(epoch from '2026-07-22 17:09:29'::timestamp) - extract(epoch from '2026-07-22 17:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765397 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647776)'))) / (select extract(epoch from '2026-07-22 17:09:29'::timestamp) - extract(epoch from '2026-07-22 17:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765404 -2.647773)', '2026-07-22 17:09:42', 35.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647776)'), GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647773)'))) / (select extract(epoch from '2026-07-22 17:09:42'::timestamp) - extract(epoch from '2026-07-22 17:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647776)'), GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647773)'))) / (select extract(epoch from '2026-07-22 17:09:42'::timestamp) - extract(epoch from '2026-07-22 17:09: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.76539 -2.647758)', '2026-07-22 17:10:01', 35.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.76539 -2.647758)'))) / (select extract(epoch from '2026-07-22 17:10:01'::timestamp) - extract(epoch from '2026-07-22 17:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.76539 -2.647758)'))) / (select extract(epoch from '2026-07-22 17:10:01'::timestamp) - extract(epoch from '2026-07-22 17: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.765409 -2.647727)', '2026-07-22 17:11:14', 36.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76539 -2.647758)'), GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647727)'))) / (select extract(epoch from '2026-07-22 17:11:14'::timestamp) - extract(epoch from '2026-07-22 17:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76539 -2.647758)'), GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647727)'))) / (select extract(epoch from '2026-07-22 17:11:14'::timestamp) - extract(epoch from '2026-07-22 17:10: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.765407 -2.647707)', '2026-07-22 17:11:39', 36.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647727)'), GeomFromEWKT('SRID=4674;POINT (-39.765407 -2.647707)'))) / (select extract(epoch from '2026-07-22 17:11:39'::timestamp) - extract(epoch from '2026-07-22 17:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647727)'), GeomFromEWKT('SRID=4674;POINT (-39.765407 -2.647707)'))) / (select extract(epoch from '2026-07-22 17:11:39'::timestamp) - extract(epoch from '2026-07-22 17:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765402 -2.64771)', '2026-07-22 17:11:55', 36.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765407 -2.647707)'), GeomFromEWKT('SRID=4674;POINT (-39.765402 -2.64771)'))) / (select extract(epoch from '2026-07-22 17:11:55'::timestamp) - extract(epoch from '2026-07-22 17:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765407 -2.647707)'), GeomFromEWKT('SRID=4674;POINT (-39.765402 -2.64771)'))) / (select extract(epoch from '2026-07-22 17:11:55'::timestamp) - extract(epoch from '2026-07-22 17:11: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.765394 -2.647725)', '2026-07-22 17:12:56', 37.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765402 -2.64771)'), GeomFromEWKT('SRID=4674;POINT (-39.765394 -2.647725)'))) / (select extract(epoch from '2026-07-22 17:12:56'::timestamp) - extract(epoch from '2026-07-22 17:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765402 -2.64771)'), GeomFromEWKT('SRID=4674;POINT (-39.765394 -2.647725)'))) / (select extract(epoch from '2026-07-22 17:12:56'::timestamp) - extract(epoch from '2026-07-22 17: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.765398 -2.647716)', '2026-07-22 17:13:04', 37.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765394 -2.647725)'), GeomFromEWKT('SRID=4674;POINT (-39.765398 -2.647716)'))) / (select extract(epoch from '2026-07-22 17:13:04'::timestamp) - extract(epoch from '2026-07-22 17:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765394 -2.647725)'), GeomFromEWKT('SRID=4674;POINT (-39.765398 -2.647716)'))) / (select extract(epoch from '2026-07-22 17:13:04'::timestamp) - extract(epoch from '2026-07-22 17:12: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.765396 -2.64772)', '2026-07-22 17:13:13', 37.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765398 -2.647716)'), GeomFromEWKT('SRID=4674;POINT (-39.765396 -2.64772)'))) / (select extract(epoch from '2026-07-22 17:13:13'::timestamp) - extract(epoch from '2026-07-22 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765398 -2.647716)'), GeomFromEWKT('SRID=4674;POINT (-39.765396 -2.64772)'))) / (select extract(epoch from '2026-07-22 17:13:13'::timestamp) - extract(epoch from '2026-07-22 17: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.76541 -2.647718)', '2026-07-22 17:13:38', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765396 -2.64772)'), GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647718)'))) / (select extract(epoch from '2026-07-22 17:13:38'::timestamp) - extract(epoch from '2026-07-22 17:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765396 -2.64772)'), GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647718)'))) / (select extract(epoch from '2026-07-22 17:13:38'::timestamp) - extract(epoch from '2026-07-22 17:13: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.765404 -2.647704)', '2026-07-22 17:13:51', 37.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647718)'), GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647704)'))) / (select extract(epoch from '2026-07-22 17:13:51'::timestamp) - extract(epoch from '2026-07-22 17:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647718)'), GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647704)'))) / (select extract(epoch from '2026-07-22 17:13:51'::timestamp) - extract(epoch from '2026-07-22 17:13: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.765371 -2.647726)', '2026-07-22 17:14:52', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647704)'), GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647726)'))) / (select extract(epoch from '2026-07-22 17:14:52'::timestamp) - extract(epoch from '2026-07-22 17:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765404 -2.647704)'), GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647726)'))) / (select extract(epoch from '2026-07-22 17:14:52'::timestamp) - extract(epoch from '2026-07-22 17:13: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.765374 -2.647719)', '2026-07-22 17:14:53', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647726)'), GeomFromEWKT('SRID=4674;POINT (-39.765374 -2.647719)'))) / (select extract(epoch from '2026-07-22 17:14:53'::timestamp) - extract(epoch from '2026-07-22 17:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647726)'), GeomFromEWKT('SRID=4674;POINT (-39.765374 -2.647719)'))) / (select extract(epoch from '2026-07-22 17:14:53'::timestamp) - extract(epoch from '2026-07-22 17:14: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.765371 -2.647721)', '2026-07-22 17:14:56', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765374 -2.647719)'), GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647721)'))) / (select extract(epoch from '2026-07-22 17:14:56'::timestamp) - extract(epoch from '2026-07-22 17:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765374 -2.647719)'), GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647721)'))) / (select extract(epoch from '2026-07-22 17:14:56'::timestamp) - extract(epoch from '2026-07-22 17:14: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.765357 -2.647714)', '2026-07-22 17:15:27', 37.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647721)'), GeomFromEWKT('SRID=4674;POINT (-39.765357 -2.647714)'))) / (select extract(epoch from '2026-07-22 17:15:27'::timestamp) - extract(epoch from '2026-07-22 17:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647721)'), GeomFromEWKT('SRID=4674;POINT (-39.765357 -2.647714)'))) / (select extract(epoch from '2026-07-22 17:15:27'::timestamp) - extract(epoch from '2026-07-22 17:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765371 -2.647715)', '2026-07-22 17:15:34', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765357 -2.647714)'), GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647715)'))) / (select extract(epoch from '2026-07-22 17:15:34'::timestamp) - extract(epoch from '2026-07-22 17:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765357 -2.647714)'), GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647715)'))) / (select extract(epoch from '2026-07-22 17:15:34'::timestamp) - extract(epoch from '2026-07-22 17:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765372 -2.647717)', '2026-07-22 17:15:37', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647715)'), GeomFromEWKT('SRID=4674;POINT (-39.765372 -2.647717)'))) / (select extract(epoch from '2026-07-22 17:15:37'::timestamp) - extract(epoch from '2026-07-22 17:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647715)'), GeomFromEWKT('SRID=4674;POINT (-39.765372 -2.647717)'))) / (select extract(epoch from '2026-07-22 17:15:37'::timestamp) - extract(epoch from '2026-07-22 17:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765372 -2.647715)', '2026-07-22 17:16:13', 38.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765372 -2.647717)'), GeomFromEWKT('SRID=4674;POINT (-39.765372 -2.647715)'))) / (select extract(epoch from '2026-07-22 17:16:13'::timestamp) - extract(epoch from '2026-07-22 17:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765372 -2.647717)'), GeomFromEWKT('SRID=4674;POINT (-39.765372 -2.647715)'))) / (select extract(epoch from '2026-07-22 17:16:13'::timestamp) - extract(epoch from '2026-07-22 17:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765385 -2.64772)', '2026-07-22 17:16:20', 38.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765372 -2.647715)'), GeomFromEWKT('SRID=4674;POINT (-39.765385 -2.64772)'))) / (select extract(epoch from '2026-07-22 17:16:20'::timestamp) - extract(epoch from '2026-07-22 17:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765372 -2.647715)'), GeomFromEWKT('SRID=4674;POINT (-39.765385 -2.64772)'))) / (select extract(epoch from '2026-07-22 17:16:20'::timestamp) - extract(epoch from '2026-07-22 17:16: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.765392 -2.647732)', '2026-07-22 17:16:28', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765385 -2.64772)'), GeomFromEWKT('SRID=4674;POINT (-39.765392 -2.647732)'))) / (select extract(epoch from '2026-07-22 17:16:28'::timestamp) - extract(epoch from '2026-07-22 17:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765385 -2.64772)'), GeomFromEWKT('SRID=4674;POINT (-39.765392 -2.647732)'))) / (select extract(epoch from '2026-07-22 17:16:28'::timestamp) - extract(epoch from '2026-07-22 17:16: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.765429 -2.647746)', '2026-07-22 17:17:02', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765392 -2.647732)'), GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647746)'))) / (select extract(epoch from '2026-07-22 17:17:02'::timestamp) - extract(epoch from '2026-07-22 17:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765392 -2.647732)'), GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647746)'))) / (select extract(epoch from '2026-07-22 17:17:02'::timestamp) - extract(epoch from '2026-07-22 17:16: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.765424 -2.647734)', '2026-07-22 17:17:08', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647746)'), GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647734)'))) / (select extract(epoch from '2026-07-22 17:17:08'::timestamp) - extract(epoch from '2026-07-22 17:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647746)'), GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647734)'))) / (select extract(epoch from '2026-07-22 17:17:08'::timestamp) - extract(epoch from '2026-07-22 17: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.765418 -2.647728)', '2026-07-22 17:17:20', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647734)'), GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647728)'))) / (select extract(epoch from '2026-07-22 17:17:20'::timestamp) - extract(epoch from '2026-07-22 17:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765424 -2.647734)'), GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647728)'))) / (select extract(epoch from '2026-07-22 17:17:20'::timestamp) - extract(epoch from '2026-07-22 17:17: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.765409 -2.64774)', '2026-07-22 17:18:06', 40.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647728)'), GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.64774)'))) / (select extract(epoch from '2026-07-22 17:18:06'::timestamp) - extract(epoch from '2026-07-22 17:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647728)'), GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.64774)'))) / (select extract(epoch from '2026-07-22 17:18:06'::timestamp) - extract(epoch from '2026-07-22 17:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765409 -2.647769)', '2026-07-22 17:18:50', 39.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.64774)'), GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647769)'))) / (select extract(epoch from '2026-07-22 17:18:50'::timestamp) - extract(epoch from '2026-07-22 17:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.64774)'), GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647769)'))) / (select extract(epoch from '2026-07-22 17:18:50'::timestamp) - extract(epoch from '2026-07-22 17:18: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.76541 -2.647779)', '2026-07-22 17:18:59', 39.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647769)'), GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647779)'))) / (select extract(epoch from '2026-07-22 17:18:59'::timestamp) - extract(epoch from '2026-07-22 17:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.647769)'), GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647779)'))) / (select extract(epoch from '2026-07-22 17:18:59'::timestamp) - extract(epoch from '2026-07-22 17:18: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.765409 -2.64777)', '2026-07-22 17:19:24', 39.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647779)'), GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.64777)'))) / (select extract(epoch from '2026-07-22 17:19:24'::timestamp) - extract(epoch from '2026-07-22 17:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647779)'), GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.64777)'))) / (select extract(epoch from '2026-07-22 17:19:24'::timestamp) - extract(epoch from '2026-07-22 17:18: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.765416 -2.64776)', '2026-07-22 17:19:36', 39.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.64777)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.64776)'))) / (select extract(epoch from '2026-07-22 17:19:36'::timestamp) - extract(epoch from '2026-07-22 17:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765409 -2.64777)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.64776)'))) / (select extract(epoch from '2026-07-22 17:19:36'::timestamp) - extract(epoch from '2026-07-22 17:19:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76541 -2.647755)', '2026-07-22 17:19:58', 39.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.64776)'), GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647755)'))) / (select extract(epoch from '2026-07-22 17:19:58'::timestamp) - extract(epoch from '2026-07-22 17:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.64776)'), GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647755)'))) / (select extract(epoch from '2026-07-22 17:19:58'::timestamp) - extract(epoch from '2026-07-22 17: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.765416 -2.647748)', '2026-07-22 17:20:13', 40, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647755)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647748)'))) / (select extract(epoch from '2026-07-22 17:20:13'::timestamp) - extract(epoch from '2026-07-22 17:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76541 -2.647755)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647748)'))) / (select extract(epoch from '2026-07-22 17:20:13'::timestamp) - extract(epoch from '2026-07-22 17:19: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.765405 -2.647728)', '2026-07-22 17:20:27', 40.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647748)'), GeomFromEWKT('SRID=4674;POINT (-39.765405 -2.647728)'))) / (select extract(epoch from '2026-07-22 17:20:27'::timestamp) - extract(epoch from '2026-07-22 17:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647748)'), GeomFromEWKT('SRID=4674;POINT (-39.765405 -2.647728)'))) / (select extract(epoch from '2026-07-22 17:20:27'::timestamp) - extract(epoch from '2026-07-22 17:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765416 -2.647732)', '2026-07-22 17:20:46', 40.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765405 -2.647728)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647732)'))) / (select extract(epoch from '2026-07-22 17:20:46'::timestamp) - extract(epoch from '2026-07-22 17:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765405 -2.647728)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647732)'))) / (select extract(epoch from '2026-07-22 17:20:46'::timestamp) - extract(epoch from '2026-07-22 17:20: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.765421 -2.647733)', '2026-07-22 17:20:52', 40.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647732)'), GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647733)'))) / (select extract(epoch from '2026-07-22 17:20:52'::timestamp) - extract(epoch from '2026-07-22 17:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647732)'), GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647733)'))) / (select extract(epoch from '2026-07-22 17:20:52'::timestamp) - extract(epoch from '2026-07-22 17:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765413 -2.647748)', '2026-07-22 17:21:27', 40.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647733)'), GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647748)'))) / (select extract(epoch from '2026-07-22 17:21:27'::timestamp) - extract(epoch from '2026-07-22 17:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765421 -2.647733)'), GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647748)'))) / (select extract(epoch from '2026-07-22 17:21:27'::timestamp) - extract(epoch from '2026-07-22 17:20: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.765422 -2.647763)', '2026-07-22 17:21:51', 41, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647748)'), GeomFromEWKT('SRID=4674;POINT (-39.765422 -2.647763)'))) / (select extract(epoch from '2026-07-22 17:21:51'::timestamp) - extract(epoch from '2026-07-22 17:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765413 -2.647748)'), GeomFromEWKT('SRID=4674;POINT (-39.765422 -2.647763)'))) / (select extract(epoch from '2026-07-22 17:21:51'::timestamp) - extract(epoch from '2026-07-22 17:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765428 -2.647761)', '2026-07-22 17:22:16', 41.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765422 -2.647763)'), GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647761)'))) / (select extract(epoch from '2026-07-22 17:22:16'::timestamp) - extract(epoch from '2026-07-22 17:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765422 -2.647763)'), GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647761)'))) / (select extract(epoch from '2026-07-22 17:22:16'::timestamp) - extract(epoch from '2026-07-22 17:21:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76542 -2.647787)', '2026-07-22 17:23:12', 41.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647761)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:23:12'::timestamp) - extract(epoch from '2026-07-22 17:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647761)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:23:12'::timestamp) - extract(epoch from '2026-07-22 17:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765415 -2.647796)', '2026-07-22 17:23:23', 41.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647796)'))) / (select extract(epoch from '2026-07-22 17:23:23'::timestamp) - extract(epoch from '2026-07-22 17:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647796)'))) / (select extract(epoch from '2026-07-22 17:23:23'::timestamp) - extract(epoch from '2026-07-22 17:23: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.76539 -2.64779)', '2026-07-22 17:24:13', 41.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647796)'), GeomFromEWKT('SRID=4674;POINT (-39.76539 -2.64779)'))) / (select extract(epoch from '2026-07-22 17:24:13'::timestamp) - extract(epoch from '2026-07-22 17:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647796)'), GeomFromEWKT('SRID=4674;POINT (-39.76539 -2.64779)'))) / (select extract(epoch from '2026-07-22 17:24:13'::timestamp) - extract(epoch from '2026-07-22 17:23: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.76538 -2.647778)', '2026-07-22 17:24:29', 41.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76539 -2.64779)'), GeomFromEWKT('SRID=4674;POINT (-39.76538 -2.647778)'))) / (select extract(epoch from '2026-07-22 17:24:29'::timestamp) - extract(epoch from '2026-07-22 17:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76539 -2.64779)'), GeomFromEWKT('SRID=4674;POINT (-39.76538 -2.647778)'))) / (select extract(epoch from '2026-07-22 17:24:29'::timestamp) - extract(epoch from '2026-07-22 17:24: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.765384 -2.647777)', '2026-07-22 17:24:36', 41.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76538 -2.647778)'), GeomFromEWKT('SRID=4674;POINT (-39.765384 -2.647777)'))) / (select extract(epoch from '2026-07-22 17:24:36'::timestamp) - extract(epoch from '2026-07-22 17:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76538 -2.647778)'), GeomFromEWKT('SRID=4674;POINT (-39.765384 -2.647777)'))) / (select extract(epoch from '2026-07-22 17:24:36'::timestamp) - extract(epoch from '2026-07-22 17:24: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.765393 -2.647778)', '2026-07-22 17:24:49', 41.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765384 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765393 -2.647778)'))) / (select extract(epoch from '2026-07-22 17:24:49'::timestamp) - extract(epoch from '2026-07-22 17:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765384 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765393 -2.647778)'))) / (select extract(epoch from '2026-07-22 17:24:49'::timestamp) - extract(epoch from '2026-07-22 17:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765396 -2.647789)', '2026-07-22 17:25:04', 41.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765393 -2.647778)'), GeomFromEWKT('SRID=4674;POINT (-39.765396 -2.647789)'))) / (select extract(epoch from '2026-07-22 17:25:04'::timestamp) - extract(epoch from '2026-07-22 17:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765393 -2.647778)'), GeomFromEWKT('SRID=4674;POINT (-39.765396 -2.647789)'))) / (select extract(epoch from '2026-07-22 17:25:04'::timestamp) - extract(epoch from '2026-07-22 17:24:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765398 -2.647795)', '2026-07-22 17:25:10', 41.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765396 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765398 -2.647795)'))) / (select extract(epoch from '2026-07-22 17:25:10'::timestamp) - extract(epoch from '2026-07-22 17:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765396 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765398 -2.647795)'))) / (select extract(epoch from '2026-07-22 17:25:10'::timestamp) - extract(epoch from '2026-07-22 17:25:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765375 -2.647808)', '2026-07-22 17:25:51', 41.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765398 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.765375 -2.647808)'))) / (select extract(epoch from '2026-07-22 17:25:51'::timestamp) - extract(epoch from '2026-07-22 17:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765398 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.765375 -2.647808)'))) / (select extract(epoch from '2026-07-22 17:25:51'::timestamp) - extract(epoch from '2026-07-22 17:25: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.765368 -2.647795)', '2026-07-22 17:26:10', 41.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765375 -2.647808)'), GeomFromEWKT('SRID=4674;POINT (-39.765368 -2.647795)'))) / (select extract(epoch from '2026-07-22 17:26:10'::timestamp) - extract(epoch from '2026-07-22 17:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765375 -2.647808)'), GeomFromEWKT('SRID=4674;POINT (-39.765368 -2.647795)'))) / (select extract(epoch from '2026-07-22 17:26:10'::timestamp) - extract(epoch from '2026-07-22 17: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.76538 -2.647784)', '2026-07-22 17:26:27', 41.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765368 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.76538 -2.647784)'))) / (select extract(epoch from '2026-07-22 17:26:27'::timestamp) - extract(epoch from '2026-07-22 17:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765368 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.76538 -2.647784)'))) / (select extract(epoch from '2026-07-22 17:26:27'::timestamp) - extract(epoch from '2026-07-22 17:26:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765384 -2.647781)', '2026-07-22 17:26:38', 41.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76538 -2.647784)'), GeomFromEWKT('SRID=4674;POINT (-39.765384 -2.647781)'))) / (select extract(epoch from '2026-07-22 17:26:38'::timestamp) - extract(epoch from '2026-07-22 17:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76538 -2.647784)'), GeomFromEWKT('SRID=4674;POINT (-39.765384 -2.647781)'))) / (select extract(epoch from '2026-07-22 17:26:38'::timestamp) - extract(epoch from '2026-07-22 17:26: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.765387 -2.647774)', '2026-07-22 17:26:59', 42, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765384 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.765387 -2.647774)'))) / (select extract(epoch from '2026-07-22 17:26:59'::timestamp) - extract(epoch from '2026-07-22 17:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765384 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.765387 -2.647774)'))) / (select extract(epoch from '2026-07-22 17:26:59'::timestamp) - extract(epoch from '2026-07-22 17:26:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765386 -2.647782)', '2026-07-22 17:27:12', 42.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765387 -2.647774)'), GeomFromEWKT('SRID=4674;POINT (-39.765386 -2.647782)'))) / (select extract(epoch from '2026-07-22 17:27:12'::timestamp) - extract(epoch from '2026-07-22 17:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765387 -2.647774)'), GeomFromEWKT('SRID=4674;POINT (-39.765386 -2.647782)'))) / (select extract(epoch from '2026-07-22 17:27:12'::timestamp) - extract(epoch from '2026-07-22 17:26: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.765385 -2.647782)', '2026-07-22 17:27:22', 43, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765386 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765385 -2.647782)'))) / (select extract(epoch from '2026-07-22 17:27:22'::timestamp) - extract(epoch from '2026-07-22 17:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765386 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765385 -2.647782)'))) / (select extract(epoch from '2026-07-22 17:27:22'::timestamp) - extract(epoch from '2026-07-22 17:27:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765388 -2.64778)', '2026-07-22 17:27:31', 43.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765385 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765388 -2.64778)'))) / (select extract(epoch from '2026-07-22 17:27:31'::timestamp) - extract(epoch from '2026-07-22 17:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765385 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765388 -2.64778)'))) / (select extract(epoch from '2026-07-22 17:27:31'::timestamp) - extract(epoch from '2026-07-22 17:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765389 -2.647781)', '2026-07-22 17:27:51', 43.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765388 -2.64778)'), GeomFromEWKT('SRID=4674;POINT (-39.765389 -2.647781)'))) / (select extract(epoch from '2026-07-22 17:27:51'::timestamp) - extract(epoch from '2026-07-22 17:27:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765388 -2.64778)'), GeomFromEWKT('SRID=4674;POINT (-39.765389 -2.647781)'))) / (select extract(epoch from '2026-07-22 17:27:51'::timestamp) - extract(epoch from '2026-07-22 17:27: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.765374 -2.647782)', '2026-07-22 17:28:27', 44, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765389 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.765374 -2.647782)'))) / (select extract(epoch from '2026-07-22 17:28:27'::timestamp) - extract(epoch from '2026-07-22 17:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765389 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.765374 -2.647782)'))) / (select extract(epoch from '2026-07-22 17:28:27'::timestamp) - extract(epoch from '2026-07-22 17:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76537 -2.647777)', '2026-07-22 17:28:36', 44.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765374 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.76537 -2.647777)'))) / (select extract(epoch from '2026-07-22 17:28:36'::timestamp) - extract(epoch from '2026-07-22 17:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765374 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.76537 -2.647777)'))) / (select extract(epoch from '2026-07-22 17:28:36'::timestamp) - extract(epoch from '2026-07-22 17:28: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.765349 -2.647773)', '2026-07-22 17:29:18', 45.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76537 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647773)'))) / (select extract(epoch from '2026-07-22 17:29:18'::timestamp) - extract(epoch from '2026-07-22 17:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76537 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647773)'))) / (select extract(epoch from '2026-07-22 17:29:18'::timestamp) - extract(epoch from '2026-07-22 17:28: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.765351 -2.647764)', '2026-07-22 17:29:47', 46.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765351 -2.647764)'))) / (select extract(epoch from '2026-07-22 17:29:47'::timestamp) - extract(epoch from '2026-07-22 17:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765351 -2.647764)'))) / (select extract(epoch from '2026-07-22 17:29:47'::timestamp) - extract(epoch from '2026-07-22 17: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.765353 -2.647767)', '2026-07-22 17:29:53', 46.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765351 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.765353 -2.647767)'))) / (select extract(epoch from '2026-07-22 17:29:53'::timestamp) - extract(epoch from '2026-07-22 17:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765351 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.765353 -2.647767)'))) / (select extract(epoch from '2026-07-22 17:29:53'::timestamp) - extract(epoch from '2026-07-22 17:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76536 -2.647773)', '2026-07-22 17:29:59', 46.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765353 -2.647767)'), GeomFromEWKT('SRID=4674;POINT (-39.76536 -2.647773)'))) / (select extract(epoch from '2026-07-22 17:29:59'::timestamp) - extract(epoch from '2026-07-22 17:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765353 -2.647767)'), GeomFromEWKT('SRID=4674;POINT (-39.76536 -2.647773)'))) / (select extract(epoch from '2026-07-22 17:29:59'::timestamp) - extract(epoch from '2026-07-22 17:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765366 -2.647771)', '2026-07-22 17:30:07', 46.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76536 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765366 -2.647771)'))) / (select extract(epoch from '2026-07-22 17:30:07'::timestamp) - extract(epoch from '2026-07-22 17:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76536 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765366 -2.647771)'))) / (select extract(epoch from '2026-07-22 17:30:07'::timestamp) - extract(epoch from '2026-07-22 17:29: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.765322 -2.647789)', '2026-07-22 17:31:31', 46.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765366 -2.647771)'), GeomFromEWKT('SRID=4674;POINT (-39.765322 -2.647789)'))) / (select extract(epoch from '2026-07-22 17:31:31'::timestamp) - extract(epoch from '2026-07-22 17:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765366 -2.647771)'), GeomFromEWKT('SRID=4674;POINT (-39.765322 -2.647789)'))) / (select extract(epoch from '2026-07-22 17:31:31'::timestamp) - extract(epoch from '2026-07-22 17:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765329 -2.647807)', '2026-07-22 17:31:53', 47, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765322 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765329 -2.647807)'))) / (select extract(epoch from '2026-07-22 17:31:53'::timestamp) - extract(epoch from '2026-07-22 17:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765322 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765329 -2.647807)'))) / (select extract(epoch from '2026-07-22 17:31:53'::timestamp) - extract(epoch from '2026-07-22 17:31: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.76533 -2.647803)', '2026-07-22 17:32:19', 47.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765329 -2.647807)'), GeomFromEWKT('SRID=4674;POINT (-39.76533 -2.647803)'))) / (select extract(epoch from '2026-07-22 17:32:19'::timestamp) - extract(epoch from '2026-07-22 17:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765329 -2.647807)'), GeomFromEWKT('SRID=4674;POINT (-39.76533 -2.647803)'))) / (select extract(epoch from '2026-07-22 17:32:19'::timestamp) - extract(epoch from '2026-07-22 17:31: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.765321 -2.647802)', '2026-07-22 17:32:24', 47.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76533 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647802)'))) / (select extract(epoch from '2026-07-22 17:32:24'::timestamp) - extract(epoch from '2026-07-22 17:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76533 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647802)'))) / (select extract(epoch from '2026-07-22 17:32:24'::timestamp) - extract(epoch from '2026-07-22 17:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765324 -2.647804)', '2026-07-22 17:32:30', 47.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765324 -2.647804)'))) / (select extract(epoch from '2026-07-22 17:32:30'::timestamp) - extract(epoch from '2026-07-22 17:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765324 -2.647804)'))) / (select extract(epoch from '2026-07-22 17:32:30'::timestamp) - extract(epoch from '2026-07-22 17:32: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.765321 -2.647822)', '2026-07-22 17:33:24', 47.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765324 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647822)'))) / (select extract(epoch from '2026-07-22 17:33:24'::timestamp) - extract(epoch from '2026-07-22 17:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765324 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647822)'))) / (select extract(epoch from '2026-07-22 17:33:24'::timestamp) - extract(epoch from '2026-07-22 17:32: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.765326 -2.647816)', '2026-07-22 17:33:29', 47.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647822)'), GeomFromEWKT('SRID=4674;POINT (-39.765326 -2.647816)'))) / (select extract(epoch from '2026-07-22 17:33:29'::timestamp) - extract(epoch from '2026-07-22 17:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647822)'), GeomFromEWKT('SRID=4674;POINT (-39.765326 -2.647816)'))) / (select extract(epoch from '2026-07-22 17:33:29'::timestamp) - extract(epoch from '2026-07-22 17:33: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.765322 -2.647815)', '2026-07-22 17:33:30', 47.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765326 -2.647816)'), GeomFromEWKT('SRID=4674;POINT (-39.765322 -2.647815)'))) / (select extract(epoch from '2026-07-22 17:33:30'::timestamp) - extract(epoch from '2026-07-22 17:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765326 -2.647816)'), GeomFromEWKT('SRID=4674;POINT (-39.765322 -2.647815)'))) / (select extract(epoch from '2026-07-22 17:33:30'::timestamp) - extract(epoch from '2026-07-22 17:33: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.765326 -2.647817)', '2026-07-22 17:33:36', 47.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765322 -2.647815)'), GeomFromEWKT('SRID=4674;POINT (-39.765326 -2.647817)'))) / (select extract(epoch from '2026-07-22 17:33:36'::timestamp) - extract(epoch from '2026-07-22 17:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765322 -2.647815)'), GeomFromEWKT('SRID=4674;POINT (-39.765326 -2.647817)'))) / (select extract(epoch from '2026-07-22 17:33:36'::timestamp) - extract(epoch from '2026-07-22 17:33: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.765354 -2.647824)', '2026-07-22 17:33:47', 47.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765326 -2.647817)'), GeomFromEWKT('SRID=4674;POINT (-39.765354 -2.647824)'))) / (select extract(epoch from '2026-07-22 17:33:47'::timestamp) - extract(epoch from '2026-07-22 17:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765326 -2.647817)'), GeomFromEWKT('SRID=4674;POINT (-39.765354 -2.647824)'))) / (select extract(epoch from '2026-07-22 17:33:47'::timestamp) - extract(epoch from '2026-07-22 17:33: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.765361 -2.647825)', '2026-07-22 17:34:07', 47.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765354 -2.647824)'), GeomFromEWKT('SRID=4674;POINT (-39.765361 -2.647825)'))) / (select extract(epoch from '2026-07-22 17:34:07'::timestamp) - extract(epoch from '2026-07-22 17:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765354 -2.647824)'), GeomFromEWKT('SRID=4674;POINT (-39.765361 -2.647825)'))) / (select extract(epoch from '2026-07-22 17:34:07'::timestamp) - extract(epoch from '2026-07-22 17:33:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765349 -2.647812)', '2026-07-22 17:34:33', 47.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765361 -2.647825)'), GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647812)'))) / (select extract(epoch from '2026-07-22 17:34:33'::timestamp) - extract(epoch from '2026-07-22 17:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765361 -2.647825)'), GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647812)'))) / (select extract(epoch from '2026-07-22 17:34:33'::timestamp) - extract(epoch from '2026-07-22 17:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765353 -2.64781)', '2026-07-22 17:34:39', 48, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647812)'), GeomFromEWKT('SRID=4674;POINT (-39.765353 -2.64781)'))) / (select extract(epoch from '2026-07-22 17:34:39'::timestamp) - extract(epoch from '2026-07-22 17:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647812)'), GeomFromEWKT('SRID=4674;POINT (-39.765353 -2.64781)'))) / (select extract(epoch from '2026-07-22 17:34:39'::timestamp) - extract(epoch from '2026-07-22 17:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765321 -2.647785)', '2026-07-22 17:35:20', 48, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765353 -2.64781)'), GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647785)'))) / (select extract(epoch from '2026-07-22 17:35:20'::timestamp) - extract(epoch from '2026-07-22 17:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765353 -2.64781)'), GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647785)'))) / (select extract(epoch from '2026-07-22 17:35:20'::timestamp) - extract(epoch from '2026-07-22 17:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765321 -2.647782)', '2026-07-22 17:35:21', 48, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647782)'))) / (select extract(epoch from '2026-07-22 17:35:21'::timestamp) - extract(epoch from '2026-07-22 17:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647782)'))) / (select extract(epoch from '2026-07-22 17:35:21'::timestamp) - extract(epoch from '2026-07-22 17:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765323 -2.647801)', '2026-07-22 17:35:29', 48, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765323 -2.647801)'))) / (select extract(epoch from '2026-07-22 17:35:29'::timestamp) - extract(epoch from '2026-07-22 17:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765321 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765323 -2.647801)'))) / (select extract(epoch from '2026-07-22 17:35:29'::timestamp) - extract(epoch from '2026-07-22 17:35:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765339 -2.647802)', '2026-07-22 17:35:37', 47.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765323 -2.647801)'), GeomFromEWKT('SRID=4674;POINT (-39.765339 -2.647802)'))) / (select extract(epoch from '2026-07-22 17:35:37'::timestamp) - extract(epoch from '2026-07-22 17:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765323 -2.647801)'), GeomFromEWKT('SRID=4674;POINT (-39.765339 -2.647802)'))) / (select extract(epoch from '2026-07-22 17:35:37'::timestamp) - extract(epoch from '2026-07-22 17:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765334 -2.647803)', '2026-07-22 17:35:55', 47.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765339 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765334 -2.647803)'))) / (select extract(epoch from '2026-07-22 17:35:55'::timestamp) - extract(epoch from '2026-07-22 17:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765339 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765334 -2.647803)'))) / (select extract(epoch from '2026-07-22 17:35:55'::timestamp) - extract(epoch from '2026-07-22 17:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765313 -2.6478)', '2026-07-22 17:36:42', 48.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765334 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765313 -2.6478)'))) / (select extract(epoch from '2026-07-22 17:36:42'::timestamp) - extract(epoch from '2026-07-22 17:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765334 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765313 -2.6478)'))) / (select extract(epoch from '2026-07-22 17:36:42'::timestamp) - extract(epoch from '2026-07-22 17:35: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.765308 -2.647787)', '2026-07-22 17:36:47', 48.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765313 -2.6478)'), GeomFromEWKT('SRID=4674;POINT (-39.765308 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:36:47'::timestamp) - extract(epoch from '2026-07-22 17:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765313 -2.6478)'), GeomFromEWKT('SRID=4674;POINT (-39.765308 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:36:47'::timestamp) - extract(epoch from '2026-07-22 17:36:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765309 -2.647782)', '2026-07-22 17:37:00', 49, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765308 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765309 -2.647782)'))) / (select extract(epoch from '2026-07-22 17:37:00'::timestamp) - extract(epoch from '2026-07-22 17:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765308 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765309 -2.647782)'))) / (select extract(epoch from '2026-07-22 17:37:00'::timestamp) - extract(epoch from '2026-07-22 17: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.765336 -2.647781)', '2026-07-22 17:37:44', 49.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765309 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765336 -2.647781)'))) / (select extract(epoch from '2026-07-22 17:37:44'::timestamp) - extract(epoch from '2026-07-22 17:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765309 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765336 -2.647781)'))) / (select extract(epoch from '2026-07-22 17:37:44'::timestamp) - extract(epoch from '2026-07-22 17: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.765346 -2.647784)', '2026-07-22 17:37:59', 50, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765336 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.765346 -2.647784)'))) / (select extract(epoch from '2026-07-22 17:37:59'::timestamp) - extract(epoch from '2026-07-22 17:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765336 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.765346 -2.647784)'))) / (select extract(epoch from '2026-07-22 17:37:59'::timestamp) - extract(epoch from '2026-07-22 17:37: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.765332 -2.647786)', '2026-07-22 17:38:08', 49.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765346 -2.647784)'), GeomFromEWKT('SRID=4674;POINT (-39.765332 -2.647786)'))) / (select extract(epoch from '2026-07-22 17:38:08'::timestamp) - extract(epoch from '2026-07-22 17:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765346 -2.647784)'), GeomFromEWKT('SRID=4674;POINT (-39.765332 -2.647786)'))) / (select extract(epoch from '2026-07-22 17:38:08'::timestamp) - extract(epoch from '2026-07-22 17:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765315 -2.647785)', '2026-07-22 17:38:23', 50.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765332 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765315 -2.647785)'))) / (select extract(epoch from '2026-07-22 17:38:23'::timestamp) - extract(epoch from '2026-07-22 17:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765332 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765315 -2.647785)'))) / (select extract(epoch from '2026-07-22 17:38:23'::timestamp) - extract(epoch from '2026-07-22 17:38: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.765311 -2.647785)', '2026-07-22 17:38:34', 50.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765315 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765311 -2.647785)'))) / (select extract(epoch from '2026-07-22 17:38:34'::timestamp) - extract(epoch from '2026-07-22 17:38:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765315 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765311 -2.647785)'))) / (select extract(epoch from '2026-07-22 17:38:34'::timestamp) - extract(epoch from '2026-07-22 17:38:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765298 -2.647792)', '2026-07-22 17:39:05', 51, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765311 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765298 -2.647792)'))) / (select extract(epoch from '2026-07-22 17:39:05'::timestamp) - extract(epoch from '2026-07-22 17:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765311 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765298 -2.647792)'))) / (select extract(epoch from '2026-07-22 17:39:05'::timestamp) - extract(epoch from '2026-07-22 17:38: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.765287 -2.647779)', '2026-07-22 17:39:26', 51.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765298 -2.647792)'), GeomFromEWKT('SRID=4674;POINT (-39.765287 -2.647779)'))) / (select extract(epoch from '2026-07-22 17:39:26'::timestamp) - extract(epoch from '2026-07-22 17:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765298 -2.647792)'), GeomFromEWKT('SRID=4674;POINT (-39.765287 -2.647779)'))) / (select extract(epoch from '2026-07-22 17:39:26'::timestamp) - extract(epoch from '2026-07-22 17:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765275 -2.647774)', '2026-07-22 17:39:47', 51, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765287 -2.647779)'), GeomFromEWKT('SRID=4674;POINT (-39.765275 -2.647774)'))) / (select extract(epoch from '2026-07-22 17:39:47'::timestamp) - extract(epoch from '2026-07-22 17:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765287 -2.647779)'), GeomFromEWKT('SRID=4674;POINT (-39.765275 -2.647774)'))) / (select extract(epoch from '2026-07-22 17:39:47'::timestamp) - extract(epoch from '2026-07-22 17:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765282 -2.647794)', '2026-07-22 17:40:05', 52, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765275 -2.647774)'), GeomFromEWKT('SRID=4674;POINT (-39.765282 -2.647794)'))) / (select extract(epoch from '2026-07-22 17:40:05'::timestamp) - extract(epoch from '2026-07-22 17:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765275 -2.647774)'), GeomFromEWKT('SRID=4674;POINT (-39.765282 -2.647794)'))) / (select extract(epoch from '2026-07-22 17:40:05'::timestamp) - extract(epoch from '2026-07-22 17:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765281 -2.647799)', '2026-07-22 17:40:20', 52.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765282 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765281 -2.647799)'))) / (select extract(epoch from '2026-07-22 17:40:20'::timestamp) - extract(epoch from '2026-07-22 17:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765282 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765281 -2.647799)'))) / (select extract(epoch from '2026-07-22 17:40:20'::timestamp) - extract(epoch from '2026-07-22 17:40: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.765292 -2.647799)', '2026-07-22 17:40:47', 53, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765281 -2.647799)'), GeomFromEWKT('SRID=4674;POINT (-39.765292 -2.647799)'))) / (select extract(epoch from '2026-07-22 17:40:47'::timestamp) - extract(epoch from '2026-07-22 17:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765281 -2.647799)'), GeomFromEWKT('SRID=4674;POINT (-39.765292 -2.647799)'))) / (select extract(epoch from '2026-07-22 17:40:47'::timestamp) - extract(epoch from '2026-07-22 17:40: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.765315 -2.647828)', '2026-07-22 17:41:28', 52.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765292 -2.647799)'), GeomFromEWKT('SRID=4674;POINT (-39.765315 -2.647828)'))) / (select extract(epoch from '2026-07-22 17:41:28'::timestamp) - extract(epoch from '2026-07-22 17:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765292 -2.647799)'), GeomFromEWKT('SRID=4674;POINT (-39.765315 -2.647828)'))) / (select extract(epoch from '2026-07-22 17:41:28'::timestamp) - extract(epoch from '2026-07-22 17:40: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.765312 -2.647827)', '2026-07-22 17:41:36', 53, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765315 -2.647828)'), GeomFromEWKT('SRID=4674;POINT (-39.765312 -2.647827)'))) / (select extract(epoch from '2026-07-22 17:41:36'::timestamp) - extract(epoch from '2026-07-22 17:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765315 -2.647828)'), GeomFromEWKT('SRID=4674;POINT (-39.765312 -2.647827)'))) / (select extract(epoch from '2026-07-22 17:41:36'::timestamp) - extract(epoch from '2026-07-22 17:41: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.765313 -2.647846)', '2026-07-22 17:42:04', 53.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765312 -2.647827)'), GeomFromEWKT('SRID=4674;POINT (-39.765313 -2.647846)'))) / (select extract(epoch from '2026-07-22 17:42:04'::timestamp) - extract(epoch from '2026-07-22 17:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765312 -2.647827)'), GeomFromEWKT('SRID=4674;POINT (-39.765313 -2.647846)'))) / (select extract(epoch from '2026-07-22 17:42:04'::timestamp) - extract(epoch from '2026-07-22 17:41:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765311 -2.647846)', '2026-07-22 17:42:57', 53.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765313 -2.647846)'), GeomFromEWKT('SRID=4674;POINT (-39.765311 -2.647846)'))) / (select extract(epoch from '2026-07-22 17:42:57'::timestamp) - extract(epoch from '2026-07-22 17:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765313 -2.647846)'), GeomFromEWKT('SRID=4674;POINT (-39.765311 -2.647846)'))) / (select extract(epoch from '2026-07-22 17:42:57'::timestamp) - extract(epoch from '2026-07-22 17:42:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765312 -2.647836)', '2026-07-22 17:43:04', 54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765311 -2.647846)'), GeomFromEWKT('SRID=4674;POINT (-39.765312 -2.647836)'))) / (select extract(epoch from '2026-07-22 17:43:04'::timestamp) - extract(epoch from '2026-07-22 17:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765311 -2.647846)'), GeomFromEWKT('SRID=4674;POINT (-39.765312 -2.647836)'))) / (select extract(epoch from '2026-07-22 17:43:04'::timestamp) - extract(epoch from '2026-07-22 17:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765264 -2.647827)', '2026-07-22 17:45:23', 54.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765312 -2.647836)'), GeomFromEWKT('SRID=4674;POINT (-39.765264 -2.647827)'))) / (select extract(epoch from '2026-07-22 17:45:23'::timestamp) - extract(epoch from '2026-07-22 17:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765312 -2.647836)'), GeomFromEWKT('SRID=4674;POINT (-39.765264 -2.647827)'))) / (select extract(epoch from '2026-07-22 17:45:23'::timestamp) - extract(epoch from '2026-07-22 17: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.765262 -2.647819)', '2026-07-22 17:45:32', 54.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765264 -2.647827)'), GeomFromEWKT('SRID=4674;POINT (-39.765262 -2.647819)'))) / (select extract(epoch from '2026-07-22 17:45:32'::timestamp) - extract(epoch from '2026-07-22 17:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765264 -2.647827)'), GeomFromEWKT('SRID=4674;POINT (-39.765262 -2.647819)'))) / (select extract(epoch from '2026-07-22 17:45:32'::timestamp) - extract(epoch from '2026-07-22 17:45: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.765278 -2.647811)', '2026-07-22 17:45:49', 55, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765262 -2.647819)'), GeomFromEWKT('SRID=4674;POINT (-39.765278 -2.647811)'))) / (select extract(epoch from '2026-07-22 17:45:49'::timestamp) - extract(epoch from '2026-07-22 17:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765262 -2.647819)'), GeomFromEWKT('SRID=4674;POINT (-39.765278 -2.647811)'))) / (select extract(epoch from '2026-07-22 17:45:49'::timestamp) - extract(epoch from '2026-07-22 17:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76528 -2.647805)', '2026-07-22 17:45:56', 55.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765278 -2.647811)'), GeomFromEWKT('SRID=4674;POINT (-39.76528 -2.647805)'))) / (select extract(epoch from '2026-07-22 17:45:56'::timestamp) - extract(epoch from '2026-07-22 17:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765278 -2.647811)'), GeomFromEWKT('SRID=4674;POINT (-39.76528 -2.647805)'))) / (select extract(epoch from '2026-07-22 17:45:56'::timestamp) - extract(epoch from '2026-07-22 17:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765277 -2.647817)', '2026-07-22 17:46:26', 55, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76528 -2.647805)'), GeomFromEWKT('SRID=4674;POINT (-39.765277 -2.647817)'))) / (select extract(epoch from '2026-07-22 17:46:26'::timestamp) - extract(epoch from '2026-07-22 17:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76528 -2.647805)'), GeomFromEWKT('SRID=4674;POINT (-39.765277 -2.647817)'))) / (select extract(epoch from '2026-07-22 17:46:26'::timestamp) - extract(epoch from '2026-07-22 17:45: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.765274 -2.647802)', '2026-07-22 17:46:50', 55, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765277 -2.647817)'), GeomFromEWKT('SRID=4674;POINT (-39.765274 -2.647802)'))) / (select extract(epoch from '2026-07-22 17:46:50'::timestamp) - extract(epoch from '2026-07-22 17:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765277 -2.647817)'), GeomFromEWKT('SRID=4674;POINT (-39.765274 -2.647802)'))) / (select extract(epoch from '2026-07-22 17:46:50'::timestamp) - extract(epoch from '2026-07-22 17:46:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765274 -2.647806)', '2026-07-22 17:47:08', 55.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765274 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765274 -2.647806)'))) / (select extract(epoch from '2026-07-22 17:47:08'::timestamp) - extract(epoch from '2026-07-22 17:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765274 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765274 -2.647806)'))) / (select extract(epoch from '2026-07-22 17:47:08'::timestamp) - extract(epoch from '2026-07-22 17:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765273 -2.647798)', '2026-07-22 17:47:25', 55.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765274 -2.647806)'), GeomFromEWKT('SRID=4674;POINT (-39.765273 -2.647798)'))) / (select extract(epoch from '2026-07-22 17:47:25'::timestamp) - extract(epoch from '2026-07-22 17:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765274 -2.647806)'), GeomFromEWKT('SRID=4674;POINT (-39.765273 -2.647798)'))) / (select extract(epoch from '2026-07-22 17:47:25'::timestamp) - extract(epoch from '2026-07-22 17: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.765286 -2.647786)', '2026-07-22 17:47:33', 55.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765273 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765286 -2.647786)'))) / (select extract(epoch from '2026-07-22 17:47:33'::timestamp) - extract(epoch from '2026-07-22 17:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765273 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765286 -2.647786)'))) / (select extract(epoch from '2026-07-22 17:47:33'::timestamp) - extract(epoch from '2026-07-22 17:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765279 -2.64779)', '2026-07-22 17:48:06', 55.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765286 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765279 -2.64779)'))) / (select extract(epoch from '2026-07-22 17:48:06'::timestamp) - extract(epoch from '2026-07-22 17:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765286 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765279 -2.64779)'))) / (select extract(epoch from '2026-07-22 17:48:06'::timestamp) - extract(epoch from '2026-07-22 17: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.765304 -2.647784)', '2026-07-22 17:48:53', 54.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765279 -2.64779)'), GeomFromEWKT('SRID=4674;POINT (-39.765304 -2.647784)'))) / (select extract(epoch from '2026-07-22 17:48:53'::timestamp) - extract(epoch from '2026-07-22 17:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765279 -2.64779)'), GeomFromEWKT('SRID=4674;POINT (-39.765304 -2.647784)'))) / (select extract(epoch from '2026-07-22 17:48:53'::timestamp) - extract(epoch from '2026-07-22 17:48: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.765342 -2.64779)', '2026-07-22 17:49:27', 54.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765304 -2.647784)'), GeomFromEWKT('SRID=4674;POINT (-39.765342 -2.64779)'))) / (select extract(epoch from '2026-07-22 17:49:27'::timestamp) - extract(epoch from '2026-07-22 17:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765304 -2.647784)'), GeomFromEWKT('SRID=4674;POINT (-39.765342 -2.64779)'))) / (select extract(epoch from '2026-07-22 17:49:27'::timestamp) - extract(epoch from '2026-07-22 17:48: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.765349 -2.647776)', '2026-07-22 17:49:32', 54, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765342 -2.64779)'), GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647776)'))) / (select extract(epoch from '2026-07-22 17:49:32'::timestamp) - extract(epoch from '2026-07-22 17:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765342 -2.64779)'), GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647776)'))) / (select extract(epoch from '2026-07-22 17:49:32'::timestamp) - extract(epoch from '2026-07-22 17:49: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.765364 -2.647795)', '2026-07-22 17:49:59', 53.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647776)'), GeomFromEWKT('SRID=4674;POINT (-39.765364 -2.647795)'))) / (select extract(epoch from '2026-07-22 17:49:59'::timestamp) - extract(epoch from '2026-07-22 17:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765349 -2.647776)'), GeomFromEWKT('SRID=4674;POINT (-39.765364 -2.647795)'))) / (select extract(epoch from '2026-07-22 17:49:59'::timestamp) - extract(epoch from '2026-07-22 17:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765371 -2.647793)', '2026-07-22 17:50:09', 53.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765364 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647793)'))) / (select extract(epoch from '2026-07-22 17:50:09'::timestamp) - extract(epoch from '2026-07-22 17:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765364 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647793)'))) / (select extract(epoch from '2026-07-22 17:50:09'::timestamp) - extract(epoch from '2026-07-22 17:49: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.765381 -2.647802)', '2026-07-22 17:50:25', 54.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647793)'), GeomFromEWKT('SRID=4674;POINT (-39.765381 -2.647802)'))) / (select extract(epoch from '2026-07-22 17:50:25'::timestamp) - extract(epoch from '2026-07-22 17:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765371 -2.647793)'), GeomFromEWKT('SRID=4674;POINT (-39.765381 -2.647802)'))) / (select extract(epoch from '2026-07-22 17:50:25'::timestamp) - extract(epoch from '2026-07-22 17:50: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.765386 -2.647773)', '2026-07-22 17:50:42', 53.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765381 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765386 -2.647773)'))) / (select extract(epoch from '2026-07-22 17:50:42'::timestamp) - extract(epoch from '2026-07-22 17:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765381 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765386 -2.647773)'))) / (select extract(epoch from '2026-07-22 17:50:42'::timestamp) - extract(epoch from '2026-07-22 17:50:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765379 -2.647764)', '2026-07-22 17:50:50', 53.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765386 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765379 -2.647764)'))) / (select extract(epoch from '2026-07-22 17:50:50'::timestamp) - extract(epoch from '2026-07-22 17:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765386 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765379 -2.647764)'))) / (select extract(epoch from '2026-07-22 17:50:50'::timestamp) - extract(epoch from '2026-07-22 17:50: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.765375 -2.647755)', '2026-07-22 17:51:32', 53.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765379 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.765375 -2.647755)'))) / (select extract(epoch from '2026-07-22 17:51:32'::timestamp) - extract(epoch from '2026-07-22 17:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765379 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.765375 -2.647755)'))) / (select extract(epoch from '2026-07-22 17:51:32'::timestamp) - extract(epoch from '2026-07-22 17:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765389 -2.647744)', '2026-07-22 17:51:47', 53.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765375 -2.647755)'), GeomFromEWKT('SRID=4674;POINT (-39.765389 -2.647744)'))) / (select extract(epoch from '2026-07-22 17:51:47'::timestamp) - extract(epoch from '2026-07-22 17:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765375 -2.647755)'), GeomFromEWKT('SRID=4674;POINT (-39.765389 -2.647744)'))) / (select extract(epoch from '2026-07-22 17:51:47'::timestamp) - extract(epoch from '2026-07-22 17:51: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.765425 -2.647757)', '2026-07-22 17:52:40', 52.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765389 -2.647744)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647757)'))) / (select extract(epoch from '2026-07-22 17:52:40'::timestamp) - extract(epoch from '2026-07-22 17:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765389 -2.647744)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647757)'))) / (select extract(epoch from '2026-07-22 17:52:40'::timestamp) - extract(epoch from '2026-07-22 17:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765417 -2.64773)', '2026-07-22 17:54:31', 50.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647757)'), GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.64773)'))) / (select extract(epoch from '2026-07-22 17:54:31'::timestamp) - extract(epoch from '2026-07-22 17:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647757)'), GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.64773)'))) / (select extract(epoch from '2026-07-22 17:54:31'::timestamp) - extract(epoch from '2026-07-22 17:52: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.76542 -2.647741)', '2026-07-22 17:55:25', 49.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.64773)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647741)'))) / (select extract(epoch from '2026-07-22 17:55:25'::timestamp) - extract(epoch from '2026-07-22 17:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765417 -2.64773)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647741)'))) / (select extract(epoch from '2026-07-22 17:55:25'::timestamp) - extract(epoch from '2026-07-22 17:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76542 -2.647742)', '2026-07-22 17:55:31', 49.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647741)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647742)'))) / (select extract(epoch from '2026-07-22 17:55:31'::timestamp) - extract(epoch from '2026-07-22 17:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647741)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647742)'))) / (select extract(epoch from '2026-07-22 17:55:31'::timestamp) - extract(epoch from '2026-07-22 17: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.765427 -2.647756)', '2026-07-22 17:55:40', 49.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647742)'), GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647756)'))) / (select extract(epoch from '2026-07-22 17:55:40'::timestamp) - extract(epoch from '2026-07-22 17:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647742)'), GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647756)'))) / (select extract(epoch from '2026-07-22 17:55:40'::timestamp) - extract(epoch from '2026-07-22 17:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765438 -2.647766)', '2026-07-22 17:56:11', 49, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647756)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647766)'))) / (select extract(epoch from '2026-07-22 17:56:11'::timestamp) - extract(epoch from '2026-07-22 17:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647756)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647766)'))) / (select extract(epoch from '2026-07-22 17:56:11'::timestamp) - extract(epoch from '2026-07-22 17:55: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.765438 -2.647775)', '2026-07-22 17:56:41', 48.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647766)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647775)'))) / (select extract(epoch from '2026-07-22 17:56:41'::timestamp) - extract(epoch from '2026-07-22 17:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647766)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647775)'))) / (select extract(epoch from '2026-07-22 17:56:41'::timestamp) - extract(epoch from '2026-07-22 17:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765441 -2.647785)', '2026-07-22 17:56:54', 48, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647775)'), GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647785)'))) / (select extract(epoch from '2026-07-22 17:56:54'::timestamp) - extract(epoch from '2026-07-22 17:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647775)'), GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647785)'))) / (select extract(epoch from '2026-07-22 17:56:54'::timestamp) - extract(epoch from '2026-07-22 17:56:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765431 -2.647787)', '2026-07-22 17:58:06', 47.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:58:06'::timestamp) - extract(epoch from '2026-07-22 17:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.647787)'))) / (select extract(epoch from '2026-07-22 17:58:06'::timestamp) - extract(epoch from '2026-07-22 17:56: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.765418 -2.647772)', '2026-07-22 17:59:20', 46.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647772)'))) / (select extract(epoch from '2026-07-22 17:59:20'::timestamp) - extract(epoch from '2026-07-22 17:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765431 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647772)'))) / (select extract(epoch from '2026-07-22 17:59:20'::timestamp) - extract(epoch from '2026-07-22 17:58: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.765412 -2.647766)', '2026-07-22 17:59:27', 46, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647772)'), GeomFromEWKT('SRID=4674;POINT (-39.765412 -2.647766)'))) / (select extract(epoch from '2026-07-22 17:59:27'::timestamp) - extract(epoch from '2026-07-22 17:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647772)'), GeomFromEWKT('SRID=4674;POINT (-39.765412 -2.647766)'))) / (select extract(epoch from '2026-07-22 17:59:27'::timestamp) - extract(epoch from '2026-07-22 17:59: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.765415 -2.647765)', '2026-07-22 17:59:34', 45.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765412 -2.647766)'), GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647765)'))) / (select extract(epoch from '2026-07-22 17:59:34'::timestamp) - extract(epoch from '2026-07-22 17:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765412 -2.647766)'), GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647765)'))) / (select extract(epoch from '2026-07-22 17:59:34'::timestamp) - extract(epoch from '2026-07-22 17: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.765418 -2.647764)', '2026-07-22 17:59:58', 46.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647765)'), GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647764)'))) / (select extract(epoch from '2026-07-22 17:59:58'::timestamp) - extract(epoch from '2026-07-22 17:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765415 -2.647765)'), GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647764)'))) / (select extract(epoch from '2026-07-22 17:59:58'::timestamp) - extract(epoch from '2026-07-22 17:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76543 -2.647764)', '2026-07-22 18:00:35', 45.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647764)'))) / (select extract(epoch from '2026-07-22 18:00:35'::timestamp) - extract(epoch from '2026-07-22 17:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765418 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647764)'))) / (select extract(epoch from '2026-07-22 18:00:35'::timestamp) - extract(epoch from '2026-07-22 17:59: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.765434 -2.647735)', '2026-07-22 18:00:54', 45.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.765434 -2.647735)'))) / (select extract(epoch from '2026-07-22 18:00:54'::timestamp) - extract(epoch from '2026-07-22 18:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.765434 -2.647735)'))) / (select extract(epoch from '2026-07-22 18:00:54'::timestamp) - extract(epoch from '2026-07-22 18:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765433 -2.647735)', '2026-07-22 18:01:23', 44.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765434 -2.647735)'), GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647735)'))) / (select extract(epoch from '2026-07-22 18:01:23'::timestamp) - extract(epoch from '2026-07-22 18:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765434 -2.647735)'), GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647735)'))) / (select extract(epoch from '2026-07-22 18:01:23'::timestamp) - extract(epoch from '2026-07-22 18:00: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.765452 -2.647754)', '2026-07-22 18:02:08', 44.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647735)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647754)'))) / (select extract(epoch from '2026-07-22 18:02:08'::timestamp) - extract(epoch from '2026-07-22 18:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647735)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647754)'))) / (select extract(epoch from '2026-07-22 18:02:08'::timestamp) - extract(epoch from '2026-07-22 18:01: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.765445 -2.647767)', '2026-07-22 18:02:17', 44.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647754)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647767)'))) / (select extract(epoch from '2026-07-22 18:02:17'::timestamp) - extract(epoch from '2026-07-22 18:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647754)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647767)'))) / (select extract(epoch from '2026-07-22 18:02:17'::timestamp) - extract(epoch from '2026-07-22 18:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765453 -2.647777)', '2026-07-22 18:02:34', 44.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647767)'), GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647777)'))) / (select extract(epoch from '2026-07-22 18:02:34'::timestamp) - extract(epoch from '2026-07-22 18:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647767)'), GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647777)'))) / (select extract(epoch from '2026-07-22 18:02:34'::timestamp) - extract(epoch from '2026-07-22 18:02: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.765452 -2.647764)', '2026-07-22 18:02:54', 44, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647764)'))) / (select extract(epoch from '2026-07-22 18:02:54'::timestamp) - extract(epoch from '2026-07-22 18:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647764)'))) / (select extract(epoch from '2026-07-22 18:02:54'::timestamp) - extract(epoch from '2026-07-22 18: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.765454 -2.647765)', '2026-07-22 18:03:00', 43.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.765454 -2.647765)'))) / (select extract(epoch from '2026-07-22 18:03:00'::timestamp) - extract(epoch from '2026-07-22 18:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.765454 -2.647765)'))) / (select extract(epoch from '2026-07-22 18:03:00'::timestamp) - extract(epoch from '2026-07-22 18:02: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.765451 -2.647762)', '2026-07-22 18:03:23', 43.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765454 -2.647765)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647762)'))) / (select extract(epoch from '2026-07-22 18:03:23'::timestamp) - extract(epoch from '2026-07-22 18:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765454 -2.647765)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647762)'))) / (select extract(epoch from '2026-07-22 18:03:23'::timestamp) - extract(epoch from '2026-07-22 18:03: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.76544 -2.647751)', '2026-07-22 18:03:40', 43.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647762)'), GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647751)'))) / (select extract(epoch from '2026-07-22 18:03:40'::timestamp) - extract(epoch from '2026-07-22 18:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647762)'), GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647751)'))) / (select extract(epoch from '2026-07-22 18:03:40'::timestamp) - extract(epoch from '2026-07-22 18:03: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.765438 -2.64774)', '2026-07-22 18:04:09', 43, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647751)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.64774)'))) / (select extract(epoch from '2026-07-22 18:04:09'::timestamp) - extract(epoch from '2026-07-22 18:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647751)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.64774)'))) / (select extract(epoch from '2026-07-22 18:04:09'::timestamp) - extract(epoch from '2026-07-22 18:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765439 -2.64775)', '2026-07-22 18:04:33', 42.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.64774)'), GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.64775)'))) / (select extract(epoch from '2026-07-22 18:04:33'::timestamp) - extract(epoch from '2026-07-22 18:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.64774)'), GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.64775)'))) / (select extract(epoch from '2026-07-22 18:04:33'::timestamp) - extract(epoch from '2026-07-22 18:04: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.765449 -2.647754)', '2026-07-22 18:04:52', 42.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.64775)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647754)'))) / (select extract(epoch from '2026-07-22 18:04:52'::timestamp) - extract(epoch from '2026-07-22 18:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.64775)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647754)'))) / (select extract(epoch from '2026-07-22 18:04:52'::timestamp) - extract(epoch from '2026-07-22 18: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.76545 -2.647768)', '2026-07-22 18:05:02', 42.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647754)'), GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647768)'))) / (select extract(epoch from '2026-07-22 18:05:02'::timestamp) - extract(epoch from '2026-07-22 18:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647754)'), GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647768)'))) / (select extract(epoch from '2026-07-22 18:05:02'::timestamp) - extract(epoch from '2026-07-22 18: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.76544 -2.647787)', '2026-07-22 18:05:34', 41.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647768)'), GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647787)'))) / (select extract(epoch from '2026-07-22 18:05:34'::timestamp) - extract(epoch from '2026-07-22 18:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647768)'), GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647787)'))) / (select extract(epoch from '2026-07-22 18:05:34'::timestamp) - extract(epoch from '2026-07-22 18:05: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.765462 -2.647814)', '2026-07-22 18:06:25', 40, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647814)'))) / (select extract(epoch from '2026-07-22 18:06:25'::timestamp) - extract(epoch from '2026-07-22 18:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647814)'))) / (select extract(epoch from '2026-07-22 18:06:25'::timestamp) - extract(epoch from '2026-07-22 18:05: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.765451 -2.647827)', '2026-07-22 18:06:45', 39.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647814)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647827)'))) / (select extract(epoch from '2026-07-22 18:06:45'::timestamp) - extract(epoch from '2026-07-22 18:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647814)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647827)'))) / (select extract(epoch from '2026-07-22 18:06:45'::timestamp) - extract(epoch from '2026-07-22 18:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765462 -2.647831)', '2026-07-22 18:06:54', 39.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647827)'), GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647831)'))) / (select extract(epoch from '2026-07-22 18:06:54'::timestamp) - extract(epoch from '2026-07-22 18:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647827)'), GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647831)'))) / (select extract(epoch from '2026-07-22 18:06:54'::timestamp) - extract(epoch from '2026-07-22 18:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76546 -2.647825)', '2026-07-22 18:07:01', 39.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647831)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647825)'))) / (select extract(epoch from '2026-07-22 18:07:01'::timestamp) - extract(epoch from '2026-07-22 18:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647831)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647825)'))) / (select extract(epoch from '2026-07-22 18:07:01'::timestamp) - extract(epoch from '2026-07-22 18:06: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.76545 -2.647816)', '2026-07-22 18:07:14', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647825)'), GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647816)'))) / (select extract(epoch from '2026-07-22 18:07:14'::timestamp) - extract(epoch from '2026-07-22 18:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647825)'), GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647816)'))) / (select extract(epoch from '2026-07-22 18:07:14'::timestamp) - extract(epoch from '2026-07-22 18:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765445 -2.647806)', '2026-07-22 18:07:20', 39.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647816)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647806)'))) / (select extract(epoch from '2026-07-22 18:07:20'::timestamp) - extract(epoch from '2026-07-22 18:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76545 -2.647816)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647806)'))) / (select extract(epoch from '2026-07-22 18:07:20'::timestamp) - extract(epoch from '2026-07-22 18:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765441 -2.647794)', '2026-07-22 18:07:28', 39.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647806)'), GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647794)'))) / (select extract(epoch from '2026-07-22 18:07:28'::timestamp) - extract(epoch from '2026-07-22 18:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647806)'), GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647794)'))) / (select extract(epoch from '2026-07-22 18:07:28'::timestamp) - extract(epoch from '2026-07-22 18: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.765425 -2.6478)', '2026-07-22 18:07:37', 38.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.6478)'))) / (select extract(epoch from '2026-07-22 18:07:37'::timestamp) - extract(epoch from '2026-07-22 18:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765441 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.6478)'))) / (select extract(epoch from '2026-07-22 18:07:37'::timestamp) - extract(epoch from '2026-07-22 18:07: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.765416 -2.647801)', '2026-07-22 18:07:44', 38, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.6478)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647801)'))) / (select extract(epoch from '2026-07-22 18:07:44'::timestamp) - extract(epoch from '2026-07-22 18:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.6478)'), GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647801)'))) / (select extract(epoch from '2026-07-22 18:07:44'::timestamp) - extract(epoch from '2026-07-22 18:07: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.765419 -2.647792)', '2026-07-22 18:07:53', 37.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647801)'), GeomFromEWKT('SRID=4674;POINT (-39.765419 -2.647792)'))) / (select extract(epoch from '2026-07-22 18:07:53'::timestamp) - extract(epoch from '2026-07-22 18:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765416 -2.647801)'), GeomFromEWKT('SRID=4674;POINT (-39.765419 -2.647792)'))) / (select extract(epoch from '2026-07-22 18:07:53'::timestamp) - extract(epoch from '2026-07-22 18:07: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.765426 -2.647796)', '2026-07-22 18:08:17', 36.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765419 -2.647792)'), GeomFromEWKT('SRID=4674;POINT (-39.765426 -2.647796)'))) / (select extract(epoch from '2026-07-22 18:08:17'::timestamp) - extract(epoch from '2026-07-22 18:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765419 -2.647792)'), GeomFromEWKT('SRID=4674;POINT (-39.765426 -2.647796)'))) / (select extract(epoch from '2026-07-22 18:08:17'::timestamp) - extract(epoch from '2026-07-22 18:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76543 -2.647787)', '2026-07-22 18:08:28', 37.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765426 -2.647796)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647787)'))) / (select extract(epoch from '2026-07-22 18:08:28'::timestamp) - extract(epoch from '2026-07-22 18:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765426 -2.647796)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647787)'))) / (select extract(epoch from '2026-07-22 18:08:28'::timestamp) - extract(epoch from '2026-07-22 18:08: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.765443 -2.647783)', '2026-07-22 18:09:35', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647783)'))) / (select extract(epoch from '2026-07-22 18:09:35'::timestamp) - extract(epoch from '2026-07-22 18:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647783)'))) / (select extract(epoch from '2026-07-22 18:09:35'::timestamp) - extract(epoch from '2026-07-22 18:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765443 -2.647782)', '2026-07-22 18:09:41', 36, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647783)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:09:41'::timestamp) - extract(epoch from '2026-07-22 18:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647783)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:09:41'::timestamp) - extract(epoch from '2026-07-22 18:09:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765451 -2.647789)', '2026-07-22 18:09:54', 35.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647789)'))) / (select extract(epoch from '2026-07-22 18:09:54'::timestamp) - extract(epoch from '2026-07-22 18:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647789)'))) / (select extract(epoch from '2026-07-22 18:09:54'::timestamp) - extract(epoch from '2026-07-22 18:09: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.765447 -2.64777)', '2026-07-22 18:10:02', 35.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.64777)'))) / (select extract(epoch from '2026-07-22 18:10:02'::timestamp) - extract(epoch from '2026-07-22 18:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.64777)'))) / (select extract(epoch from '2026-07-22 18:10:02'::timestamp) - extract(epoch from '2026-07-22 18:09: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.765443 -2.647762)', '2026-07-22 18:10:11', 34.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.64777)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647762)'))) / (select extract(epoch from '2026-07-22 18:10:11'::timestamp) - extract(epoch from '2026-07-22 18:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.64777)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647762)'))) / (select extract(epoch from '2026-07-22 18:10:11'::timestamp) - extract(epoch from '2026-07-22 18:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765436 -2.647742)', '2026-07-22 18:10:48', 34.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647762)'), GeomFromEWKT('SRID=4674;POINT (-39.765436 -2.647742)'))) / (select extract(epoch from '2026-07-22 18:10:48'::timestamp) - extract(epoch from '2026-07-22 18:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647762)'), GeomFromEWKT('SRID=4674;POINT (-39.765436 -2.647742)'))) / (select extract(epoch from '2026-07-22 18:10:48'::timestamp) - extract(epoch from '2026-07-22 18:10: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.765429 -2.647749)', '2026-07-22 18:11:08', 33.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765436 -2.647742)'), GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647749)'))) / (select extract(epoch from '2026-07-22 18:11:08'::timestamp) - extract(epoch from '2026-07-22 18:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765436 -2.647742)'), GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647749)'))) / (select extract(epoch from '2026-07-22 18:11:08'::timestamp) - extract(epoch from '2026-07-22 18:10: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.765436 -2.647748)', '2026-07-22 18:11:20', 33.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647749)'), GeomFromEWKT('SRID=4674;POINT (-39.765436 -2.647748)'))) / (select extract(epoch from '2026-07-22 18:11:20'::timestamp) - extract(epoch from '2026-07-22 18:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647749)'), GeomFromEWKT('SRID=4674;POINT (-39.765436 -2.647748)'))) / (select extract(epoch from '2026-07-22 18:11:20'::timestamp) - extract(epoch from '2026-07-22 18:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765437 -2.64775)', '2026-07-22 18:11:35', 33, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765436 -2.647748)'), GeomFromEWKT('SRID=4674;POINT (-39.765437 -2.64775)'))) / (select extract(epoch from '2026-07-22 18:11:35'::timestamp) - extract(epoch from '2026-07-22 18:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765436 -2.647748)'), GeomFromEWKT('SRID=4674;POINT (-39.765437 -2.64775)'))) / (select extract(epoch from '2026-07-22 18:11:35'::timestamp) - extract(epoch from '2026-07-22 18:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765444 -2.647772)', '2026-07-22 18:12:18', 33, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765437 -2.64775)'), GeomFromEWKT('SRID=4674;POINT (-39.765444 -2.647772)'))) / (select extract(epoch from '2026-07-22 18:12:18'::timestamp) - extract(epoch from '2026-07-22 18:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765437 -2.64775)'), GeomFromEWKT('SRID=4674;POINT (-39.765444 -2.647772)'))) / (select extract(epoch from '2026-07-22 18:12:18'::timestamp) - extract(epoch from '2026-07-22 18:11: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.765458 -2.647791)', '2026-07-22 18:12:37', 32.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765444 -2.647772)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647791)'))) / (select extract(epoch from '2026-07-22 18:12:37'::timestamp) - extract(epoch from '2026-07-22 18:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765444 -2.647772)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647791)'))) / (select extract(epoch from '2026-07-22 18:12:37'::timestamp) - extract(epoch from '2026-07-22 18:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765473 -2.647804)', '2026-07-22 18:12:49', 32.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647791)'), GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647804)'))) / (select extract(epoch from '2026-07-22 18:12:49'::timestamp) - extract(epoch from '2026-07-22 18:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647791)'), GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647804)'))) / (select extract(epoch from '2026-07-22 18:12:49'::timestamp) - extract(epoch from '2026-07-22 18:12: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.765478 -2.647803)', '2026-07-22 18:13:04', 32.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.765478 -2.647803)'))) / (select extract(epoch from '2026-07-22 18:13:04'::timestamp) - extract(epoch from '2026-07-22 18:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765473 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.765478 -2.647803)'))) / (select extract(epoch from '2026-07-22 18:13:04'::timestamp) - extract(epoch from '2026-07-22 18:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765477 -2.647814)', '2026-07-22 18:13:15', 33.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765478 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765477 -2.647814)'))) / (select extract(epoch from '2026-07-22 18:13:15'::timestamp) - extract(epoch from '2026-07-22 18:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765478 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765477 -2.647814)'))) / (select extract(epoch from '2026-07-22 18:13:15'::timestamp) - extract(epoch from '2026-07-22 18: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.765472 -2.647805)', '2026-07-22 18:13:37', 33, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765477 -2.647814)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647805)'))) / (select extract(epoch from '2026-07-22 18:13:37'::timestamp) - extract(epoch from '2026-07-22 18:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765477 -2.647814)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647805)'))) / (select extract(epoch from '2026-07-22 18:13:37'::timestamp) - extract(epoch from '2026-07-22 18:13: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.76546 -2.647826)', '2026-07-22 18:13:46', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647805)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647826)'))) / (select extract(epoch from '2026-07-22 18:13:46'::timestamp) - extract(epoch from '2026-07-22 18:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647805)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647826)'))) / (select extract(epoch from '2026-07-22 18:13:46'::timestamp) - extract(epoch from '2026-07-22 18:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765451 -2.647831)', '2026-07-22 18:14:20', 32.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647826)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647831)'))) / (select extract(epoch from '2026-07-22 18:14:20'::timestamp) - extract(epoch from '2026-07-22 18:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647826)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647831)'))) / (select extract(epoch from '2026-07-22 18:14:20'::timestamp) - extract(epoch from '2026-07-22 18:13: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.765466 -2.647836)', '2026-07-22 18:14:37', 32.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647831)'), GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647836)'))) / (select extract(epoch from '2026-07-22 18:14:37'::timestamp) - extract(epoch from '2026-07-22 18:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647831)'), GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647836)'))) / (select extract(epoch from '2026-07-22 18:14:37'::timestamp) - extract(epoch from '2026-07-22 18:14:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765468 -2.647813)', '2026-07-22 18:16:24', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647836)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647813)'))) / (select extract(epoch from '2026-07-22 18:16:24'::timestamp) - extract(epoch from '2026-07-22 18:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765466 -2.647836)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647813)'))) / (select extract(epoch from '2026-07-22 18:16:24'::timestamp) - extract(epoch from '2026-07-22 18:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76547 -2.647801)', '2026-07-22 18:16:39', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647813)'), GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647801)'))) / (select extract(epoch from '2026-07-22 18:16:39'::timestamp) - extract(epoch from '2026-07-22 18:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647813)'), GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647801)'))) / (select extract(epoch from '2026-07-22 18:16:39'::timestamp) - extract(epoch from '2026-07-22 18:16: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.765467 -2.647797)', '2026-07-22 18:16:51', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647801)'), GeomFromEWKT('SRID=4674;POINT (-39.765467 -2.647797)'))) / (select extract(epoch from '2026-07-22 18:16:51'::timestamp) - extract(epoch from '2026-07-22 18:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647801)'), GeomFromEWKT('SRID=4674;POINT (-39.765467 -2.647797)'))) / (select extract(epoch from '2026-07-22 18:16:51'::timestamp) - extract(epoch from '2026-07-22 18:16: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.765475 -2.647809)', '2026-07-22 18:16:55', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765467 -2.647797)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647809)'))) / (select extract(epoch from '2026-07-22 18:16:55'::timestamp) - extract(epoch from '2026-07-22 18:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765467 -2.647797)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647809)'))) / (select extract(epoch from '2026-07-22 18:16:55'::timestamp) - extract(epoch from '2026-07-22 18:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765474 -2.64781)', '2026-07-22 18:17:01', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647809)'), GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.64781)'))) / (select extract(epoch from '2026-07-22 18:17:01'::timestamp) - extract(epoch from '2026-07-22 18:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647809)'), GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.64781)'))) / (select extract(epoch from '2026-07-22 18:17:01'::timestamp) - extract(epoch from '2026-07-22 18:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765477 -2.647825)', '2026-07-22 18:17:09', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.64781)'), GeomFromEWKT('SRID=4674;POINT (-39.765477 -2.647825)'))) / (select extract(epoch from '2026-07-22 18:17:09'::timestamp) - extract(epoch from '2026-07-22 18:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.64781)'), GeomFromEWKT('SRID=4674;POINT (-39.765477 -2.647825)'))) / (select extract(epoch from '2026-07-22 18:17:09'::timestamp) - extract(epoch from '2026-07-22 18:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765475 -2.647828)', '2026-07-22 18:17:20', 30, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765477 -2.647825)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647828)'))) / (select extract(epoch from '2026-07-22 18:17:20'::timestamp) - extract(epoch from '2026-07-22 18:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765477 -2.647825)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647828)'))) / (select extract(epoch from '2026-07-22 18:17:20'::timestamp) - extract(epoch from '2026-07-22 18:17: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.765475 -2.647832)', '2026-07-22 18:17:42', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647828)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647832)'))) / (select extract(epoch from '2026-07-22 18:17:42'::timestamp) - extract(epoch from '2026-07-22 18:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647828)'), GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647832)'))) / (select extract(epoch from '2026-07-22 18:17:42'::timestamp) - extract(epoch from '2026-07-22 18:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765476 -2.647825)', '2026-07-22 18:18:00', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647832)'), GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647825)'))) / (select extract(epoch from '2026-07-22 18:18:00'::timestamp) - extract(epoch from '2026-07-22 18:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765475 -2.647832)'), GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647825)'))) / (select extract(epoch from '2026-07-22 18:18:00'::timestamp) - extract(epoch from '2026-07-22 18:17:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765476 -2.647822)', '2026-07-22 18:18:12', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647825)'), GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647822)'))) / (select extract(epoch from '2026-07-22 18:18:12'::timestamp) - extract(epoch from '2026-07-22 18:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647825)'), GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647822)'))) / (select extract(epoch from '2026-07-22 18:18:12'::timestamp) - extract(epoch from '2026-07-22 18:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765471 -2.647827)', '2026-07-22 18:18:17', 30.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647822)'), GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647827)'))) / (select extract(epoch from '2026-07-22 18:18:17'::timestamp) - extract(epoch from '2026-07-22 18:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647822)'), GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647827)'))) / (select extract(epoch from '2026-07-22 18:18:17'::timestamp) - extract(epoch from '2026-07-22 18:18: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.765456 -2.647804)', '2026-07-22 18:18:27', 30.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647827)'), GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647804)'))) / (select extract(epoch from '2026-07-22 18:18:27'::timestamp) - extract(epoch from '2026-07-22 18:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647827)'), GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647804)'))) / (select extract(epoch from '2026-07-22 18:18:27'::timestamp) - extract(epoch from '2026-07-22 18:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765461 -2.647805)', '2026-07-22 18:18:34', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647805)'))) / (select extract(epoch from '2026-07-22 18:18:34'::timestamp) - extract(epoch from '2026-07-22 18:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647805)'))) / (select extract(epoch from '2026-07-22 18:18:34'::timestamp) - extract(epoch from '2026-07-22 18:18: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.765468 -2.647795)', '2026-07-22 18:19:46', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647805)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647795)'))) / (select extract(epoch from '2026-07-22 18:19:46'::timestamp) - extract(epoch from '2026-07-22 18:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647805)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647795)'))) / (select extract(epoch from '2026-07-22 18:19:46'::timestamp) - extract(epoch from '2026-07-22 18:18: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.765476 -2.647798)', '2026-07-22 18:20:31', 30.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647798)'))) / (select extract(epoch from '2026-07-22 18:20:31'::timestamp) - extract(epoch from '2026-07-22 18:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647798)'))) / (select extract(epoch from '2026-07-22 18:20:31'::timestamp) - extract(epoch from '2026-07-22 18:19: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.765461 -2.647788)', '2026-07-22 18:21:36', 30.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647788)'))) / (select extract(epoch from '2026-07-22 18:21:36'::timestamp) - extract(epoch from '2026-07-22 18:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647788)'))) / (select extract(epoch from '2026-07-22 18:21:36'::timestamp) - extract(epoch from '2026-07-22 18:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76546 -2.647795)', '2026-07-22 18:21:57', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647788)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647795)'))) / (select extract(epoch from '2026-07-22 18:21:57'::timestamp) - extract(epoch from '2026-07-22 18:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647788)'), GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647795)'))) / (select extract(epoch from '2026-07-22 18:21:57'::timestamp) - extract(epoch from '2026-07-22 18:21: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.765463 -2.647803)', '2026-07-22 18:22:04', 29.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.765463 -2.647803)'))) / (select extract(epoch from '2026-07-22 18:22:04'::timestamp) - extract(epoch from '2026-07-22 18:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76546 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.765463 -2.647803)'))) / (select extract(epoch from '2026-07-22 18:22:04'::timestamp) - extract(epoch from '2026-07-22 18: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.765468 -2.647803)', '2026-07-22 18:23:12', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765463 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647803)'))) / (select extract(epoch from '2026-07-22 18:23:12'::timestamp) - extract(epoch from '2026-07-22 18:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765463 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647803)'))) / (select extract(epoch from '2026-07-22 18:23:12'::timestamp) - extract(epoch from '2026-07-22 18: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.765464 -2.647798)', '2026-07-22 18:23:18', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647798)'))) / (select extract(epoch from '2026-07-22 18:23:18'::timestamp) - extract(epoch from '2026-07-22 18:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647798)'))) / (select extract(epoch from '2026-07-22 18:23:18'::timestamp) - extract(epoch from '2026-07-22 18:23: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.765439 -2.647778)', '2026-07-22 18:23:54', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.647778)'))) / (select extract(epoch from '2026-07-22 18:23:54'::timestamp) - extract(epoch from '2026-07-22 18:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765464 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.647778)'))) / (select extract(epoch from '2026-07-22 18:23:54'::timestamp) - extract(epoch from '2026-07-22 18:23: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.765438 -2.647787)', '2026-07-22 18:24:38', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.647778)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647787)'))) / (select extract(epoch from '2026-07-22 18:24:38'::timestamp) - extract(epoch from '2026-07-22 18:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.647778)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647787)'))) / (select extract(epoch from '2026-07-22 18:24:38'::timestamp) - extract(epoch from '2026-07-22 18:23: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.765445 -2.647798)', '2026-07-22 18:24:44', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647798)'))) / (select extract(epoch from '2026-07-22 18:24:44'::timestamp) - extract(epoch from '2026-07-22 18:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647787)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647798)'))) / (select extract(epoch from '2026-07-22 18:24:44'::timestamp) - extract(epoch from '2026-07-22 18:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765451 -2.647804)', '2026-07-22 18:25:13', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647804)'))) / (select extract(epoch from '2026-07-22 18:25:13'::timestamp) - extract(epoch from '2026-07-22 18:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647804)'))) / (select extract(epoch from '2026-07-22 18:25:13'::timestamp) - extract(epoch from '2026-07-22 18:24:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76544 -2.647813)', '2026-07-22 18:25:41', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647813)'))) / (select extract(epoch from '2026-07-22 18:25:41'::timestamp) - extract(epoch from '2026-07-22 18:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647813)'))) / (select extract(epoch from '2026-07-22 18:25:41'::timestamp) - extract(epoch from '2026-07-22 18:25: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.765442 -2.64782)', '2026-07-22 18:25:46', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647813)'), GeomFromEWKT('SRID=4674;POINT (-39.765442 -2.64782)'))) / (select extract(epoch from '2026-07-22 18:25:46'::timestamp) - extract(epoch from '2026-07-22 18:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76544 -2.647813)'), GeomFromEWKT('SRID=4674;POINT (-39.765442 -2.64782)'))) / (select extract(epoch from '2026-07-22 18:25:46'::timestamp) - extract(epoch from '2026-07-22 18:25: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.765454 -2.647823)', '2026-07-22 18:26:21', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765442 -2.64782)'), GeomFromEWKT('SRID=4674;POINT (-39.765454 -2.647823)'))) / (select extract(epoch from '2026-07-22 18:26:21'::timestamp) - extract(epoch from '2026-07-22 18:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765442 -2.64782)'), GeomFromEWKT('SRID=4674;POINT (-39.765454 -2.647823)'))) / (select extract(epoch from '2026-07-22 18:26:21'::timestamp) - extract(epoch from '2026-07-22 18:25: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.765452 -2.64783)', '2026-07-22 18:26:51', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765454 -2.647823)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.64783)'))) / (select extract(epoch from '2026-07-22 18:26:51'::timestamp) - extract(epoch from '2026-07-22 18:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765454 -2.647823)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.64783)'))) / (select extract(epoch from '2026-07-22 18:26:51'::timestamp) - extract(epoch from '2026-07-22 18:26: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.765449 -2.647829)', '2026-07-22 18:26:58', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.64783)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647829)'))) / (select extract(epoch from '2026-07-22 18:26:58'::timestamp) - extract(epoch from '2026-07-22 18:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.64783)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647829)'))) / (select extract(epoch from '2026-07-22 18:26:58'::timestamp) - extract(epoch from '2026-07-22 18:26: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.765452 -2.647798)', '2026-07-22 18:27:47', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647829)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647798)'))) / (select extract(epoch from '2026-07-22 18:27:47'::timestamp) - extract(epoch from '2026-07-22 18:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647829)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647798)'))) / (select extract(epoch from '2026-07-22 18:27:47'::timestamp) - extract(epoch from '2026-07-22 18:26: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.765433 -2.647793)', '2026-07-22 18:28:22', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647793)'))) / (select extract(epoch from '2026-07-22 18:28:22'::timestamp) - extract(epoch from '2026-07-22 18:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647793)'))) / (select extract(epoch from '2026-07-22 18:28:22'::timestamp) - extract(epoch from '2026-07-22 18:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76543 -2.647783)', '2026-07-22 18:28:32', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647793)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647783)'))) / (select extract(epoch from '2026-07-22 18:28:32'::timestamp) - extract(epoch from '2026-07-22 18:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647793)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647783)'))) / (select extract(epoch from '2026-07-22 18:28:32'::timestamp) - extract(epoch from '2026-07-22 18:28: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.765429 -2.647782)', '2026-07-22 18:28:38', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647783)'), GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:28:38'::timestamp) - extract(epoch from '2026-07-22 18:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647783)'), GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:28:38'::timestamp) - extract(epoch from '2026-07-22 18: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.765428 -2.647763)', '2026-07-22 18:29:02', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647763)'))) / (select extract(epoch from '2026-07-22 18:29:02'::timestamp) - extract(epoch from '2026-07-22 18:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765429 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647763)'))) / (select extract(epoch from '2026-07-22 18:29:02'::timestamp) - extract(epoch from '2026-07-22 18:28:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76542 -2.647775)', '2026-07-22 18:29:39', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647763)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647775)'))) / (select extract(epoch from '2026-07-22 18:29:39'::timestamp) - extract(epoch from '2026-07-22 18:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765428 -2.647763)'), GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647775)'))) / (select extract(epoch from '2026-07-22 18:29:39'::timestamp) - extract(epoch from '2026-07-22 18: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.765434 -2.647773)', '2026-07-22 18:29:49', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647775)'), GeomFromEWKT('SRID=4674;POINT (-39.765434 -2.647773)'))) / (select extract(epoch from '2026-07-22 18:29:49'::timestamp) - extract(epoch from '2026-07-22 18:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76542 -2.647775)'), GeomFromEWKT('SRID=4674;POINT (-39.765434 -2.647773)'))) / (select extract(epoch from '2026-07-22 18:29:49'::timestamp) - extract(epoch from '2026-07-22 18:29: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.765435 -2.647777)', '2026-07-22 18:30:02', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765434 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765435 -2.647777)'))) / (select extract(epoch from '2026-07-22 18:30:02'::timestamp) - extract(epoch from '2026-07-22 18:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765434 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765435 -2.647777)'))) / (select extract(epoch from '2026-07-22 18:30:02'::timestamp) - extract(epoch from '2026-07-22 18: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.765427 -2.647776)', '2026-07-22 18:30:14', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765435 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647776)'))) / (select extract(epoch from '2026-07-22 18:30:14'::timestamp) - extract(epoch from '2026-07-22 18:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765435 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647776)'))) / (select extract(epoch from '2026-07-22 18:30:14'::timestamp) - extract(epoch from '2026-07-22 18:30: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.76543 -2.647779)', '2026-07-22 18:30:23', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647776)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647779)'))) / (select extract(epoch from '2026-07-22 18:30:23'::timestamp) - extract(epoch from '2026-07-22 18:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765427 -2.647776)'), GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647779)'))) / (select extract(epoch from '2026-07-22 18:30:23'::timestamp) - extract(epoch from '2026-07-22 18:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765425 -2.647782)', '2026-07-22 18:31:21', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647779)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:31:21'::timestamp) - extract(epoch from '2026-07-22 18:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76543 -2.647779)'), GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:31:21'::timestamp) - extract(epoch from '2026-07-22 18:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765432 -2.647785)', '2026-07-22 18:31:29', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647785)'))) / (select extract(epoch from '2026-07-22 18:31:29'::timestamp) - extract(epoch from '2026-07-22 18:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765425 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647785)'))) / (select extract(epoch from '2026-07-22 18:31:29'::timestamp) - extract(epoch from '2026-07-22 18:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765445 -2.647795)', '2026-07-22 18:31:47', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647795)'))) / (select extract(epoch from '2026-07-22 18:31:47'::timestamp) - extract(epoch from '2026-07-22 18:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765432 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647795)'))) / (select extract(epoch from '2026-07-22 18:31:47'::timestamp) - extract(epoch from '2026-07-22 18:31: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.765451 -2.647794)', '2026-07-22 18:32:20', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647794)'))) / (select extract(epoch from '2026-07-22 18:32:20'::timestamp) - extract(epoch from '2026-07-22 18:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765445 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647794)'))) / (select extract(epoch from '2026-07-22 18:32:20'::timestamp) - extract(epoch from '2026-07-22 18:31: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.765471 -2.647802)', '2026-07-22 18:32:52', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647802)'))) / (select extract(epoch from '2026-07-22 18:32:52'::timestamp) - extract(epoch from '2026-07-22 18:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647802)'))) / (select extract(epoch from '2026-07-22 18:32:52'::timestamp) - extract(epoch from '2026-07-22 18:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765453 -2.647777)', '2026-07-22 18:33:24', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647777)'))) / (select extract(epoch from '2026-07-22 18:33:24'::timestamp) - extract(epoch from '2026-07-22 18:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765471 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647777)'))) / (select extract(epoch from '2026-07-22 18:33:24'::timestamp) - extract(epoch from '2026-07-22 18:32: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.765449 -2.647773)', '2026-07-22 18:33:42', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647773)'))) / (select extract(epoch from '2026-07-22 18:33:42'::timestamp) - extract(epoch from '2026-07-22 18:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765453 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647773)'))) / (select extract(epoch from '2026-07-22 18:33:42'::timestamp) - extract(epoch from '2026-07-22 18:33: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.765458 -2.647764)', '2026-07-22 18:34:01', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647764)'))) / (select extract(epoch from '2026-07-22 18:34:01'::timestamp) - extract(epoch from '2026-07-22 18:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647773)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647764)'))) / (select extract(epoch from '2026-07-22 18:34:01'::timestamp) - extract(epoch from '2026-07-22 18:33: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.765469 -2.647775)', '2026-07-22 18:34:31', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647775)'))) / (select extract(epoch from '2026-07-22 18:34:31'::timestamp) - extract(epoch from '2026-07-22 18:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647764)'), GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647775)'))) / (select extract(epoch from '2026-07-22 18:34:31'::timestamp) - extract(epoch from '2026-07-22 18:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765462 -2.647778)', '2026-07-22 18:34:50', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647775)'), GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647778)'))) / (select extract(epoch from '2026-07-22 18:34:50'::timestamp) - extract(epoch from '2026-07-22 18:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647775)'), GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647778)'))) / (select extract(epoch from '2026-07-22 18:34:50'::timestamp) - extract(epoch from '2026-07-22 18:34: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.765459 -2.647785)', '2026-07-22 18:34:53', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647778)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647785)'))) / (select extract(epoch from '2026-07-22 18:34:53'::timestamp) - extract(epoch from '2026-07-22 18:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765462 -2.647778)'), GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647785)'))) / (select extract(epoch from '2026-07-22 18:34:53'::timestamp) - extract(epoch from '2026-07-22 18:34: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.765449 -2.647789)', '2026-07-22 18:35:02', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647789)'))) / (select extract(epoch from '2026-07-22 18:35:02'::timestamp) - extract(epoch from '2026-07-22 18:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765459 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647789)'))) / (select extract(epoch from '2026-07-22 18:35:02'::timestamp) - extract(epoch from '2026-07-22 18:34: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.765461 -2.647786)', '2026-07-22 18:35:11', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647786)'))) / (select extract(epoch from '2026-07-22 18:35:11'::timestamp) - extract(epoch from '2026-07-22 18:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765449 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647786)'))) / (select extract(epoch from '2026-07-22 18:35:11'::timestamp) - extract(epoch from '2026-07-22 18:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765457 -2.647789)', '2026-07-22 18:35:30', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647789)'))) / (select extract(epoch from '2026-07-22 18:35:30'::timestamp) - extract(epoch from '2026-07-22 18:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647789)'))) / (select extract(epoch from '2026-07-22 18:35:30'::timestamp) - extract(epoch from '2026-07-22 18:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765438 -2.647785)', '2026-07-22 18:35:39', 28.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647785)'))) / (select extract(epoch from '2026-07-22 18:35:39'::timestamp) - extract(epoch from '2026-07-22 18:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765457 -2.647789)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647785)'))) / (select extract(epoch from '2026-07-22 18:35:39'::timestamp) - extract(epoch from '2026-07-22 18:35: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.765461 -2.647818)', '2026-07-22 18:36:23', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647818)'))) / (select extract(epoch from '2026-07-22 18:36:23'::timestamp) - extract(epoch from '2026-07-22 18:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647785)'), GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647818)'))) / (select extract(epoch from '2026-07-22 18:36:23'::timestamp) - extract(epoch from '2026-07-22 18:35: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.765451 -2.647813)', '2026-07-22 18:36:49', 28, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647818)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647813)'))) / (select extract(epoch from '2026-07-22 18:36:49'::timestamp) - extract(epoch from '2026-07-22 18:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765461 -2.647818)'), GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647813)'))) / (select extract(epoch from '2026-07-22 18:36:49'::timestamp) - extract(epoch from '2026-07-22 18:36:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765439 -2.6478)', '2026-07-22 18:38:07', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647813)'), GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.6478)'))) / (select extract(epoch from '2026-07-22 18:38:07'::timestamp) - extract(epoch from '2026-07-22 18:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765451 -2.647813)'), GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.6478)'))) / (select extract(epoch from '2026-07-22 18:38:07'::timestamp) - extract(epoch from '2026-07-22 18:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765438 -2.647794)', '2026-07-22 18:38:19', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.6478)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647794)'))) / (select extract(epoch from '2026-07-22 18:38:19'::timestamp) - extract(epoch from '2026-07-22 18:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765439 -2.6478)'), GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647794)'))) / (select extract(epoch from '2026-07-22 18:38:19'::timestamp) - extract(epoch from '2026-07-22 18:38: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.765446 -2.647794)', '2026-07-22 18:38:32', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647794)'))) / (select extract(epoch from '2026-07-22 18:38:32'::timestamp) - extract(epoch from '2026-07-22 18:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765438 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647794)'))) / (select extract(epoch from '2026-07-22 18:38:32'::timestamp) - extract(epoch from '2026-07-22 18:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765443 -2.647794)', '2026-07-22 18:38:40', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647794)'))) / (select extract(epoch from '2026-07-22 18:38:40'::timestamp) - extract(epoch from '2026-07-22 18:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647794)'))) / (select extract(epoch from '2026-07-22 18:38:40'::timestamp) - extract(epoch from '2026-07-22 18:38:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765444 -2.647798)', '2026-07-22 18:38:53', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765444 -2.647798)'))) / (select extract(epoch from '2026-07-22 18:38:53'::timestamp) - extract(epoch from '2026-07-22 18:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765443 -2.647794)'), GeomFromEWKT('SRID=4674;POINT (-39.765444 -2.647798)'))) / (select extract(epoch from '2026-07-22 18:38:53'::timestamp) - extract(epoch from '2026-07-22 18:38: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.765433 -2.647786)', '2026-07-22 18:39:11', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765444 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647786)'))) / (select extract(epoch from '2026-07-22 18:39:11'::timestamp) - extract(epoch from '2026-07-22 18:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765444 -2.647798)'), GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647786)'))) / (select extract(epoch from '2026-07-22 18:39:11'::timestamp) - extract(epoch from '2026-07-22 18:38: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.765447 -2.647777)', '2026-07-22 18:40:48', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.647777)'))) / (select extract(epoch from '2026-07-22 18:40:48'::timestamp) - extract(epoch from '2026-07-22 18:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765433 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.647777)'))) / (select extract(epoch from '2026-07-22 18:40:48'::timestamp) - extract(epoch from '2026-07-22 18:39: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.765446 -2.647778)', '2026-07-22 18:41:06', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647778)'))) / (select extract(epoch from '2026-07-22 18:41:06'::timestamp) - extract(epoch from '2026-07-22 18:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765447 -2.647777)'), GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647778)'))) / (select extract(epoch from '2026-07-22 18:41:06'::timestamp) - extract(epoch from '2026-07-22 18: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.765452 -2.647782)', '2026-07-22 18:41:19', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647778)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:41:19'::timestamp) - extract(epoch from '2026-07-22 18:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765446 -2.647778)'), GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:41:19'::timestamp) - extract(epoch from '2026-07-22 18:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765456 -2.647782)', '2026-07-22 18:41:27', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:41:27'::timestamp) - extract(epoch from '2026-07-22 18:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765452 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:41:27'::timestamp) - extract(epoch from '2026-07-22 18:41: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.765465 -2.647795)', '2026-07-22 18:42:19', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647795)'))) / (select extract(epoch from '2026-07-22 18:42:19'::timestamp) - extract(epoch from '2026-07-22 18:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765456 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647795)'))) / (select extract(epoch from '2026-07-22 18:42:19'::timestamp) - extract(epoch from '2026-07-22 18: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.76547 -2.647786)', '2026-07-22 18:43:41', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647786)'))) / (select extract(epoch from '2026-07-22 18:43:41'::timestamp) - extract(epoch from '2026-07-22 18:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765465 -2.647795)'), GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647786)'))) / (select extract(epoch from '2026-07-22 18:43:41'::timestamp) - extract(epoch from '2026-07-22 18:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765472 -2.647797)', '2026-07-22 18:44:09', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647797)'))) / (select extract(epoch from '2026-07-22 18:44:09'::timestamp) - extract(epoch from '2026-07-22 18:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647786)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647797)'))) / (select extract(epoch from '2026-07-22 18:44:09'::timestamp) - extract(epoch from '2026-07-22 18:43: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.765486 -2.647818)', '2026-07-22 18:45:32', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647797)'), GeomFromEWKT('SRID=4674;POINT (-39.765486 -2.647818)'))) / (select extract(epoch from '2026-07-22 18:45:32'::timestamp) - extract(epoch from '2026-07-22 18:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647797)'), GeomFromEWKT('SRID=4674;POINT (-39.765486 -2.647818)'))) / (select extract(epoch from '2026-07-22 18:45:32'::timestamp) - extract(epoch from '2026-07-22 18:44: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.765483 -2.647806)', '2026-07-22 18:46:05', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765486 -2.647818)'), GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647806)'))) / (select extract(epoch from '2026-07-22 18:46:05'::timestamp) - extract(epoch from '2026-07-22 18:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765486 -2.647818)'), GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647806)'))) / (select extract(epoch from '2026-07-22 18:46:05'::timestamp) - extract(epoch from '2026-07-22 18:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765487 -2.647803)', '2026-07-22 18:46:39', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647806)'), GeomFromEWKT('SRID=4674;POINT (-39.765487 -2.647803)'))) / (select extract(epoch from '2026-07-22 18:46:39'::timestamp) - extract(epoch from '2026-07-22 18:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765483 -2.647806)'), GeomFromEWKT('SRID=4674;POINT (-39.765487 -2.647803)'))) / (select extract(epoch from '2026-07-22 18:46:39'::timestamp) - extract(epoch from '2026-07-22 18:46:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765468 -2.647792)', '2026-07-22 18:47:50', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765487 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647792)'))) / (select extract(epoch from '2026-07-22 18:47:50'::timestamp) - extract(epoch from '2026-07-22 18:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765487 -2.647803)'), GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647792)'))) / (select extract(epoch from '2026-07-22 18:47:50'::timestamp) - extract(epoch from '2026-07-22 18:46: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.765472 -2.647802)', '2026-07-22 18:48:16', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647792)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647802)'))) / (select extract(epoch from '2026-07-22 18:48:16'::timestamp) - extract(epoch from '2026-07-22 18:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765468 -2.647792)'), GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647802)'))) / (select extract(epoch from '2026-07-22 18:48:16'::timestamp) - extract(epoch from '2026-07-22 18:47:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765458 -2.647782)', '2026-07-22 18:48:50', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:48:50'::timestamp) - extract(epoch from '2026-07-22 18:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765472 -2.647802)'), GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647782)'))) / (select extract(epoch from '2026-07-22 18:48:50'::timestamp) - extract(epoch from '2026-07-22 18:48: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.765469 -2.64777)', '2026-07-22 18:49:04', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.64777)'))) / (select extract(epoch from '2026-07-22 18:49:04'::timestamp) - extract(epoch from '2026-07-22 18:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765458 -2.647782)'), GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.64777)'))) / (select extract(epoch from '2026-07-22 18:49:04'::timestamp) - extract(epoch from '2026-07-22 18:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76547 -2.647771)', '2026-07-22 18:49:12', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.64777)'), GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647771)'))) / (select extract(epoch from '2026-07-22 18:49:12'::timestamp) - extract(epoch from '2026-07-22 18:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.64777)'), GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647771)'))) / (select extract(epoch from '2026-07-22 18:49:12'::timestamp) - extract(epoch from '2026-07-22 18:49: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.765474 -2.647776)', '2026-07-22 18:49:41', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647771)'), GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.647776)'))) / (select extract(epoch from '2026-07-22 18:49:41'::timestamp) - extract(epoch from '2026-07-22 18:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647771)'), GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.647776)'))) / (select extract(epoch from '2026-07-22 18:49:41'::timestamp) - extract(epoch from '2026-07-22 18:49: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.765474 -2.647759)', '2026-07-22 18:50:37', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.647776)'), GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.647759)'))) / (select extract(epoch from '2026-07-22 18:50:37'::timestamp) - extract(epoch from '2026-07-22 18:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.647776)'), GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.647759)'))) / (select extract(epoch from '2026-07-22 18:50:37'::timestamp) - extract(epoch from '2026-07-22 18:49: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.765469 -2.647757)', '2026-07-22 18:50:49', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.647759)'), GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647757)'))) / (select extract(epoch from '2026-07-22 18:50:49'::timestamp) - extract(epoch from '2026-07-22 18:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765474 -2.647759)'), GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647757)'))) / (select extract(epoch from '2026-07-22 18:50:49'::timestamp) - extract(epoch from '2026-07-22 18:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765481 -2.647759)', '2026-07-22 18:51:22', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647757)'), GeomFromEWKT('SRID=4674;POINT (-39.765481 -2.647759)'))) / (select extract(epoch from '2026-07-22 18:51:22'::timestamp) - extract(epoch from '2026-07-22 18:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765469 -2.647757)'), GeomFromEWKT('SRID=4674;POINT (-39.765481 -2.647759)'))) / (select extract(epoch from '2026-07-22 18:51:22'::timestamp) - extract(epoch from '2026-07-22 18:50: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.76547 -2.647751)', '2026-07-22 18:51:35', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765481 -2.647759)'), GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647751)'))) / (select extract(epoch from '2026-07-22 18:51:35'::timestamp) - extract(epoch from '2026-07-22 18:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765481 -2.647759)'), GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647751)'))) / (select extract(epoch from '2026-07-22 18:51:35'::timestamp) - extract(epoch from '2026-07-22 18:51: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.765476 -2.647752)', '2026-07-22 18:51:43', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647751)'), GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647752)'))) / (select extract(epoch from '2026-07-22 18:51:43'::timestamp) - extract(epoch from '2026-07-22 18:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76547 -2.647751)'), GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647752)'))) / (select extract(epoch from '2026-07-22 18:51:43'::timestamp) - extract(epoch from '2026-07-22 18:51: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.765488 -2.647772)', '2026-07-22 18:52:00', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647752)'), GeomFromEWKT('SRID=4674;POINT (-39.765488 -2.647772)'))) / (select extract(epoch from '2026-07-22 18:52:00'::timestamp) - extract(epoch from '2026-07-22 18:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765476 -2.647752)'), GeomFromEWKT('SRID=4674;POINT (-39.765488 -2.647772)'))) / (select extract(epoch from '2026-07-22 18:52:00'::timestamp) - extract(epoch from '2026-07-22 18:51:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76549 -2.647781)', '2026-07-22 18:52:22', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765488 -2.647772)'), GeomFromEWKT('SRID=4674;POINT (-39.76549 -2.647781)'))) / (select extract(epoch from '2026-07-22 18:52:22'::timestamp) - extract(epoch from '2026-07-22 18:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765488 -2.647772)'), GeomFromEWKT('SRID=4674;POINT (-39.76549 -2.647781)'))) / (select extract(epoch from '2026-07-22 18:52:22'::timestamp) - extract(epoch from '2026-07-22 18: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.765492 -2.647788)', '2026-07-22 18:52:35', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76549 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.765492 -2.647788)'))) / (select extract(epoch from '2026-07-22 18:52:35'::timestamp) - extract(epoch from '2026-07-22 18:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76549 -2.647781)'), GeomFromEWKT('SRID=4674;POINT (-39.765492 -2.647788)'))) / (select extract(epoch from '2026-07-22 18:52:35'::timestamp) - extract(epoch from '2026-07-22 18:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765503 -2.647806)', '2026-07-22 18:53:19', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765492 -2.647788)'), GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647806)'))) / (select extract(epoch from '2026-07-22 18:53:19'::timestamp) - extract(epoch from '2026-07-22 18:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765492 -2.647788)'), GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647806)'))) / (select extract(epoch from '2026-07-22 18:53:19'::timestamp) - extract(epoch from '2026-07-22 18: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.765514 -2.647819)', '2026-07-22 18:53:35', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647806)'), GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.647819)'))) / (select extract(epoch from '2026-07-22 18:53:35'::timestamp) - extract(epoch from '2026-07-22 18:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647806)'), GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.647819)'))) / (select extract(epoch from '2026-07-22 18:53:35'::timestamp) - extract(epoch from '2026-07-22 18:53: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.765506 -2.647811)', '2026-07-22 18:53:53', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.647819)'), GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647811)'))) / (select extract(epoch from '2026-07-22 18:53:53'::timestamp) - extract(epoch from '2026-07-22 18:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.647819)'), GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647811)'))) / (select extract(epoch from '2026-07-22 18:53:53'::timestamp) - extract(epoch from '2026-07-22 18:53: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.765504 -2.647814)', '2026-07-22 18:53:59', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647811)'), GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647814)'))) / (select extract(epoch from '2026-07-22 18:53:59'::timestamp) - extract(epoch from '2026-07-22 18:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647811)'), GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647814)'))) / (select extract(epoch from '2026-07-22 18:53:59'::timestamp) - extract(epoch from '2026-07-22 18:53: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.765503 -2.647817)', '2026-07-22 18:54:15', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647814)'), GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647817)'))) / (select extract(epoch from '2026-07-22 18:54:15'::timestamp) - extract(epoch from '2026-07-22 18:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647814)'), GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647817)'))) / (select extract(epoch from '2026-07-22 18:54:15'::timestamp) - extract(epoch from '2026-07-22 18:53: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.765491 -2.647826)', '2026-07-22 18:55:07', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647817)'), GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647826)'))) / (select extract(epoch from '2026-07-22 18:55:07'::timestamp) - extract(epoch from '2026-07-22 18:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765503 -2.647817)'), GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647826)'))) / (select extract(epoch from '2026-07-22 18:55:07'::timestamp) - extract(epoch from '2026-07-22 18:54: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.765491 -2.647826)', '2026-07-22 18:55:38', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647826)'), GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647826)'))) / (select extract(epoch from '2026-07-22 18:55:38'::timestamp) - extract(epoch from '2026-07-22 18:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647826)'), GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647826)'))) / (select extract(epoch from '2026-07-22 18:55:38'::timestamp) - extract(epoch from '2026-07-22 18:55: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.765504 -2.647816)', '2026-07-22 18:56:11', 25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647826)'), GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647816)'))) / (select extract(epoch from '2026-07-22 18:56:11'::timestamp) - extract(epoch from '2026-07-22 18:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647826)'), GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647816)'))) / (select extract(epoch from '2026-07-22 18:56:11'::timestamp) - extract(epoch from '2026-07-22 18:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765516 -2.647824)', '2026-07-22 18:56:19', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647816)'), GeomFromEWKT('SRID=4674;POINT (-39.765516 -2.647824)'))) / (select extract(epoch from '2026-07-22 18:56:19'::timestamp) - extract(epoch from '2026-07-22 18:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647816)'), GeomFromEWKT('SRID=4674;POINT (-39.765516 -2.647824)'))) / (select extract(epoch from '2026-07-22 18:56:19'::timestamp) - extract(epoch from '2026-07-22 18:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76551 -2.647804)', '2026-07-22 18:57:08', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765516 -2.647824)'), GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647804)'))) / (select extract(epoch from '2026-07-22 18:57:08'::timestamp) - extract(epoch from '2026-07-22 18:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765516 -2.647824)'), GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647804)'))) / (select extract(epoch from '2026-07-22 18:57:08'::timestamp) - extract(epoch from '2026-07-22 18:56: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.765515 -2.647818)', '2026-07-22 18:57:26', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647818)'))) / (select extract(epoch from '2026-07-22 18:57:26'::timestamp) - extract(epoch from '2026-07-22 18:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647804)'), GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647818)'))) / (select extract(epoch from '2026-07-22 18:57:26'::timestamp) - extract(epoch from '2026-07-22 18:57: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.765516 -2.647829)', '2026-07-22 18:58:06', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647818)'), GeomFromEWKT('SRID=4674;POINT (-39.765516 -2.647829)'))) / (select extract(epoch from '2026-07-22 18:58:06'::timestamp) - extract(epoch from '2026-07-22 18:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765515 -2.647818)'), GeomFromEWKT('SRID=4674;POINT (-39.765516 -2.647829)'))) / (select extract(epoch from '2026-07-22 18:58:06'::timestamp) - extract(epoch from '2026-07-22 18:57:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765509 -2.647839)', '2026-07-22 18:58:32', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765516 -2.647829)'), GeomFromEWKT('SRID=4674;POINT (-39.765509 -2.647839)'))) / (select extract(epoch from '2026-07-22 18:58:32'::timestamp) - extract(epoch from '2026-07-22 18:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765516 -2.647829)'), GeomFromEWKT('SRID=4674;POINT (-39.765509 -2.647839)'))) / (select extract(epoch from '2026-07-22 18:58:32'::timestamp) - extract(epoch from '2026-07-22 18:58: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.765505 -2.647846)', '2026-07-22 18:58:38', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765509 -2.647839)'), GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647846)'))) / (select extract(epoch from '2026-07-22 18:58:38'::timestamp) - extract(epoch from '2026-07-22 18:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765509 -2.647839)'), GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647846)'))) / (select extract(epoch from '2026-07-22 18:58:38'::timestamp) - extract(epoch from '2026-07-22 18:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.76551 -2.647833)', '2026-07-22 18:59:03', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647846)'), GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647833)'))) / (select extract(epoch from '2026-07-22 18:59:03'::timestamp) - extract(epoch from '2026-07-22 18:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765505 -2.647846)'), GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647833)'))) / (select extract(epoch from '2026-07-22 18:59:03'::timestamp) - extract(epoch from '2026-07-22 18:58: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.765506 -2.647832)', '2026-07-22 18:59:09', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647833)'), GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647832)'))) / (select extract(epoch from '2026-07-22 18:59:09'::timestamp) - extract(epoch from '2026-07-22 18:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647833)'), GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647832)'))) / (select extract(epoch from '2026-07-22 18:59:09'::timestamp) - extract(epoch from '2026-07-22 18: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.765501 -2.647823)', '2026-07-22 18:59:44', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647832)'), GeomFromEWKT('SRID=4674;POINT (-39.765501 -2.647823)'))) / (select extract(epoch from '2026-07-22 18:59:44'::timestamp) - extract(epoch from '2026-07-22 18:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765506 -2.647832)'), GeomFromEWKT('SRID=4674;POINT (-39.765501 -2.647823)'))) / (select extract(epoch from '2026-07-22 18:59:44'::timestamp) - extract(epoch from '2026-07-22 18:59: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.7655 -2.647817)', '2026-07-22 18:59:52', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765501 -2.647823)'), GeomFromEWKT('SRID=4674;POINT (-39.7655 -2.647817)'))) / (select extract(epoch from '2026-07-22 18:59:52'::timestamp) - extract(epoch from '2026-07-22 18:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765501 -2.647823)'), GeomFromEWKT('SRID=4674;POINT (-39.7655 -2.647817)'))) / (select extract(epoch from '2026-07-22 18:59:52'::timestamp) - extract(epoch from '2026-07-22 18:59: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.765504 -2.647832)', '2026-07-22 19:00:44', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7655 -2.647817)'), GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647832)'))) / (select extract(epoch from '2026-07-22 19:00:44'::timestamp) - extract(epoch from '2026-07-22 18:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7655 -2.647817)'), GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647832)'))) / (select extract(epoch from '2026-07-22 19:00:44'::timestamp) - extract(epoch from '2026-07-22 18:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765508 -2.647841)', '2026-07-22 19:01:02', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647832)'), GeomFromEWKT('SRID=4674;POINT (-39.765508 -2.647841)'))) / (select extract(epoch from '2026-07-22 19:01:02'::timestamp) - extract(epoch from '2026-07-22 19:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765504 -2.647832)'), GeomFromEWKT('SRID=4674;POINT (-39.765508 -2.647841)'))) / (select extract(epoch from '2026-07-22 19:01:02'::timestamp) - extract(epoch from '2026-07-22 19:00: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.76551 -2.647844)', '2026-07-22 19:01:42', 27.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765508 -2.647841)'), GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647844)'))) / (select extract(epoch from '2026-07-22 19:01:42'::timestamp) - extract(epoch from '2026-07-22 19:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765508 -2.647841)'), GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647844)'))) / (select extract(epoch from '2026-07-22 19:01:42'::timestamp) - extract(epoch from '2026-07-22 19:01: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.765514 -2.647879)', '2026-07-22 19:02:50', 28.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647844)'), GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.647879)'))) / (select extract(epoch from '2026-07-22 19:02:50'::timestamp) - extract(epoch from '2026-07-22 19:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.76551 -2.647844)'), GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.647879)'))) / (select extract(epoch from '2026-07-22 19:02:50'::timestamp) - extract(epoch from '2026-07-22 19:01: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.765491 -2.647875)', '2026-07-22 19:03:06', 28.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.647879)'), GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647875)'))) / (select extract(epoch from '2026-07-22 19:03:06'::timestamp) - extract(epoch from '2026-07-22 19:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765514 -2.647879)'), GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647875)'))) / (select extract(epoch from '2026-07-22 19:03:06'::timestamp) - extract(epoch from '2026-07-22 19:02:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.765484 -2.647856)', '2026-07-22 19:04:21', 29, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647875)'), GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647856)'))) / (select extract(epoch from '2026-07-22 19:04:21'::timestamp) - extract(epoch from '2026-07-22 19:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765491 -2.647875)'), GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647856)'))) / (select extract(epoch from '2026-07-22 19:04:21'::timestamp) - extract(epoch from '2026-07-22 19:03: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.765482 -2.647859)', '2026-07-22 19:04:56', 29.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647856)'), GeomFromEWKT('SRID=4674;POINT (-39.765482 -2.647859)'))) / (select extract(epoch from '2026-07-22 19:04:56'::timestamp) - extract(epoch from '2026-07-22 19:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.765484 -2.647856)'), GeomFromEWKT('SRID=4674;POINT (-39.765482 -2.647859)'))) / (select extract(epoch from '2026-07-22 19:04:56'::timestamp) - extract(epoch from '2026-07-22 19:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
