 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540572 -3.66026)', '2026-07-18 19:06:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540626 -3.660184)'), GeomFromEWKT('SRID=4674;POINT (-38.540572 -3.66026)'))) / (select extract(epoch from '2026-07-18 19:06:27'::timestamp) - extract(epoch from '2026-07-18 19:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540626 -3.660184)'), GeomFromEWKT('SRID=4674;POINT (-38.540572 -3.66026)'))) / (select extract(epoch from '2026-07-18 19:06:27'::timestamp) - extract(epoch from '2026-07-18 19:06: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'), 47391, 'SRID=4674;POINT (-38.540541 -3.660343)', '2026-07-18 19:06:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540572 -3.66026)'), GeomFromEWKT('SRID=4674;POINT (-38.540541 -3.660343)'))) / (select extract(epoch from '2026-07-18 19:06:33'::timestamp) - extract(epoch from '2026-07-18 19:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540572 -3.66026)'), GeomFromEWKT('SRID=4674;POINT (-38.540541 -3.660343)'))) / (select extract(epoch from '2026-07-18 19:06:33'::timestamp) - extract(epoch from '2026-07-18 19:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540542 -3.660357)', '2026-07-18 19:06:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540541 -3.660343)'), GeomFromEWKT('SRID=4674;POINT (-38.540542 -3.660357)'))) / (select extract(epoch from '2026-07-18 19:06:34'::timestamp) - extract(epoch from '2026-07-18 19:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540541 -3.660343)'), GeomFromEWKT('SRID=4674;POINT (-38.540542 -3.660357)'))) / (select extract(epoch from '2026-07-18 19:06:34'::timestamp) - extract(epoch from '2026-07-18 19:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540495 -3.660452)', '2026-07-18 19:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540542 -3.660357)'), GeomFromEWKT('SRID=4674;POINT (-38.540495 -3.660452)'))) / (select extract(epoch from '2026-07-18 19:06:41'::timestamp) - extract(epoch from '2026-07-18 19:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540542 -3.660357)'), GeomFromEWKT('SRID=4674;POINT (-38.540495 -3.660452)'))) / (select extract(epoch from '2026-07-18 19:06:41'::timestamp) - extract(epoch from '2026-07-18 19:06: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'), 47391, 'SRID=4674;POINT (-38.540442 -3.660551)', '2026-07-18 19:06:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540495 -3.660452)'), GeomFromEWKT('SRID=4674;POINT (-38.540442 -3.660551)'))) / (select extract(epoch from '2026-07-18 19:06:48'::timestamp) - extract(epoch from '2026-07-18 19:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540495 -3.660452)'), GeomFromEWKT('SRID=4674;POINT (-38.540442 -3.660551)'))) / (select extract(epoch from '2026-07-18 19:06:48'::timestamp) - extract(epoch from '2026-07-18 19:06: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'), 47391, 'SRID=4674;POINT (-38.540394 -3.660652)', '2026-07-18 19:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540442 -3.660551)'), GeomFromEWKT('SRID=4674;POINT (-38.540394 -3.660652)'))) / (select extract(epoch from '2026-07-18 19:06:55'::timestamp) - extract(epoch from '2026-07-18 19:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540442 -3.660551)'), GeomFromEWKT('SRID=4674;POINT (-38.540394 -3.660652)'))) / (select extract(epoch from '2026-07-18 19:06:55'::timestamp) - extract(epoch from '2026-07-18 19:06:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540336 -3.660735)', '2026-07-18 19:07:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540394 -3.660652)'), GeomFromEWKT('SRID=4674;POINT (-38.540336 -3.660735)'))) / (select extract(epoch from '2026-07-18 19:07:02'::timestamp) - extract(epoch from '2026-07-18 19:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540394 -3.660652)'), GeomFromEWKT('SRID=4674;POINT (-38.540336 -3.660735)'))) / (select extract(epoch from '2026-07-18 19:07:02'::timestamp) - extract(epoch from '2026-07-18 19:06: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'), 47391, 'SRID=4674;POINT (-38.540311 -3.660772)', '2026-07-18 19:07:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540336 -3.660735)'), GeomFromEWKT('SRID=4674;POINT (-38.540311 -3.660772)'))) / (select extract(epoch from '2026-07-18 19:07:05'::timestamp) - extract(epoch from '2026-07-18 19:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540336 -3.660735)'), GeomFromEWKT('SRID=4674;POINT (-38.540311 -3.660772)'))) / (select extract(epoch from '2026-07-18 19:07:05'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.540286 -3.660812)', '2026-07-18 19:07:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540311 -3.660772)'), GeomFromEWKT('SRID=4674;POINT (-38.540286 -3.660812)'))) / (select extract(epoch from '2026-07-18 19:07:08'::timestamp) - extract(epoch from '2026-07-18 19:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540311 -3.660772)'), GeomFromEWKT('SRID=4674;POINT (-38.540286 -3.660812)'))) / (select extract(epoch from '2026-07-18 19:07:08'::timestamp) - extract(epoch from '2026-07-18 19:07: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'), 47391, 'SRID=4674;POINT (-38.540227 -3.660873)', '2026-07-18 19:07:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540286 -3.660812)'), GeomFromEWKT('SRID=4674;POINT (-38.540227 -3.660873)'))) / (select extract(epoch from '2026-07-18 19:07:14'::timestamp) - extract(epoch from '2026-07-18 19:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540286 -3.660812)'), GeomFromEWKT('SRID=4674;POINT (-38.540227 -3.660873)'))) / (select extract(epoch from '2026-07-18 19:07:14'::timestamp) - extract(epoch from '2026-07-18 19:07: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'), 47391, 'SRID=4674;POINT (-38.540176 -3.660957)', '2026-07-18 19:07:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540227 -3.660873)'), GeomFromEWKT('SRID=4674;POINT (-38.540176 -3.660957)'))) / (select extract(epoch from '2026-07-18 19:07:21'::timestamp) - extract(epoch from '2026-07-18 19:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540227 -3.660873)'), GeomFromEWKT('SRID=4674;POINT (-38.540176 -3.660957)'))) / (select extract(epoch from '2026-07-18 19:07:21'::timestamp) - extract(epoch from '2026-07-18 19:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540139 -3.661037)', '2026-07-18 19:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540176 -3.660957)'), GeomFromEWKT('SRID=4674;POINT (-38.540139 -3.661037)'))) / (select extract(epoch from '2026-07-18 19:07:27'::timestamp) - extract(epoch from '2026-07-18 19:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540176 -3.660957)'), GeomFromEWKT('SRID=4674;POINT (-38.540139 -3.661037)'))) / (select extract(epoch from '2026-07-18 19:07:27'::timestamp) - extract(epoch from '2026-07-18 19:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.540045 -3.661166)', '2026-07-18 19:07:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540139 -3.661037)'), GeomFromEWKT('SRID=4674;POINT (-38.540045 -3.661166)'))) / (select extract(epoch from '2026-07-18 19:07:37'::timestamp) - extract(epoch from '2026-07-18 19:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540139 -3.661037)'), GeomFromEWKT('SRID=4674;POINT (-38.540045 -3.661166)'))) / (select extract(epoch from '2026-07-18 19:07:37'::timestamp) - extract(epoch from '2026-07-18 19:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539984 -3.661242)', '2026-07-18 19:07:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540045 -3.661166)'), GeomFromEWKT('SRID=4674;POINT (-38.539984 -3.661242)'))) / (select extract(epoch from '2026-07-18 19:07:43'::timestamp) - extract(epoch from '2026-07-18 19:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540045 -3.661166)'), GeomFromEWKT('SRID=4674;POINT (-38.539984 -3.661242)'))) / (select extract(epoch from '2026-07-18 19:07:43'::timestamp) - extract(epoch from '2026-07-18 19:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539909 -3.661332)', '2026-07-18 19:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539984 -3.661242)'), GeomFromEWKT('SRID=4674;POINT (-38.539909 -3.661332)'))) / (select extract(epoch from '2026-07-18 19:07:51'::timestamp) - extract(epoch from '2026-07-18 19:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539984 -3.661242)'), GeomFromEWKT('SRID=4674;POINT (-38.539909 -3.661332)'))) / (select extract(epoch from '2026-07-18 19:07:51'::timestamp) - extract(epoch from '2026-07-18 19:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539854 -3.661413)', '2026-07-18 19:07:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539909 -3.661332)'), GeomFromEWKT('SRID=4674;POINT (-38.539854 -3.661413)'))) / (select extract(epoch from '2026-07-18 19:07:58'::timestamp) - extract(epoch from '2026-07-18 19:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539909 -3.661332)'), GeomFromEWKT('SRID=4674;POINT (-38.539854 -3.661413)'))) / (select extract(epoch from '2026-07-18 19:07:58'::timestamp) - extract(epoch from '2026-07-18 19:07: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'), 47391, 'SRID=4674;POINT (-38.539796 -3.661521)', '2026-07-18 19:08:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539854 -3.661413)'), GeomFromEWKT('SRID=4674;POINT (-38.539796 -3.661521)'))) / (select extract(epoch from '2026-07-18 19:08:05'::timestamp) - extract(epoch from '2026-07-18 19:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539854 -3.661413)'), GeomFromEWKT('SRID=4674;POINT (-38.539796 -3.661521)'))) / (select extract(epoch from '2026-07-18 19:08:05'::timestamp) - extract(epoch from '2026-07-18 19:07: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'), 47391, 'SRID=4674;POINT (-38.539745 -3.661628)', '2026-07-18 19:08:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539796 -3.661521)'), GeomFromEWKT('SRID=4674;POINT (-38.539745 -3.661628)'))) / (select extract(epoch from '2026-07-18 19:08:12'::timestamp) - extract(epoch from '2026-07-18 19:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539796 -3.661521)'), GeomFromEWKT('SRID=4674;POINT (-38.539745 -3.661628)'))) / (select extract(epoch from '2026-07-18 19:08:12'::timestamp) - extract(epoch from '2026-07-18 19:08: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'), 47391, 'SRID=4674;POINT (-38.53971 -3.661707)', '2026-07-18 19:08:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539745 -3.661628)'), GeomFromEWKT('SRID=4674;POINT (-38.53971 -3.661707)'))) / (select extract(epoch from '2026-07-18 19:08:18'::timestamp) - extract(epoch from '2026-07-18 19:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539745 -3.661628)'), GeomFromEWKT('SRID=4674;POINT (-38.53971 -3.661707)'))) / (select extract(epoch from '2026-07-18 19:08:18'::timestamp) - extract(epoch from '2026-07-18 19:08: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'), 47391, 'SRID=4674;POINT (-38.539702 -3.661747)', '2026-07-18 19:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53971 -3.661707)'), GeomFromEWKT('SRID=4674;POINT (-38.539702 -3.661747)'))) / (select extract(epoch from '2026-07-18 19:08:21'::timestamp) - extract(epoch from '2026-07-18 19:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53971 -3.661707)'), GeomFromEWKT('SRID=4674;POINT (-38.539702 -3.661747)'))) / (select extract(epoch from '2026-07-18 19:08:21'::timestamp) - extract(epoch from '2026-07-18 19:08: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'), 47391, 'SRID=4674;POINT (-38.539675 -3.661783)', '2026-07-18 19:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539702 -3.661747)'), GeomFromEWKT('SRID=4674;POINT (-38.539675 -3.661783)'))) / (select extract(epoch from '2026-07-18 19:08:24'::timestamp) - extract(epoch from '2026-07-18 19:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539702 -3.661747)'), GeomFromEWKT('SRID=4674;POINT (-38.539675 -3.661783)'))) / (select extract(epoch from '2026-07-18 19:08:24'::timestamp) - extract(epoch from '2026-07-18 19:08: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'), 47391, 'SRID=4674;POINT (-38.539625 -3.661864)', '2026-07-18 19:08:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539675 -3.661783)'), GeomFromEWKT('SRID=4674;POINT (-38.539625 -3.661864)'))) / (select extract(epoch from '2026-07-18 19:08:30'::timestamp) - extract(epoch from '2026-07-18 19:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539675 -3.661783)'), GeomFromEWKT('SRID=4674;POINT (-38.539625 -3.661864)'))) / (select extract(epoch from '2026-07-18 19:08:30'::timestamp) - extract(epoch from '2026-07-18 19:08: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'), 47391, 'SRID=4674;POINT (-38.539606 -3.661884)', '2026-07-18 19:08:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539625 -3.661864)'), GeomFromEWKT('SRID=4674;POINT (-38.539606 -3.661884)'))) / (select extract(epoch from '2026-07-18 19:08:32'::timestamp) - extract(epoch from '2026-07-18 19:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539625 -3.661864)'), GeomFromEWKT('SRID=4674;POINT (-38.539606 -3.661884)'))) / (select extract(epoch from '2026-07-18 19:08:32'::timestamp) - extract(epoch from '2026-07-18 19:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539587 -3.661905)', '2026-07-18 19:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539606 -3.661884)'), GeomFromEWKT('SRID=4674;POINT (-38.539587 -3.661905)'))) / (select extract(epoch from '2026-07-18 19:08:34'::timestamp) - extract(epoch from '2026-07-18 19:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539606 -3.661884)'), GeomFromEWKT('SRID=4674;POINT (-38.539587 -3.661905)'))) / (select extract(epoch from '2026-07-18 19:08:34'::timestamp) - extract(epoch from '2026-07-18 19:08: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'), 47391, 'SRID=4674;POINT (-38.539583 -3.661917)', '2026-07-18 19:08:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539587 -3.661905)'), GeomFromEWKT('SRID=4674;POINT (-38.539583 -3.661917)'))) / (select extract(epoch from '2026-07-18 19:08:35'::timestamp) - extract(epoch from '2026-07-18 19:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539587 -3.661905)'), GeomFromEWKT('SRID=4674;POINT (-38.539583 -3.661917)'))) / (select extract(epoch from '2026-07-18 19:08:35'::timestamp) - extract(epoch from '2026-07-18 19:08: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'), 47391, 'SRID=4674;POINT (-38.539538 -3.662006)', '2026-07-18 19:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539583 -3.661917)'), GeomFromEWKT('SRID=4674;POINT (-38.539538 -3.662006)'))) / (select extract(epoch from '2026-07-18 19:08:42'::timestamp) - extract(epoch from '2026-07-18 19:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539583 -3.661917)'), GeomFromEWKT('SRID=4674;POINT (-38.539538 -3.662006)'))) / (select extract(epoch from '2026-07-18 19:08:42'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.53948 -3.662103)', '2026-07-18 19:08:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539538 -3.662006)'), GeomFromEWKT('SRID=4674;POINT (-38.53948 -3.662103)'))) / (select extract(epoch from '2026-07-18 19:08:50'::timestamp) - extract(epoch from '2026-07-18 19:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539538 -3.662006)'), GeomFromEWKT('SRID=4674;POINT (-38.53948 -3.662103)'))) / (select extract(epoch from '2026-07-18 19:08:50'::timestamp) - extract(epoch from '2026-07-18 19:08: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'), 47391, 'SRID=4674;POINT (-38.539434 -3.66217)', '2026-07-18 19:08:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53948 -3.662103)'), GeomFromEWKT('SRID=4674;POINT (-38.539434 -3.66217)'))) / (select extract(epoch from '2026-07-18 19:08:55'::timestamp) - extract(epoch from '2026-07-18 19:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53948 -3.662103)'), GeomFromEWKT('SRID=4674;POINT (-38.539434 -3.66217)'))) / (select extract(epoch from '2026-07-18 19:08:55'::timestamp) - extract(epoch from '2026-07-18 19:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539424 -3.662196)', '2026-07-18 19:08:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539434 -3.66217)'), GeomFromEWKT('SRID=4674;POINT (-38.539424 -3.662196)'))) / (select extract(epoch from '2026-07-18 19:08:57'::timestamp) - extract(epoch from '2026-07-18 19:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539434 -3.66217)'), GeomFromEWKT('SRID=4674;POINT (-38.539424 -3.662196)'))) / (select extract(epoch from '2026-07-18 19:08:57'::timestamp) - extract(epoch from '2026-07-18 19:08: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'), 47391, 'SRID=4674;POINT (-38.539364 -3.662296)', '2026-07-18 19:09:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539424 -3.662196)'), GeomFromEWKT('SRID=4674;POINT (-38.539364 -3.662296)'))) / (select extract(epoch from '2026-07-18 19:09:04'::timestamp) - extract(epoch from '2026-07-18 19:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539424 -3.662196)'), GeomFromEWKT('SRID=4674;POINT (-38.539364 -3.662296)'))) / (select extract(epoch from '2026-07-18 19:09:04'::timestamp) - extract(epoch from '2026-07-18 19:08: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'), 47391, 'SRID=4674;POINT (-38.539319 -3.662376)', '2026-07-18 19:09:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539364 -3.662296)'), GeomFromEWKT('SRID=4674;POINT (-38.539319 -3.662376)'))) / (select extract(epoch from '2026-07-18 19:09:10'::timestamp) - extract(epoch from '2026-07-18 19:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539364 -3.662296)'), GeomFromEWKT('SRID=4674;POINT (-38.539319 -3.662376)'))) / (select extract(epoch from '2026-07-18 19:09:10'::timestamp) - extract(epoch from '2026-07-18 19:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539261 -3.662473)', '2026-07-18 19:09:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539319 -3.662376)'), GeomFromEWKT('SRID=4674;POINT (-38.539261 -3.662473)'))) / (select extract(epoch from '2026-07-18 19:09:17'::timestamp) - extract(epoch from '2026-07-18 19:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539319 -3.662376)'), GeomFromEWKT('SRID=4674;POINT (-38.539261 -3.662473)'))) / (select extract(epoch from '2026-07-18 19:09:17'::timestamp) - extract(epoch from '2026-07-18 19:09: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'), 47391, 'SRID=4674;POINT (-38.539195 -3.662563)', '2026-07-18 19:09:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539261 -3.662473)'), GeomFromEWKT('SRID=4674;POINT (-38.539195 -3.662563)'))) / (select extract(epoch from '2026-07-18 19:09:24'::timestamp) - extract(epoch from '2026-07-18 19:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539261 -3.662473)'), GeomFromEWKT('SRID=4674;POINT (-38.539195 -3.662563)'))) / (select extract(epoch from '2026-07-18 19:09:24'::timestamp) - extract(epoch from '2026-07-18 19:09: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'), 47391, 'SRID=4674;POINT (-38.539122 -3.662654)', '2026-07-18 19:09:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539195 -3.662563)'), GeomFromEWKT('SRID=4674;POINT (-38.539122 -3.662654)'))) / (select extract(epoch from '2026-07-18 19:09:31'::timestamp) - extract(epoch from '2026-07-18 19:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539195 -3.662563)'), GeomFromEWKT('SRID=4674;POINT (-38.539122 -3.662654)'))) / (select extract(epoch from '2026-07-18 19:09:31'::timestamp) - extract(epoch from '2026-07-18 19:09: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'), 47391, 'SRID=4674;POINT (-38.539088 -3.662727)', '2026-07-18 19:09:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539122 -3.662654)'), GeomFromEWKT('SRID=4674;POINT (-38.539088 -3.662727)'))) / (select extract(epoch from '2026-07-18 19:09:36'::timestamp) - extract(epoch from '2026-07-18 19:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539122 -3.662654)'), GeomFromEWKT('SRID=4674;POINT (-38.539088 -3.662727)'))) / (select extract(epoch from '2026-07-18 19:09:36'::timestamp) - extract(epoch from '2026-07-18 19:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.539077 -3.662739)', '2026-07-18 19:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539088 -3.662727)'), GeomFromEWKT('SRID=4674;POINT (-38.539077 -3.662739)'))) / (select extract(epoch from '2026-07-18 19:09:37'::timestamp) - extract(epoch from '2026-07-18 19:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539088 -3.662727)'), GeomFromEWKT('SRID=4674;POINT (-38.539077 -3.662739)'))) / (select extract(epoch from '2026-07-18 19:09:37'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.539038 -3.662806)', '2026-07-18 19:09:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539077 -3.662739)'), GeomFromEWKT('SRID=4674;POINT (-38.539038 -3.662806)'))) / (select extract(epoch from '2026-07-18 19:09:42'::timestamp) - extract(epoch from '2026-07-18 19:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539077 -3.662739)'), GeomFromEWKT('SRID=4674;POINT (-38.539038 -3.662806)'))) / (select extract(epoch from '2026-07-18 19:09:42'::timestamp) - extract(epoch from '2026-07-18 19:09: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'), 47391, 'SRID=4674;POINT (-38.539018 -3.66283)', '2026-07-18 19:09:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539038 -3.662806)'), GeomFromEWKT('SRID=4674;POINT (-38.539018 -3.66283)'))) / (select extract(epoch from '2026-07-18 19:09:44'::timestamp) - extract(epoch from '2026-07-18 19:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539038 -3.662806)'), GeomFromEWKT('SRID=4674;POINT (-38.539018 -3.66283)'))) / (select extract(epoch from '2026-07-18 19:09:44'::timestamp) - extract(epoch from '2026-07-18 19:09:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538947 -3.662926)', '2026-07-18 19:09:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539018 -3.66283)'), GeomFromEWKT('SRID=4674;POINT (-38.538947 -3.662926)'))) / (select extract(epoch from '2026-07-18 19:09:52'::timestamp) - extract(epoch from '2026-07-18 19:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539018 -3.66283)'), GeomFromEWKT('SRID=4674;POINT (-38.538947 -3.662926)'))) / (select extract(epoch from '2026-07-18 19:09:52'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.538913 -3.662969)', '2026-07-18 19:09:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538947 -3.662926)'), GeomFromEWKT('SRID=4674;POINT (-38.538913 -3.662969)'))) / (select extract(epoch from '2026-07-18 19:09:56'::timestamp) - extract(epoch from '2026-07-18 19:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538947 -3.662926)'), GeomFromEWKT('SRID=4674;POINT (-38.538913 -3.662969)'))) / (select extract(epoch from '2026-07-18 19:09:56'::timestamp) - extract(epoch from '2026-07-18 19:09: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'), 47391, 'SRID=4674;POINT (-38.538904 -3.662991)', '2026-07-18 19:09:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538913 -3.662969)'), GeomFromEWKT('SRID=4674;POINT (-38.538904 -3.662991)'))) / (select extract(epoch from '2026-07-18 19:09:58'::timestamp) - extract(epoch from '2026-07-18 19:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538913 -3.662969)'), GeomFromEWKT('SRID=4674;POINT (-38.538904 -3.662991)'))) / (select extract(epoch from '2026-07-18 19:09:58'::timestamp) - extract(epoch from '2026-07-18 19:09: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'), 47391, 'SRID=4674;POINT (-38.53886 -3.663062)', '2026-07-18 19:10:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538904 -3.662991)'), GeomFromEWKT('SRID=4674;POINT (-38.53886 -3.663062)'))) / (select extract(epoch from '2026-07-18 19:10:06'::timestamp) - extract(epoch from '2026-07-18 19:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538904 -3.662991)'), GeomFromEWKT('SRID=4674;POINT (-38.53886 -3.663062)'))) / (select extract(epoch from '2026-07-18 19:10:06'::timestamp) - extract(epoch from '2026-07-18 19:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538792 -3.663143)', '2026-07-18 19:10:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53886 -3.663062)'), GeomFromEWKT('SRID=4674;POINT (-38.538792 -3.663143)'))) / (select extract(epoch from '2026-07-18 19:10:13'::timestamp) - extract(epoch from '2026-07-18 19:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53886 -3.663062)'), GeomFromEWKT('SRID=4674;POINT (-38.538792 -3.663143)'))) / (select extract(epoch from '2026-07-18 19:10:13'::timestamp) - extract(epoch from '2026-07-18 19:10: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'), 47391, 'SRID=4674;POINT (-38.538751 -3.663216)', '2026-07-18 19:10:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538792 -3.663143)'), GeomFromEWKT('SRID=4674;POINT (-38.538751 -3.663216)'))) / (select extract(epoch from '2026-07-18 19:10:19'::timestamp) - extract(epoch from '2026-07-18 19:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538792 -3.663143)'), GeomFromEWKT('SRID=4674;POINT (-38.538751 -3.663216)'))) / (select extract(epoch from '2026-07-18 19:10:19'::timestamp) - extract(epoch from '2026-07-18 19:10: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'), 47391, 'SRID=4674;POINT (-38.53871 -3.663301)', '2026-07-18 19:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538751 -3.663216)'), GeomFromEWKT('SRID=4674;POINT (-38.53871 -3.663301)'))) / (select extract(epoch from '2026-07-18 19:10:26'::timestamp) - extract(epoch from '2026-07-18 19:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538751 -3.663216)'), GeomFromEWKT('SRID=4674;POINT (-38.53871 -3.663301)'))) / (select extract(epoch from '2026-07-18 19:10:26'::timestamp) - extract(epoch from '2026-07-18 19:10: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'), 47391, 'SRID=4674;POINT (-38.538641 -3.663419)', '2026-07-18 19:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53871 -3.663301)'), GeomFromEWKT('SRID=4674;POINT (-38.538641 -3.663419)'))) / (select extract(epoch from '2026-07-18 19:10:34'::timestamp) - extract(epoch from '2026-07-18 19:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53871 -3.663301)'), GeomFromEWKT('SRID=4674;POINT (-38.538641 -3.663419)'))) / (select extract(epoch from '2026-07-18 19:10:34'::timestamp) - extract(epoch from '2026-07-18 19:10: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'), 47391, 'SRID=4674;POINT (-38.538572 -3.663512)', '2026-07-18 19:10:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538641 -3.663419)'), GeomFromEWKT('SRID=4674;POINT (-38.538572 -3.663512)'))) / (select extract(epoch from '2026-07-18 19:10:41'::timestamp) - extract(epoch from '2026-07-18 19:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538641 -3.663419)'), GeomFromEWKT('SRID=4674;POINT (-38.538572 -3.663512)'))) / (select extract(epoch from '2026-07-18 19:10:41'::timestamp) - extract(epoch from '2026-07-18 19:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538524 -3.66355)', '2026-07-18 19:10:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538572 -3.663512)'), GeomFromEWKT('SRID=4674;POINT (-38.538524 -3.66355)'))) / (select extract(epoch from '2026-07-18 19:10:45'::timestamp) - extract(epoch from '2026-07-18 19:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538572 -3.663512)'), GeomFromEWKT('SRID=4674;POINT (-38.538524 -3.66355)'))) / (select extract(epoch from '2026-07-18 19:10:45'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.538518 -3.663561)', '2026-07-18 19:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538524 -3.66355)'), GeomFromEWKT('SRID=4674;POINT (-38.538518 -3.663561)'))) / (select extract(epoch from '2026-07-18 19:10:46'::timestamp) - extract(epoch from '2026-07-18 19:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538524 -3.66355)'), GeomFromEWKT('SRID=4674;POINT (-38.538518 -3.663561)'))) / (select extract(epoch from '2026-07-18 19:10:46'::timestamp) - extract(epoch from '2026-07-18 19:10:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538455 -3.663653)', '2026-07-18 19:10:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538518 -3.663561)'), GeomFromEWKT('SRID=4674;POINT (-38.538455 -3.663653)'))) / (select extract(epoch from '2026-07-18 19:10:54'::timestamp) - extract(epoch from '2026-07-18 19:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538518 -3.663561)'), GeomFromEWKT('SRID=4674;POINT (-38.538455 -3.663653)'))) / (select extract(epoch from '2026-07-18 19:10:54'::timestamp) - extract(epoch from '2026-07-18 19:10: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'), 47391, 'SRID=4674;POINT (-38.538395 -3.663749)', '2026-07-18 19:11:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538455 -3.663653)'), GeomFromEWKT('SRID=4674;POINT (-38.538395 -3.663749)'))) / (select extract(epoch from '2026-07-18 19:11:01'::timestamp) - extract(epoch from '2026-07-18 19:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538455 -3.663653)'), GeomFromEWKT('SRID=4674;POINT (-38.538395 -3.663749)'))) / (select extract(epoch from '2026-07-18 19:11:01'::timestamp) - extract(epoch from '2026-07-18 19:10: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'), 47391, 'SRID=4674;POINT (-38.538327 -3.663829)', '2026-07-18 19:11:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538395 -3.663749)'), GeomFromEWKT('SRID=4674;POINT (-38.538327 -3.663829)'))) / (select extract(epoch from '2026-07-18 19:11:08'::timestamp) - extract(epoch from '2026-07-18 19:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538395 -3.663749)'), GeomFromEWKT('SRID=4674;POINT (-38.538327 -3.663829)'))) / (select extract(epoch from '2026-07-18 19:11:08'::timestamp) - extract(epoch from '2026-07-18 19:11: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'), 47391, 'SRID=4674;POINT (-38.538265 -3.663927)', '2026-07-18 19:11:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538327 -3.663829)'), GeomFromEWKT('SRID=4674;POINT (-38.538265 -3.663927)'))) / (select extract(epoch from '2026-07-18 19:11:15'::timestamp) - extract(epoch from '2026-07-18 19:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538327 -3.663829)'), GeomFromEWKT('SRID=4674;POINT (-38.538265 -3.663927)'))) / (select extract(epoch from '2026-07-18 19:11:15'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.538206 -3.664014)', '2026-07-18 19:11:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538265 -3.663927)'), GeomFromEWKT('SRID=4674;POINT (-38.538206 -3.664014)'))) / (select extract(epoch from '2026-07-18 19:11:22'::timestamp) - extract(epoch from '2026-07-18 19:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538265 -3.663927)'), GeomFromEWKT('SRID=4674;POINT (-38.538206 -3.664014)'))) / (select extract(epoch from '2026-07-18 19:11:22'::timestamp) - extract(epoch from '2026-07-18 19:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.538143 -3.664086)', '2026-07-18 19:11:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538206 -3.664014)'), GeomFromEWKT('SRID=4674;POINT (-38.538143 -3.664086)'))) / (select extract(epoch from '2026-07-18 19:11:28'::timestamp) - extract(epoch from '2026-07-18 19:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538206 -3.664014)'), GeomFromEWKT('SRID=4674;POINT (-38.538143 -3.664086)'))) / (select extract(epoch from '2026-07-18 19:11:28'::timestamp) - extract(epoch from '2026-07-18 19:11: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'), 47391, 'SRID=4674;POINT (-38.53807 -3.664172)', '2026-07-18 19:11:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538143 -3.664086)'), GeomFromEWKT('SRID=4674;POINT (-38.53807 -3.664172)'))) / (select extract(epoch from '2026-07-18 19:11:35'::timestamp) - extract(epoch from '2026-07-18 19:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538143 -3.664086)'), GeomFromEWKT('SRID=4674;POINT (-38.53807 -3.664172)'))) / (select extract(epoch from '2026-07-18 19:11:35'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.537988 -3.664273)', '2026-07-18 19:11:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53807 -3.664172)'), GeomFromEWKT('SRID=4674;POINT (-38.537988 -3.664273)'))) / (select extract(epoch from '2026-07-18 19:11:43'::timestamp) - extract(epoch from '2026-07-18 19:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53807 -3.664172)'), GeomFromEWKT('SRID=4674;POINT (-38.537988 -3.664273)'))) / (select extract(epoch from '2026-07-18 19:11:43'::timestamp) - extract(epoch from '2026-07-18 19:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537902 -3.664378)', '2026-07-18 19:11:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537988 -3.664273)'), GeomFromEWKT('SRID=4674;POINT (-38.537902 -3.664378)'))) / (select extract(epoch from '2026-07-18 19:11:51'::timestamp) - extract(epoch from '2026-07-18 19:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537988 -3.664273)'), GeomFromEWKT('SRID=4674;POINT (-38.537902 -3.664378)'))) / (select extract(epoch from '2026-07-18 19:11:51'::timestamp) - extract(epoch from '2026-07-18 19:11: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'), 47391, 'SRID=4674;POINT (-38.537838 -3.664467)', '2026-07-18 19:11:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537902 -3.664378)'), GeomFromEWKT('SRID=4674;POINT (-38.537838 -3.664467)'))) / (select extract(epoch from '2026-07-18 19:11:58'::timestamp) - extract(epoch from '2026-07-18 19:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537902 -3.664378)'), GeomFromEWKT('SRID=4674;POINT (-38.537838 -3.664467)'))) / (select extract(epoch from '2026-07-18 19:11:58'::timestamp) - extract(epoch from '2026-07-18 19:11: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'), 47391, 'SRID=4674;POINT (-38.537771 -3.66455)', '2026-07-18 19:12:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537838 -3.664467)'), GeomFromEWKT('SRID=4674;POINT (-38.537771 -3.66455)'))) / (select extract(epoch from '2026-07-18 19:12:05'::timestamp) - extract(epoch from '2026-07-18 19:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537838 -3.664467)'), GeomFromEWKT('SRID=4674;POINT (-38.537771 -3.66455)'))) / (select extract(epoch from '2026-07-18 19:12:05'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.53771 -3.664627)', '2026-07-18 19:12:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537771 -3.66455)'), GeomFromEWKT('SRID=4674;POINT (-38.53771 -3.664627)'))) / (select extract(epoch from '2026-07-18 19:12:11'::timestamp) - extract(epoch from '2026-07-18 19:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537771 -3.66455)'), GeomFromEWKT('SRID=4674;POINT (-38.53771 -3.664627)'))) / (select extract(epoch from '2026-07-18 19:12:11'::timestamp) - extract(epoch from '2026-07-18 19:12:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537654 -3.664708)', '2026-07-18 19:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53771 -3.664627)'), GeomFromEWKT('SRID=4674;POINT (-38.537654 -3.664708)'))) / (select extract(epoch from '2026-07-18 19:12:17'::timestamp) - extract(epoch from '2026-07-18 19:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53771 -3.664627)'), GeomFromEWKT('SRID=4674;POINT (-38.537654 -3.664708)'))) / (select extract(epoch from '2026-07-18 19:12:17'::timestamp) - extract(epoch from '2026-07-18 19:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537611 -3.664806)', '2026-07-18 19:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537654 -3.664708)'), GeomFromEWKT('SRID=4674;POINT (-38.537611 -3.664806)'))) / (select extract(epoch from '2026-07-18 19:12:24'::timestamp) - extract(epoch from '2026-07-18 19:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537654 -3.664708)'), GeomFromEWKT('SRID=4674;POINT (-38.537611 -3.664806)'))) / (select extract(epoch from '2026-07-18 19:12:24'::timestamp) - extract(epoch from '2026-07-18 19:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537574 -3.664855)', '2026-07-18 19:12:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537611 -3.664806)'), GeomFromEWKT('SRID=4674;POINT (-38.537574 -3.664855)'))) / (select extract(epoch from '2026-07-18 19:12:28'::timestamp) - extract(epoch from '2026-07-18 19:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537611 -3.664806)'), GeomFromEWKT('SRID=4674;POINT (-38.537574 -3.664855)'))) / (select extract(epoch from '2026-07-18 19:12:28'::timestamp) - extract(epoch from '2026-07-18 19:12: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'), 47391, 'SRID=4674;POINT (-38.537557 -3.664886)', '2026-07-18 19:12:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537574 -3.664855)'), GeomFromEWKT('SRID=4674;POINT (-38.537557 -3.664886)'))) / (select extract(epoch from '2026-07-18 19:12:30'::timestamp) - extract(epoch from '2026-07-18 19:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537574 -3.664855)'), GeomFromEWKT('SRID=4674;POINT (-38.537557 -3.664886)'))) / (select extract(epoch from '2026-07-18 19:12:30'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.537498 -3.664975)', '2026-07-18 19:12:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537557 -3.664886)'), GeomFromEWKT('SRID=4674;POINT (-38.537498 -3.664975)'))) / (select extract(epoch from '2026-07-18 19:12:37'::timestamp) - extract(epoch from '2026-07-18 19:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537557 -3.664886)'), GeomFromEWKT('SRID=4674;POINT (-38.537498 -3.664975)'))) / (select extract(epoch from '2026-07-18 19:12:37'::timestamp) - extract(epoch from '2026-07-18 19:12: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'), 47391, 'SRID=4674;POINT (-38.537471 -3.665011)', '2026-07-18 19:12:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537498 -3.664975)'), GeomFromEWKT('SRID=4674;POINT (-38.537471 -3.665011)'))) / (select extract(epoch from '2026-07-18 19:12:40'::timestamp) - extract(epoch from '2026-07-18 19:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537498 -3.664975)'), GeomFromEWKT('SRID=4674;POINT (-38.537471 -3.665011)'))) / (select extract(epoch from '2026-07-18 19:12:40'::timestamp) - extract(epoch from '2026-07-18 19:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537448 -3.665066)', '2026-07-18 19:12:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537471 -3.665011)'), GeomFromEWKT('SRID=4674;POINT (-38.537448 -3.665066)'))) / (select extract(epoch from '2026-07-18 19:12:44'::timestamp) - extract(epoch from '2026-07-18 19:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537471 -3.665011)'), GeomFromEWKT('SRID=4674;POINT (-38.537448 -3.665066)'))) / (select extract(epoch from '2026-07-18 19:12:44'::timestamp) - extract(epoch from '2026-07-18 19:12: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'), 47391, 'SRID=4674;POINT (-38.5374 -3.665137)', '2026-07-18 19:12:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537448 -3.665066)'), GeomFromEWKT('SRID=4674;POINT (-38.5374 -3.665137)'))) / (select extract(epoch from '2026-07-18 19:12:49'::timestamp) - extract(epoch from '2026-07-18 19:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537448 -3.665066)'), GeomFromEWKT('SRID=4674;POINT (-38.5374 -3.665137)'))) / (select extract(epoch from '2026-07-18 19:12:49'::timestamp) - extract(epoch from '2026-07-18 19:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537349 -3.66522)', '2026-07-18 19:12:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5374 -3.665137)'), GeomFromEWKT('SRID=4674;POINT (-38.537349 -3.66522)'))) / (select extract(epoch from '2026-07-18 19:12:55'::timestamp) - extract(epoch from '2026-07-18 19:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5374 -3.665137)'), GeomFromEWKT('SRID=4674;POINT (-38.537349 -3.66522)'))) / (select extract(epoch from '2026-07-18 19:12:55'::timestamp) - extract(epoch from '2026-07-18 19:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537326 -3.665245)', '2026-07-18 19:12:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537349 -3.66522)'), GeomFromEWKT('SRID=4674;POINT (-38.537326 -3.665245)'))) / (select extract(epoch from '2026-07-18 19:12:57'::timestamp) - extract(epoch from '2026-07-18 19:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537349 -3.66522)'), GeomFromEWKT('SRID=4674;POINT (-38.537326 -3.665245)'))) / (select extract(epoch from '2026-07-18 19:12:57'::timestamp) - extract(epoch from '2026-07-18 19:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537297 -3.665275)', '2026-07-18 19:13:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537326 -3.665245)'), GeomFromEWKT('SRID=4674;POINT (-38.537297 -3.665275)'))) / (select extract(epoch from '2026-07-18 19:13:00'::timestamp) - extract(epoch from '2026-07-18 19:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537326 -3.665245)'), GeomFromEWKT('SRID=4674;POINT (-38.537297 -3.665275)'))) / (select extract(epoch from '2026-07-18 19:13:00'::timestamp) - extract(epoch from '2026-07-18 19:12: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'), 47391, 'SRID=4674;POINT (-38.53727 -3.665348)', '2026-07-18 19:13:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537297 -3.665275)'), GeomFromEWKT('SRID=4674;POINT (-38.53727 -3.665348)'))) / (select extract(epoch from '2026-07-18 19:13:05'::timestamp) - extract(epoch from '2026-07-18 19:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537297 -3.665275)'), GeomFromEWKT('SRID=4674;POINT (-38.53727 -3.665348)'))) / (select extract(epoch from '2026-07-18 19:13:05'::timestamp) - extract(epoch from '2026-07-18 19:13:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53726 -3.665361)', '2026-07-18 19:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53727 -3.665348)'), GeomFromEWKT('SRID=4674;POINT (-38.53726 -3.665361)'))) / (select extract(epoch from '2026-07-18 19:13:06'::timestamp) - extract(epoch from '2026-07-18 19:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53727 -3.665348)'), GeomFromEWKT('SRID=4674;POINT (-38.53726 -3.665361)'))) / (select extract(epoch from '2026-07-18 19:13:06'::timestamp) - extract(epoch from '2026-07-18 19:13: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'), 47391, 'SRID=4674;POINT (-38.537178 -3.665444)', '2026-07-18 19:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53726 -3.665361)'), GeomFromEWKT('SRID=4674;POINT (-38.537178 -3.665444)'))) / (select extract(epoch from '2026-07-18 19:13:14'::timestamp) - extract(epoch from '2026-07-18 19:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53726 -3.665361)'), GeomFromEWKT('SRID=4674;POINT (-38.537178 -3.665444)'))) / (select extract(epoch from '2026-07-18 19:13:14'::timestamp) - extract(epoch from '2026-07-18 19:13: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'), 47391, 'SRID=4674;POINT (-38.537171 -3.665458)', '2026-07-18 19:13:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537178 -3.665444)'), GeomFromEWKT('SRID=4674;POINT (-38.537171 -3.665458)'))) / (select extract(epoch from '2026-07-18 19:13:15'::timestamp) - extract(epoch from '2026-07-18 19:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537178 -3.665444)'), GeomFromEWKT('SRID=4674;POINT (-38.537171 -3.665458)'))) / (select extract(epoch from '2026-07-18 19:13:15'::timestamp) - extract(epoch from '2026-07-18 19:13:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537135 -3.665513)', '2026-07-18 19:13:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537171 -3.665458)'), GeomFromEWKT('SRID=4674;POINT (-38.537135 -3.665513)'))) / (select extract(epoch from '2026-07-18 19:13:19'::timestamp) - extract(epoch from '2026-07-18 19:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537171 -3.665458)'), GeomFromEWKT('SRID=4674;POINT (-38.537135 -3.665513)'))) / (select extract(epoch from '2026-07-18 19:13:19'::timestamp) - extract(epoch from '2026-07-18 19:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53711 -3.665548)', '2026-07-18 19:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537135 -3.665513)'), GeomFromEWKT('SRID=4674;POINT (-38.53711 -3.665548)'))) / (select extract(epoch from '2026-07-18 19:13:22'::timestamp) - extract(epoch from '2026-07-18 19:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537135 -3.665513)'), GeomFromEWKT('SRID=4674;POINT (-38.53711 -3.665548)'))) / (select extract(epoch from '2026-07-18 19:13:22'::timestamp) - extract(epoch from '2026-07-18 19:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.537079 -3.665582)', '2026-07-18 19:13:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53711 -3.665548)'), GeomFromEWKT('SRID=4674;POINT (-38.537079 -3.665582)'))) / (select extract(epoch from '2026-07-18 19:13:25'::timestamp) - extract(epoch from '2026-07-18 19:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53711 -3.665548)'), GeomFromEWKT('SRID=4674;POINT (-38.537079 -3.665582)'))) / (select extract(epoch from '2026-07-18 19:13:25'::timestamp) - extract(epoch from '2026-07-18 19:13: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'), 47391, 'SRID=4674;POINT (-38.537003 -3.665683)', '2026-07-18 19:13:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537079 -3.665582)'), GeomFromEWKT('SRID=4674;POINT (-38.537003 -3.665683)'))) / (select extract(epoch from '2026-07-18 19:13:34'::timestamp) - extract(epoch from '2026-07-18 19:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537079 -3.665582)'), GeomFromEWKT('SRID=4674;POINT (-38.537003 -3.665683)'))) / (select extract(epoch from '2026-07-18 19:13:34'::timestamp) - extract(epoch from '2026-07-18 19:13: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'), 47391, 'SRID=4674;POINT (-38.536937 -3.665787)', '2026-07-18 19:13:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537003 -3.665683)'), GeomFromEWKT('SRID=4674;POINT (-38.536937 -3.665787)'))) / (select extract(epoch from '2026-07-18 19:13:42'::timestamp) - extract(epoch from '2026-07-18 19:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537003 -3.665683)'), GeomFromEWKT('SRID=4674;POINT (-38.536937 -3.665787)'))) / (select extract(epoch from '2026-07-18 19:13:42'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.536884 -3.665867)', '2026-07-18 19:13:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536937 -3.665787)'), GeomFromEWKT('SRID=4674;POINT (-38.536884 -3.665867)'))) / (select extract(epoch from '2026-07-18 19:13:49'::timestamp) - extract(epoch from '2026-07-18 19:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536937 -3.665787)'), GeomFromEWKT('SRID=4674;POINT (-38.536884 -3.665867)'))) / (select extract(epoch from '2026-07-18 19:13:49'::timestamp) - extract(epoch from '2026-07-18 19:13: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'), 47391, 'SRID=4674;POINT (-38.536839 -3.665932)', '2026-07-18 19:13:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536884 -3.665867)'), GeomFromEWKT('SRID=4674;POINT (-38.536839 -3.665932)'))) / (select extract(epoch from '2026-07-18 19:13:54'::timestamp) - extract(epoch from '2026-07-18 19:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536884 -3.665867)'), GeomFromEWKT('SRID=4674;POINT (-38.536839 -3.665932)'))) / (select extract(epoch from '2026-07-18 19:13:54'::timestamp) - extract(epoch from '2026-07-18 19:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536804 -3.666014)', '2026-07-18 19:14:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536839 -3.665932)'), GeomFromEWKT('SRID=4674;POINT (-38.536804 -3.666014)'))) / (select extract(epoch from '2026-07-18 19:14:00'::timestamp) - extract(epoch from '2026-07-18 19:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536839 -3.665932)'), GeomFromEWKT('SRID=4674;POINT (-38.536804 -3.666014)'))) / (select extract(epoch from '2026-07-18 19:14:00'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.53676 -3.666086)', '2026-07-18 19:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536804 -3.666014)'), GeomFromEWKT('SRID=4674;POINT (-38.53676 -3.666086)'))) / (select extract(epoch from '2026-07-18 19:14:06'::timestamp) - extract(epoch from '2026-07-18 19:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536804 -3.666014)'), GeomFromEWKT('SRID=4674;POINT (-38.53676 -3.666086)'))) / (select extract(epoch from '2026-07-18 19:14:06'::timestamp) - extract(epoch from '2026-07-18 19:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536698 -3.666186)', '2026-07-18 19:14:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53676 -3.666086)'), GeomFromEWKT('SRID=4674;POINT (-38.536698 -3.666186)'))) / (select extract(epoch from '2026-07-18 19:14:13'::timestamp) - extract(epoch from '2026-07-18 19:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53676 -3.666086)'), GeomFromEWKT('SRID=4674;POINT (-38.536698 -3.666186)'))) / (select extract(epoch from '2026-07-18 19:14:13'::timestamp) - extract(epoch from '2026-07-18 19:14: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'), 47391, 'SRID=4674;POINT (-38.53664 -3.666338)', '2026-07-18 19:14:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536698 -3.666186)'), GeomFromEWKT('SRID=4674;POINT (-38.53664 -3.666338)'))) / (select extract(epoch from '2026-07-18 19:14:22'::timestamp) - extract(epoch from '2026-07-18 19:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536698 -3.666186)'), GeomFromEWKT('SRID=4674;POINT (-38.53664 -3.666338)'))) / (select extract(epoch from '2026-07-18 19:14:22'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.536569 -3.666426)', '2026-07-18 19:14:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53664 -3.666338)'), GeomFromEWKT('SRID=4674;POINT (-38.536569 -3.666426)'))) / (select extract(epoch from '2026-07-18 19:14:29'::timestamp) - extract(epoch from '2026-07-18 19:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53664 -3.666338)'), GeomFromEWKT('SRID=4674;POINT (-38.536569 -3.666426)'))) / (select extract(epoch from '2026-07-18 19:14:29'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.536512 -3.66653)', '2026-07-18 19:14:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536569 -3.666426)'), GeomFromEWKT('SRID=4674;POINT (-38.536512 -3.66653)'))) / (select extract(epoch from '2026-07-18 19:14:36'::timestamp) - extract(epoch from '2026-07-18 19:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536569 -3.666426)'), GeomFromEWKT('SRID=4674;POINT (-38.536512 -3.66653)'))) / (select extract(epoch from '2026-07-18 19:14:36'::timestamp) - extract(epoch from '2026-07-18 19:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536427 -3.66664)', '2026-07-18 19:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536512 -3.66653)'), GeomFromEWKT('SRID=4674;POINT (-38.536427 -3.66664)'))) / (select extract(epoch from '2026-07-18 19:14:44'::timestamp) - extract(epoch from '2026-07-18 19:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536512 -3.66653)'), GeomFromEWKT('SRID=4674;POINT (-38.536427 -3.66664)'))) / (select extract(epoch from '2026-07-18 19:14:44'::timestamp) - extract(epoch from '2026-07-18 19:14: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'), 47391, 'SRID=4674;POINT (-38.536344 -3.666719)', '2026-07-18 19:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536427 -3.66664)'), GeomFromEWKT('SRID=4674;POINT (-38.536344 -3.666719)'))) / (select extract(epoch from '2026-07-18 19:14:51'::timestamp) - extract(epoch from '2026-07-18 19:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536427 -3.66664)'), GeomFromEWKT('SRID=4674;POINT (-38.536344 -3.666719)'))) / (select extract(epoch from '2026-07-18 19:14:51'::timestamp) - extract(epoch from '2026-07-18 19:14: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'), 47391, 'SRID=4674;POINT (-38.536274 -3.666793)', '2026-07-18 19:14:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536344 -3.666719)'), GeomFromEWKT('SRID=4674;POINT (-38.536274 -3.666793)'))) / (select extract(epoch from '2026-07-18 19:14:57'::timestamp) - extract(epoch from '2026-07-18 19:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536344 -3.666719)'), GeomFromEWKT('SRID=4674;POINT (-38.536274 -3.666793)'))) / (select extract(epoch from '2026-07-18 19:14:57'::timestamp) - extract(epoch from '2026-07-18 19:14: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'), 47391, 'SRID=4674;POINT (-38.536236 -3.66686)', '2026-07-18 19:15:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536274 -3.666793)'), GeomFromEWKT('SRID=4674;POINT (-38.536236 -3.66686)'))) / (select extract(epoch from '2026-07-18 19:15:03'::timestamp) - extract(epoch from '2026-07-18 19:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536274 -3.666793)'), GeomFromEWKT('SRID=4674;POINT (-38.536236 -3.66686)'))) / (select extract(epoch from '2026-07-18 19:15:03'::timestamp) - extract(epoch from '2026-07-18 19:14: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'), 47391, 'SRID=4674;POINT (-38.536212 -3.666894)', '2026-07-18 19:15:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536236 -3.66686)'), GeomFromEWKT('SRID=4674;POINT (-38.536212 -3.666894)'))) / (select extract(epoch from '2026-07-18 19:15:06'::timestamp) - extract(epoch from '2026-07-18 19:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536236 -3.66686)'), GeomFromEWKT('SRID=4674;POINT (-38.536212 -3.666894)'))) / (select extract(epoch from '2026-07-18 19:15:06'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.536198 -3.666919)', '2026-07-18 19:15:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536212 -3.666894)'), GeomFromEWKT('SRID=4674;POINT (-38.536198 -3.666919)'))) / (select extract(epoch from '2026-07-18 19:15:08'::timestamp) - extract(epoch from '2026-07-18 19:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536212 -3.666894)'), GeomFromEWKT('SRID=4674;POINT (-38.536198 -3.666919)'))) / (select extract(epoch from '2026-07-18 19:15:08'::timestamp) - extract(epoch from '2026-07-18 19:15: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'), 47391, 'SRID=4674;POINT (-38.536187 -3.666928)', '2026-07-18 19:15:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536198 -3.666919)'), GeomFromEWKT('SRID=4674;POINT (-38.536187 -3.666928)'))) / (select extract(epoch from '2026-07-18 19:15:09'::timestamp) - extract(epoch from '2026-07-18 19:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536198 -3.666919)'), GeomFromEWKT('SRID=4674;POINT (-38.536187 -3.666928)'))) / (select extract(epoch from '2026-07-18 19:15:09'::timestamp) - extract(epoch from '2026-07-18 19:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536128 -3.667022)', '2026-07-18 19:15:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536187 -3.666928)'), GeomFromEWKT('SRID=4674;POINT (-38.536128 -3.667022)'))) / (select extract(epoch from '2026-07-18 19:15:17'::timestamp) - extract(epoch from '2026-07-18 19:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536187 -3.666928)'), GeomFromEWKT('SRID=4674;POINT (-38.536128 -3.667022)'))) / (select extract(epoch from '2026-07-18 19:15:17'::timestamp) - extract(epoch from '2026-07-18 19:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536055 -3.667116)', '2026-07-18 19:15:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536128 -3.667022)'), GeomFromEWKT('SRID=4674;POINT (-38.536055 -3.667116)'))) / (select extract(epoch from '2026-07-18 19:15:25'::timestamp) - extract(epoch from '2026-07-18 19:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536128 -3.667022)'), GeomFromEWKT('SRID=4674;POINT (-38.536055 -3.667116)'))) / (select extract(epoch from '2026-07-18 19:15:25'::timestamp) - extract(epoch from '2026-07-18 19:15: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'), 47391, 'SRID=4674;POINT (-38.536037 -3.667138)', '2026-07-18 19:15:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536055 -3.667116)'), GeomFromEWKT('SRID=4674;POINT (-38.536037 -3.667138)'))) / (select extract(epoch from '2026-07-18 19:15:27'::timestamp) - extract(epoch from '2026-07-18 19:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536055 -3.667116)'), GeomFromEWKT('SRID=4674;POINT (-38.536037 -3.667138)'))) / (select extract(epoch from '2026-07-18 19:15:27'::timestamp) - extract(epoch from '2026-07-18 19:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.536005 -3.667173)', '2026-07-18 19:15:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536037 -3.667138)'), GeomFromEWKT('SRID=4674;POINT (-38.536005 -3.667173)'))) / (select extract(epoch from '2026-07-18 19:15:30'::timestamp) - extract(epoch from '2026-07-18 19:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536037 -3.667138)'), GeomFromEWKT('SRID=4674;POINT (-38.536005 -3.667173)'))) / (select extract(epoch from '2026-07-18 19:15:30'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.535926 -3.667258)', '2026-07-18 19:15:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536005 -3.667173)'), GeomFromEWKT('SRID=4674;POINT (-38.535926 -3.667258)'))) / (select extract(epoch from '2026-07-18 19:15:37'::timestamp) - extract(epoch from '2026-07-18 19:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536005 -3.667173)'), GeomFromEWKT('SRID=4674;POINT (-38.535926 -3.667258)'))) / (select extract(epoch from '2026-07-18 19:15:37'::timestamp) - extract(epoch from '2026-07-18 19:15: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'), 47391, 'SRID=4674;POINT (-38.535834 -3.667391)', '2026-07-18 19:15:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535926 -3.667258)'), GeomFromEWKT('SRID=4674;POINT (-38.535834 -3.667391)'))) / (select extract(epoch from '2026-07-18 19:15:46'::timestamp) - extract(epoch from '2026-07-18 19:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535926 -3.667258)'), GeomFromEWKT('SRID=4674;POINT (-38.535834 -3.667391)'))) / (select extract(epoch from '2026-07-18 19:15:46'::timestamp) - extract(epoch from '2026-07-18 19:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535752 -3.667489)', '2026-07-18 19:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535834 -3.667391)'), GeomFromEWKT('SRID=4674;POINT (-38.535752 -3.667489)'))) / (select extract(epoch from '2026-07-18 19:15:53'::timestamp) - extract(epoch from '2026-07-18 19:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535834 -3.667391)'), GeomFromEWKT('SRID=4674;POINT (-38.535752 -3.667489)'))) / (select extract(epoch from '2026-07-18 19:15:53'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.53568 -3.667581)', '2026-07-18 19:16:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535752 -3.667489)'), GeomFromEWKT('SRID=4674;POINT (-38.53568 -3.667581)'))) / (select extract(epoch from '2026-07-18 19:16:00'::timestamp) - extract(epoch from '2026-07-18 19:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535752 -3.667489)'), GeomFromEWKT('SRID=4674;POINT (-38.53568 -3.667581)'))) / (select extract(epoch from '2026-07-18 19:16:00'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.535639 -3.667663)', '2026-07-18 19:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53568 -3.667581)'), GeomFromEWKT('SRID=4674;POINT (-38.535639 -3.667663)'))) / (select extract(epoch from '2026-07-18 19:16:06'::timestamp) - extract(epoch from '2026-07-18 19:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53568 -3.667581)'), GeomFromEWKT('SRID=4674;POINT (-38.535639 -3.667663)'))) / (select extract(epoch from '2026-07-18 19:16:06'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535637 -3.667674)', '2026-07-18 19:16:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535639 -3.667663)'), GeomFromEWKT('SRID=4674;POINT (-38.535637 -3.667674)'))) / (select extract(epoch from '2026-07-18 19:16:07'::timestamp) - extract(epoch from '2026-07-18 19:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535639 -3.667663)'), GeomFromEWKT('SRID=4674;POINT (-38.535637 -3.667674)'))) / (select extract(epoch from '2026-07-18 19:16:07'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535624 -3.667718)', '2026-07-18 19:16:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535637 -3.667674)'), GeomFromEWKT('SRID=4674;POINT (-38.535624 -3.667718)'))) / (select extract(epoch from '2026-07-18 19:16:10'::timestamp) - extract(epoch from '2026-07-18 19:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535637 -3.667674)'), GeomFromEWKT('SRID=4674;POINT (-38.535624 -3.667718)'))) / (select extract(epoch from '2026-07-18 19:16:10'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535625 -3.667735)', '2026-07-18 19:16:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535624 -3.667718)'), GeomFromEWKT('SRID=4674;POINT (-38.535625 -3.667735)'))) / (select extract(epoch from '2026-07-18 19:16:11'::timestamp) - extract(epoch from '2026-07-18 19:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535624 -3.667718)'), GeomFromEWKT('SRID=4674;POINT (-38.535625 -3.667735)'))) / (select extract(epoch from '2026-07-18 19:16:11'::timestamp) - extract(epoch from '2026-07-18 19:16:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53559 -3.667793)', '2026-07-18 19:16:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535625 -3.667735)'), GeomFromEWKT('SRID=4674;POINT (-38.53559 -3.667793)'))) / (select extract(epoch from '2026-07-18 19:16:15'::timestamp) - extract(epoch from '2026-07-18 19:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535625 -3.667735)'), GeomFromEWKT('SRID=4674;POINT (-38.53559 -3.667793)'))) / (select extract(epoch from '2026-07-18 19:16:15'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535584 -3.667809)', '2026-07-18 19:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53559 -3.667793)'), GeomFromEWKT('SRID=4674;POINT (-38.535584 -3.667809)'))) / (select extract(epoch from '2026-07-18 19:16:16'::timestamp) - extract(epoch from '2026-07-18 19:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53559 -3.667793)'), GeomFromEWKT('SRID=4674;POINT (-38.535584 -3.667809)'))) / (select extract(epoch from '2026-07-18 19:16:16'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535565 -3.667876)', '2026-07-18 19:16:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535584 -3.667809)'), GeomFromEWKT('SRID=4674;POINT (-38.535565 -3.667876)'))) / (select extract(epoch from '2026-07-18 19:16:20'::timestamp) - extract(epoch from '2026-07-18 19:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535584 -3.667809)'), GeomFromEWKT('SRID=4674;POINT (-38.535565 -3.667876)'))) / (select extract(epoch from '2026-07-18 19:16:20'::timestamp) - extract(epoch from '2026-07-18 19:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535529 -3.667927)', '2026-07-18 19:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535565 -3.667876)'), GeomFromEWKT('SRID=4674;POINT (-38.535529 -3.667927)'))) / (select extract(epoch from '2026-07-18 19:16:24'::timestamp) - extract(epoch from '2026-07-18 19:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535565 -3.667876)'), GeomFromEWKT('SRID=4674;POINT (-38.535529 -3.667927)'))) / (select extract(epoch from '2026-07-18 19:16:24'::timestamp) - extract(epoch from '2026-07-18 19:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.535507 -3.667949)', '2026-07-18 19:16:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535529 -3.667927)'), GeomFromEWKT('SRID=4674;POINT (-38.535507 -3.667949)'))) / (select extract(epoch from '2026-07-18 19:16:26'::timestamp) - extract(epoch from '2026-07-18 19:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535529 -3.667927)'), GeomFromEWKT('SRID=4674;POINT (-38.535507 -3.667949)'))) / (select extract(epoch from '2026-07-18 19:16:26'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.535427 -3.668035)', '2026-07-18 19:16:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535507 -3.667949)'), GeomFromEWKT('SRID=4674;POINT (-38.535427 -3.668035)'))) / (select extract(epoch from '2026-07-18 19:16:33'::timestamp) - extract(epoch from '2026-07-18 19:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535507 -3.667949)'), GeomFromEWKT('SRID=4674;POINT (-38.535427 -3.668035)'))) / (select extract(epoch from '2026-07-18 19:16:33'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535423 -3.66805)', '2026-07-18 19:16:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535427 -3.668035)'), GeomFromEWKT('SRID=4674;POINT (-38.535423 -3.66805)'))) / (select extract(epoch from '2026-07-18 19:16:34'::timestamp) - extract(epoch from '2026-07-18 19:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535427 -3.668035)'), GeomFromEWKT('SRID=4674;POINT (-38.535423 -3.66805)'))) / (select extract(epoch from '2026-07-18 19:16:34'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.535417 -3.668094)', '2026-07-18 19:16:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535423 -3.66805)'), GeomFromEWKT('SRID=4674;POINT (-38.535417 -3.668094)'))) / (select extract(epoch from '2026-07-18 19:16:37'::timestamp) - extract(epoch from '2026-07-18 19:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535423 -3.66805)'), GeomFromEWKT('SRID=4674;POINT (-38.535417 -3.668094)'))) / (select extract(epoch from '2026-07-18 19:16:37'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535392 -3.668132)', '2026-07-18 19:16:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535417 -3.668094)'), GeomFromEWKT('SRID=4674;POINT (-38.535392 -3.668132)'))) / (select extract(epoch from '2026-07-18 19:16:41'::timestamp) - extract(epoch from '2026-07-18 19:16:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535417 -3.668094)'), GeomFromEWKT('SRID=4674;POINT (-38.535392 -3.668132)'))) / (select extract(epoch from '2026-07-18 19:16:41'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535372 -3.668165)', '2026-07-18 19:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535392 -3.668132)'), GeomFromEWKT('SRID=4674;POINT (-38.535372 -3.668165)'))) / (select extract(epoch from '2026-07-18 19:16:44'::timestamp) - extract(epoch from '2026-07-18 19:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535392 -3.668132)'), GeomFromEWKT('SRID=4674;POINT (-38.535372 -3.668165)'))) / (select extract(epoch from '2026-07-18 19:16:44'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535311 -3.668236)', '2026-07-18 19:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535372 -3.668165)'), GeomFromEWKT('SRID=4674;POINT (-38.535311 -3.668236)'))) / (select extract(epoch from '2026-07-18 19:16:50'::timestamp) - extract(epoch from '2026-07-18 19:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535372 -3.668165)'), GeomFromEWKT('SRID=4674;POINT (-38.535311 -3.668236)'))) / (select extract(epoch from '2026-07-18 19:16:50'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535251 -3.66831)', '2026-07-18 19:16:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535311 -3.668236)'), GeomFromEWKT('SRID=4674;POINT (-38.535251 -3.66831)'))) / (select extract(epoch from '2026-07-18 19:16:56'::timestamp) - extract(epoch from '2026-07-18 19:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535311 -3.668236)'), GeomFromEWKT('SRID=4674;POINT (-38.535251 -3.66831)'))) / (select extract(epoch from '2026-07-18 19:16:56'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535161 -3.668409)', '2026-07-18 19:17:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535251 -3.66831)'), GeomFromEWKT('SRID=4674;POINT (-38.535161 -3.668409)'))) / (select extract(epoch from '2026-07-18 19:17:05'::timestamp) - extract(epoch from '2026-07-18 19:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535251 -3.66831)'), GeomFromEWKT('SRID=4674;POINT (-38.535161 -3.668409)'))) / (select extract(epoch from '2026-07-18 19:17:05'::timestamp) - extract(epoch from '2026-07-18 19:16: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'), 47391, 'SRID=4674;POINT (-38.535098 -3.668476)', '2026-07-18 19:17:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535161 -3.668409)'), GeomFromEWKT('SRID=4674;POINT (-38.535098 -3.668476)'))) / (select extract(epoch from '2026-07-18 19:17:11'::timestamp) - extract(epoch from '2026-07-18 19:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535161 -3.668409)'), GeomFromEWKT('SRID=4674;POINT (-38.535098 -3.668476)'))) / (select extract(epoch from '2026-07-18 19:17:11'::timestamp) - extract(epoch from '2026-07-18 19:17: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'), 47391, 'SRID=4674;POINT (-38.535017 -3.668561)', '2026-07-18 19:17:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535098 -3.668476)'), GeomFromEWKT('SRID=4674;POINT (-38.535017 -3.668561)'))) / (select extract(epoch from '2026-07-18 19:17:19'::timestamp) - extract(epoch from '2026-07-18 19:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535098 -3.668476)'), GeomFromEWKT('SRID=4674;POINT (-38.535017 -3.668561)'))) / (select extract(epoch from '2026-07-18 19:17:19'::timestamp) - extract(epoch from '2026-07-18 19:17: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'), 47391, 'SRID=4674;POINT (-38.534989 -3.668592)', '2026-07-18 19:17:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535017 -3.668561)'), GeomFromEWKT('SRID=4674;POINT (-38.534989 -3.668592)'))) / (select extract(epoch from '2026-07-18 19:17:22'::timestamp) - extract(epoch from '2026-07-18 19:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535017 -3.668561)'), GeomFromEWKT('SRID=4674;POINT (-38.534989 -3.668592)'))) / (select extract(epoch from '2026-07-18 19:17:22'::timestamp) - extract(epoch from '2026-07-18 19:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534972 -3.668622)', '2026-07-18 19:17:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534989 -3.668592)'), GeomFromEWKT('SRID=4674;POINT (-38.534972 -3.668622)'))) / (select extract(epoch from '2026-07-18 19:17:25'::timestamp) - extract(epoch from '2026-07-18 19:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534989 -3.668592)'), GeomFromEWKT('SRID=4674;POINT (-38.534972 -3.668622)'))) / (select extract(epoch from '2026-07-18 19:17:25'::timestamp) - extract(epoch from '2026-07-18 19:17: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'), 47391, 'SRID=4674;POINT (-38.534961 -3.668643)', '2026-07-18 19:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534972 -3.668622)'), GeomFromEWKT('SRID=4674;POINT (-38.534961 -3.668643)'))) / (select extract(epoch from '2026-07-18 19:17:27'::timestamp) - extract(epoch from '2026-07-18 19:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534972 -3.668622)'), GeomFromEWKT('SRID=4674;POINT (-38.534961 -3.668643)'))) / (select extract(epoch from '2026-07-18 19:17:27'::timestamp) - extract(epoch from '2026-07-18 19:17: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'), 47391, 'SRID=4674;POINT (-38.534936 -3.668676)', '2026-07-18 19:17:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534961 -3.668643)'), GeomFromEWKT('SRID=4674;POINT (-38.534936 -3.668676)'))) / (select extract(epoch from '2026-07-18 19:17:31'::timestamp) - extract(epoch from '2026-07-18 19:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534961 -3.668643)'), GeomFromEWKT('SRID=4674;POINT (-38.534936 -3.668676)'))) / (select extract(epoch from '2026-07-18 19:17:31'::timestamp) - extract(epoch from '2026-07-18 19:17: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'), 47391, 'SRID=4674;POINT (-38.534841 -3.668742)', '2026-07-18 19:17:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534936 -3.668676)'), GeomFromEWKT('SRID=4674;POINT (-38.534841 -3.668742)'))) / (select extract(epoch from '2026-07-18 19:17:40'::timestamp) - extract(epoch from '2026-07-18 19:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534936 -3.668676)'), GeomFromEWKT('SRID=4674;POINT (-38.534841 -3.668742)'))) / (select extract(epoch from '2026-07-18 19:17:40'::timestamp) - extract(epoch from '2026-07-18 19:17: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'), 47391, 'SRID=4674;POINT (-38.534781 -3.668814)', '2026-07-18 19:17:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534841 -3.668742)'), GeomFromEWKT('SRID=4674;POINT (-38.534781 -3.668814)'))) / (select extract(epoch from '2026-07-18 19:17:47'::timestamp) - extract(epoch from '2026-07-18 19:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534841 -3.668742)'), GeomFromEWKT('SRID=4674;POINT (-38.534781 -3.668814)'))) / (select extract(epoch from '2026-07-18 19:17:47'::timestamp) - extract(epoch from '2026-07-18 19:17: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'), 47391, 'SRID=4674;POINT (-38.534735 -3.668869)', '2026-07-18 19:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534781 -3.668814)'), GeomFromEWKT('SRID=4674;POINT (-38.534735 -3.668869)'))) / (select extract(epoch from '2026-07-18 19:17:52'::timestamp) - extract(epoch from '2026-07-18 19:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534781 -3.668814)'), GeomFromEWKT('SRID=4674;POINT (-38.534735 -3.668869)'))) / (select extract(epoch from '2026-07-18 19:17:52'::timestamp) - extract(epoch from '2026-07-18 19:17: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'), 47391, 'SRID=4674;POINT (-38.534715 -3.66889)', '2026-07-18 19:17:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534735 -3.668869)'), GeomFromEWKT('SRID=4674;POINT (-38.534715 -3.66889)'))) / (select extract(epoch from '2026-07-18 19:17:54'::timestamp) - extract(epoch from '2026-07-18 19:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534735 -3.668869)'), GeomFromEWKT('SRID=4674;POINT (-38.534715 -3.66889)'))) / (select extract(epoch from '2026-07-18 19:17:54'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.534614 -3.668981)', '2026-07-18 19:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534715 -3.66889)'), GeomFromEWKT('SRID=4674;POINT (-38.534614 -3.668981)'))) / (select extract(epoch from '2026-07-18 19:18:03'::timestamp) - extract(epoch from '2026-07-18 19:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534715 -3.66889)'), GeomFromEWKT('SRID=4674;POINT (-38.534614 -3.668981)'))) / (select extract(epoch from '2026-07-18 19:18:03'::timestamp) - extract(epoch from '2026-07-18 19:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534523 -3.669082)', '2026-07-18 19:18:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534614 -3.668981)'), GeomFromEWKT('SRID=4674;POINT (-38.534523 -3.669082)'))) / (select extract(epoch from '2026-07-18 19:18:11'::timestamp) - extract(epoch from '2026-07-18 19:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534614 -3.668981)'), GeomFromEWKT('SRID=4674;POINT (-38.534523 -3.669082)'))) / (select extract(epoch from '2026-07-18 19:18:11'::timestamp) - extract(epoch from '2026-07-18 19:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534453 -3.669157)', '2026-07-18 19:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534523 -3.669082)'), GeomFromEWKT('SRID=4674;POINT (-38.534453 -3.669157)'))) / (select extract(epoch from '2026-07-18 19:18:17'::timestamp) - extract(epoch from '2026-07-18 19:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534523 -3.669082)'), GeomFromEWKT('SRID=4674;POINT (-38.534453 -3.669157)'))) / (select extract(epoch from '2026-07-18 19:18:17'::timestamp) - extract(epoch from '2026-07-18 19:18: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'), 47391, 'SRID=4674;POINT (-38.534388 -3.669232)', '2026-07-18 19:18:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534453 -3.669157)'), GeomFromEWKT('SRID=4674;POINT (-38.534388 -3.669232)'))) / (select extract(epoch from '2026-07-18 19:18:23'::timestamp) - extract(epoch from '2026-07-18 19:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534453 -3.669157)'), GeomFromEWKT('SRID=4674;POINT (-38.534388 -3.669232)'))) / (select extract(epoch from '2026-07-18 19:18:23'::timestamp) - extract(epoch from '2026-07-18 19:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534305 -3.669325)', '2026-07-18 19:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534388 -3.669232)'), GeomFromEWKT('SRID=4674;POINT (-38.534305 -3.669325)'))) / (select extract(epoch from '2026-07-18 19:18:31'::timestamp) - extract(epoch from '2026-07-18 19:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534388 -3.669232)'), GeomFromEWKT('SRID=4674;POINT (-38.534305 -3.669325)'))) / (select extract(epoch from '2026-07-18 19:18:31'::timestamp) - extract(epoch from '2026-07-18 19:18: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'), 47391, 'SRID=4674;POINT (-38.53425 -3.6694)', '2026-07-18 19:18:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534305 -3.669325)'), GeomFromEWKT('SRID=4674;POINT (-38.53425 -3.6694)'))) / (select extract(epoch from '2026-07-18 19:18:37'::timestamp) - extract(epoch from '2026-07-18 19:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534305 -3.669325)'), GeomFromEWKT('SRID=4674;POINT (-38.53425 -3.6694)'))) / (select extract(epoch from '2026-07-18 19:18:37'::timestamp) - extract(epoch from '2026-07-18 19:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534181 -3.669495)', '2026-07-18 19:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53425 -3.6694)'), GeomFromEWKT('SRID=4674;POINT (-38.534181 -3.669495)'))) / (select extract(epoch from '2026-07-18 19:18:44'::timestamp) - extract(epoch from '2026-07-18 19:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53425 -3.6694)'), GeomFromEWKT('SRID=4674;POINT (-38.534181 -3.669495)'))) / (select extract(epoch from '2026-07-18 19:18:44'::timestamp) - extract(epoch from '2026-07-18 19:18: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'), 47391, 'SRID=4674;POINT (-38.534117 -3.669574)', '2026-07-18 19:18:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534181 -3.669495)'), GeomFromEWKT('SRID=4674;POINT (-38.534117 -3.669574)'))) / (select extract(epoch from '2026-07-18 19:18:50'::timestamp) - extract(epoch from '2026-07-18 19:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534181 -3.669495)'), GeomFromEWKT('SRID=4674;POINT (-38.534117 -3.669574)'))) / (select extract(epoch from '2026-07-18 19:18:50'::timestamp) - extract(epoch from '2026-07-18 19:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534048 -3.669679)', '2026-07-18 19:18:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534117 -3.669574)'), GeomFromEWKT('SRID=4674;POINT (-38.534048 -3.669679)'))) / (select extract(epoch from '2026-07-18 19:18:58'::timestamp) - extract(epoch from '2026-07-18 19:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534117 -3.669574)'), GeomFromEWKT('SRID=4674;POINT (-38.534048 -3.669679)'))) / (select extract(epoch from '2026-07-18 19:18:58'::timestamp) - extract(epoch from '2026-07-18 19:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.534027 -3.669708)', '2026-07-18 19:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534048 -3.669679)'), GeomFromEWKT('SRID=4674;POINT (-38.534027 -3.669708)'))) / (select extract(epoch from '2026-07-18 19:19:00'::timestamp) - extract(epoch from '2026-07-18 19:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534048 -3.669679)'), GeomFromEWKT('SRID=4674;POINT (-38.534027 -3.669708)'))) / (select extract(epoch from '2026-07-18 19:19:00'::timestamp) - extract(epoch from '2026-07-18 19:18: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'), 47391, 'SRID=4674;POINT (-38.533996 -3.669748)', '2026-07-18 19:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534027 -3.669708)'), GeomFromEWKT('SRID=4674;POINT (-38.533996 -3.669748)'))) / (select extract(epoch from '2026-07-18 19:19:03'::timestamp) - extract(epoch from '2026-07-18 19:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534027 -3.669708)'), GeomFromEWKT('SRID=4674;POINT (-38.533996 -3.669748)'))) / (select extract(epoch from '2026-07-18 19:19:03'::timestamp) - extract(epoch from '2026-07-18 19:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533982 -3.669775)', '2026-07-18 19:19:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533996 -3.669748)'), GeomFromEWKT('SRID=4674;POINT (-38.533982 -3.669775)'))) / (select extract(epoch from '2026-07-18 19:19:05'::timestamp) - extract(epoch from '2026-07-18 19:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533996 -3.669748)'), GeomFromEWKT('SRID=4674;POINT (-38.533982 -3.669775)'))) / (select extract(epoch from '2026-07-18 19:19:05'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.53395 -3.669828)', '2026-07-18 19:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533982 -3.669775)'), GeomFromEWKT('SRID=4674;POINT (-38.53395 -3.669828)'))) / (select extract(epoch from '2026-07-18 19:19:09'::timestamp) - extract(epoch from '2026-07-18 19:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533982 -3.669775)'), GeomFromEWKT('SRID=4674;POINT (-38.53395 -3.669828)'))) / (select extract(epoch from '2026-07-18 19:19:09'::timestamp) - extract(epoch from '2026-07-18 19:19: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'), 47391, 'SRID=4674;POINT (-38.533894 -3.669899)', '2026-07-18 19:19:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53395 -3.669828)'), GeomFromEWKT('SRID=4674;POINT (-38.533894 -3.669899)'))) / (select extract(epoch from '2026-07-18 19:19:15'::timestamp) - extract(epoch from '2026-07-18 19:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53395 -3.669828)'), GeomFromEWKT('SRID=4674;POINT (-38.533894 -3.669899)'))) / (select extract(epoch from '2026-07-18 19:19:15'::timestamp) - extract(epoch from '2026-07-18 19:19: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'), 47391, 'SRID=4674;POINT (-38.533844 -3.669961)', '2026-07-18 19:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533894 -3.669899)'), GeomFromEWKT('SRID=4674;POINT (-38.533844 -3.669961)'))) / (select extract(epoch from '2026-07-18 19:19:20'::timestamp) - extract(epoch from '2026-07-18 19:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533894 -3.669899)'), GeomFromEWKT('SRID=4674;POINT (-38.533844 -3.669961)'))) / (select extract(epoch from '2026-07-18 19:19:20'::timestamp) - extract(epoch from '2026-07-18 19:19: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'), 47391, 'SRID=4674;POINT (-38.533761 -3.67004)', '2026-07-18 19:19:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533844 -3.669961)'), GeomFromEWKT('SRID=4674;POINT (-38.533761 -3.67004)'))) / (select extract(epoch from '2026-07-18 19:19:28'::timestamp) - extract(epoch from '2026-07-18 19:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533844 -3.669961)'), GeomFromEWKT('SRID=4674;POINT (-38.533761 -3.67004)'))) / (select extract(epoch from '2026-07-18 19:19:28'::timestamp) - extract(epoch from '2026-07-18 19:19: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'), 47391, 'SRID=4674;POINT (-38.533747 -3.670063)', '2026-07-18 19:19:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533761 -3.67004)'), GeomFromEWKT('SRID=4674;POINT (-38.533747 -3.670063)'))) / (select extract(epoch from '2026-07-18 19:19:30'::timestamp) - extract(epoch from '2026-07-18 19:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533761 -3.67004)'), GeomFromEWKT('SRID=4674;POINT (-38.533747 -3.670063)'))) / (select extract(epoch from '2026-07-18 19:19:30'::timestamp) - extract(epoch from '2026-07-18 19:19: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'), 47391, 'SRID=4674;POINT (-38.533719 -3.670095)', '2026-07-18 19:19:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533747 -3.670063)'), GeomFromEWKT('SRID=4674;POINT (-38.533719 -3.670095)'))) / (select extract(epoch from '2026-07-18 19:19:33'::timestamp) - extract(epoch from '2026-07-18 19:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533747 -3.670063)'), GeomFromEWKT('SRID=4674;POINT (-38.533719 -3.670095)'))) / (select extract(epoch from '2026-07-18 19:19:33'::timestamp) - extract(epoch from '2026-07-18 19:19: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'), 47391, 'SRID=4674;POINT (-38.533671 -3.670168)', '2026-07-18 19:19:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533719 -3.670095)'), GeomFromEWKT('SRID=4674;POINT (-38.533671 -3.670168)'))) / (select extract(epoch from '2026-07-18 19:19:39'::timestamp) - extract(epoch from '2026-07-18 19:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533719 -3.670095)'), GeomFromEWKT('SRID=4674;POINT (-38.533671 -3.670168)'))) / (select extract(epoch from '2026-07-18 19:19:39'::timestamp) - extract(epoch from '2026-07-18 19:19: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'), 47391, 'SRID=4674;POINT (-38.533668 -3.670181)', '2026-07-18 19:19:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533671 -3.670168)'), GeomFromEWKT('SRID=4674;POINT (-38.533668 -3.670181)'))) / (select extract(epoch from '2026-07-18 19:19:40'::timestamp) - extract(epoch from '2026-07-18 19:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533671 -3.670168)'), GeomFromEWKT('SRID=4674;POINT (-38.533668 -3.670181)'))) / (select extract(epoch from '2026-07-18 19:19:40'::timestamp) - extract(epoch from '2026-07-18 19:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533631 -3.670228)', '2026-07-18 19:19:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533668 -3.670181)'), GeomFromEWKT('SRID=4674;POINT (-38.533631 -3.670228)'))) / (select extract(epoch from '2026-07-18 19:19:44'::timestamp) - extract(epoch from '2026-07-18 19:19:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533668 -3.670181)'), GeomFromEWKT('SRID=4674;POINT (-38.533631 -3.670228)'))) / (select extract(epoch from '2026-07-18 19:19:44'::timestamp) - extract(epoch from '2026-07-18 19:19: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'), 47391, 'SRID=4674;POINT (-38.533617 -3.67025)', '2026-07-18 19:19:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533631 -3.670228)'), GeomFromEWKT('SRID=4674;POINT (-38.533617 -3.67025)'))) / (select extract(epoch from '2026-07-18 19:19:46'::timestamp) - extract(epoch from '2026-07-18 19:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533631 -3.670228)'), GeomFromEWKT('SRID=4674;POINT (-38.533617 -3.67025)'))) / (select extract(epoch from '2026-07-18 19:19:46'::timestamp) - extract(epoch from '2026-07-18 19:19: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'), 47391, 'SRID=4674;POINT (-38.533559 -3.670329)', '2026-07-18 19:19:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533617 -3.67025)'), GeomFromEWKT('SRID=4674;POINT (-38.533559 -3.670329)'))) / (select extract(epoch from '2026-07-18 19:19:52'::timestamp) - extract(epoch from '2026-07-18 19:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533617 -3.67025)'), GeomFromEWKT('SRID=4674;POINT (-38.533559 -3.670329)'))) / (select extract(epoch from '2026-07-18 19:19:52'::timestamp) - extract(epoch from '2026-07-18 19:19:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533484 -3.670431)', '2026-07-18 19:19:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533559 -3.670329)'), GeomFromEWKT('SRID=4674;POINT (-38.533484 -3.670431)'))) / (select extract(epoch from '2026-07-18 19:19:59'::timestamp) - extract(epoch from '2026-07-18 19:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533559 -3.670329)'), GeomFromEWKT('SRID=4674;POINT (-38.533484 -3.670431)'))) / (select extract(epoch from '2026-07-18 19:19:59'::timestamp) - extract(epoch from '2026-07-18 19:19:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533429 -3.670508)', '2026-07-18 19:20:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533484 -3.670431)'), GeomFromEWKT('SRID=4674;POINT (-38.533429 -3.670508)'))) / (select extract(epoch from '2026-07-18 19:20:05'::timestamp) - extract(epoch from '2026-07-18 19:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533484 -3.670431)'), GeomFromEWKT('SRID=4674;POINT (-38.533429 -3.670508)'))) / (select extract(epoch from '2026-07-18 19:20:05'::timestamp) - extract(epoch from '2026-07-18 19:19: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'), 47391, 'SRID=4674;POINT (-38.533397 -3.670539)', '2026-07-18 19:20:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533429 -3.670508)'), GeomFromEWKT('SRID=4674;POINT (-38.533397 -3.670539)'))) / (select extract(epoch from '2026-07-18 19:20:09'::timestamp) - extract(epoch from '2026-07-18 19:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533429 -3.670508)'), GeomFromEWKT('SRID=4674;POINT (-38.533397 -3.670539)'))) / (select extract(epoch from '2026-07-18 19:20:09'::timestamp) - extract(epoch from '2026-07-18 19:20: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'), 47391, 'SRID=4674;POINT (-38.533392 -3.670549)', '2026-07-18 19:20:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533397 -3.670539)'), GeomFromEWKT('SRID=4674;POINT (-38.533392 -3.670549)'))) / (select extract(epoch from '2026-07-18 19:20:10'::timestamp) - extract(epoch from '2026-07-18 19:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533397 -3.670539)'), GeomFromEWKT('SRID=4674;POINT (-38.533392 -3.670549)'))) / (select extract(epoch from '2026-07-18 19:20:10'::timestamp) - extract(epoch from '2026-07-18 19:20: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'), 47391, 'SRID=4674;POINT (-38.533339 -3.670612)', '2026-07-18 19:20:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533392 -3.670549)'), GeomFromEWKT('SRID=4674;POINT (-38.533339 -3.670612)'))) / (select extract(epoch from '2026-07-18 19:20:17'::timestamp) - extract(epoch from '2026-07-18 19:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533392 -3.670549)'), GeomFromEWKT('SRID=4674;POINT (-38.533339 -3.670612)'))) / (select extract(epoch from '2026-07-18 19:20:17'::timestamp) - extract(epoch from '2026-07-18 19:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533276 -3.670678)', '2026-07-18 19:20:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533339 -3.670612)'), GeomFromEWKT('SRID=4674;POINT (-38.533276 -3.670678)'))) / (select extract(epoch from '2026-07-18 19:20:23'::timestamp) - extract(epoch from '2026-07-18 19:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533339 -3.670612)'), GeomFromEWKT('SRID=4674;POINT (-38.533276 -3.670678)'))) / (select extract(epoch from '2026-07-18 19:20:23'::timestamp) - extract(epoch from '2026-07-18 19:20:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533237 -3.670738)', '2026-07-18 19:20:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533276 -3.670678)'), GeomFromEWKT('SRID=4674;POINT (-38.533237 -3.670738)'))) / (select extract(epoch from '2026-07-18 19:20:28'::timestamp) - extract(epoch from '2026-07-18 19:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533276 -3.670678)'), GeomFromEWKT('SRID=4674;POINT (-38.533237 -3.670738)'))) / (select extract(epoch from '2026-07-18 19:20:28'::timestamp) - extract(epoch from '2026-07-18 19:20: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'), 47391, 'SRID=4674;POINT (-38.533229 -3.670751)', '2026-07-18 19:20:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533237 -3.670738)'), GeomFromEWKT('SRID=4674;POINT (-38.533229 -3.670751)'))) / (select extract(epoch from '2026-07-18 19:20:29'::timestamp) - extract(epoch from '2026-07-18 19:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533237 -3.670738)'), GeomFromEWKT('SRID=4674;POINT (-38.533229 -3.670751)'))) / (select extract(epoch from '2026-07-18 19:20:29'::timestamp) - extract(epoch from '2026-07-18 19:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533163 -3.670847)', '2026-07-18 19:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533229 -3.670751)'), GeomFromEWKT('SRID=4674;POINT (-38.533163 -3.670847)'))) / (select extract(epoch from '2026-07-18 19:20:37'::timestamp) - extract(epoch from '2026-07-18 19:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533229 -3.670751)'), GeomFromEWKT('SRID=4674;POINT (-38.533163 -3.670847)'))) / (select extract(epoch from '2026-07-18 19:20:37'::timestamp) - extract(epoch from '2026-07-18 19:20: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'), 47391, 'SRID=4674;POINT (-38.533112 -3.670931)', '2026-07-18 19:20:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533163 -3.670847)'), GeomFromEWKT('SRID=4674;POINT (-38.533112 -3.670931)'))) / (select extract(epoch from '2026-07-18 19:20:44'::timestamp) - extract(epoch from '2026-07-18 19:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533163 -3.670847)'), GeomFromEWKT('SRID=4674;POINT (-38.533112 -3.670931)'))) / (select extract(epoch from '2026-07-18 19:20:44'::timestamp) - extract(epoch from '2026-07-18 19:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.533052 -3.671009)', '2026-07-18 19:20:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533112 -3.670931)'), GeomFromEWKT('SRID=4674;POINT (-38.533052 -3.671009)'))) / (select extract(epoch from '2026-07-18 19:20:50'::timestamp) - extract(epoch from '2026-07-18 19:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533112 -3.670931)'), GeomFromEWKT('SRID=4674;POINT (-38.533052 -3.671009)'))) / (select extract(epoch from '2026-07-18 19:20:50'::timestamp) - extract(epoch from '2026-07-18 19:20: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'), 47391, 'SRID=4674;POINT (-38.533009 -3.671099)', '2026-07-18 19:20:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533052 -3.671009)'), GeomFromEWKT('SRID=4674;POINT (-38.533009 -3.671099)'))) / (select extract(epoch from '2026-07-18 19:20:56'::timestamp) - extract(epoch from '2026-07-18 19:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533052 -3.671009)'), GeomFromEWKT('SRID=4674;POINT (-38.533009 -3.671099)'))) / (select extract(epoch from '2026-07-18 19:20:56'::timestamp) - extract(epoch from '2026-07-18 19:20:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532964 -3.671165)', '2026-07-18 19:21:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533009 -3.671099)'), GeomFromEWKT('SRID=4674;POINT (-38.532964 -3.671165)'))) / (select extract(epoch from '2026-07-18 19:21:01'::timestamp) - extract(epoch from '2026-07-18 19:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533009 -3.671099)'), GeomFromEWKT('SRID=4674;POINT (-38.532964 -3.671165)'))) / (select extract(epoch from '2026-07-18 19:21:01'::timestamp) - extract(epoch from '2026-07-18 19:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532892 -3.671249)', '2026-07-18 19:21:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532964 -3.671165)'), GeomFromEWKT('SRID=4674;POINT (-38.532892 -3.671249)'))) / (select extract(epoch from '2026-07-18 19:21:08'::timestamp) - extract(epoch from '2026-07-18 19:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532964 -3.671165)'), GeomFromEWKT('SRID=4674;POINT (-38.532892 -3.671249)'))) / (select extract(epoch from '2026-07-18 19:21:08'::timestamp) - extract(epoch from '2026-07-18 19:21: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'), 47391, 'SRID=4674;POINT (-38.532818 -3.671305)', '2026-07-18 19:21:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532892 -3.671249)'), GeomFromEWKT('SRID=4674;POINT (-38.532818 -3.671305)'))) / (select extract(epoch from '2026-07-18 19:21:14'::timestamp) - extract(epoch from '2026-07-18 19:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532892 -3.671249)'), GeomFromEWKT('SRID=4674;POINT (-38.532818 -3.671305)'))) / (select extract(epoch from '2026-07-18 19:21:14'::timestamp) - extract(epoch from '2026-07-18 19:21: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'), 47391, 'SRID=4674;POINT (-38.532812 -3.671316)', '2026-07-18 19:21:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532818 -3.671305)'), GeomFromEWKT('SRID=4674;POINT (-38.532812 -3.671316)'))) / (select extract(epoch from '2026-07-18 19:21:15'::timestamp) - extract(epoch from '2026-07-18 19:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532818 -3.671305)'), GeomFromEWKT('SRID=4674;POINT (-38.532812 -3.671316)'))) / (select extract(epoch from '2026-07-18 19:21:15'::timestamp) - extract(epoch from '2026-07-18 19:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532766 -3.671354)', '2026-07-18 19:21:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532812 -3.671316)'), GeomFromEWKT('SRID=4674;POINT (-38.532766 -3.671354)'))) / (select extract(epoch from '2026-07-18 19:21:19'::timestamp) - extract(epoch from '2026-07-18 19:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532812 -3.671316)'), GeomFromEWKT('SRID=4674;POINT (-38.532766 -3.671354)'))) / (select extract(epoch from '2026-07-18 19:21:19'::timestamp) - extract(epoch from '2026-07-18 19:21: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'), 47391, 'SRID=4674;POINT (-38.532706 -3.6714)', '2026-07-18 19:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532766 -3.671354)'), GeomFromEWKT('SRID=4674;POINT (-38.532706 -3.6714)'))) / (select extract(epoch from '2026-07-18 19:21:24'::timestamp) - extract(epoch from '2026-07-18 19:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532766 -3.671354)'), GeomFromEWKT('SRID=4674;POINT (-38.532706 -3.6714)'))) / (select extract(epoch from '2026-07-18 19:21:24'::timestamp) - extract(epoch from '2026-07-18 19:21:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532675 -3.671416)', '2026-07-18 19:21:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532706 -3.6714)'), GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.671416)'))) / (select extract(epoch from '2026-07-18 19:21:26'::timestamp) - extract(epoch from '2026-07-18 19:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532706 -3.6714)'), GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.671416)'))) / (select extract(epoch from '2026-07-18 19:21:26'::timestamp) - extract(epoch from '2026-07-18 19:21: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'), 47391, 'SRID=4674;POINT (-38.532648 -3.671438)', '2026-07-18 19:21:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.671416)'), GeomFromEWKT('SRID=4674;POINT (-38.532648 -3.671438)'))) / (select extract(epoch from '2026-07-18 19:21:28'::timestamp) - extract(epoch from '2026-07-18 19:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532675 -3.671416)'), GeomFromEWKT('SRID=4674;POINT (-38.532648 -3.671438)'))) / (select extract(epoch from '2026-07-18 19:21:28'::timestamp) - extract(epoch from '2026-07-18 19:21: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'), 47391, 'SRID=4674;POINT (-38.532603 -3.67149)', '2026-07-18 19:21:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532648 -3.671438)'), GeomFromEWKT('SRID=4674;POINT (-38.532603 -3.67149)'))) / (select extract(epoch from '2026-07-18 19:21:32'::timestamp) - extract(epoch from '2026-07-18 19:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532648 -3.671438)'), GeomFromEWKT('SRID=4674;POINT (-38.532603 -3.67149)'))) / (select extract(epoch from '2026-07-18 19:21:32'::timestamp) - extract(epoch from '2026-07-18 19:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532574 -3.671514)', '2026-07-18 19:21:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532603 -3.67149)'), GeomFromEWKT('SRID=4674;POINT (-38.532574 -3.671514)'))) / (select extract(epoch from '2026-07-18 19:21:34'::timestamp) - extract(epoch from '2026-07-18 19:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532603 -3.67149)'), GeomFromEWKT('SRID=4674;POINT (-38.532574 -3.671514)'))) / (select extract(epoch from '2026-07-18 19:21:34'::timestamp) - extract(epoch from '2026-07-18 19:21: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'), 47391, 'SRID=4674;POINT (-38.532543 -3.67157)', '2026-07-18 19:21:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532574 -3.671514)'), GeomFromEWKT('SRID=4674;POINT (-38.532543 -3.67157)'))) / (select extract(epoch from '2026-07-18 19:21:38'::timestamp) - extract(epoch from '2026-07-18 19:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532574 -3.671514)'), GeomFromEWKT('SRID=4674;POINT (-38.532543 -3.67157)'))) / (select extract(epoch from '2026-07-18 19:21:38'::timestamp) - extract(epoch from '2026-07-18 19:21: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'), 47391, 'SRID=4674;POINT (-38.532507 -3.671639)', '2026-07-18 19:21:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532543 -3.67157)'), GeomFromEWKT('SRID=4674;POINT (-38.532507 -3.671639)'))) / (select extract(epoch from '2026-07-18 19:21:44'::timestamp) - extract(epoch from '2026-07-18 19:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532543 -3.67157)'), GeomFromEWKT('SRID=4674;POINT (-38.532507 -3.671639)'))) / (select extract(epoch from '2026-07-18 19:21:44'::timestamp) - extract(epoch from '2026-07-18 19:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532469 -3.671713)', '2026-07-18 19:21:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532507 -3.671639)'), GeomFromEWKT('SRID=4674;POINT (-38.532469 -3.671713)'))) / (select extract(epoch from '2026-07-18 19:21:50'::timestamp) - extract(epoch from '2026-07-18 19:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532507 -3.671639)'), GeomFromEWKT('SRID=4674;POINT (-38.532469 -3.671713)'))) / (select extract(epoch from '2026-07-18 19:21:50'::timestamp) - extract(epoch from '2026-07-18 19:21: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'), 47391, 'SRID=4674;POINT (-38.532441 -3.671773)', '2026-07-18 19:21:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532469 -3.671713)'), GeomFromEWKT('SRID=4674;POINT (-38.532441 -3.671773)'))) / (select extract(epoch from '2026-07-18 19:21:54'::timestamp) - extract(epoch from '2026-07-18 19:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532469 -3.671713)'), GeomFromEWKT('SRID=4674;POINT (-38.532441 -3.671773)'))) / (select extract(epoch from '2026-07-18 19:21:54'::timestamp) - extract(epoch from '2026-07-18 19:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.53243 -3.671787)', '2026-07-18 19:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532441 -3.671773)'), GeomFromEWKT('SRID=4674;POINT (-38.53243 -3.671787)'))) / (select extract(epoch from '2026-07-18 19:21:55'::timestamp) - extract(epoch from '2026-07-18 19:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532441 -3.671773)'), GeomFromEWKT('SRID=4674;POINT (-38.53243 -3.671787)'))) / (select extract(epoch from '2026-07-18 19:21:55'::timestamp) - extract(epoch from '2026-07-18 19:21: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'), 47391, 'SRID=4674;POINT (-38.532426 -3.671801)', '2026-07-18 19:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53243 -3.671787)'), GeomFromEWKT('SRID=4674;POINT (-38.532426 -3.671801)'))) / (select extract(epoch from '2026-07-18 19:21:56'::timestamp) - extract(epoch from '2026-07-18 19:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53243 -3.671787)'), GeomFromEWKT('SRID=4674;POINT (-38.532426 -3.671801)'))) / (select extract(epoch from '2026-07-18 19:21:56'::timestamp) - extract(epoch from '2026-07-18 19:21: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'), 47391, 'SRID=4674;POINT (-38.532393 -3.671856)', '2026-07-18 19:22:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532426 -3.671801)'), GeomFromEWKT('SRID=4674;POINT (-38.532393 -3.671856)'))) / (select extract(epoch from '2026-07-18 19:22:00'::timestamp) - extract(epoch from '2026-07-18 19:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532426 -3.671801)'), GeomFromEWKT('SRID=4674;POINT (-38.532393 -3.671856)'))) / (select extract(epoch from '2026-07-18 19:22:00'::timestamp) - extract(epoch from '2026-07-18 19:21: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'), 47391, 'SRID=4674;POINT (-38.53234 -3.671932)', '2026-07-18 19:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532393 -3.671856)'), GeomFromEWKT('SRID=4674;POINT (-38.53234 -3.671932)'))) / (select extract(epoch from '2026-07-18 19:22:06'::timestamp) - extract(epoch from '2026-07-18 19:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532393 -3.671856)'), GeomFromEWKT('SRID=4674;POINT (-38.53234 -3.671932)'))) / (select extract(epoch from '2026-07-18 19:22:06'::timestamp) - extract(epoch from '2026-07-18 19:22: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'), 47391, 'SRID=4674;POINT (-38.532319 -3.671962)', '2026-07-18 19:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53234 -3.671932)'), GeomFromEWKT('SRID=4674;POINT (-38.532319 -3.671962)'))) / (select extract(epoch from '2026-07-18 19:22:09'::timestamp) - extract(epoch from '2026-07-18 19:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53234 -3.671932)'), GeomFromEWKT('SRID=4674;POINT (-38.532319 -3.671962)'))) / (select extract(epoch from '2026-07-18 19:22:09'::timestamp) - extract(epoch from '2026-07-18 19:22: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'), 47391, 'SRID=4674;POINT (-38.532299 -3.671991)', '2026-07-18 19:22:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532319 -3.671962)'), GeomFromEWKT('SRID=4674;POINT (-38.532299 -3.671991)'))) / (select extract(epoch from '2026-07-18 19:22:12'::timestamp) - extract(epoch from '2026-07-18 19:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532319 -3.671962)'), GeomFromEWKT('SRID=4674;POINT (-38.532299 -3.671991)'))) / (select extract(epoch from '2026-07-18 19:22:12'::timestamp) - extract(epoch from '2026-07-18 19:22:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532258 -3.672043)', '2026-07-18 19:22:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532299 -3.671991)'), GeomFromEWKT('SRID=4674;POINT (-38.532258 -3.672043)'))) / (select extract(epoch from '2026-07-18 19:22:18'::timestamp) - extract(epoch from '2026-07-18 19:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532299 -3.671991)'), GeomFromEWKT('SRID=4674;POINT (-38.532258 -3.672043)'))) / (select extract(epoch from '2026-07-18 19:22:18'::timestamp) - extract(epoch from '2026-07-18 19:22: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'), 47391, 'SRID=4674;POINT (-38.532197 -3.672118)', '2026-07-18 19:22:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532258 -3.672043)'), GeomFromEWKT('SRID=4674;POINT (-38.532197 -3.672118)'))) / (select extract(epoch from '2026-07-18 19:22:25'::timestamp) - extract(epoch from '2026-07-18 19:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532258 -3.672043)'), GeomFromEWKT('SRID=4674;POINT (-38.532197 -3.672118)'))) / (select extract(epoch from '2026-07-18 19:22:25'::timestamp) - extract(epoch from '2026-07-18 19:22: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'), 47391, 'SRID=4674;POINT (-38.532167 -3.672158)', '2026-07-18 19:22:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532197 -3.672118)'), GeomFromEWKT('SRID=4674;POINT (-38.532167 -3.672158)'))) / (select extract(epoch from '2026-07-18 19:22:28'::timestamp) - extract(epoch from '2026-07-18 19:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532197 -3.672118)'), GeomFromEWKT('SRID=4674;POINT (-38.532167 -3.672158)'))) / (select extract(epoch from '2026-07-18 19:22:28'::timestamp) - extract(epoch from '2026-07-18 19:22: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'), 47391, 'SRID=4674;POINT (-38.532146 -3.672183)', '2026-07-18 19:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532167 -3.672158)'), GeomFromEWKT('SRID=4674;POINT (-38.532146 -3.672183)'))) / (select extract(epoch from '2026-07-18 19:22:30'::timestamp) - extract(epoch from '2026-07-18 19:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532167 -3.672158)'), GeomFromEWKT('SRID=4674;POINT (-38.532146 -3.672183)'))) / (select extract(epoch from '2026-07-18 19:22:30'::timestamp) - extract(epoch from '2026-07-18 19:22: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'), 47391, 'SRID=4674;POINT (-38.53209 -3.672233)', '2026-07-18 19:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532146 -3.672183)'), GeomFromEWKT('SRID=4674;POINT (-38.53209 -3.672233)'))) / (select extract(epoch from '2026-07-18 19:22:35'::timestamp) - extract(epoch from '2026-07-18 19:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532146 -3.672183)'), GeomFromEWKT('SRID=4674;POINT (-38.53209 -3.672233)'))) / (select extract(epoch from '2026-07-18 19:22:35'::timestamp) - extract(epoch from '2026-07-18 19:22: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'), 47391, 'SRID=4674;POINT (-38.53206 -3.672271)', '2026-07-18 19:22:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53209 -3.672233)'), GeomFromEWKT('SRID=4674;POINT (-38.53206 -3.672271)'))) / (select extract(epoch from '2026-07-18 19:22:38'::timestamp) - extract(epoch from '2026-07-18 19:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53209 -3.672233)'), GeomFromEWKT('SRID=4674;POINT (-38.53206 -3.672271)'))) / (select extract(epoch from '2026-07-18 19:22:38'::timestamp) - extract(epoch from '2026-07-18 19:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.532044 -3.672296)', '2026-07-18 19:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53206 -3.672271)'), GeomFromEWKT('SRID=4674;POINT (-38.532044 -3.672296)'))) / (select extract(epoch from '2026-07-18 19:22:40'::timestamp) - extract(epoch from '2026-07-18 19:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53206 -3.672271)'), GeomFromEWKT('SRID=4674;POINT (-38.532044 -3.672296)'))) / (select extract(epoch from '2026-07-18 19:22:40'::timestamp) - extract(epoch from '2026-07-18 19:22: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'), 47391, 'SRID=4674;POINT (-38.532028 -3.672307)', '2026-07-18 19:22:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532044 -3.672296)'), GeomFromEWKT('SRID=4674;POINT (-38.532028 -3.672307)'))) / (select extract(epoch from '2026-07-18 19:22:41'::timestamp) - extract(epoch from '2026-07-18 19:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532044 -3.672296)'), GeomFromEWKT('SRID=4674;POINT (-38.532028 -3.672307)'))) / (select extract(epoch from '2026-07-18 19:22:41'::timestamp) - extract(epoch from '2026-07-18 19:22: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'), 47391, 'SRID=4674;POINT (-38.531936 -3.67238)', '2026-07-18 19:22:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532028 -3.672307)'), GeomFromEWKT('SRID=4674;POINT (-38.531936 -3.67238)'))) / (select extract(epoch from '2026-07-18 19:22:48'::timestamp) - extract(epoch from '2026-07-18 19:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532028 -3.672307)'), GeomFromEWKT('SRID=4674;POINT (-38.531936 -3.67238)'))) / (select extract(epoch from '2026-07-18 19:22:48'::timestamp) - extract(epoch from '2026-07-18 19:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531838 -3.672476)', '2026-07-18 19:22:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531936 -3.67238)'), GeomFromEWKT('SRID=4674;POINT (-38.531838 -3.672476)'))) / (select extract(epoch from '2026-07-18 19:22:56'::timestamp) - extract(epoch from '2026-07-18 19:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531936 -3.67238)'), GeomFromEWKT('SRID=4674;POINT (-38.531838 -3.672476)'))) / (select extract(epoch from '2026-07-18 19:22:56'::timestamp) - extract(epoch from '2026-07-18 19:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531782 -3.672552)', '2026-07-18 19:23:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531838 -3.672476)'), GeomFromEWKT('SRID=4674;POINT (-38.531782 -3.672552)'))) / (select extract(epoch from '2026-07-18 19:23:02'::timestamp) - extract(epoch from '2026-07-18 19:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531838 -3.672476)'), GeomFromEWKT('SRID=4674;POINT (-38.531782 -3.672552)'))) / (select extract(epoch from '2026-07-18 19:23:02'::timestamp) - extract(epoch from '2026-07-18 19:22: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'), 47391, 'SRID=4674;POINT (-38.531724 -3.672639)', '2026-07-18 19:23:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531782 -3.672552)'), GeomFromEWKT('SRID=4674;POINT (-38.531724 -3.672639)'))) / (select extract(epoch from '2026-07-18 19:23:09'::timestamp) - extract(epoch from '2026-07-18 19:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531782 -3.672552)'), GeomFromEWKT('SRID=4674;POINT (-38.531724 -3.672639)'))) / (select extract(epoch from '2026-07-18 19:23:09'::timestamp) - extract(epoch from '2026-07-18 19:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531689 -3.672701)', '2026-07-18 19:23:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531724 -3.672639)'), GeomFromEWKT('SRID=4674;POINT (-38.531689 -3.672701)'))) / (select extract(epoch from '2026-07-18 19:23:15'::timestamp) - extract(epoch from '2026-07-18 19:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531724 -3.672639)'), GeomFromEWKT('SRID=4674;POINT (-38.531689 -3.672701)'))) / (select extract(epoch from '2026-07-18 19:23:15'::timestamp) - extract(epoch from '2026-07-18 19:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531636 -3.672781)', '2026-07-18 19:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531689 -3.672701)'), GeomFromEWKT('SRID=4674;POINT (-38.531636 -3.672781)'))) / (select extract(epoch from '2026-07-18 19:23:22'::timestamp) - extract(epoch from '2026-07-18 19:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531689 -3.672701)'), GeomFromEWKT('SRID=4674;POINT (-38.531636 -3.672781)'))) / (select extract(epoch from '2026-07-18 19:23:22'::timestamp) - extract(epoch from '2026-07-18 19:23: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'), 47391, 'SRID=4674;POINT (-38.531572 -3.67288)', '2026-07-18 19:23:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531636 -3.672781)'), GeomFromEWKT('SRID=4674;POINT (-38.531572 -3.67288)'))) / (select extract(epoch from '2026-07-18 19:23:30'::timestamp) - extract(epoch from '2026-07-18 19:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531636 -3.672781)'), GeomFromEWKT('SRID=4674;POINT (-38.531572 -3.67288)'))) / (select extract(epoch from '2026-07-18 19:23:30'::timestamp) - extract(epoch from '2026-07-18 19:23: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'), 47391, 'SRID=4674;POINT (-38.531501 -3.672965)', '2026-07-18 19:23:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531572 -3.67288)'), GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.672965)'))) / (select extract(epoch from '2026-07-18 19:23:37'::timestamp) - extract(epoch from '2026-07-18 19:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531572 -3.67288)'), GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.672965)'))) / (select extract(epoch from '2026-07-18 19:23:37'::timestamp) - extract(epoch from '2026-07-18 19:23: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'), 47391, 'SRID=4674;POINT (-38.531462 -3.673028)', '2026-07-18 19:23:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.672965)'), GeomFromEWKT('SRID=4674;POINT (-38.531462 -3.673028)'))) / (select extract(epoch from '2026-07-18 19:23:42'::timestamp) - extract(epoch from '2026-07-18 19:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531501 -3.672965)'), GeomFromEWKT('SRID=4674;POINT (-38.531462 -3.673028)'))) / (select extract(epoch from '2026-07-18 19:23:42'::timestamp) - extract(epoch from '2026-07-18 19:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531446 -3.673049)', '2026-07-18 19:23:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531462 -3.673028)'), GeomFromEWKT('SRID=4674;POINT (-38.531446 -3.673049)'))) / (select extract(epoch from '2026-07-18 19:23:44'::timestamp) - extract(epoch from '2026-07-18 19:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531462 -3.673028)'), GeomFromEWKT('SRID=4674;POINT (-38.531446 -3.673049)'))) / (select extract(epoch from '2026-07-18 19:23:44'::timestamp) - extract(epoch from '2026-07-18 19:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531385 -3.673162)', '2026-07-18 19:23:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531446 -3.673049)'), GeomFromEWKT('SRID=4674;POINT (-38.531385 -3.673162)'))) / (select extract(epoch from '2026-07-18 19:23:52'::timestamp) - extract(epoch from '2026-07-18 19:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531446 -3.673049)'), GeomFromEWKT('SRID=4674;POINT (-38.531385 -3.673162)'))) / (select extract(epoch from '2026-07-18 19:23:52'::timestamp) - extract(epoch from '2026-07-18 19:23: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'), 47391, 'SRID=4674;POINT (-38.531338 -3.673263)', '2026-07-18 19:23:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531385 -3.673162)'), GeomFromEWKT('SRID=4674;POINT (-38.531338 -3.673263)'))) / (select extract(epoch from '2026-07-18 19:23:59'::timestamp) - extract(epoch from '2026-07-18 19:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531385 -3.673162)'), GeomFromEWKT('SRID=4674;POINT (-38.531338 -3.673263)'))) / (select extract(epoch from '2026-07-18 19:23:59'::timestamp) - extract(epoch from '2026-07-18 19:23: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'), 47391, 'SRID=4674;POINT (-38.531298 -3.673349)', '2026-07-18 19:24:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531338 -3.673263)'), GeomFromEWKT('SRID=4674;POINT (-38.531298 -3.673349)'))) / (select extract(epoch from '2026-07-18 19:24:05'::timestamp) - extract(epoch from '2026-07-18 19:23:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531338 -3.673263)'), GeomFromEWKT('SRID=4674;POINT (-38.531298 -3.673349)'))) / (select extract(epoch from '2026-07-18 19:24:05'::timestamp) - extract(epoch from '2026-07-18 19:23: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'), 47391, 'SRID=4674;POINT (-38.531259 -3.673421)', '2026-07-18 19:24:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531298 -3.673349)'), GeomFromEWKT('SRID=4674;POINT (-38.531259 -3.673421)'))) / (select extract(epoch from '2026-07-18 19:24:10'::timestamp) - extract(epoch from '2026-07-18 19:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531298 -3.673349)'), GeomFromEWKT('SRID=4674;POINT (-38.531259 -3.673421)'))) / (select extract(epoch from '2026-07-18 19:24:10'::timestamp) - extract(epoch from '2026-07-18 19:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5312 -3.673485)', '2026-07-18 19:24:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531259 -3.673421)'), GeomFromEWKT('SRID=4674;POINT (-38.5312 -3.673485)'))) / (select extract(epoch from '2026-07-18 19:24:15'::timestamp) - extract(epoch from '2026-07-18 19:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531259 -3.673421)'), GeomFromEWKT('SRID=4674;POINT (-38.5312 -3.673485)'))) / (select extract(epoch from '2026-07-18 19:24:15'::timestamp) - extract(epoch from '2026-07-18 19:24: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'), 47391, 'SRID=4674;POINT (-38.531133 -3.673586)', '2026-07-18 19:24:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5312 -3.673485)'), GeomFromEWKT('SRID=4674;POINT (-38.531133 -3.673586)'))) / (select extract(epoch from '2026-07-18 19:24:23'::timestamp) - extract(epoch from '2026-07-18 19:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5312 -3.673485)'), GeomFromEWKT('SRID=4674;POINT (-38.531133 -3.673586)'))) / (select extract(epoch from '2026-07-18 19:24:23'::timestamp) - extract(epoch from '2026-07-18 19:24:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531119 -3.673626)', '2026-07-18 19:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531133 -3.673586)'), GeomFromEWKT('SRID=4674;POINT (-38.531119 -3.673626)'))) / (select extract(epoch from '2026-07-18 19:24:26'::timestamp) - extract(epoch from '2026-07-18 19:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531133 -3.673586)'), GeomFromEWKT('SRID=4674;POINT (-38.531119 -3.673626)'))) / (select extract(epoch from '2026-07-18 19:24:26'::timestamp) - extract(epoch from '2026-07-18 19:24: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'), 47391, 'SRID=4674;POINT (-38.531091 -3.673659)', '2026-07-18 19:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531119 -3.673626)'), GeomFromEWKT('SRID=4674;POINT (-38.531091 -3.673659)'))) / (select extract(epoch from '2026-07-18 19:24:29'::timestamp) - extract(epoch from '2026-07-18 19:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531119 -3.673626)'), GeomFromEWKT('SRID=4674;POINT (-38.531091 -3.673659)'))) / (select extract(epoch from '2026-07-18 19:24:29'::timestamp) - extract(epoch from '2026-07-18 19:24: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'), 47391, 'SRID=4674;POINT (-38.531027 -3.673735)', '2026-07-18 19:24:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531091 -3.673659)'), GeomFromEWKT('SRID=4674;POINT (-38.531027 -3.673735)'))) / (select extract(epoch from '2026-07-18 19:24:35'::timestamp) - extract(epoch from '2026-07-18 19:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531091 -3.673659)'), GeomFromEWKT('SRID=4674;POINT (-38.531027 -3.673735)'))) / (select extract(epoch from '2026-07-18 19:24:35'::timestamp) - extract(epoch from '2026-07-18 19:24:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.531023 -3.673749)', '2026-07-18 19:24:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531027 -3.673735)'), GeomFromEWKT('SRID=4674;POINT (-38.531023 -3.673749)'))) / (select extract(epoch from '2026-07-18 19:24:36'::timestamp) - extract(epoch from '2026-07-18 19:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531027 -3.673735)'), GeomFromEWKT('SRID=4674;POINT (-38.531023 -3.673749)'))) / (select extract(epoch from '2026-07-18 19:24:36'::timestamp) - extract(epoch from '2026-07-18 19:24:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530999 -3.673787)', '2026-07-18 19:24:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531023 -3.673749)'), GeomFromEWKT('SRID=4674;POINT (-38.530999 -3.673787)'))) / (select extract(epoch from '2026-07-18 19:24:39'::timestamp) - extract(epoch from '2026-07-18 19:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531023 -3.673749)'), GeomFromEWKT('SRID=4674;POINT (-38.530999 -3.673787)'))) / (select extract(epoch from '2026-07-18 19:24:39'::timestamp) - extract(epoch from '2026-07-18 19:24:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530944 -3.673873)', '2026-07-18 19:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530999 -3.673787)'), GeomFromEWKT('SRID=4674;POINT (-38.530944 -3.673873)'))) / (select extract(epoch from '2026-07-18 19:24:45'::timestamp) - extract(epoch from '2026-07-18 19:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530999 -3.673787)'), GeomFromEWKT('SRID=4674;POINT (-38.530944 -3.673873)'))) / (select extract(epoch from '2026-07-18 19:24:45'::timestamp) - extract(epoch from '2026-07-18 19:24: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'), 47391, 'SRID=4674;POINT (-38.53089 -3.673956)', '2026-07-18 19:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530944 -3.673873)'), GeomFromEWKT('SRID=4674;POINT (-38.53089 -3.673956)'))) / (select extract(epoch from '2026-07-18 19:24:51'::timestamp) - extract(epoch from '2026-07-18 19:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530944 -3.673873)'), GeomFromEWKT('SRID=4674;POINT (-38.53089 -3.673956)'))) / (select extract(epoch from '2026-07-18 19:24:51'::timestamp) - extract(epoch from '2026-07-18 19:24: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'), 47391, 'SRID=4674;POINT (-38.530835 -3.674054)', '2026-07-18 19:24:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53089 -3.673956)'), GeomFromEWKT('SRID=4674;POINT (-38.530835 -3.674054)'))) / (select extract(epoch from '2026-07-18 19:24:58'::timestamp) - extract(epoch from '2026-07-18 19:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53089 -3.673956)'), GeomFromEWKT('SRID=4674;POINT (-38.530835 -3.674054)'))) / (select extract(epoch from '2026-07-18 19:24:58'::timestamp) - extract(epoch from '2026-07-18 19:24: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'), 47391, 'SRID=4674;POINT (-38.53079 -3.674125)', '2026-07-18 19:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530835 -3.674054)'), GeomFromEWKT('SRID=4674;POINT (-38.53079 -3.674125)'))) / (select extract(epoch from '2026-07-18 19:25:03'::timestamp) - extract(epoch from '2026-07-18 19:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530835 -3.674054)'), GeomFromEWKT('SRID=4674;POINT (-38.53079 -3.674125)'))) / (select extract(epoch from '2026-07-18 19:25:03'::timestamp) - extract(epoch from '2026-07-18 19:24: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'), 47391, 'SRID=4674;POINT (-38.530746 -3.67422)', '2026-07-18 19:25:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53079 -3.674125)'), GeomFromEWKT('SRID=4674;POINT (-38.530746 -3.67422)'))) / (select extract(epoch from '2026-07-18 19:25:10'::timestamp) - extract(epoch from '2026-07-18 19:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53079 -3.674125)'), GeomFromEWKT('SRID=4674;POINT (-38.530746 -3.67422)'))) / (select extract(epoch from '2026-07-18 19:25:10'::timestamp) - extract(epoch from '2026-07-18 19:25: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'), 47391, 'SRID=4674;POINT (-38.530725 -3.67425)', '2026-07-18 19:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530746 -3.67422)'), GeomFromEWKT('SRID=4674;POINT (-38.530725 -3.67425)'))) / (select extract(epoch from '2026-07-18 19:25:13'::timestamp) - extract(epoch from '2026-07-18 19:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530746 -3.67422)'), GeomFromEWKT('SRID=4674;POINT (-38.530725 -3.67425)'))) / (select extract(epoch from '2026-07-18 19:25:13'::timestamp) - extract(epoch from '2026-07-18 19:25:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530706 -3.674269)', '2026-07-18 19:25:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530725 -3.67425)'), GeomFromEWKT('SRID=4674;POINT (-38.530706 -3.674269)'))) / (select extract(epoch from '2026-07-18 19:25:15'::timestamp) - extract(epoch from '2026-07-18 19:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530725 -3.67425)'), GeomFromEWKT('SRID=4674;POINT (-38.530706 -3.674269)'))) / (select extract(epoch from '2026-07-18 19:25:15'::timestamp) - extract(epoch from '2026-07-18 19:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530634 -3.674339)', '2026-07-18 19:25:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530706 -3.674269)'), GeomFromEWKT('SRID=4674;POINT (-38.530634 -3.674339)'))) / (select extract(epoch from '2026-07-18 19:25:21'::timestamp) - extract(epoch from '2026-07-18 19:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530706 -3.674269)'), GeomFromEWKT('SRID=4674;POINT (-38.530634 -3.674339)'))) / (select extract(epoch from '2026-07-18 19:25:21'::timestamp) - extract(epoch from '2026-07-18 19:25: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'), 47391, 'SRID=4674;POINT (-38.530593 -3.674411)', '2026-07-18 19:25:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530634 -3.674339)'), GeomFromEWKT('SRID=4674;POINT (-38.530593 -3.674411)'))) / (select extract(epoch from '2026-07-18 19:25:27'::timestamp) - extract(epoch from '2026-07-18 19:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530634 -3.674339)'), GeomFromEWKT('SRID=4674;POINT (-38.530593 -3.674411)'))) / (select extract(epoch from '2026-07-18 19:25:27'::timestamp) - extract(epoch from '2026-07-18 19:25:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530553 -3.674469)', '2026-07-18 19:25:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530593 -3.674411)'), GeomFromEWKT('SRID=4674;POINT (-38.530553 -3.674469)'))) / (select extract(epoch from '2026-07-18 19:25:32'::timestamp) - extract(epoch from '2026-07-18 19:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530593 -3.674411)'), GeomFromEWKT('SRID=4674;POINT (-38.530553 -3.674469)'))) / (select extract(epoch from '2026-07-18 19:25:32'::timestamp) - extract(epoch from '2026-07-18 19:25: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'), 47391, 'SRID=4674;POINT (-38.530524 -3.674497)', '2026-07-18 19:25:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530553 -3.674469)'), GeomFromEWKT('SRID=4674;POINT (-38.530524 -3.674497)'))) / (select extract(epoch from '2026-07-18 19:25:35'::timestamp) - extract(epoch from '2026-07-18 19:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530553 -3.674469)'), GeomFromEWKT('SRID=4674;POINT (-38.530524 -3.674497)'))) / (select extract(epoch from '2026-07-18 19:25:35'::timestamp) - extract(epoch from '2026-07-18 19:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530517 -3.674522)', '2026-07-18 19:25:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530524 -3.674497)'), GeomFromEWKT('SRID=4674;POINT (-38.530517 -3.674522)'))) / (select extract(epoch from '2026-07-18 19:25:37'::timestamp) - extract(epoch from '2026-07-18 19:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530524 -3.674497)'), GeomFromEWKT('SRID=4674;POINT (-38.530517 -3.674522)'))) / (select extract(epoch from '2026-07-18 19:25:37'::timestamp) - extract(epoch from '2026-07-18 19:25: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'), 47391, 'SRID=4674;POINT (-38.530504 -3.674533)', '2026-07-18 19:25:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530517 -3.674522)'), GeomFromEWKT('SRID=4674;POINT (-38.530504 -3.674533)'))) / (select extract(epoch from '2026-07-18 19:25:38'::timestamp) - extract(epoch from '2026-07-18 19:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530517 -3.674522)'), GeomFromEWKT('SRID=4674;POINT (-38.530504 -3.674533)'))) / (select extract(epoch from '2026-07-18 19:25:38'::timestamp) - extract(epoch from '2026-07-18 19:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530465 -3.674566)', '2026-07-18 19:25:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530504 -3.674533)'), GeomFromEWKT('SRID=4674;POINT (-38.530465 -3.674566)'))) / (select extract(epoch from '2026-07-18 19:25:41'::timestamp) - extract(epoch from '2026-07-18 19:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530504 -3.674533)'), GeomFromEWKT('SRID=4674;POINT (-38.530465 -3.674566)'))) / (select extract(epoch from '2026-07-18 19:25:41'::timestamp) - extract(epoch from '2026-07-18 19:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530453 -3.674579)', '2026-07-18 19:25:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530465 -3.674566)'), GeomFromEWKT('SRID=4674;POINT (-38.530453 -3.674579)'))) / (select extract(epoch from '2026-07-18 19:25:42'::timestamp) - extract(epoch from '2026-07-18 19:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530465 -3.674566)'), GeomFromEWKT('SRID=4674;POINT (-38.530453 -3.674579)'))) / (select extract(epoch from '2026-07-18 19:25:42'::timestamp) - extract(epoch from '2026-07-18 19:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530365 -3.67465)', '2026-07-18 19:25:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530453 -3.674579)'), GeomFromEWKT('SRID=4674;POINT (-38.530365 -3.67465)'))) / (select extract(epoch from '2026-07-18 19:25:48'::timestamp) - extract(epoch from '2026-07-18 19:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530453 -3.674579)'), GeomFromEWKT('SRID=4674;POINT (-38.530365 -3.67465)'))) / (select extract(epoch from '2026-07-18 19:25:48'::timestamp) - extract(epoch from '2026-07-18 19:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530331 -3.674699)', '2026-07-18 19:25:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530365 -3.67465)'), GeomFromEWKT('SRID=4674;POINT (-38.530331 -3.674699)'))) / (select extract(epoch from '2026-07-18 19:25:51'::timestamp) - extract(epoch from '2026-07-18 19:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530365 -3.67465)'), GeomFromEWKT('SRID=4674;POINT (-38.530331 -3.674699)'))) / (select extract(epoch from '2026-07-18 19:25:51'::timestamp) - extract(epoch from '2026-07-18 19:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530296 -3.674723)', '2026-07-18 19:25:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530331 -3.674699)'), GeomFromEWKT('SRID=4674;POINT (-38.530296 -3.674723)'))) / (select extract(epoch from '2026-07-18 19:25:53'::timestamp) - extract(epoch from '2026-07-18 19:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530331 -3.674699)'), GeomFromEWKT('SRID=4674;POINT (-38.530296 -3.674723)'))) / (select extract(epoch from '2026-07-18 19:25:53'::timestamp) - extract(epoch from '2026-07-18 19:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.530206 -3.674812)', '2026-07-18 19:26:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530296 -3.674723)'), GeomFromEWKT('SRID=4674;POINT (-38.530206 -3.674812)'))) / (select extract(epoch from '2026-07-18 19:26:00'::timestamp) - extract(epoch from '2026-07-18 19:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530296 -3.674723)'), GeomFromEWKT('SRID=4674;POINT (-38.530206 -3.674812)'))) / (select extract(epoch from '2026-07-18 19:26:00'::timestamp) - extract(epoch from '2026-07-18 19:25: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'), 47391, 'SRID=4674;POINT (-38.530094 -3.674896)', '2026-07-18 19:26:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530206 -3.674812)'), GeomFromEWKT('SRID=4674;POINT (-38.530094 -3.674896)'))) / (select extract(epoch from '2026-07-18 19:26:09'::timestamp) - extract(epoch from '2026-07-18 19:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530206 -3.674812)'), GeomFromEWKT('SRID=4674;POINT (-38.530094 -3.674896)'))) / (select extract(epoch from '2026-07-18 19:26:09'::timestamp) - extract(epoch from '2026-07-18 19:26: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'), 47391, 'SRID=4674;POINT (-38.529997 -3.674999)', '2026-07-18 19:26:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530094 -3.674896)'), GeomFromEWKT('SRID=4674;POINT (-38.529997 -3.674999)'))) / (select extract(epoch from '2026-07-18 19:26:18'::timestamp) - extract(epoch from '2026-07-18 19:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530094 -3.674896)'), GeomFromEWKT('SRID=4674;POINT (-38.529997 -3.674999)'))) / (select extract(epoch from '2026-07-18 19:26:18'::timestamp) - extract(epoch from '2026-07-18 19:26: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'), 47391, 'SRID=4674;POINT (-38.529935 -3.675076)', '2026-07-18 19:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529997 -3.674999)'), GeomFromEWKT('SRID=4674;POINT (-38.529935 -3.675076)'))) / (select extract(epoch from '2026-07-18 19:26:24'::timestamp) - extract(epoch from '2026-07-18 19:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529997 -3.674999)'), GeomFromEWKT('SRID=4674;POINT (-38.529935 -3.675076)'))) / (select extract(epoch from '2026-07-18 19:26:24'::timestamp) - extract(epoch from '2026-07-18 19:26: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'), 47391, 'SRID=4674;POINT (-38.529863 -3.675143)', '2026-07-18 19:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529935 -3.675076)'), GeomFromEWKT('SRID=4674;POINT (-38.529863 -3.675143)'))) / (select extract(epoch from '2026-07-18 19:26:30'::timestamp) - extract(epoch from '2026-07-18 19:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529935 -3.675076)'), GeomFromEWKT('SRID=4674;POINT (-38.529863 -3.675143)'))) / (select extract(epoch from '2026-07-18 19:26:30'::timestamp) - extract(epoch from '2026-07-18 19:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529857 -3.675153)', '2026-07-18 19:26:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529863 -3.675143)'), GeomFromEWKT('SRID=4674;POINT (-38.529857 -3.675153)'))) / (select extract(epoch from '2026-07-18 19:26:31'::timestamp) - extract(epoch from '2026-07-18 19:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529863 -3.675143)'), GeomFromEWKT('SRID=4674;POINT (-38.529857 -3.675153)'))) / (select extract(epoch from '2026-07-18 19:26:31'::timestamp) - extract(epoch from '2026-07-18 19:26: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'), 47391, 'SRID=4674;POINT (-38.52981 -3.675197)', '2026-07-18 19:26:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529857 -3.675153)'), GeomFromEWKT('SRID=4674;POINT (-38.52981 -3.675197)'))) / (select extract(epoch from '2026-07-18 19:26:35'::timestamp) - extract(epoch from '2026-07-18 19:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529857 -3.675153)'), GeomFromEWKT('SRID=4674;POINT (-38.52981 -3.675197)'))) / (select extract(epoch from '2026-07-18 19:26:35'::timestamp) - extract(epoch from '2026-07-18 19:26: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'), 47391, 'SRID=4674;POINT (-38.529747 -3.675255)', '2026-07-18 19:26:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52981 -3.675197)'), GeomFromEWKT('SRID=4674;POINT (-38.529747 -3.675255)'))) / (select extract(epoch from '2026-07-18 19:26:41'::timestamp) - extract(epoch from '2026-07-18 19:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52981 -3.675197)'), GeomFromEWKT('SRID=4674;POINT (-38.529747 -3.675255)'))) / (select extract(epoch from '2026-07-18 19:26:41'::timestamp) - extract(epoch from '2026-07-18 19:26: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'), 47391, 'SRID=4674;POINT (-38.529688 -3.67533)', '2026-07-18 19:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529747 -3.675255)'), GeomFromEWKT('SRID=4674;POINT (-38.529688 -3.67533)'))) / (select extract(epoch from '2026-07-18 19:26:48'::timestamp) - extract(epoch from '2026-07-18 19:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529747 -3.675255)'), GeomFromEWKT('SRID=4674;POINT (-38.529688 -3.67533)'))) / (select extract(epoch from '2026-07-18 19:26:48'::timestamp) - extract(epoch from '2026-07-18 19:26: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'), 47391, 'SRID=4674;POINT (-38.529583 -3.675409)', '2026-07-18 19:26:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529688 -3.67533)'), GeomFromEWKT('SRID=4674;POINT (-38.529583 -3.675409)'))) / (select extract(epoch from '2026-07-18 19:26:56'::timestamp) - extract(epoch from '2026-07-18 19:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529688 -3.67533)'), GeomFromEWKT('SRID=4674;POINT (-38.529583 -3.675409)'))) / (select extract(epoch from '2026-07-18 19:26:56'::timestamp) - extract(epoch from '2026-07-18 19:26: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'), 47391, 'SRID=4674;POINT (-38.529479 -3.675494)', '2026-07-18 19:27:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529583 -3.675409)'), GeomFromEWKT('SRID=4674;POINT (-38.529479 -3.675494)'))) / (select extract(epoch from '2026-07-18 19:27:04'::timestamp) - extract(epoch from '2026-07-18 19:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529583 -3.675409)'), GeomFromEWKT('SRID=4674;POINT (-38.529479 -3.675494)'))) / (select extract(epoch from '2026-07-18 19:27:04'::timestamp) - extract(epoch from '2026-07-18 19:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529431 -3.675542)', '2026-07-18 19:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529479 -3.675494)'), GeomFromEWKT('SRID=4674;POINT (-38.529431 -3.675542)'))) / (select extract(epoch from '2026-07-18 19:27:08'::timestamp) - extract(epoch from '2026-07-18 19:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529479 -3.675494)'), GeomFromEWKT('SRID=4674;POINT (-38.529431 -3.675542)'))) / (select extract(epoch from '2026-07-18 19:27:08'::timestamp) - extract(epoch from '2026-07-18 19:27: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'), 47391, 'SRID=4674;POINT (-38.529418 -3.675564)', '2026-07-18 19:27:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529431 -3.675542)'), GeomFromEWKT('SRID=4674;POINT (-38.529418 -3.675564)'))) / (select extract(epoch from '2026-07-18 19:27:10'::timestamp) - extract(epoch from '2026-07-18 19:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529431 -3.675542)'), GeomFromEWKT('SRID=4674;POINT (-38.529418 -3.675564)'))) / (select extract(epoch from '2026-07-18 19:27:10'::timestamp) - extract(epoch from '2026-07-18 19:27: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'), 47391, 'SRID=4674;POINT (-38.529389 -3.675607)', '2026-07-18 19:27:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529418 -3.675564)'), GeomFromEWKT('SRID=4674;POINT (-38.529389 -3.675607)'))) / (select extract(epoch from '2026-07-18 19:27:13'::timestamp) - extract(epoch from '2026-07-18 19:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529418 -3.675564)'), GeomFromEWKT('SRID=4674;POINT (-38.529389 -3.675607)'))) / (select extract(epoch from '2026-07-18 19:27:13'::timestamp) - extract(epoch from '2026-07-18 19:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529378 -3.675643)', '2026-07-18 19:27:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529389 -3.675607)'), GeomFromEWKT('SRID=4674;POINT (-38.529378 -3.675643)'))) / (select extract(epoch from '2026-07-18 19:27:16'::timestamp) - extract(epoch from '2026-07-18 19:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529389 -3.675607)'), GeomFromEWKT('SRID=4674;POINT (-38.529378 -3.675643)'))) / (select extract(epoch from '2026-07-18 19:27:16'::timestamp) - extract(epoch from '2026-07-18 19:27: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'), 47391, 'SRID=4674;POINT (-38.529354 -3.67572)', '2026-07-18 19:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529378 -3.675643)'), GeomFromEWKT('SRID=4674;POINT (-38.529354 -3.67572)'))) / (select extract(epoch from '2026-07-18 19:27:22'::timestamp) - extract(epoch from '2026-07-18 19:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529378 -3.675643)'), GeomFromEWKT('SRID=4674;POINT (-38.529354 -3.67572)'))) / (select extract(epoch from '2026-07-18 19:27:22'::timestamp) - extract(epoch from '2026-07-18 19:27: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'), 47391, 'SRID=4674;POINT (-38.529315 -3.675772)', '2026-07-18 19:27:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529354 -3.67572)'), GeomFromEWKT('SRID=4674;POINT (-38.529315 -3.675772)'))) / (select extract(epoch from '2026-07-18 19:27:26'::timestamp) - extract(epoch from '2026-07-18 19:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529354 -3.67572)'), GeomFromEWKT('SRID=4674;POINT (-38.529315 -3.675772)'))) / (select extract(epoch from '2026-07-18 19:27:26'::timestamp) - extract(epoch from '2026-07-18 19:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529305 -3.675798)', '2026-07-18 19:27:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529315 -3.675772)'), GeomFromEWKT('SRID=4674;POINT (-38.529305 -3.675798)'))) / (select extract(epoch from '2026-07-18 19:27:28'::timestamp) - extract(epoch from '2026-07-18 19:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529315 -3.675772)'), GeomFromEWKT('SRID=4674;POINT (-38.529305 -3.675798)'))) / (select extract(epoch from '2026-07-18 19:27:28'::timestamp) - extract(epoch from '2026-07-18 19:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529268 -3.675849)', '2026-07-18 19:27:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529305 -3.675798)'), GeomFromEWKT('SRID=4674;POINT (-38.529268 -3.675849)'))) / (select extract(epoch from '2026-07-18 19:27:32'::timestamp) - extract(epoch from '2026-07-18 19:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529305 -3.675798)'), GeomFromEWKT('SRID=4674;POINT (-38.529268 -3.675849)'))) / (select extract(epoch from '2026-07-18 19:27:32'::timestamp) - extract(epoch from '2026-07-18 19:27: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'), 47391, 'SRID=4674;POINT (-38.529245 -3.675892)', '2026-07-18 19:27:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529268 -3.675849)'), GeomFromEWKT('SRID=4674;POINT (-38.529245 -3.675892)'))) / (select extract(epoch from '2026-07-18 19:27:35'::timestamp) - extract(epoch from '2026-07-18 19:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529268 -3.675849)'), GeomFromEWKT('SRID=4674;POINT (-38.529245 -3.675892)'))) / (select extract(epoch from '2026-07-18 19:27:35'::timestamp) - extract(epoch from '2026-07-18 19:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.529163 -3.675988)', '2026-07-18 19:27:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529245 -3.675892)'), GeomFromEWKT('SRID=4674;POINT (-38.529163 -3.675988)'))) / (select extract(epoch from '2026-07-18 19:27:43'::timestamp) - extract(epoch from '2026-07-18 19:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529245 -3.675892)'), GeomFromEWKT('SRID=4674;POINT (-38.529163 -3.675988)'))) / (select extract(epoch from '2026-07-18 19:27:43'::timestamp) - extract(epoch from '2026-07-18 19:27: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'), 47391, 'SRID=4674;POINT (-38.529099 -3.676061)', '2026-07-18 19:27:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529163 -3.675988)'), GeomFromEWKT('SRID=4674;POINT (-38.529099 -3.676061)'))) / (select extract(epoch from '2026-07-18 19:27:49'::timestamp) - extract(epoch from '2026-07-18 19:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529163 -3.675988)'), GeomFromEWKT('SRID=4674;POINT (-38.529099 -3.676061)'))) / (select extract(epoch from '2026-07-18 19:27:49'::timestamp) - extract(epoch from '2026-07-18 19:27: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'), 47391, 'SRID=4674;POINT (-38.529027 -3.676176)', '2026-07-18 19:27:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529099 -3.676061)'), GeomFromEWKT('SRID=4674;POINT (-38.529027 -3.676176)'))) / (select extract(epoch from '2026-07-18 19:27:57'::timestamp) - extract(epoch from '2026-07-18 19:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529099 -3.676061)'), GeomFromEWKT('SRID=4674;POINT (-38.529027 -3.676176)'))) / (select extract(epoch from '2026-07-18 19:27:57'::timestamp) - extract(epoch from '2026-07-18 19:27: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'), 47391, 'SRID=4674;POINT (-38.528982 -3.676231)', '2026-07-18 19:28:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529027 -3.676176)'), GeomFromEWKT('SRID=4674;POINT (-38.528982 -3.676231)'))) / (select extract(epoch from '2026-07-18 19:28:02'::timestamp) - extract(epoch from '2026-07-18 19:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529027 -3.676176)'), GeomFromEWKT('SRID=4674;POINT (-38.528982 -3.676231)'))) / (select extract(epoch from '2026-07-18 19:28:02'::timestamp) - extract(epoch from '2026-07-18 19:27: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'), 47391, 'SRID=4674;POINT (-38.528972 -3.676239)', '2026-07-18 19:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528982 -3.676231)'), GeomFromEWKT('SRID=4674;POINT (-38.528972 -3.676239)'))) / (select extract(epoch from '2026-07-18 19:28:03'::timestamp) - extract(epoch from '2026-07-18 19:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528982 -3.676231)'), GeomFromEWKT('SRID=4674;POINT (-38.528972 -3.676239)'))) / (select extract(epoch from '2026-07-18 19:28:03'::timestamp) - extract(epoch from '2026-07-18 19:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52894 -3.676296)', '2026-07-18 19:28:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528972 -3.676239)'), GeomFromEWKT('SRID=4674;POINT (-38.52894 -3.676296)'))) / (select extract(epoch from '2026-07-18 19:28:08'::timestamp) - extract(epoch from '2026-07-18 19:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528972 -3.676239)'), GeomFromEWKT('SRID=4674;POINT (-38.52894 -3.676296)'))) / (select extract(epoch from '2026-07-18 19:28:08'::timestamp) - extract(epoch from '2026-07-18 19:28: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'), 47391, 'SRID=4674;POINT (-38.528881 -3.676378)', '2026-07-18 19:28:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52894 -3.676296)'), GeomFromEWKT('SRID=4674;POINT (-38.528881 -3.676378)'))) / (select extract(epoch from '2026-07-18 19:28:14'::timestamp) - extract(epoch from '2026-07-18 19:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52894 -3.676296)'), GeomFromEWKT('SRID=4674;POINT (-38.528881 -3.676378)'))) / (select extract(epoch from '2026-07-18 19:28:14'::timestamp) - extract(epoch from '2026-07-18 19:28:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528844 -3.676447)', '2026-07-18 19:28:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528881 -3.676378)'), GeomFromEWKT('SRID=4674;POINT (-38.528844 -3.676447)'))) / (select extract(epoch from '2026-07-18 19:28:19'::timestamp) - extract(epoch from '2026-07-18 19:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528881 -3.676378)'), GeomFromEWKT('SRID=4674;POINT (-38.528844 -3.676447)'))) / (select extract(epoch from '2026-07-18 19:28:19'::timestamp) - extract(epoch from '2026-07-18 19:28:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528806 -3.676483)', '2026-07-18 19:28:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528844 -3.676447)'), GeomFromEWKT('SRID=4674;POINT (-38.528806 -3.676483)'))) / (select extract(epoch from '2026-07-18 19:28:23'::timestamp) - extract(epoch from '2026-07-18 19:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528844 -3.676447)'), GeomFromEWKT('SRID=4674;POINT (-38.528806 -3.676483)'))) / (select extract(epoch from '2026-07-18 19:28:23'::timestamp) - extract(epoch from '2026-07-18 19:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528791 -3.676507)', '2026-07-18 19:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528806 -3.676483)'), GeomFromEWKT('SRID=4674;POINT (-38.528791 -3.676507)'))) / (select extract(epoch from '2026-07-18 19:28:25'::timestamp) - extract(epoch from '2026-07-18 19:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528806 -3.676483)'), GeomFromEWKT('SRID=4674;POINT (-38.528791 -3.676507)'))) / (select extract(epoch from '2026-07-18 19:28:25'::timestamp) - extract(epoch from '2026-07-18 19:28: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'), 47391, 'SRID=4674;POINT (-38.528734 -3.676583)', '2026-07-18 19:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528791 -3.676507)'), GeomFromEWKT('SRID=4674;POINT (-38.528734 -3.676583)'))) / (select extract(epoch from '2026-07-18 19:28:32'::timestamp) - extract(epoch from '2026-07-18 19:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528791 -3.676507)'), GeomFromEWKT('SRID=4674;POINT (-38.528734 -3.676583)'))) / (select extract(epoch from '2026-07-18 19:28:32'::timestamp) - extract(epoch from '2026-07-18 19:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528707 -3.67664)', '2026-07-18 19:28:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528734 -3.676583)'), GeomFromEWKT('SRID=4674;POINT (-38.528707 -3.67664)'))) / (select extract(epoch from '2026-07-18 19:28:37'::timestamp) - extract(epoch from '2026-07-18 19:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528734 -3.676583)'), GeomFromEWKT('SRID=4674;POINT (-38.528707 -3.67664)'))) / (select extract(epoch from '2026-07-18 19:28:37'::timestamp) - extract(epoch from '2026-07-18 19:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528667 -3.676706)', '2026-07-18 19:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528707 -3.67664)'), GeomFromEWKT('SRID=4674;POINT (-38.528667 -3.676706)'))) / (select extract(epoch from '2026-07-18 19:28:43'::timestamp) - extract(epoch from '2026-07-18 19:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528707 -3.67664)'), GeomFromEWKT('SRID=4674;POINT (-38.528667 -3.676706)'))) / (select extract(epoch from '2026-07-18 19:28:43'::timestamp) - extract(epoch from '2026-07-18 19:28: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'), 47391, 'SRID=4674;POINT (-38.528641 -3.676732)', '2026-07-18 19:28:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528667 -3.676706)'), GeomFromEWKT('SRID=4674;POINT (-38.528641 -3.676732)'))) / (select extract(epoch from '2026-07-18 19:28:45'::timestamp) - extract(epoch from '2026-07-18 19:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528667 -3.676706)'), GeomFromEWKT('SRID=4674;POINT (-38.528641 -3.676732)'))) / (select extract(epoch from '2026-07-18 19:28:45'::timestamp) - extract(epoch from '2026-07-18 19:28: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'), 47391, 'SRID=4674;POINT (-38.528617 -3.676755)', '2026-07-18 19:28:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528641 -3.676732)'), GeomFromEWKT('SRID=4674;POINT (-38.528617 -3.676755)'))) / (select extract(epoch from '2026-07-18 19:28:47'::timestamp) - extract(epoch from '2026-07-18 19:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528641 -3.676732)'), GeomFromEWKT('SRID=4674;POINT (-38.528617 -3.676755)'))) / (select extract(epoch from '2026-07-18 19:28:47'::timestamp) - extract(epoch from '2026-07-18 19:28:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528614 -3.676769)', '2026-07-18 19:28:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528617 -3.676755)'), GeomFromEWKT('SRID=4674;POINT (-38.528614 -3.676769)'))) / (select extract(epoch from '2026-07-18 19:28:48'::timestamp) - extract(epoch from '2026-07-18 19:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528617 -3.676755)'), GeomFromEWKT('SRID=4674;POINT (-38.528614 -3.676769)'))) / (select extract(epoch from '2026-07-18 19:28:48'::timestamp) - extract(epoch from '2026-07-18 19:28: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'), 47391, 'SRID=4674;POINT (-38.528599 -3.676788)', '2026-07-18 19:28:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528614 -3.676769)'), GeomFromEWKT('SRID=4674;POINT (-38.528599 -3.676788)'))) / (select extract(epoch from '2026-07-18 19:28:50'::timestamp) - extract(epoch from '2026-07-18 19:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528614 -3.676769)'), GeomFromEWKT('SRID=4674;POINT (-38.528599 -3.676788)'))) / (select extract(epoch from '2026-07-18 19:28:50'::timestamp) - extract(epoch from '2026-07-18 19:28: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'), 47391, 'SRID=4674;POINT (-38.52857 -3.67681)', '2026-07-18 19:28:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528599 -3.676788)'), GeomFromEWKT('SRID=4674;POINT (-38.52857 -3.67681)'))) / (select extract(epoch from '2026-07-18 19:28:52'::timestamp) - extract(epoch from '2026-07-18 19:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528599 -3.676788)'), GeomFromEWKT('SRID=4674;POINT (-38.52857 -3.67681)'))) / (select extract(epoch from '2026-07-18 19:28:52'::timestamp) - extract(epoch from '2026-07-18 19:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528563 -3.676825)', '2026-07-18 19:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52857 -3.67681)'), GeomFromEWKT('SRID=4674;POINT (-38.528563 -3.676825)'))) / (select extract(epoch from '2026-07-18 19:28:53'::timestamp) - extract(epoch from '2026-07-18 19:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52857 -3.67681)'), GeomFromEWKT('SRID=4674;POINT (-38.528563 -3.676825)'))) / (select extract(epoch from '2026-07-18 19:28:53'::timestamp) - extract(epoch from '2026-07-18 19:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52852 -3.676868)', '2026-07-18 19:28:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528563 -3.676825)'), GeomFromEWKT('SRID=4674;POINT (-38.52852 -3.676868)'))) / (select extract(epoch from '2026-07-18 19:28:57'::timestamp) - extract(epoch from '2026-07-18 19:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528563 -3.676825)'), GeomFromEWKT('SRID=4674;POINT (-38.52852 -3.676868)'))) / (select extract(epoch from '2026-07-18 19:28:57'::timestamp) - extract(epoch from '2026-07-18 19:28: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'), 47391, 'SRID=4674;POINT (-38.528508 -3.676891)', '2026-07-18 19:28:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52852 -3.676868)'), GeomFromEWKT('SRID=4674;POINT (-38.528508 -3.676891)'))) / (select extract(epoch from '2026-07-18 19:28:59'::timestamp) - extract(epoch from '2026-07-18 19:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52852 -3.676868)'), GeomFromEWKT('SRID=4674;POINT (-38.528508 -3.676891)'))) / (select extract(epoch from '2026-07-18 19:28:59'::timestamp) - extract(epoch from '2026-07-18 19:28:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528472 -3.676939)', '2026-07-18 19:29:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528508 -3.676891)'), GeomFromEWKT('SRID=4674;POINT (-38.528472 -3.676939)'))) / (select extract(epoch from '2026-07-18 19:29:03'::timestamp) - extract(epoch from '2026-07-18 19:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528508 -3.676891)'), GeomFromEWKT('SRID=4674;POINT (-38.528472 -3.676939)'))) / (select extract(epoch from '2026-07-18 19:29:03'::timestamp) - extract(epoch from '2026-07-18 19:28: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'), 47391, 'SRID=4674;POINT (-38.528454 -3.676966)', '2026-07-18 19:29:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528472 -3.676939)'), GeomFromEWKT('SRID=4674;POINT (-38.528454 -3.676966)'))) / (select extract(epoch from '2026-07-18 19:29:05'::timestamp) - extract(epoch from '2026-07-18 19:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528472 -3.676939)'), GeomFromEWKT('SRID=4674;POINT (-38.528454 -3.676966)'))) / (select extract(epoch from '2026-07-18 19:29:05'::timestamp) - extract(epoch from '2026-07-18 19:29: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'), 47391, 'SRID=4674;POINT (-38.528411 -3.677016)', '2026-07-18 19:29:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528454 -3.676966)'), GeomFromEWKT('SRID=4674;POINT (-38.528411 -3.677016)'))) / (select extract(epoch from '2026-07-18 19:29:09'::timestamp) - extract(epoch from '2026-07-18 19:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528454 -3.676966)'), GeomFromEWKT('SRID=4674;POINT (-38.528411 -3.677016)'))) / (select extract(epoch from '2026-07-18 19:29:09'::timestamp) - extract(epoch from '2026-07-18 19:29:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528379 -3.677074)', '2026-07-18 19:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528411 -3.677016)'), GeomFromEWKT('SRID=4674;POINT (-38.528379 -3.677074)'))) / (select extract(epoch from '2026-07-18 19:29:14'::timestamp) - extract(epoch from '2026-07-18 19:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528411 -3.677016)'), GeomFromEWKT('SRID=4674;POINT (-38.528379 -3.677074)'))) / (select extract(epoch from '2026-07-18 19:29:14'::timestamp) - extract(epoch from '2026-07-18 19:29: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'), 47391, 'SRID=4674;POINT (-38.528367 -3.677088)', '2026-07-18 19:29:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528379 -3.677074)'), GeomFromEWKT('SRID=4674;POINT (-38.528367 -3.677088)'))) / (select extract(epoch from '2026-07-18 19:29:15'::timestamp) - extract(epoch from '2026-07-18 19:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528379 -3.677074)'), GeomFromEWKT('SRID=4674;POINT (-38.528367 -3.677088)'))) / (select extract(epoch from '2026-07-18 19:29:15'::timestamp) - extract(epoch from '2026-07-18 19:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528361 -3.677101)', '2026-07-18 19:29:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528367 -3.677088)'), GeomFromEWKT('SRID=4674;POINT (-38.528361 -3.677101)'))) / (select extract(epoch from '2026-07-18 19:29:16'::timestamp) - extract(epoch from '2026-07-18 19:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528367 -3.677088)'), GeomFromEWKT('SRID=4674;POINT (-38.528361 -3.677101)'))) / (select extract(epoch from '2026-07-18 19:29:16'::timestamp) - extract(epoch from '2026-07-18 19:29: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'), 47391, 'SRID=4674;POINT (-38.528326 -3.677155)', '2026-07-18 19:29:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528361 -3.677101)'), GeomFromEWKT('SRID=4674;POINT (-38.528326 -3.677155)'))) / (select extract(epoch from '2026-07-18 19:29:20'::timestamp) - extract(epoch from '2026-07-18 19:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528361 -3.677101)'), GeomFromEWKT('SRID=4674;POINT (-38.528326 -3.677155)'))) / (select extract(epoch from '2026-07-18 19:29:20'::timestamp) - extract(epoch from '2026-07-18 19:29:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528273 -3.677236)', '2026-07-18 19:29:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528326 -3.677155)'), GeomFromEWKT('SRID=4674;POINT (-38.528273 -3.677236)'))) / (select extract(epoch from '2026-07-18 19:29:26'::timestamp) - extract(epoch from '2026-07-18 19:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528326 -3.677155)'), GeomFromEWKT('SRID=4674;POINT (-38.528273 -3.677236)'))) / (select extract(epoch from '2026-07-18 19:29:26'::timestamp) - extract(epoch from '2026-07-18 19:29: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'), 47391, 'SRID=4674;POINT (-38.528206 -3.677344)', '2026-07-18 19:29:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528273 -3.677236)'), GeomFromEWKT('SRID=4674;POINT (-38.528206 -3.677344)'))) / (select extract(epoch from '2026-07-18 19:29:34'::timestamp) - extract(epoch from '2026-07-18 19:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528273 -3.677236)'), GeomFromEWKT('SRID=4674;POINT (-38.528206 -3.677344)'))) / (select extract(epoch from '2026-07-18 19:29:34'::timestamp) - extract(epoch from '2026-07-18 19:29: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'), 47391, 'SRID=4674;POINT (-38.5282 -3.677364)', '2026-07-18 19:29:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528206 -3.677344)'), GeomFromEWKT('SRID=4674;POINT (-38.5282 -3.677364)'))) / (select extract(epoch from '2026-07-18 19:29:36'::timestamp) - extract(epoch from '2026-07-18 19:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528206 -3.677344)'), GeomFromEWKT('SRID=4674;POINT (-38.5282 -3.677364)'))) / (select extract(epoch from '2026-07-18 19:29:36'::timestamp) - extract(epoch from '2026-07-18 19:29: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'), 47391, 'SRID=4674;POINT (-38.528183 -3.677386)', '2026-07-18 19:29:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5282 -3.677364)'), GeomFromEWKT('SRID=4674;POINT (-38.528183 -3.677386)'))) / (select extract(epoch from '2026-07-18 19:29:39'::timestamp) - extract(epoch from '2026-07-18 19:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5282 -3.677364)'), GeomFromEWKT('SRID=4674;POINT (-38.528183 -3.677386)'))) / (select extract(epoch from '2026-07-18 19:29:39'::timestamp) - extract(epoch from '2026-07-18 19:29: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'), 47391, 'SRID=4674;POINT (-38.528146 -3.677439)', '2026-07-18 19:29:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528183 -3.677386)'), GeomFromEWKT('SRID=4674;POINT (-38.528146 -3.677439)'))) / (select extract(epoch from '2026-07-18 19:29:45'::timestamp) - extract(epoch from '2026-07-18 19:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528183 -3.677386)'), GeomFromEWKT('SRID=4674;POINT (-38.528146 -3.677439)'))) / (select extract(epoch from '2026-07-18 19:29:45'::timestamp) - extract(epoch from '2026-07-18 19:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.528093 -3.677503)', '2026-07-18 19:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528146 -3.677439)'), GeomFromEWKT('SRID=4674;POINT (-38.528093 -3.677503)'))) / (select extract(epoch from '2026-07-18 19:29:51'::timestamp) - extract(epoch from '2026-07-18 19:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528146 -3.677439)'), GeomFromEWKT('SRID=4674;POINT (-38.528093 -3.677503)'))) / (select extract(epoch from '2026-07-18 19:29:51'::timestamp) - extract(epoch from '2026-07-18 19:29: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'), 47391, 'SRID=4674;POINT (-38.52805 -3.677534)', '2026-07-18 19:29:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528093 -3.677503)'), GeomFromEWKT('SRID=4674;POINT (-38.52805 -3.677534)'))) / (select extract(epoch from '2026-07-18 19:29:54'::timestamp) - extract(epoch from '2026-07-18 19:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528093 -3.677503)'), GeomFromEWKT('SRID=4674;POINT (-38.52805 -3.677534)'))) / (select extract(epoch from '2026-07-18 19:29:54'::timestamp) - extract(epoch from '2026-07-18 19:29: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'), 47391, 'SRID=4674;POINT (-38.528039 -3.677561)', '2026-07-18 19:29:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52805 -3.677534)'), GeomFromEWKT('SRID=4674;POINT (-38.528039 -3.677561)'))) / (select extract(epoch from '2026-07-18 19:29:56'::timestamp) - extract(epoch from '2026-07-18 19:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52805 -3.677534)'), GeomFromEWKT('SRID=4674;POINT (-38.528039 -3.677561)'))) / (select extract(epoch from '2026-07-18 19:29:56'::timestamp) - extract(epoch from '2026-07-18 19:29: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'), 47391, 'SRID=4674;POINT (-38.527963 -3.677627)', '2026-07-18 19:30:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528039 -3.677561)'), GeomFromEWKT('SRID=4674;POINT (-38.527963 -3.677627)'))) / (select extract(epoch from '2026-07-18 19:30:02'::timestamp) - extract(epoch from '2026-07-18 19:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528039 -3.677561)'), GeomFromEWKT('SRID=4674;POINT (-38.527963 -3.677627)'))) / (select extract(epoch from '2026-07-18 19:30:02'::timestamp) - extract(epoch from '2026-07-18 19:29: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'), 47391, 'SRID=4674;POINT (-38.52795 -3.677651)', '2026-07-18 19:30:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527963 -3.677627)'), GeomFromEWKT('SRID=4674;POINT (-38.52795 -3.677651)'))) / (select extract(epoch from '2026-07-18 19:30:04'::timestamp) - extract(epoch from '2026-07-18 19:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527963 -3.677627)'), GeomFromEWKT('SRID=4674;POINT (-38.52795 -3.677651)'))) / (select extract(epoch from '2026-07-18 19:30:04'::timestamp) - extract(epoch from '2026-07-18 19:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527904 -3.677699)', '2026-07-18 19:30:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52795 -3.677651)'), GeomFromEWKT('SRID=4674;POINT (-38.527904 -3.677699)'))) / (select extract(epoch from '2026-07-18 19:30:08'::timestamp) - extract(epoch from '2026-07-18 19:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52795 -3.677651)'), GeomFromEWKT('SRID=4674;POINT (-38.527904 -3.677699)'))) / (select extract(epoch from '2026-07-18 19:30:08'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527858 -3.677766)', '2026-07-18 19:30:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527904 -3.677699)'), GeomFromEWKT('SRID=4674;POINT (-38.527858 -3.677766)'))) / (select extract(epoch from '2026-07-18 19:30:13'::timestamp) - extract(epoch from '2026-07-18 19:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527904 -3.677699)'), GeomFromEWKT('SRID=4674;POINT (-38.527858 -3.677766)'))) / (select extract(epoch from '2026-07-18 19:30:13'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527813 -3.67783)', '2026-07-18 19:30:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527858 -3.677766)'), GeomFromEWKT('SRID=4674;POINT (-38.527813 -3.67783)'))) / (select extract(epoch from '2026-07-18 19:30:18'::timestamp) - extract(epoch from '2026-07-18 19:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527858 -3.677766)'), GeomFromEWKT('SRID=4674;POINT (-38.527813 -3.67783)'))) / (select extract(epoch from '2026-07-18 19:30:18'::timestamp) - extract(epoch from '2026-07-18 19:30:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527749 -3.677909)', '2026-07-18 19:30:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527813 -3.67783)'), GeomFromEWKT('SRID=4674;POINT (-38.527749 -3.677909)'))) / (select extract(epoch from '2026-07-18 19:30:25'::timestamp) - extract(epoch from '2026-07-18 19:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527813 -3.67783)'), GeomFromEWKT('SRID=4674;POINT (-38.527749 -3.677909)'))) / (select extract(epoch from '2026-07-18 19:30:25'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527686 -3.677952)', '2026-07-18 19:30:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527749 -3.677909)'), GeomFromEWKT('SRID=4674;POINT (-38.527686 -3.677952)'))) / (select extract(epoch from '2026-07-18 19:30:30'::timestamp) - extract(epoch from '2026-07-18 19:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527749 -3.677909)'), GeomFromEWKT('SRID=4674;POINT (-38.527686 -3.677952)'))) / (select extract(epoch from '2026-07-18 19:30:30'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527679 -3.67796)', '2026-07-18 19:30:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527686 -3.677952)'), GeomFromEWKT('SRID=4674;POINT (-38.527679 -3.67796)'))) / (select extract(epoch from '2026-07-18 19:30:31'::timestamp) - extract(epoch from '2026-07-18 19:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527686 -3.677952)'), GeomFromEWKT('SRID=4674;POINT (-38.527679 -3.67796)'))) / (select extract(epoch from '2026-07-18 19:30:31'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527623 -3.678026)', '2026-07-18 19:30:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527679 -3.67796)'), GeomFromEWKT('SRID=4674;POINT (-38.527623 -3.678026)'))) / (select extract(epoch from '2026-07-18 19:30:38'::timestamp) - extract(epoch from '2026-07-18 19:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527679 -3.67796)'), GeomFromEWKT('SRID=4674;POINT (-38.527623 -3.678026)'))) / (select extract(epoch from '2026-07-18 19:30:38'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527547 -3.678109)', '2026-07-18 19:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527623 -3.678026)'), GeomFromEWKT('SRID=4674;POINT (-38.527547 -3.678109)'))) / (select extract(epoch from '2026-07-18 19:30:45'::timestamp) - extract(epoch from '2026-07-18 19:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527623 -3.678026)'), GeomFromEWKT('SRID=4674;POINT (-38.527547 -3.678109)'))) / (select extract(epoch from '2026-07-18 19:30:45'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527503 -3.678159)', '2026-07-18 19:30:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527547 -3.678109)'), GeomFromEWKT('SRID=4674;POINT (-38.527503 -3.678159)'))) / (select extract(epoch from '2026-07-18 19:30:49'::timestamp) - extract(epoch from '2026-07-18 19:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527547 -3.678109)'), GeomFromEWKT('SRID=4674;POINT (-38.527503 -3.678159)'))) / (select extract(epoch from '2026-07-18 19:30:49'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527478 -3.67818)', '2026-07-18 19:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527503 -3.678159)'), GeomFromEWKT('SRID=4674;POINT (-38.527478 -3.67818)'))) / (select extract(epoch from '2026-07-18 19:30:51'::timestamp) - extract(epoch from '2026-07-18 19:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527503 -3.678159)'), GeomFromEWKT('SRID=4674;POINT (-38.527478 -3.67818)'))) / (select extract(epoch from '2026-07-18 19:30:51'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527462 -3.678203)', '2026-07-18 19:30:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527478 -3.67818)'), GeomFromEWKT('SRID=4674;POINT (-38.527462 -3.678203)'))) / (select extract(epoch from '2026-07-18 19:30:53'::timestamp) - extract(epoch from '2026-07-18 19:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527478 -3.67818)'), GeomFromEWKT('SRID=4674;POINT (-38.527462 -3.678203)'))) / (select extract(epoch from '2026-07-18 19:30:53'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527428 -3.678232)', '2026-07-18 19:30:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527462 -3.678203)'), GeomFromEWKT('SRID=4674;POINT (-38.527428 -3.678232)'))) / (select extract(epoch from '2026-07-18 19:30:56'::timestamp) - extract(epoch from '2026-07-18 19:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527462 -3.678203)'), GeomFromEWKT('SRID=4674;POINT (-38.527428 -3.678232)'))) / (select extract(epoch from '2026-07-18 19:30:56'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527394 -3.678265)', '2026-07-18 19:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527428 -3.678232)'), GeomFromEWKT('SRID=4674;POINT (-38.527394 -3.678265)'))) / (select extract(epoch from '2026-07-18 19:30:59'::timestamp) - extract(epoch from '2026-07-18 19:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527428 -3.678232)'), GeomFromEWKT('SRID=4674;POINT (-38.527394 -3.678265)'))) / (select extract(epoch from '2026-07-18 19:30:59'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.52735 -3.678321)', '2026-07-18 19:31:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527394 -3.678265)'), GeomFromEWKT('SRID=4674;POINT (-38.52735 -3.678321)'))) / (select extract(epoch from '2026-07-18 19:31:03'::timestamp) - extract(epoch from '2026-07-18 19:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527394 -3.678265)'), GeomFromEWKT('SRID=4674;POINT (-38.52735 -3.678321)'))) / (select extract(epoch from '2026-07-18 19:31:03'::timestamp) - extract(epoch from '2026-07-18 19:30: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'), 47391, 'SRID=4674;POINT (-38.527284 -3.678406)', '2026-07-18 19:31:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52735 -3.678321)'), GeomFromEWKT('SRID=4674;POINT (-38.527284 -3.678406)'))) / (select extract(epoch from '2026-07-18 19:31:10'::timestamp) - extract(epoch from '2026-07-18 19:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52735 -3.678321)'), GeomFromEWKT('SRID=4674;POINT (-38.527284 -3.678406)'))) / (select extract(epoch from '2026-07-18 19:31:10'::timestamp) - extract(epoch from '2026-07-18 19:31: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'), 47391, 'SRID=4674;POINT (-38.527219 -3.678476)', '2026-07-18 19:31:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527284 -3.678406)'), GeomFromEWKT('SRID=4674;POINT (-38.527219 -3.678476)'))) / (select extract(epoch from '2026-07-18 19:31:16'::timestamp) - extract(epoch from '2026-07-18 19:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527284 -3.678406)'), GeomFromEWKT('SRID=4674;POINT (-38.527219 -3.678476)'))) / (select extract(epoch from '2026-07-18 19:31:16'::timestamp) - extract(epoch from '2026-07-18 19:31: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'), 47391, 'SRID=4674;POINT (-38.527146 -3.678563)', '2026-07-18 19:31:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527219 -3.678476)'), GeomFromEWKT('SRID=4674;POINT (-38.527146 -3.678563)'))) / (select extract(epoch from '2026-07-18 19:31:23'::timestamp) - extract(epoch from '2026-07-18 19:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527219 -3.678476)'), GeomFromEWKT('SRID=4674;POINT (-38.527146 -3.678563)'))) / (select extract(epoch from '2026-07-18 19:31:23'::timestamp) - extract(epoch from '2026-07-18 19:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.527083 -3.678613)', '2026-07-18 19:31:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527146 -3.678563)'), GeomFromEWKT('SRID=4674;POINT (-38.527083 -3.678613)'))) / (select extract(epoch from '2026-07-18 19:31:28'::timestamp) - extract(epoch from '2026-07-18 19:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527146 -3.678563)'), GeomFromEWKT('SRID=4674;POINT (-38.527083 -3.678613)'))) / (select extract(epoch from '2026-07-18 19:31:28'::timestamp) - extract(epoch from '2026-07-18 19:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526994 -3.678685)', '2026-07-18 19:31:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527083 -3.678613)'), GeomFromEWKT('SRID=4674;POINT (-38.526994 -3.678685)'))) / (select extract(epoch from '2026-07-18 19:31:35'::timestamp) - extract(epoch from '2026-07-18 19:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527083 -3.678613)'), GeomFromEWKT('SRID=4674;POINT (-38.526994 -3.678685)'))) / (select extract(epoch from '2026-07-18 19:31:35'::timestamp) - extract(epoch from '2026-07-18 19:31: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'), 47391, 'SRID=4674;POINT (-38.526921 -3.678756)', '2026-07-18 19:31:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526994 -3.678685)'), GeomFromEWKT('SRID=4674;POINT (-38.526921 -3.678756)'))) / (select extract(epoch from '2026-07-18 19:31:41'::timestamp) - extract(epoch from '2026-07-18 19:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526994 -3.678685)'), GeomFromEWKT('SRID=4674;POINT (-38.526921 -3.678756)'))) / (select extract(epoch from '2026-07-18 19:31:41'::timestamp) - extract(epoch from '2026-07-18 19:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526915 -3.678771)', '2026-07-18 19:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526921 -3.678756)'), GeomFromEWKT('SRID=4674;POINT (-38.526915 -3.678771)'))) / (select extract(epoch from '2026-07-18 19:31:42'::timestamp) - extract(epoch from '2026-07-18 19:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526921 -3.678756)'), GeomFromEWKT('SRID=4674;POINT (-38.526915 -3.678771)'))) / (select extract(epoch from '2026-07-18 19:31:42'::timestamp) - extract(epoch from '2026-07-18 19:31: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'), 47391, 'SRID=4674;POINT (-38.526901 -3.678795)', '2026-07-18 19:31:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526915 -3.678771)'), GeomFromEWKT('SRID=4674;POINT (-38.526901 -3.678795)'))) / (select extract(epoch from '2026-07-18 19:31:44'::timestamp) - extract(epoch from '2026-07-18 19:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526915 -3.678771)'), GeomFromEWKT('SRID=4674;POINT (-38.526901 -3.678795)'))) / (select extract(epoch from '2026-07-18 19:31:44'::timestamp) - extract(epoch from '2026-07-18 19:31: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'), 47391, 'SRID=4674;POINT (-38.526886 -3.678806)', '2026-07-18 19:31:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526901 -3.678795)'), GeomFromEWKT('SRID=4674;POINT (-38.526886 -3.678806)'))) / (select extract(epoch from '2026-07-18 19:31:45'::timestamp) - extract(epoch from '2026-07-18 19:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526901 -3.678795)'), GeomFromEWKT('SRID=4674;POINT (-38.526886 -3.678806)'))) / (select extract(epoch from '2026-07-18 19:31:45'::timestamp) - extract(epoch from '2026-07-18 19:31: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'), 47391, 'SRID=4674;POINT (-38.526774 -3.678899)', '2026-07-18 19:31:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526886 -3.678806)'), GeomFromEWKT('SRID=4674;POINT (-38.526774 -3.678899)'))) / (select extract(epoch from '2026-07-18 19:31:53'::timestamp) - extract(epoch from '2026-07-18 19:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526886 -3.678806)'), GeomFromEWKT('SRID=4674;POINT (-38.526774 -3.678899)'))) / (select extract(epoch from '2026-07-18 19:31:53'::timestamp) - extract(epoch from '2026-07-18 19:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526718 -3.678971)', '2026-07-18 19:31:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526774 -3.678899)'), GeomFromEWKT('SRID=4674;POINT (-38.526718 -3.678971)'))) / (select extract(epoch from '2026-07-18 19:31:59'::timestamp) - extract(epoch from '2026-07-18 19:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526774 -3.678899)'), GeomFromEWKT('SRID=4674;POINT (-38.526718 -3.678971)'))) / (select extract(epoch from '2026-07-18 19:31:59'::timestamp) - extract(epoch from '2026-07-18 19:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526666 -3.679039)', '2026-07-18 19:32:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526718 -3.678971)'), GeomFromEWKT('SRID=4674;POINT (-38.526666 -3.679039)'))) / (select extract(epoch from '2026-07-18 19:32:05'::timestamp) - extract(epoch from '2026-07-18 19:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526718 -3.678971)'), GeomFromEWKT('SRID=4674;POINT (-38.526666 -3.679039)'))) / (select extract(epoch from '2026-07-18 19:32:05'::timestamp) - extract(epoch from '2026-07-18 19:31: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'), 47391, 'SRID=4674;POINT (-38.526652 -3.679058)', '2026-07-18 19:32:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526666 -3.679039)'), GeomFromEWKT('SRID=4674;POINT (-38.526652 -3.679058)'))) / (select extract(epoch from '2026-07-18 19:32:07'::timestamp) - extract(epoch from '2026-07-18 19:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526666 -3.679039)'), GeomFromEWKT('SRID=4674;POINT (-38.526652 -3.679058)'))) / (select extract(epoch from '2026-07-18 19:32:07'::timestamp) - extract(epoch from '2026-07-18 19:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526618 -3.679075)', '2026-07-18 19:32:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526652 -3.679058)'), GeomFromEWKT('SRID=4674;POINT (-38.526618 -3.679075)'))) / (select extract(epoch from '2026-07-18 19:32:09'::timestamp) - extract(epoch from '2026-07-18 19:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526652 -3.679058)'), GeomFromEWKT('SRID=4674;POINT (-38.526618 -3.679075)'))) / (select extract(epoch from '2026-07-18 19:32:09'::timestamp) - extract(epoch from '2026-07-18 19:32: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'), 47391, 'SRID=4674;POINT (-38.526574 -3.679129)', '2026-07-18 19:32:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526618 -3.679075)'), GeomFromEWKT('SRID=4674;POINT (-38.526574 -3.679129)'))) / (select extract(epoch from '2026-07-18 19:32:15'::timestamp) - extract(epoch from '2026-07-18 19:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526618 -3.679075)'), GeomFromEWKT('SRID=4674;POINT (-38.526574 -3.679129)'))) / (select extract(epoch from '2026-07-18 19:32:15'::timestamp) - extract(epoch from '2026-07-18 19:32: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'), 47391, 'SRID=4674;POINT (-38.526537 -3.679214)', '2026-07-18 19:32:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526574 -3.679129)'), GeomFromEWKT('SRID=4674;POINT (-38.526537 -3.679214)'))) / (select extract(epoch from '2026-07-18 19:32:23'::timestamp) - extract(epoch from '2026-07-18 19:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526574 -3.679129)'), GeomFromEWKT('SRID=4674;POINT (-38.526537 -3.679214)'))) / (select extract(epoch from '2026-07-18 19:32:23'::timestamp) - extract(epoch from '2026-07-18 19:32: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'), 47391, 'SRID=4674;POINT (-38.526494 -3.679284)', '2026-07-18 19:32:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526537 -3.679214)'), GeomFromEWKT('SRID=4674;POINT (-38.526494 -3.679284)'))) / (select extract(epoch from '2026-07-18 19:32:29'::timestamp) - extract(epoch from '2026-07-18 19:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526537 -3.679214)'), GeomFromEWKT('SRID=4674;POINT (-38.526494 -3.679284)'))) / (select extract(epoch from '2026-07-18 19:32:29'::timestamp) - extract(epoch from '2026-07-18 19:32: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'), 47391, 'SRID=4674;POINT (-38.526481 -3.679305)', '2026-07-18 19:32:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526494 -3.679284)'), GeomFromEWKT('SRID=4674;POINT (-38.526481 -3.679305)'))) / (select extract(epoch from '2026-07-18 19:32:31'::timestamp) - extract(epoch from '2026-07-18 19:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526494 -3.679284)'), GeomFromEWKT('SRID=4674;POINT (-38.526481 -3.679305)'))) / (select extract(epoch from '2026-07-18 19:32:31'::timestamp) - extract(epoch from '2026-07-18 19:32: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'), 47391, 'SRID=4674;POINT (-38.526466 -3.679348)', '2026-07-18 19:32:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526481 -3.679305)'), GeomFromEWKT('SRID=4674;POINT (-38.526466 -3.679348)'))) / (select extract(epoch from '2026-07-18 19:32:35'::timestamp) - extract(epoch from '2026-07-18 19:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526481 -3.679305)'), GeomFromEWKT('SRID=4674;POINT (-38.526466 -3.679348)'))) / (select extract(epoch from '2026-07-18 19:32:35'::timestamp) - extract(epoch from '2026-07-18 19:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52643 -3.679389)', '2026-07-18 19:32:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526466 -3.679348)'), GeomFromEWKT('SRID=4674;POINT (-38.52643 -3.679389)'))) / (select extract(epoch from '2026-07-18 19:32:39'::timestamp) - extract(epoch from '2026-07-18 19:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526466 -3.679348)'), GeomFromEWKT('SRID=4674;POINT (-38.52643 -3.679389)'))) / (select extract(epoch from '2026-07-18 19:32:39'::timestamp) - extract(epoch from '2026-07-18 19:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52643 -3.679399)', '2026-07-18 19:32:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52643 -3.679389)'), GeomFromEWKT('SRID=4674;POINT (-38.52643 -3.679399)'))) / (select extract(epoch from '2026-07-18 19:32:40'::timestamp) - extract(epoch from '2026-07-18 19:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52643 -3.679389)'), GeomFromEWKT('SRID=4674;POINT (-38.52643 -3.679399)'))) / (select extract(epoch from '2026-07-18 19:32:40'::timestamp) - extract(epoch from '2026-07-18 19:32: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'), 47391, 'SRID=4674;POINT (-38.526429 -3.679408)', '2026-07-18 19:32:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52643 -3.679399)'), GeomFromEWKT('SRID=4674;POINT (-38.526429 -3.679408)'))) / (select extract(epoch from '2026-07-18 19:32:41'::timestamp) - extract(epoch from '2026-07-18 19:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52643 -3.679399)'), GeomFromEWKT('SRID=4674;POINT (-38.526429 -3.679408)'))) / (select extract(epoch from '2026-07-18 19:32:41'::timestamp) - extract(epoch from '2026-07-18 19:32: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'), 47391, 'SRID=4674;POINT (-38.526396 -3.679446)', '2026-07-18 19:32:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526429 -3.679408)'), GeomFromEWKT('SRID=4674;POINT (-38.526396 -3.679446)'))) / (select extract(epoch from '2026-07-18 19:32:44'::timestamp) - extract(epoch from '2026-07-18 19:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526429 -3.679408)'), GeomFromEWKT('SRID=4674;POINT (-38.526396 -3.679446)'))) / (select extract(epoch from '2026-07-18 19:32:44'::timestamp) - extract(epoch from '2026-07-18 19:32: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'), 47391, 'SRID=4674;POINT (-38.526396 -3.67946)', '2026-07-18 19:32:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526396 -3.679446)'), GeomFromEWKT('SRID=4674;POINT (-38.526396 -3.67946)'))) / (select extract(epoch from '2026-07-18 19:32:45'::timestamp) - extract(epoch from '2026-07-18 19:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526396 -3.679446)'), GeomFromEWKT('SRID=4674;POINT (-38.526396 -3.67946)'))) / (select extract(epoch from '2026-07-18 19:32:45'::timestamp) - extract(epoch from '2026-07-18 19:32: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'), 47391, 'SRID=4674;POINT (-38.526387 -3.679486)', '2026-07-18 19:32:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526396 -3.67946)'), GeomFromEWKT('SRID=4674;POINT (-38.526387 -3.679486)'))) / (select extract(epoch from '2026-07-18 19:32:47'::timestamp) - extract(epoch from '2026-07-18 19:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526396 -3.67946)'), GeomFromEWKT('SRID=4674;POINT (-38.526387 -3.679486)'))) / (select extract(epoch from '2026-07-18 19:32:47'::timestamp) - extract(epoch from '2026-07-18 19:32: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'), 47391, 'SRID=4674;POINT (-38.526351 -3.679515)', '2026-07-18 19:32:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526387 -3.679486)'), GeomFromEWKT('SRID=4674;POINT (-38.526351 -3.679515)'))) / (select extract(epoch from '2026-07-18 19:32:50'::timestamp) - extract(epoch from '2026-07-18 19:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526387 -3.679486)'), GeomFromEWKT('SRID=4674;POINT (-38.526351 -3.679515)'))) / (select extract(epoch from '2026-07-18 19:32:50'::timestamp) - extract(epoch from '2026-07-18 19:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526346 -3.679529)', '2026-07-18 19:32:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526351 -3.679515)'), GeomFromEWKT('SRID=4674;POINT (-38.526346 -3.679529)'))) / (select extract(epoch from '2026-07-18 19:32:51'::timestamp) - extract(epoch from '2026-07-18 19:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526351 -3.679515)'), GeomFromEWKT('SRID=4674;POINT (-38.526346 -3.679529)'))) / (select extract(epoch from '2026-07-18 19:32:51'::timestamp) - extract(epoch from '2026-07-18 19:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526309 -3.679578)', '2026-07-18 19:32:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526346 -3.679529)'), GeomFromEWKT('SRID=4674;POINT (-38.526309 -3.679578)'))) / (select extract(epoch from '2026-07-18 19:32:55'::timestamp) - extract(epoch from '2026-07-18 19:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526346 -3.679529)'), GeomFromEWKT('SRID=4674;POINT (-38.526309 -3.679578)'))) / (select extract(epoch from '2026-07-18 19:32:55'::timestamp) - extract(epoch from '2026-07-18 19:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526255 -3.679646)', '2026-07-18 19:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526309 -3.679578)'), GeomFromEWKT('SRID=4674;POINT (-38.526255 -3.679646)'))) / (select extract(epoch from '2026-07-18 19:33:00'::timestamp) - extract(epoch from '2026-07-18 19:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526309 -3.679578)'), GeomFromEWKT('SRID=4674;POINT (-38.526255 -3.679646)'))) / (select extract(epoch from '2026-07-18 19:33:00'::timestamp) - extract(epoch from '2026-07-18 19:32: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'), 47391, 'SRID=4674;POINT (-38.526216 -3.679681)', '2026-07-18 19:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526255 -3.679646)'), GeomFromEWKT('SRID=4674;POINT (-38.526216 -3.679681)'))) / (select extract(epoch from '2026-07-18 19:33:03'::timestamp) - extract(epoch from '2026-07-18 19:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526255 -3.679646)'), GeomFromEWKT('SRID=4674;POINT (-38.526216 -3.679681)'))) / (select extract(epoch from '2026-07-18 19:33:03'::timestamp) - extract(epoch from '2026-07-18 19:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526195 -3.679702)', '2026-07-18 19:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526216 -3.679681)'), GeomFromEWKT('SRID=4674;POINT (-38.526195 -3.679702)'))) / (select extract(epoch from '2026-07-18 19:33:05'::timestamp) - extract(epoch from '2026-07-18 19:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526216 -3.679681)'), GeomFromEWKT('SRID=4674;POINT (-38.526195 -3.679702)'))) / (select extract(epoch from '2026-07-18 19:33:05'::timestamp) - extract(epoch from '2026-07-18 19:33: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'), 47391, 'SRID=4674;POINT (-38.526131 -3.679779)', '2026-07-18 19:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526195 -3.679702)'), GeomFromEWKT('SRID=4674;POINT (-38.526131 -3.679779)'))) / (select extract(epoch from '2026-07-18 19:33:11'::timestamp) - extract(epoch from '2026-07-18 19:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526195 -3.679702)'), GeomFromEWKT('SRID=4674;POINT (-38.526131 -3.679779)'))) / (select extract(epoch from '2026-07-18 19:33:11'::timestamp) - extract(epoch from '2026-07-18 19:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.526104 -3.679823)', '2026-07-18 19:33:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526131 -3.679779)'), GeomFromEWKT('SRID=4674;POINT (-38.526104 -3.679823)'))) / (select extract(epoch from '2026-07-18 19:33:14'::timestamp) - extract(epoch from '2026-07-18 19:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526131 -3.679779)'), GeomFromEWKT('SRID=4674;POINT (-38.526104 -3.679823)'))) / (select extract(epoch from '2026-07-18 19:33:14'::timestamp) - extract(epoch from '2026-07-18 19:33: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'), 47391, 'SRID=4674;POINT (-38.526071 -3.679846)', '2026-07-18 19:33:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526104 -3.679823)'), GeomFromEWKT('SRID=4674;POINT (-38.526071 -3.679846)'))) / (select extract(epoch from '2026-07-18 19:33:16'::timestamp) - extract(epoch from '2026-07-18 19:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526104 -3.679823)'), GeomFromEWKT('SRID=4674;POINT (-38.526071 -3.679846)'))) / (select extract(epoch from '2026-07-18 19:33:16'::timestamp) - extract(epoch from '2026-07-18 19:33: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'), 47391, 'SRID=4674;POINT (-38.526021 -3.679928)', '2026-07-18 19:33:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526071 -3.679846)'), GeomFromEWKT('SRID=4674;POINT (-38.526021 -3.679928)'))) / (select extract(epoch from '2026-07-18 19:33:22'::timestamp) - extract(epoch from '2026-07-18 19:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526071 -3.679846)'), GeomFromEWKT('SRID=4674;POINT (-38.526021 -3.679928)'))) / (select extract(epoch from '2026-07-18 19:33:22'::timestamp) - extract(epoch from '2026-07-18 19:33: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'), 47391, 'SRID=4674;POINT (-38.525967 -3.680006)', '2026-07-18 19:33:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526021 -3.679928)'), GeomFromEWKT('SRID=4674;POINT (-38.525967 -3.680006)'))) / (select extract(epoch from '2026-07-18 19:33:28'::timestamp) - extract(epoch from '2026-07-18 19:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526021 -3.679928)'), GeomFromEWKT('SRID=4674;POINT (-38.525967 -3.680006)'))) / (select extract(epoch from '2026-07-18 19:33:28'::timestamp) - extract(epoch from '2026-07-18 19:33: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'), 47391, 'SRID=4674;POINT (-38.525895 -3.6801)', '2026-07-18 19:33:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525967 -3.680006)'), GeomFromEWKT('SRID=4674;POINT (-38.525895 -3.6801)'))) / (select extract(epoch from '2026-07-18 19:33:35'::timestamp) - extract(epoch from '2026-07-18 19:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525967 -3.680006)'), GeomFromEWKT('SRID=4674;POINT (-38.525895 -3.6801)'))) / (select extract(epoch from '2026-07-18 19:33:35'::timestamp) - extract(epoch from '2026-07-18 19:33: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'), 47391, 'SRID=4674;POINT (-38.525879 -3.680112)', '2026-07-18 19:33:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525895 -3.6801)'), GeomFromEWKT('SRID=4674;POINT (-38.525879 -3.680112)'))) / (select extract(epoch from '2026-07-18 19:33:36'::timestamp) - extract(epoch from '2026-07-18 19:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525895 -3.6801)'), GeomFromEWKT('SRID=4674;POINT (-38.525879 -3.680112)'))) / (select extract(epoch from '2026-07-18 19:33:36'::timestamp) - extract(epoch from '2026-07-18 19:33: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'), 47391, 'SRID=4674;POINT (-38.525794 -3.680184)', '2026-07-18 19:33:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525879 -3.680112)'), GeomFromEWKT('SRID=4674;POINT (-38.525794 -3.680184)'))) / (select extract(epoch from '2026-07-18 19:33:42'::timestamp) - extract(epoch from '2026-07-18 19:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525879 -3.680112)'), GeomFromEWKT('SRID=4674;POINT (-38.525794 -3.680184)'))) / (select extract(epoch from '2026-07-18 19:33:42'::timestamp) - extract(epoch from '2026-07-18 19:33:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525737 -3.680264)', '2026-07-18 19:33:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525794 -3.680184)'), GeomFromEWKT('SRID=4674;POINT (-38.525737 -3.680264)'))) / (select extract(epoch from '2026-07-18 19:33:49'::timestamp) - extract(epoch from '2026-07-18 19:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525794 -3.680184)'), GeomFromEWKT('SRID=4674;POINT (-38.525737 -3.680264)'))) / (select extract(epoch from '2026-07-18 19:33:49'::timestamp) - extract(epoch from '2026-07-18 19:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525663 -3.68034)', '2026-07-18 19:33:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525737 -3.680264)'), GeomFromEWKT('SRID=4674;POINT (-38.525663 -3.68034)'))) / (select extract(epoch from '2026-07-18 19:33:57'::timestamp) - extract(epoch from '2026-07-18 19:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525737 -3.680264)'), GeomFromEWKT('SRID=4674;POINT (-38.525663 -3.68034)'))) / (select extract(epoch from '2026-07-18 19:33:57'::timestamp) - extract(epoch from '2026-07-18 19:33: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'), 47391, 'SRID=4674;POINT (-38.525618 -3.680397)', '2026-07-18 19:34:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525663 -3.68034)'), GeomFromEWKT('SRID=4674;POINT (-38.525618 -3.680397)'))) / (select extract(epoch from '2026-07-18 19:34:03'::timestamp) - extract(epoch from '2026-07-18 19:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525663 -3.68034)'), GeomFromEWKT('SRID=4674;POINT (-38.525618 -3.680397)'))) / (select extract(epoch from '2026-07-18 19:34:03'::timestamp) - extract(epoch from '2026-07-18 19:33: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'), 47391, 'SRID=4674;POINT (-38.52561 -3.680417)', '2026-07-18 19:34:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525618 -3.680397)'), GeomFromEWKT('SRID=4674;POINT (-38.52561 -3.680417)'))) / (select extract(epoch from '2026-07-18 19:34:05'::timestamp) - extract(epoch from '2026-07-18 19:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525618 -3.680397)'), GeomFromEWKT('SRID=4674;POINT (-38.52561 -3.680417)'))) / (select extract(epoch from '2026-07-18 19:34:05'::timestamp) - extract(epoch from '2026-07-18 19:34: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'), 47391, 'SRID=4674;POINT (-38.525591 -3.680442)', '2026-07-18 19:34:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52561 -3.680417)'), GeomFromEWKT('SRID=4674;POINT (-38.525591 -3.680442)'))) / (select extract(epoch from '2026-07-18 19:34:08'::timestamp) - extract(epoch from '2026-07-18 19:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52561 -3.680417)'), GeomFromEWKT('SRID=4674;POINT (-38.525591 -3.680442)'))) / (select extract(epoch from '2026-07-18 19:34:08'::timestamp) - extract(epoch from '2026-07-18 19:34: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'), 47391, 'SRID=4674;POINT (-38.525547 -3.680523)', '2026-07-18 19:34:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525591 -3.680442)'), GeomFromEWKT('SRID=4674;POINT (-38.525547 -3.680523)'))) / (select extract(epoch from '2026-07-18 19:34:14'::timestamp) - extract(epoch from '2026-07-18 19:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525591 -3.680442)'), GeomFromEWKT('SRID=4674;POINT (-38.525547 -3.680523)'))) / (select extract(epoch from '2026-07-18 19:34:14'::timestamp) - extract(epoch from '2026-07-18 19:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525524 -3.68057)', '2026-07-18 19:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525547 -3.680523)'), GeomFromEWKT('SRID=4674;POINT (-38.525524 -3.68057)'))) / (select extract(epoch from '2026-07-18 19:34:17'::timestamp) - extract(epoch from '2026-07-18 19:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525547 -3.680523)'), GeomFromEWKT('SRID=4674;POINT (-38.525524 -3.68057)'))) / (select extract(epoch from '2026-07-18 19:34:17'::timestamp) - extract(epoch from '2026-07-18 19:34: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'), 47391, 'SRID=4674;POINT (-38.525515 -3.680605)', '2026-07-18 19:34:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525524 -3.68057)'), GeomFromEWKT('SRID=4674;POINT (-38.525515 -3.680605)'))) / (select extract(epoch from '2026-07-18 19:34:19'::timestamp) - extract(epoch from '2026-07-18 19:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525524 -3.68057)'), GeomFromEWKT('SRID=4674;POINT (-38.525515 -3.680605)'))) / (select extract(epoch from '2026-07-18 19:34:19'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.525487 -3.680684)', '2026-07-18 19:34:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525515 -3.680605)'), GeomFromEWKT('SRID=4674;POINT (-38.525487 -3.680684)'))) / (select extract(epoch from '2026-07-18 19:34:24'::timestamp) - extract(epoch from '2026-07-18 19:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525515 -3.680605)'), GeomFromEWKT('SRID=4674;POINT (-38.525487 -3.680684)'))) / (select extract(epoch from '2026-07-18 19:34:24'::timestamp) - extract(epoch from '2026-07-18 19:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525474 -3.680786)', '2026-07-18 19:34:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525487 -3.680684)'), GeomFromEWKT('SRID=4674;POINT (-38.525474 -3.680786)'))) / (select extract(epoch from '2026-07-18 19:34:30'::timestamp) - extract(epoch from '2026-07-18 19:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525487 -3.680684)'), GeomFromEWKT('SRID=4674;POINT (-38.525474 -3.680786)'))) / (select extract(epoch from '2026-07-18 19:34:30'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.525455 -3.680826)', '2026-07-18 19:34:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525474 -3.680786)'), GeomFromEWKT('SRID=4674;POINT (-38.525455 -3.680826)'))) / (select extract(epoch from '2026-07-18 19:34:32'::timestamp) - extract(epoch from '2026-07-18 19:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525474 -3.680786)'), GeomFromEWKT('SRID=4674;POINT (-38.525455 -3.680826)'))) / (select extract(epoch from '2026-07-18 19:34:32'::timestamp) - extract(epoch from '2026-07-18 19:34: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'), 47391, 'SRID=4674;POINT (-38.525447 -3.680899)', '2026-07-18 19:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525455 -3.680826)'), GeomFromEWKT('SRID=4674;POINT (-38.525447 -3.680899)'))) / (select extract(epoch from '2026-07-18 19:34:36'::timestamp) - extract(epoch from '2026-07-18 19:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525455 -3.680826)'), GeomFromEWKT('SRID=4674;POINT (-38.525447 -3.680899)'))) / (select extract(epoch from '2026-07-18 19:34:36'::timestamp) - extract(epoch from '2026-07-18 19:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525422 -3.681004)', '2026-07-18 19:34:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525447 -3.680899)'), GeomFromEWKT('SRID=4674;POINT (-38.525422 -3.681004)'))) / (select extract(epoch from '2026-07-18 19:34:42'::timestamp) - extract(epoch from '2026-07-18 19:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525447 -3.680899)'), GeomFromEWKT('SRID=4674;POINT (-38.525422 -3.681004)'))) / (select extract(epoch from '2026-07-18 19:34:42'::timestamp) - extract(epoch from '2026-07-18 19:34: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'), 47391, 'SRID=4674;POINT (-38.525404 -3.681044)', '2026-07-18 19:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525422 -3.681004)'), GeomFromEWKT('SRID=4674;POINT (-38.525404 -3.681044)'))) / (select extract(epoch from '2026-07-18 19:34:45'::timestamp) - extract(epoch from '2026-07-18 19:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525422 -3.681004)'), GeomFromEWKT('SRID=4674;POINT (-38.525404 -3.681044)'))) / (select extract(epoch from '2026-07-18 19:34:45'::timestamp) - extract(epoch from '2026-07-18 19:34: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'), 47391, 'SRID=4674;POINT (-38.525391 -3.681089)', '2026-07-18 19:34:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525404 -3.681044)'), GeomFromEWKT('SRID=4674;POINT (-38.525391 -3.681089)'))) / (select extract(epoch from '2026-07-18 19:34:48'::timestamp) - extract(epoch from '2026-07-18 19:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525404 -3.681044)'), GeomFromEWKT('SRID=4674;POINT (-38.525391 -3.681089)'))) / (select extract(epoch from '2026-07-18 19:34:48'::timestamp) - extract(epoch from '2026-07-18 19:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525347 -3.681179)', '2026-07-18 19:34:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525391 -3.681089)'), GeomFromEWKT('SRID=4674;POINT (-38.525347 -3.681179)'))) / (select extract(epoch from '2026-07-18 19:34:54'::timestamp) - extract(epoch from '2026-07-18 19:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525391 -3.681089)'), GeomFromEWKT('SRID=4674;POINT (-38.525347 -3.681179)'))) / (select extract(epoch from '2026-07-18 19:34:54'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.525338 -3.681207)', '2026-07-18 19:34:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525347 -3.681179)'), GeomFromEWKT('SRID=4674;POINT (-38.525338 -3.681207)'))) / (select extract(epoch from '2026-07-18 19:34:56'::timestamp) - extract(epoch from '2026-07-18 19:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525347 -3.681179)'), GeomFromEWKT('SRID=4674;POINT (-38.525338 -3.681207)'))) / (select extract(epoch from '2026-07-18 19:34:56'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.525316 -3.681252)', '2026-07-18 19:34:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525338 -3.681207)'), GeomFromEWKT('SRID=4674;POINT (-38.525316 -3.681252)'))) / (select extract(epoch from '2026-07-18 19:34:59'::timestamp) - extract(epoch from '2026-07-18 19:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525338 -3.681207)'), GeomFromEWKT('SRID=4674;POINT (-38.525316 -3.681252)'))) / (select extract(epoch from '2026-07-18 19:34:59'::timestamp) - extract(epoch from '2026-07-18 19:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.5253 -3.681364)', '2026-07-18 19:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525316 -3.681252)'), GeomFromEWKT('SRID=4674;POINT (-38.5253 -3.681364)'))) / (select extract(epoch from '2026-07-18 19:35:06'::timestamp) - extract(epoch from '2026-07-18 19:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525316 -3.681252)'), GeomFromEWKT('SRID=4674;POINT (-38.5253 -3.681364)'))) / (select extract(epoch from '2026-07-18 19:35:06'::timestamp) - extract(epoch from '2026-07-18 19:34: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'), 47391, 'SRID=4674;POINT (-38.525264 -3.681473)', '2026-07-18 19:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5253 -3.681364)'), GeomFromEWKT('SRID=4674;POINT (-38.525264 -3.681473)'))) / (select extract(epoch from '2026-07-18 19:35:13'::timestamp) - extract(epoch from '2026-07-18 19:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5253 -3.681364)'), GeomFromEWKT('SRID=4674;POINT (-38.525264 -3.681473)'))) / (select extract(epoch from '2026-07-18 19:35:13'::timestamp) - extract(epoch from '2026-07-18 19:35: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'), 47391, 'SRID=4674;POINT (-38.525232 -3.681579)', '2026-07-18 19:35:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525264 -3.681473)'), GeomFromEWKT('SRID=4674;POINT (-38.525232 -3.681579)'))) / (select extract(epoch from '2026-07-18 19:35:20'::timestamp) - extract(epoch from '2026-07-18 19:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525264 -3.681473)'), GeomFromEWKT('SRID=4674;POINT (-38.525232 -3.681579)'))) / (select extract(epoch from '2026-07-18 19:35:20'::timestamp) - extract(epoch from '2026-07-18 19:35: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'), 47391, 'SRID=4674;POINT (-38.525179 -3.681685)', '2026-07-18 19:35:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525232 -3.681579)'), GeomFromEWKT('SRID=4674;POINT (-38.525179 -3.681685)'))) / (select extract(epoch from '2026-07-18 19:35:27'::timestamp) - extract(epoch from '2026-07-18 19:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525232 -3.681579)'), GeomFromEWKT('SRID=4674;POINT (-38.525179 -3.681685)'))) / (select extract(epoch from '2026-07-18 19:35:27'::timestamp) - extract(epoch from '2026-07-18 19:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525156 -3.681742)', '2026-07-18 19:35:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525179 -3.681685)'), GeomFromEWKT('SRID=4674;POINT (-38.525156 -3.681742)'))) / (select extract(epoch from '2026-07-18 19:35:31'::timestamp) - extract(epoch from '2026-07-18 19:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525179 -3.681685)'), GeomFromEWKT('SRID=4674;POINT (-38.525156 -3.681742)'))) / (select extract(epoch from '2026-07-18 19:35:31'::timestamp) - extract(epoch from '2026-07-18 19:35:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525143 -3.681752)', '2026-07-18 19:35:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525156 -3.681742)'), GeomFromEWKT('SRID=4674;POINT (-38.525143 -3.681752)'))) / (select extract(epoch from '2026-07-18 19:35:32'::timestamp) - extract(epoch from '2026-07-18 19:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525156 -3.681742)'), GeomFromEWKT('SRID=4674;POINT (-38.525143 -3.681752)'))) / (select extract(epoch from '2026-07-18 19:35:32'::timestamp) - extract(epoch from '2026-07-18 19:35: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'), 47391, 'SRID=4674;POINT (-38.525119 -3.681772)', '2026-07-18 19:35:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525143 -3.681752)'), GeomFromEWKT('SRID=4674;POINT (-38.525119 -3.681772)'))) / (select extract(epoch from '2026-07-18 19:35:34'::timestamp) - extract(epoch from '2026-07-18 19:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525143 -3.681752)'), GeomFromEWKT('SRID=4674;POINT (-38.525119 -3.681772)'))) / (select extract(epoch from '2026-07-18 19:35:34'::timestamp) - extract(epoch from '2026-07-18 19:35: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'), 47391, 'SRID=4674;POINT (-38.52509 -3.681811)', '2026-07-18 19:35:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525119 -3.681772)'), GeomFromEWKT('SRID=4674;POINT (-38.52509 -3.681811)'))) / (select extract(epoch from '2026-07-18 19:35:37'::timestamp) - extract(epoch from '2026-07-18 19:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525119 -3.681772)'), GeomFromEWKT('SRID=4674;POINT (-38.52509 -3.681811)'))) / (select extract(epoch from '2026-07-18 19:35:37'::timestamp) - extract(epoch from '2026-07-18 19:35:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525017 -3.681877)', '2026-07-18 19:35:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52509 -3.681811)'), GeomFromEWKT('SRID=4674;POINT (-38.525017 -3.681877)'))) / (select extract(epoch from '2026-07-18 19:35:43'::timestamp) - extract(epoch from '2026-07-18 19:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52509 -3.681811)'), GeomFromEWKT('SRID=4674;POINT (-38.525017 -3.681877)'))) / (select extract(epoch from '2026-07-18 19:35:43'::timestamp) - extract(epoch from '2026-07-18 19:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524969 -3.681927)', '2026-07-18 19:35:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525017 -3.681877)'), GeomFromEWKT('SRID=4674;POINT (-38.524969 -3.681927)'))) / (select extract(epoch from '2026-07-18 19:35:48'::timestamp) - extract(epoch from '2026-07-18 19:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525017 -3.681877)'), GeomFromEWKT('SRID=4674;POINT (-38.524969 -3.681927)'))) / (select extract(epoch from '2026-07-18 19:35:48'::timestamp) - extract(epoch from '2026-07-18 19:35: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'), 47391, 'SRID=4674;POINT (-38.524896 -3.68199)', '2026-07-18 19:35:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524969 -3.681927)'), GeomFromEWKT('SRID=4674;POINT (-38.524896 -3.68199)'))) / (select extract(epoch from '2026-07-18 19:35:55'::timestamp) - extract(epoch from '2026-07-18 19:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524969 -3.681927)'), GeomFromEWKT('SRID=4674;POINT (-38.524896 -3.68199)'))) / (select extract(epoch from '2026-07-18 19:35:55'::timestamp) - extract(epoch from '2026-07-18 19:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524839 -3.682028)', '2026-07-18 19:36:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524896 -3.68199)'), GeomFromEWKT('SRID=4674;POINT (-38.524839 -3.682028)'))) / (select extract(epoch from '2026-07-18 19:36:00'::timestamp) - extract(epoch from '2026-07-18 19:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524896 -3.68199)'), GeomFromEWKT('SRID=4674;POINT (-38.524839 -3.682028)'))) / (select extract(epoch from '2026-07-18 19:36:00'::timestamp) - extract(epoch from '2026-07-18 19:35:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524829 -3.682039)', '2026-07-18 19:36:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524839 -3.682028)'), GeomFromEWKT('SRID=4674;POINT (-38.524829 -3.682039)'))) / (select extract(epoch from '2026-07-18 19:36:01'::timestamp) - extract(epoch from '2026-07-18 19:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524839 -3.682028)'), GeomFromEWKT('SRID=4674;POINT (-38.524829 -3.682039)'))) / (select extract(epoch from '2026-07-18 19:36:01'::timestamp) - extract(epoch from '2026-07-18 19:36: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'), 47391, 'SRID=4674;POINT (-38.524778 -3.682084)', '2026-07-18 19:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524829 -3.682039)'), GeomFromEWKT('SRID=4674;POINT (-38.524778 -3.682084)'))) / (select extract(epoch from '2026-07-18 19:36:05'::timestamp) - extract(epoch from '2026-07-18 19:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524829 -3.682039)'), GeomFromEWKT('SRID=4674;POINT (-38.524778 -3.682084)'))) / (select extract(epoch from '2026-07-18 19:36:05'::timestamp) - extract(epoch from '2026-07-18 19:36:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52477 -3.68211)', '2026-07-18 19:36:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524778 -3.682084)'), GeomFromEWKT('SRID=4674;POINT (-38.52477 -3.68211)'))) / (select extract(epoch from '2026-07-18 19:36:07'::timestamp) - extract(epoch from '2026-07-18 19:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524778 -3.682084)'), GeomFromEWKT('SRID=4674;POINT (-38.52477 -3.68211)'))) / (select extract(epoch from '2026-07-18 19:36:07'::timestamp) - extract(epoch from '2026-07-18 19:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524726 -3.682169)', '2026-07-18 19:36:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52477 -3.68211)'), GeomFromEWKT('SRID=4674;POINT (-38.524726 -3.682169)'))) / (select extract(epoch from '2026-07-18 19:36:13'::timestamp) - extract(epoch from '2026-07-18 19:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52477 -3.68211)'), GeomFromEWKT('SRID=4674;POINT (-38.524726 -3.682169)'))) / (select extract(epoch from '2026-07-18 19:36:13'::timestamp) - extract(epoch from '2026-07-18 19:36: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'), 47391, 'SRID=4674;POINT (-38.524657 -3.68226)', '2026-07-18 19:36:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524726 -3.682169)'), GeomFromEWKT('SRID=4674;POINT (-38.524657 -3.68226)'))) / (select extract(epoch from '2026-07-18 19:36:20'::timestamp) - extract(epoch from '2026-07-18 19:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524726 -3.682169)'), GeomFromEWKT('SRID=4674;POINT (-38.524657 -3.68226)'))) / (select extract(epoch from '2026-07-18 19:36:20'::timestamp) - extract(epoch from '2026-07-18 19:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524585 -3.68235)', '2026-07-18 19:36:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524657 -3.68226)'), GeomFromEWKT('SRID=4674;POINT (-38.524585 -3.68235)'))) / (select extract(epoch from '2026-07-18 19:36:27'::timestamp) - extract(epoch from '2026-07-18 19:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524657 -3.68226)'), GeomFromEWKT('SRID=4674;POINT (-38.524585 -3.68235)'))) / (select extract(epoch from '2026-07-18 19:36:27'::timestamp) - extract(epoch from '2026-07-18 19:36: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'), 47391, 'SRID=4674;POINT (-38.524497 -3.682448)', '2026-07-18 19:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524585 -3.68235)'), GeomFromEWKT('SRID=4674;POINT (-38.524497 -3.682448)'))) / (select extract(epoch from '2026-07-18 19:36:34'::timestamp) - extract(epoch from '2026-07-18 19:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524585 -3.68235)'), GeomFromEWKT('SRID=4674;POINT (-38.524497 -3.682448)'))) / (select extract(epoch from '2026-07-18 19:36:34'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.524436 -3.682516)', '2026-07-18 19:36:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524497 -3.682448)'), GeomFromEWKT('SRID=4674;POINT (-38.524436 -3.682516)'))) / (select extract(epoch from '2026-07-18 19:36:40'::timestamp) - extract(epoch from '2026-07-18 19:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524497 -3.682448)'), GeomFromEWKT('SRID=4674;POINT (-38.524436 -3.682516)'))) / (select extract(epoch from '2026-07-18 19:36:40'::timestamp) - extract(epoch from '2026-07-18 19:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524408 -3.682541)', '2026-07-18 19:36:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524436 -3.682516)'), GeomFromEWKT('SRID=4674;POINT (-38.524408 -3.682541)'))) / (select extract(epoch from '2026-07-18 19:36:42'::timestamp) - extract(epoch from '2026-07-18 19:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524436 -3.682516)'), GeomFromEWKT('SRID=4674;POINT (-38.524408 -3.682541)'))) / (select extract(epoch from '2026-07-18 19:36:42'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.524351 -3.682599)', '2026-07-18 19:36:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524408 -3.682541)'), GeomFromEWKT('SRID=4674;POINT (-38.524351 -3.682599)'))) / (select extract(epoch from '2026-07-18 19:36:47'::timestamp) - extract(epoch from '2026-07-18 19:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524408 -3.682541)'), GeomFromEWKT('SRID=4674;POINT (-38.524351 -3.682599)'))) / (select extract(epoch from '2026-07-18 19:36:47'::timestamp) - extract(epoch from '2026-07-18 19:36:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524299 -3.682662)', '2026-07-18 19:36:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524351 -3.682599)'), GeomFromEWKT('SRID=4674;POINT (-38.524299 -3.682662)'))) / (select extract(epoch from '2026-07-18 19:36:53'::timestamp) - extract(epoch from '2026-07-18 19:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524351 -3.682599)'), GeomFromEWKT('SRID=4674;POINT (-38.524299 -3.682662)'))) / (select extract(epoch from '2026-07-18 19:36:53'::timestamp) - extract(epoch from '2026-07-18 19:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524243 -3.682724)', '2026-07-18 19:36:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524299 -3.682662)'), GeomFromEWKT('SRID=4674;POINT (-38.524243 -3.682724)'))) / (select extract(epoch from '2026-07-18 19:36:58'::timestamp) - extract(epoch from '2026-07-18 19:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524299 -3.682662)'), GeomFromEWKT('SRID=4674;POINT (-38.524243 -3.682724)'))) / (select extract(epoch from '2026-07-18 19:36:58'::timestamp) - extract(epoch from '2026-07-18 19:36: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'), 47391, 'SRID=4674;POINT (-38.524231 -3.682765)', '2026-07-18 19:37:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524243 -3.682724)'), GeomFromEWKT('SRID=4674;POINT (-38.524231 -3.682765)'))) / (select extract(epoch from '2026-07-18 19:37:01'::timestamp) - extract(epoch from '2026-07-18 19:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524243 -3.682724)'), GeomFromEWKT('SRID=4674;POINT (-38.524231 -3.682765)'))) / (select extract(epoch from '2026-07-18 19:37:01'::timestamp) - extract(epoch from '2026-07-18 19:36: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'), 47391, 'SRID=4674;POINT (-38.524205 -3.682786)', '2026-07-18 19:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524231 -3.682765)'), GeomFromEWKT('SRID=4674;POINT (-38.524205 -3.682786)'))) / (select extract(epoch from '2026-07-18 19:37:03'::timestamp) - extract(epoch from '2026-07-18 19:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524231 -3.682765)'), GeomFromEWKT('SRID=4674;POINT (-38.524205 -3.682786)'))) / (select extract(epoch from '2026-07-18 19:37:03'::timestamp) - extract(epoch from '2026-07-18 19:37: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'), 47391, 'SRID=4674;POINT (-38.52416 -3.682872)', '2026-07-18 19:37:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524205 -3.682786)'), GeomFromEWKT('SRID=4674;POINT (-38.52416 -3.682872)'))) / (select extract(epoch from '2026-07-18 19:37:09'::timestamp) - extract(epoch from '2026-07-18 19:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524205 -3.682786)'), GeomFromEWKT('SRID=4674;POINT (-38.52416 -3.682872)'))) / (select extract(epoch from '2026-07-18 19:37:09'::timestamp) - extract(epoch from '2026-07-18 19:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524069 -3.683008)', '2026-07-18 19:37:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52416 -3.682872)'), GeomFromEWKT('SRID=4674;POINT (-38.524069 -3.683008)'))) / (select extract(epoch from '2026-07-18 19:37:19'::timestamp) - extract(epoch from '2026-07-18 19:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52416 -3.682872)'), GeomFromEWKT('SRID=4674;POINT (-38.524069 -3.683008)'))) / (select extract(epoch from '2026-07-18 19:37:19'::timestamp) - extract(epoch from '2026-07-18 19:37: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'), 47391, 'SRID=4674;POINT (-38.524054 -3.683035)', '2026-07-18 19:37:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524069 -3.683008)'), GeomFromEWKT('SRID=4674;POINT (-38.524054 -3.683035)'))) / (select extract(epoch from '2026-07-18 19:37:21'::timestamp) - extract(epoch from '2026-07-18 19:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524069 -3.683008)'), GeomFromEWKT('SRID=4674;POINT (-38.524054 -3.683035)'))) / (select extract(epoch from '2026-07-18 19:37:21'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.524023 -3.683069)', '2026-07-18 19:37:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524054 -3.683035)'), GeomFromEWKT('SRID=4674;POINT (-38.524023 -3.683069)'))) / (select extract(epoch from '2026-07-18 19:37:24'::timestamp) - extract(epoch from '2026-07-18 19:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524054 -3.683035)'), GeomFromEWKT('SRID=4674;POINT (-38.524023 -3.683069)'))) / (select extract(epoch from '2026-07-18 19:37:24'::timestamp) - extract(epoch from '2026-07-18 19:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52394 -3.683154)', '2026-07-18 19:37:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524023 -3.683069)'), GeomFromEWKT('SRID=4674;POINT (-38.52394 -3.683154)'))) / (select extract(epoch from '2026-07-18 19:37:31'::timestamp) - extract(epoch from '2026-07-18 19:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524023 -3.683069)'), GeomFromEWKT('SRID=4674;POINT (-38.52394 -3.683154)'))) / (select extract(epoch from '2026-07-18 19:37:31'::timestamp) - extract(epoch from '2026-07-18 19:37: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'), 47391, 'SRID=4674;POINT (-38.523918 -3.683191)', '2026-07-18 19:37:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52394 -3.683154)'), GeomFromEWKT('SRID=4674;POINT (-38.523918 -3.683191)'))) / (select extract(epoch from '2026-07-18 19:37:34'::timestamp) - extract(epoch from '2026-07-18 19:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52394 -3.683154)'), GeomFromEWKT('SRID=4674;POINT (-38.523918 -3.683191)'))) / (select extract(epoch from '2026-07-18 19:37:34'::timestamp) - extract(epoch from '2026-07-18 19:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523887 -3.68321)', '2026-07-18 19:37:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523918 -3.683191)'), GeomFromEWKT('SRID=4674;POINT (-38.523887 -3.68321)'))) / (select extract(epoch from '2026-07-18 19:37:36'::timestamp) - extract(epoch from '2026-07-18 19:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523918 -3.683191)'), GeomFromEWKT('SRID=4674;POINT (-38.523887 -3.68321)'))) / (select extract(epoch from '2026-07-18 19:37:36'::timestamp) - extract(epoch from '2026-07-18 19:37: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'), 47391, 'SRID=4674;POINT (-38.52388 -3.683223)', '2026-07-18 19:37:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523887 -3.68321)'), GeomFromEWKT('SRID=4674;POINT (-38.52388 -3.683223)'))) / (select extract(epoch from '2026-07-18 19:37:37'::timestamp) - extract(epoch from '2026-07-18 19:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523887 -3.68321)'), GeomFromEWKT('SRID=4674;POINT (-38.52388 -3.683223)'))) / (select extract(epoch from '2026-07-18 19:37:37'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.523835 -3.683276)', '2026-07-18 19:37:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52388 -3.683223)'), GeomFromEWKT('SRID=4674;POINT (-38.523835 -3.683276)'))) / (select extract(epoch from '2026-07-18 19:37:41'::timestamp) - extract(epoch from '2026-07-18 19:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52388 -3.683223)'), GeomFromEWKT('SRID=4674;POINT (-38.523835 -3.683276)'))) / (select extract(epoch from '2026-07-18 19:37:41'::timestamp) - extract(epoch from '2026-07-18 19:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523803 -3.683313)', '2026-07-18 19:37:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523835 -3.683276)'), GeomFromEWKT('SRID=4674;POINT (-38.523803 -3.683313)'))) / (select extract(epoch from '2026-07-18 19:37:44'::timestamp) - extract(epoch from '2026-07-18 19:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523835 -3.683276)'), GeomFromEWKT('SRID=4674;POINT (-38.523803 -3.683313)'))) / (select extract(epoch from '2026-07-18 19:37:44'::timestamp) - extract(epoch from '2026-07-18 19:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523797 -3.683344)', '2026-07-18 19:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523803 -3.683313)'), GeomFromEWKT('SRID=4674;POINT (-38.523797 -3.683344)'))) / (select extract(epoch from '2026-07-18 19:37:46'::timestamp) - extract(epoch from '2026-07-18 19:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523803 -3.683313)'), GeomFromEWKT('SRID=4674;POINT (-38.523797 -3.683344)'))) / (select extract(epoch from '2026-07-18 19:37:46'::timestamp) - extract(epoch from '2026-07-18 19:37:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523749 -3.683431)', '2026-07-18 19:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523797 -3.683344)'), GeomFromEWKT('SRID=4674;POINT (-38.523749 -3.683431)'))) / (select extract(epoch from '2026-07-18 19:37:52'::timestamp) - extract(epoch from '2026-07-18 19:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523797 -3.683344)'), GeomFromEWKT('SRID=4674;POINT (-38.523749 -3.683431)'))) / (select extract(epoch from '2026-07-18 19:37:52'::timestamp) - extract(epoch from '2026-07-18 19:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523693 -3.683516)', '2026-07-18 19:37:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523749 -3.683431)'), GeomFromEWKT('SRID=4674;POINT (-38.523693 -3.683516)'))) / (select extract(epoch from '2026-07-18 19:37:58'::timestamp) - extract(epoch from '2026-07-18 19:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523749 -3.683431)'), GeomFromEWKT('SRID=4674;POINT (-38.523693 -3.683516)'))) / (select extract(epoch from '2026-07-18 19:37:58'::timestamp) - extract(epoch from '2026-07-18 19:37: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'), 47391, 'SRID=4674;POINT (-38.523635 -3.683573)', '2026-07-18 19:38:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523693 -3.683516)'), GeomFromEWKT('SRID=4674;POINT (-38.523635 -3.683573)'))) / (select extract(epoch from '2026-07-18 19:38:03'::timestamp) - extract(epoch from '2026-07-18 19:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523693 -3.683516)'), GeomFromEWKT('SRID=4674;POINT (-38.523635 -3.683573)'))) / (select extract(epoch from '2026-07-18 19:38:03'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.523571 -3.683638)', '2026-07-18 19:38:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523635 -3.683573)'), GeomFromEWKT('SRID=4674;POINT (-38.523571 -3.683638)'))) / (select extract(epoch from '2026-07-18 19:38:10'::timestamp) - extract(epoch from '2026-07-18 19:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523635 -3.683573)'), GeomFromEWKT('SRID=4674;POINT (-38.523571 -3.683638)'))) / (select extract(epoch from '2026-07-18 19:38:10'::timestamp) - extract(epoch from '2026-07-18 19:38: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'), 47391, 'SRID=4674;POINT (-38.523515 -3.683702)', '2026-07-18 19:38:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523571 -3.683638)'), GeomFromEWKT('SRID=4674;POINT (-38.523515 -3.683702)'))) / (select extract(epoch from '2026-07-18 19:38:16'::timestamp) - extract(epoch from '2026-07-18 19:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523571 -3.683638)'), GeomFromEWKT('SRID=4674;POINT (-38.523515 -3.683702)'))) / (select extract(epoch from '2026-07-18 19:38:16'::timestamp) - extract(epoch from '2026-07-18 19:38:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523414 -3.683787)', '2026-07-18 19:38:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523515 -3.683702)'), GeomFromEWKT('SRID=4674;POINT (-38.523414 -3.683787)'))) / (select extract(epoch from '2026-07-18 19:38:24'::timestamp) - extract(epoch from '2026-07-18 19:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523515 -3.683702)'), GeomFromEWKT('SRID=4674;POINT (-38.523414 -3.683787)'))) / (select extract(epoch from '2026-07-18 19:38:24'::timestamp) - extract(epoch from '2026-07-18 19:38: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'), 47391, 'SRID=4674;POINT (-38.523345 -3.683869)', '2026-07-18 19:38:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523414 -3.683787)'), GeomFromEWKT('SRID=4674;POINT (-38.523345 -3.683869)'))) / (select extract(epoch from '2026-07-18 19:38:31'::timestamp) - extract(epoch from '2026-07-18 19:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523414 -3.683787)'), GeomFromEWKT('SRID=4674;POINT (-38.523345 -3.683869)'))) / (select extract(epoch from '2026-07-18 19:38:31'::timestamp) - extract(epoch from '2026-07-18 19:38: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'), 47391, 'SRID=4674;POINT (-38.523316 -3.683902)', '2026-07-18 19:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523345 -3.683869)'), GeomFromEWKT('SRID=4674;POINT (-38.523316 -3.683902)'))) / (select extract(epoch from '2026-07-18 19:38:34'::timestamp) - extract(epoch from '2026-07-18 19:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523345 -3.683869)'), GeomFromEWKT('SRID=4674;POINT (-38.523316 -3.683902)'))) / (select extract(epoch from '2026-07-18 19:38:34'::timestamp) - extract(epoch from '2026-07-18 19:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523314 -3.683926)', '2026-07-18 19:38:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523316 -3.683902)'), GeomFromEWKT('SRID=4674;POINT (-38.523314 -3.683926)'))) / (select extract(epoch from '2026-07-18 19:38:36'::timestamp) - extract(epoch from '2026-07-18 19:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523316 -3.683902)'), GeomFromEWKT('SRID=4674;POINT (-38.523314 -3.683926)'))) / (select extract(epoch from '2026-07-18 19:38:36'::timestamp) - extract(epoch from '2026-07-18 19:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523272 -3.683961)', '2026-07-18 19:38:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523314 -3.683926)'), GeomFromEWKT('SRID=4674;POINT (-38.523272 -3.683961)'))) / (select extract(epoch from '2026-07-18 19:38:39'::timestamp) - extract(epoch from '2026-07-18 19:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523314 -3.683926)'), GeomFromEWKT('SRID=4674;POINT (-38.523272 -3.683961)'))) / (select extract(epoch from '2026-07-18 19:38:39'::timestamp) - extract(epoch from '2026-07-18 19:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523234 -3.683993)', '2026-07-18 19:38:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523272 -3.683961)'), GeomFromEWKT('SRID=4674;POINT (-38.523234 -3.683993)'))) / (select extract(epoch from '2026-07-18 19:38:42'::timestamp) - extract(epoch from '2026-07-18 19:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523272 -3.683961)'), GeomFromEWKT('SRID=4674;POINT (-38.523234 -3.683993)'))) / (select extract(epoch from '2026-07-18 19:38:42'::timestamp) - extract(epoch from '2026-07-18 19:38:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523159 -3.684061)', '2026-07-18 19:38:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523234 -3.683993)'), GeomFromEWKT('SRID=4674;POINT (-38.523159 -3.684061)'))) / (select extract(epoch from '2026-07-18 19:38:48'::timestamp) - extract(epoch from '2026-07-18 19:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523234 -3.683993)'), GeomFromEWKT('SRID=4674;POINT (-38.523159 -3.684061)'))) / (select extract(epoch from '2026-07-18 19:38:48'::timestamp) - extract(epoch from '2026-07-18 19:38: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'), 47391, 'SRID=4674;POINT (-38.523108 -3.684101)', '2026-07-18 19:38:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523159 -3.684061)'), GeomFromEWKT('SRID=4674;POINT (-38.523108 -3.684101)'))) / (select extract(epoch from '2026-07-18 19:38:52'::timestamp) - extract(epoch from '2026-07-18 19:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523159 -3.684061)'), GeomFromEWKT('SRID=4674;POINT (-38.523108 -3.684101)'))) / (select extract(epoch from '2026-07-18 19:38:52'::timestamp) - extract(epoch from '2026-07-18 19:38: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'), 47391, 'SRID=4674;POINT (-38.523101 -3.684113)', '2026-07-18 19:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523108 -3.684101)'), GeomFromEWKT('SRID=4674;POINT (-38.523101 -3.684113)'))) / (select extract(epoch from '2026-07-18 19:38:53'::timestamp) - extract(epoch from '2026-07-18 19:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523108 -3.684101)'), GeomFromEWKT('SRID=4674;POINT (-38.523101 -3.684113)'))) / (select extract(epoch from '2026-07-18 19:38:53'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.523065 -3.684145)', '2026-07-18 19:38:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523101 -3.684113)'), GeomFromEWKT('SRID=4674;POINT (-38.523065 -3.684145)'))) / (select extract(epoch from '2026-07-18 19:38:56'::timestamp) - extract(epoch from '2026-07-18 19:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523101 -3.684113)'), GeomFromEWKT('SRID=4674;POINT (-38.523065 -3.684145)'))) / (select extract(epoch from '2026-07-18 19:38:56'::timestamp) - extract(epoch from '2026-07-18 19:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523049 -3.684161)', '2026-07-18 19:38:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523065 -3.684145)'), GeomFromEWKT('SRID=4674;POINT (-38.523049 -3.684161)'))) / (select extract(epoch from '2026-07-18 19:38:58'::timestamp) - extract(epoch from '2026-07-18 19:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523065 -3.684145)'), GeomFromEWKT('SRID=4674;POINT (-38.523049 -3.684161)'))) / (select extract(epoch from '2026-07-18 19:38:58'::timestamp) - extract(epoch from '2026-07-18 19:38: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'), 47391, 'SRID=4674;POINT (-38.522993 -3.684204)', '2026-07-18 19:39:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523049 -3.684161)'), GeomFromEWKT('SRID=4674;POINT (-38.522993 -3.684204)'))) / (select extract(epoch from '2026-07-18 19:39:03'::timestamp) - extract(epoch from '2026-07-18 19:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523049 -3.684161)'), GeomFromEWKT('SRID=4674;POINT (-38.522993 -3.684204)'))) / (select extract(epoch from '2026-07-18 19:39:03'::timestamp) - extract(epoch from '2026-07-18 19:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522923 -3.684279)', '2026-07-18 19:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522993 -3.684204)'), GeomFromEWKT('SRID=4674;POINT (-38.522923 -3.684279)'))) / (select extract(epoch from '2026-07-18 19:39:10'::timestamp) - extract(epoch from '2026-07-18 19:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522993 -3.684204)'), GeomFromEWKT('SRID=4674;POINT (-38.522923 -3.684279)'))) / (select extract(epoch from '2026-07-18 19:39:10'::timestamp) - extract(epoch from '2026-07-18 19:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522913 -3.684291)', '2026-07-18 19:39:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522923 -3.684279)'), GeomFromEWKT('SRID=4674;POINT (-38.522913 -3.684291)'))) / (select extract(epoch from '2026-07-18 19:39:11'::timestamp) - extract(epoch from '2026-07-18 19:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522923 -3.684279)'), GeomFromEWKT('SRID=4674;POINT (-38.522913 -3.684291)'))) / (select extract(epoch from '2026-07-18 19:39:11'::timestamp) - extract(epoch from '2026-07-18 19:39: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'), 47391, 'SRID=4674;POINT (-38.522857 -3.684343)', '2026-07-18 19:39:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522913 -3.684291)'), GeomFromEWKT('SRID=4674;POINT (-38.522857 -3.684343)'))) / (select extract(epoch from '2026-07-18 19:39:15'::timestamp) - extract(epoch from '2026-07-18 19:39:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522913 -3.684291)'), GeomFromEWKT('SRID=4674;POINT (-38.522857 -3.684343)'))) / (select extract(epoch from '2026-07-18 19:39:15'::timestamp) - extract(epoch from '2026-07-18 19:39:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522776 -3.684441)', '2026-07-18 19:39:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522857 -3.684343)'), GeomFromEWKT('SRID=4674;POINT (-38.522776 -3.684441)'))) / (select extract(epoch from '2026-07-18 19:39:22'::timestamp) - extract(epoch from '2026-07-18 19:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522857 -3.684343)'), GeomFromEWKT('SRID=4674;POINT (-38.522776 -3.684441)'))) / (select extract(epoch from '2026-07-18 19:39:22'::timestamp) - extract(epoch from '2026-07-18 19:39: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'), 47391, 'SRID=4674;POINT (-38.522749 -3.684478)', '2026-07-18 19:39:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522776 -3.684441)'), GeomFromEWKT('SRID=4674;POINT (-38.522749 -3.684478)'))) / (select extract(epoch from '2026-07-18 19:39:25'::timestamp) - extract(epoch from '2026-07-18 19:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522776 -3.684441)'), GeomFromEWKT('SRID=4674;POINT (-38.522749 -3.684478)'))) / (select extract(epoch from '2026-07-18 19:39:25'::timestamp) - extract(epoch from '2026-07-18 19:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522738 -3.684506)', '2026-07-18 19:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522749 -3.684478)'), GeomFromEWKT('SRID=4674;POINT (-38.522738 -3.684506)'))) / (select extract(epoch from '2026-07-18 19:39:27'::timestamp) - extract(epoch from '2026-07-18 19:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522749 -3.684478)'), GeomFromEWKT('SRID=4674;POINT (-38.522738 -3.684506)'))) / (select extract(epoch from '2026-07-18 19:39:27'::timestamp) - extract(epoch from '2026-07-18 19:39:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522727 -3.684519)', '2026-07-18 19:39:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522738 -3.684506)'), GeomFromEWKT('SRID=4674;POINT (-38.522727 -3.684519)'))) / (select extract(epoch from '2026-07-18 19:39:28'::timestamp) - extract(epoch from '2026-07-18 19:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522738 -3.684506)'), GeomFromEWKT('SRID=4674;POINT (-38.522727 -3.684519)'))) / (select extract(epoch from '2026-07-18 19:39:28'::timestamp) - extract(epoch from '2026-07-18 19:39: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'), 47391, 'SRID=4674;POINT (-38.52265 -3.684615)', '2026-07-18 19:39:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522727 -3.684519)'), GeomFromEWKT('SRID=4674;POINT (-38.52265 -3.684615)'))) / (select extract(epoch from '2026-07-18 19:39:35'::timestamp) - extract(epoch from '2026-07-18 19:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522727 -3.684519)'), GeomFromEWKT('SRID=4674;POINT (-38.52265 -3.684615)'))) / (select extract(epoch from '2026-07-18 19:39:35'::timestamp) - extract(epoch from '2026-07-18 19:39:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522546 -3.684726)', '2026-07-18 19:39:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52265 -3.684615)'), GeomFromEWKT('SRID=4674;POINT (-38.522546 -3.684726)'))) / (select extract(epoch from '2026-07-18 19:39:44'::timestamp) - extract(epoch from '2026-07-18 19:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52265 -3.684615)'), GeomFromEWKT('SRID=4674;POINT (-38.522546 -3.684726)'))) / (select extract(epoch from '2026-07-18 19:39:44'::timestamp) - extract(epoch from '2026-07-18 19:39: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'), 47391, 'SRID=4674;POINT (-38.522476 -3.684795)', '2026-07-18 19:39:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522546 -3.684726)'), GeomFromEWKT('SRID=4674;POINT (-38.522476 -3.684795)'))) / (select extract(epoch from '2026-07-18 19:39:51'::timestamp) - extract(epoch from '2026-07-18 19:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522546 -3.684726)'), GeomFromEWKT('SRID=4674;POINT (-38.522476 -3.684795)'))) / (select extract(epoch from '2026-07-18 19:39:51'::timestamp) - extract(epoch from '2026-07-18 19:39: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'), 47391, 'SRID=4674;POINT (-38.522406 -3.684863)', '2026-07-18 19:39:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522476 -3.684795)'), GeomFromEWKT('SRID=4674;POINT (-38.522406 -3.684863)'))) / (select extract(epoch from '2026-07-18 19:39:57'::timestamp) - extract(epoch from '2026-07-18 19:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522476 -3.684795)'), GeomFromEWKT('SRID=4674;POINT (-38.522406 -3.684863)'))) / (select extract(epoch from '2026-07-18 19:39:57'::timestamp) - extract(epoch from '2026-07-18 19:39: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'), 47391, 'SRID=4674;POINT (-38.5224 -3.684874)', '2026-07-18 19:39:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522406 -3.684863)'), GeomFromEWKT('SRID=4674;POINT (-38.5224 -3.684874)'))) / (select extract(epoch from '2026-07-18 19:39:58'::timestamp) - extract(epoch from '2026-07-18 19:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522406 -3.684863)'), GeomFromEWKT('SRID=4674;POINT (-38.5224 -3.684874)'))) / (select extract(epoch from '2026-07-18 19:39:58'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.522385 -3.684897)', '2026-07-18 19:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5224 -3.684874)'), GeomFromEWKT('SRID=4674;POINT (-38.522385 -3.684897)'))) / (select extract(epoch from '2026-07-18 19:40:00'::timestamp) - extract(epoch from '2026-07-18 19:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5224 -3.684874)'), GeomFromEWKT('SRID=4674;POINT (-38.522385 -3.684897)'))) / (select extract(epoch from '2026-07-18 19:40:00'::timestamp) - extract(epoch from '2026-07-18 19:39: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'), 47391, 'SRID=4674;POINT (-38.52237 -3.684908)', '2026-07-18 19:40:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522385 -3.684897)'), GeomFromEWKT('SRID=4674;POINT (-38.52237 -3.684908)'))) / (select extract(epoch from '2026-07-18 19:40:01'::timestamp) - extract(epoch from '2026-07-18 19:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522385 -3.684897)'), GeomFromEWKT('SRID=4674;POINT (-38.52237 -3.684908)'))) / (select extract(epoch from '2026-07-18 19:40:01'::timestamp) - extract(epoch from '2026-07-18 19:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522278 -3.684977)', '2026-07-18 19:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52237 -3.684908)'), GeomFromEWKT('SRID=4674;POINT (-38.522278 -3.684977)'))) / (select extract(epoch from '2026-07-18 19:40:08'::timestamp) - extract(epoch from '2026-07-18 19:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52237 -3.684908)'), GeomFromEWKT('SRID=4674;POINT (-38.522278 -3.684977)'))) / (select extract(epoch from '2026-07-18 19:40:08'::timestamp) - extract(epoch from '2026-07-18 19:40: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'), 47391, 'SRID=4674;POINT (-38.522187 -3.685037)', '2026-07-18 19:40:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522278 -3.684977)'), GeomFromEWKT('SRID=4674;POINT (-38.522187 -3.685037)'))) / (select extract(epoch from '2026-07-18 19:40:14'::timestamp) - extract(epoch from '2026-07-18 19:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522278 -3.684977)'), GeomFromEWKT('SRID=4674;POINT (-38.522187 -3.685037)'))) / (select extract(epoch from '2026-07-18 19:40:14'::timestamp) - extract(epoch from '2026-07-18 19:40: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'), 47391, 'SRID=4674;POINT (-38.522082 -3.685101)', '2026-07-18 19:40:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522187 -3.685037)'), GeomFromEWKT('SRID=4674;POINT (-38.522082 -3.685101)'))) / (select extract(epoch from '2026-07-18 19:40:21'::timestamp) - extract(epoch from '2026-07-18 19:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522187 -3.685037)'), GeomFromEWKT('SRID=4674;POINT (-38.522082 -3.685101)'))) / (select extract(epoch from '2026-07-18 19:40:21'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.522023 -3.685156)', '2026-07-18 19:40:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522082 -3.685101)'), GeomFromEWKT('SRID=4674;POINT (-38.522023 -3.685156)'))) / (select extract(epoch from '2026-07-18 19:40:26'::timestamp) - extract(epoch from '2026-07-18 19:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522082 -3.685101)'), GeomFromEWKT('SRID=4674;POINT (-38.522023 -3.685156)'))) / (select extract(epoch from '2026-07-18 19:40:26'::timestamp) - extract(epoch from '2026-07-18 19:40:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521944 -3.685234)', '2026-07-18 19:40:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522023 -3.685156)'), GeomFromEWKT('SRID=4674;POINT (-38.521944 -3.685234)'))) / (select extract(epoch from '2026-07-18 19:40:33'::timestamp) - extract(epoch from '2026-07-18 19:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522023 -3.685156)'), GeomFromEWKT('SRID=4674;POINT (-38.521944 -3.685234)'))) / (select extract(epoch from '2026-07-18 19:40:33'::timestamp) - extract(epoch from '2026-07-18 19:40: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'), 47391, 'SRID=4674;POINT (-38.521853 -3.685315)', '2026-07-18 19:40:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521944 -3.685234)'), GeomFromEWKT('SRID=4674;POINT (-38.521853 -3.685315)'))) / (select extract(epoch from '2026-07-18 19:40:40'::timestamp) - extract(epoch from '2026-07-18 19:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521944 -3.685234)'), GeomFromEWKT('SRID=4674;POINT (-38.521853 -3.685315)'))) / (select extract(epoch from '2026-07-18 19:40:40'::timestamp) - extract(epoch from '2026-07-18 19:40: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'), 47391, 'SRID=4674;POINT (-38.521732 -3.685419)', '2026-07-18 19:40:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521853 -3.685315)'), GeomFromEWKT('SRID=4674;POINT (-38.521732 -3.685419)'))) / (select extract(epoch from '2026-07-18 19:40:49'::timestamp) - extract(epoch from '2026-07-18 19:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521853 -3.685315)'), GeomFromEWKT('SRID=4674;POINT (-38.521732 -3.685419)'))) / (select extract(epoch from '2026-07-18 19:40:49'::timestamp) - extract(epoch from '2026-07-18 19:40: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'), 47391, 'SRID=4674;POINT (-38.521658 -3.685505)', '2026-07-18 19:40:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521732 -3.685419)'), GeomFromEWKT('SRID=4674;POINT (-38.521658 -3.685505)'))) / (select extract(epoch from '2026-07-18 19:40:56'::timestamp) - extract(epoch from '2026-07-18 19:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521732 -3.685419)'), GeomFromEWKT('SRID=4674;POINT (-38.521658 -3.685505)'))) / (select extract(epoch from '2026-07-18 19:40:56'::timestamp) - extract(epoch from '2026-07-18 19:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521587 -3.685581)', '2026-07-18 19:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521658 -3.685505)'), GeomFromEWKT('SRID=4674;POINT (-38.521587 -3.685581)'))) / (select extract(epoch from '2026-07-18 19:41:02'::timestamp) - extract(epoch from '2026-07-18 19:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521658 -3.685505)'), GeomFromEWKT('SRID=4674;POINT (-38.521587 -3.685581)'))) / (select extract(epoch from '2026-07-18 19:41:02'::timestamp) - extract(epoch from '2026-07-18 19:40: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'), 47391, 'SRID=4674;POINT (-38.521482 -3.685672)', '2026-07-18 19:41:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521587 -3.685581)'), GeomFromEWKT('SRID=4674;POINT (-38.521482 -3.685672)'))) / (select extract(epoch from '2026-07-18 19:41:09'::timestamp) - extract(epoch from '2026-07-18 19:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521587 -3.685581)'), GeomFromEWKT('SRID=4674;POINT (-38.521482 -3.685672)'))) / (select extract(epoch from '2026-07-18 19:41:09'::timestamp) - extract(epoch from '2026-07-18 19:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521425 -3.685725)', '2026-07-18 19:41:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521482 -3.685672)'), GeomFromEWKT('SRID=4674;POINT (-38.521425 -3.685725)'))) / (select extract(epoch from '2026-07-18 19:41:14'::timestamp) - extract(epoch from '2026-07-18 19:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521482 -3.685672)'), GeomFromEWKT('SRID=4674;POINT (-38.521425 -3.685725)'))) / (select extract(epoch from '2026-07-18 19:41:14'::timestamp) - extract(epoch from '2026-07-18 19:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521359 -3.685815)', '2026-07-18 19:41:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521425 -3.685725)'), GeomFromEWKT('SRID=4674;POINT (-38.521359 -3.685815)'))) / (select extract(epoch from '2026-07-18 19:41:21'::timestamp) - extract(epoch from '2026-07-18 19:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521425 -3.685725)'), GeomFromEWKT('SRID=4674;POINT (-38.521359 -3.685815)'))) / (select extract(epoch from '2026-07-18 19:41:21'::timestamp) - extract(epoch from '2026-07-18 19:41: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'), 47391, 'SRID=4674;POINT (-38.521273 -3.685932)', '2026-07-18 19:41:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521359 -3.685815)'), GeomFromEWKT('SRID=4674;POINT (-38.521273 -3.685932)'))) / (select extract(epoch from '2026-07-18 19:41:29'::timestamp) - extract(epoch from '2026-07-18 19:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521359 -3.685815)'), GeomFromEWKT('SRID=4674;POINT (-38.521273 -3.685932)'))) / (select extract(epoch from '2026-07-18 19:41:29'::timestamp) - extract(epoch from '2026-07-18 19:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521205 -3.686027)', '2026-07-18 19:41:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521273 -3.685932)'), GeomFromEWKT('SRID=4674;POINT (-38.521205 -3.686027)'))) / (select extract(epoch from '2026-07-18 19:41:36'::timestamp) - extract(epoch from '2026-07-18 19:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521273 -3.685932)'), GeomFromEWKT('SRID=4674;POINT (-38.521205 -3.686027)'))) / (select extract(epoch from '2026-07-18 19:41:36'::timestamp) - extract(epoch from '2026-07-18 19:41:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521148 -3.686111)', '2026-07-18 19:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521205 -3.686027)'), GeomFromEWKT('SRID=4674;POINT (-38.521148 -3.686111)'))) / (select extract(epoch from '2026-07-18 19:41:42'::timestamp) - extract(epoch from '2026-07-18 19:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521205 -3.686027)'), GeomFromEWKT('SRID=4674;POINT (-38.521148 -3.686111)'))) / (select extract(epoch from '2026-07-18 19:41:42'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.521093 -3.686208)', '2026-07-18 19:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521148 -3.686111)'), GeomFromEWKT('SRID=4674;POINT (-38.521093 -3.686208)'))) / (select extract(epoch from '2026-07-18 19:41:49'::timestamp) - extract(epoch from '2026-07-18 19:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521148 -3.686111)'), GeomFromEWKT('SRID=4674;POINT (-38.521093 -3.686208)'))) / (select extract(epoch from '2026-07-18 19:41:49'::timestamp) - extract(epoch from '2026-07-18 19:41: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'), 47391, 'SRID=4674;POINT (-38.521037 -3.686295)', '2026-07-18 19:41:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521093 -3.686208)'), GeomFromEWKT('SRID=4674;POINT (-38.521037 -3.686295)'))) / (select extract(epoch from '2026-07-18 19:41:56'::timestamp) - extract(epoch from '2026-07-18 19:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521093 -3.686208)'), GeomFromEWKT('SRID=4674;POINT (-38.521037 -3.686295)'))) / (select extract(epoch from '2026-07-18 19:41:56'::timestamp) - extract(epoch from '2026-07-18 19:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520954 -3.686417)', '2026-07-18 19:42:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521037 -3.686295)'), GeomFromEWKT('SRID=4674;POINT (-38.520954 -3.686417)'))) / (select extract(epoch from '2026-07-18 19:42:05'::timestamp) - extract(epoch from '2026-07-18 19:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521037 -3.686295)'), GeomFromEWKT('SRID=4674;POINT (-38.520954 -3.686417)'))) / (select extract(epoch from '2026-07-18 19:42:05'::timestamp) - extract(epoch from '2026-07-18 19:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520933 -3.686462)', '2026-07-18 19:42:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520954 -3.686417)'), GeomFromEWKT('SRID=4674;POINT (-38.520933 -3.686462)'))) / (select extract(epoch from '2026-07-18 19:42:08'::timestamp) - extract(epoch from '2026-07-18 19:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520954 -3.686417)'), GeomFromEWKT('SRID=4674;POINT (-38.520933 -3.686462)'))) / (select extract(epoch from '2026-07-18 19:42:08'::timestamp) - extract(epoch from '2026-07-18 19:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520896 -3.686498)', '2026-07-18 19:42:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520933 -3.686462)'), GeomFromEWKT('SRID=4674;POINT (-38.520896 -3.686498)'))) / (select extract(epoch from '2026-07-18 19:42:11'::timestamp) - extract(epoch from '2026-07-18 19:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520933 -3.686462)'), GeomFromEWKT('SRID=4674;POINT (-38.520896 -3.686498)'))) / (select extract(epoch from '2026-07-18 19:42:11'::timestamp) - extract(epoch from '2026-07-18 19:42:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52081 -3.686578)', '2026-07-18 19:42:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520896 -3.686498)'), GeomFromEWKT('SRID=4674;POINT (-38.52081 -3.686578)'))) / (select extract(epoch from '2026-07-18 19:42:18'::timestamp) - extract(epoch from '2026-07-18 19:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520896 -3.686498)'), GeomFromEWKT('SRID=4674;POINT (-38.52081 -3.686578)'))) / (select extract(epoch from '2026-07-18 19:42:18'::timestamp) - extract(epoch from '2026-07-18 19:42:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520737 -3.686655)', '2026-07-18 19:42:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52081 -3.686578)'), GeomFromEWKT('SRID=4674;POINT (-38.520737 -3.686655)'))) / (select extract(epoch from '2026-07-18 19:42:25'::timestamp) - extract(epoch from '2026-07-18 19:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52081 -3.686578)'), GeomFromEWKT('SRID=4674;POINT (-38.520737 -3.686655)'))) / (select extract(epoch from '2026-07-18 19:42:25'::timestamp) - extract(epoch from '2026-07-18 19:42: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'), 47391, 'SRID=4674;POINT (-38.520652 -3.686732)', '2026-07-18 19:42:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520737 -3.686655)'), GeomFromEWKT('SRID=4674;POINT (-38.520652 -3.686732)'))) / (select extract(epoch from '2026-07-18 19:42:33'::timestamp) - extract(epoch from '2026-07-18 19:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520737 -3.686655)'), GeomFromEWKT('SRID=4674;POINT (-38.520652 -3.686732)'))) / (select extract(epoch from '2026-07-18 19:42:33'::timestamp) - extract(epoch from '2026-07-18 19:42: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'), 47391, 'SRID=4674;POINT (-38.52056 -3.686792)', '2026-07-18 19:42:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520652 -3.686732)'), GeomFromEWKT('SRID=4674;POINT (-38.52056 -3.686792)'))) / (select extract(epoch from '2026-07-18 19:42:40'::timestamp) - extract(epoch from '2026-07-18 19:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520652 -3.686732)'), GeomFromEWKT('SRID=4674;POINT (-38.52056 -3.686792)'))) / (select extract(epoch from '2026-07-18 19:42:40'::timestamp) - extract(epoch from '2026-07-18 19:42: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'), 47391, 'SRID=4674;POINT (-38.520462 -3.686846)', '2026-07-18 19:42:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52056 -3.686792)'), GeomFromEWKT('SRID=4674;POINT (-38.520462 -3.686846)'))) / (select extract(epoch from '2026-07-18 19:42:48'::timestamp) - extract(epoch from '2026-07-18 19:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52056 -3.686792)'), GeomFromEWKT('SRID=4674;POINT (-38.520462 -3.686846)'))) / (select extract(epoch from '2026-07-18 19:42:48'::timestamp) - extract(epoch from '2026-07-18 19:42: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'), 47391, 'SRID=4674;POINT (-38.520378 -3.686901)', '2026-07-18 19:42:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520462 -3.686846)'), GeomFromEWKT('SRID=4674;POINT (-38.520378 -3.686901)'))) / (select extract(epoch from '2026-07-18 19:42:55'::timestamp) - extract(epoch from '2026-07-18 19:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520462 -3.686846)'), GeomFromEWKT('SRID=4674;POINT (-38.520378 -3.686901)'))) / (select extract(epoch from '2026-07-18 19:42:55'::timestamp) - extract(epoch from '2026-07-18 19:42:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520368 -3.68691)', '2026-07-18 19:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520378 -3.686901)'), GeomFromEWKT('SRID=4674;POINT (-38.520368 -3.68691)'))) / (select extract(epoch from '2026-07-18 19:42:56'::timestamp) - extract(epoch from '2026-07-18 19:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520378 -3.686901)'), GeomFromEWKT('SRID=4674;POINT (-38.520368 -3.68691)'))) / (select extract(epoch from '2026-07-18 19:42:56'::timestamp) - extract(epoch from '2026-07-18 19:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520324 -3.68695)', '2026-07-18 19:43:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520368 -3.68691)'), GeomFromEWKT('SRID=4674;POINT (-38.520324 -3.68695)'))) / (select extract(epoch from '2026-07-18 19:43:00'::timestamp) - extract(epoch from '2026-07-18 19:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520368 -3.68691)'), GeomFromEWKT('SRID=4674;POINT (-38.520324 -3.68695)'))) / (select extract(epoch from '2026-07-18 19:43:00'::timestamp) - extract(epoch from '2026-07-18 19:42: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'), 47391, 'SRID=4674;POINT (-38.520268 -3.687006)', '2026-07-18 19:43:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520324 -3.68695)'), GeomFromEWKT('SRID=4674;POINT (-38.520268 -3.687006)'))) / (select extract(epoch from '2026-07-18 19:43:06'::timestamp) - extract(epoch from '2026-07-18 19:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520324 -3.68695)'), GeomFromEWKT('SRID=4674;POINT (-38.520268 -3.687006)'))) / (select extract(epoch from '2026-07-18 19:43:06'::timestamp) - extract(epoch from '2026-07-18 19:43: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'), 47391, 'SRID=4674;POINT (-38.520195 -3.687092)', '2026-07-18 19:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520268 -3.687006)'), GeomFromEWKT('SRID=4674;POINT (-38.520195 -3.687092)'))) / (select extract(epoch from '2026-07-18 19:43:14'::timestamp) - extract(epoch from '2026-07-18 19:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520268 -3.687006)'), GeomFromEWKT('SRID=4674;POINT (-38.520195 -3.687092)'))) / (select extract(epoch from '2026-07-18 19:43:14'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.520116 -3.687171)', '2026-07-18 19:43:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520195 -3.687092)'), GeomFromEWKT('SRID=4674;POINT (-38.520116 -3.687171)'))) / (select extract(epoch from '2026-07-18 19:43:21'::timestamp) - extract(epoch from '2026-07-18 19:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520195 -3.687092)'), GeomFromEWKT('SRID=4674;POINT (-38.520116 -3.687171)'))) / (select extract(epoch from '2026-07-18 19:43:21'::timestamp) - extract(epoch from '2026-07-18 19:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520054 -3.687245)', '2026-07-18 19:43:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520116 -3.687171)'), GeomFromEWKT('SRID=4674;POINT (-38.520054 -3.687245)'))) / (select extract(epoch from '2026-07-18 19:43:27'::timestamp) - extract(epoch from '2026-07-18 19:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520116 -3.687171)'), GeomFromEWKT('SRID=4674;POINT (-38.520054 -3.687245)'))) / (select extract(epoch from '2026-07-18 19:43:27'::timestamp) - extract(epoch from '2026-07-18 19:43: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'), 47391, 'SRID=4674;POINT (-38.520005 -3.687313)', '2026-07-18 19:43:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520054 -3.687245)'), GeomFromEWKT('SRID=4674;POINT (-38.520005 -3.687313)'))) / (select extract(epoch from '2026-07-18 19:43:32'::timestamp) - extract(epoch from '2026-07-18 19:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520054 -3.687245)'), GeomFromEWKT('SRID=4674;POINT (-38.520005 -3.687313)'))) / (select extract(epoch from '2026-07-18 19:43:32'::timestamp) - extract(epoch from '2026-07-18 19:43: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'), 47391, 'SRID=4674;POINT (-38.51999 -3.687338)', '2026-07-18 19:43:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520005 -3.687313)'), GeomFromEWKT('SRID=4674;POINT (-38.51999 -3.687338)'))) / (select extract(epoch from '2026-07-18 19:43:34'::timestamp) - extract(epoch from '2026-07-18 19:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520005 -3.687313)'), GeomFromEWKT('SRID=4674;POINT (-38.51999 -3.687338)'))) / (select extract(epoch from '2026-07-18 19:43:34'::timestamp) - extract(epoch from '2026-07-18 19:43: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'), 47391, 'SRID=4674;POINT (-38.519979 -3.687369)', '2026-07-18 19:43:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51999 -3.687338)'), GeomFromEWKT('SRID=4674;POINT (-38.519979 -3.687369)'))) / (select extract(epoch from '2026-07-18 19:43:36'::timestamp) - extract(epoch from '2026-07-18 19:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51999 -3.687338)'), GeomFromEWKT('SRID=4674;POINT (-38.519979 -3.687369)'))) / (select extract(epoch from '2026-07-18 19:43:36'::timestamp) - extract(epoch from '2026-07-18 19:43:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519966 -3.687384)', '2026-07-18 19:43:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519979 -3.687369)'), GeomFromEWKT('SRID=4674;POINT (-38.519966 -3.687384)'))) / (select extract(epoch from '2026-07-18 19:43:37'::timestamp) - extract(epoch from '2026-07-18 19:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519979 -3.687369)'), GeomFromEWKT('SRID=4674;POINT (-38.519966 -3.687384)'))) / (select extract(epoch from '2026-07-18 19:43:37'::timestamp) - extract(epoch from '2026-07-18 19:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519911 -3.687466)', '2026-07-18 19:43:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519966 -3.687384)'), GeomFromEWKT('SRID=4674;POINT (-38.519911 -3.687466)'))) / (select extract(epoch from '2026-07-18 19:43:43'::timestamp) - extract(epoch from '2026-07-18 19:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519966 -3.687384)'), GeomFromEWKT('SRID=4674;POINT (-38.519911 -3.687466)'))) / (select extract(epoch from '2026-07-18 19:43:43'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.519891 -3.687496)', '2026-07-18 19:43:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519911 -3.687466)'), GeomFromEWKT('SRID=4674;POINT (-38.519891 -3.687496)'))) / (select extract(epoch from '2026-07-18 19:43:45'::timestamp) - extract(epoch from '2026-07-18 19:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519911 -3.687466)'), GeomFromEWKT('SRID=4674;POINT (-38.519891 -3.687496)'))) / (select extract(epoch from '2026-07-18 19:43:45'::timestamp) - extract(epoch from '2026-07-18 19:43: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'), 47391, 'SRID=4674;POINT (-38.519885 -3.687523)', '2026-07-18 19:43:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519891 -3.687496)'), GeomFromEWKT('SRID=4674;POINT (-38.519885 -3.687523)'))) / (select extract(epoch from '2026-07-18 19:43:47'::timestamp) - extract(epoch from '2026-07-18 19:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519891 -3.687496)'), GeomFromEWKT('SRID=4674;POINT (-38.519885 -3.687523)'))) / (select extract(epoch from '2026-07-18 19:43:47'::timestamp) - extract(epoch from '2026-07-18 19:43: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'), 47391, 'SRID=4674;POINT (-38.51985 -3.68763)', '2026-07-18 19:43:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519885 -3.687523)'), GeomFromEWKT('SRID=4674;POINT (-38.51985 -3.68763)'))) / (select extract(epoch from '2026-07-18 19:43:54'::timestamp) - extract(epoch from '2026-07-18 19:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519885 -3.687523)'), GeomFromEWKT('SRID=4674;POINT (-38.51985 -3.68763)'))) / (select extract(epoch from '2026-07-18 19:43:54'::timestamp) - extract(epoch from '2026-07-18 19:43: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'), 47391, 'SRID=4674;POINT (-38.519805 -3.687723)', '2026-07-18 19:44:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51985 -3.68763)'), GeomFromEWKT('SRID=4674;POINT (-38.519805 -3.687723)'))) / (select extract(epoch from '2026-07-18 19:44:00'::timestamp) - extract(epoch from '2026-07-18 19:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51985 -3.68763)'), GeomFromEWKT('SRID=4674;POINT (-38.519805 -3.687723)'))) / (select extract(epoch from '2026-07-18 19:44:00'::timestamp) - extract(epoch from '2026-07-18 19: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'), 47391, 'SRID=4674;POINT (-38.519718 -3.687832)', '2026-07-18 19:44:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519805 -3.687723)'), GeomFromEWKT('SRID=4674;POINT (-38.519718 -3.687832)'))) / (select extract(epoch from '2026-07-18 19:44:09'::timestamp) - extract(epoch from '2026-07-18 19:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519805 -3.687723)'), GeomFromEWKT('SRID=4674;POINT (-38.519718 -3.687832)'))) / (select extract(epoch from '2026-07-18 19:44:09'::timestamp) - extract(epoch from '2026-07-18 19:44: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'), 47391, 'SRID=4674;POINT (-38.519651 -3.687905)', '2026-07-18 19:44:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519718 -3.687832)'), GeomFromEWKT('SRID=4674;POINT (-38.519651 -3.687905)'))) / (select extract(epoch from '2026-07-18 19:44:16'::timestamp) - extract(epoch from '2026-07-18 19:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519718 -3.687832)'), GeomFromEWKT('SRID=4674;POINT (-38.519651 -3.687905)'))) / (select extract(epoch from '2026-07-18 19:44:16'::timestamp) - extract(epoch from '2026-07-18 19:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
