BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.383176 -3.181932)', '2026-08-04 05:17:45', 9, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.383312 -3.181873)', '2026-08-04 05:17:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383176 -3.181932)'), GeomFromEWKT('SRID=4674;POINT (-39.383312 -3.181873)'))) / (select extract(epoch from '2026-08-04 05:17:54'::timestamp) - extract(epoch from '2026-08-04 05:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383176 -3.181932)'), GeomFromEWKT('SRID=4674;POINT (-39.383312 -3.181873)'))) / (select extract(epoch from '2026-08-04 05:17:54'::timestamp) - extract(epoch from '2026-08-04 05:17: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'), 48166, 'SRID=4674;POINT (-39.383439 -3.181783)', '2026-08-04 05:18:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383312 -3.181873)'), GeomFromEWKT('SRID=4674;POINT (-39.383439 -3.181783)'))) / (select extract(epoch from '2026-08-04 05:18:03'::timestamp) - extract(epoch from '2026-08-04 05:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383312 -3.181873)'), GeomFromEWKT('SRID=4674;POINT (-39.383439 -3.181783)'))) / (select extract(epoch from '2026-08-04 05:18:03'::timestamp) - extract(epoch from '2026-08-04 05:17: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'), 48166, 'SRID=4674;POINT (-39.38353 -3.181651)', '2026-08-04 05:18:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383439 -3.181783)'), GeomFromEWKT('SRID=4674;POINT (-39.38353 -3.181651)'))) / (select extract(epoch from '2026-08-04 05:18:12'::timestamp) - extract(epoch from '2026-08-04 05:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383439 -3.181783)'), GeomFromEWKT('SRID=4674;POINT (-39.38353 -3.181651)'))) / (select extract(epoch from '2026-08-04 05:18:12'::timestamp) - extract(epoch from '2026-08-04 05:18: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'), 48166, 'SRID=4674;POINT (-39.383591 -3.181513)', '2026-08-04 05:18:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38353 -3.181651)'), GeomFromEWKT('SRID=4674;POINT (-39.383591 -3.181513)'))) / (select extract(epoch from '2026-08-04 05:18:20'::timestamp) - extract(epoch from '2026-08-04 05:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38353 -3.181651)'), GeomFromEWKT('SRID=4674;POINT (-39.383591 -3.181513)'))) / (select extract(epoch from '2026-08-04 05:18:20'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.383645 -3.181373)', '2026-08-04 05:18:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383591 -3.181513)'), GeomFromEWKT('SRID=4674;POINT (-39.383645 -3.181373)'))) / (select extract(epoch from '2026-08-04 05:18:28'::timestamp) - extract(epoch from '2026-08-04 05:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383591 -3.181513)'), GeomFromEWKT('SRID=4674;POINT (-39.383645 -3.181373)'))) / (select extract(epoch from '2026-08-04 05:18:28'::timestamp) - extract(epoch from '2026-08-04 05:18:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3837 -3.181178)', '2026-08-04 05:18:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383645 -3.181373)'), GeomFromEWKT('SRID=4674;POINT (-39.3837 -3.181178)'))) / (select extract(epoch from '2026-08-04 05:18:39'::timestamp) - extract(epoch from '2026-08-04 05:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383645 -3.181373)'), GeomFromEWKT('SRID=4674;POINT (-39.3837 -3.181178)'))) / (select extract(epoch from '2026-08-04 05:18:39'::timestamp) - extract(epoch from '2026-08-04 05:18: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'), 48166, 'SRID=4674;POINT (-39.383717 -3.181047)', '2026-08-04 05:18:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3837 -3.181178)'), GeomFromEWKT('SRID=4674;POINT (-39.383717 -3.181047)'))) / (select extract(epoch from '2026-08-04 05:18:46'::timestamp) - extract(epoch from '2026-08-04 05:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3837 -3.181178)'), GeomFromEWKT('SRID=4674;POINT (-39.383717 -3.181047)'))) / (select extract(epoch from '2026-08-04 05:18:46'::timestamp) - extract(epoch from '2026-08-04 05:18: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'), 48166, 'SRID=4674;POINT (-39.383722 -3.180943)', '2026-08-04 05:18:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383717 -3.181047)'), GeomFromEWKT('SRID=4674;POINT (-39.383722 -3.180943)'))) / (select extract(epoch from '2026-08-04 05:18:52'::timestamp) - extract(epoch from '2026-08-04 05:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383717 -3.181047)'), GeomFromEWKT('SRID=4674;POINT (-39.383722 -3.180943)'))) / (select extract(epoch from '2026-08-04 05:18:52'::timestamp) - extract(epoch from '2026-08-04 05:18: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'), 48166, 'SRID=4674;POINT (-39.383712 -3.180789)', '2026-08-04 05:19:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383722 -3.180943)'), GeomFromEWKT('SRID=4674;POINT (-39.383712 -3.180789)'))) / (select extract(epoch from '2026-08-04 05:19:00'::timestamp) - extract(epoch from '2026-08-04 05:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383722 -3.180943)'), GeomFromEWKT('SRID=4674;POINT (-39.383712 -3.180789)'))) / (select extract(epoch from '2026-08-04 05:19:00'::timestamp) - extract(epoch from '2026-08-04 05:18: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'), 48166, 'SRID=4674;POINT (-39.383713 -3.180639)', '2026-08-04 05:19:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383712 -3.180789)'), GeomFromEWKT('SRID=4674;POINT (-39.383713 -3.180639)'))) / (select extract(epoch from '2026-08-04 05:19:08'::timestamp) - extract(epoch from '2026-08-04 05:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383712 -3.180789)'), GeomFromEWKT('SRID=4674;POINT (-39.383713 -3.180639)'))) / (select extract(epoch from '2026-08-04 05:19:08'::timestamp) - extract(epoch from '2026-08-04 05:19: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'), 48166, 'SRID=4674;POINT (-39.383713 -3.180486)', '2026-08-04 05:19:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383713 -3.180639)'), GeomFromEWKT('SRID=4674;POINT (-39.383713 -3.180486)'))) / (select extract(epoch from '2026-08-04 05:19:17'::timestamp) - extract(epoch from '2026-08-04 05:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383713 -3.180639)'), GeomFromEWKT('SRID=4674;POINT (-39.383713 -3.180486)'))) / (select extract(epoch from '2026-08-04 05:19:17'::timestamp) - extract(epoch from '2026-08-04 05:19: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'), 48166, 'SRID=4674;POINT (-39.383688 -3.180305)', '2026-08-04 05:19:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383713 -3.180486)'), GeomFromEWKT('SRID=4674;POINT (-39.383688 -3.180305)'))) / (select extract(epoch from '2026-08-04 05:19:27'::timestamp) - extract(epoch from '2026-08-04 05:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383713 -3.180486)'), GeomFromEWKT('SRID=4674;POINT (-39.383688 -3.180305)'))) / (select extract(epoch from '2026-08-04 05:19:27'::timestamp) - extract(epoch from '2026-08-04 05:19: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'), 48166, 'SRID=4674;POINT (-39.383629 -3.180161)', '2026-08-04 05:19:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383688 -3.180305)'), GeomFromEWKT('SRID=4674;POINT (-39.383629 -3.180161)'))) / (select extract(epoch from '2026-08-04 05:19:36'::timestamp) - extract(epoch from '2026-08-04 05:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383688 -3.180305)'), GeomFromEWKT('SRID=4674;POINT (-39.383629 -3.180161)'))) / (select extract(epoch from '2026-08-04 05:19:36'::timestamp) - extract(epoch from '2026-08-04 05:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.383572 -3.180046)', '2026-08-04 05:19:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383629 -3.180161)'), GeomFromEWKT('SRID=4674;POINT (-39.383572 -3.180046)'))) / (select extract(epoch from '2026-08-04 05:19:43'::timestamp) - extract(epoch from '2026-08-04 05:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383629 -3.180161)'), GeomFromEWKT('SRID=4674;POINT (-39.383572 -3.180046)'))) / (select extract(epoch from '2026-08-04 05:19:43'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.38349 -3.179898)', '2026-08-04 05:19:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383572 -3.180046)'), GeomFromEWKT('SRID=4674;POINT (-39.38349 -3.179898)'))) / (select extract(epoch from '2026-08-04 05:19:52'::timestamp) - extract(epoch from '2026-08-04 05:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383572 -3.180046)'), GeomFromEWKT('SRID=4674;POINT (-39.38349 -3.179898)'))) / (select extract(epoch from '2026-08-04 05:19:52'::timestamp) - extract(epoch from '2026-08-04 05:19:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.383363 -3.179737)', '2026-08-04 05:20:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38349 -3.179898)'), GeomFromEWKT('SRID=4674;POINT (-39.383363 -3.179737)'))) / (select extract(epoch from '2026-08-04 05:20:03'::timestamp) - extract(epoch from '2026-08-04 05:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38349 -3.179898)'), GeomFromEWKT('SRID=4674;POINT (-39.383363 -3.179737)'))) / (select extract(epoch from '2026-08-04 05:20:03'::timestamp) - extract(epoch from '2026-08-04 05:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.383258 -3.179618)', '2026-08-04 05:20:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383363 -3.179737)'), GeomFromEWKT('SRID=4674;POINT (-39.383258 -3.179618)'))) / (select extract(epoch from '2026-08-04 05:20:12'::timestamp) - extract(epoch from '2026-08-04 05:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383363 -3.179737)'), GeomFromEWKT('SRID=4674;POINT (-39.383258 -3.179618)'))) / (select extract(epoch from '2026-08-04 05:20:12'::timestamp) - extract(epoch from '2026-08-04 05:20: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'), 48166, 'SRID=4674;POINT (-39.383157 -3.179451)', '2026-08-04 05:20:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383258 -3.179618)'), GeomFromEWKT('SRID=4674;POINT (-39.383157 -3.179451)'))) / (select extract(epoch from '2026-08-04 05:20:22'::timestamp) - extract(epoch from '2026-08-04 05:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383258 -3.179618)'), GeomFromEWKT('SRID=4674;POINT (-39.383157 -3.179451)'))) / (select extract(epoch from '2026-08-04 05:20:22'::timestamp) - extract(epoch from '2026-08-04 05:20: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'), 48166, 'SRID=4674;POINT (-39.383064 -3.179295)', '2026-08-04 05:20:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383157 -3.179451)'), GeomFromEWKT('SRID=4674;POINT (-39.383064 -3.179295)'))) / (select extract(epoch from '2026-08-04 05:20:31'::timestamp) - extract(epoch from '2026-08-04 05:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383157 -3.179451)'), GeomFromEWKT('SRID=4674;POINT (-39.383064 -3.179295)'))) / (select extract(epoch from '2026-08-04 05:20:31'::timestamp) - extract(epoch from '2026-08-04 05:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.38295 -3.179157)', '2026-08-04 05:20:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383064 -3.179295)'), GeomFromEWKT('SRID=4674;POINT (-39.38295 -3.179157)'))) / (select extract(epoch from '2026-08-04 05:20:40'::timestamp) - extract(epoch from '2026-08-04 05:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.383064 -3.179295)'), GeomFromEWKT('SRID=4674;POINT (-39.38295 -3.179157)'))) / (select extract(epoch from '2026-08-04 05:20:40'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.382842 -3.179044)', '2026-08-04 05:20:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38295 -3.179157)'), GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.179044)'))) / (select extract(epoch from '2026-08-04 05:20:48'::timestamp) - extract(epoch from '2026-08-04 05:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38295 -3.179157)'), GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.179044)'))) / (select extract(epoch from '2026-08-04 05:20:48'::timestamp) - extract(epoch from '2026-08-04 05:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382731 -3.17893)', '2026-08-04 05:20:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.179044)'), GeomFromEWKT('SRID=4674;POINT (-39.382731 -3.17893)'))) / (select extract(epoch from '2026-08-04 05:20:56'::timestamp) - extract(epoch from '2026-08-04 05:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382842 -3.179044)'), GeomFromEWKT('SRID=4674;POINT (-39.382731 -3.17893)'))) / (select extract(epoch from '2026-08-04 05:20:56'::timestamp) - extract(epoch from '2026-08-04 05:20:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382595 -3.178787)', '2026-08-04 05:21:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382731 -3.17893)'), GeomFromEWKT('SRID=4674;POINT (-39.382595 -3.178787)'))) / (select extract(epoch from '2026-08-04 05:21:06'::timestamp) - extract(epoch from '2026-08-04 05:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382731 -3.17893)'), GeomFromEWKT('SRID=4674;POINT (-39.382595 -3.178787)'))) / (select extract(epoch from '2026-08-04 05:21:06'::timestamp) - extract(epoch from '2026-08-04 05:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382514 -3.17868)', '2026-08-04 05:21:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382595 -3.178787)'), GeomFromEWKT('SRID=4674;POINT (-39.382514 -3.17868)'))) / (select extract(epoch from '2026-08-04 05:21:14'::timestamp) - extract(epoch from '2026-08-04 05:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382595 -3.178787)'), GeomFromEWKT('SRID=4674;POINT (-39.382514 -3.17868)'))) / (select extract(epoch from '2026-08-04 05:21:14'::timestamp) - extract(epoch from '2026-08-04 05:21:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382436 -3.178574)', '2026-08-04 05:21:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382514 -3.17868)'), GeomFromEWKT('SRID=4674;POINT (-39.382436 -3.178574)'))) / (select extract(epoch from '2026-08-04 05:21:21'::timestamp) - extract(epoch from '2026-08-04 05:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382514 -3.17868)'), GeomFromEWKT('SRID=4674;POINT (-39.382436 -3.178574)'))) / (select extract(epoch from '2026-08-04 05:21:21'::timestamp) - extract(epoch from '2026-08-04 05:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382337 -3.178452)', '2026-08-04 05:21:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382436 -3.178574)'), GeomFromEWKT('SRID=4674;POINT (-39.382337 -3.178452)'))) / (select extract(epoch from '2026-08-04 05:21:29'::timestamp) - extract(epoch from '2026-08-04 05:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382436 -3.178574)'), GeomFromEWKT('SRID=4674;POINT (-39.382337 -3.178452)'))) / (select extract(epoch from '2026-08-04 05:21:29'::timestamp) - extract(epoch from '2026-08-04 05:21:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382233 -3.17832)', '2026-08-04 05:21:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382337 -3.178452)'), GeomFromEWKT('SRID=4674;POINT (-39.382233 -3.17832)'))) / (select extract(epoch from '2026-08-04 05:21:38'::timestamp) - extract(epoch from '2026-08-04 05:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382337 -3.178452)'), GeomFromEWKT('SRID=4674;POINT (-39.382233 -3.17832)'))) / (select extract(epoch from '2026-08-04 05:21:38'::timestamp) - extract(epoch from '2026-08-04 05:21: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'), 48166, 'SRID=4674;POINT (-39.382144 -3.178201)', '2026-08-04 05:21:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382233 -3.17832)'), GeomFromEWKT('SRID=4674;POINT (-39.382144 -3.178201)'))) / (select extract(epoch from '2026-08-04 05:21:46'::timestamp) - extract(epoch from '2026-08-04 05:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382233 -3.17832)'), GeomFromEWKT('SRID=4674;POINT (-39.382144 -3.178201)'))) / (select extract(epoch from '2026-08-04 05:21:46'::timestamp) - extract(epoch from '2026-08-04 05:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.382025 -3.178038)', '2026-08-04 05:21:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382144 -3.178201)'), GeomFromEWKT('SRID=4674;POINT (-39.382025 -3.178038)'))) / (select extract(epoch from '2026-08-04 05:21:57'::timestamp) - extract(epoch from '2026-08-04 05:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382144 -3.178201)'), GeomFromEWKT('SRID=4674;POINT (-39.382025 -3.178038)'))) / (select extract(epoch from '2026-08-04 05:21:57'::timestamp) - extract(epoch from '2026-08-04 05:21:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381899 -3.177886)', '2026-08-04 05:22:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382025 -3.178038)'), GeomFromEWKT('SRID=4674;POINT (-39.381899 -3.177886)'))) / (select extract(epoch from '2026-08-04 05:22:07'::timestamp) - extract(epoch from '2026-08-04 05:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.382025 -3.178038)'), GeomFromEWKT('SRID=4674;POINT (-39.381899 -3.177886)'))) / (select extract(epoch from '2026-08-04 05:22:07'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.381779 -3.177728)', '2026-08-04 05:22:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381899 -3.177886)'), GeomFromEWKT('SRID=4674;POINT (-39.381779 -3.177728)'))) / (select extract(epoch from '2026-08-04 05:22:17'::timestamp) - extract(epoch from '2026-08-04 05:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381899 -3.177886)'), GeomFromEWKT('SRID=4674;POINT (-39.381779 -3.177728)'))) / (select extract(epoch from '2026-08-04 05:22:17'::timestamp) - extract(epoch from '2026-08-04 05:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381635 -3.177565)', '2026-08-04 05:22:27', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381779 -3.177728)'), GeomFromEWKT('SRID=4674;POINT (-39.381635 -3.177565)'))) / (select extract(epoch from '2026-08-04 05:22:27'::timestamp) - extract(epoch from '2026-08-04 05:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381779 -3.177728)'), GeomFromEWKT('SRID=4674;POINT (-39.381635 -3.177565)'))) / (select extract(epoch from '2026-08-04 05:22:27'::timestamp) - extract(epoch from '2026-08-04 05:22:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.381495 -3.177431)', '2026-08-04 05:22:36', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381635 -3.177565)'), GeomFromEWKT('SRID=4674;POINT (-39.381495 -3.177431)'))) / (select extract(epoch from '2026-08-04 05:22:36'::timestamp) - extract(epoch from '2026-08-04 05:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381635 -3.177565)'), GeomFromEWKT('SRID=4674;POINT (-39.381495 -3.177431)'))) / (select extract(epoch from '2026-08-04 05:22:36'::timestamp) - extract(epoch from '2026-08-04 05:22: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'), 48166, 'SRID=4674;POINT (-39.381359 -3.177299)', '2026-08-04 05:22:45', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381495 -3.177431)'), GeomFromEWKT('SRID=4674;POINT (-39.381359 -3.177299)'))) / (select extract(epoch from '2026-08-04 05:22:45'::timestamp) - extract(epoch from '2026-08-04 05:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381495 -3.177431)'), GeomFromEWKT('SRID=4674;POINT (-39.381359 -3.177299)'))) / (select extract(epoch from '2026-08-04 05:22:45'::timestamp) - extract(epoch from '2026-08-04 05:22: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'), 48166, 'SRID=4674;POINT (-39.381266 -3.1772)', '2026-08-04 05:22:52', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381359 -3.177299)'), GeomFromEWKT('SRID=4674;POINT (-39.381266 -3.1772)'))) / (select extract(epoch from '2026-08-04 05:22:52'::timestamp) - extract(epoch from '2026-08-04 05:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381359 -3.177299)'), GeomFromEWKT('SRID=4674;POINT (-39.381266 -3.1772)'))) / (select extract(epoch from '2026-08-04 05:22:52'::timestamp) - extract(epoch from '2026-08-04 05:22: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'), 48166, 'SRID=4674;POINT (-39.381124 -3.17705)', '2026-08-04 05:23:02', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381266 -3.1772)'), GeomFromEWKT('SRID=4674;POINT (-39.381124 -3.17705)'))) / (select extract(epoch from '2026-08-04 05:23:02'::timestamp) - extract(epoch from '2026-08-04 05:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381266 -3.1772)'), GeomFromEWKT('SRID=4674;POINT (-39.381124 -3.17705)'))) / (select extract(epoch from '2026-08-04 05:23:02'::timestamp) - extract(epoch from '2026-08-04 05:22: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'), 48166, 'SRID=4674;POINT (-39.381008 -3.176934)', '2026-08-04 05:23:10', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381124 -3.17705)'), GeomFromEWKT('SRID=4674;POINT (-39.381008 -3.176934)'))) / (select extract(epoch from '2026-08-04 05:23:10'::timestamp) - extract(epoch from '2026-08-04 05:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381124 -3.17705)'), GeomFromEWKT('SRID=4674;POINT (-39.381008 -3.176934)'))) / (select extract(epoch from '2026-08-04 05:23:10'::timestamp) - extract(epoch from '2026-08-04 05:23: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'), 48166, 'SRID=4674;POINT (-39.380873 -3.176786)', '2026-08-04 05:23:20', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381008 -3.176934)'), GeomFromEWKT('SRID=4674;POINT (-39.380873 -3.176786)'))) / (select extract(epoch from '2026-08-04 05:23:20'::timestamp) - extract(epoch from '2026-08-04 05:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.381008 -3.176934)'), GeomFromEWKT('SRID=4674;POINT (-39.380873 -3.176786)'))) / (select extract(epoch from '2026-08-04 05:23:20'::timestamp) - extract(epoch from '2026-08-04 05:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380779 -3.17668)', '2026-08-04 05:23:27', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380873 -3.176786)'), GeomFromEWKT('SRID=4674;POINT (-39.380779 -3.17668)'))) / (select extract(epoch from '2026-08-04 05:23:27'::timestamp) - extract(epoch from '2026-08-04 05:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380873 -3.176786)'), GeomFromEWKT('SRID=4674;POINT (-39.380779 -3.17668)'))) / (select extract(epoch from '2026-08-04 05:23:27'::timestamp) - extract(epoch from '2026-08-04 05:23: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'), 48166, 'SRID=4674;POINT (-39.380643 -3.176518)', '2026-08-04 05:23:37', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380779 -3.17668)'), GeomFromEWKT('SRID=4674;POINT (-39.380643 -3.176518)'))) / (select extract(epoch from '2026-08-04 05:23:37'::timestamp) - extract(epoch from '2026-08-04 05:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380779 -3.17668)'), GeomFromEWKT('SRID=4674;POINT (-39.380643 -3.176518)'))) / (select extract(epoch from '2026-08-04 05:23:37'::timestamp) - extract(epoch from '2026-08-04 05:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.380503 -3.176361)', '2026-08-04 05:23:47', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380643 -3.176518)'), GeomFromEWKT('SRID=4674;POINT (-39.380503 -3.176361)'))) / (select extract(epoch from '2026-08-04 05:23:47'::timestamp) - extract(epoch from '2026-08-04 05:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380643 -3.176518)'), GeomFromEWKT('SRID=4674;POINT (-39.380503 -3.176361)'))) / (select extract(epoch from '2026-08-04 05:23:47'::timestamp) - extract(epoch from '2026-08-04 05:23: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'), 48166, 'SRID=4674;POINT (-39.380386 -3.176215)', '2026-08-04 05:23:56', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380503 -3.176361)'), GeomFromEWKT('SRID=4674;POINT (-39.380386 -3.176215)'))) / (select extract(epoch from '2026-08-04 05:23:56'::timestamp) - extract(epoch from '2026-08-04 05:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380503 -3.176361)'), GeomFromEWKT('SRID=4674;POINT (-39.380386 -3.176215)'))) / (select extract(epoch from '2026-08-04 05:23:56'::timestamp) - extract(epoch from '2026-08-04 05:23: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'), 48166, 'SRID=4674;POINT (-39.380256 -3.176074)', '2026-08-04 05:24:05', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380386 -3.176215)'), GeomFromEWKT('SRID=4674;POINT (-39.380256 -3.176074)'))) / (select extract(epoch from '2026-08-04 05:24:05'::timestamp) - extract(epoch from '2026-08-04 05:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380386 -3.176215)'), GeomFromEWKT('SRID=4674;POINT (-39.380256 -3.176074)'))) / (select extract(epoch from '2026-08-04 05:24:05'::timestamp) - extract(epoch from '2026-08-04 05:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.38013 -3.175953)', '2026-08-04 05:24:13', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380256 -3.176074)'), GeomFromEWKT('SRID=4674;POINT (-39.38013 -3.175953)'))) / (select extract(epoch from '2026-08-04 05:24:13'::timestamp) - extract(epoch from '2026-08-04 05:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.380256 -3.176074)'), GeomFromEWKT('SRID=4674;POINT (-39.38013 -3.175953)'))) / (select extract(epoch from '2026-08-04 05:24:13'::timestamp) - extract(epoch from '2026-08-04 05:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.379994 -3.17582)', '2026-08-04 05:24:22', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38013 -3.175953)'), GeomFromEWKT('SRID=4674;POINT (-39.379994 -3.17582)'))) / (select extract(epoch from '2026-08-04 05:24:22'::timestamp) - extract(epoch from '2026-08-04 05:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.38013 -3.175953)'), GeomFromEWKT('SRID=4674;POINT (-39.379994 -3.17582)'))) / (select extract(epoch from '2026-08-04 05:24:22'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.379848 -3.175681)', '2026-08-04 05:24:32', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379994 -3.17582)'), GeomFromEWKT('SRID=4674;POINT (-39.379848 -3.175681)'))) / (select extract(epoch from '2026-08-04 05:24:32'::timestamp) - extract(epoch from '2026-08-04 05:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379994 -3.17582)'), GeomFromEWKT('SRID=4674;POINT (-39.379848 -3.175681)'))) / (select extract(epoch from '2026-08-04 05:24:32'::timestamp) - extract(epoch from '2026-08-04 05:24: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'), 48166, 'SRID=4674;POINT (-39.379689 -3.175537)', '2026-08-04 05:24:42', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379848 -3.175681)'), GeomFromEWKT('SRID=4674;POINT (-39.379689 -3.175537)'))) / (select extract(epoch from '2026-08-04 05:24:42'::timestamp) - extract(epoch from '2026-08-04 05:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379848 -3.175681)'), GeomFromEWKT('SRID=4674;POINT (-39.379689 -3.175537)'))) / (select extract(epoch from '2026-08-04 05:24:42'::timestamp) - extract(epoch from '2026-08-04 05:24: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'), 48166, 'SRID=4674;POINT (-39.379539 -3.175395)', '2026-08-04 05:24:52', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379689 -3.175537)'), GeomFromEWKT('SRID=4674;POINT (-39.379539 -3.175395)'))) / (select extract(epoch from '2026-08-04 05:24:52'::timestamp) - extract(epoch from '2026-08-04 05:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379689 -3.175537)'), GeomFromEWKT('SRID=4674;POINT (-39.379539 -3.175395)'))) / (select extract(epoch from '2026-08-04 05:24:52'::timestamp) - extract(epoch from '2026-08-04 05:24: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'), 48166, 'SRID=4674;POINT (-39.379404 -3.175263)', '2026-08-04 05:25:01', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379539 -3.175395)'), GeomFromEWKT('SRID=4674;POINT (-39.379404 -3.175263)'))) / (select extract(epoch from '2026-08-04 05:25:01'::timestamp) - extract(epoch from '2026-08-04 05:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379539 -3.175395)'), GeomFromEWKT('SRID=4674;POINT (-39.379404 -3.175263)'))) / (select extract(epoch from '2026-08-04 05:25:01'::timestamp) - extract(epoch from '2026-08-04 05:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.37923 -3.175105)', '2026-08-04 05:25:12', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379404 -3.175263)'), GeomFromEWKT('SRID=4674;POINT (-39.37923 -3.175105)'))) / (select extract(epoch from '2026-08-04 05:25:12'::timestamp) - extract(epoch from '2026-08-04 05:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379404 -3.175263)'), GeomFromEWKT('SRID=4674;POINT (-39.37923 -3.175105)'))) / (select extract(epoch from '2026-08-04 05:25:12'::timestamp) - extract(epoch from '2026-08-04 05:25: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'), 48166, 'SRID=4674;POINT (-39.379086 -3.174973)', '2026-08-04 05:25:21', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37923 -3.175105)'), GeomFromEWKT('SRID=4674;POINT (-39.379086 -3.174973)'))) / (select extract(epoch from '2026-08-04 05:25:21'::timestamp) - extract(epoch from '2026-08-04 05:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37923 -3.175105)'), GeomFromEWKT('SRID=4674;POINT (-39.379086 -3.174973)'))) / (select extract(epoch from '2026-08-04 05:25:21'::timestamp) - extract(epoch from '2026-08-04 05:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378908 -3.174821)', '2026-08-04 05:25:32', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379086 -3.174973)'), GeomFromEWKT('SRID=4674;POINT (-39.378908 -3.174821)'))) / (select extract(epoch from '2026-08-04 05:25:32'::timestamp) - extract(epoch from '2026-08-04 05:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.379086 -3.174973)'), GeomFromEWKT('SRID=4674;POINT (-39.378908 -3.174821)'))) / (select extract(epoch from '2026-08-04 05:25:32'::timestamp) - extract(epoch from '2026-08-04 05:25: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'), 48166, 'SRID=4674;POINT (-39.378763 -3.174705)', '2026-08-04 05:25:41', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378908 -3.174821)'), GeomFromEWKT('SRID=4674;POINT (-39.378763 -3.174705)'))) / (select extract(epoch from '2026-08-04 05:25:41'::timestamp) - extract(epoch from '2026-08-04 05:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378908 -3.174821)'), GeomFromEWKT('SRID=4674;POINT (-39.378763 -3.174705)'))) / (select extract(epoch from '2026-08-04 05:25:41'::timestamp) - extract(epoch from '2026-08-04 05:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378658 -3.174612)', '2026-08-04 05:25:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378763 -3.174705)'), GeomFromEWKT('SRID=4674;POINT (-39.378658 -3.174612)'))) / (select extract(epoch from '2026-08-04 05:25:48'::timestamp) - extract(epoch from '2026-08-04 05:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378763 -3.174705)'), GeomFromEWKT('SRID=4674;POINT (-39.378658 -3.174612)'))) / (select extract(epoch from '2026-08-04 05:25:48'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.378496 -3.174478)', '2026-08-04 05:25:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378658 -3.174612)'), GeomFromEWKT('SRID=4674;POINT (-39.378496 -3.174478)'))) / (select extract(epoch from '2026-08-04 05:25:58'::timestamp) - extract(epoch from '2026-08-04 05:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378658 -3.174612)'), GeomFromEWKT('SRID=4674;POINT (-39.378496 -3.174478)'))) / (select extract(epoch from '2026-08-04 05:25:58'::timestamp) - extract(epoch from '2026-08-04 05:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.378379 -3.174383)', '2026-08-04 05:26:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378496 -3.174478)'), GeomFromEWKT('SRID=4674;POINT (-39.378379 -3.174383)'))) / (select extract(epoch from '2026-08-04 05:26:05'::timestamp) - extract(epoch from '2026-08-04 05:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378496 -3.174478)'), GeomFromEWKT('SRID=4674;POINT (-39.378379 -3.174383)'))) / (select extract(epoch from '2026-08-04 05:26:05'::timestamp) - extract(epoch from '2026-08-04 05:25: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'), 48166, 'SRID=4674;POINT (-39.378212 -3.174229)', '2026-08-04 05:26:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378379 -3.174383)'), GeomFromEWKT('SRID=4674;POINT (-39.378212 -3.174229)'))) / (select extract(epoch from '2026-08-04 05:26:16'::timestamp) - extract(epoch from '2026-08-04 05:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378379 -3.174383)'), GeomFromEWKT('SRID=4674;POINT (-39.378212 -3.174229)'))) / (select extract(epoch from '2026-08-04 05:26:16'::timestamp) - extract(epoch from '2026-08-04 05:26: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'), 48166, 'SRID=4674;POINT (-39.378059 -3.174086)', '2026-08-04 05:26:26', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378212 -3.174229)'), GeomFromEWKT('SRID=4674;POINT (-39.378059 -3.174086)'))) / (select extract(epoch from '2026-08-04 05:26:26'::timestamp) - extract(epoch from '2026-08-04 05:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378212 -3.174229)'), GeomFromEWKT('SRID=4674;POINT (-39.378059 -3.174086)'))) / (select extract(epoch from '2026-08-04 05:26:26'::timestamp) - extract(epoch from '2026-08-04 05:26: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'), 48166, 'SRID=4674;POINT (-39.377927 -3.17398)', '2026-08-04 05:26:34', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378059 -3.174086)'), GeomFromEWKT('SRID=4674;POINT (-39.377927 -3.17398)'))) / (select extract(epoch from '2026-08-04 05:26:34'::timestamp) - extract(epoch from '2026-08-04 05:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.378059 -3.174086)'), GeomFromEWKT('SRID=4674;POINT (-39.377927 -3.17398)'))) / (select extract(epoch from '2026-08-04 05:26:34'::timestamp) - extract(epoch from '2026-08-04 05:26: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'), 48166, 'SRID=4674;POINT (-39.3778 -3.173871)', '2026-08-04 05:26:42', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377927 -3.17398)'), GeomFromEWKT('SRID=4674;POINT (-39.3778 -3.173871)'))) / (select extract(epoch from '2026-08-04 05:26:42'::timestamp) - extract(epoch from '2026-08-04 05:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377927 -3.17398)'), GeomFromEWKT('SRID=4674;POINT (-39.3778 -3.173871)'))) / (select extract(epoch from '2026-08-04 05:26:42'::timestamp) - extract(epoch from '2026-08-04 05:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377645 -3.173728)', '2026-08-04 05:26:52', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3778 -3.173871)'), GeomFromEWKT('SRID=4674;POINT (-39.377645 -3.173728)'))) / (select extract(epoch from '2026-08-04 05:26:52'::timestamp) - extract(epoch from '2026-08-04 05:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3778 -3.173871)'), GeomFromEWKT('SRID=4674;POINT (-39.377645 -3.173728)'))) / (select extract(epoch from '2026-08-04 05:26:52'::timestamp) - extract(epoch from '2026-08-04 05:26: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'), 48166, 'SRID=4674;POINT (-39.377492 -3.173566)', '2026-08-04 05:27:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377645 -3.173728)'), GeomFromEWKT('SRID=4674;POINT (-39.377492 -3.173566)'))) / (select extract(epoch from '2026-08-04 05:27:03'::timestamp) - extract(epoch from '2026-08-04 05:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377645 -3.173728)'), GeomFromEWKT('SRID=4674;POINT (-39.377492 -3.173566)'))) / (select extract(epoch from '2026-08-04 05:27:03'::timestamp) - extract(epoch from '2026-08-04 05:26: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'), 48166, 'SRID=4674;POINT (-39.377387 -3.173469)', '2026-08-04 05:27:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377492 -3.173566)'), GeomFromEWKT('SRID=4674;POINT (-39.377387 -3.173469)'))) / (select extract(epoch from '2026-08-04 05:27:10'::timestamp) - extract(epoch from '2026-08-04 05:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377492 -3.173566)'), GeomFromEWKT('SRID=4674;POINT (-39.377387 -3.173469)'))) / (select extract(epoch from '2026-08-04 05:27:10'::timestamp) - extract(epoch from '2026-08-04 05:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377272 -3.173354)', '2026-08-04 05:27:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377387 -3.173469)'), GeomFromEWKT('SRID=4674;POINT (-39.377272 -3.173354)'))) / (select extract(epoch from '2026-08-04 05:27:18'::timestamp) - extract(epoch from '2026-08-04 05:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377387 -3.173469)'), GeomFromEWKT('SRID=4674;POINT (-39.377272 -3.173354)'))) / (select extract(epoch from '2026-08-04 05:27:18'::timestamp) - extract(epoch from '2026-08-04 05:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.377147 -3.173235)', '2026-08-04 05:27:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377272 -3.173354)'), GeomFromEWKT('SRID=4674;POINT (-39.377147 -3.173235)'))) / (select extract(epoch from '2026-08-04 05:27:26'::timestamp) - extract(epoch from '2026-08-04 05:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377272 -3.173354)'), GeomFromEWKT('SRID=4674;POINT (-39.377147 -3.173235)'))) / (select extract(epoch from '2026-08-04 05:27:26'::timestamp) - extract(epoch from '2026-08-04 05:27:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376974 -3.173075)', '2026-08-04 05:27:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377147 -3.173235)'), GeomFromEWKT('SRID=4674;POINT (-39.376974 -3.173075)'))) / (select extract(epoch from '2026-08-04 05:27:37'::timestamp) - extract(epoch from '2026-08-04 05:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.377147 -3.173235)'), GeomFromEWKT('SRID=4674;POINT (-39.376974 -3.173075)'))) / (select extract(epoch from '2026-08-04 05:27:37'::timestamp) - extract(epoch from '2026-08-04 05:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376853 -3.172965)', '2026-08-04 05:27:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376974 -3.173075)'), GeomFromEWKT('SRID=4674;POINT (-39.376853 -3.172965)'))) / (select extract(epoch from '2026-08-04 05:27:45'::timestamp) - extract(epoch from '2026-08-04 05:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376974 -3.173075)'), GeomFromEWKT('SRID=4674;POINT (-39.376853 -3.172965)'))) / (select extract(epoch from '2026-08-04 05:27:45'::timestamp) - extract(epoch from '2026-08-04 05:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3767 -3.172829)', '2026-08-04 05:27:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376853 -3.172965)'), GeomFromEWKT('SRID=4674;POINT (-39.3767 -3.172829)'))) / (select extract(epoch from '2026-08-04 05:27:55'::timestamp) - extract(epoch from '2026-08-04 05:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376853 -3.172965)'), GeomFromEWKT('SRID=4674;POINT (-39.3767 -3.172829)'))) / (select extract(epoch from '2026-08-04 05:27:55'::timestamp) - extract(epoch from '2026-08-04 05:27: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'), 48166, 'SRID=4674;POINT (-39.376579 -3.172734)', '2026-08-04 05:28:02', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3767 -3.172829)'), GeomFromEWKT('SRID=4674;POINT (-39.376579 -3.172734)'))) / (select extract(epoch from '2026-08-04 05:28:02'::timestamp) - extract(epoch from '2026-08-04 05:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3767 -3.172829)'), GeomFromEWKT('SRID=4674;POINT (-39.376579 -3.172734)'))) / (select extract(epoch from '2026-08-04 05:28:02'::timestamp) - extract(epoch from '2026-08-04 05:27:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376433 -3.172609)', '2026-08-04 05:28:11', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376579 -3.172734)'), GeomFromEWKT('SRID=4674;POINT (-39.376433 -3.172609)'))) / (select extract(epoch from '2026-08-04 05:28:11'::timestamp) - extract(epoch from '2026-08-04 05:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376579 -3.172734)'), GeomFromEWKT('SRID=4674;POINT (-39.376433 -3.172609)'))) / (select extract(epoch from '2026-08-04 05:28:11'::timestamp) - extract(epoch from '2026-08-04 05:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376281 -3.172466)', '2026-08-04 05:28:21', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376433 -3.172609)'), GeomFromEWKT('SRID=4674;POINT (-39.376281 -3.172466)'))) / (select extract(epoch from '2026-08-04 05:28:21'::timestamp) - extract(epoch from '2026-08-04 05:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376433 -3.172609)'), GeomFromEWKT('SRID=4674;POINT (-39.376281 -3.172466)'))) / (select extract(epoch from '2026-08-04 05:28:21'::timestamp) - extract(epoch from '2026-08-04 05:28: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'), 48166, 'SRID=4674;POINT (-39.376163 -3.172348)', '2026-08-04 05:28:29', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376281 -3.172466)'), GeomFromEWKT('SRID=4674;POINT (-39.376163 -3.172348)'))) / (select extract(epoch from '2026-08-04 05:28:29'::timestamp) - extract(epoch from '2026-08-04 05:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376281 -3.172466)'), GeomFromEWKT('SRID=4674;POINT (-39.376163 -3.172348)'))) / (select extract(epoch from '2026-08-04 05:28:29'::timestamp) - extract(epoch from '2026-08-04 05:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.376031 -3.172226)', '2026-08-04 05:28:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376163 -3.172348)'), GeomFromEWKT('SRID=4674;POINT (-39.376031 -3.172226)'))) / (select extract(epoch from '2026-08-04 05:28:38'::timestamp) - extract(epoch from '2026-08-04 05:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376163 -3.172348)'), GeomFromEWKT('SRID=4674;POINT (-39.376031 -3.172226)'))) / (select extract(epoch from '2026-08-04 05:28:38'::timestamp) - extract(epoch from '2026-08-04 05:28: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'), 48166, 'SRID=4674;POINT (-39.375916 -3.172117)', '2026-08-04 05:28:46', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376031 -3.172226)'), GeomFromEWKT('SRID=4674;POINT (-39.375916 -3.172117)'))) / (select extract(epoch from '2026-08-04 05:28:46'::timestamp) - extract(epoch from '2026-08-04 05:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.376031 -3.172226)'), GeomFromEWKT('SRID=4674;POINT (-39.375916 -3.172117)'))) / (select extract(epoch from '2026-08-04 05:28:46'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.375766 -3.171951)', '2026-08-04 05:28:57', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375916 -3.172117)'), GeomFromEWKT('SRID=4674;POINT (-39.375766 -3.171951)'))) / (select extract(epoch from '2026-08-04 05:28:57'::timestamp) - extract(epoch from '2026-08-04 05:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375916 -3.172117)'), GeomFromEWKT('SRID=4674;POINT (-39.375766 -3.171951)'))) / (select extract(epoch from '2026-08-04 05:28:57'::timestamp) - extract(epoch from '2026-08-04 05:28:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375654 -3.171833)', '2026-08-04 05:29:05', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375766 -3.171951)'), GeomFromEWKT('SRID=4674;POINT (-39.375654 -3.171833)'))) / (select extract(epoch from '2026-08-04 05:29:05'::timestamp) - extract(epoch from '2026-08-04 05:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375766 -3.171951)'), GeomFromEWKT('SRID=4674;POINT (-39.375654 -3.171833)'))) / (select extract(epoch from '2026-08-04 05:29:05'::timestamp) - extract(epoch from '2026-08-04 05:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375523 -3.171702)', '2026-08-04 05:29:14', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375654 -3.171833)'), GeomFromEWKT('SRID=4674;POINT (-39.375523 -3.171702)'))) / (select extract(epoch from '2026-08-04 05:29:14'::timestamp) - extract(epoch from '2026-08-04 05:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375654 -3.171833)'), GeomFromEWKT('SRID=4674;POINT (-39.375523 -3.171702)'))) / (select extract(epoch from '2026-08-04 05:29:14'::timestamp) - extract(epoch from '2026-08-04 05:29: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'), 48166, 'SRID=4674;POINT (-39.375386 -3.171565)', '2026-08-04 05:29:23', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375523 -3.171702)'), GeomFromEWKT('SRID=4674;POINT (-39.375386 -3.171565)'))) / (select extract(epoch from '2026-08-04 05:29:23'::timestamp) - extract(epoch from '2026-08-04 05:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375523 -3.171702)'), GeomFromEWKT('SRID=4674;POINT (-39.375386 -3.171565)'))) / (select extract(epoch from '2026-08-04 05:29:23'::timestamp) - extract(epoch from '2026-08-04 05:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375271 -3.171447)', '2026-08-04 05:29:31', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375386 -3.171565)'), GeomFromEWKT('SRID=4674;POINT (-39.375271 -3.171447)'))) / (select extract(epoch from '2026-08-04 05:29:31'::timestamp) - extract(epoch from '2026-08-04 05:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375386 -3.171565)'), GeomFromEWKT('SRID=4674;POINT (-39.375271 -3.171447)'))) / (select extract(epoch from '2026-08-04 05:29:31'::timestamp) - extract(epoch from '2026-08-04 05:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.375144 -3.171303)', '2026-08-04 05:29:40', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375271 -3.171447)'), GeomFromEWKT('SRID=4674;POINT (-39.375144 -3.171303)'))) / (select extract(epoch from '2026-08-04 05:29:40'::timestamp) - extract(epoch from '2026-08-04 05:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375271 -3.171447)'), GeomFromEWKT('SRID=4674;POINT (-39.375144 -3.171303)'))) / (select extract(epoch from '2026-08-04 05:29:40'::timestamp) - extract(epoch from '2026-08-04 05:29: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'), 48166, 'SRID=4674;POINT (-39.375028 -3.171171)', '2026-08-04 05:29:48', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375144 -3.171303)'), GeomFromEWKT('SRID=4674;POINT (-39.375028 -3.171171)'))) / (select extract(epoch from '2026-08-04 05:29:48'::timestamp) - extract(epoch from '2026-08-04 05:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375144 -3.171303)'), GeomFromEWKT('SRID=4674;POINT (-39.375028 -3.171171)'))) / (select extract(epoch from '2026-08-04 05:29:48'::timestamp) - extract(epoch from '2026-08-04 05:29: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'), 48166, 'SRID=4674;POINT (-39.374908 -3.171021)', '2026-08-04 05:29:57', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375028 -3.171171)'), GeomFromEWKT('SRID=4674;POINT (-39.374908 -3.171021)'))) / (select extract(epoch from '2026-08-04 05:29:57'::timestamp) - extract(epoch from '2026-08-04 05:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.375028 -3.171171)'), GeomFromEWKT('SRID=4674;POINT (-39.374908 -3.171021)'))) / (select extract(epoch from '2026-08-04 05:29:57'::timestamp) - extract(epoch from '2026-08-04 05:29: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'), 48166, 'SRID=4674;POINT (-39.374775 -3.170856)', '2026-08-04 05:30:07', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374908 -3.171021)'), GeomFromEWKT('SRID=4674;POINT (-39.374775 -3.170856)'))) / (select extract(epoch from '2026-08-04 05:30:07'::timestamp) - extract(epoch from '2026-08-04 05:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374908 -3.171021)'), GeomFromEWKT('SRID=4674;POINT (-39.374775 -3.170856)'))) / (select extract(epoch from '2026-08-04 05:30:07'::timestamp) - extract(epoch from '2026-08-04 05:29: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'), 48166, 'SRID=4674;POINT (-39.374656 -3.170712)', '2026-08-04 05:30:16', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374775 -3.170856)'), GeomFromEWKT('SRID=4674;POINT (-39.374656 -3.170712)'))) / (select extract(epoch from '2026-08-04 05:30:16'::timestamp) - extract(epoch from '2026-08-04 05:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374775 -3.170856)'), GeomFromEWKT('SRID=4674;POINT (-39.374656 -3.170712)'))) / (select extract(epoch from '2026-08-04 05:30:16'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.374525 -3.170557)', '2026-08-04 05:30:26', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374656 -3.170712)'), GeomFromEWKT('SRID=4674;POINT (-39.374525 -3.170557)'))) / (select extract(epoch from '2026-08-04 05:30:26'::timestamp) - extract(epoch from '2026-08-04 05:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374656 -3.170712)'), GeomFromEWKT('SRID=4674;POINT (-39.374525 -3.170557)'))) / (select extract(epoch from '2026-08-04 05:30:26'::timestamp) - extract(epoch from '2026-08-04 05:30: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'), 48166, 'SRID=4674;POINT (-39.374407 -3.170426)', '2026-08-04 05:30:35', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374525 -3.170557)'), GeomFromEWKT('SRID=4674;POINT (-39.374407 -3.170426)'))) / (select extract(epoch from '2026-08-04 05:30:35'::timestamp) - extract(epoch from '2026-08-04 05:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374525 -3.170557)'), GeomFromEWKT('SRID=4674;POINT (-39.374407 -3.170426)'))) / (select extract(epoch from '2026-08-04 05:30:35'::timestamp) - extract(epoch from '2026-08-04 05:30: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'), 48166, 'SRID=4674;POINT (-39.374286 -3.170294)', '2026-08-04 05:30:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374407 -3.170426)'), GeomFromEWKT('SRID=4674;POINT (-39.374286 -3.170294)'))) / (select extract(epoch from '2026-08-04 05:30:44'::timestamp) - extract(epoch from '2026-08-04 05:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374407 -3.170426)'), GeomFromEWKT('SRID=4674;POINT (-39.374286 -3.170294)'))) / (select extract(epoch from '2026-08-04 05:30:44'::timestamp) - extract(epoch from '2026-08-04 05:30: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'), 48166, 'SRID=4674;POINT (-39.374197 -3.170205)', '2026-08-04 05:30:50', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374286 -3.170294)'), GeomFromEWKT('SRID=4674;POINT (-39.374197 -3.170205)'))) / (select extract(epoch from '2026-08-04 05:30:50'::timestamp) - extract(epoch from '2026-08-04 05:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374286 -3.170294)'), GeomFromEWKT('SRID=4674;POINT (-39.374197 -3.170205)'))) / (select extract(epoch from '2026-08-04 05:30:50'::timestamp) - extract(epoch from '2026-08-04 05:30: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'), 48166, 'SRID=4674;POINT (-39.374058 -3.170053)', '2026-08-04 05:31:00', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374197 -3.170205)'), GeomFromEWKT('SRID=4674;POINT (-39.374058 -3.170053)'))) / (select extract(epoch from '2026-08-04 05:31:00'::timestamp) - extract(epoch from '2026-08-04 05:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374197 -3.170205)'), GeomFromEWKT('SRID=4674;POINT (-39.374058 -3.170053)'))) / (select extract(epoch from '2026-08-04 05:31:00'::timestamp) - extract(epoch from '2026-08-04 05:30: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'), 48166, 'SRID=4674;POINT (-39.37396 -3.169938)', '2026-08-04 05:31:07', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374058 -3.170053)'), GeomFromEWKT('SRID=4674;POINT (-39.37396 -3.169938)'))) / (select extract(epoch from '2026-08-04 05:31:07'::timestamp) - extract(epoch from '2026-08-04 05:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.374058 -3.170053)'), GeomFromEWKT('SRID=4674;POINT (-39.37396 -3.169938)'))) / (select extract(epoch from '2026-08-04 05:31:07'::timestamp) - extract(epoch from '2026-08-04 05:31:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.37384 -3.169799)', '2026-08-04 05:31:16', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37396 -3.169938)'), GeomFromEWKT('SRID=4674;POINT (-39.37384 -3.169799)'))) / (select extract(epoch from '2026-08-04 05:31:16'::timestamp) - extract(epoch from '2026-08-04 05:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37396 -3.169938)'), GeomFromEWKT('SRID=4674;POINT (-39.37384 -3.169799)'))) / (select extract(epoch from '2026-08-04 05:31:16'::timestamp) - extract(epoch from '2026-08-04 05:31: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'), 48166, 'SRID=4674;POINT (-39.373743 -3.16969)', '2026-08-04 05:31:23', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37384 -3.169799)'), GeomFromEWKT('SRID=4674;POINT (-39.373743 -3.16969)'))) / (select extract(epoch from '2026-08-04 05:31:23'::timestamp) - extract(epoch from '2026-08-04 05:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37384 -3.169799)'), GeomFromEWKT('SRID=4674;POINT (-39.373743 -3.16969)'))) / (select extract(epoch from '2026-08-04 05:31:23'::timestamp) - extract(epoch from '2026-08-04 05:31: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'), 48166, 'SRID=4674;POINT (-39.373646 -3.169574)', '2026-08-04 05:31:30', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373743 -3.16969)'), GeomFromEWKT('SRID=4674;POINT (-39.373646 -3.169574)'))) / (select extract(epoch from '2026-08-04 05:31:30'::timestamp) - extract(epoch from '2026-08-04 05:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373743 -3.16969)'), GeomFromEWKT('SRID=4674;POINT (-39.373646 -3.169574)'))) / (select extract(epoch from '2026-08-04 05:31:30'::timestamp) - extract(epoch from '2026-08-04 05:31: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'), 48166, 'SRID=4674;POINT (-39.373562 -3.169464)', '2026-08-04 05:31:37', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373646 -3.169574)'), GeomFromEWKT('SRID=4674;POINT (-39.373562 -3.169464)'))) / (select extract(epoch from '2026-08-04 05:31:37'::timestamp) - extract(epoch from '2026-08-04 05:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373646 -3.169574)'), GeomFromEWKT('SRID=4674;POINT (-39.373562 -3.169464)'))) / (select extract(epoch from '2026-08-04 05:31:37'::timestamp) - extract(epoch from '2026-08-04 05:31: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'), 48166, 'SRID=4674;POINT (-39.373405 -3.169291)', '2026-08-04 05:31:48', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373562 -3.169464)'), GeomFromEWKT('SRID=4674;POINT (-39.373405 -3.169291)'))) / (select extract(epoch from '2026-08-04 05:31:48'::timestamp) - extract(epoch from '2026-08-04 05:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373562 -3.169464)'), GeomFromEWKT('SRID=4674;POINT (-39.373405 -3.169291)'))) / (select extract(epoch from '2026-08-04 05:31:48'::timestamp) - extract(epoch from '2026-08-04 05:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.373283 -3.169149)', '2026-08-04 05:31:57', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373405 -3.169291)'), GeomFromEWKT('SRID=4674;POINT (-39.373283 -3.169149)'))) / (select extract(epoch from '2026-08-04 05:31:57'::timestamp) - extract(epoch from '2026-08-04 05:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373405 -3.169291)'), GeomFromEWKT('SRID=4674;POINT (-39.373283 -3.169149)'))) / (select extract(epoch from '2026-08-04 05:31:57'::timestamp) - extract(epoch from '2026-08-04 05:31: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'), 48166, 'SRID=4674;POINT (-39.373199 -3.169054)', '2026-08-04 05:32:03', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373283 -3.169149)'), GeomFromEWKT('SRID=4674;POINT (-39.373199 -3.169054)'))) / (select extract(epoch from '2026-08-04 05:32:03'::timestamp) - extract(epoch from '2026-08-04 05:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373283 -3.169149)'), GeomFromEWKT('SRID=4674;POINT (-39.373199 -3.169054)'))) / (select extract(epoch from '2026-08-04 05:32:03'::timestamp) - extract(epoch from '2026-08-04 05:31: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'), 48166, 'SRID=4674;POINT (-39.373068 -3.168908)', '2026-08-04 05:32:13', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373199 -3.169054)'), GeomFromEWKT('SRID=4674;POINT (-39.373068 -3.168908)'))) / (select extract(epoch from '2026-08-04 05:32:13'::timestamp) - extract(epoch from '2026-08-04 05:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373199 -3.169054)'), GeomFromEWKT('SRID=4674;POINT (-39.373068 -3.168908)'))) / (select extract(epoch from '2026-08-04 05:32:13'::timestamp) - extract(epoch from '2026-08-04 05:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372961 -3.168798)', '2026-08-04 05:32:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373068 -3.168908)'), GeomFromEWKT('SRID=4674;POINT (-39.372961 -3.168798)'))) / (select extract(epoch from '2026-08-04 05:32:21'::timestamp) - extract(epoch from '2026-08-04 05:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.373068 -3.168908)'), GeomFromEWKT('SRID=4674;POINT (-39.372961 -3.168798)'))) / (select extract(epoch from '2026-08-04 05:32:21'::timestamp) - extract(epoch from '2026-08-04 05:32: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'), 48166, 'SRID=4674;POINT (-39.372868 -3.168701)', '2026-08-04 05:32:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372961 -3.168798)'), GeomFromEWKT('SRID=4674;POINT (-39.372868 -3.168701)'))) / (select extract(epoch from '2026-08-04 05:32:28'::timestamp) - extract(epoch from '2026-08-04 05:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372961 -3.168798)'), GeomFromEWKT('SRID=4674;POINT (-39.372868 -3.168701)'))) / (select extract(epoch from '2026-08-04 05:32:28'::timestamp) - extract(epoch from '2026-08-04 05:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372776 -3.168597)', '2026-08-04 05:32:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372868 -3.168701)'), GeomFromEWKT('SRID=4674;POINT (-39.372776 -3.168597)'))) / (select extract(epoch from '2026-08-04 05:32:35'::timestamp) - extract(epoch from '2026-08-04 05:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372868 -3.168701)'), GeomFromEWKT('SRID=4674;POINT (-39.372776 -3.168597)'))) / (select extract(epoch from '2026-08-04 05:32:35'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.37267 -3.16848)', '2026-08-04 05:32:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372776 -3.168597)'), GeomFromEWKT('SRID=4674;POINT (-39.37267 -3.16848)'))) / (select extract(epoch from '2026-08-04 05:32:43'::timestamp) - extract(epoch from '2026-08-04 05:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372776 -3.168597)'), GeomFromEWKT('SRID=4674;POINT (-39.37267 -3.16848)'))) / (select extract(epoch from '2026-08-04 05:32:43'::timestamp) - extract(epoch from '2026-08-04 05:32: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'), 48166, 'SRID=4674;POINT (-39.37258 -3.16838)', '2026-08-04 05:32:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37267 -3.16848)'), GeomFromEWKT('SRID=4674;POINT (-39.37258 -3.16838)'))) / (select extract(epoch from '2026-08-04 05:32:50'::timestamp) - extract(epoch from '2026-08-04 05:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37267 -3.16848)'), GeomFromEWKT('SRID=4674;POINT (-39.37258 -3.16838)'))) / (select extract(epoch from '2026-08-04 05:32:50'::timestamp) - extract(epoch from '2026-08-04 05:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.372483 -3.168275)', '2026-08-04 05:32:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37258 -3.16838)'), GeomFromEWKT('SRID=4674;POINT (-39.372483 -3.168275)'))) / (select extract(epoch from '2026-08-04 05:32:57'::timestamp) - extract(epoch from '2026-08-04 05:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.37258 -3.16838)'), GeomFromEWKT('SRID=4674;POINT (-39.372483 -3.168275)'))) / (select extract(epoch from '2026-08-04 05:32:57'::timestamp) - extract(epoch from '2026-08-04 05:32: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'), 48166, 'SRID=4674;POINT (-39.372401 -3.168171)', '2026-08-04 05:33:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372483 -3.168275)'), GeomFromEWKT('SRID=4674;POINT (-39.372401 -3.168171)'))) / (select extract(epoch from '2026-08-04 05:33:04'::timestamp) - extract(epoch from '2026-08-04 05:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372483 -3.168275)'), GeomFromEWKT('SRID=4674;POINT (-39.372401 -3.168171)'))) / (select extract(epoch from '2026-08-04 05:33:04'::timestamp) - extract(epoch from '2026-08-04 05:32: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'), 48166, 'SRID=4674;POINT (-39.372302 -3.168046)', '2026-08-04 05:33:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372401 -3.168171)'), GeomFromEWKT('SRID=4674;POINT (-39.372302 -3.168046)'))) / (select extract(epoch from '2026-08-04 05:33:12'::timestamp) - extract(epoch from '2026-08-04 05:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372401 -3.168171)'), GeomFromEWKT('SRID=4674;POINT (-39.372302 -3.168046)'))) / (select extract(epoch from '2026-08-04 05:33:12'::timestamp) - extract(epoch from '2026-08-04 05:33: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'), 48166, 'SRID=4674;POINT (-39.372195 -3.167926)', '2026-08-04 05:33:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372302 -3.168046)'), GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.167926)'))) / (select extract(epoch from '2026-08-04 05:33:20'::timestamp) - extract(epoch from '2026-08-04 05:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372302 -3.168046)'), GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.167926)'))) / (select extract(epoch from '2026-08-04 05:33:20'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.372056 -3.167776)', '2026-08-04 05:33:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.167926)'), GeomFromEWKT('SRID=4674;POINT (-39.372056 -3.167776)'))) / (select extract(epoch from '2026-08-04 05:33:30'::timestamp) - extract(epoch from '2026-08-04 05:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372195 -3.167926)'), GeomFromEWKT('SRID=4674;POINT (-39.372056 -3.167776)'))) / (select extract(epoch from '2026-08-04 05:33:30'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.371939 -3.167665)', '2026-08-04 05:33:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372056 -3.167776)'), GeomFromEWKT('SRID=4674;POINT (-39.371939 -3.167665)'))) / (select extract(epoch from '2026-08-04 05:33:38'::timestamp) - extract(epoch from '2026-08-04 05:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.372056 -3.167776)'), GeomFromEWKT('SRID=4674;POINT (-39.371939 -3.167665)'))) / (select extract(epoch from '2026-08-04 05:33:38'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.371831 -3.167559)', '2026-08-04 05:33:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371939 -3.167665)'), GeomFromEWKT('SRID=4674;POINT (-39.371831 -3.167559)'))) / (select extract(epoch from '2026-08-04 05:33:46'::timestamp) - extract(epoch from '2026-08-04 05:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371939 -3.167665)'), GeomFromEWKT('SRID=4674;POINT (-39.371831 -3.167559)'))) / (select extract(epoch from '2026-08-04 05:33:46'::timestamp) - extract(epoch from '2026-08-04 05:33: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'), 48166, 'SRID=4674;POINT (-39.371751 -3.167482)', '2026-08-04 05:33:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371831 -3.167559)'), GeomFromEWKT('SRID=4674;POINT (-39.371751 -3.167482)'))) / (select extract(epoch from '2026-08-04 05:33:52'::timestamp) - extract(epoch from '2026-08-04 05:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371831 -3.167559)'), GeomFromEWKT('SRID=4674;POINT (-39.371751 -3.167482)'))) / (select extract(epoch from '2026-08-04 05:33:52'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.371653 -3.167389)', '2026-08-04 05:33:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371751 -3.167482)'), GeomFromEWKT('SRID=4674;POINT (-39.371653 -3.167389)'))) / (select extract(epoch from '2026-08-04 05:33:59'::timestamp) - extract(epoch from '2026-08-04 05:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371751 -3.167482)'), GeomFromEWKT('SRID=4674;POINT (-39.371653 -3.167389)'))) / (select extract(epoch from '2026-08-04 05:33:59'::timestamp) - extract(epoch from '2026-08-04 05:33: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'), 48166, 'SRID=4674;POINT (-39.371546 -3.167285)', '2026-08-04 05:34:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371653 -3.167389)'), GeomFromEWKT('SRID=4674;POINT (-39.371546 -3.167285)'))) / (select extract(epoch from '2026-08-04 05:34:07'::timestamp) - extract(epoch from '2026-08-04 05:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371653 -3.167389)'), GeomFromEWKT('SRID=4674;POINT (-39.371546 -3.167285)'))) / (select extract(epoch from '2026-08-04 05:34:07'::timestamp) - extract(epoch from '2026-08-04 05:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.371387 -3.167117)', '2026-08-04 05:34:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371546 -3.167285)'), GeomFromEWKT('SRID=4674;POINT (-39.371387 -3.167117)'))) / (select extract(epoch from '2026-08-04 05:34:19'::timestamp) - extract(epoch from '2026-08-04 05:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371546 -3.167285)'), GeomFromEWKT('SRID=4674;POINT (-39.371387 -3.167117)'))) / (select extract(epoch from '2026-08-04 05:34:19'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.371277 -3.166999)', '2026-08-04 05:34:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371387 -3.167117)'), GeomFromEWKT('SRID=4674;POINT (-39.371277 -3.166999)'))) / (select extract(epoch from '2026-08-04 05:34:27'::timestamp) - extract(epoch from '2026-08-04 05:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371387 -3.167117)'), GeomFromEWKT('SRID=4674;POINT (-39.371277 -3.166999)'))) / (select extract(epoch from '2026-08-04 05:34:27'::timestamp) - extract(epoch from '2026-08-04 05:34: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'), 48166, 'SRID=4674;POINT (-39.371171 -3.166878)', '2026-08-04 05:34:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371277 -3.166999)'), GeomFromEWKT('SRID=4674;POINT (-39.371171 -3.166878)'))) / (select extract(epoch from '2026-08-04 05:34:35'::timestamp) - extract(epoch from '2026-08-04 05:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371277 -3.166999)'), GeomFromEWKT('SRID=4674;POINT (-39.371171 -3.166878)'))) / (select extract(epoch from '2026-08-04 05:34:35'::timestamp) - extract(epoch from '2026-08-04 05:34: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'), 48166, 'SRID=4674;POINT (-39.371065 -3.166765)', '2026-08-04 05:34:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371171 -3.166878)'), GeomFromEWKT('SRID=4674;POINT (-39.371065 -3.166765)'))) / (select extract(epoch from '2026-08-04 05:34:43'::timestamp) - extract(epoch from '2026-08-04 05:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371171 -3.166878)'), GeomFromEWKT('SRID=4674;POINT (-39.371065 -3.166765)'))) / (select extract(epoch from '2026-08-04 05:34:43'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.370973 -3.166661)', '2026-08-04 05:34:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371065 -3.166765)'), GeomFromEWKT('SRID=4674;POINT (-39.370973 -3.166661)'))) / (select extract(epoch from '2026-08-04 05:34:50'::timestamp) - extract(epoch from '2026-08-04 05:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.371065 -3.166765)'), GeomFromEWKT('SRID=4674;POINT (-39.370973 -3.166661)'))) / (select extract(epoch from '2026-08-04 05:34:50'::timestamp) - extract(epoch from '2026-08-04 05:34: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'), 48166, 'SRID=4674;POINT (-39.370896 -3.166573)', '2026-08-04 05:34:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370973 -3.166661)'), GeomFromEWKT('SRID=4674;POINT (-39.370896 -3.166573)'))) / (select extract(epoch from '2026-08-04 05:34:56'::timestamp) - extract(epoch from '2026-08-04 05:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370973 -3.166661)'), GeomFromEWKT('SRID=4674;POINT (-39.370896 -3.166573)'))) / (select extract(epoch from '2026-08-04 05:34:56'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.370797 -3.166479)', '2026-08-04 05:35:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370896 -3.166573)'), GeomFromEWKT('SRID=4674;POINT (-39.370797 -3.166479)'))) / (select extract(epoch from '2026-08-04 05:35:03'::timestamp) - extract(epoch from '2026-08-04 05:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370896 -3.166573)'), GeomFromEWKT('SRID=4674;POINT (-39.370797 -3.166479)'))) / (select extract(epoch from '2026-08-04 05:35:03'::timestamp) - extract(epoch from '2026-08-04 05:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370681 -3.166357)', '2026-08-04 05:35:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370797 -3.166479)'), GeomFromEWKT('SRID=4674;POINT (-39.370681 -3.166357)'))) / (select extract(epoch from '2026-08-04 05:35:12'::timestamp) - extract(epoch from '2026-08-04 05:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370797 -3.166479)'), GeomFromEWKT('SRID=4674;POINT (-39.370681 -3.166357)'))) / (select extract(epoch from '2026-08-04 05:35:12'::timestamp) - extract(epoch from '2026-08-04 05:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370575 -3.16624)', '2026-08-04 05:35:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370681 -3.166357)'), GeomFromEWKT('SRID=4674;POINT (-39.370575 -3.16624)'))) / (select extract(epoch from '2026-08-04 05:35:20'::timestamp) - extract(epoch from '2026-08-04 05:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370681 -3.166357)'), GeomFromEWKT('SRID=4674;POINT (-39.370575 -3.16624)'))) / (select extract(epoch from '2026-08-04 05:35:20'::timestamp) - extract(epoch from '2026-08-04 05:35: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'), 48166, 'SRID=4674;POINT (-39.370482 -3.166133)', '2026-08-04 05:35:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370575 -3.16624)'), GeomFromEWKT('SRID=4674;POINT (-39.370482 -3.166133)'))) / (select extract(epoch from '2026-08-04 05:35:27'::timestamp) - extract(epoch from '2026-08-04 05:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370575 -3.16624)'), GeomFromEWKT('SRID=4674;POINT (-39.370482 -3.166133)'))) / (select extract(epoch from '2026-08-04 05:35:27'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.370385 -3.16603)', '2026-08-04 05:35:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370482 -3.166133)'), GeomFromEWKT('SRID=4674;POINT (-39.370385 -3.16603)'))) / (select extract(epoch from '2026-08-04 05:35:34'::timestamp) - extract(epoch from '2026-08-04 05:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370482 -3.166133)'), GeomFromEWKT('SRID=4674;POINT (-39.370385 -3.16603)'))) / (select extract(epoch from '2026-08-04 05:35:34'::timestamp) - extract(epoch from '2026-08-04 05:35: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'), 48166, 'SRID=4674;POINT (-39.370277 -3.165916)', '2026-08-04 05:35:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370385 -3.16603)'), GeomFromEWKT('SRID=4674;POINT (-39.370277 -3.165916)'))) / (select extract(epoch from '2026-08-04 05:35:42'::timestamp) - extract(epoch from '2026-08-04 05:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370385 -3.16603)'), GeomFromEWKT('SRID=4674;POINT (-39.370277 -3.165916)'))) / (select extract(epoch from '2026-08-04 05:35:42'::timestamp) - extract(epoch from '2026-08-04 05:35: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'), 48166, 'SRID=4674;POINT (-39.370172 -3.165801)', '2026-08-04 05:35:50', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370277 -3.165916)'), GeomFromEWKT('SRID=4674;POINT (-39.370172 -3.165801)'))) / (select extract(epoch from '2026-08-04 05:35:50'::timestamp) - extract(epoch from '2026-08-04 05:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370277 -3.165916)'), GeomFromEWKT('SRID=4674;POINT (-39.370172 -3.165801)'))) / (select extract(epoch from '2026-08-04 05:35:50'::timestamp) - extract(epoch from '2026-08-04 05:35:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.370074 -3.165688)', '2026-08-04 05:35:58', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370172 -3.165801)'), GeomFromEWKT('SRID=4674;POINT (-39.370074 -3.165688)'))) / (select extract(epoch from '2026-08-04 05:35:58'::timestamp) - extract(epoch from '2026-08-04 05:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370172 -3.165801)'), GeomFromEWKT('SRID=4674;POINT (-39.370074 -3.165688)'))) / (select extract(epoch from '2026-08-04 05:35:58'::timestamp) - extract(epoch from '2026-08-04 05:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369969 -3.165591)', '2026-08-04 05:36:05', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370074 -3.165688)'), GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.165591)'))) / (select extract(epoch from '2026-08-04 05:36:05'::timestamp) - extract(epoch from '2026-08-04 05:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.370074 -3.165688)'), GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.165591)'))) / (select extract(epoch from '2026-08-04 05:36:05'::timestamp) - extract(epoch from '2026-08-04 05:35: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'), 48166, 'SRID=4674;POINT (-39.369841 -3.165448)', '2026-08-04 05:36:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.165591)'), GeomFromEWKT('SRID=4674;POINT (-39.369841 -3.165448)'))) / (select extract(epoch from '2026-08-04 05:36:15'::timestamp) - extract(epoch from '2026-08-04 05:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369969 -3.165591)'), GeomFromEWKT('SRID=4674;POINT (-39.369841 -3.165448)'))) / (select extract(epoch from '2026-08-04 05:36:15'::timestamp) - extract(epoch from '2026-08-04 05:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369701 -3.165307)', '2026-08-04 05:36:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369841 -3.165448)'), GeomFromEWKT('SRID=4674;POINT (-39.369701 -3.165307)'))) / (select extract(epoch from '2026-08-04 05:36:25'::timestamp) - extract(epoch from '2026-08-04 05:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369841 -3.165448)'), GeomFromEWKT('SRID=4674;POINT (-39.369701 -3.165307)'))) / (select extract(epoch from '2026-08-04 05:36:25'::timestamp) - extract(epoch from '2026-08-04 05:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369585 -3.165197)', '2026-08-04 05:36:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369701 -3.165307)'), GeomFromEWKT('SRID=4674;POINT (-39.369585 -3.165197)'))) / (select extract(epoch from '2026-08-04 05:36:33'::timestamp) - extract(epoch from '2026-08-04 05:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369701 -3.165307)'), GeomFromEWKT('SRID=4674;POINT (-39.369585 -3.165197)'))) / (select extract(epoch from '2026-08-04 05:36:33'::timestamp) - extract(epoch from '2026-08-04 05:36: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'), 48166, 'SRID=4674;POINT (-39.369496 -3.165115)', '2026-08-04 05:36:40', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369585 -3.165197)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.165115)'))) / (select extract(epoch from '2026-08-04 05:36:40'::timestamp) - extract(epoch from '2026-08-04 05:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369585 -3.165197)'), GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.165115)'))) / (select extract(epoch from '2026-08-04 05:36:40'::timestamp) - extract(epoch from '2026-08-04 05:36: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'), 48166, 'SRID=4674;POINT (-39.369399 -3.165011)', '2026-08-04 05:36:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.165115)'), GeomFromEWKT('SRID=4674;POINT (-39.369399 -3.165011)'))) / (select extract(epoch from '2026-08-04 05:36:47'::timestamp) - extract(epoch from '2026-08-04 05:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369496 -3.165115)'), GeomFromEWKT('SRID=4674;POINT (-39.369399 -3.165011)'))) / (select extract(epoch from '2026-08-04 05:36:47'::timestamp) - extract(epoch from '2026-08-04 05:36:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.369306 -3.164906)', '2026-08-04 05:36:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369399 -3.165011)'), GeomFromEWKT('SRID=4674;POINT (-39.369306 -3.164906)'))) / (select extract(epoch from '2026-08-04 05:36:54'::timestamp) - extract(epoch from '2026-08-04 05:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369399 -3.165011)'), GeomFromEWKT('SRID=4674;POINT (-39.369306 -3.164906)'))) / (select extract(epoch from '2026-08-04 05:36:54'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.369183 -3.164759)', '2026-08-04 05:37:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369306 -3.164906)'), GeomFromEWKT('SRID=4674;POINT (-39.369183 -3.164759)'))) / (select extract(epoch from '2026-08-04 05:37:04'::timestamp) - extract(epoch from '2026-08-04 05:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369306 -3.164906)'), GeomFromEWKT('SRID=4674;POINT (-39.369183 -3.164759)'))) / (select extract(epoch from '2026-08-04 05:37:04'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.369097 -3.164641)', '2026-08-04 05:37:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369183 -3.164759)'), GeomFromEWKT('SRID=4674;POINT (-39.369097 -3.164641)'))) / (select extract(epoch from '2026-08-04 05:37:12'::timestamp) - extract(epoch from '2026-08-04 05:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369183 -3.164759)'), GeomFromEWKT('SRID=4674;POINT (-39.369097 -3.164641)'))) / (select extract(epoch from '2026-08-04 05:37:12'::timestamp) - extract(epoch from '2026-08-04 05:37: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'), 48166, 'SRID=4674;POINT (-39.368987 -3.164502)', '2026-08-04 05:37:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369097 -3.164641)'), GeomFromEWKT('SRID=4674;POINT (-39.368987 -3.164502)'))) / (select extract(epoch from '2026-08-04 05:37:21'::timestamp) - extract(epoch from '2026-08-04 05:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.369097 -3.164641)'), GeomFromEWKT('SRID=4674;POINT (-39.368987 -3.164502)'))) / (select extract(epoch from '2026-08-04 05:37:21'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.368875 -3.164391)', '2026-08-04 05:37:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368987 -3.164502)'), GeomFromEWKT('SRID=4674;POINT (-39.368875 -3.164391)'))) / (select extract(epoch from '2026-08-04 05:37:29'::timestamp) - extract(epoch from '2026-08-04 05:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368987 -3.164502)'), GeomFromEWKT('SRID=4674;POINT (-39.368875 -3.164391)'))) / (select extract(epoch from '2026-08-04 05:37:29'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.36874 -3.164282)', '2026-08-04 05:37:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368875 -3.164391)'), GeomFromEWKT('SRID=4674;POINT (-39.36874 -3.164282)'))) / (select extract(epoch from '2026-08-04 05:37:38'::timestamp) - extract(epoch from '2026-08-04 05:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368875 -3.164391)'), GeomFromEWKT('SRID=4674;POINT (-39.36874 -3.164282)'))) / (select extract(epoch from '2026-08-04 05:37:38'::timestamp) - extract(epoch from '2026-08-04 05:37: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'), 48166, 'SRID=4674;POINT (-39.368612 -3.164158)', '2026-08-04 05:37:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36874 -3.164282)'), GeomFromEWKT('SRID=4674;POINT (-39.368612 -3.164158)'))) / (select extract(epoch from '2026-08-04 05:37:47'::timestamp) - extract(epoch from '2026-08-04 05:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36874 -3.164282)'), GeomFromEWKT('SRID=4674;POINT (-39.368612 -3.164158)'))) / (select extract(epoch from '2026-08-04 05:37:47'::timestamp) - extract(epoch from '2026-08-04 05:37: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'), 48166, 'SRID=4674;POINT (-39.368513 -3.164039)', '2026-08-04 05:37:55', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368612 -3.164158)'), GeomFromEWKT('SRID=4674;POINT (-39.368513 -3.164039)'))) / (select extract(epoch from '2026-08-04 05:37:55'::timestamp) - extract(epoch from '2026-08-04 05:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368612 -3.164158)'), GeomFromEWKT('SRID=4674;POINT (-39.368513 -3.164039)'))) / (select extract(epoch from '2026-08-04 05:37:55'::timestamp) - extract(epoch from '2026-08-04 05:37: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'), 48166, 'SRID=4674;POINT (-39.368438 -3.163932)', '2026-08-04 05:38:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368513 -3.164039)'), GeomFromEWKT('SRID=4674;POINT (-39.368438 -3.163932)'))) / (select extract(epoch from '2026-08-04 05:38:02'::timestamp) - extract(epoch from '2026-08-04 05:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368513 -3.164039)'), GeomFromEWKT('SRID=4674;POINT (-39.368438 -3.163932)'))) / (select extract(epoch from '2026-08-04 05:38:02'::timestamp) - extract(epoch from '2026-08-04 05:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368352 -3.163809)', '2026-08-04 05:38:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368438 -3.163932)'), GeomFromEWKT('SRID=4674;POINT (-39.368352 -3.163809)'))) / (select extract(epoch from '2026-08-04 05:38:10'::timestamp) - extract(epoch from '2026-08-04 05:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368438 -3.163932)'), GeomFromEWKT('SRID=4674;POINT (-39.368352 -3.163809)'))) / (select extract(epoch from '2026-08-04 05:38:10'::timestamp) - extract(epoch from '2026-08-04 05:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.368253 -3.163683)', '2026-08-04 05:38:18', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368352 -3.163809)'), GeomFromEWKT('SRID=4674;POINT (-39.368253 -3.163683)'))) / (select extract(epoch from '2026-08-04 05:38:18'::timestamp) - extract(epoch from '2026-08-04 05:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368352 -3.163809)'), GeomFromEWKT('SRID=4674;POINT (-39.368253 -3.163683)'))) / (select extract(epoch from '2026-08-04 05:38:18'::timestamp) - extract(epoch from '2026-08-04 05:38: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'), 48166, 'SRID=4674;POINT (-39.368166 -3.163568)', '2026-08-04 05:38:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368253 -3.163683)'), GeomFromEWKT('SRID=4674;POINT (-39.368166 -3.163568)'))) / (select extract(epoch from '2026-08-04 05:38:26'::timestamp) - extract(epoch from '2026-08-04 05:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368253 -3.163683)'), GeomFromEWKT('SRID=4674;POINT (-39.368166 -3.163568)'))) / (select extract(epoch from '2026-08-04 05:38:26'::timestamp) - extract(epoch from '2026-08-04 05:38: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'), 48166, 'SRID=4674;POINT (-39.36806 -3.163452)', '2026-08-04 05:38:34', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368166 -3.163568)'), GeomFromEWKT('SRID=4674;POINT (-39.36806 -3.163452)'))) / (select extract(epoch from '2026-08-04 05:38:34'::timestamp) - extract(epoch from '2026-08-04 05:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.368166 -3.163568)'), GeomFromEWKT('SRID=4674;POINT (-39.36806 -3.163452)'))) / (select extract(epoch from '2026-08-04 05:38:34'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.367982 -3.163366)', '2026-08-04 05:38:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36806 -3.163452)'), GeomFromEWKT('SRID=4674;POINT (-39.367982 -3.163366)'))) / (select extract(epoch from '2026-08-04 05:38:40'::timestamp) - extract(epoch from '2026-08-04 05:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36806 -3.163452)'), GeomFromEWKT('SRID=4674;POINT (-39.367982 -3.163366)'))) / (select extract(epoch from '2026-08-04 05:38:40'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.367862 -3.163241)', '2026-08-04 05:38:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367982 -3.163366)'), GeomFromEWKT('SRID=4674;POINT (-39.367862 -3.163241)'))) / (select extract(epoch from '2026-08-04 05:38:49'::timestamp) - extract(epoch from '2026-08-04 05:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367982 -3.163366)'), GeomFromEWKT('SRID=4674;POINT (-39.367862 -3.163241)'))) / (select extract(epoch from '2026-08-04 05:38:49'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.36776 -3.163131)', '2026-08-04 05:38:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367862 -3.163241)'), GeomFromEWKT('SRID=4674;POINT (-39.36776 -3.163131)'))) / (select extract(epoch from '2026-08-04 05:38:57'::timestamp) - extract(epoch from '2026-08-04 05:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367862 -3.163241)'), GeomFromEWKT('SRID=4674;POINT (-39.36776 -3.163131)'))) / (select extract(epoch from '2026-08-04 05:38:57'::timestamp) - extract(epoch from '2026-08-04 05:38:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36767 -3.16302)', '2026-08-04 05:39:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36776 -3.163131)'), GeomFromEWKT('SRID=4674;POINT (-39.36767 -3.16302)'))) / (select extract(epoch from '2026-08-04 05:39:05'::timestamp) - extract(epoch from '2026-08-04 05:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36776 -3.163131)'), GeomFromEWKT('SRID=4674;POINT (-39.36767 -3.16302)'))) / (select extract(epoch from '2026-08-04 05:39:05'::timestamp) - extract(epoch from '2026-08-04 05:38:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.367595 -3.162918)', '2026-08-04 05:39:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36767 -3.16302)'), GeomFromEWKT('SRID=4674;POINT (-39.367595 -3.162918)'))) / (select extract(epoch from '2026-08-04 05:39:12'::timestamp) - extract(epoch from '2026-08-04 05:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36767 -3.16302)'), GeomFromEWKT('SRID=4674;POINT (-39.367595 -3.162918)'))) / (select extract(epoch from '2026-08-04 05:39:12'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.367519 -3.162838)', '2026-08-04 05:39:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367595 -3.162918)'), GeomFromEWKT('SRID=4674;POINT (-39.367519 -3.162838)'))) / (select extract(epoch from '2026-08-04 05:39:18'::timestamp) - extract(epoch from '2026-08-04 05:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367595 -3.162918)'), GeomFromEWKT('SRID=4674;POINT (-39.367519 -3.162838)'))) / (select extract(epoch from '2026-08-04 05:39:18'::timestamp) - extract(epoch from '2026-08-04 05:39: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'), 48166, 'SRID=4674;POINT (-39.367423 -3.162744)', '2026-08-04 05:39:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367519 -3.162838)'), GeomFromEWKT('SRID=4674;POINT (-39.367423 -3.162744)'))) / (select extract(epoch from '2026-08-04 05:39:25'::timestamp) - extract(epoch from '2026-08-04 05:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367519 -3.162838)'), GeomFromEWKT('SRID=4674;POINT (-39.367423 -3.162744)'))) / (select extract(epoch from '2026-08-04 05:39:25'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.367297 -3.162642)', '2026-08-04 05:39:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367423 -3.162744)'), GeomFromEWKT('SRID=4674;POINT (-39.367297 -3.162642)'))) / (select extract(epoch from '2026-08-04 05:39:33'::timestamp) - extract(epoch from '2026-08-04 05:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367423 -3.162744)'), GeomFromEWKT('SRID=4674;POINT (-39.367297 -3.162642)'))) / (select extract(epoch from '2026-08-04 05:39:33'::timestamp) - extract(epoch from '2026-08-04 05:39:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.367164 -3.162522)', '2026-08-04 05:39:42', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367297 -3.162642)'), GeomFromEWKT('SRID=4674;POINT (-39.367164 -3.162522)'))) / (select extract(epoch from '2026-08-04 05:39:42'::timestamp) - extract(epoch from '2026-08-04 05:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367297 -3.162642)'), GeomFromEWKT('SRID=4674;POINT (-39.367164 -3.162522)'))) / (select extract(epoch from '2026-08-04 05:39:42'::timestamp) - extract(epoch from '2026-08-04 05:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.367011 -3.162362)', '2026-08-04 05:39:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367164 -3.162522)'), GeomFromEWKT('SRID=4674;POINT (-39.367011 -3.162362)'))) / (select extract(epoch from '2026-08-04 05:39:53'::timestamp) - extract(epoch from '2026-08-04 05:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367164 -3.162522)'), GeomFromEWKT('SRID=4674;POINT (-39.367011 -3.162362)'))) / (select extract(epoch from '2026-08-04 05:39:53'::timestamp) - extract(epoch from '2026-08-04 05:39: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'), 48166, 'SRID=4674;POINT (-39.366911 -3.16226)', '2026-08-04 05:40:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367011 -3.162362)'), GeomFromEWKT('SRID=4674;POINT (-39.366911 -3.16226)'))) / (select extract(epoch from '2026-08-04 05:40:00'::timestamp) - extract(epoch from '2026-08-04 05:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.367011 -3.162362)'), GeomFromEWKT('SRID=4674;POINT (-39.366911 -3.16226)'))) / (select extract(epoch from '2026-08-04 05:40:00'::timestamp) - extract(epoch from '2026-08-04 05:39: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'), 48166, 'SRID=4674;POINT (-39.366815 -3.162159)', '2026-08-04 05:40:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366911 -3.16226)'), GeomFromEWKT('SRID=4674;POINT (-39.366815 -3.162159)'))) / (select extract(epoch from '2026-08-04 05:40:07'::timestamp) - extract(epoch from '2026-08-04 05:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366911 -3.16226)'), GeomFromEWKT('SRID=4674;POINT (-39.366815 -3.162159)'))) / (select extract(epoch from '2026-08-04 05:40:07'::timestamp) - extract(epoch from '2026-08-04 05:40: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'), 48166, 'SRID=4674;POINT (-39.366679 -3.162042)', '2026-08-04 05:40:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366815 -3.162159)'), GeomFromEWKT('SRID=4674;POINT (-39.366679 -3.162042)'))) / (select extract(epoch from '2026-08-04 05:40:16'::timestamp) - extract(epoch from '2026-08-04 05:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366815 -3.162159)'), GeomFromEWKT('SRID=4674;POINT (-39.366679 -3.162042)'))) / (select extract(epoch from '2026-08-04 05:40:16'::timestamp) - extract(epoch from '2026-08-04 05:40: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'), 48166, 'SRID=4674;POINT (-39.366567 -3.16194)', '2026-08-04 05:40:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366679 -3.162042)'), GeomFromEWKT('SRID=4674;POINT (-39.366567 -3.16194)'))) / (select extract(epoch from '2026-08-04 05:40:24'::timestamp) - extract(epoch from '2026-08-04 05:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366679 -3.162042)'), GeomFromEWKT('SRID=4674;POINT (-39.366567 -3.16194)'))) / (select extract(epoch from '2026-08-04 05:40:24'::timestamp) - extract(epoch from '2026-08-04 05:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.366448 -3.161843)', '2026-08-04 05:40:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366567 -3.16194)'), GeomFromEWKT('SRID=4674;POINT (-39.366448 -3.161843)'))) / (select extract(epoch from '2026-08-04 05:40:32'::timestamp) - extract(epoch from '2026-08-04 05:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366567 -3.16194)'), GeomFromEWKT('SRID=4674;POINT (-39.366448 -3.161843)'))) / (select extract(epoch from '2026-08-04 05:40:32'::timestamp) - extract(epoch from '2026-08-04 05:40: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'), 48166, 'SRID=4674;POINT (-39.366363 -3.161773)', '2026-08-04 05:40:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366448 -3.161843)'), GeomFromEWKT('SRID=4674;POINT (-39.366363 -3.161773)'))) / (select extract(epoch from '2026-08-04 05:40:38'::timestamp) - extract(epoch from '2026-08-04 05:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366448 -3.161843)'), GeomFromEWKT('SRID=4674;POINT (-39.366363 -3.161773)'))) / (select extract(epoch from '2026-08-04 05:40:38'::timestamp) - extract(epoch from '2026-08-04 05:40:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.366235 -3.161671)', '2026-08-04 05:40:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366363 -3.161773)'), GeomFromEWKT('SRID=4674;POINT (-39.366235 -3.161671)'))) / (select extract(epoch from '2026-08-04 05:40:46'::timestamp) - extract(epoch from '2026-08-04 05:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366363 -3.161773)'), GeomFromEWKT('SRID=4674;POINT (-39.366235 -3.161671)'))) / (select extract(epoch from '2026-08-04 05:40:46'::timestamp) - extract(epoch from '2026-08-04 05:40: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'), 48166, 'SRID=4674;POINT (-39.366109 -3.16156)', '2026-08-04 05:40:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366235 -3.161671)'), GeomFromEWKT('SRID=4674;POINT (-39.366109 -3.16156)'))) / (select extract(epoch from '2026-08-04 05:40:55'::timestamp) - extract(epoch from '2026-08-04 05:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366235 -3.161671)'), GeomFromEWKT('SRID=4674;POINT (-39.366109 -3.16156)'))) / (select extract(epoch from '2026-08-04 05:40:55'::timestamp) - extract(epoch from '2026-08-04 05:40: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'), 48166, 'SRID=4674;POINT (-39.366019 -3.161465)', '2026-08-04 05:41:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366109 -3.16156)'), GeomFromEWKT('SRID=4674;POINT (-39.366019 -3.161465)'))) / (select extract(epoch from '2026-08-04 05:41:02'::timestamp) - extract(epoch from '2026-08-04 05:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366109 -3.16156)'), GeomFromEWKT('SRID=4674;POINT (-39.366019 -3.161465)'))) / (select extract(epoch from '2026-08-04 05:41:02'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.365906 -3.161362)', '2026-08-04 05:41:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366019 -3.161465)'), GeomFromEWKT('SRID=4674;POINT (-39.365906 -3.161362)'))) / (select extract(epoch from '2026-08-04 05:41:10'::timestamp) - extract(epoch from '2026-08-04 05:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.366019 -3.161465)'), GeomFromEWKT('SRID=4674;POINT (-39.365906 -3.161362)'))) / (select extract(epoch from '2026-08-04 05:41:10'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.365774 -3.161251)', '2026-08-04 05:41:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365906 -3.161362)'), GeomFromEWKT('SRID=4674;POINT (-39.365774 -3.161251)'))) / (select extract(epoch from '2026-08-04 05:41:19'::timestamp) - extract(epoch from '2026-08-04 05:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365906 -3.161362)'), GeomFromEWKT('SRID=4674;POINT (-39.365774 -3.161251)'))) / (select extract(epoch from '2026-08-04 05:41:19'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.365682 -3.161157)', '2026-08-04 05:41:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365774 -3.161251)'), GeomFromEWKT('SRID=4674;POINT (-39.365682 -3.161157)'))) / (select extract(epoch from '2026-08-04 05:41:26'::timestamp) - extract(epoch from '2026-08-04 05:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365774 -3.161251)'), GeomFromEWKT('SRID=4674;POINT (-39.365682 -3.161157)'))) / (select extract(epoch from '2026-08-04 05:41:26'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.365583 -3.161063)', '2026-08-04 05:41:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365682 -3.161157)'), GeomFromEWKT('SRID=4674;POINT (-39.365583 -3.161063)'))) / (select extract(epoch from '2026-08-04 05:41:33'::timestamp) - extract(epoch from '2026-08-04 05:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365682 -3.161157)'), GeomFromEWKT('SRID=4674;POINT (-39.365583 -3.161063)'))) / (select extract(epoch from '2026-08-04 05:41:33'::timestamp) - extract(epoch from '2026-08-04 05:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.365476 -3.160977)', '2026-08-04 05:41:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365583 -3.161063)'), GeomFromEWKT('SRID=4674;POINT (-39.365476 -3.160977)'))) / (select extract(epoch from '2026-08-04 05:41:40'::timestamp) - extract(epoch from '2026-08-04 05:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365583 -3.161063)'), GeomFromEWKT('SRID=4674;POINT (-39.365476 -3.160977)'))) / (select extract(epoch from '2026-08-04 05:41:40'::timestamp) - extract(epoch from '2026-08-04 05:41: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'), 48166, 'SRID=4674;POINT (-39.365378 -3.160899)', '2026-08-04 05:41:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365476 -3.160977)'), GeomFromEWKT('SRID=4674;POINT (-39.365378 -3.160899)'))) / (select extract(epoch from '2026-08-04 05:41:46'::timestamp) - extract(epoch from '2026-08-04 05:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365476 -3.160977)'), GeomFromEWKT('SRID=4674;POINT (-39.365378 -3.160899)'))) / (select extract(epoch from '2026-08-04 05:41:46'::timestamp) - extract(epoch from '2026-08-04 05:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.365287 -3.160818)', '2026-08-04 05:41:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365378 -3.160899)'), GeomFromEWKT('SRID=4674;POINT (-39.365287 -3.160818)'))) / (select extract(epoch from '2026-08-04 05:41:52'::timestamp) - extract(epoch from '2026-08-04 05:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365378 -3.160899)'), GeomFromEWKT('SRID=4674;POINT (-39.365287 -3.160818)'))) / (select extract(epoch from '2026-08-04 05:41:52'::timestamp) - extract(epoch from '2026-08-04 05:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.365196 -3.160743)', '2026-08-04 05:41:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365287 -3.160818)'), GeomFromEWKT('SRID=4674;POINT (-39.365196 -3.160743)'))) / (select extract(epoch from '2026-08-04 05:41:58'::timestamp) - extract(epoch from '2026-08-04 05:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365287 -3.160818)'), GeomFromEWKT('SRID=4674;POINT (-39.365196 -3.160743)'))) / (select extract(epoch from '2026-08-04 05:41:58'::timestamp) - extract(epoch from '2026-08-04 05:41: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'), 48166, 'SRID=4674;POINT (-39.365067 -3.160649)', '2026-08-04 05:42:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365196 -3.160743)'), GeomFromEWKT('SRID=4674;POINT (-39.365067 -3.160649)'))) / (select extract(epoch from '2026-08-04 05:42:06'::timestamp) - extract(epoch from '2026-08-04 05:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365196 -3.160743)'), GeomFromEWKT('SRID=4674;POINT (-39.365067 -3.160649)'))) / (select extract(epoch from '2026-08-04 05:42:06'::timestamp) - extract(epoch from '2026-08-04 05:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.364972 -3.160577)', '2026-08-04 05:42:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365067 -3.160649)'), GeomFromEWKT('SRID=4674;POINT (-39.364972 -3.160577)'))) / (select extract(epoch from '2026-08-04 05:42:12'::timestamp) - extract(epoch from '2026-08-04 05:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.365067 -3.160649)'), GeomFromEWKT('SRID=4674;POINT (-39.364972 -3.160577)'))) / (select extract(epoch from '2026-08-04 05:42:12'::timestamp) - extract(epoch from '2026-08-04 05:42:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.364894 -3.160515)', '2026-08-04 05:42:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364972 -3.160577)'), GeomFromEWKT('SRID=4674;POINT (-39.364894 -3.160515)'))) / (select extract(epoch from '2026-08-04 05:42:17'::timestamp) - extract(epoch from '2026-08-04 05:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364972 -3.160577)'), GeomFromEWKT('SRID=4674;POINT (-39.364894 -3.160515)'))) / (select extract(epoch from '2026-08-04 05:42:17'::timestamp) - extract(epoch from '2026-08-04 05:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.364798 -3.160448)', '2026-08-04 05:42:23', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364894 -3.160515)'), GeomFromEWKT('SRID=4674;POINT (-39.364798 -3.160448)'))) / (select extract(epoch from '2026-08-04 05:42:23'::timestamp) - extract(epoch from '2026-08-04 05:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364894 -3.160515)'), GeomFromEWKT('SRID=4674;POINT (-39.364798 -3.160448)'))) / (select extract(epoch from '2026-08-04 05:42:23'::timestamp) - extract(epoch from '2026-08-04 05:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3647 -3.160383)', '2026-08-04 05:42:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364798 -3.160448)'), GeomFromEWKT('SRID=4674;POINT (-39.3647 -3.160383)'))) / (select extract(epoch from '2026-08-04 05:42:29'::timestamp) - extract(epoch from '2026-08-04 05:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364798 -3.160448)'), GeomFromEWKT('SRID=4674;POINT (-39.3647 -3.160383)'))) / (select extract(epoch from '2026-08-04 05:42:29'::timestamp) - extract(epoch from '2026-08-04 05:42:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.364621 -3.16033)', '2026-08-04 05:42:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3647 -3.160383)'), GeomFromEWKT('SRID=4674;POINT (-39.364621 -3.16033)'))) / (select extract(epoch from '2026-08-04 05:42:34'::timestamp) - extract(epoch from '2026-08-04 05:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3647 -3.160383)'), GeomFromEWKT('SRID=4674;POINT (-39.364621 -3.16033)'))) / (select extract(epoch from '2026-08-04 05:42:34'::timestamp) - extract(epoch from '2026-08-04 05:42: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'), 48166, 'SRID=4674;POINT (-39.364548 -3.160278)', '2026-08-04 05:42:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364621 -3.16033)'), GeomFromEWKT('SRID=4674;POINT (-39.364548 -3.160278)'))) / (select extract(epoch from '2026-08-04 05:42:39'::timestamp) - extract(epoch from '2026-08-04 05:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364621 -3.16033)'), GeomFromEWKT('SRID=4674;POINT (-39.364548 -3.160278)'))) / (select extract(epoch from '2026-08-04 05:42:39'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.364448 -3.160199)', '2026-08-04 05:42:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364548 -3.160278)'), GeomFromEWKT('SRID=4674;POINT (-39.364448 -3.160199)'))) / (select extract(epoch from '2026-08-04 05:42:46'::timestamp) - extract(epoch from '2026-08-04 05:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364548 -3.160278)'), GeomFromEWKT('SRID=4674;POINT (-39.364448 -3.160199)'))) / (select extract(epoch from '2026-08-04 05:42:46'::timestamp) - extract(epoch from '2026-08-04 05:42:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.364369 -3.160128)', '2026-08-04 05:42:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364448 -3.160199)'), GeomFromEWKT('SRID=4674;POINT (-39.364369 -3.160128)'))) / (select extract(epoch from '2026-08-04 05:42:52'::timestamp) - extract(epoch from '2026-08-04 05:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364448 -3.160199)'), GeomFromEWKT('SRID=4674;POINT (-39.364369 -3.160128)'))) / (select extract(epoch from '2026-08-04 05:42:52'::timestamp) - extract(epoch from '2026-08-04 05:42:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.364283 -3.160057)', '2026-08-04 05:42:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364369 -3.160128)'), GeomFromEWKT('SRID=4674;POINT (-39.364283 -3.160057)'))) / (select extract(epoch from '2026-08-04 05:42:58'::timestamp) - extract(epoch from '2026-08-04 05:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364369 -3.160128)'), GeomFromEWKT('SRID=4674;POINT (-39.364283 -3.160057)'))) / (select extract(epoch from '2026-08-04 05:42:58'::timestamp) - extract(epoch from '2026-08-04 05:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.364182 -3.159972)', '2026-08-04 05:43:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364283 -3.160057)'), GeomFromEWKT('SRID=4674;POINT (-39.364182 -3.159972)'))) / (select extract(epoch from '2026-08-04 05:43:05'::timestamp) - extract(epoch from '2026-08-04 05:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364283 -3.160057)'), GeomFromEWKT('SRID=4674;POINT (-39.364182 -3.159972)'))) / (select extract(epoch from '2026-08-04 05:43:05'::timestamp) - extract(epoch from '2026-08-04 05:42: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'), 48166, 'SRID=4674;POINT (-39.36409 -3.159907)', '2026-08-04 05:43:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364182 -3.159972)'), GeomFromEWKT('SRID=4674;POINT (-39.36409 -3.159907)'))) / (select extract(epoch from '2026-08-04 05:43:11'::timestamp) - extract(epoch from '2026-08-04 05:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364182 -3.159972)'), GeomFromEWKT('SRID=4674;POINT (-39.36409 -3.159907)'))) / (select extract(epoch from '2026-08-04 05:43:11'::timestamp) - extract(epoch from '2026-08-04 05:43: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'), 48166, 'SRID=4674;POINT (-39.364009 -3.159838)', '2026-08-04 05:43:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36409 -3.159907)'), GeomFromEWKT('SRID=4674;POINT (-39.364009 -3.159838)'))) / (select extract(epoch from '2026-08-04 05:43:17'::timestamp) - extract(epoch from '2026-08-04 05:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36409 -3.159907)'), GeomFromEWKT('SRID=4674;POINT (-39.364009 -3.159838)'))) / (select extract(epoch from '2026-08-04 05:43:17'::timestamp) - extract(epoch from '2026-08-04 05:43: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'), 48166, 'SRID=4674;POINT (-39.363911 -3.159753)', '2026-08-04 05:43:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364009 -3.159838)'), GeomFromEWKT('SRID=4674;POINT (-39.363911 -3.159753)'))) / (select extract(epoch from '2026-08-04 05:43:24'::timestamp) - extract(epoch from '2026-08-04 05:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.364009 -3.159838)'), GeomFromEWKT('SRID=4674;POINT (-39.363911 -3.159753)'))) / (select extract(epoch from '2026-08-04 05:43:24'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.363837 -3.159681)', '2026-08-04 05:43:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363911 -3.159753)'), GeomFromEWKT('SRID=4674;POINT (-39.363837 -3.159681)'))) / (select extract(epoch from '2026-08-04 05:43:30'::timestamp) - extract(epoch from '2026-08-04 05:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363911 -3.159753)'), GeomFromEWKT('SRID=4674;POINT (-39.363837 -3.159681)'))) / (select extract(epoch from '2026-08-04 05:43:30'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.363758 -3.159608)', '2026-08-04 05:43:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363837 -3.159681)'), GeomFromEWKT('SRID=4674;POINT (-39.363758 -3.159608)'))) / (select extract(epoch from '2026-08-04 05:43:36'::timestamp) - extract(epoch from '2026-08-04 05:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363837 -3.159681)'), GeomFromEWKT('SRID=4674;POINT (-39.363758 -3.159608)'))) / (select extract(epoch from '2026-08-04 05:43:36'::timestamp) - extract(epoch from '2026-08-04 05:43: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'), 48166, 'SRID=4674;POINT (-39.363672 -3.159536)', '2026-08-04 05:43:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363758 -3.159608)'), GeomFromEWKT('SRID=4674;POINT (-39.363672 -3.159536)'))) / (select extract(epoch from '2026-08-04 05:43:42'::timestamp) - extract(epoch from '2026-08-04 05:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363758 -3.159608)'), GeomFromEWKT('SRID=4674;POINT (-39.363672 -3.159536)'))) / (select extract(epoch from '2026-08-04 05:43:42'::timestamp) - extract(epoch from '2026-08-04 05:43: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'), 48166, 'SRID=4674;POINT (-39.363515 -3.159419)', '2026-08-04 05:43:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363672 -3.159536)'), GeomFromEWKT('SRID=4674;POINT (-39.363515 -3.159419)'))) / (select extract(epoch from '2026-08-04 05:43:52'::timestamp) - extract(epoch from '2026-08-04 05:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363672 -3.159536)'), GeomFromEWKT('SRID=4674;POINT (-39.363515 -3.159419)'))) / (select extract(epoch from '2026-08-04 05:43:52'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.363397 -3.159347)', '2026-08-04 05:43:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363515 -3.159419)'), GeomFromEWKT('SRID=4674;POINT (-39.363397 -3.159347)'))) / (select extract(epoch from '2026-08-04 05:43:59'::timestamp) - extract(epoch from '2026-08-04 05:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363515 -3.159419)'), GeomFromEWKT('SRID=4674;POINT (-39.363397 -3.159347)'))) / (select extract(epoch from '2026-08-04 05:43:59'::timestamp) - extract(epoch from '2026-08-04 05:43:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.363319 -3.159292)', '2026-08-04 05:44:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363397 -3.159347)'), GeomFromEWKT('SRID=4674;POINT (-39.363319 -3.159292)'))) / (select extract(epoch from '2026-08-04 05:44:04'::timestamp) - extract(epoch from '2026-08-04 05:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363397 -3.159347)'), GeomFromEWKT('SRID=4674;POINT (-39.363319 -3.159292)'))) / (select extract(epoch from '2026-08-04 05:44:04'::timestamp) - extract(epoch from '2026-08-04 05:43: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'), 48166, 'SRID=4674;POINT (-39.363213 -3.159229)', '2026-08-04 05:44:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363319 -3.159292)'), GeomFromEWKT('SRID=4674;POINT (-39.363213 -3.159229)'))) / (select extract(epoch from '2026-08-04 05:44:10'::timestamp) - extract(epoch from '2026-08-04 05:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363319 -3.159292)'), GeomFromEWKT('SRID=4674;POINT (-39.363213 -3.159229)'))) / (select extract(epoch from '2026-08-04 05:44:10'::timestamp) - extract(epoch from '2026-08-04 05:44: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'), 48166, 'SRID=4674;POINT (-39.363092 -3.159162)', '2026-08-04 05:44:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363213 -3.159229)'), GeomFromEWKT('SRID=4674;POINT (-39.363092 -3.159162)'))) / (select extract(epoch from '2026-08-04 05:44:17'::timestamp) - extract(epoch from '2026-08-04 05:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363213 -3.159229)'), GeomFromEWKT('SRID=4674;POINT (-39.363092 -3.159162)'))) / (select extract(epoch from '2026-08-04 05:44:17'::timestamp) - extract(epoch from '2026-08-04 05:44:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.362992 -3.159102)', '2026-08-04 05:44:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363092 -3.159162)'), GeomFromEWKT('SRID=4674;POINT (-39.362992 -3.159102)'))) / (select extract(epoch from '2026-08-04 05:44:23'::timestamp) - extract(epoch from '2026-08-04 05:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.363092 -3.159162)'), GeomFromEWKT('SRID=4674;POINT (-39.362992 -3.159102)'))) / (select extract(epoch from '2026-08-04 05:44:23'::timestamp) - extract(epoch from '2026-08-04 05:44: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'), 48166, 'SRID=4674;POINT (-39.362876 -3.159032)', '2026-08-04 05:44:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362992 -3.159102)'), GeomFromEWKT('SRID=4674;POINT (-39.362876 -3.159032)'))) / (select extract(epoch from '2026-08-04 05:44:30'::timestamp) - extract(epoch from '2026-08-04 05:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362992 -3.159102)'), GeomFromEWKT('SRID=4674;POINT (-39.362876 -3.159032)'))) / (select extract(epoch from '2026-08-04 05:44:30'::timestamp) - extract(epoch from '2026-08-04 05:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.362782 -3.158962)', '2026-08-04 05:44:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362876 -3.159032)'), GeomFromEWKT('SRID=4674;POINT (-39.362782 -3.158962)'))) / (select extract(epoch from '2026-08-04 05:44:36'::timestamp) - extract(epoch from '2026-08-04 05:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362876 -3.159032)'), GeomFromEWKT('SRID=4674;POINT (-39.362782 -3.158962)'))) / (select extract(epoch from '2026-08-04 05:44:36'::timestamp) - extract(epoch from '2026-08-04 05:44:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.362668 -3.158885)', '2026-08-04 05:44:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362782 -3.158962)'), GeomFromEWKT('SRID=4674;POINT (-39.362668 -3.158885)'))) / (select extract(epoch from '2026-08-04 05:44:43'::timestamp) - extract(epoch from '2026-08-04 05:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362782 -3.158962)'), GeomFromEWKT('SRID=4674;POINT (-39.362668 -3.158885)'))) / (select extract(epoch from '2026-08-04 05:44:43'::timestamp) - extract(epoch from '2026-08-04 05:44: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'), 48166, 'SRID=4674;POINT (-39.362582 -3.158819)', '2026-08-04 05:44:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362668 -3.158885)'), GeomFromEWKT('SRID=4674;POINT (-39.362582 -3.158819)'))) / (select extract(epoch from '2026-08-04 05:44:49'::timestamp) - extract(epoch from '2026-08-04 05:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362668 -3.158885)'), GeomFromEWKT('SRID=4674;POINT (-39.362582 -3.158819)'))) / (select extract(epoch from '2026-08-04 05:44:49'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.362528 -3.158765)', '2026-08-04 05:44:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362582 -3.158819)'), GeomFromEWKT('SRID=4674;POINT (-39.362528 -3.158765)'))) / (select extract(epoch from '2026-08-04 05:44:54'::timestamp) - extract(epoch from '2026-08-04 05:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362582 -3.158819)'), GeomFromEWKT('SRID=4674;POINT (-39.362528 -3.158765)'))) / (select extract(epoch from '2026-08-04 05:44:54'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.362427 -3.158678)', '2026-08-04 05:45:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362528 -3.158765)'), GeomFromEWKT('SRID=4674;POINT (-39.362427 -3.158678)'))) / (select extract(epoch from '2026-08-04 05:45:01'::timestamp) - extract(epoch from '2026-08-04 05:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362528 -3.158765)'), GeomFromEWKT('SRID=4674;POINT (-39.362427 -3.158678)'))) / (select extract(epoch from '2026-08-04 05:45:01'::timestamp) - extract(epoch from '2026-08-04 05:44: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'), 48166, 'SRID=4674;POINT (-39.362334 -3.158598)', '2026-08-04 05:45:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362427 -3.158678)'), GeomFromEWKT('SRID=4674;POINT (-39.362334 -3.158598)'))) / (select extract(epoch from '2026-08-04 05:45:07'::timestamp) - extract(epoch from '2026-08-04 05:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362427 -3.158678)'), GeomFromEWKT('SRID=4674;POINT (-39.362334 -3.158598)'))) / (select extract(epoch from '2026-08-04 05:45:07'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.362223 -3.15851)', '2026-08-04 05:45:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362334 -3.158598)'), GeomFromEWKT('SRID=4674;POINT (-39.362223 -3.15851)'))) / (select extract(epoch from '2026-08-04 05:45:14'::timestamp) - extract(epoch from '2026-08-04 05:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362334 -3.158598)'), GeomFromEWKT('SRID=4674;POINT (-39.362223 -3.15851)'))) / (select extract(epoch from '2026-08-04 05:45:14'::timestamp) - extract(epoch from '2026-08-04 05:45: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'), 48166, 'SRID=4674;POINT (-39.362135 -3.158436)', '2026-08-04 05:45:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362223 -3.15851)'), GeomFromEWKT('SRID=4674;POINT (-39.362135 -3.158436)'))) / (select extract(epoch from '2026-08-04 05:45:20'::timestamp) - extract(epoch from '2026-08-04 05:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362223 -3.15851)'), GeomFromEWKT('SRID=4674;POINT (-39.362135 -3.158436)'))) / (select extract(epoch from '2026-08-04 05:45:20'::timestamp) - extract(epoch from '2026-08-04 05:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.362068 -3.158373)', '2026-08-04 05:45:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362135 -3.158436)'), GeomFromEWKT('SRID=4674;POINT (-39.362068 -3.158373)'))) / (select extract(epoch from '2026-08-04 05:45:25'::timestamp) - extract(epoch from '2026-08-04 05:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362135 -3.158436)'), GeomFromEWKT('SRID=4674;POINT (-39.362068 -3.158373)'))) / (select extract(epoch from '2026-08-04 05:45:25'::timestamp) - extract(epoch from '2026-08-04 05:45:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.361967 -3.158305)', '2026-08-04 05:45:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362068 -3.158373)'), GeomFromEWKT('SRID=4674;POINT (-39.361967 -3.158305)'))) / (select extract(epoch from '2026-08-04 05:45:31'::timestamp) - extract(epoch from '2026-08-04 05:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.362068 -3.158373)'), GeomFromEWKT('SRID=4674;POINT (-39.361967 -3.158305)'))) / (select extract(epoch from '2026-08-04 05:45:31'::timestamp) - extract(epoch from '2026-08-04 05:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36184 -3.158215)', '2026-08-04 05:45:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361967 -3.158305)'), GeomFromEWKT('SRID=4674;POINT (-39.36184 -3.158215)'))) / (select extract(epoch from '2026-08-04 05:45:39'::timestamp) - extract(epoch from '2026-08-04 05:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361967 -3.158305)'), GeomFromEWKT('SRID=4674;POINT (-39.36184 -3.158215)'))) / (select extract(epoch from '2026-08-04 05:45:39'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.361735 -3.158132)', '2026-08-04 05:45:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36184 -3.158215)'), GeomFromEWKT('SRID=4674;POINT (-39.361735 -3.158132)'))) / (select extract(epoch from '2026-08-04 05:45:46'::timestamp) - extract(epoch from '2026-08-04 05:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36184 -3.158215)'), GeomFromEWKT('SRID=4674;POINT (-39.361735 -3.158132)'))) / (select extract(epoch from '2026-08-04 05:45:46'::timestamp) - extract(epoch from '2026-08-04 05:45:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.36164 -3.158047)', '2026-08-04 05:45:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361735 -3.158132)'), GeomFromEWKT('SRID=4674;POINT (-39.36164 -3.158047)'))) / (select extract(epoch from '2026-08-04 05:45:53'::timestamp) - extract(epoch from '2026-08-04 05:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361735 -3.158132)'), GeomFromEWKT('SRID=4674;POINT (-39.36164 -3.158047)'))) / (select extract(epoch from '2026-08-04 05:45:53'::timestamp) - extract(epoch from '2026-08-04 05:45: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'), 48166, 'SRID=4674;POINT (-39.361541 -3.157955)', '2026-08-04 05:46:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36164 -3.158047)'), GeomFromEWKT('SRID=4674;POINT (-39.361541 -3.157955)'))) / (select extract(epoch from '2026-08-04 05:46:00'::timestamp) - extract(epoch from '2026-08-04 05:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36164 -3.158047)'), GeomFromEWKT('SRID=4674;POINT (-39.361541 -3.157955)'))) / (select extract(epoch from '2026-08-04 05:46:00'::timestamp) - extract(epoch from '2026-08-04 05:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.361455 -3.157875)', '2026-08-04 05:46:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361541 -3.157955)'), GeomFromEWKT('SRID=4674;POINT (-39.361455 -3.157875)'))) / (select extract(epoch from '2026-08-04 05:46:06'::timestamp) - extract(epoch from '2026-08-04 05:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361541 -3.157955)'), GeomFromEWKT('SRID=4674;POINT (-39.361455 -3.157875)'))) / (select extract(epoch from '2026-08-04 05:46:06'::timestamp) - extract(epoch from '2026-08-04 05:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.361346 -3.157792)', '2026-08-04 05:46:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361455 -3.157875)'), GeomFromEWKT('SRID=4674;POINT (-39.361346 -3.157792)'))) / (select extract(epoch from '2026-08-04 05:46:13'::timestamp) - extract(epoch from '2026-08-04 05:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361455 -3.157875)'), GeomFromEWKT('SRID=4674;POINT (-39.361346 -3.157792)'))) / (select extract(epoch from '2026-08-04 05:46:13'::timestamp) - extract(epoch from '2026-08-04 05:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.361211 -3.157727)', '2026-08-04 05:46:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361346 -3.157792)'), GeomFromEWKT('SRID=4674;POINT (-39.361211 -3.157727)'))) / (select extract(epoch from '2026-08-04 05:46:21'::timestamp) - extract(epoch from '2026-08-04 05:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361346 -3.157792)'), GeomFromEWKT('SRID=4674;POINT (-39.361211 -3.157727)'))) / (select extract(epoch from '2026-08-04 05:46:21'::timestamp) - extract(epoch from '2026-08-04 05:46: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'), 48166, 'SRID=4674;POINT (-39.361049 -3.157644)', '2026-08-04 05:46:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361211 -3.157727)'), GeomFromEWKT('SRID=4674;POINT (-39.361049 -3.157644)'))) / (select extract(epoch from '2026-08-04 05:46:30'::timestamp) - extract(epoch from '2026-08-04 05:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361211 -3.157727)'), GeomFromEWKT('SRID=4674;POINT (-39.361049 -3.157644)'))) / (select extract(epoch from '2026-08-04 05:46:30'::timestamp) - extract(epoch from '2026-08-04 05:46: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'), 48166, 'SRID=4674;POINT (-39.36091 -3.157568)', '2026-08-04 05:46:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361049 -3.157644)'), GeomFromEWKT('SRID=4674;POINT (-39.36091 -3.157568)'))) / (select extract(epoch from '2026-08-04 05:46:38'::timestamp) - extract(epoch from '2026-08-04 05:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.361049 -3.157644)'), GeomFromEWKT('SRID=4674;POINT (-39.36091 -3.157568)'))) / (select extract(epoch from '2026-08-04 05:46:38'::timestamp) - extract(epoch from '2026-08-04 05:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.360809 -3.157508)', '2026-08-04 05:46:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36091 -3.157568)'), GeomFromEWKT('SRID=4674;POINT (-39.360809 -3.157508)'))) / (select extract(epoch from '2026-08-04 05:46:44'::timestamp) - extract(epoch from '2026-08-04 05:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.36091 -3.157568)'), GeomFromEWKT('SRID=4674;POINT (-39.360809 -3.157508)'))) / (select extract(epoch from '2026-08-04 05:46:44'::timestamp) - extract(epoch from '2026-08-04 05:46: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'), 48166, 'SRID=4674;POINT (-39.360715 -3.157456)', '2026-08-04 05:46:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360809 -3.157508)'), GeomFromEWKT('SRID=4674;POINT (-39.360715 -3.157456)'))) / (select extract(epoch from '2026-08-04 05:46:50'::timestamp) - extract(epoch from '2026-08-04 05:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360809 -3.157508)'), GeomFromEWKT('SRID=4674;POINT (-39.360715 -3.157456)'))) / (select extract(epoch from '2026-08-04 05:46:50'::timestamp) - extract(epoch from '2026-08-04 05:46: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'), 48166, 'SRID=4674;POINT (-39.360615 -3.157397)', '2026-08-04 05:46:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360715 -3.157456)'), GeomFromEWKT('SRID=4674;POINT (-39.360615 -3.157397)'))) / (select extract(epoch from '2026-08-04 05:46:56'::timestamp) - extract(epoch from '2026-08-04 05:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360715 -3.157456)'), GeomFromEWKT('SRID=4674;POINT (-39.360615 -3.157397)'))) / (select extract(epoch from '2026-08-04 05:46:56'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.360505 -3.15732)', '2026-08-04 05:47:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360615 -3.157397)'), GeomFromEWKT('SRID=4674;POINT (-39.360505 -3.15732)'))) / (select extract(epoch from '2026-08-04 05:47:03'::timestamp) - extract(epoch from '2026-08-04 05:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360615 -3.157397)'), GeomFromEWKT('SRID=4674;POINT (-39.360505 -3.15732)'))) / (select extract(epoch from '2026-08-04 05:47:03'::timestamp) - extract(epoch from '2026-08-04 05:46: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'), 48166, 'SRID=4674;POINT (-39.360412 -3.157248)', '2026-08-04 05:47:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360505 -3.15732)'), GeomFromEWKT('SRID=4674;POINT (-39.360412 -3.157248)'))) / (select extract(epoch from '2026-08-04 05:47:09'::timestamp) - extract(epoch from '2026-08-04 05:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360505 -3.15732)'), GeomFromEWKT('SRID=4674;POINT (-39.360412 -3.157248)'))) / (select extract(epoch from '2026-08-04 05:47:09'::timestamp) - extract(epoch from '2026-08-04 05:47: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'), 48166, 'SRID=4674;POINT (-39.360321 -3.157192)', '2026-08-04 05:47:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360412 -3.157248)'), GeomFromEWKT('SRID=4674;POINT (-39.360321 -3.157192)'))) / (select extract(epoch from '2026-08-04 05:47:15'::timestamp) - extract(epoch from '2026-08-04 05:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360412 -3.157248)'), GeomFromEWKT('SRID=4674;POINT (-39.360321 -3.157192)'))) / (select extract(epoch from '2026-08-04 05:47:15'::timestamp) - extract(epoch from '2026-08-04 05:47: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'), 48166, 'SRID=4674;POINT (-39.360214 -3.157135)', '2026-08-04 05:47:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360321 -3.157192)'), GeomFromEWKT('SRID=4674;POINT (-39.360214 -3.157135)'))) / (select extract(epoch from '2026-08-04 05:47:22'::timestamp) - extract(epoch from '2026-08-04 05:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360321 -3.157192)'), GeomFromEWKT('SRID=4674;POINT (-39.360214 -3.157135)'))) / (select extract(epoch from '2026-08-04 05:47:22'::timestamp) - extract(epoch from '2026-08-04 05:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.360107 -3.157078)', '2026-08-04 05:47:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360214 -3.157135)'), GeomFromEWKT('SRID=4674;POINT (-39.360107 -3.157078)'))) / (select extract(epoch from '2026-08-04 05:47:29'::timestamp) - extract(epoch from '2026-08-04 05:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360214 -3.157135)'), GeomFromEWKT('SRID=4674;POINT (-39.360107 -3.157078)'))) / (select extract(epoch from '2026-08-04 05:47:29'::timestamp) - extract(epoch from '2026-08-04 05:47: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'), 48166, 'SRID=4674;POINT (-39.359995 -3.157014)', '2026-08-04 05:47:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360107 -3.157078)'), GeomFromEWKT('SRID=4674;POINT (-39.359995 -3.157014)'))) / (select extract(epoch from '2026-08-04 05:47:36'::timestamp) - extract(epoch from '2026-08-04 05:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.360107 -3.157078)'), GeomFromEWKT('SRID=4674;POINT (-39.359995 -3.157014)'))) / (select extract(epoch from '2026-08-04 05:47:36'::timestamp) - extract(epoch from '2026-08-04 05:47:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.359903 -3.156952)', '2026-08-04 05:47:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359995 -3.157014)'), GeomFromEWKT('SRID=4674;POINT (-39.359903 -3.156952)'))) / (select extract(epoch from '2026-08-04 05:47:42'::timestamp) - extract(epoch from '2026-08-04 05:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359995 -3.157014)'), GeomFromEWKT('SRID=4674;POINT (-39.359903 -3.156952)'))) / (select extract(epoch from '2026-08-04 05:47:42'::timestamp) - extract(epoch from '2026-08-04 05:47: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'), 48166, 'SRID=4674;POINT (-39.35978 -3.156872)', '2026-08-04 05:47:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359903 -3.156952)'), GeomFromEWKT('SRID=4674;POINT (-39.35978 -3.156872)'))) / (select extract(epoch from '2026-08-04 05:47:50'::timestamp) - extract(epoch from '2026-08-04 05:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359903 -3.156952)'), GeomFromEWKT('SRID=4674;POINT (-39.35978 -3.156872)'))) / (select extract(epoch from '2026-08-04 05:47:50'::timestamp) - extract(epoch from '2026-08-04 05:47: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'), 48166, 'SRID=4674;POINT (-39.359649 -3.156778)', '2026-08-04 05:47:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35978 -3.156872)'), GeomFromEWKT('SRID=4674;POINT (-39.359649 -3.156778)'))) / (select extract(epoch from '2026-08-04 05:47:58'::timestamp) - extract(epoch from '2026-08-04 05:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35978 -3.156872)'), GeomFromEWKT('SRID=4674;POINT (-39.359649 -3.156778)'))) / (select extract(epoch from '2026-08-04 05:47:58'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.359538 -3.156697)', '2026-08-04 05:48:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359649 -3.156778)'), GeomFromEWKT('SRID=4674;POINT (-39.359538 -3.156697)'))) / (select extract(epoch from '2026-08-04 05:48:05'::timestamp) - extract(epoch from '2026-08-04 05:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359649 -3.156778)'), GeomFromEWKT('SRID=4674;POINT (-39.359538 -3.156697)'))) / (select extract(epoch from '2026-08-04 05:48:05'::timestamp) - extract(epoch from '2026-08-04 05:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.359432 -3.156623)', '2026-08-04 05:48:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359538 -3.156697)'), GeomFromEWKT('SRID=4674;POINT (-39.359432 -3.156623)'))) / (select extract(epoch from '2026-08-04 05:48:12'::timestamp) - extract(epoch from '2026-08-04 05:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359538 -3.156697)'), GeomFromEWKT('SRID=4674;POINT (-39.359432 -3.156623)'))) / (select extract(epoch from '2026-08-04 05:48:12'::timestamp) - extract(epoch from '2026-08-04 05:48: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'), 48166, 'SRID=4674;POINT (-39.359339 -3.15655)', '2026-08-04 05:48:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359432 -3.156623)'), GeomFromEWKT('SRID=4674;POINT (-39.359339 -3.15655)'))) / (select extract(epoch from '2026-08-04 05:48:18'::timestamp) - extract(epoch from '2026-08-04 05:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359432 -3.156623)'), GeomFromEWKT('SRID=4674;POINT (-39.359339 -3.15655)'))) / (select extract(epoch from '2026-08-04 05:48:18'::timestamp) - extract(epoch from '2026-08-04 05:48: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'), 48166, 'SRID=4674;POINT (-39.359254 -3.156483)', '2026-08-04 05:48:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359339 -3.15655)'), GeomFromEWKT('SRID=4674;POINT (-39.359254 -3.156483)'))) / (select extract(epoch from '2026-08-04 05:48:24'::timestamp) - extract(epoch from '2026-08-04 05:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359339 -3.15655)'), GeomFromEWKT('SRID=4674;POINT (-39.359254 -3.156483)'))) / (select extract(epoch from '2026-08-04 05:48:24'::timestamp) - extract(epoch from '2026-08-04 05:48: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'), 48166, 'SRID=4674;POINT (-39.359152 -3.156403)', '2026-08-04 05:48:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359254 -3.156483)'), GeomFromEWKT('SRID=4674;POINT (-39.359152 -3.156403)'))) / (select extract(epoch from '2026-08-04 05:48:31'::timestamp) - extract(epoch from '2026-08-04 05:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359254 -3.156483)'), GeomFromEWKT('SRID=4674;POINT (-39.359152 -3.156403)'))) / (select extract(epoch from '2026-08-04 05:48:31'::timestamp) - extract(epoch from '2026-08-04 05:48: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'), 48166, 'SRID=4674;POINT (-39.359005 -3.156284)', '2026-08-04 05:48:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359152 -3.156403)'), GeomFromEWKT('SRID=4674;POINT (-39.359005 -3.156284)'))) / (select extract(epoch from '2026-08-04 05:48:40'::timestamp) - extract(epoch from '2026-08-04 05:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359152 -3.156403)'), GeomFromEWKT('SRID=4674;POINT (-39.359005 -3.156284)'))) / (select extract(epoch from '2026-08-04 05:48:40'::timestamp) - extract(epoch from '2026-08-04 05:48: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'), 48166, 'SRID=4674;POINT (-39.358902 -3.156191)', '2026-08-04 05:48:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359005 -3.156284)'), GeomFromEWKT('SRID=4674;POINT (-39.358902 -3.156191)'))) / (select extract(epoch from '2026-08-04 05:48:47'::timestamp) - extract(epoch from '2026-08-04 05:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.359005 -3.156284)'), GeomFromEWKT('SRID=4674;POINT (-39.358902 -3.156191)'))) / (select extract(epoch from '2026-08-04 05:48:47'::timestamp) - extract(epoch from '2026-08-04 05:48: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'), 48166, 'SRID=4674;POINT (-39.358818 -3.156115)', '2026-08-04 05:48:53', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358902 -3.156191)'), GeomFromEWKT('SRID=4674;POINT (-39.358818 -3.156115)'))) / (select extract(epoch from '2026-08-04 05:48:53'::timestamp) - extract(epoch from '2026-08-04 05:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358902 -3.156191)'), GeomFromEWKT('SRID=4674;POINT (-39.358818 -3.156115)'))) / (select extract(epoch from '2026-08-04 05:48:53'::timestamp) - extract(epoch from '2026-08-04 05:48: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'), 48166, 'SRID=4674;POINT (-39.358715 -3.156036)', '2026-08-04 05:49:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358818 -3.156115)'), GeomFromEWKT('SRID=4674;POINT (-39.358715 -3.156036)'))) / (select extract(epoch from '2026-08-04 05:49:00'::timestamp) - extract(epoch from '2026-08-04 05:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358818 -3.156115)'), GeomFromEWKT('SRID=4674;POINT (-39.358715 -3.156036)'))) / (select extract(epoch from '2026-08-04 05:49:00'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.358605 -3.155964)', '2026-08-04 05:49:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358715 -3.156036)'), GeomFromEWKT('SRID=4674;POINT (-39.358605 -3.155964)'))) / (select extract(epoch from '2026-08-04 05:49:07'::timestamp) - extract(epoch from '2026-08-04 05:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358715 -3.156036)'), GeomFromEWKT('SRID=4674;POINT (-39.358605 -3.155964)'))) / (select extract(epoch from '2026-08-04 05:49:07'::timestamp) - extract(epoch from '2026-08-04 05:49: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'), 48166, 'SRID=4674;POINT (-39.358516 -3.155919)', '2026-08-04 05:49:12', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358605 -3.155964)'), GeomFromEWKT('SRID=4674;POINT (-39.358516 -3.155919)'))) / (select extract(epoch from '2026-08-04 05:49:12'::timestamp) - extract(epoch from '2026-08-04 05:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358605 -3.155964)'), GeomFromEWKT('SRID=4674;POINT (-39.358516 -3.155919)'))) / (select extract(epoch from '2026-08-04 05:49:12'::timestamp) - extract(epoch from '2026-08-04 05:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.358422 -3.155861)', '2026-08-04 05:49:18', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358516 -3.155919)'), GeomFromEWKT('SRID=4674;POINT (-39.358422 -3.155861)'))) / (select extract(epoch from '2026-08-04 05:49:18'::timestamp) - extract(epoch from '2026-08-04 05:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358516 -3.155919)'), GeomFromEWKT('SRID=4674;POINT (-39.358422 -3.155861)'))) / (select extract(epoch from '2026-08-04 05:49:18'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.358308 -3.15579)', '2026-08-04 05:49:25', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358422 -3.155861)'), GeomFromEWKT('SRID=4674;POINT (-39.358308 -3.15579)'))) / (select extract(epoch from '2026-08-04 05:49:25'::timestamp) - extract(epoch from '2026-08-04 05:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358422 -3.155861)'), GeomFromEWKT('SRID=4674;POINT (-39.358308 -3.15579)'))) / (select extract(epoch from '2026-08-04 05:49:25'::timestamp) - extract(epoch from '2026-08-04 05:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.358198 -3.155706)', '2026-08-04 05:49:32', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358308 -3.15579)'), GeomFromEWKT('SRID=4674;POINT (-39.358198 -3.155706)'))) / (select extract(epoch from '2026-08-04 05:49:32'::timestamp) - extract(epoch from '2026-08-04 05:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358308 -3.15579)'), GeomFromEWKT('SRID=4674;POINT (-39.358198 -3.155706)'))) / (select extract(epoch from '2026-08-04 05:49:32'::timestamp) - extract(epoch from '2026-08-04 05:49: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'), 48166, 'SRID=4674;POINT (-39.358065 -3.155604)', '2026-08-04 05:49:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358198 -3.155706)'), GeomFromEWKT('SRID=4674;POINT (-39.358065 -3.155604)'))) / (select extract(epoch from '2026-08-04 05:49:40'::timestamp) - extract(epoch from '2026-08-04 05:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358198 -3.155706)'), GeomFromEWKT('SRID=4674;POINT (-39.358065 -3.155604)'))) / (select extract(epoch from '2026-08-04 05:49:40'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.357972 -3.155524)', '2026-08-04 05:49:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358065 -3.155604)'), GeomFromEWKT('SRID=4674;POINT (-39.357972 -3.155524)'))) / (select extract(epoch from '2026-08-04 05:49:46'::timestamp) - extract(epoch from '2026-08-04 05:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.358065 -3.155604)'), GeomFromEWKT('SRID=4674;POINT (-39.357972 -3.155524)'))) / (select extract(epoch from '2026-08-04 05:49:46'::timestamp) - extract(epoch from '2026-08-04 05:49: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'), 48166, 'SRID=4674;POINT (-39.357891 -3.155463)', '2026-08-04 05:49:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357972 -3.155524)'), GeomFromEWKT('SRID=4674;POINT (-39.357891 -3.155463)'))) / (select extract(epoch from '2026-08-04 05:49:51'::timestamp) - extract(epoch from '2026-08-04 05:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357972 -3.155524)'), GeomFromEWKT('SRID=4674;POINT (-39.357891 -3.155463)'))) / (select extract(epoch from '2026-08-04 05:49:51'::timestamp) - extract(epoch from '2026-08-04 05:49: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'), 48166, 'SRID=4674;POINT (-39.357795 -3.155386)', '2026-08-04 05:49:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357891 -3.155463)'), GeomFromEWKT('SRID=4674;POINT (-39.357795 -3.155386)'))) / (select extract(epoch from '2026-08-04 05:49:57'::timestamp) - extract(epoch from '2026-08-04 05:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357891 -3.155463)'), GeomFromEWKT('SRID=4674;POINT (-39.357795 -3.155386)'))) / (select extract(epoch from '2026-08-04 05:49:57'::timestamp) - extract(epoch from '2026-08-04 05:49: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'), 48166, 'SRID=4674;POINT (-39.357716 -3.155315)', '2026-08-04 05:50:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357795 -3.155386)'), GeomFromEWKT('SRID=4674;POINT (-39.357716 -3.155315)'))) / (select extract(epoch from '2026-08-04 05:50:02'::timestamp) - extract(epoch from '2026-08-04 05:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357795 -3.155386)'), GeomFromEWKT('SRID=4674;POINT (-39.357716 -3.155315)'))) / (select extract(epoch from '2026-08-04 05:50:02'::timestamp) - extract(epoch from '2026-08-04 05:49:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.357613 -3.155247)', '2026-08-04 05:50:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357716 -3.155315)'), GeomFromEWKT('SRID=4674;POINT (-39.357613 -3.155247)'))) / (select extract(epoch from '2026-08-04 05:50:08'::timestamp) - extract(epoch from '2026-08-04 05:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357716 -3.155315)'), GeomFromEWKT('SRID=4674;POINT (-39.357613 -3.155247)'))) / (select extract(epoch from '2026-08-04 05:50:08'::timestamp) - extract(epoch from '2026-08-04 05:50: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'), 48166, 'SRID=4674;POINT (-39.35753 -3.155196)', '2026-08-04 05:50:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357613 -3.155247)'), GeomFromEWKT('SRID=4674;POINT (-39.35753 -3.155196)'))) / (select extract(epoch from '2026-08-04 05:50:13'::timestamp) - extract(epoch from '2026-08-04 05:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357613 -3.155247)'), GeomFromEWKT('SRID=4674;POINT (-39.35753 -3.155196)'))) / (select extract(epoch from '2026-08-04 05:50:13'::timestamp) - extract(epoch from '2026-08-04 05:50: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'), 48166, 'SRID=4674;POINT (-39.357415 -3.155111)', '2026-08-04 05:50:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35753 -3.155196)'), GeomFromEWKT('SRID=4674;POINT (-39.357415 -3.155111)'))) / (select extract(epoch from '2026-08-04 05:50:21'::timestamp) - extract(epoch from '2026-08-04 05:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35753 -3.155196)'), GeomFromEWKT('SRID=4674;POINT (-39.357415 -3.155111)'))) / (select extract(epoch from '2026-08-04 05:50:21'::timestamp) - extract(epoch from '2026-08-04 05:50: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'), 48166, 'SRID=4674;POINT (-39.3573 -3.155031)', '2026-08-04 05:50:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357415 -3.155111)'), GeomFromEWKT('SRID=4674;POINT (-39.3573 -3.155031)'))) / (select extract(epoch from '2026-08-04 05:50:28'::timestamp) - extract(epoch from '2026-08-04 05:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357415 -3.155111)'), GeomFromEWKT('SRID=4674;POINT (-39.3573 -3.155031)'))) / (select extract(epoch from '2026-08-04 05:50:28'::timestamp) - extract(epoch from '2026-08-04 05:50: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'), 48166, 'SRID=4674;POINT (-39.357204 -3.154948)', '2026-08-04 05:50:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3573 -3.155031)'), GeomFromEWKT('SRID=4674;POINT (-39.357204 -3.154948)'))) / (select extract(epoch from '2026-08-04 05:50:34'::timestamp) - extract(epoch from '2026-08-04 05:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3573 -3.155031)'), GeomFromEWKT('SRID=4674;POINT (-39.357204 -3.154948)'))) / (select extract(epoch from '2026-08-04 05:50:34'::timestamp) - extract(epoch from '2026-08-04 05:50: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'), 48166, 'SRID=4674;POINT (-39.357126 -3.154883)', '2026-08-04 05:50:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357204 -3.154948)'), GeomFromEWKT('SRID=4674;POINT (-39.357126 -3.154883)'))) / (select extract(epoch from '2026-08-04 05:50:39'::timestamp) - extract(epoch from '2026-08-04 05:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357204 -3.154948)'), GeomFromEWKT('SRID=4674;POINT (-39.357126 -3.154883)'))) / (select extract(epoch from '2026-08-04 05:50:39'::timestamp) - extract(epoch from '2026-08-04 05:50: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'), 48166, 'SRID=4674;POINT (-39.357052 -3.154814)', '2026-08-04 05:50:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357126 -3.154883)'), GeomFromEWKT('SRID=4674;POINT (-39.357052 -3.154814)'))) / (select extract(epoch from '2026-08-04 05:50:44'::timestamp) - extract(epoch from '2026-08-04 05:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357126 -3.154883)'), GeomFromEWKT('SRID=4674;POINT (-39.357052 -3.154814)'))) / (select extract(epoch from '2026-08-04 05:50:44'::timestamp) - extract(epoch from '2026-08-04 05:50:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.356965 -3.154726)', '2026-08-04 05:50:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357052 -3.154814)'), GeomFromEWKT('SRID=4674;POINT (-39.356965 -3.154726)'))) / (select extract(epoch from '2026-08-04 05:50:50'::timestamp) - extract(epoch from '2026-08-04 05:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.357052 -3.154814)'), GeomFromEWKT('SRID=4674;POINT (-39.356965 -3.154726)'))) / (select extract(epoch from '2026-08-04 05:50:50'::timestamp) - extract(epoch from '2026-08-04 05:50:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.356872 -3.154636)', '2026-08-04 05:50:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356965 -3.154726)'), GeomFromEWKT('SRID=4674;POINT (-39.356872 -3.154636)'))) / (select extract(epoch from '2026-08-04 05:50:56'::timestamp) - extract(epoch from '2026-08-04 05:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356965 -3.154726)'), GeomFromEWKT('SRID=4674;POINT (-39.356872 -3.154636)'))) / (select extract(epoch from '2026-08-04 05:50:56'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.356776 -3.15456)', '2026-08-04 05:51:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356872 -3.154636)'), GeomFromEWKT('SRID=4674;POINT (-39.356776 -3.15456)'))) / (select extract(epoch from '2026-08-04 05:51:02'::timestamp) - extract(epoch from '2026-08-04 05:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356872 -3.154636)'), GeomFromEWKT('SRID=4674;POINT (-39.356776 -3.15456)'))) / (select extract(epoch from '2026-08-04 05:51:02'::timestamp) - extract(epoch from '2026-08-04 05:50: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'), 48166, 'SRID=4674;POINT (-39.356665 -3.15448)', '2026-08-04 05:51:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356776 -3.15456)'), GeomFromEWKT('SRID=4674;POINT (-39.356665 -3.15448)'))) / (select extract(epoch from '2026-08-04 05:51:09'::timestamp) - extract(epoch from '2026-08-04 05:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356776 -3.15456)'), GeomFromEWKT('SRID=4674;POINT (-39.356665 -3.15448)'))) / (select extract(epoch from '2026-08-04 05:51:09'::timestamp) - extract(epoch from '2026-08-04 05:51: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'), 48166, 'SRID=4674;POINT (-39.356587 -3.1544)', '2026-08-04 05:51:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356665 -3.15448)'), GeomFromEWKT('SRID=4674;POINT (-39.356587 -3.1544)'))) / (select extract(epoch from '2026-08-04 05:51:15'::timestamp) - extract(epoch from '2026-08-04 05:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356665 -3.15448)'), GeomFromEWKT('SRID=4674;POINT (-39.356587 -3.1544)'))) / (select extract(epoch from '2026-08-04 05:51:15'::timestamp) - extract(epoch from '2026-08-04 05:51: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'), 48166, 'SRID=4674;POINT (-39.356497 -3.154339)', '2026-08-04 05:51:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356587 -3.1544)'), GeomFromEWKT('SRID=4674;POINT (-39.356497 -3.154339)'))) / (select extract(epoch from '2026-08-04 05:51:21'::timestamp) - extract(epoch from '2026-08-04 05:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356587 -3.1544)'), GeomFromEWKT('SRID=4674;POINT (-39.356497 -3.154339)'))) / (select extract(epoch from '2026-08-04 05:51:21'::timestamp) - extract(epoch from '2026-08-04 05:51:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.356419 -3.154256)', '2026-08-04 05:51:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356497 -3.154339)'), GeomFromEWKT('SRID=4674;POINT (-39.356419 -3.154256)'))) / (select extract(epoch from '2026-08-04 05:51:27'::timestamp) - extract(epoch from '2026-08-04 05:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356497 -3.154339)'), GeomFromEWKT('SRID=4674;POINT (-39.356419 -3.154256)'))) / (select extract(epoch from '2026-08-04 05:51:27'::timestamp) - extract(epoch from '2026-08-04 05:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.356325 -3.154151)', '2026-08-04 05:51:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356419 -3.154256)'), GeomFromEWKT('SRID=4674;POINT (-39.356325 -3.154151)'))) / (select extract(epoch from '2026-08-04 05:51:34'::timestamp) - extract(epoch from '2026-08-04 05:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356419 -3.154256)'), GeomFromEWKT('SRID=4674;POINT (-39.356325 -3.154151)'))) / (select extract(epoch from '2026-08-04 05:51:34'::timestamp) - extract(epoch from '2026-08-04 05:51: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'), 48166, 'SRID=4674;POINT (-39.356236 -3.15406)', '2026-08-04 05:51:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356325 -3.154151)'), GeomFromEWKT('SRID=4674;POINT (-39.356236 -3.15406)'))) / (select extract(epoch from '2026-08-04 05:51:40'::timestamp) - extract(epoch from '2026-08-04 05:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356325 -3.154151)'), GeomFromEWKT('SRID=4674;POINT (-39.356236 -3.15406)'))) / (select extract(epoch from '2026-08-04 05:51:40'::timestamp) - extract(epoch from '2026-08-04 05:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.356144 -3.153985)', '2026-08-04 05:51:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356236 -3.15406)'), GeomFromEWKT('SRID=4674;POINT (-39.356144 -3.153985)'))) / (select extract(epoch from '2026-08-04 05:51:46'::timestamp) - extract(epoch from '2026-08-04 05:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356236 -3.15406)'), GeomFromEWKT('SRID=4674;POINT (-39.356144 -3.153985)'))) / (select extract(epoch from '2026-08-04 05:51:46'::timestamp) - extract(epoch from '2026-08-04 05:51: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'), 48166, 'SRID=4674;POINT (-39.356026 -3.15388)', '2026-08-04 05:51:54', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356144 -3.153985)'), GeomFromEWKT('SRID=4674;POINT (-39.356026 -3.15388)'))) / (select extract(epoch from '2026-08-04 05:51:54'::timestamp) - extract(epoch from '2026-08-04 05:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356144 -3.153985)'), GeomFromEWKT('SRID=4674;POINT (-39.356026 -3.15388)'))) / (select extract(epoch from '2026-08-04 05:51:54'::timestamp) - extract(epoch from '2026-08-04 05:51:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.355951 -3.153818)', '2026-08-04 05:51:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356026 -3.15388)'), GeomFromEWKT('SRID=4674;POINT (-39.355951 -3.153818)'))) / (select extract(epoch from '2026-08-04 05:51:59'::timestamp) - extract(epoch from '2026-08-04 05:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.356026 -3.15388)'), GeomFromEWKT('SRID=4674;POINT (-39.355951 -3.153818)'))) / (select extract(epoch from '2026-08-04 05:51:59'::timestamp) - extract(epoch from '2026-08-04 05:51: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'), 48166, 'SRID=4674;POINT (-39.355858 -3.153745)', '2026-08-04 05:52:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355951 -3.153818)'), GeomFromEWKT('SRID=4674;POINT (-39.355858 -3.153745)'))) / (select extract(epoch from '2026-08-04 05:52:05'::timestamp) - extract(epoch from '2026-08-04 05:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355951 -3.153818)'), GeomFromEWKT('SRID=4674;POINT (-39.355858 -3.153745)'))) / (select extract(epoch from '2026-08-04 05:52:05'::timestamp) - extract(epoch from '2026-08-04 05:51: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'), 48166, 'SRID=4674;POINT (-39.355742 -3.153661)', '2026-08-04 05:52:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355858 -3.153745)'), GeomFromEWKT('SRID=4674;POINT (-39.355742 -3.153661)'))) / (select extract(epoch from '2026-08-04 05:52:12'::timestamp) - extract(epoch from '2026-08-04 05:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355858 -3.153745)'), GeomFromEWKT('SRID=4674;POINT (-39.355742 -3.153661)'))) / (select extract(epoch from '2026-08-04 05:52:12'::timestamp) - extract(epoch from '2026-08-04 05:52: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'), 48166, 'SRID=4674;POINT (-39.355645 -3.153601)', '2026-08-04 05:52:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355742 -3.153661)'), GeomFromEWKT('SRID=4674;POINT (-39.355645 -3.153601)'))) / (select extract(epoch from '2026-08-04 05:52:18'::timestamp) - extract(epoch from '2026-08-04 05:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355742 -3.153661)'), GeomFromEWKT('SRID=4674;POINT (-39.355645 -3.153601)'))) / (select extract(epoch from '2026-08-04 05:52:18'::timestamp) - extract(epoch from '2026-08-04 05:52: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'), 48166, 'SRID=4674;POINT (-39.355535 -3.153525)', '2026-08-04 05:52:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355645 -3.153601)'), GeomFromEWKT('SRID=4674;POINT (-39.355535 -3.153525)'))) / (select extract(epoch from '2026-08-04 05:52:25'::timestamp) - extract(epoch from '2026-08-04 05:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355645 -3.153601)'), GeomFromEWKT('SRID=4674;POINT (-39.355535 -3.153525)'))) / (select extract(epoch from '2026-08-04 05:52:25'::timestamp) - extract(epoch from '2026-08-04 05:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.355458 -3.153461)', '2026-08-04 05:52:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355535 -3.153525)'), GeomFromEWKT('SRID=4674;POINT (-39.355458 -3.153461)'))) / (select extract(epoch from '2026-08-04 05:52:30'::timestamp) - extract(epoch from '2026-08-04 05:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355535 -3.153525)'), GeomFromEWKT('SRID=4674;POINT (-39.355458 -3.153461)'))) / (select extract(epoch from '2026-08-04 05:52:30'::timestamp) - extract(epoch from '2026-08-04 05:52: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'), 48166, 'SRID=4674;POINT (-39.355373 -3.153388)', '2026-08-04 05:52:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355458 -3.153461)'), GeomFromEWKT('SRID=4674;POINT (-39.355373 -3.153388)'))) / (select extract(epoch from '2026-08-04 05:52:36'::timestamp) - extract(epoch from '2026-08-04 05:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355458 -3.153461)'), GeomFromEWKT('SRID=4674;POINT (-39.355373 -3.153388)'))) / (select extract(epoch from '2026-08-04 05:52:36'::timestamp) - extract(epoch from '2026-08-04 05:52: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'), 48166, 'SRID=4674;POINT (-39.355285 -3.153314)', '2026-08-04 05:52:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355373 -3.153388)'), GeomFromEWKT('SRID=4674;POINT (-39.355285 -3.153314)'))) / (select extract(epoch from '2026-08-04 05:52:42'::timestamp) - extract(epoch from '2026-08-04 05:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355373 -3.153388)'), GeomFromEWKT('SRID=4674;POINT (-39.355285 -3.153314)'))) / (select extract(epoch from '2026-08-04 05:52:42'::timestamp) - extract(epoch from '2026-08-04 05:52: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'), 48166, 'SRID=4674;POINT (-39.355196 -3.153238)', '2026-08-04 05:52:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355285 -3.153314)'), GeomFromEWKT('SRID=4674;POINT (-39.355196 -3.153238)'))) / (select extract(epoch from '2026-08-04 05:52:48'::timestamp) - extract(epoch from '2026-08-04 05:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355285 -3.153314)'), GeomFromEWKT('SRID=4674;POINT (-39.355196 -3.153238)'))) / (select extract(epoch from '2026-08-04 05:52:48'::timestamp) - extract(epoch from '2026-08-04 05:52: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'), 48166, 'SRID=4674;POINT (-39.355102 -3.153161)', '2026-08-04 05:52:54', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355196 -3.153238)'), GeomFromEWKT('SRID=4674;POINT (-39.355102 -3.153161)'))) / (select extract(epoch from '2026-08-04 05:52:54'::timestamp) - extract(epoch from '2026-08-04 05:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355196 -3.153238)'), GeomFromEWKT('SRID=4674;POINT (-39.355102 -3.153161)'))) / (select extract(epoch from '2026-08-04 05:52:54'::timestamp) - extract(epoch from '2026-08-04 05:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.354992 -3.153074)', '2026-08-04 05:53:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355102 -3.153161)'), GeomFromEWKT('SRID=4674;POINT (-39.354992 -3.153074)'))) / (select extract(epoch from '2026-08-04 05:53:01'::timestamp) - extract(epoch from '2026-08-04 05:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.355102 -3.153161)'), GeomFromEWKT('SRID=4674;POINT (-39.354992 -3.153074)'))) / (select extract(epoch from '2026-08-04 05:53:01'::timestamp) - extract(epoch from '2026-08-04 05:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.354892 -3.153004)', '2026-08-04 05:53:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354992 -3.153074)'), GeomFromEWKT('SRID=4674;POINT (-39.354892 -3.153004)'))) / (select extract(epoch from '2026-08-04 05:53:07'::timestamp) - extract(epoch from '2026-08-04 05:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354992 -3.153074)'), GeomFromEWKT('SRID=4674;POINT (-39.354892 -3.153004)'))) / (select extract(epoch from '2026-08-04 05:53:07'::timestamp) - extract(epoch from '2026-08-04 05:53:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.354801 -3.152933)', '2026-08-04 05:53:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354892 -3.153004)'), GeomFromEWKT('SRID=4674;POINT (-39.354801 -3.152933)'))) / (select extract(epoch from '2026-08-04 05:53:13'::timestamp) - extract(epoch from '2026-08-04 05:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354892 -3.153004)'), GeomFromEWKT('SRID=4674;POINT (-39.354801 -3.152933)'))) / (select extract(epoch from '2026-08-04 05:53:13'::timestamp) - extract(epoch from '2026-08-04 05:53:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.35471 -3.152862)', '2026-08-04 05:53:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354801 -3.152933)'), GeomFromEWKT('SRID=4674;POINT (-39.35471 -3.152862)'))) / (select extract(epoch from '2026-08-04 05:53:19'::timestamp) - extract(epoch from '2026-08-04 05:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354801 -3.152933)'), GeomFromEWKT('SRID=4674;POINT (-39.35471 -3.152862)'))) / (select extract(epoch from '2026-08-04 05:53:19'::timestamp) - extract(epoch from '2026-08-04 05:53: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'), 48166, 'SRID=4674;POINT (-39.354631 -3.152804)', '2026-08-04 05:53:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35471 -3.152862)'), GeomFromEWKT('SRID=4674;POINT (-39.354631 -3.152804)'))) / (select extract(epoch from '2026-08-04 05:53:24'::timestamp) - extract(epoch from '2026-08-04 05:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35471 -3.152862)'), GeomFromEWKT('SRID=4674;POINT (-39.354631 -3.152804)'))) / (select extract(epoch from '2026-08-04 05:53:24'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.354544 -3.15274)', '2026-08-04 05:53:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354631 -3.152804)'), GeomFromEWKT('SRID=4674;POINT (-39.354544 -3.15274)'))) / (select extract(epoch from '2026-08-04 05:53:30'::timestamp) - extract(epoch from '2026-08-04 05:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354631 -3.152804)'), GeomFromEWKT('SRID=4674;POINT (-39.354544 -3.15274)'))) / (select extract(epoch from '2026-08-04 05:53:30'::timestamp) - extract(epoch from '2026-08-04 05:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.354447 -3.152669)', '2026-08-04 05:53:36', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354544 -3.15274)'), GeomFromEWKT('SRID=4674;POINT (-39.354447 -3.152669)'))) / (select extract(epoch from '2026-08-04 05:53:36'::timestamp) - extract(epoch from '2026-08-04 05:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354544 -3.15274)'), GeomFromEWKT('SRID=4674;POINT (-39.354447 -3.152669)'))) / (select extract(epoch from '2026-08-04 05:53:36'::timestamp) - extract(epoch from '2026-08-04 05:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.354337 -3.152575)', '2026-08-04 05:53:43', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354447 -3.152669)'), GeomFromEWKT('SRID=4674;POINT (-39.354337 -3.152575)'))) / (select extract(epoch from '2026-08-04 05:53:43'::timestamp) - extract(epoch from '2026-08-04 05:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354447 -3.152669)'), GeomFromEWKT('SRID=4674;POINT (-39.354337 -3.152575)'))) / (select extract(epoch from '2026-08-04 05:53:43'::timestamp) - extract(epoch from '2026-08-04 05:53:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.354209 -3.152479)', '2026-08-04 05:53:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354337 -3.152575)'), GeomFromEWKT('SRID=4674;POINT (-39.354209 -3.152479)'))) / (select extract(epoch from '2026-08-04 05:53:51'::timestamp) - extract(epoch from '2026-08-04 05:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354337 -3.152575)'), GeomFromEWKT('SRID=4674;POINT (-39.354209 -3.152479)'))) / (select extract(epoch from '2026-08-04 05:53:51'::timestamp) - extract(epoch from '2026-08-04 05:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.354105 -3.152392)', '2026-08-04 05:53:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354209 -3.152479)'), GeomFromEWKT('SRID=4674;POINT (-39.354105 -3.152392)'))) / (select extract(epoch from '2026-08-04 05:53:58'::timestamp) - extract(epoch from '2026-08-04 05:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354209 -3.152479)'), GeomFromEWKT('SRID=4674;POINT (-39.354105 -3.152392)'))) / (select extract(epoch from '2026-08-04 05:53:58'::timestamp) - extract(epoch from '2026-08-04 05:53: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'), 48166, 'SRID=4674;POINT (-39.354019 -3.152315)', '2026-08-04 05:54:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354105 -3.152392)'), GeomFromEWKT('SRID=4674;POINT (-39.354019 -3.152315)'))) / (select extract(epoch from '2026-08-04 05:54:04'::timestamp) - extract(epoch from '2026-08-04 05:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354105 -3.152392)'), GeomFromEWKT('SRID=4674;POINT (-39.354019 -3.152315)'))) / (select extract(epoch from '2026-08-04 05:54:04'::timestamp) - extract(epoch from '2026-08-04 05:53:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353938 -3.152232)', '2026-08-04 05:54:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354019 -3.152315)'), GeomFromEWKT('SRID=4674;POINT (-39.353938 -3.152232)'))) / (select extract(epoch from '2026-08-04 05:54:10'::timestamp) - extract(epoch from '2026-08-04 05:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.354019 -3.152315)'), GeomFromEWKT('SRID=4674;POINT (-39.353938 -3.152232)'))) / (select extract(epoch from '2026-08-04 05:54:10'::timestamp) - extract(epoch from '2026-08-04 05:54: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'), 48166, 'SRID=4674;POINT (-39.353853 -3.152158)', '2026-08-04 05:54:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353938 -3.152232)'), GeomFromEWKT('SRID=4674;POINT (-39.353853 -3.152158)'))) / (select extract(epoch from '2026-08-04 05:54:16'::timestamp) - extract(epoch from '2026-08-04 05:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353938 -3.152232)'), GeomFromEWKT('SRID=4674;POINT (-39.353853 -3.152158)'))) / (select extract(epoch from '2026-08-04 05:54:16'::timestamp) - extract(epoch from '2026-08-04 05:54: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'), 48166, 'SRID=4674;POINT (-39.35376 -3.152079)', '2026-08-04 05:54:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353853 -3.152158)'), GeomFromEWKT('SRID=4674;POINT (-39.35376 -3.152079)'))) / (select extract(epoch from '2026-08-04 05:54:22'::timestamp) - extract(epoch from '2026-08-04 05:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353853 -3.152158)'), GeomFromEWKT('SRID=4674;POINT (-39.35376 -3.152079)'))) / (select extract(epoch from '2026-08-04 05:54:22'::timestamp) - extract(epoch from '2026-08-04 05:54: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'), 48166, 'SRID=4674;POINT (-39.353658 -3.15198)', '2026-08-04 05:54:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35376 -3.152079)'), GeomFromEWKT('SRID=4674;POINT (-39.353658 -3.15198)'))) / (select extract(epoch from '2026-08-04 05:54:29'::timestamp) - extract(epoch from '2026-08-04 05:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35376 -3.152079)'), GeomFromEWKT('SRID=4674;POINT (-39.353658 -3.15198)'))) / (select extract(epoch from '2026-08-04 05:54:29'::timestamp) - extract(epoch from '2026-08-04 05:54: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'), 48166, 'SRID=4674;POINT (-39.353563 -3.151888)', '2026-08-04 05:54:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353658 -3.15198)'), GeomFromEWKT('SRID=4674;POINT (-39.353563 -3.151888)'))) / (select extract(epoch from '2026-08-04 05:54:36'::timestamp) - extract(epoch from '2026-08-04 05:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353658 -3.15198)'), GeomFromEWKT('SRID=4674;POINT (-39.353563 -3.151888)'))) / (select extract(epoch from '2026-08-04 05:54:36'::timestamp) - extract(epoch from '2026-08-04 05:54:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353492 -3.151827)', '2026-08-04 05:54:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353563 -3.151888)'), GeomFromEWKT('SRID=4674;POINT (-39.353492 -3.151827)'))) / (select extract(epoch from '2026-08-04 05:54:41'::timestamp) - extract(epoch from '2026-08-04 05:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353563 -3.151888)'), GeomFromEWKT('SRID=4674;POINT (-39.353492 -3.151827)'))) / (select extract(epoch from '2026-08-04 05:54:41'::timestamp) - extract(epoch from '2026-08-04 05:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353412 -3.151761)', '2026-08-04 05:54:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353492 -3.151827)'), GeomFromEWKT('SRID=4674;POINT (-39.353412 -3.151761)'))) / (select extract(epoch from '2026-08-04 05:54:46'::timestamp) - extract(epoch from '2026-08-04 05:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353492 -3.151827)'), GeomFromEWKT('SRID=4674;POINT (-39.353412 -3.151761)'))) / (select extract(epoch from '2026-08-04 05:54:46'::timestamp) - extract(epoch from '2026-08-04 05:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353326 -3.15169)', '2026-08-04 05:54:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353412 -3.151761)'), GeomFromEWKT('SRID=4674;POINT (-39.353326 -3.15169)'))) / (select extract(epoch from '2026-08-04 05:54:52'::timestamp) - extract(epoch from '2026-08-04 05:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353412 -3.151761)'), GeomFromEWKT('SRID=4674;POINT (-39.353326 -3.15169)'))) / (select extract(epoch from '2026-08-04 05:54:52'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.353237 -3.151614)', '2026-08-04 05:54:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353326 -3.15169)'), GeomFromEWKT('SRID=4674;POINT (-39.353237 -3.151614)'))) / (select extract(epoch from '2026-08-04 05:54:58'::timestamp) - extract(epoch from '2026-08-04 05:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353326 -3.15169)'), GeomFromEWKT('SRID=4674;POINT (-39.353237 -3.151614)'))) / (select extract(epoch from '2026-08-04 05:54:58'::timestamp) - extract(epoch from '2026-08-04 05:54:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353146 -3.151535)', '2026-08-04 05:55:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353237 -3.151614)'), GeomFromEWKT('SRID=4674;POINT (-39.353146 -3.151535)'))) / (select extract(epoch from '2026-08-04 05:55:04'::timestamp) - extract(epoch from '2026-08-04 05:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353237 -3.151614)'), GeomFromEWKT('SRID=4674;POINT (-39.353146 -3.151535)'))) / (select extract(epoch from '2026-08-04 05:55:04'::timestamp) - extract(epoch from '2026-08-04 05:54:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.353062 -3.151453)', '2026-08-04 05:55:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353146 -3.151535)'), GeomFromEWKT('SRID=4674;POINT (-39.353062 -3.151453)'))) / (select extract(epoch from '2026-08-04 05:55:10'::timestamp) - extract(epoch from '2026-08-04 05:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353146 -3.151535)'), GeomFromEWKT('SRID=4674;POINT (-39.353062 -3.151453)'))) / (select extract(epoch from '2026-08-04 05:55:10'::timestamp) - extract(epoch from '2026-08-04 05:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.35295 -3.151338)', '2026-08-04 05:55:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353062 -3.151453)'), GeomFromEWKT('SRID=4674;POINT (-39.35295 -3.151338)'))) / (select extract(epoch from '2026-08-04 05:55:18'::timestamp) - extract(epoch from '2026-08-04 05:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.353062 -3.151453)'), GeomFromEWKT('SRID=4674;POINT (-39.35295 -3.151338)'))) / (select extract(epoch from '2026-08-04 05:55:18'::timestamp) - extract(epoch from '2026-08-04 05:55: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'), 48166, 'SRID=4674;POINT (-39.35284 -3.151217)', '2026-08-04 05:55:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35295 -3.151338)'), GeomFromEWKT('SRID=4674;POINT (-39.35284 -3.151217)'))) / (select extract(epoch from '2026-08-04 05:55:26'::timestamp) - extract(epoch from '2026-08-04 05:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35295 -3.151338)'), GeomFromEWKT('SRID=4674;POINT (-39.35284 -3.151217)'))) / (select extract(epoch from '2026-08-04 05:55:26'::timestamp) - extract(epoch from '2026-08-04 05:55: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'), 48166, 'SRID=4674;POINT (-39.352747 -3.151116)', '2026-08-04 05:55:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35284 -3.151217)'), GeomFromEWKT('SRID=4674;POINT (-39.352747 -3.151116)'))) / (select extract(epoch from '2026-08-04 05:55:33'::timestamp) - extract(epoch from '2026-08-04 05:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35284 -3.151217)'), GeomFromEWKT('SRID=4674;POINT (-39.352747 -3.151116)'))) / (select extract(epoch from '2026-08-04 05:55:33'::timestamp) - extract(epoch from '2026-08-04 05:55: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'), 48166, 'SRID=4674;POINT (-39.352677 -3.151047)', '2026-08-04 05:55:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352747 -3.151116)'), GeomFromEWKT('SRID=4674;POINT (-39.352677 -3.151047)'))) / (select extract(epoch from '2026-08-04 05:55:38'::timestamp) - extract(epoch from '2026-08-04 05:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352747 -3.151116)'), GeomFromEWKT('SRID=4674;POINT (-39.352677 -3.151047)'))) / (select extract(epoch from '2026-08-04 05:55:38'::timestamp) - extract(epoch from '2026-08-04 05:55:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.352572 -3.150961)', '2026-08-04 05:55:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352677 -3.151047)'), GeomFromEWKT('SRID=4674;POINT (-39.352572 -3.150961)'))) / (select extract(epoch from '2026-08-04 05:55:45'::timestamp) - extract(epoch from '2026-08-04 05:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352677 -3.151047)'), GeomFromEWKT('SRID=4674;POINT (-39.352572 -3.150961)'))) / (select extract(epoch from '2026-08-04 05:55:45'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.352488 -3.15089)', '2026-08-04 05:55:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352572 -3.150961)'), GeomFromEWKT('SRID=4674;POINT (-39.352488 -3.15089)'))) / (select extract(epoch from '2026-08-04 05:55:51'::timestamp) - extract(epoch from '2026-08-04 05:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352572 -3.150961)'), GeomFromEWKT('SRID=4674;POINT (-39.352488 -3.15089)'))) / (select extract(epoch from '2026-08-04 05:55:51'::timestamp) - extract(epoch from '2026-08-04 05:55: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'), 48166, 'SRID=4674;POINT (-39.352407 -3.150805)', '2026-08-04 05:55:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352488 -3.15089)'), GeomFromEWKT('SRID=4674;POINT (-39.352407 -3.150805)'))) / (select extract(epoch from '2026-08-04 05:55:57'::timestamp) - extract(epoch from '2026-08-04 05:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352488 -3.15089)'), GeomFromEWKT('SRID=4674;POINT (-39.352407 -3.150805)'))) / (select extract(epoch from '2026-08-04 05:55:57'::timestamp) - extract(epoch from '2026-08-04 05:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.352309 -3.150696)', '2026-08-04 05:56:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352407 -3.150805)'), GeomFromEWKT('SRID=4674;POINT (-39.352309 -3.150696)'))) / (select extract(epoch from '2026-08-04 05:56:04'::timestamp) - extract(epoch from '2026-08-04 05:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352407 -3.150805)'), GeomFromEWKT('SRID=4674;POINT (-39.352309 -3.150696)'))) / (select extract(epoch from '2026-08-04 05:56:04'::timestamp) - extract(epoch from '2026-08-04 05:55:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.352202 -3.150605)', '2026-08-04 05:56:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352309 -3.150696)'), GeomFromEWKT('SRID=4674;POINT (-39.352202 -3.150605)'))) / (select extract(epoch from '2026-08-04 05:56:11'::timestamp) - extract(epoch from '2026-08-04 05:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352309 -3.150696)'), GeomFromEWKT('SRID=4674;POINT (-39.352202 -3.150605)'))) / (select extract(epoch from '2026-08-04 05:56:11'::timestamp) - extract(epoch from '2026-08-04 05:56: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'), 48166, 'SRID=4674;POINT (-39.352119 -3.150522)', '2026-08-04 05:56:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352202 -3.150605)'), GeomFromEWKT('SRID=4674;POINT (-39.352119 -3.150522)'))) / (select extract(epoch from '2026-08-04 05:56:17'::timestamp) - extract(epoch from '2026-08-04 05:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352202 -3.150605)'), GeomFromEWKT('SRID=4674;POINT (-39.352119 -3.150522)'))) / (select extract(epoch from '2026-08-04 05:56:17'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.35202 -3.15042)', '2026-08-04 05:56:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352119 -3.150522)'), GeomFromEWKT('SRID=4674;POINT (-39.35202 -3.15042)'))) / (select extract(epoch from '2026-08-04 05:56:24'::timestamp) - extract(epoch from '2026-08-04 05:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.352119 -3.150522)'), GeomFromEWKT('SRID=4674;POINT (-39.35202 -3.15042)'))) / (select extract(epoch from '2026-08-04 05:56:24'::timestamp) - extract(epoch from '2026-08-04 05:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.351958 -3.150349)', '2026-08-04 05:56:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35202 -3.15042)'), GeomFromEWKT('SRID=4674;POINT (-39.351958 -3.150349)'))) / (select extract(epoch from '2026-08-04 05:56:29'::timestamp) - extract(epoch from '2026-08-04 05:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35202 -3.15042)'), GeomFromEWKT('SRID=4674;POINT (-39.351958 -3.150349)'))) / (select extract(epoch from '2026-08-04 05:56:29'::timestamp) - extract(epoch from '2026-08-04 05:56: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'), 48166, 'SRID=4674;POINT (-39.351895 -3.150278)', '2026-08-04 05:56:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351958 -3.150349)'), GeomFromEWKT('SRID=4674;POINT (-39.351895 -3.150278)'))) / (select extract(epoch from '2026-08-04 05:56:34'::timestamp) - extract(epoch from '2026-08-04 05:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351958 -3.150349)'), GeomFromEWKT('SRID=4674;POINT (-39.351895 -3.150278)'))) / (select extract(epoch from '2026-08-04 05:56:34'::timestamp) - extract(epoch from '2026-08-04 05:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.3518 -3.150179)', '2026-08-04 05:56:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351895 -3.150278)'), GeomFromEWKT('SRID=4674;POINT (-39.3518 -3.150179)'))) / (select extract(epoch from '2026-08-04 05:56:41'::timestamp) - extract(epoch from '2026-08-04 05:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351895 -3.150278)'), GeomFromEWKT('SRID=4674;POINT (-39.3518 -3.150179)'))) / (select extract(epoch from '2026-08-04 05:56:41'::timestamp) - extract(epoch from '2026-08-04 05:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.351704 -3.150075)', '2026-08-04 05:56:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3518 -3.150179)'), GeomFromEWKT('SRID=4674;POINT (-39.351704 -3.150075)'))) / (select extract(epoch from '2026-08-04 05:56:48'::timestamp) - extract(epoch from '2026-08-04 05:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3518 -3.150179)'), GeomFromEWKT('SRID=4674;POINT (-39.351704 -3.150075)'))) / (select extract(epoch from '2026-08-04 05:56:48'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.351616 -3.149996)', '2026-08-04 05:56:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351704 -3.150075)'), GeomFromEWKT('SRID=4674;POINT (-39.351616 -3.149996)'))) / (select extract(epoch from '2026-08-04 05:56:54'::timestamp) - extract(epoch from '2026-08-04 05:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351704 -3.150075)'), GeomFromEWKT('SRID=4674;POINT (-39.351616 -3.149996)'))) / (select extract(epoch from '2026-08-04 05:56:54'::timestamp) - extract(epoch from '2026-08-04 05:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.351503 -3.149923)', '2026-08-04 05:57:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351616 -3.149996)'), GeomFromEWKT('SRID=4674;POINT (-39.351503 -3.149923)'))) / (select extract(epoch from '2026-08-04 05:57:01'::timestamp) - extract(epoch from '2026-08-04 05:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351616 -3.149996)'), GeomFromEWKT('SRID=4674;POINT (-39.351503 -3.149923)'))) / (select extract(epoch from '2026-08-04 05:57:01'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.351437 -3.149882)', '2026-08-04 05:57:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351503 -3.149923)'), GeomFromEWKT('SRID=4674;POINT (-39.351437 -3.149882)'))) / (select extract(epoch from '2026-08-04 05:57:05'::timestamp) - extract(epoch from '2026-08-04 05:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351503 -3.149923)'), GeomFromEWKT('SRID=4674;POINT (-39.351437 -3.149882)'))) / (select extract(epoch from '2026-08-04 05:57:05'::timestamp) - extract(epoch from '2026-08-04 05:57: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'), 48166, 'SRID=4674;POINT (-39.351405 -3.14986)', '2026-08-04 05:57:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351437 -3.149882)'), GeomFromEWKT('SRID=4674;POINT (-39.351405 -3.14986)'))) / (select extract(epoch from '2026-08-04 05:57:07'::timestamp) - extract(epoch from '2026-08-04 05:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351437 -3.149882)'), GeomFromEWKT('SRID=4674;POINT (-39.351405 -3.14986)'))) / (select extract(epoch from '2026-08-04 05:57:07'::timestamp) - extract(epoch from '2026-08-04 05:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.351295 -3.149788)', '2026-08-04 05:57:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351405 -3.14986)'), GeomFromEWKT('SRID=4674;POINT (-39.351295 -3.149788)'))) / (select extract(epoch from '2026-08-04 05:57:14'::timestamp) - extract(epoch from '2026-08-04 05:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351405 -3.14986)'), GeomFromEWKT('SRID=4674;POINT (-39.351295 -3.149788)'))) / (select extract(epoch from '2026-08-04 05:57:14'::timestamp) - extract(epoch from '2026-08-04 05:57:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.351197 -3.149688)', '2026-08-04 05:57:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351295 -3.149788)'), GeomFromEWKT('SRID=4674;POINT (-39.351197 -3.149688)'))) / (select extract(epoch from '2026-08-04 05:57:21'::timestamp) - extract(epoch from '2026-08-04 05:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351295 -3.149788)'), GeomFromEWKT('SRID=4674;POINT (-39.351197 -3.149688)'))) / (select extract(epoch from '2026-08-04 05:57:21'::timestamp) - extract(epoch from '2026-08-04 05:57:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.351141 -3.149606)', '2026-08-04 05:57:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351197 -3.149688)'), GeomFromEWKT('SRID=4674;POINT (-39.351141 -3.149606)'))) / (select extract(epoch from '2026-08-04 05:57:26'::timestamp) - extract(epoch from '2026-08-04 05:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351197 -3.149688)'), GeomFromEWKT('SRID=4674;POINT (-39.351141 -3.149606)'))) / (select extract(epoch from '2026-08-04 05:57:26'::timestamp) - extract(epoch from '2026-08-04 05:57: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'), 48166, 'SRID=4674;POINT (-39.35109 -3.149548)', '2026-08-04 05:57:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351141 -3.149606)'), GeomFromEWKT('SRID=4674;POINT (-39.35109 -3.149548)'))) / (select extract(epoch from '2026-08-04 05:57:30'::timestamp) - extract(epoch from '2026-08-04 05:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351141 -3.149606)'), GeomFromEWKT('SRID=4674;POINT (-39.35109 -3.149548)'))) / (select extract(epoch from '2026-08-04 05:57:30'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.351069 -3.149518)', '2026-08-04 05:57:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35109 -3.149548)'), GeomFromEWKT('SRID=4674;POINT (-39.351069 -3.149518)'))) / (select extract(epoch from '2026-08-04 05:57:32'::timestamp) - extract(epoch from '2026-08-04 05:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35109 -3.149548)'), GeomFromEWKT('SRID=4674;POINT (-39.351069 -3.149518)'))) / (select extract(epoch from '2026-08-04 05:57:32'::timestamp) - extract(epoch from '2026-08-04 05:57: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'), 48166, 'SRID=4674;POINT (-39.350978 -3.14941)', '2026-08-04 05:57:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351069 -3.149518)'), GeomFromEWKT('SRID=4674;POINT (-39.350978 -3.14941)'))) / (select extract(epoch from '2026-08-04 05:57:39'::timestamp) - extract(epoch from '2026-08-04 05:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.351069 -3.149518)'), GeomFromEWKT('SRID=4674;POINT (-39.350978 -3.14941)'))) / (select extract(epoch from '2026-08-04 05:57:39'::timestamp) - extract(epoch from '2026-08-04 05:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.350936 -3.149364)', '2026-08-04 05:57:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350978 -3.14941)'), GeomFromEWKT('SRID=4674;POINT (-39.350936 -3.149364)'))) / (select extract(epoch from '2026-08-04 05:57:42'::timestamp) - extract(epoch from '2026-08-04 05:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350978 -3.14941)'), GeomFromEWKT('SRID=4674;POINT (-39.350936 -3.149364)'))) / (select extract(epoch from '2026-08-04 05:57:42'::timestamp) - extract(epoch from '2026-08-04 05:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.350903 -3.149336)', '2026-08-04 05:57:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350936 -3.149364)'), GeomFromEWKT('SRID=4674;POINT (-39.350903 -3.149336)'))) / (select extract(epoch from '2026-08-04 05:57:44'::timestamp) - extract(epoch from '2026-08-04 05:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350936 -3.149364)'), GeomFromEWKT('SRID=4674;POINT (-39.350903 -3.149336)'))) / (select extract(epoch from '2026-08-04 05:57:44'::timestamp) - extract(epoch from '2026-08-04 05:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.350888 -3.149321)', '2026-08-04 05:57:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350903 -3.149336)'), GeomFromEWKT('SRID=4674;POINT (-39.350888 -3.149321)'))) / (select extract(epoch from '2026-08-04 05:57:45'::timestamp) - extract(epoch from '2026-08-04 05:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350903 -3.149336)'), GeomFromEWKT('SRID=4674;POINT (-39.350888 -3.149321)'))) / (select extract(epoch from '2026-08-04 05:57:45'::timestamp) - extract(epoch from '2026-08-04 05:57: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'), 48166, 'SRID=4674;POINT (-39.35085 -3.149279)', '2026-08-04 05:57:48', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350888 -3.149321)'), GeomFromEWKT('SRID=4674;POINT (-39.35085 -3.149279)'))) / (select extract(epoch from '2026-08-04 05:57:48'::timestamp) - extract(epoch from '2026-08-04 05:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350888 -3.149321)'), GeomFromEWKT('SRID=4674;POINT (-39.35085 -3.149279)'))) / (select extract(epoch from '2026-08-04 05:57:48'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.350798 -3.149228)', '2026-08-04 05:57:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35085 -3.149279)'), GeomFromEWKT('SRID=4674;POINT (-39.350798 -3.149228)'))) / (select extract(epoch from '2026-08-04 05:57:52'::timestamp) - extract(epoch from '2026-08-04 05:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35085 -3.149279)'), GeomFromEWKT('SRID=4674;POINT (-39.350798 -3.149228)'))) / (select extract(epoch from '2026-08-04 05:57:52'::timestamp) - extract(epoch from '2026-08-04 05:57: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'), 48166, 'SRID=4674;POINT (-39.350772 -3.149201)', '2026-08-04 05:57:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350798 -3.149228)'), GeomFromEWKT('SRID=4674;POINT (-39.350772 -3.149201)'))) / (select extract(epoch from '2026-08-04 05:57:54'::timestamp) - extract(epoch from '2026-08-04 05:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350798 -3.149228)'), GeomFromEWKT('SRID=4674;POINT (-39.350772 -3.149201)'))) / (select extract(epoch from '2026-08-04 05:57:54'::timestamp) - extract(epoch from '2026-08-04 05:57:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.350686 -3.149093)', '2026-08-04 05:58:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350772 -3.149201)'), GeomFromEWKT('SRID=4674;POINT (-39.350686 -3.149093)'))) / (select extract(epoch from '2026-08-04 05:58:01'::timestamp) - extract(epoch from '2026-08-04 05:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350772 -3.149201)'), GeomFromEWKT('SRID=4674;POINT (-39.350686 -3.149093)'))) / (select extract(epoch from '2026-08-04 05:58:01'::timestamp) - extract(epoch from '2026-08-04 05:57: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'), 48166, 'SRID=4674;POINT (-39.350598 -3.149006)', '2026-08-04 05:58:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350686 -3.149093)'), GeomFromEWKT('SRID=4674;POINT (-39.350598 -3.149006)'))) / (select extract(epoch from '2026-08-04 05:58:07'::timestamp) - extract(epoch from '2026-08-04 05:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350686 -3.149093)'), GeomFromEWKT('SRID=4674;POINT (-39.350598 -3.149006)'))) / (select extract(epoch from '2026-08-04 05:58:07'::timestamp) - extract(epoch from '2026-08-04 05:58: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'), 48166, 'SRID=4674;POINT (-39.350504 -3.148922)', '2026-08-04 05:58:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350598 -3.149006)'), GeomFromEWKT('SRID=4674;POINT (-39.350504 -3.148922)'))) / (select extract(epoch from '2026-08-04 05:58:13'::timestamp) - extract(epoch from '2026-08-04 05:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350598 -3.149006)'), GeomFromEWKT('SRID=4674;POINT (-39.350504 -3.148922)'))) / (select extract(epoch from '2026-08-04 05:58:13'::timestamp) - extract(epoch from '2026-08-04 05:58: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'), 48166, 'SRID=4674;POINT (-39.35042 -3.148838)', '2026-08-04 05:58:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350504 -3.148922)'), GeomFromEWKT('SRID=4674;POINT (-39.35042 -3.148838)'))) / (select extract(epoch from '2026-08-04 05:58:19'::timestamp) - extract(epoch from '2026-08-04 05:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350504 -3.148922)'), GeomFromEWKT('SRID=4674;POINT (-39.35042 -3.148838)'))) / (select extract(epoch from '2026-08-04 05:58:19'::timestamp) - extract(epoch from '2026-08-04 05:58: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'), 48166, 'SRID=4674;POINT (-39.350315 -3.148752)', '2026-08-04 05:58:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35042 -3.148838)'), GeomFromEWKT('SRID=4674;POINT (-39.350315 -3.148752)'))) / (select extract(epoch from '2026-08-04 05:58:26'::timestamp) - extract(epoch from '2026-08-04 05:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.35042 -3.148838)'), GeomFromEWKT('SRID=4674;POINT (-39.350315 -3.148752)'))) / (select extract(epoch from '2026-08-04 05:58:26'::timestamp) - extract(epoch from '2026-08-04 05:58: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'), 48166, 'SRID=4674;POINT (-39.350201 -3.148639)', '2026-08-04 05:58:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350315 -3.148752)'), GeomFromEWKT('SRID=4674;POINT (-39.350201 -3.148639)'))) / (select extract(epoch from '2026-08-04 05:58:34'::timestamp) - extract(epoch from '2026-08-04 05:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350315 -3.148752)'), GeomFromEWKT('SRID=4674;POINT (-39.350201 -3.148639)'))) / (select extract(epoch from '2026-08-04 05:58:34'::timestamp) - extract(epoch from '2026-08-04 05:58: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'), 48166, 'SRID=4674;POINT (-39.350115 -3.148552)', '2026-08-04 05:58:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350201 -3.148639)'), GeomFromEWKT('SRID=4674;POINT (-39.350115 -3.148552)'))) / (select extract(epoch from '2026-08-04 05:58:40'::timestamp) - extract(epoch from '2026-08-04 05:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350201 -3.148639)'), GeomFromEWKT('SRID=4674;POINT (-39.350115 -3.148552)'))) / (select extract(epoch from '2026-08-04 05:58:40'::timestamp) - extract(epoch from '2026-08-04 05:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.350034 -3.148467)', '2026-08-04 05:58:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350115 -3.148552)'), GeomFromEWKT('SRID=4674;POINT (-39.350034 -3.148467)'))) / (select extract(epoch from '2026-08-04 05:58:46'::timestamp) - extract(epoch from '2026-08-04 05:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350115 -3.148552)'), GeomFromEWKT('SRID=4674;POINT (-39.350034 -3.148467)'))) / (select extract(epoch from '2026-08-04 05:58:46'::timestamp) - extract(epoch from '2026-08-04 05:58:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34999 -3.148419)', '2026-08-04 05:58:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350034 -3.148467)'), GeomFromEWKT('SRID=4674;POINT (-39.34999 -3.148419)'))) / (select extract(epoch from '2026-08-04 05:58:49'::timestamp) - extract(epoch from '2026-08-04 05:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.350034 -3.148467)'), GeomFromEWKT('SRID=4674;POINT (-39.34999 -3.148419)'))) / (select extract(epoch from '2026-08-04 05:58:49'::timestamp) - extract(epoch from '2026-08-04 05:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.349977 -3.148402)', '2026-08-04 05:58:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34999 -3.148419)'), GeomFromEWKT('SRID=4674;POINT (-39.349977 -3.148402)'))) / (select extract(epoch from '2026-08-04 05:58:50'::timestamp) - extract(epoch from '2026-08-04 05:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34999 -3.148419)'), GeomFromEWKT('SRID=4674;POINT (-39.349977 -3.148402)'))) / (select extract(epoch from '2026-08-04 05:58:50'::timestamp) - extract(epoch from '2026-08-04 05:58: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'), 48166, 'SRID=4674;POINT (-39.349897 -3.148315)', '2026-08-04 05:58:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349977 -3.148402)'), GeomFromEWKT('SRID=4674;POINT (-39.349897 -3.148315)'))) / (select extract(epoch from '2026-08-04 05:58:56'::timestamp) - extract(epoch from '2026-08-04 05:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349977 -3.148402)'), GeomFromEWKT('SRID=4674;POINT (-39.349897 -3.148315)'))) / (select extract(epoch from '2026-08-04 05:58:56'::timestamp) - extract(epoch from '2026-08-04 05:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.349854 -3.148272)', '2026-08-04 05:58:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349897 -3.148315)'), GeomFromEWKT('SRID=4674;POINT (-39.349854 -3.148272)'))) / (select extract(epoch from '2026-08-04 05:58:59'::timestamp) - extract(epoch from '2026-08-04 05:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349897 -3.148315)'), GeomFromEWKT('SRID=4674;POINT (-39.349854 -3.148272)'))) / (select extract(epoch from '2026-08-04 05:58:59'::timestamp) - extract(epoch from '2026-08-04 05:58: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'), 48166, 'SRID=4674;POINT (-39.349828 -3.148249)', '2026-08-04 05:59:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349854 -3.148272)'), GeomFromEWKT('SRID=4674;POINT (-39.349828 -3.148249)'))) / (select extract(epoch from '2026-08-04 05:59:01'::timestamp) - extract(epoch from '2026-08-04 05:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349854 -3.148272)'), GeomFromEWKT('SRID=4674;POINT (-39.349828 -3.148249)'))) / (select extract(epoch from '2026-08-04 05:59:01'::timestamp) - extract(epoch from '2026-08-04 05:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.349754 -3.148159)', '2026-08-04 05:59:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349828 -3.148249)'), GeomFromEWKT('SRID=4674;POINT (-39.349754 -3.148159)'))) / (select extract(epoch from '2026-08-04 05:59:07'::timestamp) - extract(epoch from '2026-08-04 05:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349828 -3.148249)'), GeomFromEWKT('SRID=4674;POINT (-39.349754 -3.148159)'))) / (select extract(epoch from '2026-08-04 05:59:07'::timestamp) - extract(epoch from '2026-08-04 05:59: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'), 48166, 'SRID=4674;POINT (-39.349678 -3.148067)', '2026-08-04 05:59:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349754 -3.148159)'), GeomFromEWKT('SRID=4674;POINT (-39.349678 -3.148067)'))) / (select extract(epoch from '2026-08-04 05:59:13'::timestamp) - extract(epoch from '2026-08-04 05:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349754 -3.148159)'), GeomFromEWKT('SRID=4674;POINT (-39.349678 -3.148067)'))) / (select extract(epoch from '2026-08-04 05:59:13'::timestamp) - extract(epoch from '2026-08-04 05:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34958 -3.147965)', '2026-08-04 05:59:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349678 -3.148067)'), GeomFromEWKT('SRID=4674;POINT (-39.34958 -3.147965)'))) / (select extract(epoch from '2026-08-04 05:59:20'::timestamp) - extract(epoch from '2026-08-04 05:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349678 -3.148067)'), GeomFromEWKT('SRID=4674;POINT (-39.34958 -3.147965)'))) / (select extract(epoch from '2026-08-04 05:59:20'::timestamp) - extract(epoch from '2026-08-04 05:59: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'), 48166, 'SRID=4674;POINT (-39.349487 -3.14787)', '2026-08-04 05:59:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34958 -3.147965)'), GeomFromEWKT('SRID=4674;POINT (-39.349487 -3.14787)'))) / (select extract(epoch from '2026-08-04 05:59:27'::timestamp) - extract(epoch from '2026-08-04 05:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34958 -3.147965)'), GeomFromEWKT('SRID=4674;POINT (-39.349487 -3.14787)'))) / (select extract(epoch from '2026-08-04 05:59:27'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.349413 -3.147781)', '2026-08-04 05:59:33', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349487 -3.14787)'), GeomFromEWKT('SRID=4674;POINT (-39.349413 -3.147781)'))) / (select extract(epoch from '2026-08-04 05:59:33'::timestamp) - extract(epoch from '2026-08-04 05:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349487 -3.14787)'), GeomFromEWKT('SRID=4674;POINT (-39.349413 -3.147781)'))) / (select extract(epoch from '2026-08-04 05:59:33'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.349344 -3.147692)', '2026-08-04 05:59:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349413 -3.147781)'), GeomFromEWKT('SRID=4674;POINT (-39.349344 -3.147692)'))) / (select extract(epoch from '2026-08-04 05:59:39'::timestamp) - extract(epoch from '2026-08-04 05:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349413 -3.147781)'), GeomFromEWKT('SRID=4674;POINT (-39.349344 -3.147692)'))) / (select extract(epoch from '2026-08-04 05:59:39'::timestamp) - extract(epoch from '2026-08-04 05:59:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.349282 -3.147626)', '2026-08-04 05:59:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349344 -3.147692)'), GeomFromEWKT('SRID=4674;POINT (-39.349282 -3.147626)'))) / (select extract(epoch from '2026-08-04 05:59:44'::timestamp) - extract(epoch from '2026-08-04 05:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349344 -3.147692)'), GeomFromEWKT('SRID=4674;POINT (-39.349282 -3.147626)'))) / (select extract(epoch from '2026-08-04 05:59:44'::timestamp) - extract(epoch from '2026-08-04 05:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.349226 -3.147555)', '2026-08-04 05:59:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349282 -3.147626)'), GeomFromEWKT('SRID=4674;POINT (-39.349226 -3.147555)'))) / (select extract(epoch from '2026-08-04 05:59:49'::timestamp) - extract(epoch from '2026-08-04 05:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349282 -3.147626)'), GeomFromEWKT('SRID=4674;POINT (-39.349226 -3.147555)'))) / (select extract(epoch from '2026-08-04 05:59:49'::timestamp) - extract(epoch from '2026-08-04 05: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'), 48166, 'SRID=4674;POINT (-39.349168 -3.147463)', '2026-08-04 05:59:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349226 -3.147555)'), GeomFromEWKT('SRID=4674;POINT (-39.349168 -3.147463)'))) / (select extract(epoch from '2026-08-04 05:59:55'::timestamp) - extract(epoch from '2026-08-04 05:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349226 -3.147555)'), GeomFromEWKT('SRID=4674;POINT (-39.349168 -3.147463)'))) / (select extract(epoch from '2026-08-04 05:59:55'::timestamp) - extract(epoch from '2026-08-04 05:59: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'), 48166, 'SRID=4674;POINT (-39.349105 -3.147337)', '2026-08-04 06:00:02', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349168 -3.147463)'), GeomFromEWKT('SRID=4674;POINT (-39.349105 -3.147337)'))) / (select extract(epoch from '2026-08-04 06:00:02'::timestamp) - extract(epoch from '2026-08-04 05:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349168 -3.147463)'), GeomFromEWKT('SRID=4674;POINT (-39.349105 -3.147337)'))) / (select extract(epoch from '2026-08-04 06:00:02'::timestamp) - extract(epoch from '2026-08-04 05:59: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'), 48166, 'SRID=4674;POINT (-39.34905 -3.147248)', '2026-08-04 06:00:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349105 -3.147337)'), GeomFromEWKT('SRID=4674;POINT (-39.34905 -3.147248)'))) / (select extract(epoch from '2026-08-04 06:00:07'::timestamp) - extract(epoch from '2026-08-04 06:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.349105 -3.147337)'), GeomFromEWKT('SRID=4674;POINT (-39.34905 -3.147248)'))) / (select extract(epoch from '2026-08-04 06:00:07'::timestamp) - extract(epoch from '2026-08-04 06:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.348949 -3.147116)', '2026-08-04 06:00:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34905 -3.147248)'), GeomFromEWKT('SRID=4674;POINT (-39.348949 -3.147116)'))) / (select extract(epoch from '2026-08-04 06:00:15'::timestamp) - extract(epoch from '2026-08-04 06:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34905 -3.147248)'), GeomFromEWKT('SRID=4674;POINT (-39.348949 -3.147116)'))) / (select extract(epoch from '2026-08-04 06:00:15'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.348855 -3.14702)', '2026-08-04 06:00:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348949 -3.147116)'), GeomFromEWKT('SRID=4674;POINT (-39.348855 -3.14702)'))) / (select extract(epoch from '2026-08-04 06:00:22'::timestamp) - extract(epoch from '2026-08-04 06:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348949 -3.147116)'), GeomFromEWKT('SRID=4674;POINT (-39.348855 -3.14702)'))) / (select extract(epoch from '2026-08-04 06:00:22'::timestamp) - extract(epoch from '2026-08-04 06:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34879 -3.146946)', '2026-08-04 06:00:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348855 -3.14702)'), GeomFromEWKT('SRID=4674;POINT (-39.34879 -3.146946)'))) / (select extract(epoch from '2026-08-04 06:00:27'::timestamp) - extract(epoch from '2026-08-04 06:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348855 -3.14702)'), GeomFromEWKT('SRID=4674;POINT (-39.34879 -3.146946)'))) / (select extract(epoch from '2026-08-04 06:00:27'::timestamp) - extract(epoch from '2026-08-04 06:00: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'), 48166, 'SRID=4674;POINT (-39.348781 -3.146928)', '2026-08-04 06:00:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34879 -3.146946)'), GeomFromEWKT('SRID=4674;POINT (-39.348781 -3.146928)'))) / (select extract(epoch from '2026-08-04 06:00:28'::timestamp) - extract(epoch from '2026-08-04 06:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34879 -3.146946)'), GeomFromEWKT('SRID=4674;POINT (-39.348781 -3.146928)'))) / (select extract(epoch from '2026-08-04 06:00:28'::timestamp) - extract(epoch from '2026-08-04 06:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.348697 -3.146832)', '2026-08-04 06:00:35', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348781 -3.146928)'), GeomFromEWKT('SRID=4674;POINT (-39.348697 -3.146832)'))) / (select extract(epoch from '2026-08-04 06:00:35'::timestamp) - extract(epoch from '2026-08-04 06:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348781 -3.146928)'), GeomFromEWKT('SRID=4674;POINT (-39.348697 -3.146832)'))) / (select extract(epoch from '2026-08-04 06:00:35'::timestamp) - extract(epoch from '2026-08-04 06:00: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'), 48166, 'SRID=4674;POINT (-39.348628 -3.146737)', '2026-08-04 06:00:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348697 -3.146832)'), GeomFromEWKT('SRID=4674;POINT (-39.348628 -3.146737)'))) / (select extract(epoch from '2026-08-04 06:00:41'::timestamp) - extract(epoch from '2026-08-04 06:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348697 -3.146832)'), GeomFromEWKT('SRID=4674;POINT (-39.348628 -3.146737)'))) / (select extract(epoch from '2026-08-04 06:00:41'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.348554 -3.146642)', '2026-08-04 06:00:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348628 -3.146737)'), GeomFromEWKT('SRID=4674;POINT (-39.348554 -3.146642)'))) / (select extract(epoch from '2026-08-04 06:00:47'::timestamp) - extract(epoch from '2026-08-04 06:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348628 -3.146737)'), GeomFromEWKT('SRID=4674;POINT (-39.348554 -3.146642)'))) / (select extract(epoch from '2026-08-04 06:00:47'::timestamp) - extract(epoch from '2026-08-04 06:00: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'), 48166, 'SRID=4674;POINT (-39.348465 -3.146532)', '2026-08-04 06:00:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348554 -3.146642)'), GeomFromEWKT('SRID=4674;POINT (-39.348465 -3.146532)'))) / (select extract(epoch from '2026-08-04 06:00:54'::timestamp) - extract(epoch from '2026-08-04 06:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348554 -3.146642)'), GeomFromEWKT('SRID=4674;POINT (-39.348465 -3.146532)'))) / (select extract(epoch from '2026-08-04 06:00:54'::timestamp) - extract(epoch from '2026-08-04 06:00: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'), 48166, 'SRID=4674;POINT (-39.348389 -3.146433)', '2026-08-04 06:01:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348465 -3.146532)'), GeomFromEWKT('SRID=4674;POINT (-39.348389 -3.146433)'))) / (select extract(epoch from '2026-08-04 06:01:00'::timestamp) - extract(epoch from '2026-08-04 06:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348465 -3.146532)'), GeomFromEWKT('SRID=4674;POINT (-39.348389 -3.146433)'))) / (select extract(epoch from '2026-08-04 06:01:00'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.348377 -3.146417)', '2026-08-04 06:01:01', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348389 -3.146433)'), GeomFromEWKT('SRID=4674;POINT (-39.348377 -3.146417)'))) / (select extract(epoch from '2026-08-04 06:01:01'::timestamp) - extract(epoch from '2026-08-04 06:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348389 -3.146433)'), GeomFromEWKT('SRID=4674;POINT (-39.348377 -3.146417)'))) / (select extract(epoch from '2026-08-04 06:01:01'::timestamp) - extract(epoch from '2026-08-04 06:01: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'), 48166, 'SRID=4674;POINT (-39.348326 -3.146354)', '2026-08-04 06:01:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348377 -3.146417)'), GeomFromEWKT('SRID=4674;POINT (-39.348326 -3.146354)'))) / (select extract(epoch from '2026-08-04 06:01:05'::timestamp) - extract(epoch from '2026-08-04 06:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348377 -3.146417)'), GeomFromEWKT('SRID=4674;POINT (-39.348326 -3.146354)'))) / (select extract(epoch from '2026-08-04 06:01:05'::timestamp) - extract(epoch from '2026-08-04 06:01: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'), 48166, 'SRID=4674;POINT (-39.348277 -3.146288)', '2026-08-04 06:01:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348326 -3.146354)'), GeomFromEWKT('SRID=4674;POINT (-39.348277 -3.146288)'))) / (select extract(epoch from '2026-08-04 06:01:09'::timestamp) - extract(epoch from '2026-08-04 06:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348326 -3.146354)'), GeomFromEWKT('SRID=4674;POINT (-39.348277 -3.146288)'))) / (select extract(epoch from '2026-08-04 06:01:09'::timestamp) - extract(epoch from '2026-08-04 06:01:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.348269 -3.14627)', '2026-08-04 06:01:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348277 -3.146288)'), GeomFromEWKT('SRID=4674;POINT (-39.348269 -3.14627)'))) / (select extract(epoch from '2026-08-04 06:01:10'::timestamp) - extract(epoch from '2026-08-04 06:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348277 -3.146288)'), GeomFromEWKT('SRID=4674;POINT (-39.348269 -3.14627)'))) / (select extract(epoch from '2026-08-04 06:01:10'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.348185 -3.146152)', '2026-08-04 06:01:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348269 -3.14627)'), GeomFromEWKT('SRID=4674;POINT (-39.348185 -3.146152)'))) / (select extract(epoch from '2026-08-04 06:01:17'::timestamp) - extract(epoch from '2026-08-04 06:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348269 -3.14627)'), GeomFromEWKT('SRID=4674;POINT (-39.348185 -3.146152)'))) / (select extract(epoch from '2026-08-04 06:01:17'::timestamp) - extract(epoch from '2026-08-04 06:01: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'), 48166, 'SRID=4674;POINT (-39.348126 -3.146061)', '2026-08-04 06:01:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348185 -3.146152)'), GeomFromEWKT('SRID=4674;POINT (-39.348126 -3.146061)'))) / (select extract(epoch from '2026-08-04 06:01:22'::timestamp) - extract(epoch from '2026-08-04 06:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348185 -3.146152)'), GeomFromEWKT('SRID=4674;POINT (-39.348126 -3.146061)'))) / (select extract(epoch from '2026-08-04 06:01:22'::timestamp) - extract(epoch from '2026-08-04 06:01: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'), 48166, 'SRID=4674;POINT (-39.348047 -3.145969)', '2026-08-04 06:01:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348126 -3.146061)'), GeomFromEWKT('SRID=4674;POINT (-39.348047 -3.145969)'))) / (select extract(epoch from '2026-08-04 06:01:28'::timestamp) - extract(epoch from '2026-08-04 06:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348126 -3.146061)'), GeomFromEWKT('SRID=4674;POINT (-39.348047 -3.145969)'))) / (select extract(epoch from '2026-08-04 06:01:28'::timestamp) - extract(epoch from '2026-08-04 06:01: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'), 48166, 'SRID=4674;POINT (-39.347989 -3.145897)', '2026-08-04 06:01:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348047 -3.145969)'), GeomFromEWKT('SRID=4674;POINT (-39.347989 -3.145897)'))) / (select extract(epoch from '2026-08-04 06:01:33'::timestamp) - extract(epoch from '2026-08-04 06:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.348047 -3.145969)'), GeomFromEWKT('SRID=4674;POINT (-39.347989 -3.145897)'))) / (select extract(epoch from '2026-08-04 06:01:33'::timestamp) - extract(epoch from '2026-08-04 06:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.347917 -3.145804)', '2026-08-04 06:01:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347989 -3.145897)'), GeomFromEWKT('SRID=4674;POINT (-39.347917 -3.145804)'))) / (select extract(epoch from '2026-08-04 06:01:39'::timestamp) - extract(epoch from '2026-08-04 06:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347989 -3.145897)'), GeomFromEWKT('SRID=4674;POINT (-39.347917 -3.145804)'))) / (select extract(epoch from '2026-08-04 06:01:39'::timestamp) - extract(epoch from '2026-08-04 06:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.347835 -3.145688)', '2026-08-04 06:01:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347917 -3.145804)'), GeomFromEWKT('SRID=4674;POINT (-39.347835 -3.145688)'))) / (select extract(epoch from '2026-08-04 06:01:46'::timestamp) - extract(epoch from '2026-08-04 06:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347917 -3.145804)'), GeomFromEWKT('SRID=4674;POINT (-39.347835 -3.145688)'))) / (select extract(epoch from '2026-08-04 06:01:46'::timestamp) - extract(epoch from '2026-08-04 06:01: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'), 48166, 'SRID=4674;POINT (-39.347818 -3.145653)', '2026-08-04 06:01:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347835 -3.145688)'), GeomFromEWKT('SRID=4674;POINT (-39.347818 -3.145653)'))) / (select extract(epoch from '2026-08-04 06:01:48'::timestamp) - extract(epoch from '2026-08-04 06:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347835 -3.145688)'), GeomFromEWKT('SRID=4674;POINT (-39.347818 -3.145653)'))) / (select extract(epoch from '2026-08-04 06:01:48'::timestamp) - extract(epoch from '2026-08-04 06:01: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'), 48166, 'SRID=4674;POINT (-39.347778 -3.145612)', '2026-08-04 06:01:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347818 -3.145653)'), GeomFromEWKT('SRID=4674;POINT (-39.347778 -3.145612)'))) / (select extract(epoch from '2026-08-04 06:01:51'::timestamp) - extract(epoch from '2026-08-04 06:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347818 -3.145653)'), GeomFromEWKT('SRID=4674;POINT (-39.347778 -3.145612)'))) / (select extract(epoch from '2026-08-04 06:01:51'::timestamp) - extract(epoch from '2026-08-04 06:01:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.347682 -3.145516)', '2026-08-04 06:01:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347778 -3.145612)'), GeomFromEWKT('SRID=4674;POINT (-39.347682 -3.145516)'))) / (select extract(epoch from '2026-08-04 06:01:58'::timestamp) - extract(epoch from '2026-08-04 06:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347778 -3.145612)'), GeomFromEWKT('SRID=4674;POINT (-39.347682 -3.145516)'))) / (select extract(epoch from '2026-08-04 06:01:58'::timestamp) - extract(epoch from '2026-08-04 06:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.347612 -3.145428)', '2026-08-04 06:02:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347682 -3.145516)'), GeomFromEWKT('SRID=4674;POINT (-39.347612 -3.145428)'))) / (select extract(epoch from '2026-08-04 06:02:04'::timestamp) - extract(epoch from '2026-08-04 06:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347682 -3.145516)'), GeomFromEWKT('SRID=4674;POINT (-39.347612 -3.145428)'))) / (select extract(epoch from '2026-08-04 06:02:04'::timestamp) - extract(epoch from '2026-08-04 06:01: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'), 48166, 'SRID=4674;POINT (-39.347538 -3.145358)', '2026-08-04 06:02:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347612 -3.145428)'), GeomFromEWKT('SRID=4674;POINT (-39.347538 -3.145358)'))) / (select extract(epoch from '2026-08-04 06:02:09'::timestamp) - extract(epoch from '2026-08-04 06:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347612 -3.145428)'), GeomFromEWKT('SRID=4674;POINT (-39.347538 -3.145358)'))) / (select extract(epoch from '2026-08-04 06:02:09'::timestamp) - extract(epoch from '2026-08-04 06:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34746 -3.145266)', '2026-08-04 06:02:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347538 -3.145358)'), GeomFromEWKT('SRID=4674;POINT (-39.34746 -3.145266)'))) / (select extract(epoch from '2026-08-04 06:02:15'::timestamp) - extract(epoch from '2026-08-04 06:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347538 -3.145358)'), GeomFromEWKT('SRID=4674;POINT (-39.34746 -3.145266)'))) / (select extract(epoch from '2026-08-04 06:02:15'::timestamp) - extract(epoch from '2026-08-04 06:02: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'), 48166, 'SRID=4674;POINT (-39.347382 -3.145175)', '2026-08-04 06:02:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34746 -3.145266)'), GeomFromEWKT('SRID=4674;POINT (-39.347382 -3.145175)'))) / (select extract(epoch from '2026-08-04 06:02:21'::timestamp) - extract(epoch from '2026-08-04 06:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34746 -3.145266)'), GeomFromEWKT('SRID=4674;POINT (-39.347382 -3.145175)'))) / (select extract(epoch from '2026-08-04 06:02:21'::timestamp) - extract(epoch from '2026-08-04 06:02: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'), 48166, 'SRID=4674;POINT (-39.347293 -3.145083)', '2026-08-04 06:02:27', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347382 -3.145175)'), GeomFromEWKT('SRID=4674;POINT (-39.347293 -3.145083)'))) / (select extract(epoch from '2026-08-04 06:02:27'::timestamp) - extract(epoch from '2026-08-04 06:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347382 -3.145175)'), GeomFromEWKT('SRID=4674;POINT (-39.347293 -3.145083)'))) / (select extract(epoch from '2026-08-04 06:02:27'::timestamp) - extract(epoch from '2026-08-04 06:02: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'), 48166, 'SRID=4674;POINT (-39.347202 -3.144974)', '2026-08-04 06:02:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347293 -3.145083)'), GeomFromEWKT('SRID=4674;POINT (-39.347202 -3.144974)'))) / (select extract(epoch from '2026-08-04 06:02:34'::timestamp) - extract(epoch from '2026-08-04 06:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347293 -3.145083)'), GeomFromEWKT('SRID=4674;POINT (-39.347202 -3.144974)'))) / (select extract(epoch from '2026-08-04 06:02:34'::timestamp) - extract(epoch from '2026-08-04 06:02: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'), 48166, 'SRID=4674;POINT (-39.34714 -3.144895)', '2026-08-04 06:02:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347202 -3.144974)'), GeomFromEWKT('SRID=4674;POINT (-39.34714 -3.144895)'))) / (select extract(epoch from '2026-08-04 06:02:39'::timestamp) - extract(epoch from '2026-08-04 06:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347202 -3.144974)'), GeomFromEWKT('SRID=4674;POINT (-39.34714 -3.144895)'))) / (select extract(epoch from '2026-08-04 06:02:39'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.347057 -3.144805)', '2026-08-04 06:02:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34714 -3.144895)'), GeomFromEWKT('SRID=4674;POINT (-39.347057 -3.144805)'))) / (select extract(epoch from '2026-08-04 06:02:45'::timestamp) - extract(epoch from '2026-08-04 06:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34714 -3.144895)'), GeomFromEWKT('SRID=4674;POINT (-39.347057 -3.144805)'))) / (select extract(epoch from '2026-08-04 06:02:45'::timestamp) - extract(epoch from '2026-08-04 06:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.346949 -3.144688)', '2026-08-04 06:02:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347057 -3.144805)'), GeomFromEWKT('SRID=4674;POINT (-39.346949 -3.144688)'))) / (select extract(epoch from '2026-08-04 06:02:53'::timestamp) - extract(epoch from '2026-08-04 06:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.347057 -3.144805)'), GeomFromEWKT('SRID=4674;POINT (-39.346949 -3.144688)'))) / (select extract(epoch from '2026-08-04 06:02:53'::timestamp) - extract(epoch from '2026-08-04 06:02: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'), 48166, 'SRID=4674;POINT (-39.346877 -3.144621)', '2026-08-04 06:02:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346949 -3.144688)'), GeomFromEWKT('SRID=4674;POINT (-39.346877 -3.144621)'))) / (select extract(epoch from '2026-08-04 06:02:58'::timestamp) - extract(epoch from '2026-08-04 06:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346949 -3.144688)'), GeomFromEWKT('SRID=4674;POINT (-39.346877 -3.144621)'))) / (select extract(epoch from '2026-08-04 06:02:58'::timestamp) - extract(epoch from '2026-08-04 06:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.346786 -3.144541)', '2026-08-04 06:03:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346877 -3.144621)'), GeomFromEWKT('SRID=4674;POINT (-39.346786 -3.144541)'))) / (select extract(epoch from '2026-08-04 06:03:04'::timestamp) - extract(epoch from '2026-08-04 06:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346877 -3.144621)'), GeomFromEWKT('SRID=4674;POINT (-39.346786 -3.144541)'))) / (select extract(epoch from '2026-08-04 06:03:04'::timestamp) - extract(epoch from '2026-08-04 06:02: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'), 48166, 'SRID=4674;POINT (-39.346695 -3.144421)', '2026-08-04 06:03:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346786 -3.144541)'), GeomFromEWKT('SRID=4674;POINT (-39.346695 -3.144421)'))) / (select extract(epoch from '2026-08-04 06:03:11'::timestamp) - extract(epoch from '2026-08-04 06:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346786 -3.144541)'), GeomFromEWKT('SRID=4674;POINT (-39.346695 -3.144421)'))) / (select extract(epoch from '2026-08-04 06:03:11'::timestamp) - extract(epoch from '2026-08-04 06:03:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.346623 -3.144353)', '2026-08-04 06:03:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346695 -3.144421)'), GeomFromEWKT('SRID=4674;POINT (-39.346623 -3.144353)'))) / (select extract(epoch from '2026-08-04 06:03:16'::timestamp) - extract(epoch from '2026-08-04 06:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346695 -3.144421)'), GeomFromEWKT('SRID=4674;POINT (-39.346623 -3.144353)'))) / (select extract(epoch from '2026-08-04 06:03:16'::timestamp) - extract(epoch from '2026-08-04 06:03: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'), 48166, 'SRID=4674;POINT (-39.346535 -3.144272)', '2026-08-04 06:03:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346623 -3.144353)'), GeomFromEWKT('SRID=4674;POINT (-39.346535 -3.144272)'))) / (select extract(epoch from '2026-08-04 06:03:22'::timestamp) - extract(epoch from '2026-08-04 06:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346623 -3.144353)'), GeomFromEWKT('SRID=4674;POINT (-39.346535 -3.144272)'))) / (select extract(epoch from '2026-08-04 06:03:22'::timestamp) - extract(epoch from '2026-08-04 06:03: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'), 48166, 'SRID=4674;POINT (-39.346454 -3.144192)', '2026-08-04 06:03:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346535 -3.144272)'), GeomFromEWKT('SRID=4674;POINT (-39.346454 -3.144192)'))) / (select extract(epoch from '2026-08-04 06:03:28'::timestamp) - extract(epoch from '2026-08-04 06:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346535 -3.144272)'), GeomFromEWKT('SRID=4674;POINT (-39.346454 -3.144192)'))) / (select extract(epoch from '2026-08-04 06:03:28'::timestamp) - extract(epoch from '2026-08-04 06:03: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'), 48166, 'SRID=4674;POINT (-39.346441 -3.144178)', '2026-08-04 06:03:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346454 -3.144192)'), GeomFromEWKT('SRID=4674;POINT (-39.346441 -3.144178)'))) / (select extract(epoch from '2026-08-04 06:03:29'::timestamp) - extract(epoch from '2026-08-04 06:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346454 -3.144192)'), GeomFromEWKT('SRID=4674;POINT (-39.346441 -3.144178)'))) / (select extract(epoch from '2026-08-04 06:03:29'::timestamp) - extract(epoch from '2026-08-04 06:03: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'), 48166, 'SRID=4674;POINT (-39.346392 -3.144116)', '2026-08-04 06:03:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346441 -3.144178)'), GeomFromEWKT('SRID=4674;POINT (-39.346392 -3.144116)'))) / (select extract(epoch from '2026-08-04 06:03:33'::timestamp) - extract(epoch from '2026-08-04 06:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346441 -3.144178)'), GeomFromEWKT('SRID=4674;POINT (-39.346392 -3.144116)'))) / (select extract(epoch from '2026-08-04 06:03:33'::timestamp) - extract(epoch from '2026-08-04 06:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.346303 -3.144007)', '2026-08-04 06:03:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346392 -3.144116)'), GeomFromEWKT('SRID=4674;POINT (-39.346303 -3.144007)'))) / (select extract(epoch from '2026-08-04 06:03:40'::timestamp) - extract(epoch from '2026-08-04 06:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346392 -3.144116)'), GeomFromEWKT('SRID=4674;POINT (-39.346303 -3.144007)'))) / (select extract(epoch from '2026-08-04 06:03:40'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.346212 -3.143896)', '2026-08-04 06:03:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346303 -3.144007)'), GeomFromEWKT('SRID=4674;POINT (-39.346212 -3.143896)'))) / (select extract(epoch from '2026-08-04 06:03:47'::timestamp) - extract(epoch from '2026-08-04 06:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346303 -3.144007)'), GeomFromEWKT('SRID=4674;POINT (-39.346212 -3.143896)'))) / (select extract(epoch from '2026-08-04 06:03:47'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.346139 -3.143812)', '2026-08-04 06:03:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346212 -3.143896)'), GeomFromEWKT('SRID=4674;POINT (-39.346139 -3.143812)'))) / (select extract(epoch from '2026-08-04 06:03:53'::timestamp) - extract(epoch from '2026-08-04 06:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346212 -3.143896)'), GeomFromEWKT('SRID=4674;POINT (-39.346139 -3.143812)'))) / (select extract(epoch from '2026-08-04 06:03:53'::timestamp) - extract(epoch from '2026-08-04 06:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34609 -3.143759)', '2026-08-04 06:03:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346139 -3.143812)'), GeomFromEWKT('SRID=4674;POINT (-39.34609 -3.143759)'))) / (select extract(epoch from '2026-08-04 06:03:57'::timestamp) - extract(epoch from '2026-08-04 06:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346139 -3.143812)'), GeomFromEWKT('SRID=4674;POINT (-39.34609 -3.143759)'))) / (select extract(epoch from '2026-08-04 06:03:57'::timestamp) - extract(epoch from '2026-08-04 06:03: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'), 48166, 'SRID=4674;POINT (-39.346079 -3.143744)', '2026-08-04 06:03:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34609 -3.143759)'), GeomFromEWKT('SRID=4674;POINT (-39.346079 -3.143744)'))) / (select extract(epoch from '2026-08-04 06:03:58'::timestamp) - extract(epoch from '2026-08-04 06:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34609 -3.143759)'), GeomFromEWKT('SRID=4674;POINT (-39.346079 -3.143744)'))) / (select extract(epoch from '2026-08-04 06:03:58'::timestamp) - extract(epoch from '2026-08-04 06:03: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'), 48166, 'SRID=4674;POINT (-39.34605 -3.143714)', '2026-08-04 06:04:00', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346079 -3.143744)'), GeomFromEWKT('SRID=4674;POINT (-39.34605 -3.143714)'))) / (select extract(epoch from '2026-08-04 06:04:00'::timestamp) - extract(epoch from '2026-08-04 06:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346079 -3.143744)'), GeomFromEWKT('SRID=4674;POINT (-39.34605 -3.143714)'))) / (select extract(epoch from '2026-08-04 06:04:00'::timestamp) - extract(epoch from '2026-08-04 06:03: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'), 48166, 'SRID=4674;POINT (-39.346022 -3.143684)', '2026-08-04 06:04:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34605 -3.143714)'), GeomFromEWKT('SRID=4674;POINT (-39.346022 -3.143684)'))) / (select extract(epoch from '2026-08-04 06:04:02'::timestamp) - extract(epoch from '2026-08-04 06:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34605 -3.143714)'), GeomFromEWKT('SRID=4674;POINT (-39.346022 -3.143684)'))) / (select extract(epoch from '2026-08-04 06:04:02'::timestamp) - extract(epoch from '2026-08-04 06:04:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345927 -3.143587)', '2026-08-04 06:04:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346022 -3.143684)'), GeomFromEWKT('SRID=4674;POINT (-39.345927 -3.143587)'))) / (select extract(epoch from '2026-08-04 06:04:09'::timestamp) - extract(epoch from '2026-08-04 06:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.346022 -3.143684)'), GeomFromEWKT('SRID=4674;POINT (-39.345927 -3.143587)'))) / (select extract(epoch from '2026-08-04 06:04:09'::timestamp) - extract(epoch from '2026-08-04 06:04: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'), 48166, 'SRID=4674;POINT (-39.345865 -3.143502)', '2026-08-04 06:04:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345927 -3.143587)'), GeomFromEWKT('SRID=4674;POINT (-39.345865 -3.143502)'))) / (select extract(epoch from '2026-08-04 06:04:14'::timestamp) - extract(epoch from '2026-08-04 06:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345927 -3.143587)'), GeomFromEWKT('SRID=4674;POINT (-39.345865 -3.143502)'))) / (select extract(epoch from '2026-08-04 06:04:14'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.345857 -3.143489)', '2026-08-04 06:04:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345865 -3.143502)'), GeomFromEWKT('SRID=4674;POINT (-39.345857 -3.143489)'))) / (select extract(epoch from '2026-08-04 06:04:15'::timestamp) - extract(epoch from '2026-08-04 06:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345865 -3.143502)'), GeomFromEWKT('SRID=4674;POINT (-39.345857 -3.143489)'))) / (select extract(epoch from '2026-08-04 06:04:15'::timestamp) - extract(epoch from '2026-08-04 06:04: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'), 48166, 'SRID=4674;POINT (-39.345822 -3.143452)', '2026-08-04 06:04:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345857 -3.143489)'), GeomFromEWKT('SRID=4674;POINT (-39.345822 -3.143452)'))) / (select extract(epoch from '2026-08-04 06:04:18'::timestamp) - extract(epoch from '2026-08-04 06:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345857 -3.143489)'), GeomFromEWKT('SRID=4674;POINT (-39.345822 -3.143452)'))) / (select extract(epoch from '2026-08-04 06:04:18'::timestamp) - extract(epoch from '2026-08-04 06:04: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'), 48166, 'SRID=4674;POINT (-39.345791 -3.143428)', '2026-08-04 06:04:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345822 -3.143452)'), GeomFromEWKT('SRID=4674;POINT (-39.345791 -3.143428)'))) / (select extract(epoch from '2026-08-04 06:04:20'::timestamp) - extract(epoch from '2026-08-04 06:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345822 -3.143452)'), GeomFromEWKT('SRID=4674;POINT (-39.345791 -3.143428)'))) / (select extract(epoch from '2026-08-04 06:04:20'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.345763 -3.143405)', '2026-08-04 06:04:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345791 -3.143428)'), GeomFromEWKT('SRID=4674;POINT (-39.345763 -3.143405)'))) / (select extract(epoch from '2026-08-04 06:04:22'::timestamp) - extract(epoch from '2026-08-04 06:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345791 -3.143428)'), GeomFromEWKT('SRID=4674;POINT (-39.345763 -3.143405)'))) / (select extract(epoch from '2026-08-04 06:04:22'::timestamp) - extract(epoch from '2026-08-04 06:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345749 -3.143391)', '2026-08-04 06:04:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345763 -3.143405)'), GeomFromEWKT('SRID=4674;POINT (-39.345749 -3.143391)'))) / (select extract(epoch from '2026-08-04 06:04:23'::timestamp) - extract(epoch from '2026-08-04 06:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345763 -3.143405)'), GeomFromEWKT('SRID=4674;POINT (-39.345749 -3.143391)'))) / (select extract(epoch from '2026-08-04 06:04:23'::timestamp) - extract(epoch from '2026-08-04 06:04: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'), 48166, 'SRID=4674;POINT (-39.345702 -3.143345)', '2026-08-04 06:04:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345749 -3.143391)'), GeomFromEWKT('SRID=4674;POINT (-39.345702 -3.143345)'))) / (select extract(epoch from '2026-08-04 06:04:26'::timestamp) - extract(epoch from '2026-08-04 06:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345749 -3.143391)'), GeomFromEWKT('SRID=4674;POINT (-39.345702 -3.143345)'))) / (select extract(epoch from '2026-08-04 06:04:26'::timestamp) - extract(epoch from '2026-08-04 06:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34564 -3.143271)', '2026-08-04 06:04:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345702 -3.143345)'), GeomFromEWKT('SRID=4674;POINT (-39.34564 -3.143271)'))) / (select extract(epoch from '2026-08-04 06:04:31'::timestamp) - extract(epoch from '2026-08-04 06:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345702 -3.143345)'), GeomFromEWKT('SRID=4674;POINT (-39.34564 -3.143271)'))) / (select extract(epoch from '2026-08-04 06:04:31'::timestamp) - extract(epoch from '2026-08-04 06:04: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'), 48166, 'SRID=4674;POINT (-39.345582 -3.143194)', '2026-08-04 06:04:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34564 -3.143271)'), GeomFromEWKT('SRID=4674;POINT (-39.345582 -3.143194)'))) / (select extract(epoch from '2026-08-04 06:04:36'::timestamp) - extract(epoch from '2026-08-04 06:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34564 -3.143271)'), GeomFromEWKT('SRID=4674;POINT (-39.345582 -3.143194)'))) / (select extract(epoch from '2026-08-04 06:04:36'::timestamp) - extract(epoch from '2026-08-04 06:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345571 -3.143177)', '2026-08-04 06:04:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345582 -3.143194)'), GeomFromEWKT('SRID=4674;POINT (-39.345571 -3.143177)'))) / (select extract(epoch from '2026-08-04 06:04:37'::timestamp) - extract(epoch from '2026-08-04 06:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345582 -3.143194)'), GeomFromEWKT('SRID=4674;POINT (-39.345571 -3.143177)'))) / (select extract(epoch from '2026-08-04 06:04:37'::timestamp) - extract(epoch from '2026-08-04 06:04: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'), 48166, 'SRID=4674;POINT (-39.345486 -3.143064)', '2026-08-04 06:04:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345571 -3.143177)'), GeomFromEWKT('SRID=4674;POINT (-39.345486 -3.143064)'))) / (select extract(epoch from '2026-08-04 06:04:44'::timestamp) - extract(epoch from '2026-08-04 06:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345571 -3.143177)'), GeomFromEWKT('SRID=4674;POINT (-39.345486 -3.143064)'))) / (select extract(epoch from '2026-08-04 06:04:44'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.34543 -3.142986)', '2026-08-04 06:04:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345486 -3.143064)'), GeomFromEWKT('SRID=4674;POINT (-39.34543 -3.142986)'))) / (select extract(epoch from '2026-08-04 06:04:49'::timestamp) - extract(epoch from '2026-08-04 06:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345486 -3.143064)'), GeomFromEWKT('SRID=4674;POINT (-39.34543 -3.142986)'))) / (select extract(epoch from '2026-08-04 06:04:49'::timestamp) - extract(epoch from '2026-08-04 06:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345413 -3.142969)', '2026-08-04 06:04:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34543 -3.142986)'), GeomFromEWKT('SRID=4674;POINT (-39.345413 -3.142969)'))) / (select extract(epoch from '2026-08-04 06:04:50'::timestamp) - extract(epoch from '2026-08-04 06:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34543 -3.142986)'), GeomFromEWKT('SRID=4674;POINT (-39.345413 -3.142969)'))) / (select extract(epoch from '2026-08-04 06:04:50'::timestamp) - extract(epoch from '2026-08-04 06:04: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'), 48166, 'SRID=4674;POINT (-39.345335 -3.142876)', '2026-08-04 06:04:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345413 -3.142969)'), GeomFromEWKT('SRID=4674;POINT (-39.345335 -3.142876)'))) / (select extract(epoch from '2026-08-04 06:04:56'::timestamp) - extract(epoch from '2026-08-04 06:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345413 -3.142969)'), GeomFromEWKT('SRID=4674;POINT (-39.345335 -3.142876)'))) / (select extract(epoch from '2026-08-04 06:04:56'::timestamp) - extract(epoch from '2026-08-04 06:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345261 -3.14278)', '2026-08-04 06:05:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345335 -3.142876)'), GeomFromEWKT('SRID=4674;POINT (-39.345261 -3.14278)'))) / (select extract(epoch from '2026-08-04 06:05:02'::timestamp) - extract(epoch from '2026-08-04 06:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345335 -3.142876)'), GeomFromEWKT('SRID=4674;POINT (-39.345261 -3.14278)'))) / (select extract(epoch from '2026-08-04 06:05:02'::timestamp) - extract(epoch from '2026-08-04 06:04:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345223 -3.142734)', '2026-08-04 06:05:05', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345261 -3.14278)'), GeomFromEWKT('SRID=4674;POINT (-39.345223 -3.142734)'))) / (select extract(epoch from '2026-08-04 06:05:05'::timestamp) - extract(epoch from '2026-08-04 06:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345261 -3.14278)'), GeomFromEWKT('SRID=4674;POINT (-39.345223 -3.142734)'))) / (select extract(epoch from '2026-08-04 06:05:05'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.345209 -3.142716)', '2026-08-04 06:05:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345223 -3.142734)'), GeomFromEWKT('SRID=4674;POINT (-39.345209 -3.142716)'))) / (select extract(epoch from '2026-08-04 06:05:06'::timestamp) - extract(epoch from '2026-08-04 06:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345223 -3.142734)'), GeomFromEWKT('SRID=4674;POINT (-39.345209 -3.142716)'))) / (select extract(epoch from '2026-08-04 06:05:06'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.345145 -3.142633)', '2026-08-04 06:05:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345209 -3.142716)'), GeomFromEWKT('SRID=4674;POINT (-39.345145 -3.142633)'))) / (select extract(epoch from '2026-08-04 06:05:11'::timestamp) - extract(epoch from '2026-08-04 06:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345209 -3.142716)'), GeomFromEWKT('SRID=4674;POINT (-39.345145 -3.142633)'))) / (select extract(epoch from '2026-08-04 06:05:11'::timestamp) - extract(epoch from '2026-08-04 06:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.345123 -3.142605)', '2026-08-04 06:05:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345145 -3.142633)'), GeomFromEWKT('SRID=4674;POINT (-39.345123 -3.142605)'))) / (select extract(epoch from '2026-08-04 06:05:13'::timestamp) - extract(epoch from '2026-08-04 06:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345145 -3.142633)'), GeomFromEWKT('SRID=4674;POINT (-39.345123 -3.142605)'))) / (select extract(epoch from '2026-08-04 06:05:13'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.345108 -3.14259)', '2026-08-04 06:05:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345123 -3.142605)'), GeomFromEWKT('SRID=4674;POINT (-39.345108 -3.14259)'))) / (select extract(epoch from '2026-08-04 06:05:14'::timestamp) - extract(epoch from '2026-08-04 06:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345123 -3.142605)'), GeomFromEWKT('SRID=4674;POINT (-39.345108 -3.14259)'))) / (select extract(epoch from '2026-08-04 06:05:14'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.345071 -3.14255)', '2026-08-04 06:05:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345108 -3.14259)'), GeomFromEWKT('SRID=4674;POINT (-39.345071 -3.14255)'))) / (select extract(epoch from '2026-08-04 06:05:17'::timestamp) - extract(epoch from '2026-08-04 06:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345108 -3.14259)'), GeomFromEWKT('SRID=4674;POINT (-39.345071 -3.14255)'))) / (select extract(epoch from '2026-08-04 06:05:17'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.345055 -3.142523)', '2026-08-04 06:05:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345071 -3.14255)'), GeomFromEWKT('SRID=4674;POINT (-39.345055 -3.142523)'))) / (select extract(epoch from '2026-08-04 06:05:19'::timestamp) - extract(epoch from '2026-08-04 06:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345071 -3.14255)'), GeomFromEWKT('SRID=4674;POINT (-39.345055 -3.142523)'))) / (select extract(epoch from '2026-08-04 06:05:19'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.345039 -3.142512)', '2026-08-04 06:05:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345055 -3.142523)'), GeomFromEWKT('SRID=4674;POINT (-39.345039 -3.142512)'))) / (select extract(epoch from '2026-08-04 06:05:20'::timestamp) - extract(epoch from '2026-08-04 06:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345055 -3.142523)'), GeomFromEWKT('SRID=4674;POINT (-39.345039 -3.142512)'))) / (select extract(epoch from '2026-08-04 06:05:20'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.344995 -3.142479)', '2026-08-04 06:05:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345039 -3.142512)'), GeomFromEWKT('SRID=4674;POINT (-39.344995 -3.142479)'))) / (select extract(epoch from '2026-08-04 06:05:23'::timestamp) - extract(epoch from '2026-08-04 06:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.345039 -3.142512)'), GeomFromEWKT('SRID=4674;POINT (-39.344995 -3.142479)'))) / (select extract(epoch from '2026-08-04 06:05:23'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.34498 -3.142468)', '2026-08-04 06:05:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344995 -3.142479)'), GeomFromEWKT('SRID=4674;POINT (-39.34498 -3.142468)'))) / (select extract(epoch from '2026-08-04 06:05:24'::timestamp) - extract(epoch from '2026-08-04 06:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344995 -3.142479)'), GeomFromEWKT('SRID=4674;POINT (-39.34498 -3.142468)'))) / (select extract(epoch from '2026-08-04 06:05:24'::timestamp) - extract(epoch from '2026-08-04 06:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344954 -3.142444)', '2026-08-04 06:05:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34498 -3.142468)'), GeomFromEWKT('SRID=4674;POINT (-39.344954 -3.142444)'))) / (select extract(epoch from '2026-08-04 06:05:26'::timestamp) - extract(epoch from '2026-08-04 06:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34498 -3.142468)'), GeomFromEWKT('SRID=4674;POINT (-39.344954 -3.142444)'))) / (select extract(epoch from '2026-08-04 06:05:26'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.344942 -3.14243)', '2026-08-04 06:05:27', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344954 -3.142444)'), GeomFromEWKT('SRID=4674;POINT (-39.344942 -3.14243)'))) / (select extract(epoch from '2026-08-04 06:05:27'::timestamp) - extract(epoch from '2026-08-04 06:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344954 -3.142444)'), GeomFromEWKT('SRID=4674;POINT (-39.344942 -3.14243)'))) / (select extract(epoch from '2026-08-04 06:05:27'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.344921 -3.142403)', '2026-08-04 06:05:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344942 -3.14243)'), GeomFromEWKT('SRID=4674;POINT (-39.344921 -3.142403)'))) / (select extract(epoch from '2026-08-04 06:05:29'::timestamp) - extract(epoch from '2026-08-04 06:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344942 -3.14243)'), GeomFromEWKT('SRID=4674;POINT (-39.344921 -3.142403)'))) / (select extract(epoch from '2026-08-04 06:05:29'::timestamp) - extract(epoch from '2026-08-04 06:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344892 -3.142371)', '2026-08-04 06:05:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344921 -3.142403)'), GeomFromEWKT('SRID=4674;POINT (-39.344892 -3.142371)'))) / (select extract(epoch from '2026-08-04 06:05:31'::timestamp) - extract(epoch from '2026-08-04 06:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344921 -3.142403)'), GeomFromEWKT('SRID=4674;POINT (-39.344892 -3.142371)'))) / (select extract(epoch from '2026-08-04 06:05:31'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.344794 -3.142259)', '2026-08-04 06:05:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344892 -3.142371)'), GeomFromEWKT('SRID=4674;POINT (-39.344794 -3.142259)'))) / (select extract(epoch from '2026-08-04 06:05:38'::timestamp) - extract(epoch from '2026-08-04 06:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344892 -3.142371)'), GeomFromEWKT('SRID=4674;POINT (-39.344794 -3.142259)'))) / (select extract(epoch from '2026-08-04 06:05:38'::timestamp) - extract(epoch from '2026-08-04 06:05:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344762 -3.142231)', '2026-08-04 06:05:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344794 -3.142259)'), GeomFromEWKT('SRID=4674;POINT (-39.344762 -3.142231)'))) / (select extract(epoch from '2026-08-04 06:05:40'::timestamp) - extract(epoch from '2026-08-04 06:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344794 -3.142259)'), GeomFromEWKT('SRID=4674;POINT (-39.344762 -3.142231)'))) / (select extract(epoch from '2026-08-04 06:05:40'::timestamp) - extract(epoch from '2026-08-04 06:05:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344734 -3.142202)', '2026-08-04 06:05:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344762 -3.142231)'), GeomFromEWKT('SRID=4674;POINT (-39.344734 -3.142202)'))) / (select extract(epoch from '2026-08-04 06:05:42'::timestamp) - extract(epoch from '2026-08-04 06:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344762 -3.142231)'), GeomFromEWKT('SRID=4674;POINT (-39.344734 -3.142202)'))) / (select extract(epoch from '2026-08-04 06:05:42'::timestamp) - extract(epoch from '2026-08-04 06:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344678 -3.142128)', '2026-08-04 06:05:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344734 -3.142202)'), GeomFromEWKT('SRID=4674;POINT (-39.344678 -3.142128)'))) / (select extract(epoch from '2026-08-04 06:05:47'::timestamp) - extract(epoch from '2026-08-04 06:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344734 -3.142202)'), GeomFromEWKT('SRID=4674;POINT (-39.344678 -3.142128)'))) / (select extract(epoch from '2026-08-04 06:05:47'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.344602 -3.142038)', '2026-08-04 06:05:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344678 -3.142128)'), GeomFromEWKT('SRID=4674;POINT (-39.344602 -3.142038)'))) / (select extract(epoch from '2026-08-04 06:05:53'::timestamp) - extract(epoch from '2026-08-04 06:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344678 -3.142128)'), GeomFromEWKT('SRID=4674;POINT (-39.344602 -3.142038)'))) / (select extract(epoch from '2026-08-04 06:05:53'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.34454 -3.141972)', '2026-08-04 06:05:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344602 -3.142038)'), GeomFromEWKT('SRID=4674;POINT (-39.34454 -3.141972)'))) / (select extract(epoch from '2026-08-04 06:05:58'::timestamp) - extract(epoch from '2026-08-04 06:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344602 -3.142038)'), GeomFromEWKT('SRID=4674;POINT (-39.34454 -3.141972)'))) / (select extract(epoch from '2026-08-04 06:05:58'::timestamp) - extract(epoch from '2026-08-04 06:05: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'), 48166, 'SRID=4674;POINT (-39.344471 -3.141884)', '2026-08-04 06:06:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34454 -3.141972)'), GeomFromEWKT('SRID=4674;POINT (-39.344471 -3.141884)'))) / (select extract(epoch from '2026-08-04 06:06:04'::timestamp) - extract(epoch from '2026-08-04 06:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34454 -3.141972)'), GeomFromEWKT('SRID=4674;POINT (-39.344471 -3.141884)'))) / (select extract(epoch from '2026-08-04 06:06:04'::timestamp) - extract(epoch from '2026-08-04 06:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344432 -3.141837)', '2026-08-04 06:06:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344471 -3.141884)'), GeomFromEWKT('SRID=4674;POINT (-39.344432 -3.141837)'))) / (select extract(epoch from '2026-08-04 06:06:07'::timestamp) - extract(epoch from '2026-08-04 06:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344471 -3.141884)'), GeomFromEWKT('SRID=4674;POINT (-39.344432 -3.141837)'))) / (select extract(epoch from '2026-08-04 06:06:07'::timestamp) - extract(epoch from '2026-08-04 06:06: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'), 48166, 'SRID=4674;POINT (-39.3444 -3.141809)', '2026-08-04 06:06:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344432 -3.141837)'), GeomFromEWKT('SRID=4674;POINT (-39.3444 -3.141809)'))) / (select extract(epoch from '2026-08-04 06:06:09'::timestamp) - extract(epoch from '2026-08-04 06:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344432 -3.141837)'), GeomFromEWKT('SRID=4674;POINT (-39.3444 -3.141809)'))) / (select extract(epoch from '2026-08-04 06:06:09'::timestamp) - extract(epoch from '2026-08-04 06:06: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'), 48166, 'SRID=4674;POINT (-39.344339 -3.141731)', '2026-08-04 06:06:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3444 -3.141809)'), GeomFromEWKT('SRID=4674;POINT (-39.344339 -3.141731)'))) / (select extract(epoch from '2026-08-04 06:06:14'::timestamp) - extract(epoch from '2026-08-04 06:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.3444 -3.141809)'), GeomFromEWKT('SRID=4674;POINT (-39.344339 -3.141731)'))) / (select extract(epoch from '2026-08-04 06:06:14'::timestamp) - extract(epoch from '2026-08-04 06:06: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'), 48166, 'SRID=4674;POINT (-39.344278 -3.14166)', '2026-08-04 06:06:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344339 -3.141731)'), GeomFromEWKT('SRID=4674;POINT (-39.344278 -3.14166)'))) / (select extract(epoch from '2026-08-04 06:06:19'::timestamp) - extract(epoch from '2026-08-04 06:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344339 -3.141731)'), GeomFromEWKT('SRID=4674;POINT (-39.344278 -3.14166)'))) / (select extract(epoch from '2026-08-04 06:06:19'::timestamp) - extract(epoch from '2026-08-04 06:06: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'), 48166, 'SRID=4674;POINT (-39.344202 -3.141575)', '2026-08-04 06:06:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344278 -3.14166)'), GeomFromEWKT('SRID=4674;POINT (-39.344202 -3.141575)'))) / (select extract(epoch from '2026-08-04 06:06:25'::timestamp) - extract(epoch from '2026-08-04 06:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344278 -3.14166)'), GeomFromEWKT('SRID=4674;POINT (-39.344202 -3.141575)'))) / (select extract(epoch from '2026-08-04 06:06:25'::timestamp) - extract(epoch from '2026-08-04 06:06: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'), 48166, 'SRID=4674;POINT (-39.344175 -3.141544)', '2026-08-04 06:06:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344202 -3.141575)'), GeomFromEWKT('SRID=4674;POINT (-39.344175 -3.141544)'))) / (select extract(epoch from '2026-08-04 06:06:27'::timestamp) - extract(epoch from '2026-08-04 06:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344202 -3.141575)'), GeomFromEWKT('SRID=4674;POINT (-39.344175 -3.141544)'))) / (select extract(epoch from '2026-08-04 06:06:27'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.344148 -3.14151)', '2026-08-04 06:06:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344175 -3.141544)'), GeomFromEWKT('SRID=4674;POINT (-39.344148 -3.14151)'))) / (select extract(epoch from '2026-08-04 06:06:29'::timestamp) - extract(epoch from '2026-08-04 06:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344175 -3.141544)'), GeomFromEWKT('SRID=4674;POINT (-39.344148 -3.14151)'))) / (select extract(epoch from '2026-08-04 06:06:29'::timestamp) - extract(epoch from '2026-08-04 06:06: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'), 48166, 'SRID=4674;POINT (-39.344125 -3.141473)', '2026-08-04 06:06:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344148 -3.14151)'), GeomFromEWKT('SRID=4674;POINT (-39.344125 -3.141473)'))) / (select extract(epoch from '2026-08-04 06:06:31'::timestamp) - extract(epoch from '2026-08-04 06:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344148 -3.14151)'), GeomFromEWKT('SRID=4674;POINT (-39.344125 -3.141473)'))) / (select extract(epoch from '2026-08-04 06:06:31'::timestamp) - extract(epoch from '2026-08-04 06:06:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344102 -3.141438)', '2026-08-04 06:06:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344125 -3.141473)'), GeomFromEWKT('SRID=4674;POINT (-39.344102 -3.141438)'))) / (select extract(epoch from '2026-08-04 06:06:33'::timestamp) - extract(epoch from '2026-08-04 06:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344125 -3.141473)'), GeomFromEWKT('SRID=4674;POINT (-39.344102 -3.141438)'))) / (select extract(epoch from '2026-08-04 06:06:33'::timestamp) - extract(epoch from '2026-08-04 06:06: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'), 48166, 'SRID=4674;POINT (-39.344045 -3.141343)', '2026-08-04 06:06:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344102 -3.141438)'), GeomFromEWKT('SRID=4674;POINT (-39.344045 -3.141343)'))) / (select extract(epoch from '2026-08-04 06:06:39'::timestamp) - extract(epoch from '2026-08-04 06:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344102 -3.141438)'), GeomFromEWKT('SRID=4674;POINT (-39.344045 -3.141343)'))) / (select extract(epoch from '2026-08-04 06:06:39'::timestamp) - extract(epoch from '2026-08-04 06:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344035 -3.141333)', '2026-08-04 06:06:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344045 -3.141343)'), GeomFromEWKT('SRID=4674;POINT (-39.344035 -3.141333)'))) / (select extract(epoch from '2026-08-04 06:06:40'::timestamp) - extract(epoch from '2026-08-04 06:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344045 -3.141343)'), GeomFromEWKT('SRID=4674;POINT (-39.344035 -3.141333)'))) / (select extract(epoch from '2026-08-04 06:06:40'::timestamp) - extract(epoch from '2026-08-04 06:06:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.344014 -3.14131)', '2026-08-04 06:06:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344035 -3.141333)'), GeomFromEWKT('SRID=4674;POINT (-39.344014 -3.14131)'))) / (select extract(epoch from '2026-08-04 06:06:42'::timestamp) - extract(epoch from '2026-08-04 06:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344035 -3.141333)'), GeomFromEWKT('SRID=4674;POINT (-39.344014 -3.14131)'))) / (select extract(epoch from '2026-08-04 06:06:42'::timestamp) - extract(epoch from '2026-08-04 06:06: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'), 48166, 'SRID=4674;POINT (-39.344 -3.141299)', '2026-08-04 06:06:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344014 -3.14131)'), GeomFromEWKT('SRID=4674;POINT (-39.344 -3.141299)'))) / (select extract(epoch from '2026-08-04 06:06:43'::timestamp) - extract(epoch from '2026-08-04 06:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344014 -3.14131)'), GeomFromEWKT('SRID=4674;POINT (-39.344 -3.141299)'))) / (select extract(epoch from '2026-08-04 06:06:43'::timestamp) - extract(epoch from '2026-08-04 06:06:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.343961 -3.141259)', '2026-08-04 06:06:46', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344 -3.141299)'), GeomFromEWKT('SRID=4674;POINT (-39.343961 -3.141259)'))) / (select extract(epoch from '2026-08-04 06:06:46'::timestamp) - extract(epoch from '2026-08-04 06:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.344 -3.141299)'), GeomFromEWKT('SRID=4674;POINT (-39.343961 -3.141259)'))) / (select extract(epoch from '2026-08-04 06:06:46'::timestamp) - extract(epoch from '2026-08-04 06:06: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'), 48166, 'SRID=4674;POINT (-39.343932 -3.141231)', '2026-08-04 06:06:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343961 -3.141259)'), GeomFromEWKT('SRID=4674;POINT (-39.343932 -3.141231)'))) / (select extract(epoch from '2026-08-04 06:06:48'::timestamp) - extract(epoch from '2026-08-04 06:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343961 -3.141259)'), GeomFromEWKT('SRID=4674;POINT (-39.343932 -3.141231)'))) / (select extract(epoch from '2026-08-04 06:06:48'::timestamp) - extract(epoch from '2026-08-04 06:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.343848 -3.141141)', '2026-08-04 06:06:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343932 -3.141231)'), GeomFromEWKT('SRID=4674;POINT (-39.343848 -3.141141)'))) / (select extract(epoch from '2026-08-04 06:06:54'::timestamp) - extract(epoch from '2026-08-04 06:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343932 -3.141231)'), GeomFromEWKT('SRID=4674;POINT (-39.343848 -3.141141)'))) / (select extract(epoch from '2026-08-04 06:06:54'::timestamp) - extract(epoch from '2026-08-04 06:06: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'), 48166, 'SRID=4674;POINT (-39.343748 -3.141043)', '2026-08-04 06:07:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343848 -3.141141)'), GeomFromEWKT('SRID=4674;POINT (-39.343748 -3.141043)'))) / (select extract(epoch from '2026-08-04 06:07:01'::timestamp) - extract(epoch from '2026-08-04 06:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343848 -3.141141)'), GeomFromEWKT('SRID=4674;POINT (-39.343748 -3.141043)'))) / (select extract(epoch from '2026-08-04 06:07:01'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.343657 -3.140955)', '2026-08-04 06:07:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343748 -3.141043)'), GeomFromEWKT('SRID=4674;POINT (-39.343657 -3.140955)'))) / (select extract(epoch from '2026-08-04 06:07:07'::timestamp) - extract(epoch from '2026-08-04 06:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343748 -3.141043)'), GeomFromEWKT('SRID=4674;POINT (-39.343657 -3.140955)'))) / (select extract(epoch from '2026-08-04 06:07:07'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.343588 -3.140873)', '2026-08-04 06:07:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343657 -3.140955)'), GeomFromEWKT('SRID=4674;POINT (-39.343588 -3.140873)'))) / (select extract(epoch from '2026-08-04 06:07:12'::timestamp) - extract(epoch from '2026-08-04 06:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343657 -3.140955)'), GeomFromEWKT('SRID=4674;POINT (-39.343588 -3.140873)'))) / (select extract(epoch from '2026-08-04 06:07:12'::timestamp) - extract(epoch from '2026-08-04 06:07: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'), 48166, 'SRID=4674;POINT (-39.343516 -3.140802)', '2026-08-04 06:07:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343588 -3.140873)'), GeomFromEWKT('SRID=4674;POINT (-39.343516 -3.140802)'))) / (select extract(epoch from '2026-08-04 06:07:17'::timestamp) - extract(epoch from '2026-08-04 06:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343588 -3.140873)'), GeomFromEWKT('SRID=4674;POINT (-39.343516 -3.140802)'))) / (select extract(epoch from '2026-08-04 06:07:17'::timestamp) - extract(epoch from '2026-08-04 06:07: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'), 48166, 'SRID=4674;POINT (-39.343424 -3.140697)', '2026-08-04 06:07:24', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343516 -3.140802)'), GeomFromEWKT('SRID=4674;POINT (-39.343424 -3.140697)'))) / (select extract(epoch from '2026-08-04 06:07:24'::timestamp) - extract(epoch from '2026-08-04 06:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343516 -3.140802)'), GeomFromEWKT('SRID=4674;POINT (-39.343424 -3.140697)'))) / (select extract(epoch from '2026-08-04 06:07:24'::timestamp) - extract(epoch from '2026-08-04 06:07: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'), 48166, 'SRID=4674;POINT (-39.343304 -3.140568)', '2026-08-04 06:07:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343424 -3.140697)'), GeomFromEWKT('SRID=4674;POINT (-39.343304 -3.140568)'))) / (select extract(epoch from '2026-08-04 06:07:33'::timestamp) - extract(epoch from '2026-08-04 06:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343424 -3.140697)'), GeomFromEWKT('SRID=4674;POINT (-39.343304 -3.140568)'))) / (select extract(epoch from '2026-08-04 06:07:33'::timestamp) - extract(epoch from '2026-08-04 06:07: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'), 48166, 'SRID=4674;POINT (-39.343208 -3.140439)', '2026-08-04 06:07:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343304 -3.140568)'), GeomFromEWKT('SRID=4674;POINT (-39.343208 -3.140439)'))) / (select extract(epoch from '2026-08-04 06:07:41'::timestamp) - extract(epoch from '2026-08-04 06:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343304 -3.140568)'), GeomFromEWKT('SRID=4674;POINT (-39.343208 -3.140439)'))) / (select extract(epoch from '2026-08-04 06:07:41'::timestamp) - extract(epoch from '2026-08-04 06:07: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'), 48166, 'SRID=4674;POINT (-39.343098 -3.140357)', '2026-08-04 06:07:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343208 -3.140439)'), GeomFromEWKT('SRID=4674;POINT (-39.343098 -3.140357)'))) / (select extract(epoch from '2026-08-04 06:07:49'::timestamp) - extract(epoch from '2026-08-04 06:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343208 -3.140439)'), GeomFromEWKT('SRID=4674;POINT (-39.343098 -3.140357)'))) / (select extract(epoch from '2026-08-04 06:07:49'::timestamp) - extract(epoch from '2026-08-04 06:07: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'), 48166, 'SRID=4674;POINT (-39.343 -3.140241)', '2026-08-04 06:07:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343098 -3.140357)'), GeomFromEWKT('SRID=4674;POINT (-39.343 -3.140241)'))) / (select extract(epoch from '2026-08-04 06:07:57'::timestamp) - extract(epoch from '2026-08-04 06:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343098 -3.140357)'), GeomFromEWKT('SRID=4674;POINT (-39.343 -3.140241)'))) / (select extract(epoch from '2026-08-04 06:07:57'::timestamp) - extract(epoch from '2026-08-04 06:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.34287 -3.140095)', '2026-08-04 06:08:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343 -3.140241)'), GeomFromEWKT('SRID=4674;POINT (-39.34287 -3.140095)'))) / (select extract(epoch from '2026-08-04 06:08:08'::timestamp) - extract(epoch from '2026-08-04 06:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.343 -3.140241)'), GeomFromEWKT('SRID=4674;POINT (-39.34287 -3.140095)'))) / (select extract(epoch from '2026-08-04 06:08:08'::timestamp) - extract(epoch from '2026-08-04 06:07: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'), 48166, 'SRID=4674;POINT (-39.342769 -3.139975)', '2026-08-04 06:08:16', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34287 -3.140095)'), GeomFromEWKT('SRID=4674;POINT (-39.342769 -3.139975)'))) / (select extract(epoch from '2026-08-04 06:08:16'::timestamp) - extract(epoch from '2026-08-04 06:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.34287 -3.140095)'), GeomFromEWKT('SRID=4674;POINT (-39.342769 -3.139975)'))) / (select extract(epoch from '2026-08-04 06:08:16'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.342683 -3.139855)', '2026-08-04 06:08:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342769 -3.139975)'), GeomFromEWKT('SRID=4674;POINT (-39.342683 -3.139855)'))) / (select extract(epoch from '2026-08-04 06:08:22'::timestamp) - extract(epoch from '2026-08-04 06:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342769 -3.139975)'), GeomFromEWKT('SRID=4674;POINT (-39.342683 -3.139855)'))) / (select extract(epoch from '2026-08-04 06:08:22'::timestamp) - extract(epoch from '2026-08-04 06:08: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'), 48166, 'SRID=4674;POINT (-39.342564 -3.139746)', '2026-08-04 06:08:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342683 -3.139855)'), GeomFromEWKT('SRID=4674;POINT (-39.342564 -3.139746)'))) / (select extract(epoch from '2026-08-04 06:08:30'::timestamp) - extract(epoch from '2026-08-04 06:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342683 -3.139855)'), GeomFromEWKT('SRID=4674;POINT (-39.342564 -3.139746)'))) / (select extract(epoch from '2026-08-04 06:08:30'::timestamp) - extract(epoch from '2026-08-04 06:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342463 -3.139664)', '2026-08-04 06:08:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342564 -3.139746)'), GeomFromEWKT('SRID=4674;POINT (-39.342463 -3.139664)'))) / (select extract(epoch from '2026-08-04 06:08:37'::timestamp) - extract(epoch from '2026-08-04 06:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342564 -3.139746)'), GeomFromEWKT('SRID=4674;POINT (-39.342463 -3.139664)'))) / (select extract(epoch from '2026-08-04 06:08:37'::timestamp) - extract(epoch from '2026-08-04 06:08: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'), 48166, 'SRID=4674;POINT (-39.342378 -3.139567)', '2026-08-04 06:08:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342463 -3.139664)'), GeomFromEWKT('SRID=4674;POINT (-39.342378 -3.139567)'))) / (select extract(epoch from '2026-08-04 06:08:43'::timestamp) - extract(epoch from '2026-08-04 06:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342463 -3.139664)'), GeomFromEWKT('SRID=4674;POINT (-39.342378 -3.139567)'))) / (select extract(epoch from '2026-08-04 06:08:43'::timestamp) - extract(epoch from '2026-08-04 06:08: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'), 48166, 'SRID=4674;POINT (-39.342269 -3.139475)', '2026-08-04 06:08:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342378 -3.139567)'), GeomFromEWKT('SRID=4674;POINT (-39.342269 -3.139475)'))) / (select extract(epoch from '2026-08-04 06:08:50'::timestamp) - extract(epoch from '2026-08-04 06:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342378 -3.139567)'), GeomFromEWKT('SRID=4674;POINT (-39.342269 -3.139475)'))) / (select extract(epoch from '2026-08-04 06:08:50'::timestamp) - extract(epoch from '2026-08-04 06: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'), 48166, 'SRID=4674;POINT (-39.342153 -3.139356)', '2026-08-04 06:08:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342269 -3.139475)'), GeomFromEWKT('SRID=4674;POINT (-39.342153 -3.139356)'))) / (select extract(epoch from '2026-08-04 06:08:58'::timestamp) - extract(epoch from '2026-08-04 06:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342269 -3.139475)'), GeomFromEWKT('SRID=4674;POINT (-39.342153 -3.139356)'))) / (select extract(epoch from '2026-08-04 06:08:58'::timestamp) - extract(epoch from '2026-08-04 06:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48166, 'SRID=4674;POINT (-39.342058 -3.139262)', '2026-08-04 06:09:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342153 -3.139356)'), GeomFromEWKT('SRID=4674;POINT (-39.342058 -3.139262)'))) / (select extract(epoch from '2026-08-04 06:09:04'::timestamp) - extract(epoch from '2026-08-04 06:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342153 -3.139356)'), GeomFromEWKT('SRID=4674;POINT (-39.342058 -3.139262)'))) / (select extract(epoch from '2026-08-04 06:09:04'::timestamp) - extract(epoch from '2026-08-04 06:08: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'), 48166, 'SRID=4674;POINT (-39.341984 -3.139188)', '2026-08-04 06:09:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342058 -3.139262)'), GeomFromEWKT('SRID=4674;POINT (-39.341984 -3.139188)'))) / (select extract(epoch from '2026-08-04 06:09:09'::timestamp) - extract(epoch from '2026-08-04 06:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.342058 -3.139262)'), GeomFromEWKT('SRID=4674;POINT (-39.341984 -3.139188)'))) / (select extract(epoch from '2026-08-04 06:09:09'::timestamp) - extract(epoch from '2026-08-04 06:09: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'), 48166, 'SRID=4674;POINT (-39.341891 -3.139084)', '2026-08-04 06:09:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341984 -3.139188)'), GeomFromEWKT('SRID=4674;POINT (-39.341891 -3.139084)'))) / (select extract(epoch from '2026-08-04 06:09:16'::timestamp) - extract(epoch from '2026-08-04 06:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341984 -3.139188)'), GeomFromEWKT('SRID=4674;POINT (-39.341891 -3.139084)'))) / (select extract(epoch from '2026-08-04 06:09:16'::timestamp) - extract(epoch from '2026-08-04 06:09: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'), 48166, 'SRID=4674;POINT (-39.341795 -3.138978)', '2026-08-04 06:09:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341891 -3.139084)'), GeomFromEWKT('SRID=4674;POINT (-39.341795 -3.138978)'))) / (select extract(epoch from '2026-08-04 06:09:24'::timestamp) - extract(epoch from '2026-08-04 06:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.341891 -3.139084)'), GeomFromEWKT('SRID=4674;POINT (-39.341795 -3.138978)'))) / (select extract(epoch from '2026-08-04 06:09:24'::timestamp) - extract(epoch from '2026-08-04 06:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
