 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.496808 -2.998083)', '2026-06-18 03:33:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49676 -2.998106)'), GeomFromEWKT('SRID=4674;POINT (-39.496808 -2.998083)'))) / (select extract(epoch from '2026-06-18 03:33:40'::timestamp) - extract(epoch from '2026-06-18 03:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49676 -2.998106)'), GeomFromEWKT('SRID=4674;POINT (-39.496808 -2.998083)'))) / (select extract(epoch from '2026-06-18 03:33:40'::timestamp) - extract(epoch from '2026-06-18 03:33:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.496844 -2.998077)', '2026-06-18 03:33:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.496808 -2.998083)'), GeomFromEWKT('SRID=4674;POINT (-39.496844 -2.998077)'))) / (select extract(epoch from '2026-06-18 03:33:48'::timestamp) - extract(epoch from '2026-06-18 03:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.496808 -2.998083)'), GeomFromEWKT('SRID=4674;POINT (-39.496844 -2.998077)'))) / (select extract(epoch from '2026-06-18 03:33:48'::timestamp) - extract(epoch from '2026-06-18 03:33:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.496888 -2.998065)', '2026-06-18 03:33:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.496844 -2.998077)'), GeomFromEWKT('SRID=4674;POINT (-39.496888 -2.998065)'))) / (select extract(epoch from '2026-06-18 03:33:58'::timestamp) - extract(epoch from '2026-06-18 03:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.496844 -2.998077)'), GeomFromEWKT('SRID=4674;POINT (-39.496888 -2.998065)'))) / (select extract(epoch from '2026-06-18 03:33:58'::timestamp) - extract(epoch from '2026-06-18 03:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.496929 -2.998057)', '2026-06-18 03:34:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.496888 -2.998065)'), GeomFromEWKT('SRID=4674;POINT (-39.496929 -2.998057)'))) / (select extract(epoch from '2026-06-18 03:34:07'::timestamp) - extract(epoch from '2026-06-18 03:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.496888 -2.998065)'), GeomFromEWKT('SRID=4674;POINT (-39.496929 -2.998057)'))) / (select extract(epoch from '2026-06-18 03:34:07'::timestamp) - extract(epoch from '2026-06-18 03:33: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'), 46782, 'SRID=4674;POINT (-39.496975 -2.998053)', '2026-06-18 03:34:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.496929 -2.998057)'), GeomFromEWKT('SRID=4674;POINT (-39.496975 -2.998053)'))) / (select extract(epoch from '2026-06-18 03:34:17'::timestamp) - extract(epoch from '2026-06-18 03:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.496929 -2.998057)'), GeomFromEWKT('SRID=4674;POINT (-39.496975 -2.998053)'))) / (select extract(epoch from '2026-06-18 03:34:17'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.497011 -2.998044)', '2026-06-18 03:34:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.496975 -2.998053)'), GeomFromEWKT('SRID=4674;POINT (-39.497011 -2.998044)'))) / (select extract(epoch from '2026-06-18 03:34:24'::timestamp) - extract(epoch from '2026-06-18 03:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.496975 -2.998053)'), GeomFromEWKT('SRID=4674;POINT (-39.497011 -2.998044)'))) / (select extract(epoch from '2026-06-18 03:34:24'::timestamp) - extract(epoch from '2026-06-18 03:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.497065 -2.998038)', '2026-06-18 03:34:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497011 -2.998044)'), GeomFromEWKT('SRID=4674;POINT (-39.497065 -2.998038)'))) / (select extract(epoch from '2026-06-18 03:34:33'::timestamp) - extract(epoch from '2026-06-18 03:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497011 -2.998044)'), GeomFromEWKT('SRID=4674;POINT (-39.497065 -2.998038)'))) / (select extract(epoch from '2026-06-18 03:34:33'::timestamp) - extract(epoch from '2026-06-18 03:34: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'), 46782, 'SRID=4674;POINT (-39.497097 -2.998023)', '2026-06-18 03:34:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497065 -2.998038)'), GeomFromEWKT('SRID=4674;POINT (-39.497097 -2.998023)'))) / (select extract(epoch from '2026-06-18 03:34:40'::timestamp) - extract(epoch from '2026-06-18 03:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497065 -2.998038)'), GeomFromEWKT('SRID=4674;POINT (-39.497097 -2.998023)'))) / (select extract(epoch from '2026-06-18 03:34:40'::timestamp) - extract(epoch from '2026-06-18 03:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.497136 -2.998009)', '2026-06-18 03:34:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497097 -2.998023)'), GeomFromEWKT('SRID=4674;POINT (-39.497136 -2.998009)'))) / (select extract(epoch from '2026-06-18 03:34:48'::timestamp) - extract(epoch from '2026-06-18 03:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497097 -2.998023)'), GeomFromEWKT('SRID=4674;POINT (-39.497136 -2.998009)'))) / (select extract(epoch from '2026-06-18 03:34:48'::timestamp) - extract(epoch from '2026-06-18 03:34: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'), 46782, 'SRID=4674;POINT (-39.497161 -2.998004)', '2026-06-18 03:34:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497136 -2.998009)'), GeomFromEWKT('SRID=4674;POINT (-39.497161 -2.998004)'))) / (select extract(epoch from '2026-06-18 03:34:54'::timestamp) - extract(epoch from '2026-06-18 03:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497136 -2.998009)'), GeomFromEWKT('SRID=4674;POINT (-39.497161 -2.998004)'))) / (select extract(epoch from '2026-06-18 03:34:54'::timestamp) - extract(epoch from '2026-06-18 03:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.497194 -2.997997)', '2026-06-18 03:35:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497161 -2.998004)'), GeomFromEWKT('SRID=4674;POINT (-39.497194 -2.997997)'))) / (select extract(epoch from '2026-06-18 03:35:01'::timestamp) - extract(epoch from '2026-06-18 03:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497161 -2.998004)'), GeomFromEWKT('SRID=4674;POINT (-39.497194 -2.997997)'))) / (select extract(epoch from '2026-06-18 03:35:01'::timestamp) - extract(epoch from '2026-06-18 03:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.497227 -2.997994)', '2026-06-18 03:35:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497194 -2.997997)'), GeomFromEWKT('SRID=4674;POINT (-39.497227 -2.997994)'))) / (select extract(epoch from '2026-06-18 03:35:08'::timestamp) - extract(epoch from '2026-06-18 03:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497194 -2.997997)'), GeomFromEWKT('SRID=4674;POINT (-39.497227 -2.997994)'))) / (select extract(epoch from '2026-06-18 03:35:08'::timestamp) - extract(epoch from '2026-06-18 03:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.497278 -2.997987)', '2026-06-18 03:35:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497227 -2.997994)'), GeomFromEWKT('SRID=4674;POINT (-39.497278 -2.997987)'))) / (select extract(epoch from '2026-06-18 03:35:16'::timestamp) - extract(epoch from '2026-06-18 03:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497227 -2.997994)'), GeomFromEWKT('SRID=4674;POINT (-39.497278 -2.997987)'))) / (select extract(epoch from '2026-06-18 03:35:16'::timestamp) - extract(epoch from '2026-06-18 03:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.497307 -2.997979)', '2026-06-18 03:35:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497278 -2.997987)'), GeomFromEWKT('SRID=4674;POINT (-39.497307 -2.997979)'))) / (select extract(epoch from '2026-06-18 03:35:23'::timestamp) - extract(epoch from '2026-06-18 03:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497278 -2.997987)'), GeomFromEWKT('SRID=4674;POINT (-39.497307 -2.997979)'))) / (select extract(epoch from '2026-06-18 03:35:23'::timestamp) - extract(epoch from '2026-06-18 03:35: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'), 46782, 'SRID=4674;POINT (-39.497328 -2.99798)', '2026-06-18 03:35:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497307 -2.997979)'), GeomFromEWKT('SRID=4674;POINT (-39.497328 -2.99798)'))) / (select extract(epoch from '2026-06-18 03:35:28'::timestamp) - extract(epoch from '2026-06-18 03:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497307 -2.997979)'), GeomFromEWKT('SRID=4674;POINT (-39.497328 -2.99798)'))) / (select extract(epoch from '2026-06-18 03:35:28'::timestamp) - extract(epoch from '2026-06-18 03:35: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'), 46782, 'SRID=4674;POINT (-39.497354 -2.997976)', '2026-06-18 03:35:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497328 -2.99798)'), GeomFromEWKT('SRID=4674;POINT (-39.497354 -2.997976)'))) / (select extract(epoch from '2026-06-18 03:35:33'::timestamp) - extract(epoch from '2026-06-18 03:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497328 -2.99798)'), GeomFromEWKT('SRID=4674;POINT (-39.497354 -2.997976)'))) / (select extract(epoch from '2026-06-18 03:35:33'::timestamp) - extract(epoch from '2026-06-18 03:35: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'), 46782, 'SRID=4674;POINT (-39.497399 -2.997972)', '2026-06-18 03:35:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497354 -2.997976)'), GeomFromEWKT('SRID=4674;POINT (-39.497399 -2.997972)'))) / (select extract(epoch from '2026-06-18 03:35:40'::timestamp) - extract(epoch from '2026-06-18 03:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497354 -2.997976)'), GeomFromEWKT('SRID=4674;POINT (-39.497399 -2.997972)'))) / (select extract(epoch from '2026-06-18 03:35:40'::timestamp) - extract(epoch from '2026-06-18 03:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.497435 -2.997974)', '2026-06-18 03:35:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497399 -2.997972)'), GeomFromEWKT('SRID=4674;POINT (-39.497435 -2.997974)'))) / (select extract(epoch from '2026-06-18 03:35:47'::timestamp) - extract(epoch from '2026-06-18 03:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497399 -2.997972)'), GeomFromEWKT('SRID=4674;POINT (-39.497435 -2.997974)'))) / (select extract(epoch from '2026-06-18 03:35:47'::timestamp) - extract(epoch from '2026-06-18 03:35: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'), 46782, 'SRID=4674;POINT (-39.497463 -2.997965)', '2026-06-18 03:35:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497435 -2.997974)'), GeomFromEWKT('SRID=4674;POINT (-39.497463 -2.997965)'))) / (select extract(epoch from '2026-06-18 03:35:53'::timestamp) - extract(epoch from '2026-06-18 03:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497435 -2.997974)'), GeomFromEWKT('SRID=4674;POINT (-39.497463 -2.997965)'))) / (select extract(epoch from '2026-06-18 03:35:53'::timestamp) - extract(epoch from '2026-06-18 03:35: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'), 46782, 'SRID=4674;POINT (-39.497515 -2.997957)', '2026-06-18 03:36:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497463 -2.997965)'), GeomFromEWKT('SRID=4674;POINT (-39.497515 -2.997957)'))) / (select extract(epoch from '2026-06-18 03:36:03'::timestamp) - extract(epoch from '2026-06-18 03:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497463 -2.997965)'), GeomFromEWKT('SRID=4674;POINT (-39.497515 -2.997957)'))) / (select extract(epoch from '2026-06-18 03:36:03'::timestamp) - extract(epoch from '2026-06-18 03:35: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'), 46782, 'SRID=4674;POINT (-39.497552 -2.997954)', '2026-06-18 03:36:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497515 -2.997957)'), GeomFromEWKT('SRID=4674;POINT (-39.497552 -2.997954)'))) / (select extract(epoch from '2026-06-18 03:36:12'::timestamp) - extract(epoch from '2026-06-18 03:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497515 -2.997957)'), GeomFromEWKT('SRID=4674;POINT (-39.497552 -2.997954)'))) / (select extract(epoch from '2026-06-18 03:36:12'::timestamp) - extract(epoch from '2026-06-18 03:36: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'), 46782, 'SRID=4674;POINT (-39.497584 -2.997955)', '2026-06-18 03:36:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497552 -2.997954)'), GeomFromEWKT('SRID=4674;POINT (-39.497584 -2.997955)'))) / (select extract(epoch from '2026-06-18 03:36:19'::timestamp) - extract(epoch from '2026-06-18 03:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497552 -2.997954)'), GeomFromEWKT('SRID=4674;POINT (-39.497584 -2.997955)'))) / (select extract(epoch from '2026-06-18 03:36:19'::timestamp) - extract(epoch from '2026-06-18 03:36: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'), 46782, 'SRID=4674;POINT (-39.497629 -2.997956)', '2026-06-18 03:36:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497584 -2.997955)'), GeomFromEWKT('SRID=4674;POINT (-39.497629 -2.997956)'))) / (select extract(epoch from '2026-06-18 03:36:27'::timestamp) - extract(epoch from '2026-06-18 03:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497584 -2.997955)'), GeomFromEWKT('SRID=4674;POINT (-39.497629 -2.997956)'))) / (select extract(epoch from '2026-06-18 03:36:27'::timestamp) - extract(epoch from '2026-06-18 03:36: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'), 46782, 'SRID=4674;POINT (-39.49766 -2.997944)', '2026-06-18 03:36:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497629 -2.997956)'), GeomFromEWKT('SRID=4674;POINT (-39.49766 -2.997944)'))) / (select extract(epoch from '2026-06-18 03:36:33'::timestamp) - extract(epoch from '2026-06-18 03:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497629 -2.997956)'), GeomFromEWKT('SRID=4674;POINT (-39.49766 -2.997944)'))) / (select extract(epoch from '2026-06-18 03:36:33'::timestamp) - extract(epoch from '2026-06-18 03:36: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'), 46782, 'SRID=4674;POINT (-39.497698 -2.997944)', '2026-06-18 03:36:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49766 -2.997944)'), GeomFromEWKT('SRID=4674;POINT (-39.497698 -2.997944)'))) / (select extract(epoch from '2026-06-18 03:36:40'::timestamp) - extract(epoch from '2026-06-18 03:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49766 -2.997944)'), GeomFromEWKT('SRID=4674;POINT (-39.497698 -2.997944)'))) / (select extract(epoch from '2026-06-18 03:36:40'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.497732 -2.997931)', '2026-06-18 03:36:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497698 -2.997944)'), GeomFromEWKT('SRID=4674;POINT (-39.497732 -2.997931)'))) / (select extract(epoch from '2026-06-18 03:36:48'::timestamp) - extract(epoch from '2026-06-18 03:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497698 -2.997944)'), GeomFromEWKT('SRID=4674;POINT (-39.497732 -2.997931)'))) / (select extract(epoch from '2026-06-18 03:36:48'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.49778 -2.997916)', '2026-06-18 03:36:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497732 -2.997931)'), GeomFromEWKT('SRID=4674;POINT (-39.49778 -2.997916)'))) / (select extract(epoch from '2026-06-18 03:36:57'::timestamp) - extract(epoch from '2026-06-18 03:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497732 -2.997931)'), GeomFromEWKT('SRID=4674;POINT (-39.49778 -2.997916)'))) / (select extract(epoch from '2026-06-18 03:36:57'::timestamp) - extract(epoch from '2026-06-18 03:36:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.497813 -2.997908)', '2026-06-18 03:37:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49778 -2.997916)'), GeomFromEWKT('SRID=4674;POINT (-39.497813 -2.997908)'))) / (select extract(epoch from '2026-06-18 03:37:04'::timestamp) - extract(epoch from '2026-06-18 03:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49778 -2.997916)'), GeomFromEWKT('SRID=4674;POINT (-39.497813 -2.997908)'))) / (select extract(epoch from '2026-06-18 03:37:04'::timestamp) - extract(epoch from '2026-06-18 03:36:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.497852 -2.997901)', '2026-06-18 03:37:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497813 -2.997908)'), GeomFromEWKT('SRID=4674;POINT (-39.497852 -2.997901)'))) / (select extract(epoch from '2026-06-18 03:37:11'::timestamp) - extract(epoch from '2026-06-18 03:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497813 -2.997908)'), GeomFromEWKT('SRID=4674;POINT (-39.497852 -2.997901)'))) / (select extract(epoch from '2026-06-18 03:37:11'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.497887 -2.997896)', '2026-06-18 03:37:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497852 -2.997901)'), GeomFromEWKT('SRID=4674;POINT (-39.497887 -2.997896)'))) / (select extract(epoch from '2026-06-18 03:37:19'::timestamp) - extract(epoch from '2026-06-18 03:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497852 -2.997901)'), GeomFromEWKT('SRID=4674;POINT (-39.497887 -2.997896)'))) / (select extract(epoch from '2026-06-18 03:37:19'::timestamp) - extract(epoch from '2026-06-18 03:37: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'), 46782, 'SRID=4674;POINT (-39.49793 -2.99789)', '2026-06-18 03:37:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497887 -2.997896)'), GeomFromEWKT('SRID=4674;POINT (-39.49793 -2.99789)'))) / (select extract(epoch from '2026-06-18 03:37:27'::timestamp) - extract(epoch from '2026-06-18 03:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497887 -2.997896)'), GeomFromEWKT('SRID=4674;POINT (-39.49793 -2.99789)'))) / (select extract(epoch from '2026-06-18 03:37:27'::timestamp) - extract(epoch from '2026-06-18 03:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.497977 -2.997887)', '2026-06-18 03:37:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49793 -2.99789)'), GeomFromEWKT('SRID=4674;POINT (-39.497977 -2.997887)'))) / (select extract(epoch from '2026-06-18 03:37:36'::timestamp) - extract(epoch from '2026-06-18 03:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49793 -2.99789)'), GeomFromEWKT('SRID=4674;POINT (-39.497977 -2.997887)'))) / (select extract(epoch from '2026-06-18 03:37:36'::timestamp) - extract(epoch from '2026-06-18 03:37: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'), 46782, 'SRID=4674;POINT (-39.498008 -2.997872)', '2026-06-18 03:37:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497977 -2.997887)'), GeomFromEWKT('SRID=4674;POINT (-39.498008 -2.997872)'))) / (select extract(epoch from '2026-06-18 03:37:42'::timestamp) - extract(epoch from '2026-06-18 03:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.497977 -2.997887)'), GeomFromEWKT('SRID=4674;POINT (-39.498008 -2.997872)'))) / (select extract(epoch from '2026-06-18 03:37:42'::timestamp) - extract(epoch from '2026-06-18 03:37: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'), 46782, 'SRID=4674;POINT (-39.498051 -2.997859)', '2026-06-18 03:37:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498008 -2.997872)'), GeomFromEWKT('SRID=4674;POINT (-39.498051 -2.997859)'))) / (select extract(epoch from '2026-06-18 03:37:51'::timestamp) - extract(epoch from '2026-06-18 03:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498008 -2.997872)'), GeomFromEWKT('SRID=4674;POINT (-39.498051 -2.997859)'))) / (select extract(epoch from '2026-06-18 03:37:51'::timestamp) - extract(epoch from '2026-06-18 03:37: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'), 46782, 'SRID=4674;POINT (-39.498091 -2.997842)', '2026-06-18 03:37:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498051 -2.997859)'), GeomFromEWKT('SRID=4674;POINT (-39.498091 -2.997842)'))) / (select extract(epoch from '2026-06-18 03:37:58'::timestamp) - extract(epoch from '2026-06-18 03:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498051 -2.997859)'), GeomFromEWKT('SRID=4674;POINT (-39.498091 -2.997842)'))) / (select extract(epoch from '2026-06-18 03:37:58'::timestamp) - extract(epoch from '2026-06-18 03:37:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.498113 -2.99784)', '2026-06-18 03:38:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498091 -2.997842)'), GeomFromEWKT('SRID=4674;POINT (-39.498113 -2.99784)'))) / (select extract(epoch from '2026-06-18 03:38:02'::timestamp) - extract(epoch from '2026-06-18 03:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498091 -2.997842)'), GeomFromEWKT('SRID=4674;POINT (-39.498113 -2.99784)'))) / (select extract(epoch from '2026-06-18 03:38:02'::timestamp) - extract(epoch from '2026-06-18 03:37: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'), 46782, 'SRID=4674;POINT (-39.49816 -2.997823)', '2026-06-18 03:38:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498113 -2.99784)'), GeomFromEWKT('SRID=4674;POINT (-39.49816 -2.997823)'))) / (select extract(epoch from '2026-06-18 03:38:12'::timestamp) - extract(epoch from '2026-06-18 03:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498113 -2.99784)'), GeomFromEWKT('SRID=4674;POINT (-39.49816 -2.997823)'))) / (select extract(epoch from '2026-06-18 03:38:12'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.4982 -2.997809)', '2026-06-18 03:38:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49816 -2.997823)'), GeomFromEWKT('SRID=4674;POINT (-39.4982 -2.997809)'))) / (select extract(epoch from '2026-06-18 03:38:20'::timestamp) - extract(epoch from '2026-06-18 03:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49816 -2.997823)'), GeomFromEWKT('SRID=4674;POINT (-39.4982 -2.997809)'))) / (select extract(epoch from '2026-06-18 03:38:20'::timestamp) - extract(epoch from '2026-06-18 03:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.498243 -2.997813)', '2026-06-18 03:38:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4982 -2.997809)'), GeomFromEWKT('SRID=4674;POINT (-39.498243 -2.997813)'))) / (select extract(epoch from '2026-06-18 03:38:27'::timestamp) - extract(epoch from '2026-06-18 03:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4982 -2.997809)'), GeomFromEWKT('SRID=4674;POINT (-39.498243 -2.997813)'))) / (select extract(epoch from '2026-06-18 03:38:27'::timestamp) - extract(epoch from '2026-06-18 03:38: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'), 46782, 'SRID=4674;POINT (-39.498281 -2.997807)', '2026-06-18 03:38:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498243 -2.997813)'), GeomFromEWKT('SRID=4674;POINT (-39.498281 -2.997807)'))) / (select extract(epoch from '2026-06-18 03:38:35'::timestamp) - extract(epoch from '2026-06-18 03:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498243 -2.997813)'), GeomFromEWKT('SRID=4674;POINT (-39.498281 -2.997807)'))) / (select extract(epoch from '2026-06-18 03:38:35'::timestamp) - extract(epoch from '2026-06-18 03:38: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'), 46782, 'SRID=4674;POINT (-39.498316 -2.9978)', '2026-06-18 03:38:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498281 -2.997807)'), GeomFromEWKT('SRID=4674;POINT (-39.498316 -2.9978)'))) / (select extract(epoch from '2026-06-18 03:38:44'::timestamp) - extract(epoch from '2026-06-18 03:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498281 -2.997807)'), GeomFromEWKT('SRID=4674;POINT (-39.498316 -2.9978)'))) / (select extract(epoch from '2026-06-18 03:38:44'::timestamp) - extract(epoch from '2026-06-18 03:38: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'), 46782, 'SRID=4674;POINT (-39.498357 -2.997781)', '2026-06-18 03:38:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498316 -2.9978)'), GeomFromEWKT('SRID=4674;POINT (-39.498357 -2.997781)'))) / (select extract(epoch from '2026-06-18 03:38:52'::timestamp) - extract(epoch from '2026-06-18 03:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498316 -2.9978)'), GeomFromEWKT('SRID=4674;POINT (-39.498357 -2.997781)'))) / (select extract(epoch from '2026-06-18 03:38:52'::timestamp) - extract(epoch from '2026-06-18 03:38: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'), 46782, 'SRID=4674;POINT (-39.498399 -2.997771)', '2026-06-18 03:39:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498357 -2.997781)'), GeomFromEWKT('SRID=4674;POINT (-39.498399 -2.997771)'))) / (select extract(epoch from '2026-06-18 03:39:01'::timestamp) - extract(epoch from '2026-06-18 03:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498357 -2.997781)'), GeomFromEWKT('SRID=4674;POINT (-39.498399 -2.997771)'))) / (select extract(epoch from '2026-06-18 03:39:01'::timestamp) - extract(epoch from '2026-06-18 03:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.498442 -2.997767)', '2026-06-18 03:39:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498399 -2.997771)'), GeomFromEWKT('SRID=4674;POINT (-39.498442 -2.997767)'))) / (select extract(epoch from '2026-06-18 03:39:09'::timestamp) - extract(epoch from '2026-06-18 03:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498399 -2.997771)'), GeomFromEWKT('SRID=4674;POINT (-39.498442 -2.997767)'))) / (select extract(epoch from '2026-06-18 03:39:09'::timestamp) - extract(epoch from '2026-06-18 03:39: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'), 46782, 'SRID=4674;POINT (-39.498479 -2.997758)', '2026-06-18 03:39:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498442 -2.997767)'), GeomFromEWKT('SRID=4674;POINT (-39.498479 -2.997758)'))) / (select extract(epoch from '2026-06-18 03:39:16'::timestamp) - extract(epoch from '2026-06-18 03:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498442 -2.997767)'), GeomFromEWKT('SRID=4674;POINT (-39.498479 -2.997758)'))) / (select extract(epoch from '2026-06-18 03:39:16'::timestamp) - extract(epoch from '2026-06-18 03:39: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'), 46782, 'SRID=4674;POINT (-39.498512 -2.997752)', '2026-06-18 03:39:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498479 -2.997758)'), GeomFromEWKT('SRID=4674;POINT (-39.498512 -2.997752)'))) / (select extract(epoch from '2026-06-18 03:39:24'::timestamp) - extract(epoch from '2026-06-18 03:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498479 -2.997758)'), GeomFromEWKT('SRID=4674;POINT (-39.498512 -2.997752)'))) / (select extract(epoch from '2026-06-18 03:39:24'::timestamp) - extract(epoch from '2026-06-18 03:39: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'), 46782, 'SRID=4674;POINT (-39.498553 -2.997744)', '2026-06-18 03:39:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498512 -2.997752)'), GeomFromEWKT('SRID=4674;POINT (-39.498553 -2.997744)'))) / (select extract(epoch from '2026-06-18 03:39:32'::timestamp) - extract(epoch from '2026-06-18 03:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498512 -2.997752)'), GeomFromEWKT('SRID=4674;POINT (-39.498553 -2.997744)'))) / (select extract(epoch from '2026-06-18 03:39:32'::timestamp) - extract(epoch from '2026-06-18 03:39: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'), 46782, 'SRID=4674;POINT (-39.4986 -2.997735)', '2026-06-18 03:39:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498553 -2.997744)'), GeomFromEWKT('SRID=4674;POINT (-39.4986 -2.997735)'))) / (select extract(epoch from '2026-06-18 03:39:41'::timestamp) - extract(epoch from '2026-06-18 03:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498553 -2.997744)'), GeomFromEWKT('SRID=4674;POINT (-39.4986 -2.997735)'))) / (select extract(epoch from '2026-06-18 03:39:41'::timestamp) - extract(epoch from '2026-06-18 03:39: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'), 46782, 'SRID=4674;POINT (-39.498629 -2.997732)', '2026-06-18 03:39:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4986 -2.997735)'), GeomFromEWKT('SRID=4674;POINT (-39.498629 -2.997732)'))) / (select extract(epoch from '2026-06-18 03:39:48'::timestamp) - extract(epoch from '2026-06-18 03:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.4986 -2.997735)'), GeomFromEWKT('SRID=4674;POINT (-39.498629 -2.997732)'))) / (select extract(epoch from '2026-06-18 03:39:48'::timestamp) - extract(epoch from '2026-06-18 03:39: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'), 46782, 'SRID=4674;POINT (-39.498673 -2.997721)', '2026-06-18 03:39:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498629 -2.997732)'), GeomFromEWKT('SRID=4674;POINT (-39.498673 -2.997721)'))) / (select extract(epoch from '2026-06-18 03:39:57'::timestamp) - extract(epoch from '2026-06-18 03:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498629 -2.997732)'), GeomFromEWKT('SRID=4674;POINT (-39.498673 -2.997721)'))) / (select extract(epoch from '2026-06-18 03:39:57'::timestamp) - extract(epoch from '2026-06-18 03:39: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'), 46782, 'SRID=4674;POINT (-39.498707 -2.997721)', '2026-06-18 03:40:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498673 -2.997721)'), GeomFromEWKT('SRID=4674;POINT (-39.498707 -2.997721)'))) / (select extract(epoch from '2026-06-18 03:40:06'::timestamp) - extract(epoch from '2026-06-18 03:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498673 -2.997721)'), GeomFromEWKT('SRID=4674;POINT (-39.498707 -2.997721)'))) / (select extract(epoch from '2026-06-18 03:40:06'::timestamp) - extract(epoch from '2026-06-18 03:39:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.498744 -2.997713)', '2026-06-18 03:40:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498707 -2.997721)'), GeomFromEWKT('SRID=4674;POINT (-39.498744 -2.997713)'))) / (select extract(epoch from '2026-06-18 03:40:14'::timestamp) - extract(epoch from '2026-06-18 03:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498707 -2.997721)'), GeomFromEWKT('SRID=4674;POINT (-39.498744 -2.997713)'))) / (select extract(epoch from '2026-06-18 03:40:14'::timestamp) - extract(epoch from '2026-06-18 03:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.498786 -2.997708)', '2026-06-18 03:40:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498744 -2.997713)'), GeomFromEWKT('SRID=4674;POINT (-39.498786 -2.997708)'))) / (select extract(epoch from '2026-06-18 03:40:22'::timestamp) - extract(epoch from '2026-06-18 03:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498744 -2.997713)'), GeomFromEWKT('SRID=4674;POINT (-39.498786 -2.997708)'))) / (select extract(epoch from '2026-06-18 03:40:22'::timestamp) - extract(epoch from '2026-06-18 03:40: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'), 46782, 'SRID=4674;POINT (-39.498839 -2.997698)', '2026-06-18 03:40:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498786 -2.997708)'), GeomFromEWKT('SRID=4674;POINT (-39.498839 -2.997698)'))) / (select extract(epoch from '2026-06-18 03:40:31'::timestamp) - extract(epoch from '2026-06-18 03:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498786 -2.997708)'), GeomFromEWKT('SRID=4674;POINT (-39.498839 -2.997698)'))) / (select extract(epoch from '2026-06-18 03:40:31'::timestamp) - extract(epoch from '2026-06-18 03:40: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'), 46782, 'SRID=4674;POINT (-39.49887 -2.997699)', '2026-06-18 03:40:38', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498839 -2.997698)'), GeomFromEWKT('SRID=4674;POINT (-39.49887 -2.997699)'))) / (select extract(epoch from '2026-06-18 03:40:38'::timestamp) - extract(epoch from '2026-06-18 03:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498839 -2.997698)'), GeomFromEWKT('SRID=4674;POINT (-39.49887 -2.997699)'))) / (select extract(epoch from '2026-06-18 03:40:38'::timestamp) - extract(epoch from '2026-06-18 03:40: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'), 46782, 'SRID=4674;POINT (-39.498904 -2.997687)', '2026-06-18 03:40:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49887 -2.997699)'), GeomFromEWKT('SRID=4674;POINT (-39.498904 -2.997687)'))) / (select extract(epoch from '2026-06-18 03:40:45'::timestamp) - extract(epoch from '2026-06-18 03:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49887 -2.997699)'), GeomFromEWKT('SRID=4674;POINT (-39.498904 -2.997687)'))) / (select extract(epoch from '2026-06-18 03:40:45'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.498949 -2.997682)', '2026-06-18 03:40:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498904 -2.997687)'), GeomFromEWKT('SRID=4674;POINT (-39.498949 -2.997682)'))) / (select extract(epoch from '2026-06-18 03:40:53'::timestamp) - extract(epoch from '2026-06-18 03:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498904 -2.997687)'), GeomFromEWKT('SRID=4674;POINT (-39.498949 -2.997682)'))) / (select extract(epoch from '2026-06-18 03:40:53'::timestamp) - extract(epoch from '2026-06-18 03:40: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'), 46782, 'SRID=4674;POINT (-39.498978 -2.997677)', '2026-06-18 03:41:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498949 -2.997682)'), GeomFromEWKT('SRID=4674;POINT (-39.498978 -2.997677)'))) / (select extract(epoch from '2026-06-18 03:41:00'::timestamp) - extract(epoch from '2026-06-18 03:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498949 -2.997682)'), GeomFromEWKT('SRID=4674;POINT (-39.498978 -2.997677)'))) / (select extract(epoch from '2026-06-18 03:41:00'::timestamp) - extract(epoch from '2026-06-18 03:40: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'), 46782, 'SRID=4674;POINT (-39.499013 -2.997664)', '2026-06-18 03:41:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498978 -2.997677)'), GeomFromEWKT('SRID=4674;POINT (-39.499013 -2.997664)'))) / (select extract(epoch from '2026-06-18 03:41:08'::timestamp) - extract(epoch from '2026-06-18 03:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.498978 -2.997677)'), GeomFromEWKT('SRID=4674;POINT (-39.499013 -2.997664)'))) / (select extract(epoch from '2026-06-18 03:41:08'::timestamp) - extract(epoch from '2026-06-18 03:41: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'), 46782, 'SRID=4674;POINT (-39.499066 -2.997651)', '2026-06-18 03:41:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499013 -2.997664)'), GeomFromEWKT('SRID=4674;POINT (-39.499066 -2.997651)'))) / (select extract(epoch from '2026-06-18 03:41:18'::timestamp) - extract(epoch from '2026-06-18 03:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499013 -2.997664)'), GeomFromEWKT('SRID=4674;POINT (-39.499066 -2.997651)'))) / (select extract(epoch from '2026-06-18 03:41:18'::timestamp) - extract(epoch from '2026-06-18 03:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.499099 -2.997647)', '2026-06-18 03:41:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499066 -2.997651)'), GeomFromEWKT('SRID=4674;POINT (-39.499099 -2.997647)'))) / (select extract(epoch from '2026-06-18 03:41:26'::timestamp) - extract(epoch from '2026-06-18 03:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499066 -2.997651)'), GeomFromEWKT('SRID=4674;POINT (-39.499099 -2.997647)'))) / (select extract(epoch from '2026-06-18 03:41:26'::timestamp) - extract(epoch from '2026-06-18 03:41: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'), 46782, 'SRID=4674;POINT (-39.499141 -2.997647)', '2026-06-18 03:41:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499099 -2.997647)'), GeomFromEWKT('SRID=4674;POINT (-39.499141 -2.997647)'))) / (select extract(epoch from '2026-06-18 03:41:36'::timestamp) - extract(epoch from '2026-06-18 03:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499099 -2.997647)'), GeomFromEWKT('SRID=4674;POINT (-39.499141 -2.997647)'))) / (select extract(epoch from '2026-06-18 03:41:36'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.499182 -2.997641)', '2026-06-18 03:41:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499141 -2.997647)'), GeomFromEWKT('SRID=4674;POINT (-39.499182 -2.997641)'))) / (select extract(epoch from '2026-06-18 03:41:44'::timestamp) - extract(epoch from '2026-06-18 03:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499141 -2.997647)'), GeomFromEWKT('SRID=4674;POINT (-39.499182 -2.997641)'))) / (select extract(epoch from '2026-06-18 03:41:44'::timestamp) - extract(epoch from '2026-06-18 03:41:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.499193 -2.997637)', '2026-06-18 03:41:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499182 -2.997641)'), GeomFromEWKT('SRID=4674;POINT (-39.499193 -2.997637)'))) / (select extract(epoch from '2026-06-18 03:41:46'::timestamp) - extract(epoch from '2026-06-18 03:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499182 -2.997641)'), GeomFromEWKT('SRID=4674;POINT (-39.499193 -2.997637)'))) / (select extract(epoch from '2026-06-18 03:41:46'::timestamp) - extract(epoch from '2026-06-18 03:41: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'), 46782, 'SRID=4674;POINT (-39.49922 -2.99763)', '2026-06-18 03:41:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499193 -2.997637)'), GeomFromEWKT('SRID=4674;POINT (-39.49922 -2.99763)'))) / (select extract(epoch from '2026-06-18 03:41:51'::timestamp) - extract(epoch from '2026-06-18 03:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499193 -2.997637)'), GeomFromEWKT('SRID=4674;POINT (-39.49922 -2.99763)'))) / (select extract(epoch from '2026-06-18 03:41:51'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.499261 -2.997625)', '2026-06-18 03:42:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49922 -2.99763)'), GeomFromEWKT('SRID=4674;POINT (-39.499261 -2.997625)'))) / (select extract(epoch from '2026-06-18 03:42:00'::timestamp) - extract(epoch from '2026-06-18 03:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49922 -2.99763)'), GeomFromEWKT('SRID=4674;POINT (-39.499261 -2.997625)'))) / (select extract(epoch from '2026-06-18 03:42:00'::timestamp) - extract(epoch from '2026-06-18 03:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.499295 -2.997618)', '2026-06-18 03:42:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499261 -2.997625)'), GeomFromEWKT('SRID=4674;POINT (-39.499295 -2.997618)'))) / (select extract(epoch from '2026-06-18 03:42:07'::timestamp) - extract(epoch from '2026-06-18 03:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499261 -2.997625)'), GeomFromEWKT('SRID=4674;POINT (-39.499295 -2.997618)'))) / (select extract(epoch from '2026-06-18 03:42:07'::timestamp) - extract(epoch from '2026-06-18 03:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.499336 -2.997616)', '2026-06-18 03:42:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499295 -2.997618)'), GeomFromEWKT('SRID=4674;POINT (-39.499336 -2.997616)'))) / (select extract(epoch from '2026-06-18 03:42:15'::timestamp) - extract(epoch from '2026-06-18 03:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499295 -2.997618)'), GeomFromEWKT('SRID=4674;POINT (-39.499336 -2.997616)'))) / (select extract(epoch from '2026-06-18 03:42:15'::timestamp) - extract(epoch from '2026-06-18 03:42: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'), 46782, 'SRID=4674;POINT (-39.499376 -2.997619)', '2026-06-18 03:42:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499336 -2.997616)'), GeomFromEWKT('SRID=4674;POINT (-39.499376 -2.997619)'))) / (select extract(epoch from '2026-06-18 03:42:23'::timestamp) - extract(epoch from '2026-06-18 03:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499336 -2.997616)'), GeomFromEWKT('SRID=4674;POINT (-39.499376 -2.997619)'))) / (select extract(epoch from '2026-06-18 03:42:23'::timestamp) - extract(epoch from '2026-06-18 03:42: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'), 46782, 'SRID=4674;POINT (-39.499403 -2.997617)', '2026-06-18 03:42:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499376 -2.997619)'), GeomFromEWKT('SRID=4674;POINT (-39.499403 -2.997617)'))) / (select extract(epoch from '2026-06-18 03:42:29'::timestamp) - extract(epoch from '2026-06-18 03:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499376 -2.997619)'), GeomFromEWKT('SRID=4674;POINT (-39.499403 -2.997617)'))) / (select extract(epoch from '2026-06-18 03:42:29'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.499443 -2.9976)', '2026-06-18 03:42:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499403 -2.997617)'), GeomFromEWKT('SRID=4674;POINT (-39.499443 -2.9976)'))) / (select extract(epoch from '2026-06-18 03:42:37'::timestamp) - extract(epoch from '2026-06-18 03:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499403 -2.997617)'), GeomFromEWKT('SRID=4674;POINT (-39.499443 -2.9976)'))) / (select extract(epoch from '2026-06-18 03:42:37'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.499471 -2.997601)', '2026-06-18 03:42:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499443 -2.9976)'), GeomFromEWKT('SRID=4674;POINT (-39.499471 -2.997601)'))) / (select extract(epoch from '2026-06-18 03:42:46'::timestamp) - extract(epoch from '2026-06-18 03:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499443 -2.9976)'), GeomFromEWKT('SRID=4674;POINT (-39.499471 -2.997601)'))) / (select extract(epoch from '2026-06-18 03:42:46'::timestamp) - extract(epoch from '2026-06-18 03:42: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'), 46782, 'SRID=4674;POINT (-39.499525 -2.997596)', '2026-06-18 03:42:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499471 -2.997601)'), GeomFromEWKT('SRID=4674;POINT (-39.499525 -2.997596)'))) / (select extract(epoch from '2026-06-18 03:42:58'::timestamp) - extract(epoch from '2026-06-18 03:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499471 -2.997601)'), GeomFromEWKT('SRID=4674;POINT (-39.499525 -2.997596)'))) / (select extract(epoch from '2026-06-18 03:42:58'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.49956 -2.9976)', '2026-06-18 03:43:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499525 -2.997596)'), GeomFromEWKT('SRID=4674;POINT (-39.49956 -2.9976)'))) / (select extract(epoch from '2026-06-18 03:43:06'::timestamp) - extract(epoch from '2026-06-18 03:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499525 -2.997596)'), GeomFromEWKT('SRID=4674;POINT (-39.49956 -2.9976)'))) / (select extract(epoch from '2026-06-18 03:43:06'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.499603 -2.997597)', '2026-06-18 03:43:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49956 -2.9976)'), GeomFromEWKT('SRID=4674;POINT (-39.499603 -2.997597)'))) / (select extract(epoch from '2026-06-18 03:43:15'::timestamp) - extract(epoch from '2026-06-18 03:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.49956 -2.9976)'), GeomFromEWKT('SRID=4674;POINT (-39.499603 -2.997597)'))) / (select extract(epoch from '2026-06-18 03:43:15'::timestamp) - extract(epoch from '2026-06-18 03:43: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'), 46782, 'SRID=4674;POINT (-39.499645 -2.997585)', '2026-06-18 03:43:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499603 -2.997597)'), GeomFromEWKT('SRID=4674;POINT (-39.499645 -2.997585)'))) / (select extract(epoch from '2026-06-18 03:43:23'::timestamp) - extract(epoch from '2026-06-18 03:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499603 -2.997597)'), GeomFromEWKT('SRID=4674;POINT (-39.499645 -2.997585)'))) / (select extract(epoch from '2026-06-18 03:43:23'::timestamp) - extract(epoch from '2026-06-18 03:43: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'), 46782, 'SRID=4674;POINT (-39.499674 -2.997575)', '2026-06-18 03:43:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499645 -2.997585)'), GeomFromEWKT('SRID=4674;POINT (-39.499674 -2.997575)'))) / (select extract(epoch from '2026-06-18 03:43:30'::timestamp) - extract(epoch from '2026-06-18 03:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499645 -2.997585)'), GeomFromEWKT('SRID=4674;POINT (-39.499674 -2.997575)'))) / (select extract(epoch from '2026-06-18 03:43:30'::timestamp) - extract(epoch from '2026-06-18 03:43: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'), 46782, 'SRID=4674;POINT (-39.499705 -2.997575)', '2026-06-18 03:43:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499674 -2.997575)'), GeomFromEWKT('SRID=4674;POINT (-39.499705 -2.997575)'))) / (select extract(epoch from '2026-06-18 03:43:37'::timestamp) - extract(epoch from '2026-06-18 03:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499674 -2.997575)'), GeomFromEWKT('SRID=4674;POINT (-39.499705 -2.997575)'))) / (select extract(epoch from '2026-06-18 03:43:37'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.499747 -2.997571)', '2026-06-18 03:43:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499705 -2.997575)'), GeomFromEWKT('SRID=4674;POINT (-39.499747 -2.997571)'))) / (select extract(epoch from '2026-06-18 03:43:46'::timestamp) - extract(epoch from '2026-06-18 03:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499705 -2.997575)'), GeomFromEWKT('SRID=4674;POINT (-39.499747 -2.997571)'))) / (select extract(epoch from '2026-06-18 03:43:46'::timestamp) - extract(epoch from '2026-06-18 03:43: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'), 46782, 'SRID=4674;POINT (-39.499787 -2.997564)', '2026-06-18 03:43:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499747 -2.997571)'), GeomFromEWKT('SRID=4674;POINT (-39.499787 -2.997564)'))) / (select extract(epoch from '2026-06-18 03:43:54'::timestamp) - extract(epoch from '2026-06-18 03:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499747 -2.997571)'), GeomFromEWKT('SRID=4674;POINT (-39.499787 -2.997564)'))) / (select extract(epoch from '2026-06-18 03:43:54'::timestamp) - extract(epoch from '2026-06-18 03:43: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'), 46782, 'SRID=4674;POINT (-39.499823 -2.997561)', '2026-06-18 03:44:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499787 -2.997564)'), GeomFromEWKT('SRID=4674;POINT (-39.499823 -2.997561)'))) / (select extract(epoch from '2026-06-18 03:44:02'::timestamp) - extract(epoch from '2026-06-18 03:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499787 -2.997564)'), GeomFromEWKT('SRID=4674;POINT (-39.499823 -2.997561)'))) / (select extract(epoch from '2026-06-18 03:44:02'::timestamp) - extract(epoch from '2026-06-18 03:43: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'), 46782, 'SRID=4674;POINT (-39.499855 -2.997559)', '2026-06-18 03:44:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499823 -2.997561)'), GeomFromEWKT('SRID=4674;POINT (-39.499855 -2.997559)'))) / (select extract(epoch from '2026-06-18 03:44:09'::timestamp) - extract(epoch from '2026-06-18 03:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499823 -2.997561)'), GeomFromEWKT('SRID=4674;POINT (-39.499855 -2.997559)'))) / (select extract(epoch from '2026-06-18 03:44:09'::timestamp) - extract(epoch from '2026-06-18 03:44: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'), 46782, 'SRID=4674;POINT (-39.499892 -2.997553)', '2026-06-18 03:44:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499855 -2.997559)'), GeomFromEWKT('SRID=4674;POINT (-39.499892 -2.997553)'))) / (select extract(epoch from '2026-06-18 03:44:17'::timestamp) - extract(epoch from '2026-06-18 03:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499855 -2.997559)'), GeomFromEWKT('SRID=4674;POINT (-39.499892 -2.997553)'))) / (select extract(epoch from '2026-06-18 03:44:17'::timestamp) - extract(epoch from '2026-06-18 03:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.499927 -2.997547)', '2026-06-18 03:44:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499892 -2.997553)'), GeomFromEWKT('SRID=4674;POINT (-39.499927 -2.997547)'))) / (select extract(epoch from '2026-06-18 03:44:24'::timestamp) - extract(epoch from '2026-06-18 03:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499892 -2.997553)'), GeomFromEWKT('SRID=4674;POINT (-39.499927 -2.997547)'))) / (select extract(epoch from '2026-06-18 03:44:24'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.499973 -2.997531)', '2026-06-18 03:44:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499927 -2.997547)'), GeomFromEWKT('SRID=4674;POINT (-39.499973 -2.997531)'))) / (select extract(epoch from '2026-06-18 03:44:33'::timestamp) - extract(epoch from '2026-06-18 03:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499927 -2.997547)'), GeomFromEWKT('SRID=4674;POINT (-39.499973 -2.997531)'))) / (select extract(epoch from '2026-06-18 03:44:33'::timestamp) - extract(epoch from '2026-06-18 03:44: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'), 46782, 'SRID=4674;POINT (-39.500009 -2.997519)', '2026-06-18 03:44:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499973 -2.997531)'), GeomFromEWKT('SRID=4674;POINT (-39.500009 -2.997519)'))) / (select extract(epoch from '2026-06-18 03:44:41'::timestamp) - extract(epoch from '2026-06-18 03:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.499973 -2.997531)'), GeomFromEWKT('SRID=4674;POINT (-39.500009 -2.997519)'))) / (select extract(epoch from '2026-06-18 03:44:41'::timestamp) - extract(epoch from '2026-06-18 03:44: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'), 46782, 'SRID=4674;POINT (-39.500035 -2.997505)', '2026-06-18 03:44:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500009 -2.997519)'), GeomFromEWKT('SRID=4674;POINT (-39.500035 -2.997505)'))) / (select extract(epoch from '2026-06-18 03:44:47'::timestamp) - extract(epoch from '2026-06-18 03:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500009 -2.997519)'), GeomFromEWKT('SRID=4674;POINT (-39.500035 -2.997505)'))) / (select extract(epoch from '2026-06-18 03:44:47'::timestamp) - extract(epoch from '2026-06-18 03:44:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.500078 -2.997498)', '2026-06-18 03:44:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500035 -2.997505)'), GeomFromEWKT('SRID=4674;POINT (-39.500078 -2.997498)'))) / (select extract(epoch from '2026-06-18 03:44:55'::timestamp) - extract(epoch from '2026-06-18 03:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500035 -2.997505)'), GeomFromEWKT('SRID=4674;POINT (-39.500078 -2.997498)'))) / (select extract(epoch from '2026-06-18 03:44:55'::timestamp) - extract(epoch from '2026-06-18 03:44: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'), 46782, 'SRID=4674;POINT (-39.500103 -2.9975)', '2026-06-18 03:45:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500078 -2.997498)'), GeomFromEWKT('SRID=4674;POINT (-39.500103 -2.9975)'))) / (select extract(epoch from '2026-06-18 03:45:01'::timestamp) - extract(epoch from '2026-06-18 03:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500078 -2.997498)'), GeomFromEWKT('SRID=4674;POINT (-39.500103 -2.9975)'))) / (select extract(epoch from '2026-06-18 03:45:01'::timestamp) - extract(epoch from '2026-06-18 03:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.500141 -2.997496)', '2026-06-18 03:45:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500103 -2.9975)'), GeomFromEWKT('SRID=4674;POINT (-39.500141 -2.997496)'))) / (select extract(epoch from '2026-06-18 03:45:08'::timestamp) - extract(epoch from '2026-06-18 03:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500103 -2.9975)'), GeomFromEWKT('SRID=4674;POINT (-39.500141 -2.997496)'))) / (select extract(epoch from '2026-06-18 03:45:08'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.50017 -2.997495)', '2026-06-18 03:45:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500141 -2.997496)'), GeomFromEWKT('SRID=4674;POINT (-39.50017 -2.997495)'))) / (select extract(epoch from '2026-06-18 03:45:14'::timestamp) - extract(epoch from '2026-06-18 03:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500141 -2.997496)'), GeomFromEWKT('SRID=4674;POINT (-39.50017 -2.997495)'))) / (select extract(epoch from '2026-06-18 03:45:14'::timestamp) - extract(epoch from '2026-06-18 03:45: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'), 46782, 'SRID=4674;POINT (-39.500209 -2.997491)', '2026-06-18 03:45:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50017 -2.997495)'), GeomFromEWKT('SRID=4674;POINT (-39.500209 -2.997491)'))) / (select extract(epoch from '2026-06-18 03:45:22'::timestamp) - extract(epoch from '2026-06-18 03:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50017 -2.997495)'), GeomFromEWKT('SRID=4674;POINT (-39.500209 -2.997491)'))) / (select extract(epoch from '2026-06-18 03:45:22'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.500254 -2.997475)', '2026-06-18 03:45:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500209 -2.997491)'), GeomFromEWKT('SRID=4674;POINT (-39.500254 -2.997475)'))) / (select extract(epoch from '2026-06-18 03:45:31'::timestamp) - extract(epoch from '2026-06-18 03:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500209 -2.997491)'), GeomFromEWKT('SRID=4674;POINT (-39.500254 -2.997475)'))) / (select extract(epoch from '2026-06-18 03:45:31'::timestamp) - extract(epoch from '2026-06-18 03:45: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'), 46782, 'SRID=4674;POINT (-39.500285 -2.99747)', '2026-06-18 03:45:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500254 -2.997475)'), GeomFromEWKT('SRID=4674;POINT (-39.500285 -2.99747)'))) / (select extract(epoch from '2026-06-18 03:45:39'::timestamp) - extract(epoch from '2026-06-18 03:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500254 -2.997475)'), GeomFromEWKT('SRID=4674;POINT (-39.500285 -2.99747)'))) / (select extract(epoch from '2026-06-18 03:45:39'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.500321 -2.997459)', '2026-06-18 03:45:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500285 -2.99747)'), GeomFromEWKT('SRID=4674;POINT (-39.500321 -2.997459)'))) / (select extract(epoch from '2026-06-18 03:45:48'::timestamp) - extract(epoch from '2026-06-18 03:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500285 -2.99747)'), GeomFromEWKT('SRID=4674;POINT (-39.500321 -2.997459)'))) / (select extract(epoch from '2026-06-18 03:45:48'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.500364 -2.997438)', '2026-06-18 03:45:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500321 -2.997459)'), GeomFromEWKT('SRID=4674;POINT (-39.500364 -2.997438)'))) / (select extract(epoch from '2026-06-18 03:45:57'::timestamp) - extract(epoch from '2026-06-18 03:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500321 -2.997459)'), GeomFromEWKT('SRID=4674;POINT (-39.500364 -2.997438)'))) / (select extract(epoch from '2026-06-18 03:45:57'::timestamp) - extract(epoch from '2026-06-18 03:45: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'), 46782, 'SRID=4674;POINT (-39.500405 -2.997425)', '2026-06-18 03:46:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500364 -2.997438)'), GeomFromEWKT('SRID=4674;POINT (-39.500405 -2.997425)'))) / (select extract(epoch from '2026-06-18 03:46:05'::timestamp) - extract(epoch from '2026-06-18 03:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500364 -2.997438)'), GeomFromEWKT('SRID=4674;POINT (-39.500405 -2.997425)'))) / (select extract(epoch from '2026-06-18 03:46:05'::timestamp) - extract(epoch from '2026-06-18 03:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.500447 -2.997424)', '2026-06-18 03:46:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500405 -2.997425)'), GeomFromEWKT('SRID=4674;POINT (-39.500447 -2.997424)'))) / (select extract(epoch from '2026-06-18 03:46:14'::timestamp) - extract(epoch from '2026-06-18 03:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500405 -2.997425)'), GeomFromEWKT('SRID=4674;POINT (-39.500447 -2.997424)'))) / (select extract(epoch from '2026-06-18 03:46:14'::timestamp) - extract(epoch from '2026-06-18 03:46:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.500493 -2.997416)', '2026-06-18 03:46:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500447 -2.997424)'), GeomFromEWKT('SRID=4674;POINT (-39.500493 -2.997416)'))) / (select extract(epoch from '2026-06-18 03:46:23'::timestamp) - extract(epoch from '2026-06-18 03:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500447 -2.997424)'), GeomFromEWKT('SRID=4674;POINT (-39.500493 -2.997416)'))) / (select extract(epoch from '2026-06-18 03:46:23'::timestamp) - extract(epoch from '2026-06-18 03:46: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'), 46782, 'SRID=4674;POINT (-39.500531 -2.997412)', '2026-06-18 03:46:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500493 -2.997416)'), GeomFromEWKT('SRID=4674;POINT (-39.500531 -2.997412)'))) / (select extract(epoch from '2026-06-18 03:46:31'::timestamp) - extract(epoch from '2026-06-18 03:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500493 -2.997416)'), GeomFromEWKT('SRID=4674;POINT (-39.500531 -2.997412)'))) / (select extract(epoch from '2026-06-18 03:46:31'::timestamp) - extract(epoch from '2026-06-18 03:46: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'), 46782, 'SRID=4674;POINT (-39.500564 -2.997404)', '2026-06-18 03:46:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500531 -2.997412)'), GeomFromEWKT('SRID=4674;POINT (-39.500564 -2.997404)'))) / (select extract(epoch from '2026-06-18 03:46:39'::timestamp) - extract(epoch from '2026-06-18 03:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500531 -2.997412)'), GeomFromEWKT('SRID=4674;POINT (-39.500564 -2.997404)'))) / (select extract(epoch from '2026-06-18 03:46:39'::timestamp) - extract(epoch from '2026-06-18 03:46:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.5006 -2.997392)', '2026-06-18 03:46:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500564 -2.997404)'), GeomFromEWKT('SRID=4674;POINT (-39.5006 -2.997392)'))) / (select extract(epoch from '2026-06-18 03:46:47'::timestamp) - extract(epoch from '2026-06-18 03:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500564 -2.997404)'), GeomFromEWKT('SRID=4674;POINT (-39.5006 -2.997392)'))) / (select extract(epoch from '2026-06-18 03:46:47'::timestamp) - extract(epoch from '2026-06-18 03:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.500644 -2.997382)', '2026-06-18 03:46:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5006 -2.997392)'), GeomFromEWKT('SRID=4674;POINT (-39.500644 -2.997382)'))) / (select extract(epoch from '2026-06-18 03:46:58'::timestamp) - extract(epoch from '2026-06-18 03:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5006 -2.997392)'), GeomFromEWKT('SRID=4674;POINT (-39.500644 -2.997382)'))) / (select extract(epoch from '2026-06-18 03:46:58'::timestamp) - extract(epoch from '2026-06-18 03:46: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'), 46782, 'SRID=4674;POINT (-39.500681 -2.997373)', '2026-06-18 03:47:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500644 -2.997382)'), GeomFromEWKT('SRID=4674;POINT (-39.500681 -2.997373)'))) / (select extract(epoch from '2026-06-18 03:47:08'::timestamp) - extract(epoch from '2026-06-18 03:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500644 -2.997382)'), GeomFromEWKT('SRID=4674;POINT (-39.500681 -2.997373)'))) / (select extract(epoch from '2026-06-18 03:47:08'::timestamp) - extract(epoch from '2026-06-18 03:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.500724 -2.997366)', '2026-06-18 03:47:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500681 -2.997373)'), GeomFromEWKT('SRID=4674;POINT (-39.500724 -2.997366)'))) / (select extract(epoch from '2026-06-18 03:47:16'::timestamp) - extract(epoch from '2026-06-18 03:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500681 -2.997373)'), GeomFromEWKT('SRID=4674;POINT (-39.500724 -2.997366)'))) / (select extract(epoch from '2026-06-18 03:47:16'::timestamp) - extract(epoch from '2026-06-18 03:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.500757 -2.997364)', '2026-06-18 03:47:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500724 -2.997366)'), GeomFromEWKT('SRID=4674;POINT (-39.500757 -2.997364)'))) / (select extract(epoch from '2026-06-18 03:47:23'::timestamp) - extract(epoch from '2026-06-18 03:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500724 -2.997366)'), GeomFromEWKT('SRID=4674;POINT (-39.500757 -2.997364)'))) / (select extract(epoch from '2026-06-18 03:47:23'::timestamp) - extract(epoch from '2026-06-18 03:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.500783 -2.997352)', '2026-06-18 03:47:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500757 -2.997364)'), GeomFromEWKT('SRID=4674;POINT (-39.500783 -2.997352)'))) / (select extract(epoch from '2026-06-18 03:47:32'::timestamp) - extract(epoch from '2026-06-18 03:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500757 -2.997364)'), GeomFromEWKT('SRID=4674;POINT (-39.500783 -2.997352)'))) / (select extract(epoch from '2026-06-18 03:47:32'::timestamp) - extract(epoch from '2026-06-18 03:47:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.500819 -2.997343)', '2026-06-18 03:47:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500783 -2.997352)'), GeomFromEWKT('SRID=4674;POINT (-39.500819 -2.997343)'))) / (select extract(epoch from '2026-06-18 03:47:40'::timestamp) - extract(epoch from '2026-06-18 03:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500783 -2.997352)'), GeomFromEWKT('SRID=4674;POINT (-39.500819 -2.997343)'))) / (select extract(epoch from '2026-06-18 03:47:40'::timestamp) - extract(epoch from '2026-06-18 03:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.500861 -2.997335)', '2026-06-18 03:47:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500819 -2.997343)'), GeomFromEWKT('SRID=4674;POINT (-39.500861 -2.997335)'))) / (select extract(epoch from '2026-06-18 03:47:48'::timestamp) - extract(epoch from '2026-06-18 03:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500819 -2.997343)'), GeomFromEWKT('SRID=4674;POINT (-39.500861 -2.997335)'))) / (select extract(epoch from '2026-06-18 03:47:48'::timestamp) - extract(epoch from '2026-06-18 03:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.500904 -2.997327)', '2026-06-18 03:47:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500861 -2.997335)'), GeomFromEWKT('SRID=4674;POINT (-39.500904 -2.997327)'))) / (select extract(epoch from '2026-06-18 03:47:57'::timestamp) - extract(epoch from '2026-06-18 03:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500861 -2.997335)'), GeomFromEWKT('SRID=4674;POINT (-39.500904 -2.997327)'))) / (select extract(epoch from '2026-06-18 03:47:57'::timestamp) - extract(epoch from '2026-06-18 03:47: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'), 46782, 'SRID=4674;POINT (-39.500935 -2.99732)', '2026-06-18 03:48:05', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500904 -2.997327)'), GeomFromEWKT('SRID=4674;POINT (-39.500935 -2.99732)'))) / (select extract(epoch from '2026-06-18 03:48:05'::timestamp) - extract(epoch from '2026-06-18 03:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500904 -2.997327)'), GeomFromEWKT('SRID=4674;POINT (-39.500935 -2.99732)'))) / (select extract(epoch from '2026-06-18 03:48:05'::timestamp) - extract(epoch from '2026-06-18 03:47: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'), 46782, 'SRID=4674;POINT (-39.500983 -2.99731)', '2026-06-18 03:48:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500935 -2.99732)'), GeomFromEWKT('SRID=4674;POINT (-39.500983 -2.99731)'))) / (select extract(epoch from '2026-06-18 03:48:14'::timestamp) - extract(epoch from '2026-06-18 03:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500935 -2.99732)'), GeomFromEWKT('SRID=4674;POINT (-39.500983 -2.99731)'))) / (select extract(epoch from '2026-06-18 03:48:14'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.501025 -2.997308)', '2026-06-18 03:48:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500983 -2.99731)'), GeomFromEWKT('SRID=4674;POINT (-39.501025 -2.997308)'))) / (select extract(epoch from '2026-06-18 03:48:23'::timestamp) - extract(epoch from '2026-06-18 03:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.500983 -2.99731)'), GeomFromEWKT('SRID=4674;POINT (-39.501025 -2.997308)'))) / (select extract(epoch from '2026-06-18 03:48:23'::timestamp) - extract(epoch from '2026-06-18 03:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501069 -2.997307)', '2026-06-18 03:48:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501025 -2.997308)'), GeomFromEWKT('SRID=4674;POINT (-39.501069 -2.997307)'))) / (select extract(epoch from '2026-06-18 03:48:32'::timestamp) - extract(epoch from '2026-06-18 03:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501025 -2.997308)'), GeomFromEWKT('SRID=4674;POINT (-39.501069 -2.997307)'))) / (select extract(epoch from '2026-06-18 03:48:32'::timestamp) - extract(epoch from '2026-06-18 03:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501121 -2.997306)', '2026-06-18 03:48:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501069 -2.997307)'), GeomFromEWKT('SRID=4674;POINT (-39.501121 -2.997306)'))) / (select extract(epoch from '2026-06-18 03:48:41'::timestamp) - extract(epoch from '2026-06-18 03:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501069 -2.997307)'), GeomFromEWKT('SRID=4674;POINT (-39.501121 -2.997306)'))) / (select extract(epoch from '2026-06-18 03:48:41'::timestamp) - extract(epoch from '2026-06-18 03:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501152 -2.997303)', '2026-06-18 03:48:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501121 -2.997306)'), GeomFromEWKT('SRID=4674;POINT (-39.501152 -2.997303)'))) / (select extract(epoch from '2026-06-18 03:48:48'::timestamp) - extract(epoch from '2026-06-18 03:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501121 -2.997306)'), GeomFromEWKT('SRID=4674;POINT (-39.501152 -2.997303)'))) / (select extract(epoch from '2026-06-18 03:48:48'::timestamp) - extract(epoch from '2026-06-18 03:48: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'), 46782, 'SRID=4674;POINT (-39.501189 -2.99731)', '2026-06-18 03:48:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501152 -2.997303)'), GeomFromEWKT('SRID=4674;POINT (-39.501189 -2.99731)'))) / (select extract(epoch from '2026-06-18 03:48:56'::timestamp) - extract(epoch from '2026-06-18 03:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501152 -2.997303)'), GeomFromEWKT('SRID=4674;POINT (-39.501189 -2.99731)'))) / (select extract(epoch from '2026-06-18 03:48:56'::timestamp) - extract(epoch from '2026-06-18 03:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501218 -2.997302)', '2026-06-18 03:49:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501189 -2.99731)'), GeomFromEWKT('SRID=4674;POINT (-39.501218 -2.997302)'))) / (select extract(epoch from '2026-06-18 03:49:04'::timestamp) - extract(epoch from '2026-06-18 03:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501189 -2.99731)'), GeomFromEWKT('SRID=4674;POINT (-39.501218 -2.997302)'))) / (select extract(epoch from '2026-06-18 03:49:04'::timestamp) - extract(epoch from '2026-06-18 03:48: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'), 46782, 'SRID=4674;POINT (-39.501262 -2.997296)', '2026-06-18 03:49:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501218 -2.997302)'), GeomFromEWKT('SRID=4674;POINT (-39.501262 -2.997296)'))) / (select extract(epoch from '2026-06-18 03:49:14'::timestamp) - extract(epoch from '2026-06-18 03:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501218 -2.997302)'), GeomFromEWKT('SRID=4674;POINT (-39.501262 -2.997296)'))) / (select extract(epoch from '2026-06-18 03:49:14'::timestamp) - extract(epoch from '2026-06-18 03:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501312 -2.997286)', '2026-06-18 03:49:23', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501262 -2.997296)'), GeomFromEWKT('SRID=4674;POINT (-39.501312 -2.997286)'))) / (select extract(epoch from '2026-06-18 03:49:23'::timestamp) - extract(epoch from '2026-06-18 03:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501262 -2.997296)'), GeomFromEWKT('SRID=4674;POINT (-39.501312 -2.997286)'))) / (select extract(epoch from '2026-06-18 03:49:23'::timestamp) - extract(epoch from '2026-06-18 03:49: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'), 46782, 'SRID=4674;POINT (-39.501358 -2.997278)', '2026-06-18 03:49:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501312 -2.997286)'), GeomFromEWKT('SRID=4674;POINT (-39.501358 -2.997278)'))) / (select extract(epoch from '2026-06-18 03:49:32'::timestamp) - extract(epoch from '2026-06-18 03:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501312 -2.997286)'), GeomFromEWKT('SRID=4674;POINT (-39.501358 -2.997278)'))) / (select extract(epoch from '2026-06-18 03:49:32'::timestamp) - extract(epoch from '2026-06-18 03:49: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'), 46782, 'SRID=4674;POINT (-39.501397 -2.997275)', '2026-06-18 03:49:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501358 -2.997278)'), GeomFromEWKT('SRID=4674;POINT (-39.501397 -2.997275)'))) / (select extract(epoch from '2026-06-18 03:49:41'::timestamp) - extract(epoch from '2026-06-18 03:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501358 -2.997278)'), GeomFromEWKT('SRID=4674;POINT (-39.501397 -2.997275)'))) / (select extract(epoch from '2026-06-18 03:49:41'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.501427 -2.997279)', '2026-06-18 03:49:48', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501397 -2.997275)'), GeomFromEWKT('SRID=4674;POINT (-39.501427 -2.997279)'))) / (select extract(epoch from '2026-06-18 03:49:48'::timestamp) - extract(epoch from '2026-06-18 03:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501397 -2.997275)'), GeomFromEWKT('SRID=4674;POINT (-39.501427 -2.997279)'))) / (select extract(epoch from '2026-06-18 03:49:48'::timestamp) - extract(epoch from '2026-06-18 03:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501453 -2.997282)', '2026-06-18 03:49:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501427 -2.997279)'), GeomFromEWKT('SRID=4674;POINT (-39.501453 -2.997282)'))) / (select extract(epoch from '2026-06-18 03:49:53'::timestamp) - extract(epoch from '2026-06-18 03:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501427 -2.997279)'), GeomFromEWKT('SRID=4674;POINT (-39.501453 -2.997282)'))) / (select extract(epoch from '2026-06-18 03:49:53'::timestamp) - extract(epoch from '2026-06-18 03:49:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501464 -2.997281)', '2026-06-18 03:49:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501453 -2.997282)'), GeomFromEWKT('SRID=4674;POINT (-39.501464 -2.997281)'))) / (select extract(epoch from '2026-06-18 03:49:55'::timestamp) - extract(epoch from '2026-06-18 03:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501453 -2.997282)'), GeomFromEWKT('SRID=4674;POINT (-39.501464 -2.997281)'))) / (select extract(epoch from '2026-06-18 03:49:55'::timestamp) - extract(epoch from '2026-06-18 03:49: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'), 46782, 'SRID=4674;POINT (-39.501489 -2.99728)', '2026-06-18 03:50:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501464 -2.997281)'), GeomFromEWKT('SRID=4674;POINT (-39.501489 -2.99728)'))) / (select extract(epoch from '2026-06-18 03:50:00'::timestamp) - extract(epoch from '2026-06-18 03:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501464 -2.997281)'), GeomFromEWKT('SRID=4674;POINT (-39.501489 -2.99728)'))) / (select extract(epoch from '2026-06-18 03:50:00'::timestamp) - extract(epoch from '2026-06-18 03:49:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501524 -2.997276)', '2026-06-18 03:50:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501489 -2.99728)'), GeomFromEWKT('SRID=4674;POINT (-39.501524 -2.997276)'))) / (select extract(epoch from '2026-06-18 03:50:09'::timestamp) - extract(epoch from '2026-06-18 03:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501489 -2.99728)'), GeomFromEWKT('SRID=4674;POINT (-39.501524 -2.997276)'))) / (select extract(epoch from '2026-06-18 03:50:09'::timestamp) - extract(epoch from '2026-06-18 03:50: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'), 46782, 'SRID=4674;POINT (-39.501554 -2.997276)', '2026-06-18 03:50:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501524 -2.997276)'), GeomFromEWKT('SRID=4674;POINT (-39.501554 -2.997276)'))) / (select extract(epoch from '2026-06-18 03:50:14'::timestamp) - extract(epoch from '2026-06-18 03:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501524 -2.997276)'), GeomFromEWKT('SRID=4674;POINT (-39.501554 -2.997276)'))) / (select extract(epoch from '2026-06-18 03:50:14'::timestamp) - extract(epoch from '2026-06-18 03:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501591 -2.997266)', '2026-06-18 03:50:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501554 -2.997276)'), GeomFromEWKT('SRID=4674;POINT (-39.501591 -2.997266)'))) / (select extract(epoch from '2026-06-18 03:50:22'::timestamp) - extract(epoch from '2026-06-18 03:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501554 -2.997276)'), GeomFromEWKT('SRID=4674;POINT (-39.501591 -2.997266)'))) / (select extract(epoch from '2026-06-18 03:50:22'::timestamp) - extract(epoch from '2026-06-18 03:50: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'), 46782, 'SRID=4674;POINT (-39.50163 -2.997258)', '2026-06-18 03:50:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501591 -2.997266)'), GeomFromEWKT('SRID=4674;POINT (-39.50163 -2.997258)'))) / (select extract(epoch from '2026-06-18 03:50:30'::timestamp) - extract(epoch from '2026-06-18 03:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501591 -2.997266)'), GeomFromEWKT('SRID=4674;POINT (-39.50163 -2.997258)'))) / (select extract(epoch from '2026-06-18 03:50:30'::timestamp) - extract(epoch from '2026-06-18 03:50: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'), 46782, 'SRID=4674;POINT (-39.501692 -2.997246)', '2026-06-18 03:50:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50163 -2.997258)'), GeomFromEWKT('SRID=4674;POINT (-39.501692 -2.997246)'))) / (select extract(epoch from '2026-06-18 03:50:41'::timestamp) - extract(epoch from '2026-06-18 03:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50163 -2.997258)'), GeomFromEWKT('SRID=4674;POINT (-39.501692 -2.997246)'))) / (select extract(epoch from '2026-06-18 03:50:41'::timestamp) - extract(epoch from '2026-06-18 03:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501734 -2.997248)', '2026-06-18 03:50:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501692 -2.997246)'), GeomFromEWKT('SRID=4674;POINT (-39.501734 -2.997248)'))) / (select extract(epoch from '2026-06-18 03:50:49'::timestamp) - extract(epoch from '2026-06-18 03:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501692 -2.997246)'), GeomFromEWKT('SRID=4674;POINT (-39.501734 -2.997248)'))) / (select extract(epoch from '2026-06-18 03:50:49'::timestamp) - extract(epoch from '2026-06-18 03:50: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'), 46782, 'SRID=4674;POINT (-39.501769 -2.997244)', '2026-06-18 03:50:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501734 -2.997248)'), GeomFromEWKT('SRID=4674;POINT (-39.501769 -2.997244)'))) / (select extract(epoch from '2026-06-18 03:50:56'::timestamp) - extract(epoch from '2026-06-18 03:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501734 -2.997248)'), GeomFromEWKT('SRID=4674;POINT (-39.501769 -2.997244)'))) / (select extract(epoch from '2026-06-18 03:50:56'::timestamp) - extract(epoch from '2026-06-18 03:50:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501777 -2.997249)', '2026-06-18 03:51:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501769 -2.997244)'), GeomFromEWKT('SRID=4674;POINT (-39.501777 -2.997249)'))) / (select extract(epoch from '2026-06-18 03:51:01'::timestamp) - extract(epoch from '2026-06-18 03:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501769 -2.997244)'), GeomFromEWKT('SRID=4674;POINT (-39.501777 -2.997249)'))) / (select extract(epoch from '2026-06-18 03:51:01'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.501821 -2.997241)', '2026-06-18 03:51:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501777 -2.997249)'), GeomFromEWKT('SRID=4674;POINT (-39.501821 -2.997241)'))) / (select extract(epoch from '2026-06-18 03:51:10'::timestamp) - extract(epoch from '2026-06-18 03:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501777 -2.997249)'), GeomFromEWKT('SRID=4674;POINT (-39.501821 -2.997241)'))) / (select extract(epoch from '2026-06-18 03:51:10'::timestamp) - extract(epoch from '2026-06-18 03:51: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'), 46782, 'SRID=4674;POINT (-39.501865 -2.997232)', '2026-06-18 03:51:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501821 -2.997241)'), GeomFromEWKT('SRID=4674;POINT (-39.501865 -2.997232)'))) / (select extract(epoch from '2026-06-18 03:51:19'::timestamp) - extract(epoch from '2026-06-18 03:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501821 -2.997241)'), GeomFromEWKT('SRID=4674;POINT (-39.501865 -2.997232)'))) / (select extract(epoch from '2026-06-18 03:51:19'::timestamp) - extract(epoch from '2026-06-18 03:51: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'), 46782, 'SRID=4674;POINT (-39.501909 -2.997227)', '2026-06-18 03:51:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501865 -2.997232)'), GeomFromEWKT('SRID=4674;POINT (-39.501909 -2.997227)'))) / (select extract(epoch from '2026-06-18 03:51:28'::timestamp) - extract(epoch from '2026-06-18 03:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501865 -2.997232)'), GeomFromEWKT('SRID=4674;POINT (-39.501909 -2.997227)'))) / (select extract(epoch from '2026-06-18 03:51:28'::timestamp) - extract(epoch from '2026-06-18 03:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.501932 -2.997226)', '2026-06-18 03:51:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501909 -2.997227)'), GeomFromEWKT('SRID=4674;POINT (-39.501932 -2.997226)'))) / (select extract(epoch from '2026-06-18 03:51:33'::timestamp) - extract(epoch from '2026-06-18 03:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501909 -2.997227)'), GeomFromEWKT('SRID=4674;POINT (-39.501932 -2.997226)'))) / (select extract(epoch from '2026-06-18 03:51:33'::timestamp) - extract(epoch from '2026-06-18 03:51: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'), 46782, 'SRID=4674;POINT (-39.501965 -2.99722)', '2026-06-18 03:51:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501932 -2.997226)'), GeomFromEWKT('SRID=4674;POINT (-39.501965 -2.99722)'))) / (select extract(epoch from '2026-06-18 03:51:39'::timestamp) - extract(epoch from '2026-06-18 03:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501932 -2.997226)'), GeomFromEWKT('SRID=4674;POINT (-39.501965 -2.99722)'))) / (select extract(epoch from '2026-06-18 03:51:39'::timestamp) - extract(epoch from '2026-06-18 03:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.50202 -2.997209)', '2026-06-18 03:51:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501965 -2.99722)'), GeomFromEWKT('SRID=4674;POINT (-39.50202 -2.997209)'))) / (select extract(epoch from '2026-06-18 03:51:49'::timestamp) - extract(epoch from '2026-06-18 03:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.501965 -2.99722)'), GeomFromEWKT('SRID=4674;POINT (-39.50202 -2.997209)'))) / (select extract(epoch from '2026-06-18 03:51:49'::timestamp) - extract(epoch from '2026-06-18 03:51: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'), 46782, 'SRID=4674;POINT (-39.502064 -2.997196)', '2026-06-18 03:51:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50202 -2.997209)'), GeomFromEWKT('SRID=4674;POINT (-39.502064 -2.997196)'))) / (select extract(epoch from '2026-06-18 03:51:57'::timestamp) - extract(epoch from '2026-06-18 03:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50202 -2.997209)'), GeomFromEWKT('SRID=4674;POINT (-39.502064 -2.997196)'))) / (select extract(epoch from '2026-06-18 03:51:57'::timestamp) - extract(epoch from '2026-06-18 03:51: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'), 46782, 'SRID=4674;POINT (-39.502104 -2.997188)', '2026-06-18 03:52:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502064 -2.997196)'), GeomFromEWKT('SRID=4674;POINT (-39.502104 -2.997188)'))) / (select extract(epoch from '2026-06-18 03:52:05'::timestamp) - extract(epoch from '2026-06-18 03:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502064 -2.997196)'), GeomFromEWKT('SRID=4674;POINT (-39.502104 -2.997188)'))) / (select extract(epoch from '2026-06-18 03:52:05'::timestamp) - extract(epoch from '2026-06-18 03:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.502138 -2.997172)', '2026-06-18 03:52:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502104 -2.997188)'), GeomFromEWKT('SRID=4674;POINT (-39.502138 -2.997172)'))) / (select extract(epoch from '2026-06-18 03:52:13'::timestamp) - extract(epoch from '2026-06-18 03:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502104 -2.997188)'), GeomFromEWKT('SRID=4674;POINT (-39.502138 -2.997172)'))) / (select extract(epoch from '2026-06-18 03:52:13'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.502181 -2.997158)', '2026-06-18 03:52:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502138 -2.997172)'), GeomFromEWKT('SRID=4674;POINT (-39.502181 -2.997158)'))) / (select extract(epoch from '2026-06-18 03:52:22'::timestamp) - extract(epoch from '2026-06-18 03:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502138 -2.997172)'), GeomFromEWKT('SRID=4674;POINT (-39.502181 -2.997158)'))) / (select extract(epoch from '2026-06-18 03:52:22'::timestamp) - extract(epoch from '2026-06-18 03:52: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'), 46782, 'SRID=4674;POINT (-39.502206 -2.997159)', '2026-06-18 03:52:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502181 -2.997158)'), GeomFromEWKT('SRID=4674;POINT (-39.502206 -2.997159)'))) / (select extract(epoch from '2026-06-18 03:52:28'::timestamp) - extract(epoch from '2026-06-18 03:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502181 -2.997158)'), GeomFromEWKT('SRID=4674;POINT (-39.502206 -2.997159)'))) / (select extract(epoch from '2026-06-18 03:52:28'::timestamp) - extract(epoch from '2026-06-18 03:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.502249 -2.997149)', '2026-06-18 03:52:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502206 -2.997159)'), GeomFromEWKT('SRID=4674;POINT (-39.502249 -2.997149)'))) / (select extract(epoch from '2026-06-18 03:52:37'::timestamp) - extract(epoch from '2026-06-18 03:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502206 -2.997159)'), GeomFromEWKT('SRID=4674;POINT (-39.502249 -2.997149)'))) / (select extract(epoch from '2026-06-18 03:52:37'::timestamp) - extract(epoch from '2026-06-18 03:52: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'), 46782, 'SRID=4674;POINT (-39.502284 -2.997146)', '2026-06-18 03:52:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502249 -2.997149)'), GeomFromEWKT('SRID=4674;POINT (-39.502284 -2.997146)'))) / (select extract(epoch from '2026-06-18 03:52:45'::timestamp) - extract(epoch from '2026-06-18 03:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502249 -2.997149)'), GeomFromEWKT('SRID=4674;POINT (-39.502284 -2.997146)'))) / (select extract(epoch from '2026-06-18 03:52:45'::timestamp) - extract(epoch from '2026-06-18 03:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.502322 -2.997141)', '2026-06-18 03:52:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502284 -2.997146)'), GeomFromEWKT('SRID=4674;POINT (-39.502322 -2.997141)'))) / (select extract(epoch from '2026-06-18 03:52:53'::timestamp) - extract(epoch from '2026-06-18 03:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502284 -2.997146)'), GeomFromEWKT('SRID=4674;POINT (-39.502322 -2.997141)'))) / (select extract(epoch from '2026-06-18 03:52:53'::timestamp) - extract(epoch from '2026-06-18 03:52: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'), 46782, 'SRID=4674;POINT (-39.502357 -2.997136)', '2026-06-18 03:53:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502322 -2.997141)'), GeomFromEWKT('SRID=4674;POINT (-39.502357 -2.997136)'))) / (select extract(epoch from '2026-06-18 03:53:01'::timestamp) - extract(epoch from '2026-06-18 03:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502322 -2.997141)'), GeomFromEWKT('SRID=4674;POINT (-39.502357 -2.997136)'))) / (select extract(epoch from '2026-06-18 03:53:01'::timestamp) - extract(epoch from '2026-06-18 03:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.50239 -2.997134)', '2026-06-18 03:53:09', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502357 -2.997136)'), GeomFromEWKT('SRID=4674;POINT (-39.50239 -2.997134)'))) / (select extract(epoch from '2026-06-18 03:53:09'::timestamp) - extract(epoch from '2026-06-18 03:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502357 -2.997136)'), GeomFromEWKT('SRID=4674;POINT (-39.50239 -2.997134)'))) / (select extract(epoch from '2026-06-18 03:53:09'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.502425 -2.997127)', '2026-06-18 03:53:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50239 -2.997134)'), GeomFromEWKT('SRID=4674;POINT (-39.502425 -2.997127)'))) / (select extract(epoch from '2026-06-18 03:53:18'::timestamp) - extract(epoch from '2026-06-18 03:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50239 -2.997134)'), GeomFromEWKT('SRID=4674;POINT (-39.502425 -2.997127)'))) / (select extract(epoch from '2026-06-18 03:53:18'::timestamp) - extract(epoch from '2026-06-18 03:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.502466 -2.997116)', '2026-06-18 03:53:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502425 -2.997127)'), GeomFromEWKT('SRID=4674;POINT (-39.502466 -2.997116)'))) / (select extract(epoch from '2026-06-18 03:53:27'::timestamp) - extract(epoch from '2026-06-18 03:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502425 -2.997127)'), GeomFromEWKT('SRID=4674;POINT (-39.502466 -2.997116)'))) / (select extract(epoch from '2026-06-18 03:53:27'::timestamp) - extract(epoch from '2026-06-18 03:53:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.502495 -2.997109)', '2026-06-18 03:53:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502466 -2.997116)'), GeomFromEWKT('SRID=4674;POINT (-39.502495 -2.997109)'))) / (select extract(epoch from '2026-06-18 03:53:33'::timestamp) - extract(epoch from '2026-06-18 03:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502466 -2.997116)'), GeomFromEWKT('SRID=4674;POINT (-39.502495 -2.997109)'))) / (select extract(epoch from '2026-06-18 03:53:33'::timestamp) - extract(epoch from '2026-06-18 03:53: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'), 46782, 'SRID=4674;POINT (-39.502533 -2.997093)', '2026-06-18 03:53:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502495 -2.997109)'), GeomFromEWKT('SRID=4674;POINT (-39.502533 -2.997093)'))) / (select extract(epoch from '2026-06-18 03:53:41'::timestamp) - extract(epoch from '2026-06-18 03:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502495 -2.997109)'), GeomFromEWKT('SRID=4674;POINT (-39.502533 -2.997093)'))) / (select extract(epoch from '2026-06-18 03:53:41'::timestamp) - extract(epoch from '2026-06-18 03:53:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.502589 -2.997084)', '2026-06-18 03:53:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502533 -2.997093)'), GeomFromEWKT('SRID=4674;POINT (-39.502589 -2.997084)'))) / (select extract(epoch from '2026-06-18 03:53:52'::timestamp) - extract(epoch from '2026-06-18 03:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502533 -2.997093)'), GeomFromEWKT('SRID=4674;POINT (-39.502589 -2.997084)'))) / (select extract(epoch from '2026-06-18 03:53:52'::timestamp) - extract(epoch from '2026-06-18 03:53: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'), 46782, 'SRID=4674;POINT (-39.502627 -2.997074)', '2026-06-18 03:54:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502589 -2.997084)'), GeomFromEWKT('SRID=4674;POINT (-39.502627 -2.997074)'))) / (select extract(epoch from '2026-06-18 03:54:00'::timestamp) - extract(epoch from '2026-06-18 03:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502589 -2.997084)'), GeomFromEWKT('SRID=4674;POINT (-39.502627 -2.997074)'))) / (select extract(epoch from '2026-06-18 03:54:00'::timestamp) - extract(epoch from '2026-06-18 03:53: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'), 46782, 'SRID=4674;POINT (-39.502668 -2.997055)', '2026-06-18 03:54:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502627 -2.997074)'), GeomFromEWKT('SRID=4674;POINT (-39.502668 -2.997055)'))) / (select extract(epoch from '2026-06-18 03:54:09'::timestamp) - extract(epoch from '2026-06-18 03:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502627 -2.997074)'), GeomFromEWKT('SRID=4674;POINT (-39.502668 -2.997055)'))) / (select extract(epoch from '2026-06-18 03:54:09'::timestamp) - extract(epoch from '2026-06-18 03:54:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.502703 -2.997053)', '2026-06-18 03:54:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502668 -2.997055)'), GeomFromEWKT('SRID=4674;POINT (-39.502703 -2.997053)'))) / (select extract(epoch from '2026-06-18 03:54:17'::timestamp) - extract(epoch from '2026-06-18 03:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502668 -2.997055)'), GeomFromEWKT('SRID=4674;POINT (-39.502703 -2.997053)'))) / (select extract(epoch from '2026-06-18 03:54:17'::timestamp) - extract(epoch from '2026-06-18 03:54: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'), 46782, 'SRID=4674;POINT (-39.502747 -2.997046)', '2026-06-18 03:54:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502703 -2.997053)'), GeomFromEWKT('SRID=4674;POINT (-39.502747 -2.997046)'))) / (select extract(epoch from '2026-06-18 03:54:26'::timestamp) - extract(epoch from '2026-06-18 03:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502703 -2.997053)'), GeomFromEWKT('SRID=4674;POINT (-39.502747 -2.997046)'))) / (select extract(epoch from '2026-06-18 03:54:26'::timestamp) - extract(epoch from '2026-06-18 03:54: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'), 46782, 'SRID=4674;POINT (-39.502787 -2.997033)', '2026-06-18 03:54:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502747 -2.997046)'), GeomFromEWKT('SRID=4674;POINT (-39.502787 -2.997033)'))) / (select extract(epoch from '2026-06-18 03:54:35'::timestamp) - extract(epoch from '2026-06-18 03:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502747 -2.997046)'), GeomFromEWKT('SRID=4674;POINT (-39.502787 -2.997033)'))) / (select extract(epoch from '2026-06-18 03:54:35'::timestamp) - extract(epoch from '2026-06-18 03:54: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'), 46782, 'SRID=4674;POINT (-39.502826 -2.997013)', '2026-06-18 03:54:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502787 -2.997033)'), GeomFromEWKT('SRID=4674;POINT (-39.502826 -2.997013)'))) / (select extract(epoch from '2026-06-18 03:54:44'::timestamp) - extract(epoch from '2026-06-18 03:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502787 -2.997033)'), GeomFromEWKT('SRID=4674;POINT (-39.502826 -2.997013)'))) / (select extract(epoch from '2026-06-18 03:54:44'::timestamp) - extract(epoch from '2026-06-18 03:54: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'), 46782, 'SRID=4674;POINT (-39.502859 -2.996993)', '2026-06-18 03:54:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502826 -2.997013)'), GeomFromEWKT('SRID=4674;POINT (-39.502859 -2.996993)'))) / (select extract(epoch from '2026-06-18 03:54:52'::timestamp) - extract(epoch from '2026-06-18 03:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502826 -2.997013)'), GeomFromEWKT('SRID=4674;POINT (-39.502859 -2.996993)'))) / (select extract(epoch from '2026-06-18 03:54:52'::timestamp) - extract(epoch from '2026-06-18 03:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.502892 -2.996988)', '2026-06-18 03:55:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502859 -2.996993)'), GeomFromEWKT('SRID=4674;POINT (-39.502892 -2.996988)'))) / (select extract(epoch from '2026-06-18 03:55:00'::timestamp) - extract(epoch from '2026-06-18 03:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502859 -2.996993)'), GeomFromEWKT('SRID=4674;POINT (-39.502892 -2.996988)'))) / (select extract(epoch from '2026-06-18 03:55:00'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.502934 -2.996985)', '2026-06-18 03:55:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502892 -2.996988)'), GeomFromEWKT('SRID=4674;POINT (-39.502934 -2.996985)'))) / (select extract(epoch from '2026-06-18 03:55:08'::timestamp) - extract(epoch from '2026-06-18 03:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502892 -2.996988)'), GeomFromEWKT('SRID=4674;POINT (-39.502934 -2.996985)'))) / (select extract(epoch from '2026-06-18 03:55:08'::timestamp) - extract(epoch from '2026-06-18 03:55: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'), 46782, 'SRID=4674;POINT (-39.502948 -2.996975)', '2026-06-18 03:55:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502934 -2.996985)'), GeomFromEWKT('SRID=4674;POINT (-39.502948 -2.996975)'))) / (select extract(epoch from '2026-06-18 03:55:12'::timestamp) - extract(epoch from '2026-06-18 03:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502934 -2.996985)'), GeomFromEWKT('SRID=4674;POINT (-39.502948 -2.996975)'))) / (select extract(epoch from '2026-06-18 03:55:12'::timestamp) - extract(epoch from '2026-06-18 03:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.502962 -2.996966)', '2026-06-18 03:55:14', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502948 -2.996975)'), GeomFromEWKT('SRID=4674;POINT (-39.502962 -2.996966)'))) / (select extract(epoch from '2026-06-18 03:55:14'::timestamp) - extract(epoch from '2026-06-18 03:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502948 -2.996975)'), GeomFromEWKT('SRID=4674;POINT (-39.502962 -2.996966)'))) / (select extract(epoch from '2026-06-18 03:55:14'::timestamp) - extract(epoch from '2026-06-18 03:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.502995 -2.996962)', '2026-06-18 03:55:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502962 -2.996966)'), GeomFromEWKT('SRID=4674;POINT (-39.502995 -2.996962)'))) / (select extract(epoch from '2026-06-18 03:55:20'::timestamp) - extract(epoch from '2026-06-18 03:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502962 -2.996966)'), GeomFromEWKT('SRID=4674;POINT (-39.502995 -2.996962)'))) / (select extract(epoch from '2026-06-18 03:55:20'::timestamp) - extract(epoch from '2026-06-18 03:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.503033 -2.996964)', '2026-06-18 03:55:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502995 -2.996962)'), GeomFromEWKT('SRID=4674;POINT (-39.503033 -2.996964)'))) / (select extract(epoch from '2026-06-18 03:55:29'::timestamp) - extract(epoch from '2026-06-18 03:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.502995 -2.996962)'), GeomFromEWKT('SRID=4674;POINT (-39.503033 -2.996964)'))) / (select extract(epoch from '2026-06-18 03:55:29'::timestamp) - extract(epoch from '2026-06-18 03:55: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'), 46782, 'SRID=4674;POINT (-39.503077 -2.996957)', '2026-06-18 03:55:37', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503033 -2.996964)'), GeomFromEWKT('SRID=4674;POINT (-39.503077 -2.996957)'))) / (select extract(epoch from '2026-06-18 03:55:37'::timestamp) - extract(epoch from '2026-06-18 03:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503033 -2.996964)'), GeomFromEWKT('SRID=4674;POINT (-39.503077 -2.996957)'))) / (select extract(epoch from '2026-06-18 03:55:37'::timestamp) - extract(epoch from '2026-06-18 03:55: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'), 46782, 'SRID=4674;POINT (-39.503113 -2.996939)', '2026-06-18 03:55:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503077 -2.996957)'), GeomFromEWKT('SRID=4674;POINT (-39.503113 -2.996939)'))) / (select extract(epoch from '2026-06-18 03:55:46'::timestamp) - extract(epoch from '2026-06-18 03:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503077 -2.996957)'), GeomFromEWKT('SRID=4674;POINT (-39.503113 -2.996939)'))) / (select extract(epoch from '2026-06-18 03:55:46'::timestamp) - extract(epoch from '2026-06-18 03:55: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'), 46782, 'SRID=4674;POINT (-39.503128 -2.996945)', '2026-06-18 03:55:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503113 -2.996939)'), GeomFromEWKT('SRID=4674;POINT (-39.503128 -2.996945)'))) / (select extract(epoch from '2026-06-18 03:55:53'::timestamp) - extract(epoch from '2026-06-18 03:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503113 -2.996939)'), GeomFromEWKT('SRID=4674;POINT (-39.503128 -2.996945)'))) / (select extract(epoch from '2026-06-18 03:55:53'::timestamp) - extract(epoch from '2026-06-18 03:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.503173 -2.996947)', '2026-06-18 03:56:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503128 -2.996945)'), GeomFromEWKT('SRID=4674;POINT (-39.503173 -2.996947)'))) / (select extract(epoch from '2026-06-18 03:56:03'::timestamp) - extract(epoch from '2026-06-18 03:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503128 -2.996945)'), GeomFromEWKT('SRID=4674;POINT (-39.503173 -2.996947)'))) / (select extract(epoch from '2026-06-18 03:56:03'::timestamp) - extract(epoch from '2026-06-18 03:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.50321 -2.996949)', '2026-06-18 03:56:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503173 -2.996947)'), GeomFromEWKT('SRID=4674;POINT (-39.50321 -2.996949)'))) / (select extract(epoch from '2026-06-18 03:56:10'::timestamp) - extract(epoch from '2026-06-18 03:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503173 -2.996947)'), GeomFromEWKT('SRID=4674;POINT (-39.50321 -2.996949)'))) / (select extract(epoch from '2026-06-18 03:56:10'::timestamp) - extract(epoch from '2026-06-18 03:56: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'), 46782, 'SRID=4674;POINT (-39.503244 -2.996947)', '2026-06-18 03:56:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50321 -2.996949)'), GeomFromEWKT('SRID=4674;POINT (-39.503244 -2.996947)'))) / (select extract(epoch from '2026-06-18 03:56:19'::timestamp) - extract(epoch from '2026-06-18 03:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50321 -2.996949)'), GeomFromEWKT('SRID=4674;POINT (-39.503244 -2.996947)'))) / (select extract(epoch from '2026-06-18 03:56:19'::timestamp) - extract(epoch from '2026-06-18 03:56: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'), 46782, 'SRID=4674;POINT (-39.503283 -2.996947)', '2026-06-18 03:56:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503244 -2.996947)'), GeomFromEWKT('SRID=4674;POINT (-39.503283 -2.996947)'))) / (select extract(epoch from '2026-06-18 03:56:28'::timestamp) - extract(epoch from '2026-06-18 03:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503244 -2.996947)'), GeomFromEWKT('SRID=4674;POINT (-39.503283 -2.996947)'))) / (select extract(epoch from '2026-06-18 03:56:28'::timestamp) - extract(epoch from '2026-06-18 03:56:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.50332 -2.996945)', '2026-06-18 03:56:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503283 -2.996947)'), GeomFromEWKT('SRID=4674;POINT (-39.50332 -2.996945)'))) / (select extract(epoch from '2026-06-18 03:56:36'::timestamp) - extract(epoch from '2026-06-18 03:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503283 -2.996947)'), GeomFromEWKT('SRID=4674;POINT (-39.50332 -2.996945)'))) / (select extract(epoch from '2026-06-18 03:56:36'::timestamp) - extract(epoch from '2026-06-18 03:56: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'), 46782, 'SRID=4674;POINT (-39.503356 -2.99695)', '2026-06-18 03:56:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50332 -2.996945)'), GeomFromEWKT('SRID=4674;POINT (-39.503356 -2.99695)'))) / (select extract(epoch from '2026-06-18 03:56:45'::timestamp) - extract(epoch from '2026-06-18 03:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50332 -2.996945)'), GeomFromEWKT('SRID=4674;POINT (-39.503356 -2.99695)'))) / (select extract(epoch from '2026-06-18 03:56:45'::timestamp) - extract(epoch from '2026-06-18 03:56: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'), 46782, 'SRID=4674;POINT (-39.503427 -2.996936)', '2026-06-18 03:56:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503356 -2.99695)'), GeomFromEWKT('SRID=4674;POINT (-39.503427 -2.996936)'))) / (select extract(epoch from '2026-06-18 03:56:58'::timestamp) - extract(epoch from '2026-06-18 03:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503356 -2.99695)'), GeomFromEWKT('SRID=4674;POINT (-39.503427 -2.996936)'))) / (select extract(epoch from '2026-06-18 03:56:58'::timestamp) - extract(epoch from '2026-06-18 03:56: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'), 46782, 'SRID=4674;POINT (-39.503452 -2.996931)', '2026-06-18 03:57:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503427 -2.996936)'), GeomFromEWKT('SRID=4674;POINT (-39.503452 -2.996931)'))) / (select extract(epoch from '2026-06-18 03:57:05'::timestamp) - extract(epoch from '2026-06-18 03:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503427 -2.996936)'), GeomFromEWKT('SRID=4674;POINT (-39.503452 -2.996931)'))) / (select extract(epoch from '2026-06-18 03:57:05'::timestamp) - extract(epoch from '2026-06-18 03:56: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'), 46782, 'SRID=4674;POINT (-39.503492 -2.996933)', '2026-06-18 03:57:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503452 -2.996931)'), GeomFromEWKT('SRID=4674;POINT (-39.503492 -2.996933)'))) / (select extract(epoch from '2026-06-18 03:57:12'::timestamp) - extract(epoch from '2026-06-18 03:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503452 -2.996931)'), GeomFromEWKT('SRID=4674;POINT (-39.503492 -2.996933)'))) / (select extract(epoch from '2026-06-18 03:57:12'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.503533 -2.99693)', '2026-06-18 03:57:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503492 -2.996933)'), GeomFromEWKT('SRID=4674;POINT (-39.503533 -2.99693)'))) / (select extract(epoch from '2026-06-18 03:57:20'::timestamp) - extract(epoch from '2026-06-18 03:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503492 -2.996933)'), GeomFromEWKT('SRID=4674;POINT (-39.503533 -2.99693)'))) / (select extract(epoch from '2026-06-18 03:57:20'::timestamp) - extract(epoch from '2026-06-18 03:57: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'), 46782, 'SRID=4674;POINT (-39.503567 -2.996926)', '2026-06-18 03:57:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503533 -2.99693)'), GeomFromEWKT('SRID=4674;POINT (-39.503567 -2.996926)'))) / (select extract(epoch from '2026-06-18 03:57:28'::timestamp) - extract(epoch from '2026-06-18 03:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503533 -2.99693)'), GeomFromEWKT('SRID=4674;POINT (-39.503567 -2.996926)'))) / (select extract(epoch from '2026-06-18 03:57:28'::timestamp) - extract(epoch from '2026-06-18 03:57: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'), 46782, 'SRID=4674;POINT (-39.503606 -2.996915)', '2026-06-18 03:57:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503567 -2.996926)'), GeomFromEWKT('SRID=4674;POINT (-39.503606 -2.996915)'))) / (select extract(epoch from '2026-06-18 03:57:37'::timestamp) - extract(epoch from '2026-06-18 03:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503567 -2.996926)'), GeomFromEWKT('SRID=4674;POINT (-39.503606 -2.996915)'))) / (select extract(epoch from '2026-06-18 03:57:37'::timestamp) - extract(epoch from '2026-06-18 03:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.50365 -2.996901)', '2026-06-18 03:57:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503606 -2.996915)'), GeomFromEWKT('SRID=4674;POINT (-39.50365 -2.996901)'))) / (select extract(epoch from '2026-06-18 03:57:46'::timestamp) - extract(epoch from '2026-06-18 03:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503606 -2.996915)'), GeomFromEWKT('SRID=4674;POINT (-39.50365 -2.996901)'))) / (select extract(epoch from '2026-06-18 03:57:46'::timestamp) - extract(epoch from '2026-06-18 03:57: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'), 46782, 'SRID=4674;POINT (-39.503686 -2.996886)', '2026-06-18 03:57:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50365 -2.996901)'), GeomFromEWKT('SRID=4674;POINT (-39.503686 -2.996886)'))) / (select extract(epoch from '2026-06-18 03:57:55'::timestamp) - extract(epoch from '2026-06-18 03:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50365 -2.996901)'), GeomFromEWKT('SRID=4674;POINT (-39.503686 -2.996886)'))) / (select extract(epoch from '2026-06-18 03:57:55'::timestamp) - extract(epoch from '2026-06-18 03:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.50373 -2.99687)', '2026-06-18 03:58:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503686 -2.996886)'), GeomFromEWKT('SRID=4674;POINT (-39.50373 -2.99687)'))) / (select extract(epoch from '2026-06-18 03:58:03'::timestamp) - extract(epoch from '2026-06-18 03:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503686 -2.996886)'), GeomFromEWKT('SRID=4674;POINT (-39.50373 -2.99687)'))) / (select extract(epoch from '2026-06-18 03:58:03'::timestamp) - extract(epoch from '2026-06-18 03:57: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'), 46782, 'SRID=4674;POINT (-39.503766 -2.99686)', '2026-06-18 03:58:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50373 -2.99687)'), GeomFromEWKT('SRID=4674;POINT (-39.503766 -2.99686)'))) / (select extract(epoch from '2026-06-18 03:58:11'::timestamp) - extract(epoch from '2026-06-18 03:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50373 -2.99687)'), GeomFromEWKT('SRID=4674;POINT (-39.503766 -2.99686)'))) / (select extract(epoch from '2026-06-18 03:58:11'::timestamp) - extract(epoch from '2026-06-18 03:58:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.503805 -2.996854)', '2026-06-18 03:58:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503766 -2.99686)'), GeomFromEWKT('SRID=4674;POINT (-39.503805 -2.996854)'))) / (select extract(epoch from '2026-06-18 03:58:19'::timestamp) - extract(epoch from '2026-06-18 03:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503766 -2.99686)'), GeomFromEWKT('SRID=4674;POINT (-39.503805 -2.996854)'))) / (select extract(epoch from '2026-06-18 03:58:19'::timestamp) - extract(epoch from '2026-06-18 03:58: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'), 46782, 'SRID=4674;POINT (-39.503848 -2.996842)', '2026-06-18 03:58:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503805 -2.996854)'), GeomFromEWKT('SRID=4674;POINT (-39.503848 -2.996842)'))) / (select extract(epoch from '2026-06-18 03:58:27'::timestamp) - extract(epoch from '2026-06-18 03:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503805 -2.996854)'), GeomFromEWKT('SRID=4674;POINT (-39.503848 -2.996842)'))) / (select extract(epoch from '2026-06-18 03:58:27'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.503893 -2.996826)', '2026-06-18 03:58:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503848 -2.996842)'), GeomFromEWKT('SRID=4674;POINT (-39.503893 -2.996826)'))) / (select extract(epoch from '2026-06-18 03:58:37'::timestamp) - extract(epoch from '2026-06-18 03:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503848 -2.996842)'), GeomFromEWKT('SRID=4674;POINT (-39.503893 -2.996826)'))) / (select extract(epoch from '2026-06-18 03:58:37'::timestamp) - extract(epoch from '2026-06-18 03:58: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'), 46782, 'SRID=4674;POINT (-39.503946 -2.996816)', '2026-06-18 03:58:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503893 -2.996826)'), GeomFromEWKT('SRID=4674;POINT (-39.503946 -2.996816)'))) / (select extract(epoch from '2026-06-18 03:58:46'::timestamp) - extract(epoch from '2026-06-18 03:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503893 -2.996826)'), GeomFromEWKT('SRID=4674;POINT (-39.503946 -2.996816)'))) / (select extract(epoch from '2026-06-18 03:58:46'::timestamp) - extract(epoch from '2026-06-18 03:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.503988 -2.996802)', '2026-06-18 03:58:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503946 -2.996816)'), GeomFromEWKT('SRID=4674;POINT (-39.503988 -2.996802)'))) / (select extract(epoch from '2026-06-18 03:58:54'::timestamp) - extract(epoch from '2026-06-18 03:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503946 -2.996816)'), GeomFromEWKT('SRID=4674;POINT (-39.503988 -2.996802)'))) / (select extract(epoch from '2026-06-18 03:58:54'::timestamp) - extract(epoch from '2026-06-18 03: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'), 46782, 'SRID=4674;POINT (-39.504025 -2.99678)', '2026-06-18 03:59:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503988 -2.996802)'), GeomFromEWKT('SRID=4674;POINT (-39.504025 -2.99678)'))) / (select extract(epoch from '2026-06-18 03:59:02'::timestamp) - extract(epoch from '2026-06-18 03:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.503988 -2.996802)'), GeomFromEWKT('SRID=4674;POINT (-39.504025 -2.99678)'))) / (select extract(epoch from '2026-06-18 03:59:02'::timestamp) - extract(epoch from '2026-06-18 03:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504071 -2.996769)', '2026-06-18 03:59:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504025 -2.99678)'), GeomFromEWKT('SRID=4674;POINT (-39.504071 -2.996769)'))) / (select extract(epoch from '2026-06-18 03:59:12'::timestamp) - extract(epoch from '2026-06-18 03:59:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504025 -2.99678)'), GeomFromEWKT('SRID=4674;POINT (-39.504071 -2.996769)'))) / (select extract(epoch from '2026-06-18 03:59:12'::timestamp) - extract(epoch from '2026-06-18 03:59: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'), 46782, 'SRID=4674;POINT (-39.50411 -2.996752)', '2026-06-18 03:59:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504071 -2.996769)'), GeomFromEWKT('SRID=4674;POINT (-39.50411 -2.996752)'))) / (select extract(epoch from '2026-06-18 03:59:19'::timestamp) - extract(epoch from '2026-06-18 03:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504071 -2.996769)'), GeomFromEWKT('SRID=4674;POINT (-39.50411 -2.996752)'))) / (select extract(epoch from '2026-06-18 03:59:19'::timestamp) - extract(epoch from '2026-06-18 03:59:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504142 -2.996745)', '2026-06-18 03:59:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50411 -2.996752)'), GeomFromEWKT('SRID=4674;POINT (-39.504142 -2.996745)'))) / (select extract(epoch from '2026-06-18 03:59:26'::timestamp) - extract(epoch from '2026-06-18 03:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50411 -2.996752)'), GeomFromEWKT('SRID=4674;POINT (-39.504142 -2.996745)'))) / (select extract(epoch from '2026-06-18 03:59:26'::timestamp) - extract(epoch from '2026-06-18 03:59: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'), 46782, 'SRID=4674;POINT (-39.504182 -2.996737)', '2026-06-18 03:59:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504142 -2.996745)'), GeomFromEWKT('SRID=4674;POINT (-39.504182 -2.996737)'))) / (select extract(epoch from '2026-06-18 03:59:34'::timestamp) - extract(epoch from '2026-06-18 03:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504142 -2.996745)'), GeomFromEWKT('SRID=4674;POINT (-39.504182 -2.996737)'))) / (select extract(epoch from '2026-06-18 03:59:34'::timestamp) - extract(epoch from '2026-06-18 03:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504228 -2.996728)', '2026-06-18 03:59:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504182 -2.996737)'), GeomFromEWKT('SRID=4674;POINT (-39.504228 -2.996728)'))) / (select extract(epoch from '2026-06-18 03:59:45'::timestamp) - extract(epoch from '2026-06-18 03:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504182 -2.996737)'), GeomFromEWKT('SRID=4674;POINT (-39.504228 -2.996728)'))) / (select extract(epoch from '2026-06-18 03:59:45'::timestamp) - extract(epoch from '2026-06-18 03:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504265 -2.996716)', '2026-06-18 03:59:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504228 -2.996728)'), GeomFromEWKT('SRID=4674;POINT (-39.504265 -2.996716)'))) / (select extract(epoch from '2026-06-18 03:59:53'::timestamp) - extract(epoch from '2026-06-18 03:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504228 -2.996728)'), GeomFromEWKT('SRID=4674;POINT (-39.504265 -2.996716)'))) / (select extract(epoch from '2026-06-18 03:59:53'::timestamp) - extract(epoch from '2026-06-18 03:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504298 -2.996712)', '2026-06-18 03:59:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504265 -2.996716)'), GeomFromEWKT('SRID=4674;POINT (-39.504298 -2.996712)'))) / (select extract(epoch from '2026-06-18 03:59:59'::timestamp) - extract(epoch from '2026-06-18 03:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504265 -2.996716)'), GeomFromEWKT('SRID=4674;POINT (-39.504298 -2.996712)'))) / (select extract(epoch from '2026-06-18 03:59:59'::timestamp) - extract(epoch from '2026-06-18 03:59: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'), 46782, 'SRID=4674;POINT (-39.504341 -2.996699)', '2026-06-18 04:00:09', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504298 -2.996712)'), GeomFromEWKT('SRID=4674;POINT (-39.504341 -2.996699)'))) / (select extract(epoch from '2026-06-18 04:00:09'::timestamp) - extract(epoch from '2026-06-18 03:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504298 -2.996712)'), GeomFromEWKT('SRID=4674;POINT (-39.504341 -2.996699)'))) / (select extract(epoch from '2026-06-18 04:00:09'::timestamp) - extract(epoch from '2026-06-18 03:59: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'), 46782, 'SRID=4674;POINT (-39.504373 -2.996691)', '2026-06-18 04:00:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504341 -2.996699)'), GeomFromEWKT('SRID=4674;POINT (-39.504373 -2.996691)'))) / (select extract(epoch from '2026-06-18 04:00:17'::timestamp) - extract(epoch from '2026-06-18 04:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504341 -2.996699)'), GeomFromEWKT('SRID=4674;POINT (-39.504373 -2.996691)'))) / (select extract(epoch from '2026-06-18 04:00:17'::timestamp) - extract(epoch from '2026-06-18 04:00: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'), 46782, 'SRID=4674;POINT (-39.504402 -2.996676)', '2026-06-18 04:00:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504373 -2.996691)'), GeomFromEWKT('SRID=4674;POINT (-39.504402 -2.996676)'))) / (select extract(epoch from '2026-06-18 04:00:24'::timestamp) - extract(epoch from '2026-06-18 04:00:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504373 -2.996691)'), GeomFromEWKT('SRID=4674;POINT (-39.504402 -2.996676)'))) / (select extract(epoch from '2026-06-18 04:00:24'::timestamp) - extract(epoch from '2026-06-18 04:00:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504443 -2.996669)', '2026-06-18 04:00:33', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504402 -2.996676)'), GeomFromEWKT('SRID=4674;POINT (-39.504443 -2.996669)'))) / (select extract(epoch from '2026-06-18 04:00:33'::timestamp) - extract(epoch from '2026-06-18 04:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504402 -2.996676)'), GeomFromEWKT('SRID=4674;POINT (-39.504443 -2.996669)'))) / (select extract(epoch from '2026-06-18 04:00:33'::timestamp) - extract(epoch from '2026-06-18 04:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504476 -2.996668)', '2026-06-18 04:00:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504443 -2.996669)'), GeomFromEWKT('SRID=4674;POINT (-39.504476 -2.996668)'))) / (select extract(epoch from '2026-06-18 04:00:42'::timestamp) - extract(epoch from '2026-06-18 04:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504443 -2.996669)'), GeomFromEWKT('SRID=4674;POINT (-39.504476 -2.996668)'))) / (select extract(epoch from '2026-06-18 04:00:42'::timestamp) - extract(epoch from '2026-06-18 04:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.50452 -2.996659)', '2026-06-18 04:00:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504476 -2.996668)'), GeomFromEWKT('SRID=4674;POINT (-39.50452 -2.996659)'))) / (select extract(epoch from '2026-06-18 04:00:51'::timestamp) - extract(epoch from '2026-06-18 04:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504476 -2.996668)'), GeomFromEWKT('SRID=4674;POINT (-39.50452 -2.996659)'))) / (select extract(epoch from '2026-06-18 04:00:51'::timestamp) - extract(epoch from '2026-06-18 04:00:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504556 -2.996656)', '2026-06-18 04:00:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50452 -2.996659)'), GeomFromEWKT('SRID=4674;POINT (-39.504556 -2.996656)'))) / (select extract(epoch from '2026-06-18 04:00:59'::timestamp) - extract(epoch from '2026-06-18 04:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50452 -2.996659)'), GeomFromEWKT('SRID=4674;POINT (-39.504556 -2.996656)'))) / (select extract(epoch from '2026-06-18 04:00:59'::timestamp) - extract(epoch from '2026-06-18 04:00: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'), 46782, 'SRID=4674;POINT (-39.504597 -2.996644)', '2026-06-18 04:01:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504556 -2.996656)'), GeomFromEWKT('SRID=4674;POINT (-39.504597 -2.996644)'))) / (select extract(epoch from '2026-06-18 04:01:07'::timestamp) - extract(epoch from '2026-06-18 04:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504556 -2.996656)'), GeomFromEWKT('SRID=4674;POINT (-39.504597 -2.996644)'))) / (select extract(epoch from '2026-06-18 04:01:07'::timestamp) - extract(epoch from '2026-06-18 04:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504643 -2.996624)', '2026-06-18 04:01:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504597 -2.996644)'), GeomFromEWKT('SRID=4674;POINT (-39.504643 -2.996624)'))) / (select extract(epoch from '2026-06-18 04:01:16'::timestamp) - extract(epoch from '2026-06-18 04:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504597 -2.996644)'), GeomFromEWKT('SRID=4674;POINT (-39.504643 -2.996624)'))) / (select extract(epoch from '2026-06-18 04:01:16'::timestamp) - extract(epoch from '2026-06-18 04:01:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504681 -2.996608)', '2026-06-18 04:01:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504643 -2.996624)'), GeomFromEWKT('SRID=4674;POINT (-39.504681 -2.996608)'))) / (select extract(epoch from '2026-06-18 04:01:25'::timestamp) - extract(epoch from '2026-06-18 04:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504643 -2.996624)'), GeomFromEWKT('SRID=4674;POINT (-39.504681 -2.996608)'))) / (select extract(epoch from '2026-06-18 04:01:25'::timestamp) - extract(epoch from '2026-06-18 04:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504716 -2.996586)', '2026-06-18 04:01:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504681 -2.996608)'), GeomFromEWKT('SRID=4674;POINT (-39.504716 -2.996586)'))) / (select extract(epoch from '2026-06-18 04:01:34'::timestamp) - extract(epoch from '2026-06-18 04:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504681 -2.996608)'), GeomFromEWKT('SRID=4674;POINT (-39.504716 -2.996586)'))) / (select extract(epoch from '2026-06-18 04:01:34'::timestamp) - extract(epoch from '2026-06-18 04:01: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'), 46782, 'SRID=4674;POINT (-39.504754 -2.996579)', '2026-06-18 04:01:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504716 -2.996586)'), GeomFromEWKT('SRID=4674;POINT (-39.504754 -2.996579)'))) / (select extract(epoch from '2026-06-18 04:01:43'::timestamp) - extract(epoch from '2026-06-18 04:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504716 -2.996586)'), GeomFromEWKT('SRID=4674;POINT (-39.504754 -2.996579)'))) / (select extract(epoch from '2026-06-18 04:01:43'::timestamp) - extract(epoch from '2026-06-18 04:01: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'), 46782, 'SRID=4674;POINT (-39.504788 -2.996583)', '2026-06-18 04:01:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504754 -2.996579)'), GeomFromEWKT('SRID=4674;POINT (-39.504788 -2.996583)'))) / (select extract(epoch from '2026-06-18 04:01:52'::timestamp) - extract(epoch from '2026-06-18 04:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504754 -2.996579)'), GeomFromEWKT('SRID=4674;POINT (-39.504788 -2.996583)'))) / (select extract(epoch from '2026-06-18 04:01:52'::timestamp) - extract(epoch from '2026-06-18 04:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.50482 -2.996581)', '2026-06-18 04:01:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504788 -2.996583)'), GeomFromEWKT('SRID=4674;POINT (-39.50482 -2.996581)'))) / (select extract(epoch from '2026-06-18 04:01:59'::timestamp) - extract(epoch from '2026-06-18 04:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504788 -2.996583)'), GeomFromEWKT('SRID=4674;POINT (-39.50482 -2.996581)'))) / (select extract(epoch from '2026-06-18 04:01:59'::timestamp) - extract(epoch from '2026-06-18 04:01: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'), 46782, 'SRID=4674;POINT (-39.50486 -2.996573)', '2026-06-18 04:02:06', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50482 -2.996581)'), GeomFromEWKT('SRID=4674;POINT (-39.50486 -2.996573)'))) / (select extract(epoch from '2026-06-18 04:02:06'::timestamp) - extract(epoch from '2026-06-18 04:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50482 -2.996581)'), GeomFromEWKT('SRID=4674;POINT (-39.50486 -2.996573)'))) / (select extract(epoch from '2026-06-18 04:02:06'::timestamp) - extract(epoch from '2026-06-18 04:01:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.504899 -2.996564)', '2026-06-18 04:02:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50486 -2.996573)'), GeomFromEWKT('SRID=4674;POINT (-39.504899 -2.996564)'))) / (select extract(epoch from '2026-06-18 04:02:15'::timestamp) - extract(epoch from '2026-06-18 04:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50486 -2.996573)'), GeomFromEWKT('SRID=4674;POINT (-39.504899 -2.996564)'))) / (select extract(epoch from '2026-06-18 04:02:15'::timestamp) - extract(epoch from '2026-06-18 04:02: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'), 46782, 'SRID=4674;POINT (-39.504936 -2.996556)', '2026-06-18 04:02:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504899 -2.996564)'), GeomFromEWKT('SRID=4674;POINT (-39.504936 -2.996556)'))) / (select extract(epoch from '2026-06-18 04:02:23'::timestamp) - extract(epoch from '2026-06-18 04:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504899 -2.996564)'), GeomFromEWKT('SRID=4674;POINT (-39.504936 -2.996556)'))) / (select extract(epoch from '2026-06-18 04:02:23'::timestamp) - extract(epoch from '2026-06-18 04: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'), 46782, 'SRID=4674;POINT (-39.504975 -2.99654)', '2026-06-18 04:02:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504936 -2.996556)'), GeomFromEWKT('SRID=4674;POINT (-39.504975 -2.99654)'))) / (select extract(epoch from '2026-06-18 04:02:31'::timestamp) - extract(epoch from '2026-06-18 04:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504936 -2.996556)'), GeomFromEWKT('SRID=4674;POINT (-39.504975 -2.99654)'))) / (select extract(epoch from '2026-06-18 04:02:31'::timestamp) - extract(epoch from '2026-06-18 04:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.505013 -2.996532)', '2026-06-18 04:02:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504975 -2.99654)'), GeomFromEWKT('SRID=4674;POINT (-39.505013 -2.996532)'))) / (select extract(epoch from '2026-06-18 04:02:39'::timestamp) - extract(epoch from '2026-06-18 04:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.504975 -2.99654)'), GeomFromEWKT('SRID=4674;POINT (-39.505013 -2.996532)'))) / (select extract(epoch from '2026-06-18 04:02:39'::timestamp) - extract(epoch from '2026-06-18 04:02:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.505051 -2.996519)', '2026-06-18 04:02:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505013 -2.996532)'), GeomFromEWKT('SRID=4674;POINT (-39.505051 -2.996519)'))) / (select extract(epoch from '2026-06-18 04:02:48'::timestamp) - extract(epoch from '2026-06-18 04:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505013 -2.996532)'), GeomFromEWKT('SRID=4674;POINT (-39.505051 -2.996519)'))) / (select extract(epoch from '2026-06-18 04:02:48'::timestamp) - extract(epoch from '2026-06-18 04: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'), 46782, 'SRID=4674;POINT (-39.5051 -2.996509)', '2026-06-18 04:02:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505051 -2.996519)'), GeomFromEWKT('SRID=4674;POINT (-39.5051 -2.996509)'))) / (select extract(epoch from '2026-06-18 04:02:57'::timestamp) - extract(epoch from '2026-06-18 04:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505051 -2.996519)'), GeomFromEWKT('SRID=4674;POINT (-39.5051 -2.996509)'))) / (select extract(epoch from '2026-06-18 04:02:57'::timestamp) - extract(epoch from '2026-06-18 04:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.505134 -2.99649)', '2026-06-18 04:03:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5051 -2.996509)'), GeomFromEWKT('SRID=4674;POINT (-39.505134 -2.99649)'))) / (select extract(epoch from '2026-06-18 04:03:04'::timestamp) - extract(epoch from '2026-06-18 04:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5051 -2.996509)'), GeomFromEWKT('SRID=4674;POINT (-39.505134 -2.99649)'))) / (select extract(epoch from '2026-06-18 04:03:04'::timestamp) - extract(epoch from '2026-06-18 04:02:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.505162 -2.996482)', '2026-06-18 04:03:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505134 -2.99649)'), GeomFromEWKT('SRID=4674;POINT (-39.505162 -2.996482)'))) / (select extract(epoch from '2026-06-18 04:03:10'::timestamp) - extract(epoch from '2026-06-18 04:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505134 -2.99649)'), GeomFromEWKT('SRID=4674;POINT (-39.505162 -2.996482)'))) / (select extract(epoch from '2026-06-18 04:03:10'::timestamp) - extract(epoch from '2026-06-18 04: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'), 46782, 'SRID=4674;POINT (-39.505201 -2.996473)', '2026-06-18 04:03:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505162 -2.996482)'), GeomFromEWKT('SRID=4674;POINT (-39.505201 -2.996473)'))) / (select extract(epoch from '2026-06-18 04:03:17'::timestamp) - extract(epoch from '2026-06-18 04:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505162 -2.996482)'), GeomFromEWKT('SRID=4674;POINT (-39.505201 -2.996473)'))) / (select extract(epoch from '2026-06-18 04:03:17'::timestamp) - extract(epoch from '2026-06-18 04:03: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'), 46782, 'SRID=4674;POINT (-39.505233 -2.996463)', '2026-06-18 04:03:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505201 -2.996473)'), GeomFromEWKT('SRID=4674;POINT (-39.505233 -2.996463)'))) / (select extract(epoch from '2026-06-18 04:03:24'::timestamp) - extract(epoch from '2026-06-18 04:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505201 -2.996473)'), GeomFromEWKT('SRID=4674;POINT (-39.505233 -2.996463)'))) / (select extract(epoch from '2026-06-18 04:03:24'::timestamp) - extract(epoch from '2026-06-18 04:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.505265 -2.996461)', '2026-06-18 04:03:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505233 -2.996463)'), GeomFromEWKT('SRID=4674;POINT (-39.505265 -2.996461)'))) / (select extract(epoch from '2026-06-18 04:03:32'::timestamp) - extract(epoch from '2026-06-18 04:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505233 -2.996463)'), GeomFromEWKT('SRID=4674;POINT (-39.505265 -2.996461)'))) / (select extract(epoch from '2026-06-18 04:03:32'::timestamp) - extract(epoch from '2026-06-18 04:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.505302 -2.996451)', '2026-06-18 04:03:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505265 -2.996461)'), GeomFromEWKT('SRID=4674;POINT (-39.505302 -2.996451)'))) / (select extract(epoch from '2026-06-18 04:03:40'::timestamp) - extract(epoch from '2026-06-18 04:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505265 -2.996461)'), GeomFromEWKT('SRID=4674;POINT (-39.505302 -2.996451)'))) / (select extract(epoch from '2026-06-18 04:03:40'::timestamp) - extract(epoch from '2026-06-18 04:03: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'), 46782, 'SRID=4674;POINT (-39.505343 -2.996449)', '2026-06-18 04:03:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505302 -2.996451)'), GeomFromEWKT('SRID=4674;POINT (-39.505343 -2.996449)'))) / (select extract(epoch from '2026-06-18 04:03:48'::timestamp) - extract(epoch from '2026-06-18 04:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505302 -2.996451)'), GeomFromEWKT('SRID=4674;POINT (-39.505343 -2.996449)'))) / (select extract(epoch from '2026-06-18 04:03:48'::timestamp) - extract(epoch from '2026-06-18 04: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'), 46782, 'SRID=4674;POINT (-39.505383 -2.996449)', '2026-06-18 04:03:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505343 -2.996449)'), GeomFromEWKT('SRID=4674;POINT (-39.505383 -2.996449)'))) / (select extract(epoch from '2026-06-18 04:03:56'::timestamp) - extract(epoch from '2026-06-18 04:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505343 -2.996449)'), GeomFromEWKT('SRID=4674;POINT (-39.505383 -2.996449)'))) / (select extract(epoch from '2026-06-18 04:03:56'::timestamp) - extract(epoch from '2026-06-18 04:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.505418 -2.996438)', '2026-06-18 04:04:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505383 -2.996449)'), GeomFromEWKT('SRID=4674;POINT (-39.505418 -2.996438)'))) / (select extract(epoch from '2026-06-18 04:04:03'::timestamp) - extract(epoch from '2026-06-18 04:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505383 -2.996449)'), GeomFromEWKT('SRID=4674;POINT (-39.505418 -2.996438)'))) / (select extract(epoch from '2026-06-18 04:04:03'::timestamp) - extract(epoch from '2026-06-18 04:03: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'), 46782, 'SRID=4674;POINT (-39.505445 -2.996425)', '2026-06-18 04:04:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505418 -2.996438)'), GeomFromEWKT('SRID=4674;POINT (-39.505445 -2.996425)'))) / (select extract(epoch from '2026-06-18 04:04:10'::timestamp) - extract(epoch from '2026-06-18 04:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505418 -2.996438)'), GeomFromEWKT('SRID=4674;POINT (-39.505445 -2.996425)'))) / (select extract(epoch from '2026-06-18 04:04:10'::timestamp) - extract(epoch from '2026-06-18 04:04: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'), 46782, 'SRID=4674;POINT (-39.50549 -2.996408)', '2026-06-18 04:04:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505445 -2.996425)'), GeomFromEWKT('SRID=4674;POINT (-39.50549 -2.996408)'))) / (select extract(epoch from '2026-06-18 04:04:19'::timestamp) - extract(epoch from '2026-06-18 04:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505445 -2.996425)'), GeomFromEWKT('SRID=4674;POINT (-39.50549 -2.996408)'))) / (select extract(epoch from '2026-06-18 04:04:19'::timestamp) - extract(epoch from '2026-06-18 04:04: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'), 46782, 'SRID=4674;POINT (-39.505528 -2.99639)', '2026-06-18 04:04:27', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50549 -2.996408)'), GeomFromEWKT('SRID=4674;POINT (-39.505528 -2.99639)'))) / (select extract(epoch from '2026-06-18 04:04:27'::timestamp) - extract(epoch from '2026-06-18 04:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50549 -2.996408)'), GeomFromEWKT('SRID=4674;POINT (-39.505528 -2.99639)'))) / (select extract(epoch from '2026-06-18 04:04:27'::timestamp) - extract(epoch from '2026-06-18 04:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.505565 -2.996377)', '2026-06-18 04:04:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505528 -2.99639)'), GeomFromEWKT('SRID=4674;POINT (-39.505565 -2.996377)'))) / (select extract(epoch from '2026-06-18 04:04:36'::timestamp) - extract(epoch from '2026-06-18 04:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505528 -2.99639)'), GeomFromEWKT('SRID=4674;POINT (-39.505565 -2.996377)'))) / (select extract(epoch from '2026-06-18 04:04:36'::timestamp) - extract(epoch from '2026-06-18 04:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.5056 -2.99637)', '2026-06-18 04:04:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505565 -2.996377)'), GeomFromEWKT('SRID=4674;POINT (-39.5056 -2.99637)'))) / (select extract(epoch from '2026-06-18 04:04:43'::timestamp) - extract(epoch from '2026-06-18 04:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505565 -2.996377)'), GeomFromEWKT('SRID=4674;POINT (-39.5056 -2.99637)'))) / (select extract(epoch from '2026-06-18 04:04:43'::timestamp) - extract(epoch from '2026-06-18 04: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'), 46782, 'SRID=4674;POINT (-39.505642 -2.996365)', '2026-06-18 04:04:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5056 -2.99637)'), GeomFromEWKT('SRID=4674;POINT (-39.505642 -2.996365)'))) / (select extract(epoch from '2026-06-18 04:04:53'::timestamp) - extract(epoch from '2026-06-18 04:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5056 -2.99637)'), GeomFromEWKT('SRID=4674;POINT (-39.505642 -2.996365)'))) / (select extract(epoch from '2026-06-18 04:04:53'::timestamp) - extract(epoch from '2026-06-18 04:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.505673 -2.99636)', '2026-06-18 04:05:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505642 -2.996365)'), GeomFromEWKT('SRID=4674;POINT (-39.505673 -2.99636)'))) / (select extract(epoch from '2026-06-18 04:05:00'::timestamp) - extract(epoch from '2026-06-18 04:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505642 -2.996365)'), GeomFromEWKT('SRID=4674;POINT (-39.505673 -2.99636)'))) / (select extract(epoch from '2026-06-18 04:05:00'::timestamp) - extract(epoch from '2026-06-18 04:04: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'), 46782, 'SRID=4674;POINT (-39.505715 -2.996347)', '2026-06-18 04:05:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505673 -2.99636)'), GeomFromEWKT('SRID=4674;POINT (-39.505715 -2.996347)'))) / (select extract(epoch from '2026-06-18 04:05:08'::timestamp) - extract(epoch from '2026-06-18 04:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505673 -2.99636)'), GeomFromEWKT('SRID=4674;POINT (-39.505715 -2.996347)'))) / (select extract(epoch from '2026-06-18 04:05:08'::timestamp) - extract(epoch from '2026-06-18 04:05: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'), 46782, 'SRID=4674;POINT (-39.505754 -2.996333)', '2026-06-18 04:05:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505715 -2.996347)'), GeomFromEWKT('SRID=4674;POINT (-39.505754 -2.996333)'))) / (select extract(epoch from '2026-06-18 04:05:17'::timestamp) - extract(epoch from '2026-06-18 04:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505715 -2.996347)'), GeomFromEWKT('SRID=4674;POINT (-39.505754 -2.996333)'))) / (select extract(epoch from '2026-06-18 04:05:17'::timestamp) - extract(epoch from '2026-06-18 04:05: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'), 46782, 'SRID=4674;POINT (-39.505784 -2.996325)', '2026-06-18 04:05:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505754 -2.996333)'), GeomFromEWKT('SRID=4674;POINT (-39.505784 -2.996325)'))) / (select extract(epoch from '2026-06-18 04:05:24'::timestamp) - extract(epoch from '2026-06-18 04:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505754 -2.996333)'), GeomFromEWKT('SRID=4674;POINT (-39.505784 -2.996325)'))) / (select extract(epoch from '2026-06-18 04:05:24'::timestamp) - extract(epoch from '2026-06-18 04: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'), 46782, 'SRID=4674;POINT (-39.505823 -2.996317)', '2026-06-18 04:05:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505784 -2.996325)'), GeomFromEWKT('SRID=4674;POINT (-39.505823 -2.996317)'))) / (select extract(epoch from '2026-06-18 04:05:33'::timestamp) - extract(epoch from '2026-06-18 04:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505784 -2.996325)'), GeomFromEWKT('SRID=4674;POINT (-39.505823 -2.996317)'))) / (select extract(epoch from '2026-06-18 04:05:33'::timestamp) - extract(epoch from '2026-06-18 04: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'), 46782, 'SRID=4674;POINT (-39.505871 -2.996298)', '2026-06-18 04:05:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505823 -2.996317)'), GeomFromEWKT('SRID=4674;POINT (-39.505871 -2.996298)'))) / (select extract(epoch from '2026-06-18 04:05:43'::timestamp) - extract(epoch from '2026-06-18 04:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505823 -2.996317)'), GeomFromEWKT('SRID=4674;POINT (-39.505871 -2.996298)'))) / (select extract(epoch from '2026-06-18 04:05:43'::timestamp) - extract(epoch from '2026-06-18 04:05: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'), 46782, 'SRID=4674;POINT (-39.505901 -2.996292)', '2026-06-18 04:05:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505871 -2.996298)'), GeomFromEWKT('SRID=4674;POINT (-39.505901 -2.996292)'))) / (select extract(epoch from '2026-06-18 04:05:48'::timestamp) - extract(epoch from '2026-06-18 04:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505871 -2.996298)'), GeomFromEWKT('SRID=4674;POINT (-39.505901 -2.996292)'))) / (select extract(epoch from '2026-06-18 04:05:48'::timestamp) - extract(epoch from '2026-06-18 04:05: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'), 46782, 'SRID=4674;POINT (-39.505941 -2.996289)', '2026-06-18 04:05:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505901 -2.996292)'), GeomFromEWKT('SRID=4674;POINT (-39.505941 -2.996289)'))) / (select extract(epoch from '2026-06-18 04:05:56'::timestamp) - extract(epoch from '2026-06-18 04:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505901 -2.996292)'), GeomFromEWKT('SRID=4674;POINT (-39.505941 -2.996289)'))) / (select extract(epoch from '2026-06-18 04:05:56'::timestamp) - extract(epoch from '2026-06-18 04:05:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.505985 -2.996276)', '2026-06-18 04:06:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505941 -2.996289)'), GeomFromEWKT('SRID=4674;POINT (-39.505985 -2.996276)'))) / (select extract(epoch from '2026-06-18 04:06:03'::timestamp) - extract(epoch from '2026-06-18 04:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505941 -2.996289)'), GeomFromEWKT('SRID=4674;POINT (-39.505985 -2.996276)'))) / (select extract(epoch from '2026-06-18 04:06:03'::timestamp) - extract(epoch from '2026-06-18 04:05: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'), 46782, 'SRID=4674;POINT (-39.506034 -2.996264)', '2026-06-18 04:06:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505985 -2.996276)'), GeomFromEWKT('SRID=4674;POINT (-39.506034 -2.996264)'))) / (select extract(epoch from '2026-06-18 04:06:12'::timestamp) - extract(epoch from '2026-06-18 04:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.505985 -2.996276)'), GeomFromEWKT('SRID=4674;POINT (-39.506034 -2.996264)'))) / (select extract(epoch from '2026-06-18 04:06:12'::timestamp) - extract(epoch from '2026-06-18 04:06: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'), 46782, 'SRID=4674;POINT (-39.506066 -2.996251)', '2026-06-18 04:06:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506034 -2.996264)'), GeomFromEWKT('SRID=4674;POINT (-39.506066 -2.996251)'))) / (select extract(epoch from '2026-06-18 04:06:20'::timestamp) - extract(epoch from '2026-06-18 04:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506034 -2.996264)'), GeomFromEWKT('SRID=4674;POINT (-39.506066 -2.996251)'))) / (select extract(epoch from '2026-06-18 04:06:20'::timestamp) - extract(epoch from '2026-06-18 04:06: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'), 46782, 'SRID=4674;POINT (-39.50611 -2.996234)', '2026-06-18 04:06:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506066 -2.996251)'), GeomFromEWKT('SRID=4674;POINT (-39.50611 -2.996234)'))) / (select extract(epoch from '2026-06-18 04:06:29'::timestamp) - extract(epoch from '2026-06-18 04:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506066 -2.996251)'), GeomFromEWKT('SRID=4674;POINT (-39.50611 -2.996234)'))) / (select extract(epoch from '2026-06-18 04:06:29'::timestamp) - extract(epoch from '2026-06-18 04:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.506145 -2.99622)', '2026-06-18 04:06:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50611 -2.996234)'), GeomFromEWKT('SRID=4674;POINT (-39.506145 -2.99622)'))) / (select extract(epoch from '2026-06-18 04:06:36'::timestamp) - extract(epoch from '2026-06-18 04:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50611 -2.996234)'), GeomFromEWKT('SRID=4674;POINT (-39.506145 -2.99622)'))) / (select extract(epoch from '2026-06-18 04:06:36'::timestamp) - extract(epoch from '2026-06-18 04: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'), 46782, 'SRID=4674;POINT (-39.506193 -2.996208)', '2026-06-18 04:06:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506145 -2.99622)'), GeomFromEWKT('SRID=4674;POINT (-39.506193 -2.996208)'))) / (select extract(epoch from '2026-06-18 04:06:46'::timestamp) - extract(epoch from '2026-06-18 04:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506145 -2.99622)'), GeomFromEWKT('SRID=4674;POINT (-39.506193 -2.996208)'))) / (select extract(epoch from '2026-06-18 04:06:46'::timestamp) - extract(epoch from '2026-06-18 04:06: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'), 46782, 'SRID=4674;POINT (-39.506246 -2.996199)', '2026-06-18 04:06:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506193 -2.996208)'), GeomFromEWKT('SRID=4674;POINT (-39.506246 -2.996199)'))) / (select extract(epoch from '2026-06-18 04:06:56'::timestamp) - extract(epoch from '2026-06-18 04:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506193 -2.996208)'), GeomFromEWKT('SRID=4674;POINT (-39.506246 -2.996199)'))) / (select extract(epoch from '2026-06-18 04:06:56'::timestamp) - extract(epoch from '2026-06-18 04: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'), 46782, 'SRID=4674;POINT (-39.506275 -2.996181)', '2026-06-18 04:07:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506246 -2.996199)'), GeomFromEWKT('SRID=4674;POINT (-39.506275 -2.996181)'))) / (select extract(epoch from '2026-06-18 04:07:02'::timestamp) - extract(epoch from '2026-06-18 04:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506246 -2.996199)'), GeomFromEWKT('SRID=4674;POINT (-39.506275 -2.996181)'))) / (select extract(epoch from '2026-06-18 04:07:02'::timestamp) - extract(epoch from '2026-06-18 04:06: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'), 46782, 'SRID=4674;POINT (-39.506309 -2.996174)', '2026-06-18 04:07:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506275 -2.996181)'), GeomFromEWKT('SRID=4674;POINT (-39.506309 -2.996174)'))) / (select extract(epoch from '2026-06-18 04:07:09'::timestamp) - extract(epoch from '2026-06-18 04:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506275 -2.996181)'), GeomFromEWKT('SRID=4674;POINT (-39.506309 -2.996174)'))) / (select extract(epoch from '2026-06-18 04:07:09'::timestamp) - extract(epoch from '2026-06-18 04:07: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'), 46782, 'SRID=4674;POINT (-39.506357 -2.99616)', '2026-06-18 04:07:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506309 -2.996174)'), GeomFromEWKT('SRID=4674;POINT (-39.506357 -2.99616)'))) / (select extract(epoch from '2026-06-18 04:07:19'::timestamp) - extract(epoch from '2026-06-18 04:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506309 -2.996174)'), GeomFromEWKT('SRID=4674;POINT (-39.506357 -2.99616)'))) / (select extract(epoch from '2026-06-18 04:07:19'::timestamp) - extract(epoch from '2026-06-18 04:07: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'), 46782, 'SRID=4674;POINT (-39.506388 -2.996169)', '2026-06-18 04:07:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506357 -2.99616)'), GeomFromEWKT('SRID=4674;POINT (-39.506388 -2.996169)'))) / (select extract(epoch from '2026-06-18 04:07:28'::timestamp) - extract(epoch from '2026-06-18 04:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506357 -2.99616)'), GeomFromEWKT('SRID=4674;POINT (-39.506388 -2.996169)'))) / (select extract(epoch from '2026-06-18 04:07:28'::timestamp) - extract(epoch from '2026-06-18 04:07: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'), 46782, 'SRID=4674;POINT (-39.506417 -2.996178)', '2026-06-18 04:07:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506388 -2.996169)'), GeomFromEWKT('SRID=4674;POINT (-39.506417 -2.996178)'))) / (select extract(epoch from '2026-06-18 04:07:38'::timestamp) - extract(epoch from '2026-06-18 04:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506388 -2.996169)'), GeomFromEWKT('SRID=4674;POINT (-39.506417 -2.996178)'))) / (select extract(epoch from '2026-06-18 04:07:38'::timestamp) - extract(epoch from '2026-06-18 04:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.506455 -2.996184)', '2026-06-18 04:07:45', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506417 -2.996178)'), GeomFromEWKT('SRID=4674;POINT (-39.506455 -2.996184)'))) / (select extract(epoch from '2026-06-18 04:07:45'::timestamp) - extract(epoch from '2026-06-18 04:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506417 -2.996178)'), GeomFromEWKT('SRID=4674;POINT (-39.506455 -2.996184)'))) / (select extract(epoch from '2026-06-18 04:07:45'::timestamp) - extract(epoch from '2026-06-18 04:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.506504 -2.996194)', '2026-06-18 04:07:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506455 -2.996184)'), GeomFromEWKT('SRID=4674;POINT (-39.506504 -2.996194)'))) / (select extract(epoch from '2026-06-18 04:07:55'::timestamp) - extract(epoch from '2026-06-18 04:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506455 -2.996184)'), GeomFromEWKT('SRID=4674;POINT (-39.506504 -2.996194)'))) / (select extract(epoch from '2026-06-18 04:07:55'::timestamp) - extract(epoch from '2026-06-18 04:07:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.506558 -2.996186)', '2026-06-18 04:08:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506504 -2.996194)'), GeomFromEWKT('SRID=4674;POINT (-39.506558 -2.996186)'))) / (select extract(epoch from '2026-06-18 04:08:04'::timestamp) - extract(epoch from '2026-06-18 04:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506504 -2.996194)'), GeomFromEWKT('SRID=4674;POINT (-39.506558 -2.996186)'))) / (select extract(epoch from '2026-06-18 04:08:04'::timestamp) - extract(epoch from '2026-06-18 04:07:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.506595 -2.996176)', '2026-06-18 04:08:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506558 -2.996186)'), GeomFromEWKT('SRID=4674;POINT (-39.506595 -2.996176)'))) / (select extract(epoch from '2026-06-18 04:08:11'::timestamp) - extract(epoch from '2026-06-18 04:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506558 -2.996186)'), GeomFromEWKT('SRID=4674;POINT (-39.506595 -2.996176)'))) / (select extract(epoch from '2026-06-18 04:08:11'::timestamp) - extract(epoch from '2026-06-18 04:08: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'), 46782, 'SRID=4674;POINT (-39.506642 -2.996168)', '2026-06-18 04:08:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506595 -2.996176)'), GeomFromEWKT('SRID=4674;POINT (-39.506642 -2.996168)'))) / (select extract(epoch from '2026-06-18 04:08:19'::timestamp) - extract(epoch from '2026-06-18 04:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506595 -2.996176)'), GeomFromEWKT('SRID=4674;POINT (-39.506642 -2.996168)'))) / (select extract(epoch from '2026-06-18 04:08:19'::timestamp) - extract(epoch from '2026-06-18 04:08: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'), 46782, 'SRID=4674;POINT (-39.506682 -2.996157)', '2026-06-18 04:08:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506642 -2.996168)'), GeomFromEWKT('SRID=4674;POINT (-39.506682 -2.996157)'))) / (select extract(epoch from '2026-06-18 04:08:27'::timestamp) - extract(epoch from '2026-06-18 04:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506642 -2.996168)'), GeomFromEWKT('SRID=4674;POINT (-39.506682 -2.996157)'))) / (select extract(epoch from '2026-06-18 04:08:27'::timestamp) - extract(epoch from '2026-06-18 04:08: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'), 46782, 'SRID=4674;POINT (-39.506721 -2.996147)', '2026-06-18 04:08:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506682 -2.996157)'), GeomFromEWKT('SRID=4674;POINT (-39.506721 -2.996147)'))) / (select extract(epoch from '2026-06-18 04:08:35'::timestamp) - extract(epoch from '2026-06-18 04:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506682 -2.996157)'), GeomFromEWKT('SRID=4674;POINT (-39.506721 -2.996147)'))) / (select extract(epoch from '2026-06-18 04:08:35'::timestamp) - extract(epoch from '2026-06-18 04:08: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'), 46782, 'SRID=4674;POINT (-39.506787 -2.996137)', '2026-06-18 04:08:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506721 -2.996147)'), GeomFromEWKT('SRID=4674;POINT (-39.506787 -2.996137)'))) / (select extract(epoch from '2026-06-18 04:08:49'::timestamp) - extract(epoch from '2026-06-18 04:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506721 -2.996147)'), GeomFromEWKT('SRID=4674;POINT (-39.506787 -2.996137)'))) / (select extract(epoch from '2026-06-18 04:08:49'::timestamp) - extract(epoch from '2026-06-18 04:08: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'), 46782, 'SRID=4674;POINT (-39.506847 -2.996124)', '2026-06-18 04:09:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506787 -2.996137)'), GeomFromEWKT('SRID=4674;POINT (-39.506847 -2.996124)'))) / (select extract(epoch from '2026-06-18 04:09:02'::timestamp) - extract(epoch from '2026-06-18 04:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506787 -2.996137)'), GeomFromEWKT('SRID=4674;POINT (-39.506847 -2.996124)'))) / (select extract(epoch from '2026-06-18 04:09:02'::timestamp) - extract(epoch from '2026-06-18 04:08: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'), 46782, 'SRID=4674;POINT (-39.506898 -2.996111)', '2026-06-18 04:09:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506847 -2.996124)'), GeomFromEWKT('SRID=4674;POINT (-39.506898 -2.996111)'))) / (select extract(epoch from '2026-06-18 04:09:12'::timestamp) - extract(epoch from '2026-06-18 04:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506847 -2.996124)'), GeomFromEWKT('SRID=4674;POINT (-39.506898 -2.996111)'))) / (select extract(epoch from '2026-06-18 04:09:12'::timestamp) - extract(epoch from '2026-06-18 04:09: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'), 46782, 'SRID=4674;POINT (-39.506924 -2.996104)', '2026-06-18 04:09:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506898 -2.996111)'), GeomFromEWKT('SRID=4674;POINT (-39.506924 -2.996104)'))) / (select extract(epoch from '2026-06-18 04:09:19'::timestamp) - extract(epoch from '2026-06-18 04:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506898 -2.996111)'), GeomFromEWKT('SRID=4674;POINT (-39.506924 -2.996104)'))) / (select extract(epoch from '2026-06-18 04:09:19'::timestamp) - extract(epoch from '2026-06-18 04:09: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'), 46782, 'SRID=4674;POINT (-39.50696 -2.996097)', '2026-06-18 04:09:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506924 -2.996104)'), GeomFromEWKT('SRID=4674;POINT (-39.50696 -2.996097)'))) / (select extract(epoch from '2026-06-18 04:09:27'::timestamp) - extract(epoch from '2026-06-18 04:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506924 -2.996104)'), GeomFromEWKT('SRID=4674;POINT (-39.50696 -2.996097)'))) / (select extract(epoch from '2026-06-18 04:09:27'::timestamp) - extract(epoch from '2026-06-18 04:09: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'), 46782, 'SRID=4674;POINT (-39.506998 -2.996087)', '2026-06-18 04:09:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50696 -2.996097)'), GeomFromEWKT('SRID=4674;POINT (-39.506998 -2.996087)'))) / (select extract(epoch from '2026-06-18 04:09:36'::timestamp) - extract(epoch from '2026-06-18 04:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50696 -2.996097)'), GeomFromEWKT('SRID=4674;POINT (-39.506998 -2.996087)'))) / (select extract(epoch from '2026-06-18 04:09:36'::timestamp) - extract(epoch from '2026-06-18 04:09: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'), 46782, 'SRID=4674;POINT (-39.50703 -2.996075)', '2026-06-18 04:09:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506998 -2.996087)'), GeomFromEWKT('SRID=4674;POINT (-39.50703 -2.996075)'))) / (select extract(epoch from '2026-06-18 04:09:44'::timestamp) - extract(epoch from '2026-06-18 04:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.506998 -2.996087)'), GeomFromEWKT('SRID=4674;POINT (-39.50703 -2.996075)'))) / (select extract(epoch from '2026-06-18 04:09:44'::timestamp) - extract(epoch from '2026-06-18 04:09: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'), 46782, 'SRID=4674;POINT (-39.507073 -2.996062)', '2026-06-18 04:09:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50703 -2.996075)'), GeomFromEWKT('SRID=4674;POINT (-39.507073 -2.996062)'))) / (select extract(epoch from '2026-06-18 04:09:53'::timestamp) - extract(epoch from '2026-06-18 04:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50703 -2.996075)'), GeomFromEWKT('SRID=4674;POINT (-39.507073 -2.996062)'))) / (select extract(epoch from '2026-06-18 04:09:53'::timestamp) - extract(epoch from '2026-06-18 04:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.507106 -2.996056)', '2026-06-18 04:10:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507073 -2.996062)'), GeomFromEWKT('SRID=4674;POINT (-39.507106 -2.996056)'))) / (select extract(epoch from '2026-06-18 04:10:00'::timestamp) - extract(epoch from '2026-06-18 04:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507073 -2.996062)'), GeomFromEWKT('SRID=4674;POINT (-39.507106 -2.996056)'))) / (select extract(epoch from '2026-06-18 04:10:00'::timestamp) - extract(epoch from '2026-06-18 04:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.507141 -2.996041)', '2026-06-18 04:10:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507106 -2.996056)'), GeomFromEWKT('SRID=4674;POINT (-39.507141 -2.996041)'))) / (select extract(epoch from '2026-06-18 04:10:08'::timestamp) - extract(epoch from '2026-06-18 04:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507106 -2.996056)'), GeomFromEWKT('SRID=4674;POINT (-39.507141 -2.996041)'))) / (select extract(epoch from '2026-06-18 04:10:08'::timestamp) - extract(epoch from '2026-06-18 04:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.507183 -2.996031)', '2026-06-18 04:10:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507141 -2.996041)'), GeomFromEWKT('SRID=4674;POINT (-39.507183 -2.996031)'))) / (select extract(epoch from '2026-06-18 04:10:17'::timestamp) - extract(epoch from '2026-06-18 04:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507141 -2.996041)'), GeomFromEWKT('SRID=4674;POINT (-39.507183 -2.996031)'))) / (select extract(epoch from '2026-06-18 04:10:17'::timestamp) - extract(epoch from '2026-06-18 04:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.50721 -2.996029)', '2026-06-18 04:10:24', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507183 -2.996031)'), GeomFromEWKT('SRID=4674;POINT (-39.50721 -2.996029)'))) / (select extract(epoch from '2026-06-18 04:10:24'::timestamp) - extract(epoch from '2026-06-18 04:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507183 -2.996031)'), GeomFromEWKT('SRID=4674;POINT (-39.50721 -2.996029)'))) / (select extract(epoch from '2026-06-18 04:10:24'::timestamp) - extract(epoch from '2026-06-18 04:10: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'), 46782, 'SRID=4674;POINT (-39.507247 -2.996028)', '2026-06-18 04:10:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50721 -2.996029)'), GeomFromEWKT('SRID=4674;POINT (-39.507247 -2.996028)'))) / (select extract(epoch from '2026-06-18 04:10:32'::timestamp) - extract(epoch from '2026-06-18 04:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50721 -2.996029)'), GeomFromEWKT('SRID=4674;POINT (-39.507247 -2.996028)'))) / (select extract(epoch from '2026-06-18 04:10:32'::timestamp) - extract(epoch from '2026-06-18 04:10: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'), 46782, 'SRID=4674;POINT (-39.50728 -2.99603)', '2026-06-18 04:10:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507247 -2.996028)'), GeomFromEWKT('SRID=4674;POINT (-39.50728 -2.99603)'))) / (select extract(epoch from '2026-06-18 04:10:41'::timestamp) - extract(epoch from '2026-06-18 04:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507247 -2.996028)'), GeomFromEWKT('SRID=4674;POINT (-39.50728 -2.99603)'))) / (select extract(epoch from '2026-06-18 04:10:41'::timestamp) - extract(epoch from '2026-06-18 04:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.507325 -2.996024)', '2026-06-18 04:10:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50728 -2.99603)'), GeomFromEWKT('SRID=4674;POINT (-39.507325 -2.996024)'))) / (select extract(epoch from '2026-06-18 04:10:50'::timestamp) - extract(epoch from '2026-06-18 04:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50728 -2.99603)'), GeomFromEWKT('SRID=4674;POINT (-39.507325 -2.996024)'))) / (select extract(epoch from '2026-06-18 04:10:50'::timestamp) - extract(epoch from '2026-06-18 04:10: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'), 46782, 'SRID=4674;POINT (-39.50737 -2.996009)', '2026-06-18 04:10:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507325 -2.996024)'), GeomFromEWKT('SRID=4674;POINT (-39.50737 -2.996009)'))) / (select extract(epoch from '2026-06-18 04:10:58'::timestamp) - extract(epoch from '2026-06-18 04:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507325 -2.996024)'), GeomFromEWKT('SRID=4674;POINT (-39.50737 -2.996009)'))) / (select extract(epoch from '2026-06-18 04:10:58'::timestamp) - extract(epoch from '2026-06-18 04:10: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'), 46782, 'SRID=4674;POINT (-39.507423 -2.995996)', '2026-06-18 04:11:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50737 -2.996009)'), GeomFromEWKT('SRID=4674;POINT (-39.507423 -2.995996)'))) / (select extract(epoch from '2026-06-18 04:11:08'::timestamp) - extract(epoch from '2026-06-18 04:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50737 -2.996009)'), GeomFromEWKT('SRID=4674;POINT (-39.507423 -2.995996)'))) / (select extract(epoch from '2026-06-18 04:11:08'::timestamp) - extract(epoch from '2026-06-18 04:10: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'), 46782, 'SRID=4674;POINT (-39.50747 -2.995989)', '2026-06-18 04:11:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507423 -2.995996)'), GeomFromEWKT('SRID=4674;POINT (-39.50747 -2.995989)'))) / (select extract(epoch from '2026-06-18 04:11:18'::timestamp) - extract(epoch from '2026-06-18 04:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507423 -2.995996)'), GeomFromEWKT('SRID=4674;POINT (-39.50747 -2.995989)'))) / (select extract(epoch from '2026-06-18 04:11:18'::timestamp) - extract(epoch from '2026-06-18 04:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.507519 -2.995982)', '2026-06-18 04:11:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50747 -2.995989)'), GeomFromEWKT('SRID=4674;POINT (-39.507519 -2.995982)'))) / (select extract(epoch from '2026-06-18 04:11:28'::timestamp) - extract(epoch from '2026-06-18 04:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50747 -2.995989)'), GeomFromEWKT('SRID=4674;POINT (-39.507519 -2.995982)'))) / (select extract(epoch from '2026-06-18 04:11:28'::timestamp) - extract(epoch from '2026-06-18 04:11: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'), 46782, 'SRID=4674;POINT (-39.507571 -2.995979)', '2026-06-18 04:11:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507519 -2.995982)'), GeomFromEWKT('SRID=4674;POINT (-39.507571 -2.995979)'))) / (select extract(epoch from '2026-06-18 04:11:37'::timestamp) - extract(epoch from '2026-06-18 04:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507519 -2.995982)'), GeomFromEWKT('SRID=4674;POINT (-39.507571 -2.995979)'))) / (select extract(epoch from '2026-06-18 04:11:37'::timestamp) - extract(epoch from '2026-06-18 04:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.507599 -2.995978)', '2026-06-18 04:11:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507571 -2.995979)'), GeomFromEWKT('SRID=4674;POINT (-39.507599 -2.995978)'))) / (select extract(epoch from '2026-06-18 04:11:45'::timestamp) - extract(epoch from '2026-06-18 04:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507571 -2.995979)'), GeomFromEWKT('SRID=4674;POINT (-39.507599 -2.995978)'))) / (select extract(epoch from '2026-06-18 04:11:45'::timestamp) - extract(epoch from '2026-06-18 04:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.507625 -2.995976)', '2026-06-18 04:11:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507599 -2.995978)'), GeomFromEWKT('SRID=4674;POINT (-39.507625 -2.995976)'))) / (select extract(epoch from '2026-06-18 04:11:52'::timestamp) - extract(epoch from '2026-06-18 04:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507599 -2.995978)'), GeomFromEWKT('SRID=4674;POINT (-39.507625 -2.995976)'))) / (select extract(epoch from '2026-06-18 04:11:52'::timestamp) - extract(epoch from '2026-06-18 04:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.507656 -2.995977)', '2026-06-18 04:11:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507625 -2.995976)'), GeomFromEWKT('SRID=4674;POINT (-39.507656 -2.995977)'))) / (select extract(epoch from '2026-06-18 04:11:58'::timestamp) - extract(epoch from '2026-06-18 04:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507625 -2.995976)'), GeomFromEWKT('SRID=4674;POINT (-39.507656 -2.995977)'))) / (select extract(epoch from '2026-06-18 04:11:58'::timestamp) - extract(epoch from '2026-06-18 04:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.507697 -2.995983)', '2026-06-18 04:12:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507656 -2.995977)'), GeomFromEWKT('SRID=4674;POINT (-39.507697 -2.995983)'))) / (select extract(epoch from '2026-06-18 04:12:07'::timestamp) - extract(epoch from '2026-06-18 04:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507656 -2.995977)'), GeomFromEWKT('SRID=4674;POINT (-39.507697 -2.995983)'))) / (select extract(epoch from '2026-06-18 04:12:07'::timestamp) - extract(epoch from '2026-06-18 04:11: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'), 46782, 'SRID=4674;POINT (-39.507735 -2.995978)', '2026-06-18 04:12:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507697 -2.995983)'), GeomFromEWKT('SRID=4674;POINT (-39.507735 -2.995978)'))) / (select extract(epoch from '2026-06-18 04:12:14'::timestamp) - extract(epoch from '2026-06-18 04:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507697 -2.995983)'), GeomFromEWKT('SRID=4674;POINT (-39.507735 -2.995978)'))) / (select extract(epoch from '2026-06-18 04:12:14'::timestamp) - extract(epoch from '2026-06-18 04:12: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'), 46782, 'SRID=4674;POINT (-39.507764 -2.995979)', '2026-06-18 04:12:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507735 -2.995978)'), GeomFromEWKT('SRID=4674;POINT (-39.507764 -2.995979)'))) / (select extract(epoch from '2026-06-18 04:12:20'::timestamp) - extract(epoch from '2026-06-18 04:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507735 -2.995978)'), GeomFromEWKT('SRID=4674;POINT (-39.507764 -2.995979)'))) / (select extract(epoch from '2026-06-18 04:12:20'::timestamp) - extract(epoch from '2026-06-18 04:12: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'), 46782, 'SRID=4674;POINT (-39.507797 -2.99598)', '2026-06-18 04:12:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507764 -2.995979)'), GeomFromEWKT('SRID=4674;POINT (-39.507797 -2.99598)'))) / (select extract(epoch from '2026-06-18 04:12:28'::timestamp) - extract(epoch from '2026-06-18 04:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507764 -2.995979)'), GeomFromEWKT('SRID=4674;POINT (-39.507797 -2.99598)'))) / (select extract(epoch from '2026-06-18 04:12:28'::timestamp) - extract(epoch from '2026-06-18 04:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.507823 -2.995982)', '2026-06-18 04:12:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507797 -2.99598)'), GeomFromEWKT('SRID=4674;POINT (-39.507823 -2.995982)'))) / (select extract(epoch from '2026-06-18 04:12:36'::timestamp) - extract(epoch from '2026-06-18 04:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507797 -2.99598)'), GeomFromEWKT('SRID=4674;POINT (-39.507823 -2.995982)'))) / (select extract(epoch from '2026-06-18 04:12:36'::timestamp) - extract(epoch from '2026-06-18 04:12:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.507866 -2.995977)', '2026-06-18 04:12:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507823 -2.995982)'), GeomFromEWKT('SRID=4674;POINT (-39.507866 -2.995977)'))) / (select extract(epoch from '2026-06-18 04:12:45'::timestamp) - extract(epoch from '2026-06-18 04:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507823 -2.995982)'), GeomFromEWKT('SRID=4674;POINT (-39.507866 -2.995977)'))) / (select extract(epoch from '2026-06-18 04:12:45'::timestamp) - extract(epoch from '2026-06-18 04:12: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'), 46782, 'SRID=4674;POINT (-39.507909 -2.995966)', '2026-06-18 04:12:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507866 -2.995977)'), GeomFromEWKT('SRID=4674;POINT (-39.507909 -2.995966)'))) / (select extract(epoch from '2026-06-18 04:12:54'::timestamp) - extract(epoch from '2026-06-18 04:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507866 -2.995977)'), GeomFromEWKT('SRID=4674;POINT (-39.507909 -2.995966)'))) / (select extract(epoch from '2026-06-18 04:12:54'::timestamp) - extract(epoch from '2026-06-18 04:12: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'), 46782, 'SRID=4674;POINT (-39.507952 -2.995962)', '2026-06-18 04:13:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507909 -2.995966)'), GeomFromEWKT('SRID=4674;POINT (-39.507952 -2.995962)'))) / (select extract(epoch from '2026-06-18 04:13:02'::timestamp) - extract(epoch from '2026-06-18 04:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507909 -2.995966)'), GeomFromEWKT('SRID=4674;POINT (-39.507952 -2.995962)'))) / (select extract(epoch from '2026-06-18 04:13:02'::timestamp) - extract(epoch from '2026-06-18 04:12: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'), 46782, 'SRID=4674;POINT (-39.507993 -2.995964)', '2026-06-18 04:13:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507952 -2.995962)'), GeomFromEWKT('SRID=4674;POINT (-39.507993 -2.995964)'))) / (select extract(epoch from '2026-06-18 04:13:11'::timestamp) - extract(epoch from '2026-06-18 04:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507952 -2.995962)'), GeomFromEWKT('SRID=4674;POINT (-39.507993 -2.995964)'))) / (select extract(epoch from '2026-06-18 04:13:11'::timestamp) - extract(epoch from '2026-06-18 04:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508022 -2.995959)', '2026-06-18 04:13:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507993 -2.995964)'), GeomFromEWKT('SRID=4674;POINT (-39.508022 -2.995959)'))) / (select extract(epoch from '2026-06-18 04:13:17'::timestamp) - extract(epoch from '2026-06-18 04:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.507993 -2.995964)'), GeomFromEWKT('SRID=4674;POINT (-39.508022 -2.995959)'))) / (select extract(epoch from '2026-06-18 04:13:17'::timestamp) - extract(epoch from '2026-06-18 04:13: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'), 46782, 'SRID=4674;POINT (-39.508048 -2.995964)', '2026-06-18 04:13:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508022 -2.995959)'), GeomFromEWKT('SRID=4674;POINT (-39.508048 -2.995964)'))) / (select extract(epoch from '2026-06-18 04:13:26'::timestamp) - extract(epoch from '2026-06-18 04:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508022 -2.995959)'), GeomFromEWKT('SRID=4674;POINT (-39.508048 -2.995964)'))) / (select extract(epoch from '2026-06-18 04:13:26'::timestamp) - extract(epoch from '2026-06-18 04:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508071 -2.995971)', '2026-06-18 04:13:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508048 -2.995964)'), GeomFromEWKT('SRID=4674;POINT (-39.508071 -2.995971)'))) / (select extract(epoch from '2026-06-18 04:13:34'::timestamp) - extract(epoch from '2026-06-18 04:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508048 -2.995964)'), GeomFromEWKT('SRID=4674;POINT (-39.508071 -2.995971)'))) / (select extract(epoch from '2026-06-18 04:13:34'::timestamp) - extract(epoch from '2026-06-18 04:13:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508084 -2.995974)', '2026-06-18 04:13:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508071 -2.995971)'), GeomFromEWKT('SRID=4674;POINT (-39.508084 -2.995974)'))) / (select extract(epoch from '2026-06-18 04:13:44'::timestamp) - extract(epoch from '2026-06-18 04:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508071 -2.995971)'), GeomFromEWKT('SRID=4674;POINT (-39.508084 -2.995974)'))) / (select extract(epoch from '2026-06-18 04:13:44'::timestamp) - extract(epoch from '2026-06-18 04:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508089 -2.995964)', '2026-06-18 04:13:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508084 -2.995974)'), GeomFromEWKT('SRID=4674;POINT (-39.508089 -2.995964)'))) / (select extract(epoch from '2026-06-18 04:13:54'::timestamp) - extract(epoch from '2026-06-18 04:13:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508084 -2.995974)'), GeomFromEWKT('SRID=4674;POINT (-39.508089 -2.995964)'))) / (select extract(epoch from '2026-06-18 04:13:54'::timestamp) - extract(epoch from '2026-06-18 04:13:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.50813 -2.995956)', '2026-06-18 04:14:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508089 -2.995964)'), GeomFromEWKT('SRID=4674;POINT (-39.50813 -2.995956)'))) / (select extract(epoch from '2026-06-18 04:14:05'::timestamp) - extract(epoch from '2026-06-18 04:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508089 -2.995964)'), GeomFromEWKT('SRID=4674;POINT (-39.50813 -2.995956)'))) / (select extract(epoch from '2026-06-18 04:14:05'::timestamp) - extract(epoch from '2026-06-18 04:13: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'), 46782, 'SRID=4674;POINT (-39.508157 -2.995955)', '2026-06-18 04:14:13', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50813 -2.995956)'), GeomFromEWKT('SRID=4674;POINT (-39.508157 -2.995955)'))) / (select extract(epoch from '2026-06-18 04:14:13'::timestamp) - extract(epoch from '2026-06-18 04:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50813 -2.995956)'), GeomFromEWKT('SRID=4674;POINT (-39.508157 -2.995955)'))) / (select extract(epoch from '2026-06-18 04:14:13'::timestamp) - extract(epoch from '2026-06-18 04:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508177 -2.995962)', '2026-06-18 04:14:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508157 -2.995955)'), GeomFromEWKT('SRID=4674;POINT (-39.508177 -2.995962)'))) / (select extract(epoch from '2026-06-18 04:14:22'::timestamp) - extract(epoch from '2026-06-18 04:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508157 -2.995955)'), GeomFromEWKT('SRID=4674;POINT (-39.508177 -2.995962)'))) / (select extract(epoch from '2026-06-18 04:14:22'::timestamp) - extract(epoch from '2026-06-18 04:14: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'), 46782, 'SRID=4674;POINT (-39.508202 -2.995961)', '2026-06-18 04:14:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508177 -2.995962)'), GeomFromEWKT('SRID=4674;POINT (-39.508202 -2.995961)'))) / (select extract(epoch from '2026-06-18 04:14:31'::timestamp) - extract(epoch from '2026-06-18 04:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508177 -2.995962)'), GeomFromEWKT('SRID=4674;POINT (-39.508202 -2.995961)'))) / (select extract(epoch from '2026-06-18 04:14:31'::timestamp) - extract(epoch from '2026-06-18 04:14:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508233 -2.995967)', '2026-06-18 04:14:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508202 -2.995961)'), GeomFromEWKT('SRID=4674;POINT (-39.508233 -2.995967)'))) / (select extract(epoch from '2026-06-18 04:14:40'::timestamp) - extract(epoch from '2026-06-18 04:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508202 -2.995961)'), GeomFromEWKT('SRID=4674;POINT (-39.508233 -2.995967)'))) / (select extract(epoch from '2026-06-18 04:14:40'::timestamp) - extract(epoch from '2026-06-18 04:14:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508289 -2.995959)', '2026-06-18 04:14:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508233 -2.995967)'), GeomFromEWKT('SRID=4674;POINT (-39.508289 -2.995959)'))) / (select extract(epoch from '2026-06-18 04:14:50'::timestamp) - extract(epoch from '2026-06-18 04:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508233 -2.995967)'), GeomFromEWKT('SRID=4674;POINT (-39.508289 -2.995959)'))) / (select extract(epoch from '2026-06-18 04:14:50'::timestamp) - extract(epoch from '2026-06-18 04:14: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'), 46782, 'SRID=4674;POINT (-39.508321 -2.995953)', '2026-06-18 04:14:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508289 -2.995959)'), GeomFromEWKT('SRID=4674;POINT (-39.508321 -2.995953)'))) / (select extract(epoch from '2026-06-18 04:14:56'::timestamp) - extract(epoch from '2026-06-18 04:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508289 -2.995959)'), GeomFromEWKT('SRID=4674;POINT (-39.508321 -2.995953)'))) / (select extract(epoch from '2026-06-18 04:14:56'::timestamp) - extract(epoch from '2026-06-18 04:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508352 -2.995947)', '2026-06-18 04:15:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508321 -2.995953)'), GeomFromEWKT('SRID=4674;POINT (-39.508352 -2.995947)'))) / (select extract(epoch from '2026-06-18 04:15:03'::timestamp) - extract(epoch from '2026-06-18 04:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508321 -2.995953)'), GeomFromEWKT('SRID=4674;POINT (-39.508352 -2.995947)'))) / (select extract(epoch from '2026-06-18 04:15:03'::timestamp) - extract(epoch from '2026-06-18 04:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508392 -2.995938)', '2026-06-18 04:15:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508352 -2.995947)'), GeomFromEWKT('SRID=4674;POINT (-39.508392 -2.995938)'))) / (select extract(epoch from '2026-06-18 04:15:11'::timestamp) - extract(epoch from '2026-06-18 04:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508352 -2.995947)'), GeomFromEWKT('SRID=4674;POINT (-39.508392 -2.995938)'))) / (select extract(epoch from '2026-06-18 04:15:11'::timestamp) - extract(epoch from '2026-06-18 04:15: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'), 46782, 'SRID=4674;POINT (-39.50843 -2.995934)', '2026-06-18 04:15:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508392 -2.995938)'), GeomFromEWKT('SRID=4674;POINT (-39.50843 -2.995934)'))) / (select extract(epoch from '2026-06-18 04:15:19'::timestamp) - extract(epoch from '2026-06-18 04:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508392 -2.995938)'), GeomFromEWKT('SRID=4674;POINT (-39.50843 -2.995934)'))) / (select extract(epoch from '2026-06-18 04:15:19'::timestamp) - extract(epoch from '2026-06-18 04:15: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'), 46782, 'SRID=4674;POINT (-39.508467 -2.995931)', '2026-06-18 04:15:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50843 -2.995934)'), GeomFromEWKT('SRID=4674;POINT (-39.508467 -2.995931)'))) / (select extract(epoch from '2026-06-18 04:15:27'::timestamp) - extract(epoch from '2026-06-18 04:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50843 -2.995934)'), GeomFromEWKT('SRID=4674;POINT (-39.508467 -2.995931)'))) / (select extract(epoch from '2026-06-18 04:15:27'::timestamp) - extract(epoch from '2026-06-18 04:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508501 -2.995927)', '2026-06-18 04:15:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508467 -2.995931)'), GeomFromEWKT('SRID=4674;POINT (-39.508501 -2.995927)'))) / (select extract(epoch from '2026-06-18 04:15:33'::timestamp) - extract(epoch from '2026-06-18 04:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508467 -2.995931)'), GeomFromEWKT('SRID=4674;POINT (-39.508501 -2.995927)'))) / (select extract(epoch from '2026-06-18 04:15:33'::timestamp) - extract(epoch from '2026-06-18 04:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508524 -2.995923)', '2026-06-18 04:15:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508501 -2.995927)'), GeomFromEWKT('SRID=4674;POINT (-39.508524 -2.995923)'))) / (select extract(epoch from '2026-06-18 04:15:39'::timestamp) - extract(epoch from '2026-06-18 04:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508501 -2.995927)'), GeomFromEWKT('SRID=4674;POINT (-39.508524 -2.995923)'))) / (select extract(epoch from '2026-06-18 04:15:39'::timestamp) - extract(epoch from '2026-06-18 04:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508555 -2.995913)', '2026-06-18 04:15:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508524 -2.995923)'), GeomFromEWKT('SRID=4674;POINT (-39.508555 -2.995913)'))) / (select extract(epoch from '2026-06-18 04:15:46'::timestamp) - extract(epoch from '2026-06-18 04:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508524 -2.995923)'), GeomFromEWKT('SRID=4674;POINT (-39.508555 -2.995913)'))) / (select extract(epoch from '2026-06-18 04:15:46'::timestamp) - extract(epoch from '2026-06-18 04:15: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'), 46782, 'SRID=4674;POINT (-39.508598 -2.995913)', '2026-06-18 04:15:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508555 -2.995913)'), GeomFromEWKT('SRID=4674;POINT (-39.508598 -2.995913)'))) / (select extract(epoch from '2026-06-18 04:15:53'::timestamp) - extract(epoch from '2026-06-18 04:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508555 -2.995913)'), GeomFromEWKT('SRID=4674;POINT (-39.508598 -2.995913)'))) / (select extract(epoch from '2026-06-18 04:15:53'::timestamp) - extract(epoch from '2026-06-18 04:15: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'), 46782, 'SRID=4674;POINT (-39.50865 -2.995911)', '2026-06-18 04:16:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508598 -2.995913)'), GeomFromEWKT('SRID=4674;POINT (-39.50865 -2.995911)'))) / (select extract(epoch from '2026-06-18 04:16:02'::timestamp) - extract(epoch from '2026-06-18 04:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508598 -2.995913)'), GeomFromEWKT('SRID=4674;POINT (-39.50865 -2.995911)'))) / (select extract(epoch from '2026-06-18 04:16:02'::timestamp) - extract(epoch from '2026-06-18 04:15: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'), 46782, 'SRID=4674;POINT (-39.508682 -2.995911)', '2026-06-18 04:16:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50865 -2.995911)'), GeomFromEWKT('SRID=4674;POINT (-39.508682 -2.995911)'))) / (select extract(epoch from '2026-06-18 04:16:09'::timestamp) - extract(epoch from '2026-06-18 04:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50865 -2.995911)'), GeomFromEWKT('SRID=4674;POINT (-39.508682 -2.995911)'))) / (select extract(epoch from '2026-06-18 04:16:09'::timestamp) - extract(epoch from '2026-06-18 04:16:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508723 -2.995905)', '2026-06-18 04:16:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508682 -2.995911)'), GeomFromEWKT('SRID=4674;POINT (-39.508723 -2.995905)'))) / (select extract(epoch from '2026-06-18 04:16:18'::timestamp) - extract(epoch from '2026-06-18 04:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508682 -2.995911)'), GeomFromEWKT('SRID=4674;POINT (-39.508723 -2.995905)'))) / (select extract(epoch from '2026-06-18 04:16:18'::timestamp) - extract(epoch from '2026-06-18 04:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508744 -2.995903)', '2026-06-18 04:16:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508723 -2.995905)'), GeomFromEWKT('SRID=4674;POINT (-39.508744 -2.995903)'))) / (select extract(epoch from '2026-06-18 04:16:24'::timestamp) - extract(epoch from '2026-06-18 04:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508723 -2.995905)'), GeomFromEWKT('SRID=4674;POINT (-39.508744 -2.995903)'))) / (select extract(epoch from '2026-06-18 04:16:24'::timestamp) - extract(epoch from '2026-06-18 04:16: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'), 46782, 'SRID=4674;POINT (-39.508791 -2.995896)', '2026-06-18 04:16:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508744 -2.995903)'), GeomFromEWKT('SRID=4674;POINT (-39.508791 -2.995896)'))) / (select extract(epoch from '2026-06-18 04:16:33'::timestamp) - extract(epoch from '2026-06-18 04:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508744 -2.995903)'), GeomFromEWKT('SRID=4674;POINT (-39.508791 -2.995896)'))) / (select extract(epoch from '2026-06-18 04:16:33'::timestamp) - extract(epoch from '2026-06-18 04:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508834 -2.995895)', '2026-06-18 04:16:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508791 -2.995896)'), GeomFromEWKT('SRID=4674;POINT (-39.508834 -2.995895)'))) / (select extract(epoch from '2026-06-18 04:16:40'::timestamp) - extract(epoch from '2026-06-18 04:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508791 -2.995896)'), GeomFromEWKT('SRID=4674;POINT (-39.508834 -2.995895)'))) / (select extract(epoch from '2026-06-18 04:16:40'::timestamp) - extract(epoch from '2026-06-18 04:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508893 -2.995896)', '2026-06-18 04:16:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508834 -2.995895)'), GeomFromEWKT('SRID=4674;POINT (-39.508893 -2.995896)'))) / (select extract(epoch from '2026-06-18 04:16:51'::timestamp) - extract(epoch from '2026-06-18 04:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508834 -2.995895)'), GeomFromEWKT('SRID=4674;POINT (-39.508893 -2.995896)'))) / (select extract(epoch from '2026-06-18 04:16:51'::timestamp) - extract(epoch from '2026-06-18 04:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508927 -2.995888)', '2026-06-18 04:16:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508893 -2.995896)'), GeomFromEWKT('SRID=4674;POINT (-39.508927 -2.995888)'))) / (select extract(epoch from '2026-06-18 04:16:58'::timestamp) - extract(epoch from '2026-06-18 04:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508893 -2.995896)'), GeomFromEWKT('SRID=4674;POINT (-39.508927 -2.995888)'))) / (select extract(epoch from '2026-06-18 04:16:58'::timestamp) - extract(epoch from '2026-06-18 04:16:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.508968 -2.99588)', '2026-06-18 04:17:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508927 -2.995888)'), GeomFromEWKT('SRID=4674;POINT (-39.508968 -2.99588)'))) / (select extract(epoch from '2026-06-18 04:17:06'::timestamp) - extract(epoch from '2026-06-18 04:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508927 -2.995888)'), GeomFromEWKT('SRID=4674;POINT (-39.508968 -2.99588)'))) / (select extract(epoch from '2026-06-18 04:17:06'::timestamp) - extract(epoch from '2026-06-18 04:16: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'), 46782, 'SRID=4674;POINT (-39.508999 -2.995878)', '2026-06-18 04:17:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508968 -2.99588)'), GeomFromEWKT('SRID=4674;POINT (-39.508999 -2.995878)'))) / (select extract(epoch from '2026-06-18 04:17:13'::timestamp) - extract(epoch from '2026-06-18 04:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508968 -2.99588)'), GeomFromEWKT('SRID=4674;POINT (-39.508999 -2.995878)'))) / (select extract(epoch from '2026-06-18 04:17:13'::timestamp) - extract(epoch from '2026-06-18 04:17: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'), 46782, 'SRID=4674;POINT (-39.509037 -2.995871)', '2026-06-18 04:17:21', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508999 -2.995878)'), GeomFromEWKT('SRID=4674;POINT (-39.509037 -2.995871)'))) / (select extract(epoch from '2026-06-18 04:17:21'::timestamp) - extract(epoch from '2026-06-18 04:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.508999 -2.995878)'), GeomFromEWKT('SRID=4674;POINT (-39.509037 -2.995871)'))) / (select extract(epoch from '2026-06-18 04:17:21'::timestamp) - extract(epoch from '2026-06-18 04:17: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'), 46782, 'SRID=4674;POINT (-39.509081 -2.995872)', '2026-06-18 04:17:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509037 -2.995871)'), GeomFromEWKT('SRID=4674;POINT (-39.509081 -2.995872)'))) / (select extract(epoch from '2026-06-18 04:17:29'::timestamp) - extract(epoch from '2026-06-18 04:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509037 -2.995871)'), GeomFromEWKT('SRID=4674;POINT (-39.509081 -2.995872)'))) / (select extract(epoch from '2026-06-18 04:17:29'::timestamp) - extract(epoch from '2026-06-18 04:17: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'), 46782, 'SRID=4674;POINT (-39.509166 -2.995861)', '2026-06-18 04:17:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509081 -2.995872)'), GeomFromEWKT('SRID=4674;POINT (-39.509166 -2.995861)'))) / (select extract(epoch from '2026-06-18 04:17:44'::timestamp) - extract(epoch from '2026-06-18 04:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509081 -2.995872)'), GeomFromEWKT('SRID=4674;POINT (-39.509166 -2.995861)'))) / (select extract(epoch from '2026-06-18 04:17:44'::timestamp) - extract(epoch from '2026-06-18 04:17: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'), 46782, 'SRID=4674;POINT (-39.509207 -2.995853)', '2026-06-18 04:17:52', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509166 -2.995861)'), GeomFromEWKT('SRID=4674;POINT (-39.509207 -2.995853)'))) / (select extract(epoch from '2026-06-18 04:17:52'::timestamp) - extract(epoch from '2026-06-18 04:17:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509166 -2.995861)'), GeomFromEWKT('SRID=4674;POINT (-39.509207 -2.995853)'))) / (select extract(epoch from '2026-06-18 04:17:52'::timestamp) - extract(epoch from '2026-06-18 04:17:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.509233 -2.995851)', '2026-06-18 04:17:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509207 -2.995853)'), GeomFromEWKT('SRID=4674;POINT (-39.509233 -2.995851)'))) / (select extract(epoch from '2026-06-18 04:17:59'::timestamp) - extract(epoch from '2026-06-18 04:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509207 -2.995853)'), GeomFromEWKT('SRID=4674;POINT (-39.509233 -2.995851)'))) / (select extract(epoch from '2026-06-18 04:17:59'::timestamp) - extract(epoch from '2026-06-18 04:17: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'), 46782, 'SRID=4674;POINT (-39.509254 -2.995859)', '2026-06-18 04:18:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509233 -2.995851)'), GeomFromEWKT('SRID=4674;POINT (-39.509254 -2.995859)'))) / (select extract(epoch from '2026-06-18 04:18:07'::timestamp) - extract(epoch from '2026-06-18 04:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509233 -2.995851)'), GeomFromEWKT('SRID=4674;POINT (-39.509254 -2.995859)'))) / (select extract(epoch from '2026-06-18 04:18:07'::timestamp) - extract(epoch from '2026-06-18 04:17: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'), 46782, 'SRID=4674;POINT (-39.509272 -2.995873)', '2026-06-18 04:18:14', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509254 -2.995859)'), GeomFromEWKT('SRID=4674;POINT (-39.509272 -2.995873)'))) / (select extract(epoch from '2026-06-18 04:18:14'::timestamp) - extract(epoch from '2026-06-18 04:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509254 -2.995859)'), GeomFromEWKT('SRID=4674;POINT (-39.509272 -2.995873)'))) / (select extract(epoch from '2026-06-18 04:18:14'::timestamp) - extract(epoch from '2026-06-18 04:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.509277 -2.995882)', '2026-06-18 04:18:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509272 -2.995873)'), GeomFromEWKT('SRID=4674;POINT (-39.509277 -2.995882)'))) / (select extract(epoch from '2026-06-18 04:18:22'::timestamp) - extract(epoch from '2026-06-18 04:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509272 -2.995873)'), GeomFromEWKT('SRID=4674;POINT (-39.509277 -2.995882)'))) / (select extract(epoch from '2026-06-18 04:18:22'::timestamp) - extract(epoch from '2026-06-18 04:18: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'), 46782, 'SRID=4674;POINT (-39.509278 -2.995879)', '2026-06-18 04:18:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509277 -2.995882)'), GeomFromEWKT('SRID=4674;POINT (-39.509278 -2.995879)'))) / (select extract(epoch from '2026-06-18 04:18:35'::timestamp) - extract(epoch from '2026-06-18 04:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509277 -2.995882)'), GeomFromEWKT('SRID=4674;POINT (-39.509278 -2.995879)'))) / (select extract(epoch from '2026-06-18 04:18:35'::timestamp) - extract(epoch from '2026-06-18 04:18: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'), 46782, 'SRID=4674;POINT (-39.509277 -2.995877)', '2026-06-18 04:18:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509278 -2.995879)'), GeomFromEWKT('SRID=4674;POINT (-39.509277 -2.995877)'))) / (select extract(epoch from '2026-06-18 04:18:46'::timestamp) - extract(epoch from '2026-06-18 04:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509278 -2.995879)'), GeomFromEWKT('SRID=4674;POINT (-39.509277 -2.995877)'))) / (select extract(epoch from '2026-06-18 04:18:46'::timestamp) - extract(epoch from '2026-06-18 04:18: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'), 46782, 'SRID=4674;POINT (-39.509275 -2.995877)', '2026-06-18 04:19:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509277 -2.995877)'), GeomFromEWKT('SRID=4674;POINT (-39.509275 -2.995877)'))) / (select extract(epoch from '2026-06-18 04:19:03'::timestamp) - extract(epoch from '2026-06-18 04:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509277 -2.995877)'), GeomFromEWKT('SRID=4674;POINT (-39.509275 -2.995877)'))) / (select extract(epoch from '2026-06-18 04:19:03'::timestamp) - extract(epoch from '2026-06-18 04: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'), 46782, 'SRID=4674;POINT (-39.509268 -2.995874)', '2026-06-18 04:19:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509275 -2.995877)'), GeomFromEWKT('SRID=4674;POINT (-39.509268 -2.995874)'))) / (select extract(epoch from '2026-06-18 04:19:16'::timestamp) - extract(epoch from '2026-06-18 04:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509275 -2.995877)'), GeomFromEWKT('SRID=4674;POINT (-39.509268 -2.995874)'))) / (select extract(epoch from '2026-06-18 04:19:16'::timestamp) - extract(epoch from '2026-06-18 04:19: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'), 46782, 'SRID=4674;POINT (-39.509273 -2.995875)', '2026-06-18 04:19:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509268 -2.995874)'), GeomFromEWKT('SRID=4674;POINT (-39.509273 -2.995875)'))) / (select extract(epoch from '2026-06-18 04:19:27'::timestamp) - extract(epoch from '2026-06-18 04:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509268 -2.995874)'), GeomFromEWKT('SRID=4674;POINT (-39.509273 -2.995875)'))) / (select extract(epoch from '2026-06-18 04:19:27'::timestamp) - extract(epoch from '2026-06-18 04:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46782, 'SRID=4674;POINT (-39.50928 -2.995877)', '2026-06-18 04:19:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509273 -2.995875)'), GeomFromEWKT('SRID=4674;POINT (-39.50928 -2.995877)'))) / (select extract(epoch from '2026-06-18 04:19:34'::timestamp) - extract(epoch from '2026-06-18 04:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.509273 -2.995875)'), GeomFromEWKT('SRID=4674;POINT (-39.50928 -2.995877)'))) / (select extract(epoch from '2026-06-18 04:19:34'::timestamp) - extract(epoch from '2026-06-18 04: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'), 46782, 'SRID=4674;POINT (-39.509282 -2.995876)', '2026-06-18 04:19:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50928 -2.995877)'), GeomFromEWKT('SRID=4674;POINT (-39.509282 -2.995876)'))) / (select extract(epoch from '2026-06-18 04:19:38'::timestamp) - extract(epoch from '2026-06-18 04:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.50928 -2.995877)'), GeomFromEWKT('SRID=4674;POINT (-39.509282 -2.995876)'))) / (select extract(epoch from '2026-06-18 04:19:38'::timestamp) - extract(epoch from '2026-06-18 04:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
