 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372959 -3.391311)', '2026-07-15 14:24:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372995 -3.391334)'), GeomFromEWKT('SRID=4674;POINT (-38.372959 -3.391311)'))) / (select extract(epoch from '2026-07-15 14:24:09'::timestamp) - extract(epoch from '2026-07-15 14:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372995 -3.391334)'), GeomFromEWKT('SRID=4674;POINT (-38.372959 -3.391311)'))) / (select extract(epoch from '2026-07-15 14:24:09'::timestamp) - extract(epoch from '2026-07-15 14:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372937 -3.391304)', '2026-07-15 14:24:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372959 -3.391311)'), GeomFromEWKT('SRID=4674;POINT (-38.372937 -3.391304)'))) / (select extract(epoch from '2026-07-15 14:24:12'::timestamp) - extract(epoch from '2026-07-15 14:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372959 -3.391311)'), GeomFromEWKT('SRID=4674;POINT (-38.372937 -3.391304)'))) / (select extract(epoch from '2026-07-15 14:24:12'::timestamp) - extract(epoch from '2026-07-15 14:24: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.372902 -3.391287)', '2026-07-15 14:24:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372937 -3.391304)'), GeomFromEWKT('SRID=4674;POINT (-38.372902 -3.391287)'))) / (select extract(epoch from '2026-07-15 14:24:16'::timestamp) - extract(epoch from '2026-07-15 14:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372937 -3.391304)'), GeomFromEWKT('SRID=4674;POINT (-38.372902 -3.391287)'))) / (select extract(epoch from '2026-07-15 14:24:16'::timestamp) - extract(epoch from '2026-07-15 14:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372851 -3.39126)', '2026-07-15 14:24:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372902 -3.391287)'), GeomFromEWKT('SRID=4674;POINT (-38.372851 -3.39126)'))) / (select extract(epoch from '2026-07-15 14:24:24'::timestamp) - extract(epoch from '2026-07-15 14:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372902 -3.391287)'), GeomFromEWKT('SRID=4674;POINT (-38.372851 -3.39126)'))) / (select extract(epoch from '2026-07-15 14:24:24'::timestamp) - extract(epoch from '2026-07-15 14:24: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.372754 -3.391235)', '2026-07-15 14:24:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372851 -3.39126)'), GeomFromEWKT('SRID=4674;POINT (-38.372754 -3.391235)'))) / (select extract(epoch from '2026-07-15 14:24:35'::timestamp) - extract(epoch from '2026-07-15 14:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372851 -3.39126)'), GeomFromEWKT('SRID=4674;POINT (-38.372754 -3.391235)'))) / (select extract(epoch from '2026-07-15 14:24:35'::timestamp) - extract(epoch from '2026-07-15 14:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372696 -3.391236)', '2026-07-15 14:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372754 -3.391235)'), GeomFromEWKT('SRID=4674;POINT (-38.372696 -3.391236)'))) / (select extract(epoch from '2026-07-15 14:24:45'::timestamp) - extract(epoch from '2026-07-15 14:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372754 -3.391235)'), GeomFromEWKT('SRID=4674;POINT (-38.372696 -3.391236)'))) / (select extract(epoch from '2026-07-15 14:24:45'::timestamp) - extract(epoch from '2026-07-15 14: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.372659 -3.391244)', '2026-07-15 14:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372696 -3.391236)'), GeomFromEWKT('SRID=4674;POINT (-38.372659 -3.391244)'))) / (select extract(epoch from '2026-07-15 14:24:51'::timestamp) - extract(epoch from '2026-07-15 14:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372696 -3.391236)'), GeomFromEWKT('SRID=4674;POINT (-38.372659 -3.391244)'))) / (select extract(epoch from '2026-07-15 14:24:51'::timestamp) - extract(epoch from '2026-07-15 14: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.372584 -3.391244)', '2026-07-15 14:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372659 -3.391244)'), GeomFromEWKT('SRID=4674;POINT (-38.372584 -3.391244)'))) / (select extract(epoch from '2026-07-15 14:25:03'::timestamp) - extract(epoch from '2026-07-15 14:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372659 -3.391244)'), GeomFromEWKT('SRID=4674;POINT (-38.372584 -3.391244)'))) / (select extract(epoch from '2026-07-15 14:25:03'::timestamp) - extract(epoch from '2026-07-15 14: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.372507 -3.391221)', '2026-07-15 14:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372584 -3.391244)'), GeomFromEWKT('SRID=4674;POINT (-38.372507 -3.391221)'))) / (select extract(epoch from '2026-07-15 14:25:13'::timestamp) - extract(epoch from '2026-07-15 14:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372584 -3.391244)'), GeomFromEWKT('SRID=4674;POINT (-38.372507 -3.391221)'))) / (select extract(epoch from '2026-07-15 14:25:13'::timestamp) - extract(epoch from '2026-07-15 14: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.372422 -3.391187)', '2026-07-15 14:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372507 -3.391221)'), GeomFromEWKT('SRID=4674;POINT (-38.372422 -3.391187)'))) / (select extract(epoch from '2026-07-15 14:25:23'::timestamp) - extract(epoch from '2026-07-15 14:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372507 -3.391221)'), GeomFromEWKT('SRID=4674;POINT (-38.372422 -3.391187)'))) / (select extract(epoch from '2026-07-15 14:25:23'::timestamp) - extract(epoch from '2026-07-15 14: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.372355 -3.391159)', '2026-07-15 14:25:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372422 -3.391187)'), GeomFromEWKT('SRID=4674;POINT (-38.372355 -3.391159)'))) / (select extract(epoch from '2026-07-15 14:25:31'::timestamp) - extract(epoch from '2026-07-15 14:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372422 -3.391187)'), GeomFromEWKT('SRID=4674;POINT (-38.372355 -3.391159)'))) / (select extract(epoch from '2026-07-15 14:25:31'::timestamp) - extract(epoch from '2026-07-15 14:25: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.372272 -3.391149)', '2026-07-15 14:25:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372355 -3.391159)'), GeomFromEWKT('SRID=4674;POINT (-38.372272 -3.391149)'))) / (select extract(epoch from '2026-07-15 14:25:41'::timestamp) - extract(epoch from '2026-07-15 14:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372355 -3.391159)'), GeomFromEWKT('SRID=4674;POINT (-38.372272 -3.391149)'))) / (select extract(epoch from '2026-07-15 14:25:41'::timestamp) - extract(epoch from '2026-07-15 14:25: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.372226 -3.39114)', '2026-07-15 14:25:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372272 -3.391149)'), GeomFromEWKT('SRID=4674;POINT (-38.372226 -3.39114)'))) / (select extract(epoch from '2026-07-15 14:25:47'::timestamp) - extract(epoch from '2026-07-15 14:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372272 -3.391149)'), GeomFromEWKT('SRID=4674;POINT (-38.372226 -3.39114)'))) / (select extract(epoch from '2026-07-15 14:25:47'::timestamp) - extract(epoch from '2026-07-15 14: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.372141 -3.391144)', '2026-07-15 14:25:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372226 -3.39114)'), GeomFromEWKT('SRID=4674;POINT (-38.372141 -3.391144)'))) / (select extract(epoch from '2026-07-15 14:25:56'::timestamp) - extract(epoch from '2026-07-15 14:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372226 -3.39114)'), GeomFromEWKT('SRID=4674;POINT (-38.372141 -3.391144)'))) / (select extract(epoch from '2026-07-15 14:25:56'::timestamp) - extract(epoch from '2026-07-15 14:25: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.372066 -3.391143)', '2026-07-15 14:26:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372141 -3.391144)'), GeomFromEWKT('SRID=4674;POINT (-38.372066 -3.391143)'))) / (select extract(epoch from '2026-07-15 14:26:05'::timestamp) - extract(epoch from '2026-07-15 14:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372141 -3.391144)'), GeomFromEWKT('SRID=4674;POINT (-38.372066 -3.391143)'))) / (select extract(epoch from '2026-07-15 14:26:05'::timestamp) - extract(epoch from '2026-07-15 14:25: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.372 -3.391136)', '2026-07-15 14:26:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372066 -3.391143)'), GeomFromEWKT('SRID=4674;POINT (-38.372 -3.391136)'))) / (select extract(epoch from '2026-07-15 14:26:13'::timestamp) - extract(epoch from '2026-07-15 14:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372066 -3.391143)'), GeomFromEWKT('SRID=4674;POINT (-38.372 -3.391136)'))) / (select extract(epoch from '2026-07-15 14:26:13'::timestamp) - extract(epoch from '2026-07-15 14:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371933 -3.391133)', '2026-07-15 14:26:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372 -3.391136)'), GeomFromEWKT('SRID=4674;POINT (-38.371933 -3.391133)'))) / (select extract(epoch from '2026-07-15 14:26:21'::timestamp) - extract(epoch from '2026-07-15 14:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372 -3.391136)'), GeomFromEWKT('SRID=4674;POINT (-38.371933 -3.391133)'))) / (select extract(epoch from '2026-07-15 14:26:21'::timestamp) - extract(epoch from '2026-07-15 14:26:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371885 -3.391137)', '2026-07-15 14:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371933 -3.391133)'), GeomFromEWKT('SRID=4674;POINT (-38.371885 -3.391137)'))) / (select extract(epoch from '2026-07-15 14:26:30'::timestamp) - extract(epoch from '2026-07-15 14:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371933 -3.391133)'), GeomFromEWKT('SRID=4674;POINT (-38.371885 -3.391137)'))) / (select extract(epoch from '2026-07-15 14:26:30'::timestamp) - extract(epoch from '2026-07-15 14:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371821 -3.391147)', '2026-07-15 14:26:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371885 -3.391137)'), GeomFromEWKT('SRID=4674;POINT (-38.371821 -3.391147)'))) / (select extract(epoch from '2026-07-15 14:26:40'::timestamp) - extract(epoch from '2026-07-15 14:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371885 -3.391137)'), GeomFromEWKT('SRID=4674;POINT (-38.371821 -3.391147)'))) / (select extract(epoch from '2026-07-15 14:26:40'::timestamp) - extract(epoch from '2026-07-15 14: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.371767 -3.391135)', '2026-07-15 14:26:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371821 -3.391147)'), GeomFromEWKT('SRID=4674;POINT (-38.371767 -3.391135)'))) / (select extract(epoch from '2026-07-15 14:26:49'::timestamp) - extract(epoch from '2026-07-15 14:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371821 -3.391147)'), GeomFromEWKT('SRID=4674;POINT (-38.371767 -3.391135)'))) / (select extract(epoch from '2026-07-15 14:26:49'::timestamp) - extract(epoch from '2026-07-15 14:26: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.3717 -3.391125)', '2026-07-15 14:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371767 -3.391135)'), GeomFromEWKT('SRID=4674;POINT (-38.3717 -3.391125)'))) / (select extract(epoch from '2026-07-15 14:27:00'::timestamp) - extract(epoch from '2026-07-15 14:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371767 -3.391135)'), GeomFromEWKT('SRID=4674;POINT (-38.3717 -3.391125)'))) / (select extract(epoch from '2026-07-15 14:27:00'::timestamp) - extract(epoch from '2026-07-15 14:26: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.371628 -3.391099)', '2026-07-15 14:27:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3717 -3.391125)'), GeomFromEWKT('SRID=4674;POINT (-38.371628 -3.391099)'))) / (select extract(epoch from '2026-07-15 14:27:12'::timestamp) - extract(epoch from '2026-07-15 14:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3717 -3.391125)'), GeomFromEWKT('SRID=4674;POINT (-38.371628 -3.391099)'))) / (select extract(epoch from '2026-07-15 14:27:12'::timestamp) - extract(epoch from '2026-07-15 14:27: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.371576 -3.391066)', '2026-07-15 14:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371628 -3.391099)'), GeomFromEWKT('SRID=4674;POINT (-38.371576 -3.391066)'))) / (select extract(epoch from '2026-07-15 14:27:21'::timestamp) - extract(epoch from '2026-07-15 14:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371628 -3.391099)'), GeomFromEWKT('SRID=4674;POINT (-38.371576 -3.391066)'))) / (select extract(epoch from '2026-07-15 14:27:21'::timestamp) - extract(epoch from '2026-07-15 14:27:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371472 -3.391007)', '2026-07-15 14:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371576 -3.391066)'), GeomFromEWKT('SRID=4674;POINT (-38.371472 -3.391007)'))) / (select extract(epoch from '2026-07-15 14:27:34'::timestamp) - extract(epoch from '2026-07-15 14:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371576 -3.391066)'), GeomFromEWKT('SRID=4674;POINT (-38.371472 -3.391007)'))) / (select extract(epoch from '2026-07-15 14:27:34'::timestamp) - extract(epoch from '2026-07-15 14:27: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.371378 -3.390965)', '2026-07-15 14:27:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371472 -3.391007)'), GeomFromEWKT('SRID=4674;POINT (-38.371378 -3.390965)'))) / (select extract(epoch from '2026-07-15 14:27:46'::timestamp) - extract(epoch from '2026-07-15 14:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371472 -3.391007)'), GeomFromEWKT('SRID=4674;POINT (-38.371378 -3.390965)'))) / (select extract(epoch from '2026-07-15 14:27:46'::timestamp) - extract(epoch from '2026-07-15 14:27: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.371301 -3.390908)', '2026-07-15 14:27:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371378 -3.390965)'), GeomFromEWKT('SRID=4674;POINT (-38.371301 -3.390908)'))) / (select extract(epoch from '2026-07-15 14:27:58'::timestamp) - extract(epoch from '2026-07-15 14:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371378 -3.390965)'), GeomFromEWKT('SRID=4674;POINT (-38.371301 -3.390908)'))) / (select extract(epoch from '2026-07-15 14:27:58'::timestamp) - extract(epoch from '2026-07-15 14:27: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.371229 -3.39087)', '2026-07-15 14:28:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371301 -3.390908)'), GeomFromEWKT('SRID=4674;POINT (-38.371229 -3.39087)'))) / (select extract(epoch from '2026-07-15 14:28:08'::timestamp) - extract(epoch from '2026-07-15 14:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371301 -3.390908)'), GeomFromEWKT('SRID=4674;POINT (-38.371229 -3.39087)'))) / (select extract(epoch from '2026-07-15 14:28:08'::timestamp) - extract(epoch from '2026-07-15 14:27: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.371131 -3.390823)', '2026-07-15 14:28:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371229 -3.39087)'), GeomFromEWKT('SRID=4674;POINT (-38.371131 -3.390823)'))) / (select extract(epoch from '2026-07-15 14:28:19'::timestamp) - extract(epoch from '2026-07-15 14:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371229 -3.39087)'), GeomFromEWKT('SRID=4674;POINT (-38.371131 -3.390823)'))) / (select extract(epoch from '2026-07-15 14:28:19'::timestamp) - extract(epoch from '2026-07-15 14: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.371064 -3.390801)', '2026-07-15 14:28:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371131 -3.390823)'), GeomFromEWKT('SRID=4674;POINT (-38.371064 -3.390801)'))) / (select extract(epoch from '2026-07-15 14:28:28'::timestamp) - extract(epoch from '2026-07-15 14:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371131 -3.390823)'), GeomFromEWKT('SRID=4674;POINT (-38.371064 -3.390801)'))) / (select extract(epoch from '2026-07-15 14:28:28'::timestamp) - extract(epoch from '2026-07-15 14: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.370942 -3.390765)', '2026-07-15 14:28:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371064 -3.390801)'), GeomFromEWKT('SRID=4674;POINT (-38.370942 -3.390765)'))) / (select extract(epoch from '2026-07-15 14:28:41'::timestamp) - extract(epoch from '2026-07-15 14:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371064 -3.390801)'), GeomFromEWKT('SRID=4674;POINT (-38.370942 -3.390765)'))) / (select extract(epoch from '2026-07-15 14:28:41'::timestamp) - extract(epoch from '2026-07-15 14:28: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.37084 -3.390726)', '2026-07-15 14:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370942 -3.390765)'), GeomFromEWKT('SRID=4674;POINT (-38.37084 -3.390726)'))) / (select extract(epoch from '2026-07-15 14:28:53'::timestamp) - extract(epoch from '2026-07-15 14:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370942 -3.390765)'), GeomFromEWKT('SRID=4674;POINT (-38.37084 -3.390726)'))) / (select extract(epoch from '2026-07-15 14:28:53'::timestamp) - extract(epoch from '2026-07-15 14:28: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.370738 -3.390685)', '2026-07-15 14:29:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37084 -3.390726)'), GeomFromEWKT('SRID=4674;POINT (-38.370738 -3.390685)'))) / (select extract(epoch from '2026-07-15 14:29:04'::timestamp) - extract(epoch from '2026-07-15 14:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37084 -3.390726)'), GeomFromEWKT('SRID=4674;POINT (-38.370738 -3.390685)'))) / (select extract(epoch from '2026-07-15 14:29:04'::timestamp) - extract(epoch from '2026-07-15 14: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.370625 -3.390646)', '2026-07-15 14:29:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370738 -3.390685)'), GeomFromEWKT('SRID=4674;POINT (-38.370625 -3.390646)'))) / (select extract(epoch from '2026-07-15 14:29:12'::timestamp) - extract(epoch from '2026-07-15 14:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370738 -3.390685)'), GeomFromEWKT('SRID=4674;POINT (-38.370625 -3.390646)'))) / (select extract(epoch from '2026-07-15 14:29:12'::timestamp) - extract(epoch from '2026-07-15 14:29: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.370538 -3.390612)', '2026-07-15 14:29:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370625 -3.390646)'), GeomFromEWKT('SRID=4674;POINT (-38.370538 -3.390612)'))) / (select extract(epoch from '2026-07-15 14:29:19'::timestamp) - extract(epoch from '2026-07-15 14:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370625 -3.390646)'), GeomFromEWKT('SRID=4674;POINT (-38.370538 -3.390612)'))) / (select extract(epoch from '2026-07-15 14:29:19'::timestamp) - extract(epoch from '2026-07-15 14:29: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.370447 -3.390578)', '2026-07-15 14:29:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370538 -3.390612)'), GeomFromEWKT('SRID=4674;POINT (-38.370447 -3.390578)'))) / (select extract(epoch from '2026-07-15 14:29:26'::timestamp) - extract(epoch from '2026-07-15 14:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370538 -3.390612)'), GeomFromEWKT('SRID=4674;POINT (-38.370447 -3.390578)'))) / (select extract(epoch from '2026-07-15 14:29:26'::timestamp) - extract(epoch from '2026-07-15 14:29: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.370346 -3.39054)', '2026-07-15 14:29:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370447 -3.390578)'), GeomFromEWKT('SRID=4674;POINT (-38.370346 -3.39054)'))) / (select extract(epoch from '2026-07-15 14:29:34'::timestamp) - extract(epoch from '2026-07-15 14:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370447 -3.390578)'), GeomFromEWKT('SRID=4674;POINT (-38.370346 -3.39054)'))) / (select extract(epoch from '2026-07-15 14:29:34'::timestamp) - extract(epoch from '2026-07-15 14: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.370264 -3.390504)', '2026-07-15 14:29:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370346 -3.39054)'), GeomFromEWKT('SRID=4674;POINT (-38.370264 -3.390504)'))) / (select extract(epoch from '2026-07-15 14:29:41'::timestamp) - extract(epoch from '2026-07-15 14:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370346 -3.39054)'), GeomFromEWKT('SRID=4674;POINT (-38.370264 -3.390504)'))) / (select extract(epoch from '2026-07-15 14:29:41'::timestamp) - extract(epoch from '2026-07-15 14: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.370164 -3.390468)', '2026-07-15 14:29:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370264 -3.390504)'), GeomFromEWKT('SRID=4674;POINT (-38.370164 -3.390468)'))) / (select extract(epoch from '2026-07-15 14:29:49'::timestamp) - extract(epoch from '2026-07-15 14:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370264 -3.390504)'), GeomFromEWKT('SRID=4674;POINT (-38.370164 -3.390468)'))) / (select extract(epoch from '2026-07-15 14:29:49'::timestamp) - extract(epoch from '2026-07-15 14:29: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.370075 -3.390449)', '2026-07-15 14:29:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370164 -3.390468)'), GeomFromEWKT('SRID=4674;POINT (-38.370075 -3.390449)'))) / (select extract(epoch from '2026-07-15 14:29:55'::timestamp) - extract(epoch from '2026-07-15 14:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370164 -3.390468)'), GeomFromEWKT('SRID=4674;POINT (-38.370075 -3.390449)'))) / (select extract(epoch from '2026-07-15 14:29:55'::timestamp) - extract(epoch from '2026-07-15 14:29:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.369968 -3.390416)', '2026-07-15 14:30:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370075 -3.390449)'), GeomFromEWKT('SRID=4674;POINT (-38.369968 -3.390416)'))) / (select extract(epoch from '2026-07-15 14:30:03'::timestamp) - extract(epoch from '2026-07-15 14:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370075 -3.390449)'), GeomFromEWKT('SRID=4674;POINT (-38.369968 -3.390416)'))) / (select extract(epoch from '2026-07-15 14:30:03'::timestamp) - extract(epoch from '2026-07-15 14:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.369865 -3.390388)', '2026-07-15 14:30:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369968 -3.390416)'), GeomFromEWKT('SRID=4674;POINT (-38.369865 -3.390388)'))) / (select extract(epoch from '2026-07-15 14:30:11'::timestamp) - extract(epoch from '2026-07-15 14:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369968 -3.390416)'), GeomFromEWKT('SRID=4674;POINT (-38.369865 -3.390388)'))) / (select extract(epoch from '2026-07-15 14:30:11'::timestamp) - extract(epoch from '2026-07-15 14:30: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.369784 -3.390385)', '2026-07-15 14:30:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369865 -3.390388)'), GeomFromEWKT('SRID=4674;POINT (-38.369784 -3.390385)'))) / (select extract(epoch from '2026-07-15 14:30:18'::timestamp) - extract(epoch from '2026-07-15 14:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369865 -3.390388)'), GeomFromEWKT('SRID=4674;POINT (-38.369784 -3.390385)'))) / (select extract(epoch from '2026-07-15 14:30:18'::timestamp) - extract(epoch from '2026-07-15 14:30: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.369689 -3.390372)', '2026-07-15 14:30:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369784 -3.390385)'), GeomFromEWKT('SRID=4674;POINT (-38.369689 -3.390372)'))) / (select extract(epoch from '2026-07-15 14:30:25'::timestamp) - extract(epoch from '2026-07-15 14:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369784 -3.390385)'), GeomFromEWKT('SRID=4674;POINT (-38.369689 -3.390372)'))) / (select extract(epoch from '2026-07-15 14:30:25'::timestamp) - extract(epoch from '2026-07-15 14: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.369612 -3.390367)', '2026-07-15 14:30:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369689 -3.390372)'), GeomFromEWKT('SRID=4674;POINT (-38.369612 -3.390367)'))) / (select extract(epoch from '2026-07-15 14:30:31'::timestamp) - extract(epoch from '2026-07-15 14:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369689 -3.390372)'), GeomFromEWKT('SRID=4674;POINT (-38.369612 -3.390367)'))) / (select extract(epoch from '2026-07-15 14:30:31'::timestamp) - extract(epoch from '2026-07-15 14: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.369489 -3.390356)', '2026-07-15 14:30:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369612 -3.390367)'), GeomFromEWKT('SRID=4674;POINT (-38.369489 -3.390356)'))) / (select extract(epoch from '2026-07-15 14:30:40'::timestamp) - extract(epoch from '2026-07-15 14:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369612 -3.390367)'), GeomFromEWKT('SRID=4674;POINT (-38.369489 -3.390356)'))) / (select extract(epoch from '2026-07-15 14:30:40'::timestamp) - extract(epoch from '2026-07-15 14: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.369411 -3.390367)', '2026-07-15 14:30:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369489 -3.390356)'), GeomFromEWKT('SRID=4674;POINT (-38.369411 -3.390367)'))) / (select extract(epoch from '2026-07-15 14:30:46'::timestamp) - extract(epoch from '2026-07-15 14:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369489 -3.390356)'), GeomFromEWKT('SRID=4674;POINT (-38.369411 -3.390367)'))) / (select extract(epoch from '2026-07-15 14:30:46'::timestamp) - extract(epoch from '2026-07-15 14:30: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.369312 -3.390372)', '2026-07-15 14:30:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369411 -3.390367)'), GeomFromEWKT('SRID=4674;POINT (-38.369312 -3.390372)'))) / (select extract(epoch from '2026-07-15 14:30:53'::timestamp) - extract(epoch from '2026-07-15 14:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369411 -3.390367)'), GeomFromEWKT('SRID=4674;POINT (-38.369312 -3.390372)'))) / (select extract(epoch from '2026-07-15 14:30:53'::timestamp) - extract(epoch from '2026-07-15 14:30: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.369266 -3.390373)', '2026-07-15 14:30:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369312 -3.390372)'), GeomFromEWKT('SRID=4674;POINT (-38.369266 -3.390373)'))) / (select extract(epoch from '2026-07-15 14:30:57'::timestamp) - extract(epoch from '2026-07-15 14:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369312 -3.390372)'), GeomFromEWKT('SRID=4674;POINT (-38.369266 -3.390373)'))) / (select extract(epoch from '2026-07-15 14:30:57'::timestamp) - extract(epoch from '2026-07-15 14: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.369239 -3.390368)', '2026-07-15 14:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369266 -3.390373)'), GeomFromEWKT('SRID=4674;POINT (-38.369239 -3.390368)'))) / (select extract(epoch from '2026-07-15 14:30:59'::timestamp) - extract(epoch from '2026-07-15 14:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369266 -3.390373)'), GeomFromEWKT('SRID=4674;POINT (-38.369239 -3.390368)'))) / (select extract(epoch from '2026-07-15 14:30:59'::timestamp) - extract(epoch from '2026-07-15 14:30: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.369207 -3.390365)', '2026-07-15 14:31:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369239 -3.390368)'), GeomFromEWKT('SRID=4674;POINT (-38.369207 -3.390365)'))) / (select extract(epoch from '2026-07-15 14:31:02'::timestamp) - extract(epoch from '2026-07-15 14:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369239 -3.390368)'), GeomFromEWKT('SRID=4674;POINT (-38.369207 -3.390365)'))) / (select extract(epoch from '2026-07-15 14:31:02'::timestamp) - extract(epoch from '2026-07-15 14: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.36916 -3.390377)', '2026-07-15 14:31:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369207 -3.390365)'), GeomFromEWKT('SRID=4674;POINT (-38.36916 -3.390377)'))) / (select extract(epoch from '2026-07-15 14:31:06'::timestamp) - extract(epoch from '2026-07-15 14:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369207 -3.390365)'), GeomFromEWKT('SRID=4674;POINT (-38.36916 -3.390377)'))) / (select extract(epoch from '2026-07-15 14:31:06'::timestamp) - extract(epoch from '2026-07-15 14:31: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.369055 -3.390396)', '2026-07-15 14:31:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36916 -3.390377)'), GeomFromEWKT('SRID=4674;POINT (-38.369055 -3.390396)'))) / (select extract(epoch from '2026-07-15 14:31:14'::timestamp) - extract(epoch from '2026-07-15 14:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36916 -3.390377)'), GeomFromEWKT('SRID=4674;POINT (-38.369055 -3.390396)'))) / (select extract(epoch from '2026-07-15 14:31:14'::timestamp) - extract(epoch from '2026-07-15 14:31: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.368949 -3.390407)', '2026-07-15 14:31:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369055 -3.390396)'), GeomFromEWKT('SRID=4674;POINT (-38.368949 -3.390407)'))) / (select extract(epoch from '2026-07-15 14:31:21'::timestamp) - extract(epoch from '2026-07-15 14:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369055 -3.390396)'), GeomFromEWKT('SRID=4674;POINT (-38.368949 -3.390407)'))) / (select extract(epoch from '2026-07-15 14:31:21'::timestamp) - extract(epoch from '2026-07-15 14:31: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.368821 -3.390432)', '2026-07-15 14:31:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368949 -3.390407)'), GeomFromEWKT('SRID=4674;POINT (-38.368821 -3.390432)'))) / (select extract(epoch from '2026-07-15 14:31:30'::timestamp) - extract(epoch from '2026-07-15 14:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368949 -3.390407)'), GeomFromEWKT('SRID=4674;POINT (-38.368821 -3.390432)'))) / (select extract(epoch from '2026-07-15 14:31:30'::timestamp) - extract(epoch from '2026-07-15 14:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.36871 -3.390466)', '2026-07-15 14:31:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368821 -3.390432)'), GeomFromEWKT('SRID=4674;POINT (-38.36871 -3.390466)'))) / (select extract(epoch from '2026-07-15 14:31:38'::timestamp) - extract(epoch from '2026-07-15 14:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368821 -3.390432)'), GeomFromEWKT('SRID=4674;POINT (-38.36871 -3.390466)'))) / (select extract(epoch from '2026-07-15 14:31:38'::timestamp) - extract(epoch from '2026-07-15 14:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.368609 -3.390491)', '2026-07-15 14:31:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36871 -3.390466)'), GeomFromEWKT('SRID=4674;POINT (-38.368609 -3.390491)'))) / (select extract(epoch from '2026-07-15 14:31:45'::timestamp) - extract(epoch from '2026-07-15 14:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36871 -3.390466)'), GeomFromEWKT('SRID=4674;POINT (-38.368609 -3.390491)'))) / (select extract(epoch from '2026-07-15 14:31:45'::timestamp) - extract(epoch from '2026-07-15 14:31: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.368553 -3.39049)', '2026-07-15 14:31:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368609 -3.390491)'), GeomFromEWKT('SRID=4674;POINT (-38.368553 -3.39049)'))) / (select extract(epoch from '2026-07-15 14:31:53'::timestamp) - extract(epoch from '2026-07-15 14:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368609 -3.390491)'), GeomFromEWKT('SRID=4674;POINT (-38.368553 -3.39049)'))) / (select extract(epoch from '2026-07-15 14:31:53'::timestamp) - extract(epoch from '2026-07-15 14: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.368465 -3.390476)', '2026-07-15 14:32:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368553 -3.39049)'), GeomFromEWKT('SRID=4674;POINT (-38.368465 -3.390476)'))) / (select extract(epoch from '2026-07-15 14:32:03'::timestamp) - extract(epoch from '2026-07-15 14:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368553 -3.39049)'), GeomFromEWKT('SRID=4674;POINT (-38.368465 -3.390476)'))) / (select extract(epoch from '2026-07-15 14:32:03'::timestamp) - extract(epoch from '2026-07-15 14: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.368402 -3.390464)', '2026-07-15 14:32:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368465 -3.390476)'), GeomFromEWKT('SRID=4674;POINT (-38.368402 -3.390464)'))) / (select extract(epoch from '2026-07-15 14:32:09'::timestamp) - extract(epoch from '2026-07-15 14:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368465 -3.390476)'), GeomFromEWKT('SRID=4674;POINT (-38.368402 -3.390464)'))) / (select extract(epoch from '2026-07-15 14:32:09'::timestamp) - extract(epoch from '2026-07-15 14:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.368394 -3.390465)', '2026-07-15 14:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368402 -3.390464)'), GeomFromEWKT('SRID=4674;POINT (-38.368394 -3.390465)'))) / (select extract(epoch from '2026-07-15 14:32:10'::timestamp) - extract(epoch from '2026-07-15 14:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368402 -3.390464)'), GeomFromEWKT('SRID=4674;POINT (-38.368394 -3.390465)'))) / (select extract(epoch from '2026-07-15 14:32:10'::timestamp) - extract(epoch from '2026-07-15 14: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.368329 -3.39046)', '2026-07-15 14:32:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368394 -3.390465)'), GeomFromEWKT('SRID=4674;POINT (-38.368329 -3.39046)'))) / (select extract(epoch from '2026-07-15 14:32:17'::timestamp) - extract(epoch from '2026-07-15 14:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368394 -3.390465)'), GeomFromEWKT('SRID=4674;POINT (-38.368329 -3.39046)'))) / (select extract(epoch from '2026-07-15 14:32:17'::timestamp) - extract(epoch from '2026-07-15 14:32: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.368245 -3.390449)', '2026-07-15 14:32:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368329 -3.39046)'), GeomFromEWKT('SRID=4674;POINT (-38.368245 -3.390449)'))) / (select extract(epoch from '2026-07-15 14:32:26'::timestamp) - extract(epoch from '2026-07-15 14:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368329 -3.39046)'), GeomFromEWKT('SRID=4674;POINT (-38.368245 -3.390449)'))) / (select extract(epoch from '2026-07-15 14:32:26'::timestamp) - extract(epoch from '2026-07-15 14:32:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.368193 -3.390441)', '2026-07-15 14:32:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368245 -3.390449)'), GeomFromEWKT('SRID=4674;POINT (-38.368193 -3.390441)'))) / (select extract(epoch from '2026-07-15 14:32:33'::timestamp) - extract(epoch from '2026-07-15 14:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368245 -3.390449)'), GeomFromEWKT('SRID=4674;POINT (-38.368193 -3.390441)'))) / (select extract(epoch from '2026-07-15 14:32:33'::timestamp) - extract(epoch from '2026-07-15 14:32: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.368184 -3.390441)', '2026-07-15 14:32:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368193 -3.390441)'), GeomFromEWKT('SRID=4674;POINT (-38.368184 -3.390441)'))) / (select extract(epoch from '2026-07-15 14:32:34'::timestamp) - extract(epoch from '2026-07-15 14:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368193 -3.390441)'), GeomFromEWKT('SRID=4674;POINT (-38.368184 -3.390441)'))) / (select extract(epoch from '2026-07-15 14:32:34'::timestamp) - extract(epoch from '2026-07-15 14:32: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.368107 -3.390434)', '2026-07-15 14:32:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368184 -3.390441)'), GeomFromEWKT('SRID=4674;POINT (-38.368107 -3.390434)'))) / (select extract(epoch from '2026-07-15 14:32:42'::timestamp) - extract(epoch from '2026-07-15 14:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368184 -3.390441)'), GeomFromEWKT('SRID=4674;POINT (-38.368107 -3.390434)'))) / (select extract(epoch from '2026-07-15 14:32:42'::timestamp) - extract(epoch from '2026-07-15 14:32:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.367991 -3.390431)', '2026-07-15 14:32:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368107 -3.390434)'), GeomFromEWKT('SRID=4674;POINT (-38.367991 -3.390431)'))) / (select extract(epoch from '2026-07-15 14:32:51'::timestamp) - extract(epoch from '2026-07-15 14:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.368107 -3.390434)'), GeomFromEWKT('SRID=4674;POINT (-38.367991 -3.390431)'))) / (select extract(epoch from '2026-07-15 14:32:51'::timestamp) - extract(epoch from '2026-07-15 14:32:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.367915 -3.390429)', '2026-07-15 14:32:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367991 -3.390431)'), GeomFromEWKT('SRID=4674;POINT (-38.367915 -3.390429)'))) / (select extract(epoch from '2026-07-15 14:32:58'::timestamp) - extract(epoch from '2026-07-15 14:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367991 -3.390431)'), GeomFromEWKT('SRID=4674;POINT (-38.367915 -3.390429)'))) / (select extract(epoch from '2026-07-15 14:32:58'::timestamp) - extract(epoch from '2026-07-15 14: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.367835 -3.390436)', '2026-07-15 14:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367915 -3.390429)'), GeomFromEWKT('SRID=4674;POINT (-38.367835 -3.390436)'))) / (select extract(epoch from '2026-07-15 14:33:05'::timestamp) - extract(epoch from '2026-07-15 14:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367915 -3.390429)'), GeomFromEWKT('SRID=4674;POINT (-38.367835 -3.390436)'))) / (select extract(epoch from '2026-07-15 14:33:05'::timestamp) - extract(epoch from '2026-07-15 14:32: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.367775 -3.39044)', '2026-07-15 14:33:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367835 -3.390436)'), GeomFromEWKT('SRID=4674;POINT (-38.367775 -3.39044)'))) / (select extract(epoch from '2026-07-15 14:33:12'::timestamp) - extract(epoch from '2026-07-15 14:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367835 -3.390436)'), GeomFromEWKT('SRID=4674;POINT (-38.367775 -3.39044)'))) / (select extract(epoch from '2026-07-15 14:33:12'::timestamp) - extract(epoch from '2026-07-15 14: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.367692 -3.390455)', '2026-07-15 14:33:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367775 -3.39044)'), GeomFromEWKT('SRID=4674;POINT (-38.367692 -3.390455)'))) / (select extract(epoch from '2026-07-15 14:33:21'::timestamp) - extract(epoch from '2026-07-15 14:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367775 -3.39044)'), GeomFromEWKT('SRID=4674;POINT (-38.367692 -3.390455)'))) / (select extract(epoch from '2026-07-15 14:33:21'::timestamp) - extract(epoch from '2026-07-15 14:33:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.367621 -3.390463)', '2026-07-15 14:33:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367692 -3.390455)'), GeomFromEWKT('SRID=4674;POINT (-38.367621 -3.390463)'))) / (select extract(epoch from '2026-07-15 14:33:28'::timestamp) - extract(epoch from '2026-07-15 14:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367692 -3.390455)'), GeomFromEWKT('SRID=4674;POINT (-38.367621 -3.390463)'))) / (select extract(epoch from '2026-07-15 14:33:28'::timestamp) - extract(epoch from '2026-07-15 14:33: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.367536 -3.390478)', '2026-07-15 14:33:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367621 -3.390463)'), GeomFromEWKT('SRID=4674;POINT (-38.367536 -3.390478)'))) / (select extract(epoch from '2026-07-15 14:33:36'::timestamp) - extract(epoch from '2026-07-15 14:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367621 -3.390463)'), GeomFromEWKT('SRID=4674;POINT (-38.367536 -3.390478)'))) / (select extract(epoch from '2026-07-15 14:33:36'::timestamp) - extract(epoch from '2026-07-15 14: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.367494 -3.390485)', '2026-07-15 14:33:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367536 -3.390478)'), GeomFromEWKT('SRID=4674;POINT (-38.367494 -3.390485)'))) / (select extract(epoch from '2026-07-15 14:33:40'::timestamp) - extract(epoch from '2026-07-15 14:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367536 -3.390478)'), GeomFromEWKT('SRID=4674;POINT (-38.367494 -3.390485)'))) / (select extract(epoch from '2026-07-15 14:33:40'::timestamp) - extract(epoch from '2026-07-15 14: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.36747 -3.390494)', '2026-07-15 14:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367494 -3.390485)'), GeomFromEWKT('SRID=4674;POINT (-38.36747 -3.390494)'))) / (select extract(epoch from '2026-07-15 14:33:43'::timestamp) - extract(epoch from '2026-07-15 14:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367494 -3.390485)'), GeomFromEWKT('SRID=4674;POINT (-38.36747 -3.390494)'))) / (select extract(epoch from '2026-07-15 14:33:43'::timestamp) - extract(epoch from '2026-07-15 14:33:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.367432 -3.390502)', '2026-07-15 14:33:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36747 -3.390494)'), GeomFromEWKT('SRID=4674;POINT (-38.367432 -3.390502)'))) / (select extract(epoch from '2026-07-15 14:33:47'::timestamp) - extract(epoch from '2026-07-15 14:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36747 -3.390494)'), GeomFromEWKT('SRID=4674;POINT (-38.367432 -3.390502)'))) / (select extract(epoch from '2026-07-15 14:33:47'::timestamp) - extract(epoch from '2026-07-15 14:33: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.367413 -3.390508)', '2026-07-15 14:33:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367432 -3.390502)'), GeomFromEWKT('SRID=4674;POINT (-38.367413 -3.390508)'))) / (select extract(epoch from '2026-07-15 14:33:49'::timestamp) - extract(epoch from '2026-07-15 14:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367432 -3.390502)'), GeomFromEWKT('SRID=4674;POINT (-38.367413 -3.390508)'))) / (select extract(epoch from '2026-07-15 14:33:49'::timestamp) - extract(epoch from '2026-07-15 14:33:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.367326 -3.390526)', '2026-07-15 14:33:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367413 -3.390508)'), GeomFromEWKT('SRID=4674;POINT (-38.367326 -3.390526)'))) / (select extract(epoch from '2026-07-15 14:33:57'::timestamp) - extract(epoch from '2026-07-15 14:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367413 -3.390508)'), GeomFromEWKT('SRID=4674;POINT (-38.367326 -3.390526)'))) / (select extract(epoch from '2026-07-15 14:33:57'::timestamp) - extract(epoch from '2026-07-15 14: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.367318 -3.39053)', '2026-07-15 14:33:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367326 -3.390526)'), GeomFromEWKT('SRID=4674;POINT (-38.367318 -3.39053)'))) / (select extract(epoch from '2026-07-15 14:33:58'::timestamp) - extract(epoch from '2026-07-15 14:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367326 -3.390526)'), GeomFromEWKT('SRID=4674;POINT (-38.367318 -3.39053)'))) / (select extract(epoch from '2026-07-15 14:33:58'::timestamp) - extract(epoch from '2026-07-15 14: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.367255 -3.390542)', '2026-07-15 14:34:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367318 -3.39053)'), GeomFromEWKT('SRID=4674;POINT (-38.367255 -3.390542)'))) / (select extract(epoch from '2026-07-15 14:34:04'::timestamp) - extract(epoch from '2026-07-15 14:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367318 -3.39053)'), GeomFromEWKT('SRID=4674;POINT (-38.367255 -3.390542)'))) / (select extract(epoch from '2026-07-15 14:34:04'::timestamp) - extract(epoch from '2026-07-15 14:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.367161 -3.390543)', '2026-07-15 14:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367255 -3.390542)'), GeomFromEWKT('SRID=4674;POINT (-38.367161 -3.390543)'))) / (select extract(epoch from '2026-07-15 14:34:12'::timestamp) - extract(epoch from '2026-07-15 14:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367255 -3.390542)'), GeomFromEWKT('SRID=4674;POINT (-38.367161 -3.390543)'))) / (select extract(epoch from '2026-07-15 14:34:12'::timestamp) - extract(epoch from '2026-07-15 14:34: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.3671 -3.390551)', '2026-07-15 14:34:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367161 -3.390543)'), GeomFromEWKT('SRID=4674;POINT (-38.3671 -3.390551)'))) / (select extract(epoch from '2026-07-15 14:34:18'::timestamp) - extract(epoch from '2026-07-15 14:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367161 -3.390543)'), GeomFromEWKT('SRID=4674;POINT (-38.3671 -3.390551)'))) / (select extract(epoch from '2026-07-15 14:34:18'::timestamp) - extract(epoch from '2026-07-15 14:34: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.367026 -3.390546)', '2026-07-15 14:34:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3671 -3.390551)'), GeomFromEWKT('SRID=4674;POINT (-38.367026 -3.390546)'))) / (select extract(epoch from '2026-07-15 14:34:26'::timestamp) - extract(epoch from '2026-07-15 14:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3671 -3.390551)'), GeomFromEWKT('SRID=4674;POINT (-38.367026 -3.390546)'))) / (select extract(epoch from '2026-07-15 14:34:26'::timestamp) - extract(epoch from '2026-07-15 14:34: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.366924 -3.390529)', '2026-07-15 14:34:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367026 -3.390546)'), GeomFromEWKT('SRID=4674;POINT (-38.366924 -3.390529)'))) / (select extract(epoch from '2026-07-15 14:34:35'::timestamp) - extract(epoch from '2026-07-15 14:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.367026 -3.390546)'), GeomFromEWKT('SRID=4674;POINT (-38.366924 -3.390529)'))) / (select extract(epoch from '2026-07-15 14:34:35'::timestamp) - extract(epoch from '2026-07-15 14:34: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.366836 -3.390528)', '2026-07-15 14:34:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366924 -3.390529)'), GeomFromEWKT('SRID=4674;POINT (-38.366836 -3.390528)'))) / (select extract(epoch from '2026-07-15 14:34:42'::timestamp) - extract(epoch from '2026-07-15 14:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366924 -3.390529)'), GeomFromEWKT('SRID=4674;POINT (-38.366836 -3.390528)'))) / (select extract(epoch from '2026-07-15 14:34:42'::timestamp) - extract(epoch from '2026-07-15 14:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.366747 -3.390535)', '2026-07-15 14:34:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366836 -3.390528)'), GeomFromEWKT('SRID=4674;POINT (-38.366747 -3.390535)'))) / (select extract(epoch from '2026-07-15 14:34:49'::timestamp) - extract(epoch from '2026-07-15 14:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366836 -3.390528)'), GeomFromEWKT('SRID=4674;POINT (-38.366747 -3.390535)'))) / (select extract(epoch from '2026-07-15 14:34:49'::timestamp) - extract(epoch from '2026-07-15 14: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.366673 -3.390545)', '2026-07-15 14:34:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366747 -3.390535)'), GeomFromEWKT('SRID=4674;POINT (-38.366673 -3.390545)'))) / (select extract(epoch from '2026-07-15 14:34:56'::timestamp) - extract(epoch from '2026-07-15 14:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366747 -3.390535)'), GeomFromEWKT('SRID=4674;POINT (-38.366673 -3.390545)'))) / (select extract(epoch from '2026-07-15 14:34:56'::timestamp) - extract(epoch from '2026-07-15 14:34: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.366663 -3.390543)', '2026-07-15 14:34:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366673 -3.390545)'), GeomFromEWKT('SRID=4674;POINT (-38.366663 -3.390543)'))) / (select extract(epoch from '2026-07-15 14:34:57'::timestamp) - extract(epoch from '2026-07-15 14:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366673 -3.390545)'), GeomFromEWKT('SRID=4674;POINT (-38.366663 -3.390543)'))) / (select extract(epoch from '2026-07-15 14:34:57'::timestamp) - extract(epoch from '2026-07-15 14: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.366612 -3.390537)', '2026-07-15 14:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366663 -3.390543)'), GeomFromEWKT('SRID=4674;POINT (-38.366612 -3.390537)'))) / (select extract(epoch from '2026-07-15 14:35:03'::timestamp) - extract(epoch from '2026-07-15 14:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366663 -3.390543)'), GeomFromEWKT('SRID=4674;POINT (-38.366612 -3.390537)'))) / (select extract(epoch from '2026-07-15 14:35:03'::timestamp) - extract(epoch from '2026-07-15 14:34: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.366555 -3.390523)', '2026-07-15 14:35:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366612 -3.390537)'), GeomFromEWKT('SRID=4674;POINT (-38.366555 -3.390523)'))) / (select extract(epoch from '2026-07-15 14:35:08'::timestamp) - extract(epoch from '2026-07-15 14:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366612 -3.390537)'), GeomFromEWKT('SRID=4674;POINT (-38.366555 -3.390523)'))) / (select extract(epoch from '2026-07-15 14:35:08'::timestamp) - extract(epoch from '2026-07-15 14:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.366544 -3.390524)', '2026-07-15 14:35:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366555 -3.390523)'), GeomFromEWKT('SRID=4674;POINT (-38.366544 -3.390524)'))) / (select extract(epoch from '2026-07-15 14:35:09'::timestamp) - extract(epoch from '2026-07-15 14:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366555 -3.390523)'), GeomFromEWKT('SRID=4674;POINT (-38.366544 -3.390524)'))) / (select extract(epoch from '2026-07-15 14:35:09'::timestamp) - extract(epoch from '2026-07-15 14:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.366455 -3.390526)', '2026-07-15 14:35:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366544 -3.390524)'), GeomFromEWKT('SRID=4674;POINT (-38.366455 -3.390526)'))) / (select extract(epoch from '2026-07-15 14:35:17'::timestamp) - extract(epoch from '2026-07-15 14:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366544 -3.390524)'), GeomFromEWKT('SRID=4674;POINT (-38.366455 -3.390526)'))) / (select extract(epoch from '2026-07-15 14:35:17'::timestamp) - extract(epoch from '2026-07-15 14:35: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.366376 -3.390532)', '2026-07-15 14:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366455 -3.390526)'), GeomFromEWKT('SRID=4674;POINT (-38.366376 -3.390532)'))) / (select extract(epoch from '2026-07-15 14:35:24'::timestamp) - extract(epoch from '2026-07-15 14:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366455 -3.390526)'), GeomFromEWKT('SRID=4674;POINT (-38.366376 -3.390532)'))) / (select extract(epoch from '2026-07-15 14:35:24'::timestamp) - extract(epoch from '2026-07-15 14:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.366267 -3.390532)', '2026-07-15 14:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366376 -3.390532)'), GeomFromEWKT('SRID=4674;POINT (-38.366267 -3.390532)'))) / (select extract(epoch from '2026-07-15 14:35:33'::timestamp) - extract(epoch from '2026-07-15 14:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366376 -3.390532)'), GeomFromEWKT('SRID=4674;POINT (-38.366267 -3.390532)'))) / (select extract(epoch from '2026-07-15 14:35:33'::timestamp) - extract(epoch from '2026-07-15 14:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.366186 -3.390532)', '2026-07-15 14:35:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366267 -3.390532)'), GeomFromEWKT('SRID=4674;POINT (-38.366186 -3.390532)'))) / (select extract(epoch from '2026-07-15 14:35:40'::timestamp) - extract(epoch from '2026-07-15 14:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366267 -3.390532)'), GeomFromEWKT('SRID=4674;POINT (-38.366186 -3.390532)'))) / (select extract(epoch from '2026-07-15 14:35:40'::timestamp) - extract(epoch from '2026-07-15 14:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.366127 -3.390523)', '2026-07-15 14:35:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366186 -3.390532)'), GeomFromEWKT('SRID=4674;POINT (-38.366127 -3.390523)'))) / (select extract(epoch from '2026-07-15 14:35:47'::timestamp) - extract(epoch from '2026-07-15 14:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366186 -3.390532)'), GeomFromEWKT('SRID=4674;POINT (-38.366127 -3.390523)'))) / (select extract(epoch from '2026-07-15 14:35:47'::timestamp) - extract(epoch from '2026-07-15 14:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.366036 -3.390512)', '2026-07-15 14:35:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366127 -3.390523)'), GeomFromEWKT('SRID=4674;POINT (-38.366036 -3.390512)'))) / (select extract(epoch from '2026-07-15 14:35:55'::timestamp) - extract(epoch from '2026-07-15 14:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366127 -3.390523)'), GeomFromEWKT('SRID=4674;POINT (-38.366036 -3.390512)'))) / (select extract(epoch from '2026-07-15 14:35:55'::timestamp) - extract(epoch from '2026-07-15 14:35:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.365977 -3.39052)', '2026-07-15 14:36:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366036 -3.390512)'), GeomFromEWKT('SRID=4674;POINT (-38.365977 -3.39052)'))) / (select extract(epoch from '2026-07-15 14:36:01'::timestamp) - extract(epoch from '2026-07-15 14:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366036 -3.390512)'), GeomFromEWKT('SRID=4674;POINT (-38.365977 -3.39052)'))) / (select extract(epoch from '2026-07-15 14:36:01'::timestamp) - extract(epoch from '2026-07-15 14: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.365953 -3.390515)', '2026-07-15 14:36:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365977 -3.39052)'), GeomFromEWKT('SRID=4674;POINT (-38.365953 -3.390515)'))) / (select extract(epoch from '2026-07-15 14:36:03'::timestamp) - extract(epoch from '2026-07-15 14:36:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365977 -3.39052)'), GeomFromEWKT('SRID=4674;POINT (-38.365953 -3.390515)'))) / (select extract(epoch from '2026-07-15 14:36:03'::timestamp) - extract(epoch from '2026-07-15 14: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.365875 -3.390498)', '2026-07-15 14:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365953 -3.390515)'), GeomFromEWKT('SRID=4674;POINT (-38.365875 -3.390498)'))) / (select extract(epoch from '2026-07-15 14:36:11'::timestamp) - extract(epoch from '2026-07-15 14:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365953 -3.390515)'), GeomFromEWKT('SRID=4674;POINT (-38.365875 -3.390498)'))) / (select extract(epoch from '2026-07-15 14:36:11'::timestamp) - extract(epoch from '2026-07-15 14:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.365782 -3.390468)', '2026-07-15 14:36:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365875 -3.390498)'), GeomFromEWKT('SRID=4674;POINT (-38.365782 -3.390468)'))) / (select extract(epoch from '2026-07-15 14:36:20'::timestamp) - extract(epoch from '2026-07-15 14:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365875 -3.390498)'), GeomFromEWKT('SRID=4674;POINT (-38.365782 -3.390468)'))) / (select extract(epoch from '2026-07-15 14:36:20'::timestamp) - extract(epoch from '2026-07-15 14:36: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.365765 -3.390464)', '2026-07-15 14:36:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365782 -3.390468)'), GeomFromEWKT('SRID=4674;POINT (-38.365765 -3.390464)'))) / (select extract(epoch from '2026-07-15 14:36:22'::timestamp) - extract(epoch from '2026-07-15 14:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365782 -3.390468)'), GeomFromEWKT('SRID=4674;POINT (-38.365765 -3.390464)'))) / (select extract(epoch from '2026-07-15 14:36:22'::timestamp) - extract(epoch from '2026-07-15 14: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.365717 -3.390448)', '2026-07-15 14:36:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365765 -3.390464)'), GeomFromEWKT('SRID=4674;POINT (-38.365717 -3.390448)'))) / (select extract(epoch from '2026-07-15 14:36:26'::timestamp) - extract(epoch from '2026-07-15 14:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365765 -3.390464)'), GeomFromEWKT('SRID=4674;POINT (-38.365717 -3.390448)'))) / (select extract(epoch from '2026-07-15 14:36:26'::timestamp) - extract(epoch from '2026-07-15 14:36: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.365626 -3.390419)', '2026-07-15 14:36:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365717 -3.390448)'), GeomFromEWKT('SRID=4674;POINT (-38.365626 -3.390419)'))) / (select extract(epoch from '2026-07-15 14:36:35'::timestamp) - extract(epoch from '2026-07-15 14:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365717 -3.390448)'), GeomFromEWKT('SRID=4674;POINT (-38.365626 -3.390419)'))) / (select extract(epoch from '2026-07-15 14:36:35'::timestamp) - extract(epoch from '2026-07-15 14:36: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.365566 -3.390382)', '2026-07-15 14:36:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365626 -3.390419)'), GeomFromEWKT('SRID=4674;POINT (-38.365566 -3.390382)'))) / (select extract(epoch from '2026-07-15 14:36:41'::timestamp) - extract(epoch from '2026-07-15 14:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365626 -3.390419)'), GeomFromEWKT('SRID=4674;POINT (-38.365566 -3.390382)'))) / (select extract(epoch from '2026-07-15 14:36:41'::timestamp) - extract(epoch from '2026-07-15 14:36: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.365472 -3.390334)', '2026-07-15 14:36:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365566 -3.390382)'), GeomFromEWKT('SRID=4674;POINT (-38.365472 -3.390334)'))) / (select extract(epoch from '2026-07-15 14:36:49'::timestamp) - extract(epoch from '2026-07-15 14:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365566 -3.390382)'), GeomFromEWKT('SRID=4674;POINT (-38.365472 -3.390334)'))) / (select extract(epoch from '2026-07-15 14:36:49'::timestamp) - extract(epoch from '2026-07-15 14:36: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.365386 -3.390305)', '2026-07-15 14:36:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365472 -3.390334)'), GeomFromEWKT('SRID=4674;POINT (-38.365386 -3.390305)'))) / (select extract(epoch from '2026-07-15 14:36:56'::timestamp) - extract(epoch from '2026-07-15 14:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365472 -3.390334)'), GeomFromEWKT('SRID=4674;POINT (-38.365386 -3.390305)'))) / (select extract(epoch from '2026-07-15 14:36:56'::timestamp) - extract(epoch from '2026-07-15 14:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.365279 -3.390263)', '2026-07-15 14:37:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365386 -3.390305)'), GeomFromEWKT('SRID=4674;POINT (-38.365279 -3.390263)'))) / (select extract(epoch from '2026-07-15 14:37:05'::timestamp) - extract(epoch from '2026-07-15 14:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365386 -3.390305)'), GeomFromEWKT('SRID=4674;POINT (-38.365279 -3.390263)'))) / (select extract(epoch from '2026-07-15 14:37:05'::timestamp) - extract(epoch from '2026-07-15 14:36: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.365171 -3.390224)', '2026-07-15 14:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365279 -3.390263)'), GeomFromEWKT('SRID=4674;POINT (-38.365171 -3.390224)'))) / (select extract(epoch from '2026-07-15 14:37:13'::timestamp) - extract(epoch from '2026-07-15 14:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365279 -3.390263)'), GeomFromEWKT('SRID=4674;POINT (-38.365171 -3.390224)'))) / (select extract(epoch from '2026-07-15 14:37:13'::timestamp) - extract(epoch from '2026-07-15 14:37: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.365075 -3.390189)', '2026-07-15 14:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365171 -3.390224)'), GeomFromEWKT('SRID=4674;POINT (-38.365075 -3.390189)'))) / (select extract(epoch from '2026-07-15 14:37:20'::timestamp) - extract(epoch from '2026-07-15 14:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365171 -3.390224)'), GeomFromEWKT('SRID=4674;POINT (-38.365075 -3.390189)'))) / (select extract(epoch from '2026-07-15 14:37:20'::timestamp) - extract(epoch from '2026-07-15 14:37: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.365068 -3.390186)', '2026-07-15 14:37:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365075 -3.390189)'), GeomFromEWKT('SRID=4674;POINT (-38.365068 -3.390186)'))) / (select extract(epoch from '2026-07-15 14:37:21'::timestamp) - extract(epoch from '2026-07-15 14:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365075 -3.390189)'), GeomFromEWKT('SRID=4674;POINT (-38.365068 -3.390186)'))) / (select extract(epoch from '2026-07-15 14:37:21'::timestamp) - extract(epoch from '2026-07-15 14:37: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.365027 -3.390173)', '2026-07-15 14:37:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365068 -3.390186)'), GeomFromEWKT('SRID=4674;POINT (-38.365027 -3.390173)'))) / (select extract(epoch from '2026-07-15 14:37:25'::timestamp) - extract(epoch from '2026-07-15 14:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365068 -3.390186)'), GeomFromEWKT('SRID=4674;POINT (-38.365027 -3.390173)'))) / (select extract(epoch from '2026-07-15 14:37:25'::timestamp) - extract(epoch from '2026-07-15 14:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.364969 -3.39015)', '2026-07-15 14:37:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365027 -3.390173)'), GeomFromEWKT('SRID=4674;POINT (-38.364969 -3.39015)'))) / (select extract(epoch from '2026-07-15 14:37:31'::timestamp) - extract(epoch from '2026-07-15 14:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365027 -3.390173)'), GeomFromEWKT('SRID=4674;POINT (-38.364969 -3.39015)'))) / (select extract(epoch from '2026-07-15 14:37:31'::timestamp) - extract(epoch from '2026-07-15 14:37: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.364901 -3.39012)', '2026-07-15 14:37:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364969 -3.39015)'), GeomFromEWKT('SRID=4674;POINT (-38.364901 -3.39012)'))) / (select extract(epoch from '2026-07-15 14:37:38'::timestamp) - extract(epoch from '2026-07-15 14:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364969 -3.39015)'), GeomFromEWKT('SRID=4674;POINT (-38.364901 -3.39012)'))) / (select extract(epoch from '2026-07-15 14:37:38'::timestamp) - extract(epoch from '2026-07-15 14: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.364796 -3.390099)', '2026-07-15 14:37:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364901 -3.39012)'), GeomFromEWKT('SRID=4674;POINT (-38.364796 -3.390099)'))) / (select extract(epoch from '2026-07-15 14:37:47'::timestamp) - extract(epoch from '2026-07-15 14:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364901 -3.39012)'), GeomFromEWKT('SRID=4674;POINT (-38.364796 -3.390099)'))) / (select extract(epoch from '2026-07-15 14:37:47'::timestamp) - extract(epoch from '2026-07-15 14:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.364728 -3.3901)', '2026-07-15 14:37:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364796 -3.390099)'), GeomFromEWKT('SRID=4674;POINT (-38.364728 -3.3901)'))) / (select extract(epoch from '2026-07-15 14:37:53'::timestamp) - extract(epoch from '2026-07-15 14:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364796 -3.390099)'), GeomFromEWKT('SRID=4674;POINT (-38.364728 -3.3901)'))) / (select extract(epoch from '2026-07-15 14:37:53'::timestamp) - extract(epoch from '2026-07-15 14:37:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.364621 -3.3901)', '2026-07-15 14:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364728 -3.3901)'), GeomFromEWKT('SRID=4674;POINT (-38.364621 -3.3901)'))) / (select extract(epoch from '2026-07-15 14:38:01'::timestamp) - extract(epoch from '2026-07-15 14:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364728 -3.3901)'), GeomFromEWKT('SRID=4674;POINT (-38.364621 -3.3901)'))) / (select extract(epoch from '2026-07-15 14:38:01'::timestamp) - extract(epoch from '2026-07-15 14:37: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.364532 -3.390089)', '2026-07-15 14:38:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364621 -3.3901)'), GeomFromEWKT('SRID=4674;POINT (-38.364532 -3.390089)'))) / (select extract(epoch from '2026-07-15 14:38:08'::timestamp) - extract(epoch from '2026-07-15 14:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364621 -3.3901)'), GeomFromEWKT('SRID=4674;POINT (-38.364532 -3.390089)'))) / (select extract(epoch from '2026-07-15 14:38:08'::timestamp) - extract(epoch from '2026-07-15 14:38: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.364426 -3.390081)', '2026-07-15 14:38:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364532 -3.390089)'), GeomFromEWKT('SRID=4674;POINT (-38.364426 -3.390081)'))) / (select extract(epoch from '2026-07-15 14:38:16'::timestamp) - extract(epoch from '2026-07-15 14:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364532 -3.390089)'), GeomFromEWKT('SRID=4674;POINT (-38.364426 -3.390081)'))) / (select extract(epoch from '2026-07-15 14:38:16'::timestamp) - extract(epoch from '2026-07-15 14:38:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.364338 -3.390075)', '2026-07-15 14:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364426 -3.390081)'), GeomFromEWKT('SRID=4674;POINT (-38.364338 -3.390075)'))) / (select extract(epoch from '2026-07-15 14:38:22'::timestamp) - extract(epoch from '2026-07-15 14:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364426 -3.390081)'), GeomFromEWKT('SRID=4674;POINT (-38.364338 -3.390075)'))) / (select extract(epoch from '2026-07-15 14:38:22'::timestamp) - extract(epoch from '2026-07-15 14: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.364238 -3.390069)', '2026-07-15 14:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364338 -3.390075)'), GeomFromEWKT('SRID=4674;POINT (-38.364238 -3.390069)'))) / (select extract(epoch from '2026-07-15 14:38:29'::timestamp) - extract(epoch from '2026-07-15 14:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364338 -3.390075)'), GeomFromEWKT('SRID=4674;POINT (-38.364238 -3.390069)'))) / (select extract(epoch from '2026-07-15 14:38:29'::timestamp) - extract(epoch from '2026-07-15 14:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.364157 -3.39007)', '2026-07-15 14:38:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364238 -3.390069)'), GeomFromEWKT('SRID=4674;POINT (-38.364157 -3.39007)'))) / (select extract(epoch from '2026-07-15 14:38:35'::timestamp) - extract(epoch from '2026-07-15 14:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364238 -3.390069)'), GeomFromEWKT('SRID=4674;POINT (-38.364157 -3.39007)'))) / (select extract(epoch from '2026-07-15 14:38:35'::timestamp) - extract(epoch from '2026-07-15 14:38: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.364132 -3.390066)', '2026-07-15 14:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364157 -3.39007)'), GeomFromEWKT('SRID=4674;POINT (-38.364132 -3.390066)'))) / (select extract(epoch from '2026-07-15 14:38:37'::timestamp) - extract(epoch from '2026-07-15 14:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364157 -3.39007)'), GeomFromEWKT('SRID=4674;POINT (-38.364132 -3.390066)'))) / (select extract(epoch from '2026-07-15 14:38:37'::timestamp) - extract(epoch from '2026-07-15 14:38:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.364074 -3.390067)', '2026-07-15 14:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364132 -3.390066)'), GeomFromEWKT('SRID=4674;POINT (-38.364074 -3.390067)'))) / (select extract(epoch from '2026-07-15 14:38:41'::timestamp) - extract(epoch from '2026-07-15 14:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364132 -3.390066)'), GeomFromEWKT('SRID=4674;POINT (-38.364074 -3.390067)'))) / (select extract(epoch from '2026-07-15 14:38:41'::timestamp) - extract(epoch from '2026-07-15 14:38: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.364032 -3.390065)', '2026-07-15 14:38:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364074 -3.390067)'), GeomFromEWKT('SRID=4674;POINT (-38.364032 -3.390065)'))) / (select extract(epoch from '2026-07-15 14:38:45'::timestamp) - extract(epoch from '2026-07-15 14:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364074 -3.390067)'), GeomFromEWKT('SRID=4674;POINT (-38.364032 -3.390065)'))) / (select extract(epoch from '2026-07-15 14:38:45'::timestamp) - extract(epoch from '2026-07-15 14:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.364011 -3.390061)', '2026-07-15 14:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364032 -3.390065)'), GeomFromEWKT('SRID=4674;POINT (-38.364011 -3.390061)'))) / (select extract(epoch from '2026-07-15 14:38:47'::timestamp) - extract(epoch from '2026-07-15 14:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364032 -3.390065)'), GeomFromEWKT('SRID=4674;POINT (-38.364011 -3.390061)'))) / (select extract(epoch from '2026-07-15 14:38:47'::timestamp) - extract(epoch from '2026-07-15 14:38: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.363974 -3.390061)', '2026-07-15 14:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364011 -3.390061)'), GeomFromEWKT('SRID=4674;POINT (-38.363974 -3.390061)'))) / (select extract(epoch from '2026-07-15 14:38:50'::timestamp) - extract(epoch from '2026-07-15 14:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364011 -3.390061)'), GeomFromEWKT('SRID=4674;POINT (-38.363974 -3.390061)'))) / (select extract(epoch from '2026-07-15 14:38:50'::timestamp) - extract(epoch from '2026-07-15 14:38: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.363923 -3.390051)', '2026-07-15 14:38:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363974 -3.390061)'), GeomFromEWKT('SRID=4674;POINT (-38.363923 -3.390051)'))) / (select extract(epoch from '2026-07-15 14:38:54'::timestamp) - extract(epoch from '2026-07-15 14:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363974 -3.390061)'), GeomFromEWKT('SRID=4674;POINT (-38.363923 -3.390051)'))) / (select extract(epoch from '2026-07-15 14:38:54'::timestamp) - extract(epoch from '2026-07-15 14:38: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.363866 -3.390043)', '2026-07-15 14:39:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363923 -3.390051)'), GeomFromEWKT('SRID=4674;POINT (-38.363866 -3.390043)'))) / (select extract(epoch from '2026-07-15 14:39:00'::timestamp) - extract(epoch from '2026-07-15 14:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363923 -3.390051)'), GeomFromEWKT('SRID=4674;POINT (-38.363866 -3.390043)'))) / (select extract(epoch from '2026-07-15 14:39:00'::timestamp) - extract(epoch from '2026-07-15 14:38: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.363783 -3.390027)', '2026-07-15 14:39:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363866 -3.390043)'), GeomFromEWKT('SRID=4674;POINT (-38.363783 -3.390027)'))) / (select extract(epoch from '2026-07-15 14:39:08'::timestamp) - extract(epoch from '2026-07-15 14:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363866 -3.390043)'), GeomFromEWKT('SRID=4674;POINT (-38.363783 -3.390027)'))) / (select extract(epoch from '2026-07-15 14:39:08'::timestamp) - extract(epoch from '2026-07-15 14:39: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.363678 -3.390011)', '2026-07-15 14:39:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363783 -3.390027)'), GeomFromEWKT('SRID=4674;POINT (-38.363678 -3.390011)'))) / (select extract(epoch from '2026-07-15 14:39:17'::timestamp) - extract(epoch from '2026-07-15 14:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363783 -3.390027)'), GeomFromEWKT('SRID=4674;POINT (-38.363678 -3.390011)'))) / (select extract(epoch from '2026-07-15 14:39:17'::timestamp) - extract(epoch from '2026-07-15 14:39:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.363588 -3.390002)', '2026-07-15 14:39:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363678 -3.390011)'), GeomFromEWKT('SRID=4674;POINT (-38.363588 -3.390002)'))) / (select extract(epoch from '2026-07-15 14:39:24'::timestamp) - extract(epoch from '2026-07-15 14:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363678 -3.390011)'), GeomFromEWKT('SRID=4674;POINT (-38.363588 -3.390002)'))) / (select extract(epoch from '2026-07-15 14:39:24'::timestamp) - extract(epoch from '2026-07-15 14:39: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.363482 -3.389996)', '2026-07-15 14:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363588 -3.390002)'), GeomFromEWKT('SRID=4674;POINT (-38.363482 -3.389996)'))) / (select extract(epoch from '2026-07-15 14:39:32'::timestamp) - extract(epoch from '2026-07-15 14:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363588 -3.390002)'), GeomFromEWKT('SRID=4674;POINT (-38.363482 -3.389996)'))) / (select extract(epoch from '2026-07-15 14:39:32'::timestamp) - extract(epoch from '2026-07-15 14:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.363458 -3.389997)', '2026-07-15 14:39:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363482 -3.389996)'), GeomFromEWKT('SRID=4674;POINT (-38.363458 -3.389997)'))) / (select extract(epoch from '2026-07-15 14:39:34'::timestamp) - extract(epoch from '2026-07-15 14:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363482 -3.389996)'), GeomFromEWKT('SRID=4674;POINT (-38.363458 -3.389997)'))) / (select extract(epoch from '2026-07-15 14:39:34'::timestamp) - extract(epoch from '2026-07-15 14:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.36341 -3.389996)', '2026-07-15 14:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363458 -3.389997)'), GeomFromEWKT('SRID=4674;POINT (-38.36341 -3.389996)'))) / (select extract(epoch from '2026-07-15 14:39:38'::timestamp) - extract(epoch from '2026-07-15 14:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363458 -3.389997)'), GeomFromEWKT('SRID=4674;POINT (-38.36341 -3.389996)'))) / (select extract(epoch from '2026-07-15 14:39:38'::timestamp) - extract(epoch from '2026-07-15 14:39:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.363322 -3.389991)', '2026-07-15 14:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36341 -3.389996)'), GeomFromEWKT('SRID=4674;POINT (-38.363322 -3.389991)'))) / (select extract(epoch from '2026-07-15 14:39:45'::timestamp) - extract(epoch from '2026-07-15 14:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36341 -3.389996)'), GeomFromEWKT('SRID=4674;POINT (-38.363322 -3.389991)'))) / (select extract(epoch from '2026-07-15 14:39:45'::timestamp) - extract(epoch from '2026-07-15 14:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.363193 -3.389993)', '2026-07-15 14:39:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363322 -3.389991)'), GeomFromEWKT('SRID=4674;POINT (-38.363193 -3.389993)'))) / (select extract(epoch from '2026-07-15 14:39:54'::timestamp) - extract(epoch from '2026-07-15 14:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363322 -3.389991)'), GeomFromEWKT('SRID=4674;POINT (-38.363193 -3.389993)'))) / (select extract(epoch from '2026-07-15 14:39:54'::timestamp) - extract(epoch from '2026-07-15 14:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.363141 -3.390004)', '2026-07-15 14:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363193 -3.389993)'), GeomFromEWKT('SRID=4674;POINT (-38.363141 -3.390004)'))) / (select extract(epoch from '2026-07-15 14:39:59'::timestamp) - extract(epoch from '2026-07-15 14:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363193 -3.389993)'), GeomFromEWKT('SRID=4674;POINT (-38.363141 -3.390004)'))) / (select extract(epoch from '2026-07-15 14:39:59'::timestamp) - extract(epoch from '2026-07-15 14:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.363132 -3.390006)', '2026-07-15 14:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363141 -3.390004)'), GeomFromEWKT('SRID=4674;POINT (-38.363132 -3.390006)'))) / (select extract(epoch from '2026-07-15 14:40:00'::timestamp) - extract(epoch from '2026-07-15 14:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363141 -3.390004)'), GeomFromEWKT('SRID=4674;POINT (-38.363132 -3.390006)'))) / (select extract(epoch from '2026-07-15 14:40:00'::timestamp) - extract(epoch from '2026-07-15 14:39: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.363069 -3.389998)', '2026-07-15 14:40:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363132 -3.390006)'), GeomFromEWKT('SRID=4674;POINT (-38.363069 -3.389998)'))) / (select extract(epoch from '2026-07-15 14:40:06'::timestamp) - extract(epoch from '2026-07-15 14:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363132 -3.390006)'), GeomFromEWKT('SRID=4674;POINT (-38.363069 -3.389998)'))) / (select extract(epoch from '2026-07-15 14:40:06'::timestamp) - extract(epoch from '2026-07-15 14: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.363021 -3.389989)', '2026-07-15 14:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363069 -3.389998)'), GeomFromEWKT('SRID=4674;POINT (-38.363021 -3.389989)'))) / (select extract(epoch from '2026-07-15 14:40:11'::timestamp) - extract(epoch from '2026-07-15 14:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363069 -3.389998)'), GeomFromEWKT('SRID=4674;POINT (-38.363021 -3.389989)'))) / (select extract(epoch from '2026-07-15 14:40:11'::timestamp) - extract(epoch from '2026-07-15 14:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.363001 -3.38998)', '2026-07-15 14:40:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363021 -3.389989)'), GeomFromEWKT('SRID=4674;POINT (-38.363001 -3.38998)'))) / (select extract(epoch from '2026-07-15 14:40:13'::timestamp) - extract(epoch from '2026-07-15 14:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363021 -3.389989)'), GeomFromEWKT('SRID=4674;POINT (-38.363001 -3.38998)'))) / (select extract(epoch from '2026-07-15 14:40:13'::timestamp) - extract(epoch from '2026-07-15 14:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.362942 -3.389943)', '2026-07-15 14:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363001 -3.38998)'), GeomFromEWKT('SRID=4674;POINT (-38.362942 -3.389943)'))) / (select extract(epoch from '2026-07-15 14:40:19'::timestamp) - extract(epoch from '2026-07-15 14:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363001 -3.38998)'), GeomFromEWKT('SRID=4674;POINT (-38.362942 -3.389943)'))) / (select extract(epoch from '2026-07-15 14:40:19'::timestamp) - extract(epoch from '2026-07-15 14:40:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.362859 -3.389902)', '2026-07-15 14:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362942 -3.389943)'), GeomFromEWKT('SRID=4674;POINT (-38.362859 -3.389902)'))) / (select extract(epoch from '2026-07-15 14:40:27'::timestamp) - extract(epoch from '2026-07-15 14:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362942 -3.389943)'), GeomFromEWKT('SRID=4674;POINT (-38.362859 -3.389902)'))) / (select extract(epoch from '2026-07-15 14:40:27'::timestamp) - extract(epoch from '2026-07-15 14:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.362808 -3.389888)', '2026-07-15 14:40:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362859 -3.389902)'), GeomFromEWKT('SRID=4674;POINT (-38.362808 -3.389888)'))) / (select extract(epoch from '2026-07-15 14:40:32'::timestamp) - extract(epoch from '2026-07-15 14:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362859 -3.389902)'), GeomFromEWKT('SRID=4674;POINT (-38.362808 -3.389888)'))) / (select extract(epoch from '2026-07-15 14:40:32'::timestamp) - extract(epoch from '2026-07-15 14:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.362736 -3.389854)', '2026-07-15 14:40:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362808 -3.389888)'), GeomFromEWKT('SRID=4674;POINT (-38.362736 -3.389854)'))) / (select extract(epoch from '2026-07-15 14:40:38'::timestamp) - extract(epoch from '2026-07-15 14:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362808 -3.389888)'), GeomFromEWKT('SRID=4674;POINT (-38.362736 -3.389854)'))) / (select extract(epoch from '2026-07-15 14:40:38'::timestamp) - extract(epoch from '2026-07-15 14:40:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.36266 -3.389818)', '2026-07-15 14:40:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362736 -3.389854)'), GeomFromEWKT('SRID=4674;POINT (-38.36266 -3.389818)'))) / (select extract(epoch from '2026-07-15 14:40:45'::timestamp) - extract(epoch from '2026-07-15 14:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362736 -3.389854)'), GeomFromEWKT('SRID=4674;POINT (-38.36266 -3.389818)'))) / (select extract(epoch from '2026-07-15 14:40:45'::timestamp) - extract(epoch from '2026-07-15 14:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.362609 -3.389794)', '2026-07-15 14:40:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36266 -3.389818)'), GeomFromEWKT('SRID=4674;POINT (-38.362609 -3.389794)'))) / (select extract(epoch from '2026-07-15 14:40:51'::timestamp) - extract(epoch from '2026-07-15 14:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36266 -3.389818)'), GeomFromEWKT('SRID=4674;POINT (-38.362609 -3.389794)'))) / (select extract(epoch from '2026-07-15 14:40:51'::timestamp) - extract(epoch from '2026-07-15 14:40:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.362534 -3.389773)', '2026-07-15 14:40:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362609 -3.389794)'), GeomFromEWKT('SRID=4674;POINT (-38.362534 -3.389773)'))) / (select extract(epoch from '2026-07-15 14:40:59'::timestamp) - extract(epoch from '2026-07-15 14:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362609 -3.389794)'), GeomFromEWKT('SRID=4674;POINT (-38.362534 -3.389773)'))) / (select extract(epoch from '2026-07-15 14:40:59'::timestamp) - extract(epoch from '2026-07-15 14:40: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.36247 -3.389757)', '2026-07-15 14:41:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362534 -3.389773)'), GeomFromEWKT('SRID=4674;POINT (-38.36247 -3.389757)'))) / (select extract(epoch from '2026-07-15 14:41:06'::timestamp) - extract(epoch from '2026-07-15 14:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362534 -3.389773)'), GeomFromEWKT('SRID=4674;POINT (-38.36247 -3.389757)'))) / (select extract(epoch from '2026-07-15 14:41:06'::timestamp) - extract(epoch from '2026-07-15 14:40: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.362375 -3.389741)', '2026-07-15 14:41:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36247 -3.389757)'), GeomFromEWKT('SRID=4674;POINT (-38.362375 -3.389741)'))) / (select extract(epoch from '2026-07-15 14:41:15'::timestamp) - extract(epoch from '2026-07-15 14:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36247 -3.389757)'), GeomFromEWKT('SRID=4674;POINT (-38.362375 -3.389741)'))) / (select extract(epoch from '2026-07-15 14:41:15'::timestamp) - extract(epoch from '2026-07-15 14:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.36228 -3.389725)', '2026-07-15 14:41:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362375 -3.389741)'), GeomFromEWKT('SRID=4674;POINT (-38.36228 -3.389725)'))) / (select extract(epoch from '2026-07-15 14:41:23'::timestamp) - extract(epoch from '2026-07-15 14:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362375 -3.389741)'), GeomFromEWKT('SRID=4674;POINT (-38.36228 -3.389725)'))) / (select extract(epoch from '2026-07-15 14:41:23'::timestamp) - extract(epoch from '2026-07-15 14:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.362171 -3.389713)', '2026-07-15 14:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36228 -3.389725)'), GeomFromEWKT('SRID=4674;POINT (-38.362171 -3.389713)'))) / (select extract(epoch from '2026-07-15 14:41:31'::timestamp) - extract(epoch from '2026-07-15 14:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36228 -3.389725)'), GeomFromEWKT('SRID=4674;POINT (-38.362171 -3.389713)'))) / (select extract(epoch from '2026-07-15 14:41:31'::timestamp) - extract(epoch from '2026-07-15 14:41:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.362081 -3.389698)', '2026-07-15 14:41:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362171 -3.389713)'), GeomFromEWKT('SRID=4674;POINT (-38.362081 -3.389698)'))) / (select extract(epoch from '2026-07-15 14:41:38'::timestamp) - extract(epoch from '2026-07-15 14:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362171 -3.389713)'), GeomFromEWKT('SRID=4674;POINT (-38.362081 -3.389698)'))) / (select extract(epoch from '2026-07-15 14:41:38'::timestamp) - extract(epoch from '2026-07-15 14:41: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.361982 -3.389667)', '2026-07-15 14:41:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362081 -3.389698)'), GeomFromEWKT('SRID=4674;POINT (-38.361982 -3.389667)'))) / (select extract(epoch from '2026-07-15 14:41:46'::timestamp) - extract(epoch from '2026-07-15 14:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362081 -3.389698)'), GeomFromEWKT('SRID=4674;POINT (-38.361982 -3.389667)'))) / (select extract(epoch from '2026-07-15 14:41:46'::timestamp) - extract(epoch from '2026-07-15 14:41:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.361903 -3.389651)', '2026-07-15 14:41:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361982 -3.389667)'), GeomFromEWKT('SRID=4674;POINT (-38.361903 -3.389651)'))) / (select extract(epoch from '2026-07-15 14:41:53'::timestamp) - extract(epoch from '2026-07-15 14:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361982 -3.389667)'), GeomFromEWKT('SRID=4674;POINT (-38.361903 -3.389651)'))) / (select extract(epoch from '2026-07-15 14:41:53'::timestamp) - extract(epoch from '2026-07-15 14:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.361841 -3.38963)', '2026-07-15 14:42:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361903 -3.389651)'), GeomFromEWKT('SRID=4674;POINT (-38.361841 -3.38963)'))) / (select extract(epoch from '2026-07-15 14:42:01'::timestamp) - extract(epoch from '2026-07-15 14:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361903 -3.389651)'), GeomFromEWKT('SRID=4674;POINT (-38.361841 -3.38963)'))) / (select extract(epoch from '2026-07-15 14:42:01'::timestamp) - extract(epoch from '2026-07-15 14:41: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.361769 -3.389611)', '2026-07-15 14:42:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361841 -3.38963)'), GeomFromEWKT('SRID=4674;POINT (-38.361769 -3.389611)'))) / (select extract(epoch from '2026-07-15 14:42:08'::timestamp) - extract(epoch from '2026-07-15 14:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361841 -3.38963)'), GeomFromEWKT('SRID=4674;POINT (-38.361769 -3.389611)'))) / (select extract(epoch from '2026-07-15 14:42:08'::timestamp) - extract(epoch from '2026-07-15 14:42: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.361701 -3.38959)', '2026-07-15 14:42:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361769 -3.389611)'), GeomFromEWKT('SRID=4674;POINT (-38.361701 -3.38959)'))) / (select extract(epoch from '2026-07-15 14:42:15'::timestamp) - extract(epoch from '2026-07-15 14:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361769 -3.389611)'), GeomFromEWKT('SRID=4674;POINT (-38.361701 -3.38959)'))) / (select extract(epoch from '2026-07-15 14:42:15'::timestamp) - extract(epoch from '2026-07-15 14: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.361638 -3.389582)', '2026-07-15 14:42:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361701 -3.38959)'), GeomFromEWKT('SRID=4674;POINT (-38.361638 -3.389582)'))) / (select extract(epoch from '2026-07-15 14:42:21'::timestamp) - extract(epoch from '2026-07-15 14:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361701 -3.38959)'), GeomFromEWKT('SRID=4674;POINT (-38.361638 -3.389582)'))) / (select extract(epoch from '2026-07-15 14:42:21'::timestamp) - extract(epoch from '2026-07-15 14:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.361608 -3.389578)', '2026-07-15 14:42:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361638 -3.389582)'), GeomFromEWKT('SRID=4674;POINT (-38.361608 -3.389578)'))) / (select extract(epoch from '2026-07-15 14:42:24'::timestamp) - extract(epoch from '2026-07-15 14:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361638 -3.389582)'), GeomFromEWKT('SRID=4674;POINT (-38.361608 -3.389578)'))) / (select extract(epoch from '2026-07-15 14:42:24'::timestamp) - extract(epoch from '2026-07-15 14:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.361582 -3.389575)', '2026-07-15 14:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361608 -3.389578)'), GeomFromEWKT('SRID=4674;POINT (-38.361582 -3.389575)'))) / (select extract(epoch from '2026-07-15 14:42:26'::timestamp) - extract(epoch from '2026-07-15 14:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361608 -3.389578)'), GeomFromEWKT('SRID=4674;POINT (-38.361582 -3.389575)'))) / (select extract(epoch from '2026-07-15 14:42:26'::timestamp) - extract(epoch from '2026-07-15 14:42: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.361571 -3.389573)', '2026-07-15 14:42:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361582 -3.389575)'), GeomFromEWKT('SRID=4674;POINT (-38.361571 -3.389573)'))) / (select extract(epoch from '2026-07-15 14:42:27'::timestamp) - extract(epoch from '2026-07-15 14:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361582 -3.389575)'), GeomFromEWKT('SRID=4674;POINT (-38.361571 -3.389573)'))) / (select extract(epoch from '2026-07-15 14:42:27'::timestamp) - extract(epoch from '2026-07-15 14:42: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.361507 -3.389559)', '2026-07-15 14:42:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361571 -3.389573)'), GeomFromEWKT('SRID=4674;POINT (-38.361507 -3.389559)'))) / (select extract(epoch from '2026-07-15 14:42:33'::timestamp) - extract(epoch from '2026-07-15 14:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361571 -3.389573)'), GeomFromEWKT('SRID=4674;POINT (-38.361507 -3.389559)'))) / (select extract(epoch from '2026-07-15 14:42:33'::timestamp) - extract(epoch from '2026-07-15 14:42: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.361441 -3.38955)', '2026-07-15 14:42:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361507 -3.389559)'), GeomFromEWKT('SRID=4674;POINT (-38.361441 -3.38955)'))) / (select extract(epoch from '2026-07-15 14:42:39'::timestamp) - extract(epoch from '2026-07-15 14:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361507 -3.389559)'), GeomFromEWKT('SRID=4674;POINT (-38.361441 -3.38955)'))) / (select extract(epoch from '2026-07-15 14:42:39'::timestamp) - extract(epoch from '2026-07-15 14: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.361371 -3.389539)', '2026-07-15 14:42:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361441 -3.38955)'), GeomFromEWKT('SRID=4674;POINT (-38.361371 -3.389539)'))) / (select extract(epoch from '2026-07-15 14:42:45'::timestamp) - extract(epoch from '2026-07-15 14:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361441 -3.38955)'), GeomFromEWKT('SRID=4674;POINT (-38.361371 -3.389539)'))) / (select extract(epoch from '2026-07-15 14:42:45'::timestamp) - extract(epoch from '2026-07-15 14:42:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.361359 -3.389539)', '2026-07-15 14:42:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361371 -3.389539)'), GeomFromEWKT('SRID=4674;POINT (-38.361359 -3.389539)'))) / (select extract(epoch from '2026-07-15 14:42:46'::timestamp) - extract(epoch from '2026-07-15 14:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361371 -3.389539)'), GeomFromEWKT('SRID=4674;POINT (-38.361359 -3.389539)'))) / (select extract(epoch from '2026-07-15 14:42:46'::timestamp) - extract(epoch from '2026-07-15 14:42: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.361318 -3.389532)', '2026-07-15 14:42:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361359 -3.389539)'), GeomFromEWKT('SRID=4674;POINT (-38.361318 -3.389532)'))) / (select extract(epoch from '2026-07-15 14:42:50'::timestamp) - extract(epoch from '2026-07-15 14:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361359 -3.389539)'), GeomFromEWKT('SRID=4674;POINT (-38.361318 -3.389532)'))) / (select extract(epoch from '2026-07-15 14:42:50'::timestamp) - extract(epoch from '2026-07-15 14:42:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.361298 -3.389529)', '2026-07-15 14:42:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361318 -3.389532)'), GeomFromEWKT('SRID=4674;POINT (-38.361298 -3.389529)'))) / (select extract(epoch from '2026-07-15 14:42:52'::timestamp) - extract(epoch from '2026-07-15 14:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361318 -3.389532)'), GeomFromEWKT('SRID=4674;POINT (-38.361298 -3.389529)'))) / (select extract(epoch from '2026-07-15 14:42:52'::timestamp) - extract(epoch from '2026-07-15 14:42: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.361286 -3.389527)', '2026-07-15 14:42:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361298 -3.389529)'), GeomFromEWKT('SRID=4674;POINT (-38.361286 -3.389527)'))) / (select extract(epoch from '2026-07-15 14:42:53'::timestamp) - extract(epoch from '2026-07-15 14:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361298 -3.389529)'), GeomFromEWKT('SRID=4674;POINT (-38.361286 -3.389527)'))) / (select extract(epoch from '2026-07-15 14:42:53'::timestamp) - extract(epoch from '2026-07-15 14:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.361265 -3.389526)', '2026-07-15 14:42:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361286 -3.389527)'), GeomFromEWKT('SRID=4674;POINT (-38.361265 -3.389526)'))) / (select extract(epoch from '2026-07-15 14:42:55'::timestamp) - extract(epoch from '2026-07-15 14:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361286 -3.389527)'), GeomFromEWKT('SRID=4674;POINT (-38.361265 -3.389526)'))) / (select extract(epoch from '2026-07-15 14:42:55'::timestamp) - extract(epoch from '2026-07-15 14:42: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.361249 -3.389524)', '2026-07-15 14:42:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361265 -3.389526)'), GeomFromEWKT('SRID=4674;POINT (-38.361249 -3.389524)'))) / (select extract(epoch from '2026-07-15 14:42:57'::timestamp) - extract(epoch from '2026-07-15 14:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361265 -3.389526)'), GeomFromEWKT('SRID=4674;POINT (-38.361249 -3.389524)'))) / (select extract(epoch from '2026-07-15 14:42:57'::timestamp) - extract(epoch from '2026-07-15 14:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.361183 -3.389512)', '2026-07-15 14:43:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361249 -3.389524)'), GeomFromEWKT('SRID=4674;POINT (-38.361183 -3.389512)'))) / (select extract(epoch from '2026-07-15 14:43:04'::timestamp) - extract(epoch from '2026-07-15 14:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361249 -3.389524)'), GeomFromEWKT('SRID=4674;POINT (-38.361183 -3.389512)'))) / (select extract(epoch from '2026-07-15 14:43:04'::timestamp) - extract(epoch from '2026-07-15 14:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.361109 -3.389503)', '2026-07-15 14:43:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361183 -3.389512)'), GeomFromEWKT('SRID=4674;POINT (-38.361109 -3.389503)'))) / (select extract(epoch from '2026-07-15 14:43:11'::timestamp) - extract(epoch from '2026-07-15 14:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361183 -3.389512)'), GeomFromEWKT('SRID=4674;POINT (-38.361109 -3.389503)'))) / (select extract(epoch from '2026-07-15 14:43:11'::timestamp) - extract(epoch from '2026-07-15 14:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.361038 -3.389495)', '2026-07-15 14:43:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361109 -3.389503)'), GeomFromEWKT('SRID=4674;POINT (-38.361038 -3.389495)'))) / (select extract(epoch from '2026-07-15 14:43:18'::timestamp) - extract(epoch from '2026-07-15 14:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361109 -3.389503)'), GeomFromEWKT('SRID=4674;POINT (-38.361038 -3.389495)'))) / (select extract(epoch from '2026-07-15 14:43:18'::timestamp) - extract(epoch from '2026-07-15 14:43:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.360989 -3.38949)', '2026-07-15 14:43:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361038 -3.389495)'), GeomFromEWKT('SRID=4674;POINT (-38.360989 -3.38949)'))) / (select extract(epoch from '2026-07-15 14:43:24'::timestamp) - extract(epoch from '2026-07-15 14:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361038 -3.389495)'), GeomFromEWKT('SRID=4674;POINT (-38.360989 -3.38949)'))) / (select extract(epoch from '2026-07-15 14:43:24'::timestamp) - extract(epoch from '2026-07-15 14:43: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.36094 -3.389482)', '2026-07-15 14:43:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360989 -3.38949)'), GeomFromEWKT('SRID=4674;POINT (-38.36094 -3.389482)'))) / (select extract(epoch from '2026-07-15 14:43:31'::timestamp) - extract(epoch from '2026-07-15 14:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360989 -3.38949)'), GeomFromEWKT('SRID=4674;POINT (-38.36094 -3.389482)'))) / (select extract(epoch from '2026-07-15 14:43:31'::timestamp) - extract(epoch from '2026-07-15 14:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.360859 -3.389471)', '2026-07-15 14:43:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36094 -3.389482)'), GeomFromEWKT('SRID=4674;POINT (-38.360859 -3.389471)'))) / (select extract(epoch from '2026-07-15 14:43:40'::timestamp) - extract(epoch from '2026-07-15 14:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36094 -3.389482)'), GeomFromEWKT('SRID=4674;POINT (-38.360859 -3.389471)'))) / (select extract(epoch from '2026-07-15 14:43:40'::timestamp) - extract(epoch from '2026-07-15 14:43: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.360772 -3.389466)', '2026-07-15 14:43:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360859 -3.389471)'), GeomFromEWKT('SRID=4674;POINT (-38.360772 -3.389466)'))) / (select extract(epoch from '2026-07-15 14:43:48'::timestamp) - extract(epoch from '2026-07-15 14:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360859 -3.389471)'), GeomFromEWKT('SRID=4674;POINT (-38.360772 -3.389466)'))) / (select extract(epoch from '2026-07-15 14:43:48'::timestamp) - extract(epoch from '2026-07-15 14:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.360733 -3.389457)', '2026-07-15 14:43:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360772 -3.389466)'), GeomFromEWKT('SRID=4674;POINT (-38.360733 -3.389457)'))) / (select extract(epoch from '2026-07-15 14:43:54'::timestamp) - extract(epoch from '2026-07-15 14:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360772 -3.389466)'), GeomFromEWKT('SRID=4674;POINT (-38.360733 -3.389457)'))) / (select extract(epoch from '2026-07-15 14:43:54'::timestamp) - extract(epoch from '2026-07-15 14:43: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.360689 -3.389455)', '2026-07-15 14:44:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360733 -3.389457)'), GeomFromEWKT('SRID=4674;POINT (-38.360689 -3.389455)'))) / (select extract(epoch from '2026-07-15 14:44:00'::timestamp) - extract(epoch from '2026-07-15 14:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360733 -3.389457)'), GeomFromEWKT('SRID=4674;POINT (-38.360689 -3.389455)'))) / (select extract(epoch from '2026-07-15 14:44:00'::timestamp) - extract(epoch from '2026-07-15 14: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.360599 -3.389448)', '2026-07-15 14:44:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360689 -3.389455)'), GeomFromEWKT('SRID=4674;POINT (-38.360599 -3.389448)'))) / (select extract(epoch from '2026-07-15 14:44:09'::timestamp) - extract(epoch from '2026-07-15 14:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360689 -3.389455)'), GeomFromEWKT('SRID=4674;POINT (-38.360599 -3.389448)'))) / (select extract(epoch from '2026-07-15 14:44:09'::timestamp) - extract(epoch from '2026-07-15 14: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.360535 -3.389437)', '2026-07-15 14:44:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360599 -3.389448)'), GeomFromEWKT('SRID=4674;POINT (-38.360535 -3.389437)'))) / (select extract(epoch from '2026-07-15 14:44:15'::timestamp) - extract(epoch from '2026-07-15 14:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360599 -3.389448)'), GeomFromEWKT('SRID=4674;POINT (-38.360535 -3.389437)'))) / (select extract(epoch from '2026-07-15 14:44:15'::timestamp) - extract(epoch from '2026-07-15 14:44:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.360441 -3.389422)', '2026-07-15 14:44:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360535 -3.389437)'), GeomFromEWKT('SRID=4674;POINT (-38.360441 -3.389422)'))) / (select extract(epoch from '2026-07-15 14:44:24'::timestamp) - extract(epoch from '2026-07-15 14:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360535 -3.389437)'), GeomFromEWKT('SRID=4674;POINT (-38.360441 -3.389422)'))) / (select extract(epoch from '2026-07-15 14:44:24'::timestamp) - extract(epoch from '2026-07-15 14:44: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.360371 -3.389411)', '2026-07-15 14:44:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360441 -3.389422)'), GeomFromEWKT('SRID=4674;POINT (-38.360371 -3.389411)'))) / (select extract(epoch from '2026-07-15 14:44:31'::timestamp) - extract(epoch from '2026-07-15 14:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360441 -3.389422)'), GeomFromEWKT('SRID=4674;POINT (-38.360371 -3.389411)'))) / (select extract(epoch from '2026-07-15 14:44:31'::timestamp) - extract(epoch from '2026-07-15 14:44:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.360314 -3.389402)', '2026-07-15 14:44:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360371 -3.389411)'), GeomFromEWKT('SRID=4674;POINT (-38.360314 -3.389402)'))) / (select extract(epoch from '2026-07-15 14:44:37'::timestamp) - extract(epoch from '2026-07-15 14:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360371 -3.389411)'), GeomFromEWKT('SRID=4674;POINT (-38.360314 -3.389402)'))) / (select extract(epoch from '2026-07-15 14:44:37'::timestamp) - extract(epoch from '2026-07-15 14:44: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.360304 -3.389402)', '2026-07-15 14:44:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360314 -3.389402)'), GeomFromEWKT('SRID=4674;POINT (-38.360304 -3.389402)'))) / (select extract(epoch from '2026-07-15 14:44:38'::timestamp) - extract(epoch from '2026-07-15 14:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360314 -3.389402)'), GeomFromEWKT('SRID=4674;POINT (-38.360304 -3.389402)'))) / (select extract(epoch from '2026-07-15 14:44:38'::timestamp) - extract(epoch from '2026-07-15 14:44: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.360226 -3.389393)', '2026-07-15 14:44:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360304 -3.389402)'), GeomFromEWKT('SRID=4674;POINT (-38.360226 -3.389393)'))) / (select extract(epoch from '2026-07-15 14:44:45'::timestamp) - extract(epoch from '2026-07-15 14:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360304 -3.389402)'), GeomFromEWKT('SRID=4674;POINT (-38.360226 -3.389393)'))) / (select extract(epoch from '2026-07-15 14:44:45'::timestamp) - extract(epoch from '2026-07-15 14:44: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.360219 -3.389392)', '2026-07-15 14:44:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360226 -3.389393)'), GeomFromEWKT('SRID=4674;POINT (-38.360219 -3.389392)'))) / (select extract(epoch from '2026-07-15 14:44:46'::timestamp) - extract(epoch from '2026-07-15 14:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360226 -3.389393)'), GeomFromEWKT('SRID=4674;POINT (-38.360219 -3.389392)'))) / (select extract(epoch from '2026-07-15 14:44:46'::timestamp) - extract(epoch from '2026-07-15 14:44: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.360176 -3.389383)', '2026-07-15 14:44:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360219 -3.389392)'), GeomFromEWKT('SRID=4674;POINT (-38.360176 -3.389383)'))) / (select extract(epoch from '2026-07-15 14:44:51'::timestamp) - extract(epoch from '2026-07-15 14:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360219 -3.389392)'), GeomFromEWKT('SRID=4674;POINT (-38.360176 -3.389383)'))) / (select extract(epoch from '2026-07-15 14:44:51'::timestamp) - extract(epoch from '2026-07-15 14:44: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.360102 -3.389357)', '2026-07-15 14:44:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360176 -3.389383)'), GeomFromEWKT('SRID=4674;POINT (-38.360102 -3.389357)'))) / (select extract(epoch from '2026-07-15 14:44:59'::timestamp) - extract(epoch from '2026-07-15 14:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360176 -3.389383)'), GeomFromEWKT('SRID=4674;POINT (-38.360102 -3.389357)'))) / (select extract(epoch from '2026-07-15 14:44:59'::timestamp) - extract(epoch from '2026-07-15 14:44: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.360037 -3.38932)', '2026-07-15 14:45:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360102 -3.389357)'), GeomFromEWKT('SRID=4674;POINT (-38.360037 -3.38932)'))) / (select extract(epoch from '2026-07-15 14:45:06'::timestamp) - extract(epoch from '2026-07-15 14:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360102 -3.389357)'), GeomFromEWKT('SRID=4674;POINT (-38.360037 -3.38932)'))) / (select extract(epoch from '2026-07-15 14:45:06'::timestamp) - extract(epoch from '2026-07-15 14:44: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.359962 -3.389279)', '2026-07-15 14:45:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360037 -3.38932)'), GeomFromEWKT('SRID=4674;POINT (-38.359962 -3.389279)'))) / (select extract(epoch from '2026-07-15 14:45:17'::timestamp) - extract(epoch from '2026-07-15 14:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360037 -3.38932)'), GeomFromEWKT('SRID=4674;POINT (-38.359962 -3.389279)'))) / (select extract(epoch from '2026-07-15 14:45:17'::timestamp) - extract(epoch from '2026-07-15 14:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.359881 -3.389252)', '2026-07-15 14:45:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359962 -3.389279)'), GeomFromEWKT('SRID=4674;POINT (-38.359881 -3.389252)'))) / (select extract(epoch from '2026-07-15 14:45:25'::timestamp) - extract(epoch from '2026-07-15 14:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359962 -3.389279)'), GeomFromEWKT('SRID=4674;POINT (-38.359881 -3.389252)'))) / (select extract(epoch from '2026-07-15 14:45:25'::timestamp) - extract(epoch from '2026-07-15 14:45: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.359809 -3.389236)', '2026-07-15 14:45:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359881 -3.389252)'), GeomFromEWKT('SRID=4674;POINT (-38.359809 -3.389236)'))) / (select extract(epoch from '2026-07-15 14:45:33'::timestamp) - extract(epoch from '2026-07-15 14:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359881 -3.389252)'), GeomFromEWKT('SRID=4674;POINT (-38.359809 -3.389236)'))) / (select extract(epoch from '2026-07-15 14:45:33'::timestamp) - extract(epoch from '2026-07-15 14:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.359742 -3.389213)', '2026-07-15 14:45:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359809 -3.389236)'), GeomFromEWKT('SRID=4674;POINT (-38.359742 -3.389213)'))) / (select extract(epoch from '2026-07-15 14:45:41'::timestamp) - extract(epoch from '2026-07-15 14:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359809 -3.389236)'), GeomFromEWKT('SRID=4674;POINT (-38.359742 -3.389213)'))) / (select extract(epoch from '2026-07-15 14:45:41'::timestamp) - extract(epoch from '2026-07-15 14:45: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.359661 -3.389192)', '2026-07-15 14:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359742 -3.389213)'), GeomFromEWKT('SRID=4674;POINT (-38.359661 -3.389192)'))) / (select extract(epoch from '2026-07-15 14:45:49'::timestamp) - extract(epoch from '2026-07-15 14:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359742 -3.389213)'), GeomFromEWKT('SRID=4674;POINT (-38.359661 -3.389192)'))) / (select extract(epoch from '2026-07-15 14:45:49'::timestamp) - extract(epoch from '2026-07-15 14:45: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.359598 -3.389167)', '2026-07-15 14:45:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359661 -3.389192)'), GeomFromEWKT('SRID=4674;POINT (-38.359598 -3.389167)'))) / (select extract(epoch from '2026-07-15 14:45:55'::timestamp) - extract(epoch from '2026-07-15 14:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359661 -3.389192)'), GeomFromEWKT('SRID=4674;POINT (-38.359598 -3.389167)'))) / (select extract(epoch from '2026-07-15 14:45:55'::timestamp) - extract(epoch from '2026-07-15 14:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.359552 -3.389145)', '2026-07-15 14:46:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359598 -3.389167)'), GeomFromEWKT('SRID=4674;POINT (-38.359552 -3.389145)'))) / (select extract(epoch from '2026-07-15 14:46:01'::timestamp) - extract(epoch from '2026-07-15 14:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359598 -3.389167)'), GeomFromEWKT('SRID=4674;POINT (-38.359552 -3.389145)'))) / (select extract(epoch from '2026-07-15 14:46:01'::timestamp) - extract(epoch from '2026-07-15 14:45: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.35948 -3.389118)', '2026-07-15 14:46:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359552 -3.389145)'), GeomFromEWKT('SRID=4674;POINT (-38.35948 -3.389118)'))) / (select extract(epoch from '2026-07-15 14:46:09'::timestamp) - extract(epoch from '2026-07-15 14:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359552 -3.389145)'), GeomFromEWKT('SRID=4674;POINT (-38.35948 -3.389118)'))) / (select extract(epoch from '2026-07-15 14:46:09'::timestamp) - extract(epoch from '2026-07-15 14:46: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.359388 -3.38909)', '2026-07-15 14:46:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35948 -3.389118)'), GeomFromEWKT('SRID=4674;POINT (-38.359388 -3.38909)'))) / (select extract(epoch from '2026-07-15 14:46:18'::timestamp) - extract(epoch from '2026-07-15 14:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35948 -3.389118)'), GeomFromEWKT('SRID=4674;POINT (-38.359388 -3.38909)'))) / (select extract(epoch from '2026-07-15 14:46:18'::timestamp) - extract(epoch from '2026-07-15 14:46: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.359324 -3.389073)', '2026-07-15 14:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359388 -3.38909)'), GeomFromEWKT('SRID=4674;POINT (-38.359324 -3.389073)'))) / (select extract(epoch from '2026-07-15 14:46:25'::timestamp) - extract(epoch from '2026-07-15 14:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359388 -3.38909)'), GeomFromEWKT('SRID=4674;POINT (-38.359324 -3.389073)'))) / (select extract(epoch from '2026-07-15 14:46:25'::timestamp) - extract(epoch from '2026-07-15 14:46: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.359246 -3.389048)', '2026-07-15 14:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359324 -3.389073)'), GeomFromEWKT('SRID=4674;POINT (-38.359246 -3.389048)'))) / (select extract(epoch from '2026-07-15 14:46:32'::timestamp) - extract(epoch from '2026-07-15 14:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359324 -3.389073)'), GeomFromEWKT('SRID=4674;POINT (-38.359246 -3.389048)'))) / (select extract(epoch from '2026-07-15 14:46:32'::timestamp) - extract(epoch from '2026-07-15 14:46: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.359183 -3.389025)', '2026-07-15 14:46:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359246 -3.389048)'), GeomFromEWKT('SRID=4674;POINT (-38.359183 -3.389025)'))) / (select extract(epoch from '2026-07-15 14:46:38'::timestamp) - extract(epoch from '2026-07-15 14:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359246 -3.389048)'), GeomFromEWKT('SRID=4674;POINT (-38.359183 -3.389025)'))) / (select extract(epoch from '2026-07-15 14:46:38'::timestamp) - extract(epoch from '2026-07-15 14:46: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.359087 -3.388987)', '2026-07-15 14:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359183 -3.389025)'), GeomFromEWKT('SRID=4674;POINT (-38.359087 -3.388987)'))) / (select extract(epoch from '2026-07-15 14:46:47'::timestamp) - extract(epoch from '2026-07-15 14:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359183 -3.389025)'), GeomFromEWKT('SRID=4674;POINT (-38.359087 -3.388987)'))) / (select extract(epoch from '2026-07-15 14:46:47'::timestamp) - extract(epoch from '2026-07-15 14:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.359023 -3.388957)', '2026-07-15 14:46:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359087 -3.388987)'), GeomFromEWKT('SRID=4674;POINT (-38.359023 -3.388957)'))) / (select extract(epoch from '2026-07-15 14:46:53'::timestamp) - extract(epoch from '2026-07-15 14:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359087 -3.388987)'), GeomFromEWKT('SRID=4674;POINT (-38.359023 -3.388957)'))) / (select extract(epoch from '2026-07-15 14:46:53'::timestamp) - extract(epoch from '2026-07-15 14:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.358975 -3.388936)', '2026-07-15 14:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359023 -3.388957)'), GeomFromEWKT('SRID=4674;POINT (-38.358975 -3.388936)'))) / (select extract(epoch from '2026-07-15 14:46:57'::timestamp) - extract(epoch from '2026-07-15 14:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359023 -3.388957)'), GeomFromEWKT('SRID=4674;POINT (-38.358975 -3.388936)'))) / (select extract(epoch from '2026-07-15 14:46:57'::timestamp) - extract(epoch from '2026-07-15 14:46: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.358955 -3.388929)', '2026-07-15 14:46:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358975 -3.388936)'), GeomFromEWKT('SRID=4674;POINT (-38.358955 -3.388929)'))) / (select extract(epoch from '2026-07-15 14:46:59'::timestamp) - extract(epoch from '2026-07-15 14:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358975 -3.388936)'), GeomFromEWKT('SRID=4674;POINT (-38.358955 -3.388929)'))) / (select extract(epoch from '2026-07-15 14:46:59'::timestamp) - extract(epoch from '2026-07-15 14:46: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.35888 -3.388921)', '2026-07-15 14:47:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358955 -3.388929)'), GeomFromEWKT('SRID=4674;POINT (-38.35888 -3.388921)'))) / (select extract(epoch from '2026-07-15 14:47:06'::timestamp) - extract(epoch from '2026-07-15 14:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358955 -3.388929)'), GeomFromEWKT('SRID=4674;POINT (-38.35888 -3.388921)'))) / (select extract(epoch from '2026-07-15 14:47:06'::timestamp) - extract(epoch from '2026-07-15 14:46: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.358807 -3.388916)', '2026-07-15 14:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35888 -3.388921)'), GeomFromEWKT('SRID=4674;POINT (-38.358807 -3.388916)'))) / (select extract(epoch from '2026-07-15 14:47:14'::timestamp) - extract(epoch from '2026-07-15 14:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35888 -3.388921)'), GeomFromEWKT('SRID=4674;POINT (-38.358807 -3.388916)'))) / (select extract(epoch from '2026-07-15 14:47:14'::timestamp) - extract(epoch from '2026-07-15 14:47: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.358772 -3.388903)', '2026-07-15 14:47:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358807 -3.388916)'), GeomFromEWKT('SRID=4674;POINT (-38.358772 -3.388903)'))) / (select extract(epoch from '2026-07-15 14:47:18'::timestamp) - extract(epoch from '2026-07-15 14:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358807 -3.388916)'), GeomFromEWKT('SRID=4674;POINT (-38.358772 -3.388903)'))) / (select extract(epoch from '2026-07-15 14:47:18'::timestamp) - extract(epoch from '2026-07-15 14:47: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.358758 -3.388901)', '2026-07-15 14:47:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358772 -3.388903)'), GeomFromEWKT('SRID=4674;POINT (-38.358758 -3.388901)'))) / (select extract(epoch from '2026-07-15 14:47:20'::timestamp) - extract(epoch from '2026-07-15 14:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358772 -3.388903)'), GeomFromEWKT('SRID=4674;POINT (-38.358758 -3.388901)'))) / (select extract(epoch from '2026-07-15 14:47:20'::timestamp) - extract(epoch from '2026-07-15 14:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.358693 -3.388881)', '2026-07-15 14:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358758 -3.388901)'), GeomFromEWKT('SRID=4674;POINT (-38.358693 -3.388881)'))) / (select extract(epoch from '2026-07-15 14:47:27'::timestamp) - extract(epoch from '2026-07-15 14:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358758 -3.388901)'), GeomFromEWKT('SRID=4674;POINT (-38.358693 -3.388881)'))) / (select extract(epoch from '2026-07-15 14:47:27'::timestamp) - extract(epoch from '2026-07-15 14:47: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.3586 -3.388854)', '2026-07-15 14:47:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358693 -3.388881)'), GeomFromEWKT('SRID=4674;POINT (-38.3586 -3.388854)'))) / (select extract(epoch from '2026-07-15 14:47:35'::timestamp) - extract(epoch from '2026-07-15 14:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358693 -3.388881)'), GeomFromEWKT('SRID=4674;POINT (-38.3586 -3.388854)'))) / (select extract(epoch from '2026-07-15 14:47:35'::timestamp) - extract(epoch from '2026-07-15 14:47: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.358553 -3.388833)', '2026-07-15 14:47:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3586 -3.388854)'), GeomFromEWKT('SRID=4674;POINT (-38.358553 -3.388833)'))) / (select extract(epoch from '2026-07-15 14:47:42'::timestamp) - extract(epoch from '2026-07-15 14:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3586 -3.388854)'), GeomFromEWKT('SRID=4674;POINT (-38.358553 -3.388833)'))) / (select extract(epoch from '2026-07-15 14:47:42'::timestamp) - extract(epoch from '2026-07-15 14:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.358459 -3.388791)', '2026-07-15 14:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358553 -3.388833)'), GeomFromEWKT('SRID=4674;POINT (-38.358459 -3.388791)'))) / (select extract(epoch from '2026-07-15 14:47:53'::timestamp) - extract(epoch from '2026-07-15 14:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358553 -3.388833)'), GeomFromEWKT('SRID=4674;POINT (-38.358459 -3.388791)'))) / (select extract(epoch from '2026-07-15 14:47:53'::timestamp) - extract(epoch from '2026-07-15 14:47:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.358392 -3.388781)', '2026-07-15 14:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358459 -3.388791)'), GeomFromEWKT('SRID=4674;POINT (-38.358392 -3.388781)'))) / (select extract(epoch from '2026-07-15 14:48:00'::timestamp) - extract(epoch from '2026-07-15 14:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358459 -3.388791)'), GeomFromEWKT('SRID=4674;POINT (-38.358392 -3.388781)'))) / (select extract(epoch from '2026-07-15 14:48:00'::timestamp) - extract(epoch from '2026-07-15 14:47: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.358299 -3.388771)', '2026-07-15 14:48:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358392 -3.388781)'), GeomFromEWKT('SRID=4674;POINT (-38.358299 -3.388771)'))) / (select extract(epoch from '2026-07-15 14:48:09'::timestamp) - extract(epoch from '2026-07-15 14:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358392 -3.388781)'), GeomFromEWKT('SRID=4674;POINT (-38.358299 -3.388771)'))) / (select extract(epoch from '2026-07-15 14:48:09'::timestamp) - extract(epoch from '2026-07-15 14:48: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.358242 -3.388753)', '2026-07-15 14:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358299 -3.388771)'), GeomFromEWKT('SRID=4674;POINT (-38.358242 -3.388753)'))) / (select extract(epoch from '2026-07-15 14:48:14'::timestamp) - extract(epoch from '2026-07-15 14:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358299 -3.388771)'), GeomFromEWKT('SRID=4674;POINT (-38.358242 -3.388753)'))) / (select extract(epoch from '2026-07-15 14:48:14'::timestamp) - extract(epoch from '2026-07-15 14:48: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.358235 -3.388751)', '2026-07-15 14:48:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358242 -3.388753)'), GeomFromEWKT('SRID=4674;POINT (-38.358235 -3.388751)'))) / (select extract(epoch from '2026-07-15 14:48:15'::timestamp) - extract(epoch from '2026-07-15 14:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358242 -3.388753)'), GeomFromEWKT('SRID=4674;POINT (-38.358235 -3.388751)'))) / (select extract(epoch from '2026-07-15 14:48:15'::timestamp) - extract(epoch from '2026-07-15 14:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.358169 -3.388732)', '2026-07-15 14:48:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358235 -3.388751)'), GeomFromEWKT('SRID=4674;POINT (-38.358169 -3.388732)'))) / (select extract(epoch from '2026-07-15 14:48:20'::timestamp) - extract(epoch from '2026-07-15 14:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358235 -3.388751)'), GeomFromEWKT('SRID=4674;POINT (-38.358169 -3.388732)'))) / (select extract(epoch from '2026-07-15 14:48:20'::timestamp) - extract(epoch from '2026-07-15 14:48: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.358159 -3.388733)', '2026-07-15 14:48:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358169 -3.388732)'), GeomFromEWKT('SRID=4674;POINT (-38.358159 -3.388733)'))) / (select extract(epoch from '2026-07-15 14:48:21'::timestamp) - extract(epoch from '2026-07-15 14:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358169 -3.388732)'), GeomFromEWKT('SRID=4674;POINT (-38.358159 -3.388733)'))) / (select extract(epoch from '2026-07-15 14:48:21'::timestamp) - extract(epoch from '2026-07-15 14:48: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.358046 -3.388728)', '2026-07-15 14:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358159 -3.388733)'), GeomFromEWKT('SRID=4674;POINT (-38.358046 -3.388728)'))) / (select extract(epoch from '2026-07-15 14:48:30'::timestamp) - extract(epoch from '2026-07-15 14:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358159 -3.388733)'), GeomFromEWKT('SRID=4674;POINT (-38.358046 -3.388728)'))) / (select extract(epoch from '2026-07-15 14:48:30'::timestamp) - extract(epoch from '2026-07-15 14:48:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.357995 -3.388717)', '2026-07-15 14:48:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358046 -3.388728)'), GeomFromEWKT('SRID=4674;POINT (-38.357995 -3.388717)'))) / (select extract(epoch from '2026-07-15 14:48:37'::timestamp) - extract(epoch from '2026-07-15 14:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358046 -3.388728)'), GeomFromEWKT('SRID=4674;POINT (-38.357995 -3.388717)'))) / (select extract(epoch from '2026-07-15 14:48:37'::timestamp) - extract(epoch from '2026-07-15 14:48: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.357932 -3.388711)', '2026-07-15 14:48:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357995 -3.388717)'), GeomFromEWKT('SRID=4674;POINT (-38.357932 -3.388711)'))) / (select extract(epoch from '2026-07-15 14:48:46'::timestamp) - extract(epoch from '2026-07-15 14:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357995 -3.388717)'), GeomFromEWKT('SRID=4674;POINT (-38.357932 -3.388711)'))) / (select extract(epoch from '2026-07-15 14:48:46'::timestamp) - extract(epoch from '2026-07-15 14:48: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.357878 -3.388712)', '2026-07-15 14:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357932 -3.388711)'), GeomFromEWKT('SRID=4674;POINT (-38.357878 -3.388712)'))) / (select extract(epoch from '2026-07-15 14:48:54'::timestamp) - extract(epoch from '2026-07-15 14:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357932 -3.388711)'), GeomFromEWKT('SRID=4674;POINT (-38.357878 -3.388712)'))) / (select extract(epoch from '2026-07-15 14:48:54'::timestamp) - extract(epoch from '2026-07-15 14:48: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.357816 -3.388721)', '2026-07-15 14:49:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357878 -3.388712)'), GeomFromEWKT('SRID=4674;POINT (-38.357816 -3.388721)'))) / (select extract(epoch from '2026-07-15 14:49:02'::timestamp) - extract(epoch from '2026-07-15 14:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357878 -3.388712)'), GeomFromEWKT('SRID=4674;POINT (-38.357816 -3.388721)'))) / (select extract(epoch from '2026-07-15 14:49:02'::timestamp) - extract(epoch from '2026-07-15 14:48: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.35774 -3.388722)', '2026-07-15 14:49:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357816 -3.388721)'), GeomFromEWKT('SRID=4674;POINT (-38.35774 -3.388722)'))) / (select extract(epoch from '2026-07-15 14:49:11'::timestamp) - extract(epoch from '2026-07-15 14:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357816 -3.388721)'), GeomFromEWKT('SRID=4674;POINT (-38.35774 -3.388722)'))) / (select extract(epoch from '2026-07-15 14:49:11'::timestamp) - extract(epoch from '2026-07-15 14:49: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.357636 -3.388719)', '2026-07-15 14:49:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35774 -3.388722)'), GeomFromEWKT('SRID=4674;POINT (-38.357636 -3.388719)'))) / (select extract(epoch from '2026-07-15 14:49:20'::timestamp) - extract(epoch from '2026-07-15 14:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35774 -3.388722)'), GeomFromEWKT('SRID=4674;POINT (-38.357636 -3.388719)'))) / (select extract(epoch from '2026-07-15 14:49:20'::timestamp) - extract(epoch from '2026-07-15 14:49: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.357543 -3.388706)', '2026-07-15 14:49:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357636 -3.388719)'), GeomFromEWKT('SRID=4674;POINT (-38.357543 -3.388706)'))) / (select extract(epoch from '2026-07-15 14:49:28'::timestamp) - extract(epoch from '2026-07-15 14:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357636 -3.388719)'), GeomFromEWKT('SRID=4674;POINT (-38.357543 -3.388706)'))) / (select extract(epoch from '2026-07-15 14:49:28'::timestamp) - extract(epoch from '2026-07-15 14:49: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.357456 -3.388687)', '2026-07-15 14:49:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357543 -3.388706)'), GeomFromEWKT('SRID=4674;POINT (-38.357456 -3.388687)'))) / (select extract(epoch from '2026-07-15 14:49:35'::timestamp) - extract(epoch from '2026-07-15 14:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357543 -3.388706)'), GeomFromEWKT('SRID=4674;POINT (-38.357456 -3.388687)'))) / (select extract(epoch from '2026-07-15 14:49:35'::timestamp) - extract(epoch from '2026-07-15 14:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.357396 -3.38867)', '2026-07-15 14:49:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357456 -3.388687)'), GeomFromEWKT('SRID=4674;POINT (-38.357396 -3.38867)'))) / (select extract(epoch from '2026-07-15 14:49:41'::timestamp) - extract(epoch from '2026-07-15 14:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357456 -3.388687)'), GeomFromEWKT('SRID=4674;POINT (-38.357396 -3.38867)'))) / (select extract(epoch from '2026-07-15 14:49:41'::timestamp) - extract(epoch from '2026-07-15 14:49: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.357334 -3.388646)', '2026-07-15 14:49:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357396 -3.38867)'), GeomFromEWKT('SRID=4674;POINT (-38.357334 -3.388646)'))) / (select extract(epoch from '2026-07-15 14:49:48'::timestamp) - extract(epoch from '2026-07-15 14:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357396 -3.38867)'), GeomFromEWKT('SRID=4674;POINT (-38.357334 -3.388646)'))) / (select extract(epoch from '2026-07-15 14:49:48'::timestamp) - extract(epoch from '2026-07-15 14:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.357291 -3.388638)', '2026-07-15 14:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357334 -3.388646)'), GeomFromEWKT('SRID=4674;POINT (-38.357291 -3.388638)'))) / (select extract(epoch from '2026-07-15 14:49:52'::timestamp) - extract(epoch from '2026-07-15 14:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357334 -3.388646)'), GeomFromEWKT('SRID=4674;POINT (-38.357291 -3.388638)'))) / (select extract(epoch from '2026-07-15 14:49:52'::timestamp) - extract(epoch from '2026-07-15 14:49:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.357271 -3.38863)', '2026-07-15 14:49:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357291 -3.388638)'), GeomFromEWKT('SRID=4674;POINT (-38.357271 -3.38863)'))) / (select extract(epoch from '2026-07-15 14:49:54'::timestamp) - extract(epoch from '2026-07-15 14:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357291 -3.388638)'), GeomFromEWKT('SRID=4674;POINT (-38.357271 -3.38863)'))) / (select extract(epoch from '2026-07-15 14:49:54'::timestamp) - extract(epoch from '2026-07-15 14:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.357249 -3.388625)', '2026-07-15 14:49:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357271 -3.38863)'), GeomFromEWKT('SRID=4674;POINT (-38.357249 -3.388625)'))) / (select extract(epoch from '2026-07-15 14:49:56'::timestamp) - extract(epoch from '2026-07-15 14:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357271 -3.38863)'), GeomFromEWKT('SRID=4674;POINT (-38.357249 -3.388625)'))) / (select extract(epoch from '2026-07-15 14:49:56'::timestamp) - extract(epoch from '2026-07-15 14:49: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.35722 -3.38862)', '2026-07-15 14:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357249 -3.388625)'), GeomFromEWKT('SRID=4674;POINT (-38.35722 -3.38862)'))) / (select extract(epoch from '2026-07-15 14:49:59'::timestamp) - extract(epoch from '2026-07-15 14:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357249 -3.388625)'), GeomFromEWKT('SRID=4674;POINT (-38.35722 -3.38862)'))) / (select extract(epoch from '2026-07-15 14:49:59'::timestamp) - extract(epoch from '2026-07-15 14:49: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.357157 -3.388601)', '2026-07-15 14:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35722 -3.38862)'), GeomFromEWKT('SRID=4674;POINT (-38.357157 -3.388601)'))) / (select extract(epoch from '2026-07-15 14:50:05'::timestamp) - extract(epoch from '2026-07-15 14:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35722 -3.38862)'), GeomFromEWKT('SRID=4674;POINT (-38.357157 -3.388601)'))) / (select extract(epoch from '2026-07-15 14:50:05'::timestamp) - extract(epoch from '2026-07-15 14:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.357066 -3.388573)', '2026-07-15 14:50:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357157 -3.388601)'), GeomFromEWKT('SRID=4674;POINT (-38.357066 -3.388573)'))) / (select extract(epoch from '2026-07-15 14:50:13'::timestamp) - extract(epoch from '2026-07-15 14:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357157 -3.388601)'), GeomFromEWKT('SRID=4674;POINT (-38.357066 -3.388573)'))) / (select extract(epoch from '2026-07-15 14:50:13'::timestamp) - extract(epoch from '2026-07-15 14:50: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.357053 -3.388569)', '2026-07-15 14:50:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357066 -3.388573)'), GeomFromEWKT('SRID=4674;POINT (-38.357053 -3.388569)'))) / (select extract(epoch from '2026-07-15 14:50:14'::timestamp) - extract(epoch from '2026-07-15 14:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357066 -3.388573)'), GeomFromEWKT('SRID=4674;POINT (-38.357053 -3.388569)'))) / (select extract(epoch from '2026-07-15 14:50:14'::timestamp) - extract(epoch from '2026-07-15 14:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.357041 -3.388566)', '2026-07-15 14:50:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357053 -3.388569)'), GeomFromEWKT('SRID=4674;POINT (-38.357041 -3.388566)'))) / (select extract(epoch from '2026-07-15 14:50:15'::timestamp) - extract(epoch from '2026-07-15 14:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357053 -3.388569)'), GeomFromEWKT('SRID=4674;POINT (-38.357041 -3.388566)'))) / (select extract(epoch from '2026-07-15 14:50:15'::timestamp) - extract(epoch from '2026-07-15 14:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.356997 -3.388543)', '2026-07-15 14:50:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357041 -3.388566)'), GeomFromEWKT('SRID=4674;POINT (-38.356997 -3.388543)'))) / (select extract(epoch from '2026-07-15 14:50:19'::timestamp) - extract(epoch from '2026-07-15 14:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357041 -3.388566)'), GeomFromEWKT('SRID=4674;POINT (-38.356997 -3.388543)'))) / (select extract(epoch from '2026-07-15 14:50:19'::timestamp) - extract(epoch from '2026-07-15 14:50:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35692 -3.388507)', '2026-07-15 14:50:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356997 -3.388543)'), GeomFromEWKT('SRID=4674;POINT (-38.35692 -3.388507)'))) / (select extract(epoch from '2026-07-15 14:50:26'::timestamp) - extract(epoch from '2026-07-15 14:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356997 -3.388543)'), GeomFromEWKT('SRID=4674;POINT (-38.35692 -3.388507)'))) / (select extract(epoch from '2026-07-15 14:50:26'::timestamp) - extract(epoch from '2026-07-15 14:50: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.356832 -3.38847)', '2026-07-15 14:50:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35692 -3.388507)'), GeomFromEWKT('SRID=4674;POINT (-38.356832 -3.38847)'))) / (select extract(epoch from '2026-07-15 14:50:34'::timestamp) - extract(epoch from '2026-07-15 14:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35692 -3.388507)'), GeomFromEWKT('SRID=4674;POINT (-38.356832 -3.38847)'))) / (select extract(epoch from '2026-07-15 14:50:34'::timestamp) - extract(epoch from '2026-07-15 14:50: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.356746 -3.388441)', '2026-07-15 14:50:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356832 -3.38847)'), GeomFromEWKT('SRID=4674;POINT (-38.356746 -3.388441)'))) / (select extract(epoch from '2026-07-15 14:50:42'::timestamp) - extract(epoch from '2026-07-15 14:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356832 -3.38847)'), GeomFromEWKT('SRID=4674;POINT (-38.356746 -3.388441)'))) / (select extract(epoch from '2026-07-15 14:50:42'::timestamp) - extract(epoch from '2026-07-15 14:50:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.356698 -3.388421)', '2026-07-15 14:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356746 -3.388441)'), GeomFromEWKT('SRID=4674;POINT (-38.356698 -3.388421)'))) / (select extract(epoch from '2026-07-15 14:50:47'::timestamp) - extract(epoch from '2026-07-15 14:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356746 -3.388441)'), GeomFromEWKT('SRID=4674;POINT (-38.356698 -3.388421)'))) / (select extract(epoch from '2026-07-15 14:50:47'::timestamp) - extract(epoch from '2026-07-15 14:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.356647 -3.388401)', '2026-07-15 14:50:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356698 -3.388421)'), GeomFromEWKT('SRID=4674;POINT (-38.356647 -3.388401)'))) / (select extract(epoch from '2026-07-15 14:50:52'::timestamp) - extract(epoch from '2026-07-15 14:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356698 -3.388421)'), GeomFromEWKT('SRID=4674;POINT (-38.356647 -3.388401)'))) / (select extract(epoch from '2026-07-15 14:50:52'::timestamp) - extract(epoch from '2026-07-15 14:50: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.35664 -3.388396)', '2026-07-15 14:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356647 -3.388401)'), GeomFromEWKT('SRID=4674;POINT (-38.35664 -3.388396)'))) / (select extract(epoch from '2026-07-15 14:50:53'::timestamp) - extract(epoch from '2026-07-15 14:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356647 -3.388401)'), GeomFromEWKT('SRID=4674;POINT (-38.35664 -3.388396)'))) / (select extract(epoch from '2026-07-15 14:50:53'::timestamp) - extract(epoch from '2026-07-15 14:50: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.356588 -3.388383)', '2026-07-15 14:50:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35664 -3.388396)'), GeomFromEWKT('SRID=4674;POINT (-38.356588 -3.388383)'))) / (select extract(epoch from '2026-07-15 14:50:59'::timestamp) - extract(epoch from '2026-07-15 14:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35664 -3.388396)'), GeomFromEWKT('SRID=4674;POINT (-38.356588 -3.388383)'))) / (select extract(epoch from '2026-07-15 14:50:59'::timestamp) - extract(epoch from '2026-07-15 14:50: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.356534 -3.388372)', '2026-07-15 14:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356588 -3.388383)'), GeomFromEWKT('SRID=4674;POINT (-38.356534 -3.388372)'))) / (select extract(epoch from '2026-07-15 14:51:06'::timestamp) - extract(epoch from '2026-07-15 14:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356588 -3.388383)'), GeomFromEWKT('SRID=4674;POINT (-38.356534 -3.388372)'))) / (select extract(epoch from '2026-07-15 14:51:06'::timestamp) - extract(epoch from '2026-07-15 14:50: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.356463 -3.388356)', '2026-07-15 14:51:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356534 -3.388372)'), GeomFromEWKT('SRID=4674;POINT (-38.356463 -3.388356)'))) / (select extract(epoch from '2026-07-15 14:51:14'::timestamp) - extract(epoch from '2026-07-15 14:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356534 -3.388372)'), GeomFromEWKT('SRID=4674;POINT (-38.356463 -3.388356)'))) / (select extract(epoch from '2026-07-15 14:51:14'::timestamp) - extract(epoch from '2026-07-15 14:51: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.356395 -3.388342)', '2026-07-15 14:51:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356463 -3.388356)'), GeomFromEWKT('SRID=4674;POINT (-38.356395 -3.388342)'))) / (select extract(epoch from '2026-07-15 14:51:21'::timestamp) - extract(epoch from '2026-07-15 14:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356463 -3.388356)'), GeomFromEWKT('SRID=4674;POINT (-38.356395 -3.388342)'))) / (select extract(epoch from '2026-07-15 14:51:21'::timestamp) - extract(epoch from '2026-07-15 14:51: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.356339 -3.388323)', '2026-07-15 14:51:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356395 -3.388342)'), GeomFromEWKT('SRID=4674;POINT (-38.356339 -3.388323)'))) / (select extract(epoch from '2026-07-15 14:51:27'::timestamp) - extract(epoch from '2026-07-15 14:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356395 -3.388342)'), GeomFromEWKT('SRID=4674;POINT (-38.356339 -3.388323)'))) / (select extract(epoch from '2026-07-15 14:51:27'::timestamp) - extract(epoch from '2026-07-15 14:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35627 -3.388311)', '2026-07-15 14:51:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356339 -3.388323)'), GeomFromEWKT('SRID=4674;POINT (-38.35627 -3.388311)'))) / (select extract(epoch from '2026-07-15 14:51:35'::timestamp) - extract(epoch from '2026-07-15 14:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356339 -3.388323)'), GeomFromEWKT('SRID=4674;POINT (-38.35627 -3.388311)'))) / (select extract(epoch from '2026-07-15 14:51:35'::timestamp) - extract(epoch from '2026-07-15 14:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.356201 -3.388283)', '2026-07-15 14:51:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35627 -3.388311)'), GeomFromEWKT('SRID=4674;POINT (-38.356201 -3.388283)'))) / (select extract(epoch from '2026-07-15 14:51:44'::timestamp) - extract(epoch from '2026-07-15 14:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35627 -3.388311)'), GeomFromEWKT('SRID=4674;POINT (-38.356201 -3.388283)'))) / (select extract(epoch from '2026-07-15 14:51:44'::timestamp) - extract(epoch from '2026-07-15 14:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.356159 -3.38827)', '2026-07-15 14:51:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356201 -3.388283)'), GeomFromEWKT('SRID=4674;POINT (-38.356159 -3.38827)'))) / (select extract(epoch from '2026-07-15 14:51:52'::timestamp) - extract(epoch from '2026-07-15 14:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356201 -3.388283)'), GeomFromEWKT('SRID=4674;POINT (-38.356159 -3.38827)'))) / (select extract(epoch from '2026-07-15 14:51:52'::timestamp) - extract(epoch from '2026-07-15 14:51: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.356095 -3.388244)', '2026-07-15 14:52:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356159 -3.38827)'), GeomFromEWKT('SRID=4674;POINT (-38.356095 -3.388244)'))) / (select extract(epoch from '2026-07-15 14:52:00'::timestamp) - extract(epoch from '2026-07-15 14:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356159 -3.38827)'), GeomFromEWKT('SRID=4674;POINT (-38.356095 -3.388244)'))) / (select extract(epoch from '2026-07-15 14:52:00'::timestamp) - extract(epoch from '2026-07-15 14:51: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.356006 -3.388208)', '2026-07-15 14:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356095 -3.388244)'), GeomFromEWKT('SRID=4674;POINT (-38.356006 -3.388208)'))) / (select extract(epoch from '2026-07-15 14:52:09'::timestamp) - extract(epoch from '2026-07-15 14:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356095 -3.388244)'), GeomFromEWKT('SRID=4674;POINT (-38.356006 -3.388208)'))) / (select extract(epoch from '2026-07-15 14:52:09'::timestamp) - extract(epoch from '2026-07-15 14:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.355934 -3.388181)', '2026-07-15 14:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356006 -3.388208)'), GeomFromEWKT('SRID=4674;POINT (-38.355934 -3.388181)'))) / (select extract(epoch from '2026-07-15 14:52:16'::timestamp) - extract(epoch from '2026-07-15 14:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356006 -3.388208)'), GeomFromEWKT('SRID=4674;POINT (-38.355934 -3.388181)'))) / (select extract(epoch from '2026-07-15 14:52:16'::timestamp) - extract(epoch from '2026-07-15 14:52: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.355842 -3.388146)', '2026-07-15 14:52:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355934 -3.388181)'), GeomFromEWKT('SRID=4674;POINT (-38.355842 -3.388146)'))) / (select extract(epoch from '2026-07-15 14:52:24'::timestamp) - extract(epoch from '2026-07-15 14:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355934 -3.388181)'), GeomFromEWKT('SRID=4674;POINT (-38.355842 -3.388146)'))) / (select extract(epoch from '2026-07-15 14:52:24'::timestamp) - extract(epoch from '2026-07-15 14:52: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.355756 -3.388108)', '2026-07-15 14:52:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355842 -3.388146)'), GeomFromEWKT('SRID=4674;POINT (-38.355756 -3.388108)'))) / (select extract(epoch from '2026-07-15 14:52:32'::timestamp) - extract(epoch from '2026-07-15 14:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355842 -3.388146)'), GeomFromEWKT('SRID=4674;POINT (-38.355756 -3.388108)'))) / (select extract(epoch from '2026-07-15 14:52:32'::timestamp) - extract(epoch from '2026-07-15 14:52: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.355703 -3.388081)', '2026-07-15 14:52:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355756 -3.388108)'), GeomFromEWKT('SRID=4674;POINT (-38.355703 -3.388081)'))) / (select extract(epoch from '2026-07-15 14:52:38'::timestamp) - extract(epoch from '2026-07-15 14:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355756 -3.388108)'), GeomFromEWKT('SRID=4674;POINT (-38.355703 -3.388081)'))) / (select extract(epoch from '2026-07-15 14:52:38'::timestamp) - extract(epoch from '2026-07-15 14:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.355692 -3.388072)', '2026-07-15 14:52:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355703 -3.388081)'), GeomFromEWKT('SRID=4674;POINT (-38.355692 -3.388072)'))) / (select extract(epoch from '2026-07-15 14:52:40'::timestamp) - extract(epoch from '2026-07-15 14:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355703 -3.388081)'), GeomFromEWKT('SRID=4674;POINT (-38.355692 -3.388072)'))) / (select extract(epoch from '2026-07-15 14:52:40'::timestamp) - extract(epoch from '2026-07-15 14:52:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.355653 -3.388032)', '2026-07-15 14:52:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355692 -3.388072)'), GeomFromEWKT('SRID=4674;POINT (-38.355653 -3.388032)'))) / (select extract(epoch from '2026-07-15 14:52:48'::timestamp) - extract(epoch from '2026-07-15 14:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355692 -3.388072)'), GeomFromEWKT('SRID=4674;POINT (-38.355653 -3.388032)'))) / (select extract(epoch from '2026-07-15 14:52:48'::timestamp) - extract(epoch from '2026-07-15 14:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.355645 -3.388026)', '2026-07-15 14:52:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355653 -3.388032)'), GeomFromEWKT('SRID=4674;POINT (-38.355645 -3.388026)'))) / (select extract(epoch from '2026-07-15 14:52:49'::timestamp) - extract(epoch from '2026-07-15 14:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355653 -3.388032)'), GeomFromEWKT('SRID=4674;POINT (-38.355645 -3.388026)'))) / (select extract(epoch from '2026-07-15 14:52:49'::timestamp) - extract(epoch from '2026-07-15 14:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.3556 -3.387975)', '2026-07-15 14:52:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355645 -3.388026)'), GeomFromEWKT('SRID=4674;POINT (-38.3556 -3.387975)'))) / (select extract(epoch from '2026-07-15 14:52:56'::timestamp) - extract(epoch from '2026-07-15 14:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355645 -3.388026)'), GeomFromEWKT('SRID=4674;POINT (-38.3556 -3.387975)'))) / (select extract(epoch from '2026-07-15 14:52:56'::timestamp) - extract(epoch from '2026-07-15 14:52: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.355549 -3.387928)', '2026-07-15 14:53:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3556 -3.387975)'), GeomFromEWKT('SRID=4674;POINT (-38.355549 -3.387928)'))) / (select extract(epoch from '2026-07-15 14:53:03'::timestamp) - extract(epoch from '2026-07-15 14:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3556 -3.387975)'), GeomFromEWKT('SRID=4674;POINT (-38.355549 -3.387928)'))) / (select extract(epoch from '2026-07-15 14:53:03'::timestamp) - extract(epoch from '2026-07-15 14:52:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.355481 -3.387871)', '2026-07-15 14:53:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355549 -3.387928)'), GeomFromEWKT('SRID=4674;POINT (-38.355481 -3.387871)'))) / (select extract(epoch from '2026-07-15 14:53:12'::timestamp) - extract(epoch from '2026-07-15 14:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355549 -3.387928)'), GeomFromEWKT('SRID=4674;POINT (-38.355481 -3.387871)'))) / (select extract(epoch from '2026-07-15 14:53:12'::timestamp) - extract(epoch from '2026-07-15 14:53: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.355419 -3.38783)', '2026-07-15 14:53:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355481 -3.387871)'), GeomFromEWKT('SRID=4674;POINT (-38.355419 -3.38783)'))) / (select extract(epoch from '2026-07-15 14:53:19'::timestamp) - extract(epoch from '2026-07-15 14:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355481 -3.387871)'), GeomFromEWKT('SRID=4674;POINT (-38.355419 -3.38783)'))) / (select extract(epoch from '2026-07-15 14:53:19'::timestamp) - extract(epoch from '2026-07-15 14:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.355355 -3.387799)', '2026-07-15 14:53:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355419 -3.38783)'), GeomFromEWKT('SRID=4674;POINT (-38.355355 -3.387799)'))) / (select extract(epoch from '2026-07-15 14:53:26'::timestamp) - extract(epoch from '2026-07-15 14:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355419 -3.38783)'), GeomFromEWKT('SRID=4674;POINT (-38.355355 -3.387799)'))) / (select extract(epoch from '2026-07-15 14:53:26'::timestamp) - extract(epoch from '2026-07-15 14:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.355275 -3.387767)', '2026-07-15 14:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355355 -3.387799)'), GeomFromEWKT('SRID=4674;POINT (-38.355275 -3.387767)'))) / (select extract(epoch from '2026-07-15 14:53:33'::timestamp) - extract(epoch from '2026-07-15 14:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355355 -3.387799)'), GeomFromEWKT('SRID=4674;POINT (-38.355275 -3.387767)'))) / (select extract(epoch from '2026-07-15 14:53:33'::timestamp) - extract(epoch from '2026-07-15 14:53: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.355194 -3.387746)', '2026-07-15 14:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355275 -3.387767)'), GeomFromEWKT('SRID=4674;POINT (-38.355194 -3.387746)'))) / (select extract(epoch from '2026-07-15 14:53:40'::timestamp) - extract(epoch from '2026-07-15 14:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355275 -3.387767)'), GeomFromEWKT('SRID=4674;POINT (-38.355194 -3.387746)'))) / (select extract(epoch from '2026-07-15 14:53:40'::timestamp) - extract(epoch from '2026-07-15 14:53:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35512 -3.387727)', '2026-07-15 14:53:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355194 -3.387746)'), GeomFromEWKT('SRID=4674;POINT (-38.35512 -3.387727)'))) / (select extract(epoch from '2026-07-15 14:53:48'::timestamp) - extract(epoch from '2026-07-15 14:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355194 -3.387746)'), GeomFromEWKT('SRID=4674;POINT (-38.35512 -3.387727)'))) / (select extract(epoch from '2026-07-15 14:53:48'::timestamp) - extract(epoch from '2026-07-15 14:53:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.355052 -3.38771)', '2026-07-15 14:53:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35512 -3.387727)'), GeomFromEWKT('SRID=4674;POINT (-38.355052 -3.38771)'))) / (select extract(epoch from '2026-07-15 14:53:55'::timestamp) - extract(epoch from '2026-07-15 14:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35512 -3.387727)'), GeomFromEWKT('SRID=4674;POINT (-38.355052 -3.38771)'))) / (select extract(epoch from '2026-07-15 14:53:55'::timestamp) - extract(epoch from '2026-07-15 14:53: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.354973 -3.387679)', '2026-07-15 14:54:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355052 -3.38771)'), GeomFromEWKT('SRID=4674;POINT (-38.354973 -3.387679)'))) / (select extract(epoch from '2026-07-15 14:54:03'::timestamp) - extract(epoch from '2026-07-15 14:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.355052 -3.38771)'), GeomFromEWKT('SRID=4674;POINT (-38.354973 -3.387679)'))) / (select extract(epoch from '2026-07-15 14:54:03'::timestamp) - extract(epoch from '2026-07-15 14:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.354887 -3.387655)', '2026-07-15 14:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354973 -3.387679)'), GeomFromEWKT('SRID=4674;POINT (-38.354887 -3.387655)'))) / (select extract(epoch from '2026-07-15 14:54:11'::timestamp) - extract(epoch from '2026-07-15 14:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354973 -3.387679)'), GeomFromEWKT('SRID=4674;POINT (-38.354887 -3.387655)'))) / (select extract(epoch from '2026-07-15 14:54:11'::timestamp) - extract(epoch from '2026-07-15 14:54: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.354818 -3.387635)', '2026-07-15 14:54:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354887 -3.387655)'), GeomFromEWKT('SRID=4674;POINT (-38.354818 -3.387635)'))) / (select extract(epoch from '2026-07-15 14:54:17'::timestamp) - extract(epoch from '2026-07-15 14:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354887 -3.387655)'), GeomFromEWKT('SRID=4674;POINT (-38.354818 -3.387635)'))) / (select extract(epoch from '2026-07-15 14:54:17'::timestamp) - extract(epoch from '2026-07-15 14:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.354806 -3.387631)', '2026-07-15 14:54:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354818 -3.387635)'), GeomFromEWKT('SRID=4674;POINT (-38.354806 -3.387631)'))) / (select extract(epoch from '2026-07-15 14:54:18'::timestamp) - extract(epoch from '2026-07-15 14:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354818 -3.387635)'), GeomFromEWKT('SRID=4674;POINT (-38.354806 -3.387631)'))) / (select extract(epoch from '2026-07-15 14:54:18'::timestamp) - extract(epoch from '2026-07-15 14:54:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.354729 -3.387603)', '2026-07-15 14:54:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354806 -3.387631)'), GeomFromEWKT('SRID=4674;POINT (-38.354729 -3.387603)'))) / (select extract(epoch from '2026-07-15 14:54:26'::timestamp) - extract(epoch from '2026-07-15 14:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354806 -3.387631)'), GeomFromEWKT('SRID=4674;POINT (-38.354729 -3.387603)'))) / (select extract(epoch from '2026-07-15 14:54:26'::timestamp) - extract(epoch from '2026-07-15 14:54: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.35465 -3.387583)', '2026-07-15 14:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354729 -3.387603)'), GeomFromEWKT('SRID=4674;POINT (-38.35465 -3.387583)'))) / (select extract(epoch from '2026-07-15 14:54:33'::timestamp) - extract(epoch from '2026-07-15 14:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354729 -3.387603)'), GeomFromEWKT('SRID=4674;POINT (-38.35465 -3.387583)'))) / (select extract(epoch from '2026-07-15 14:54:33'::timestamp) - extract(epoch from '2026-07-15 14:54:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.354633 -3.387577)', '2026-07-15 14:54:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35465 -3.387583)'), GeomFromEWKT('SRID=4674;POINT (-38.354633 -3.387577)'))) / (select extract(epoch from '2026-07-15 14:54:35'::timestamp) - extract(epoch from '2026-07-15 14:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35465 -3.387583)'), GeomFromEWKT('SRID=4674;POINT (-38.354633 -3.387577)'))) / (select extract(epoch from '2026-07-15 14:54:35'::timestamp) - extract(epoch from '2026-07-15 14:54: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.354564 -3.387555)', '2026-07-15 14:54:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354633 -3.387577)'), GeomFromEWKT('SRID=4674;POINT (-38.354564 -3.387555)'))) / (select extract(epoch from '2026-07-15 14:54:43'::timestamp) - extract(epoch from '2026-07-15 14:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354633 -3.387577)'), GeomFromEWKT('SRID=4674;POINT (-38.354564 -3.387555)'))) / (select extract(epoch from '2026-07-15 14:54:43'::timestamp) - extract(epoch from '2026-07-15 14:54:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.354498 -3.38753)', '2026-07-15 14:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354564 -3.387555)'), GeomFromEWKT('SRID=4674;POINT (-38.354498 -3.38753)'))) / (select extract(epoch from '2026-07-15 14:54:50'::timestamp) - extract(epoch from '2026-07-15 14:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354564 -3.387555)'), GeomFromEWKT('SRID=4674;POINT (-38.354498 -3.38753)'))) / (select extract(epoch from '2026-07-15 14:54:50'::timestamp) - extract(epoch from '2026-07-15 14:54: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.354442 -3.387519)', '2026-07-15 14:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354498 -3.38753)'), GeomFromEWKT('SRID=4674;POINT (-38.354442 -3.387519)'))) / (select extract(epoch from '2026-07-15 14:54:56'::timestamp) - extract(epoch from '2026-07-15 14:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354498 -3.38753)'), GeomFromEWKT('SRID=4674;POINT (-38.354442 -3.387519)'))) / (select extract(epoch from '2026-07-15 14:54:56'::timestamp) - extract(epoch from '2026-07-15 14:54: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.354373 -3.387485)', '2026-07-15 14:55:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354442 -3.387519)'), GeomFromEWKT('SRID=4674;POINT (-38.354373 -3.387485)'))) / (select extract(epoch from '2026-07-15 14:55:03'::timestamp) - extract(epoch from '2026-07-15 14:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354442 -3.387519)'), GeomFromEWKT('SRID=4674;POINT (-38.354373 -3.387485)'))) / (select extract(epoch from '2026-07-15 14:55:03'::timestamp) - extract(epoch from '2026-07-15 14:54: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.354364 -3.38748)', '2026-07-15 14:55:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354373 -3.387485)'), GeomFromEWKT('SRID=4674;POINT (-38.354364 -3.38748)'))) / (select extract(epoch from '2026-07-15 14:55:04'::timestamp) - extract(epoch from '2026-07-15 14:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354373 -3.387485)'), GeomFromEWKT('SRID=4674;POINT (-38.354364 -3.38748)'))) / (select extract(epoch from '2026-07-15 14:55:04'::timestamp) - extract(epoch from '2026-07-15 14:55: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.354327 -3.387459)', '2026-07-15 14:55:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354364 -3.38748)'), GeomFromEWKT('SRID=4674;POINT (-38.354327 -3.387459)'))) / (select extract(epoch from '2026-07-15 14:55:09'::timestamp) - extract(epoch from '2026-07-15 14:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354364 -3.38748)'), GeomFromEWKT('SRID=4674;POINT (-38.354327 -3.387459)'))) / (select extract(epoch from '2026-07-15 14:55:09'::timestamp) - extract(epoch from '2026-07-15 14:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35427 -3.387434)', '2026-07-15 14:55:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354327 -3.387459)'), GeomFromEWKT('SRID=4674;POINT (-38.35427 -3.387434)'))) / (select extract(epoch from '2026-07-15 14:55:15'::timestamp) - extract(epoch from '2026-07-15 14:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354327 -3.387459)'), GeomFromEWKT('SRID=4674;POINT (-38.35427 -3.387434)'))) / (select extract(epoch from '2026-07-15 14:55:15'::timestamp) - extract(epoch from '2026-07-15 14:55: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.354232 -3.387414)', '2026-07-15 14:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35427 -3.387434)'), GeomFromEWKT('SRID=4674;POINT (-38.354232 -3.387414)'))) / (select extract(epoch from '2026-07-15 14:55:19'::timestamp) - extract(epoch from '2026-07-15 14:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35427 -3.387434)'), GeomFromEWKT('SRID=4674;POINT (-38.354232 -3.387414)'))) / (select extract(epoch from '2026-07-15 14:55:19'::timestamp) - extract(epoch from '2026-07-15 14:55: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.354213 -3.387403)', '2026-07-15 14:55:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354232 -3.387414)'), GeomFromEWKT('SRID=4674;POINT (-38.354213 -3.387403)'))) / (select extract(epoch from '2026-07-15 14:55:21'::timestamp) - extract(epoch from '2026-07-15 14:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354232 -3.387414)'), GeomFromEWKT('SRID=4674;POINT (-38.354213 -3.387403)'))) / (select extract(epoch from '2026-07-15 14:55:21'::timestamp) - extract(epoch from '2026-07-15 14:55: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.354177 -3.38739)', '2026-07-15 14:55:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354213 -3.387403)'), GeomFromEWKT('SRID=4674;POINT (-38.354177 -3.38739)'))) / (select extract(epoch from '2026-07-15 14:55:25'::timestamp) - extract(epoch from '2026-07-15 14:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354213 -3.387403)'), GeomFromEWKT('SRID=4674;POINT (-38.354177 -3.38739)'))) / (select extract(epoch from '2026-07-15 14:55:25'::timestamp) - extract(epoch from '2026-07-15 14:55: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.354153 -3.387377)', '2026-07-15 14:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354177 -3.38739)'), GeomFromEWKT('SRID=4674;POINT (-38.354153 -3.387377)'))) / (select extract(epoch from '2026-07-15 14:55:28'::timestamp) - extract(epoch from '2026-07-15 14:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354177 -3.38739)'), GeomFromEWKT('SRID=4674;POINT (-38.354153 -3.387377)'))) / (select extract(epoch from '2026-07-15 14:55:28'::timestamp) - extract(epoch from '2026-07-15 14:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.354097 -3.38736)', '2026-07-15 14:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354153 -3.387377)'), GeomFromEWKT('SRID=4674;POINT (-38.354097 -3.38736)'))) / (select extract(epoch from '2026-07-15 14:55:34'::timestamp) - extract(epoch from '2026-07-15 14:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354153 -3.387377)'), GeomFromEWKT('SRID=4674;POINT (-38.354097 -3.38736)'))) / (select extract(epoch from '2026-07-15 14:55:34'::timestamp) - extract(epoch from '2026-07-15 14:55: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.354045 -3.387328)', '2026-07-15 14:55:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354097 -3.38736)'), GeomFromEWKT('SRID=4674;POINT (-38.354045 -3.387328)'))) / (select extract(epoch from '2026-07-15 14:55:40'::timestamp) - extract(epoch from '2026-07-15 14:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354097 -3.38736)'), GeomFromEWKT('SRID=4674;POINT (-38.354045 -3.387328)'))) / (select extract(epoch from '2026-07-15 14:55:40'::timestamp) - extract(epoch from '2026-07-15 14:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.353996 -3.387283)', '2026-07-15 14:55:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354045 -3.387328)'), GeomFromEWKT('SRID=4674;POINT (-38.353996 -3.387283)'))) / (select extract(epoch from '2026-07-15 14:55:47'::timestamp) - extract(epoch from '2026-07-15 14:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.354045 -3.387328)'), GeomFromEWKT('SRID=4674;POINT (-38.353996 -3.387283)'))) / (select extract(epoch from '2026-07-15 14:55:47'::timestamp) - extract(epoch from '2026-07-15 14:55:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.353935 -3.387237)', '2026-07-15 14:55:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353996 -3.387283)'), GeomFromEWKT('SRID=4674;POINT (-38.353935 -3.387237)'))) / (select extract(epoch from '2026-07-15 14:55:54'::timestamp) - extract(epoch from '2026-07-15 14:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353996 -3.387283)'), GeomFromEWKT('SRID=4674;POINT (-38.353935 -3.387237)'))) / (select extract(epoch from '2026-07-15 14:55:54'::timestamp) - extract(epoch from '2026-07-15 14:55: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.353927 -3.387231)', '2026-07-15 14:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353935 -3.387237)'), GeomFromEWKT('SRID=4674;POINT (-38.353927 -3.387231)'))) / (select extract(epoch from '2026-07-15 14:55:55'::timestamp) - extract(epoch from '2026-07-15 14:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353935 -3.387237)'), GeomFromEWKT('SRID=4674;POINT (-38.353927 -3.387231)'))) / (select extract(epoch from '2026-07-15 14:55:55'::timestamp) - extract(epoch from '2026-07-15 14:55: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.35389 -3.387217)', '2026-07-15 14:56:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353927 -3.387231)'), GeomFromEWKT('SRID=4674;POINT (-38.35389 -3.387217)'))) / (select extract(epoch from '2026-07-15 14:56:00'::timestamp) - extract(epoch from '2026-07-15 14:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353927 -3.387231)'), GeomFromEWKT('SRID=4674;POINT (-38.35389 -3.387217)'))) / (select extract(epoch from '2026-07-15 14:56:00'::timestamp) - extract(epoch from '2026-07-15 14:55: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.353859 -3.387206)', '2026-07-15 14:56:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35389 -3.387217)'), GeomFromEWKT('SRID=4674;POINT (-38.353859 -3.387206)'))) / (select extract(epoch from '2026-07-15 14:56:05'::timestamp) - extract(epoch from '2026-07-15 14:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35389 -3.387217)'), GeomFromEWKT('SRID=4674;POINT (-38.353859 -3.387206)'))) / (select extract(epoch from '2026-07-15 14:56:05'::timestamp) - extract(epoch from '2026-07-15 14:56: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.35378 -3.387155)', '2026-07-15 14:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353859 -3.387206)'), GeomFromEWKT('SRID=4674;POINT (-38.35378 -3.387155)'))) / (select extract(epoch from '2026-07-15 14:56:16'::timestamp) - extract(epoch from '2026-07-15 14:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353859 -3.387206)'), GeomFromEWKT('SRID=4674;POINT (-38.35378 -3.387155)'))) / (select extract(epoch from '2026-07-15 14:56:16'::timestamp) - extract(epoch from '2026-07-15 14:56: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.353699 -3.3871)', '2026-07-15 14:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35378 -3.387155)'), GeomFromEWKT('SRID=4674;POINT (-38.353699 -3.3871)'))) / (select extract(epoch from '2026-07-15 14:56:26'::timestamp) - extract(epoch from '2026-07-15 14:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35378 -3.387155)'), GeomFromEWKT('SRID=4674;POINT (-38.353699 -3.3871)'))) / (select extract(epoch from '2026-07-15 14:56:26'::timestamp) - extract(epoch from '2026-07-15 14:56: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.35364 -3.387068)', '2026-07-15 14:56:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353699 -3.3871)'), GeomFromEWKT('SRID=4674;POINT (-38.35364 -3.387068)'))) / (select extract(epoch from '2026-07-15 14:56:33'::timestamp) - extract(epoch from '2026-07-15 14:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353699 -3.3871)'), GeomFromEWKT('SRID=4674;POINT (-38.35364 -3.387068)'))) / (select extract(epoch from '2026-07-15 14:56:33'::timestamp) - extract(epoch from '2026-07-15 14:56: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.353562 -3.387049)', '2026-07-15 14:56:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35364 -3.387068)'), GeomFromEWKT('SRID=4674;POINT (-38.353562 -3.387049)'))) / (select extract(epoch from '2026-07-15 14:56:40'::timestamp) - extract(epoch from '2026-07-15 14:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35364 -3.387068)'), GeomFromEWKT('SRID=4674;POINT (-38.353562 -3.387049)'))) / (select extract(epoch from '2026-07-15 14:56:40'::timestamp) - extract(epoch from '2026-07-15 14:56: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.353481 -3.387023)', '2026-07-15 14:56:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353562 -3.387049)'), GeomFromEWKT('SRID=4674;POINT (-38.353481 -3.387023)'))) / (select extract(epoch from '2026-07-15 14:56:47'::timestamp) - extract(epoch from '2026-07-15 14:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353562 -3.387049)'), GeomFromEWKT('SRID=4674;POINT (-38.353481 -3.387023)'))) / (select extract(epoch from '2026-07-15 14:56:47'::timestamp) - extract(epoch from '2026-07-15 14:56: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.353385 -3.38699)', '2026-07-15 14:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353481 -3.387023)'), GeomFromEWKT('SRID=4674;POINT (-38.353385 -3.38699)'))) / (select extract(epoch from '2026-07-15 14:56:55'::timestamp) - extract(epoch from '2026-07-15 14:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353481 -3.387023)'), GeomFromEWKT('SRID=4674;POINT (-38.353385 -3.38699)'))) / (select extract(epoch from '2026-07-15 14:56:55'::timestamp) - extract(epoch from '2026-07-15 14:56: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.353322 -3.386958)', '2026-07-15 14:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353385 -3.38699)'), GeomFromEWKT('SRID=4674;POINT (-38.353322 -3.386958)'))) / (select extract(epoch from '2026-07-15 14:57:01'::timestamp) - extract(epoch from '2026-07-15 14:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353385 -3.38699)'), GeomFromEWKT('SRID=4674;POINT (-38.353322 -3.386958)'))) / (select extract(epoch from '2026-07-15 14:57:01'::timestamp) - extract(epoch from '2026-07-15 14:56: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.353241 -3.386906)', '2026-07-15 14:57:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353322 -3.386958)'), GeomFromEWKT('SRID=4674;POINT (-38.353241 -3.386906)'))) / (select extract(epoch from '2026-07-15 14:57:09'::timestamp) - extract(epoch from '2026-07-15 14:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353322 -3.386958)'), GeomFromEWKT('SRID=4674;POINT (-38.353241 -3.386906)'))) / (select extract(epoch from '2026-07-15 14:57:09'::timestamp) - extract(epoch from '2026-07-15 14:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.353171 -3.386879)', '2026-07-15 14:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353241 -3.386906)'), GeomFromEWKT('SRID=4674;POINT (-38.353171 -3.386879)'))) / (select extract(epoch from '2026-07-15 14:57:17'::timestamp) - extract(epoch from '2026-07-15 14:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353241 -3.386906)'), GeomFromEWKT('SRID=4674;POINT (-38.353171 -3.386879)'))) / (select extract(epoch from '2026-07-15 14:57:17'::timestamp) - extract(epoch from '2026-07-15 14:57: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.353094 -3.386856)', '2026-07-15 14:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353171 -3.386879)'), GeomFromEWKT('SRID=4674;POINT (-38.353094 -3.386856)'))) / (select extract(epoch from '2026-07-15 14:57:27'::timestamp) - extract(epoch from '2026-07-15 14:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353171 -3.386879)'), GeomFromEWKT('SRID=4674;POINT (-38.353094 -3.386856)'))) / (select extract(epoch from '2026-07-15 14:57:27'::timestamp) - extract(epoch from '2026-07-15 14:57:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.353021 -3.386844)', '2026-07-15 14:57:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353094 -3.386856)'), GeomFromEWKT('SRID=4674;POINT (-38.353021 -3.386844)'))) / (select extract(epoch from '2026-07-15 14:57:35'::timestamp) - extract(epoch from '2026-07-15 14:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353094 -3.386856)'), GeomFromEWKT('SRID=4674;POINT (-38.353021 -3.386844)'))) / (select extract(epoch from '2026-07-15 14:57:35'::timestamp) - extract(epoch from '2026-07-15 14:57: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.35293 -3.386821)', '2026-07-15 14:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353021 -3.386844)'), GeomFromEWKT('SRID=4674;POINT (-38.35293 -3.386821)'))) / (select extract(epoch from '2026-07-15 14:57:44'::timestamp) - extract(epoch from '2026-07-15 14:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.353021 -3.386844)'), GeomFromEWKT('SRID=4674;POINT (-38.35293 -3.386821)'))) / (select extract(epoch from '2026-07-15 14:57:44'::timestamp) - extract(epoch from '2026-07-15 14:57: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.35287 -3.38678)', '2026-07-15 14:57:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35293 -3.386821)'), GeomFromEWKT('SRID=4674;POINT (-38.35287 -3.38678)'))) / (select extract(epoch from '2026-07-15 14:57:51'::timestamp) - extract(epoch from '2026-07-15 14:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35293 -3.386821)'), GeomFromEWKT('SRID=4674;POINT (-38.35287 -3.38678)'))) / (select extract(epoch from '2026-07-15 14:57:51'::timestamp) - extract(epoch from '2026-07-15 14:57:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352797 -3.38673)', '2026-07-15 14:57:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35287 -3.38678)'), GeomFromEWKT('SRID=4674;POINT (-38.352797 -3.38673)'))) / (select extract(epoch from '2026-07-15 14:57:59'::timestamp) - extract(epoch from '2026-07-15 14:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35287 -3.38678)'), GeomFromEWKT('SRID=4674;POINT (-38.352797 -3.38673)'))) / (select extract(epoch from '2026-07-15 14:57:59'::timestamp) - extract(epoch from '2026-07-15 14:57: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.352762 -3.386717)', '2026-07-15 14:58:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352797 -3.38673)'), GeomFromEWKT('SRID=4674;POINT (-38.352762 -3.386717)'))) / (select extract(epoch from '2026-07-15 14:58:02'::timestamp) - extract(epoch from '2026-07-15 14:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352797 -3.38673)'), GeomFromEWKT('SRID=4674;POINT (-38.352762 -3.386717)'))) / (select extract(epoch from '2026-07-15 14:58:02'::timestamp) - extract(epoch from '2026-07-15 14:57: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.352721 -3.386696)', '2026-07-15 14:58:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352762 -3.386717)'), GeomFromEWKT('SRID=4674;POINT (-38.352721 -3.386696)'))) / (select extract(epoch from '2026-07-15 14:58:06'::timestamp) - extract(epoch from '2026-07-15 14:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352762 -3.386717)'), GeomFromEWKT('SRID=4674;POINT (-38.352721 -3.386696)'))) / (select extract(epoch from '2026-07-15 14:58:06'::timestamp) - extract(epoch from '2026-07-15 14:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352639 -3.386658)', '2026-07-15 14:58:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352721 -3.386696)'), GeomFromEWKT('SRID=4674;POINT (-38.352639 -3.386658)'))) / (select extract(epoch from '2026-07-15 14:58:15'::timestamp) - extract(epoch from '2026-07-15 14:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352721 -3.386696)'), GeomFromEWKT('SRID=4674;POINT (-38.352639 -3.386658)'))) / (select extract(epoch from '2026-07-15 14:58:15'::timestamp) - extract(epoch from '2026-07-15 14:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35258 -3.386628)', '2026-07-15 14:58:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352639 -3.386658)'), GeomFromEWKT('SRID=4674;POINT (-38.35258 -3.386628)'))) / (select extract(epoch from '2026-07-15 14:58:21'::timestamp) - extract(epoch from '2026-07-15 14:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352639 -3.386658)'), GeomFromEWKT('SRID=4674;POINT (-38.35258 -3.386628)'))) / (select extract(epoch from '2026-07-15 14:58:21'::timestamp) - extract(epoch from '2026-07-15 14:58: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.35257 -3.386621)', '2026-07-15 14:58:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35258 -3.386628)'), GeomFromEWKT('SRID=4674;POINT (-38.35257 -3.386621)'))) / (select extract(epoch from '2026-07-15 14:58:22'::timestamp) - extract(epoch from '2026-07-15 14:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35258 -3.386628)'), GeomFromEWKT('SRID=4674;POINT (-38.35257 -3.386621)'))) / (select extract(epoch from '2026-07-15 14:58:22'::timestamp) - extract(epoch from '2026-07-15 14:58: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.352525 -3.386591)', '2026-07-15 14:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35257 -3.386621)'), GeomFromEWKT('SRID=4674;POINT (-38.352525 -3.386591)'))) / (select extract(epoch from '2026-07-15 14:58:27'::timestamp) - extract(epoch from '2026-07-15 14:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35257 -3.386621)'), GeomFromEWKT('SRID=4674;POINT (-38.352525 -3.386591)'))) / (select extract(epoch from '2026-07-15 14:58:27'::timestamp) - extract(epoch from '2026-07-15 14:58: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.352458 -3.386549)', '2026-07-15 14:58:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352525 -3.386591)'), GeomFromEWKT('SRID=4674;POINT (-38.352458 -3.386549)'))) / (select extract(epoch from '2026-07-15 14:58:34'::timestamp) - extract(epoch from '2026-07-15 14:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352525 -3.386591)'), GeomFromEWKT('SRID=4674;POINT (-38.352458 -3.386549)'))) / (select extract(epoch from '2026-07-15 14:58:34'::timestamp) - extract(epoch from '2026-07-15 14:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352414 -3.386513)', '2026-07-15 14:58:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352458 -3.386549)'), GeomFromEWKT('SRID=4674;POINT (-38.352414 -3.386513)'))) / (select extract(epoch from '2026-07-15 14:58:41'::timestamp) - extract(epoch from '2026-07-15 14:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352458 -3.386549)'), GeomFromEWKT('SRID=4674;POINT (-38.352414 -3.386513)'))) / (select extract(epoch from '2026-07-15 14:58:41'::timestamp) - extract(epoch from '2026-07-15 14:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352344 -3.386476)', '2026-07-15 14:58:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352414 -3.386513)'), GeomFromEWKT('SRID=4674;POINT (-38.352344 -3.386476)'))) / (select extract(epoch from '2026-07-15 14:58:49'::timestamp) - extract(epoch from '2026-07-15 14:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352414 -3.386513)'), GeomFromEWKT('SRID=4674;POINT (-38.352344 -3.386476)'))) / (select extract(epoch from '2026-07-15 14:58:49'::timestamp) - extract(epoch from '2026-07-15 14:58: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.352318 -3.386469)', '2026-07-15 14:58:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352344 -3.386476)'), GeomFromEWKT('SRID=4674;POINT (-38.352318 -3.386469)'))) / (select extract(epoch from '2026-07-15 14:58:52'::timestamp) - extract(epoch from '2026-07-15 14:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352344 -3.386476)'), GeomFromEWKT('SRID=4674;POINT (-38.352318 -3.386469)'))) / (select extract(epoch from '2026-07-15 14:58:52'::timestamp) - extract(epoch from '2026-07-15 14:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352277 -3.38645)', '2026-07-15 14:58:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352318 -3.386469)'), GeomFromEWKT('SRID=4674;POINT (-38.352277 -3.38645)'))) / (select extract(epoch from '2026-07-15 14:58:57'::timestamp) - extract(epoch from '2026-07-15 14:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352318 -3.386469)'), GeomFromEWKT('SRID=4674;POINT (-38.352277 -3.38645)'))) / (select extract(epoch from '2026-07-15 14:58:57'::timestamp) - extract(epoch from '2026-07-15 14:58: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.352229 -3.386433)', '2026-07-15 14:59:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352277 -3.38645)'), GeomFromEWKT('SRID=4674;POINT (-38.352229 -3.386433)'))) / (select extract(epoch from '2026-07-15 14:59:03'::timestamp) - extract(epoch from '2026-07-15 14:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352277 -3.38645)'), GeomFromEWKT('SRID=4674;POINT (-38.352229 -3.386433)'))) / (select extract(epoch from '2026-07-15 14:59:03'::timestamp) - extract(epoch from '2026-07-15 14:58: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.352168 -3.386387)', '2026-07-15 14:59:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352229 -3.386433)'), GeomFromEWKT('SRID=4674;POINT (-38.352168 -3.386387)'))) / (select extract(epoch from '2026-07-15 14:59:11'::timestamp) - extract(epoch from '2026-07-15 14:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352229 -3.386433)'), GeomFromEWKT('SRID=4674;POINT (-38.352168 -3.386387)'))) / (select extract(epoch from '2026-07-15 14:59:11'::timestamp) - extract(epoch from '2026-07-15 14:59:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35216 -3.386381)', '2026-07-15 14:59:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352168 -3.386387)'), GeomFromEWKT('SRID=4674;POINT (-38.35216 -3.386381)'))) / (select extract(epoch from '2026-07-15 14:59:12'::timestamp) - extract(epoch from '2026-07-15 14:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352168 -3.386387)'), GeomFromEWKT('SRID=4674;POINT (-38.35216 -3.386381)'))) / (select extract(epoch from '2026-07-15 14:59:12'::timestamp) - extract(epoch from '2026-07-15 14:59: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.352123 -3.386358)', '2026-07-15 14:59:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35216 -3.386381)'), GeomFromEWKT('SRID=4674;POINT (-38.352123 -3.386358)'))) / (select extract(epoch from '2026-07-15 14:59:17'::timestamp) - extract(epoch from '2026-07-15 14:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35216 -3.386381)'), GeomFromEWKT('SRID=4674;POINT (-38.352123 -3.386358)'))) / (select extract(epoch from '2026-07-15 14:59:17'::timestamp) - extract(epoch from '2026-07-15 14:59:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352099 -3.386343)', '2026-07-15 14:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352123 -3.386358)'), GeomFromEWKT('SRID=4674;POINT (-38.352099 -3.386343)'))) / (select extract(epoch from '2026-07-15 14:59:20'::timestamp) - extract(epoch from '2026-07-15 14:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352123 -3.386358)'), GeomFromEWKT('SRID=4674;POINT (-38.352099 -3.386343)'))) / (select extract(epoch from '2026-07-15 14:59:20'::timestamp) - extract(epoch from '2026-07-15 14:59: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.352068 -3.386325)', '2026-07-15 14:59:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352099 -3.386343)'), GeomFromEWKT('SRID=4674;POINT (-38.352068 -3.386325)'))) / (select extract(epoch from '2026-07-15 14:59:24'::timestamp) - extract(epoch from '2026-07-15 14:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352099 -3.386343)'), GeomFromEWKT('SRID=4674;POINT (-38.352068 -3.386325)'))) / (select extract(epoch from '2026-07-15 14:59:24'::timestamp) - extract(epoch from '2026-07-15 14:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352017 -3.386306)', '2026-07-15 14:59:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352068 -3.386325)'), GeomFromEWKT('SRID=4674;POINT (-38.352017 -3.386306)'))) / (select extract(epoch from '2026-07-15 14:59:32'::timestamp) - extract(epoch from '2026-07-15 14:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352068 -3.386325)'), GeomFromEWKT('SRID=4674;POINT (-38.352017 -3.386306)'))) / (select extract(epoch from '2026-07-15 14:59:32'::timestamp) - extract(epoch from '2026-07-15 14:59: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.351941 -3.38627)', '2026-07-15 14:59:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352017 -3.386306)'), GeomFromEWKT('SRID=4674;POINT (-38.351941 -3.38627)'))) / (select extract(epoch from '2026-07-15 14:59:42'::timestamp) - extract(epoch from '2026-07-15 14:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352017 -3.386306)'), GeomFromEWKT('SRID=4674;POINT (-38.351941 -3.38627)'))) / (select extract(epoch from '2026-07-15 14:59:42'::timestamp) - extract(epoch from '2026-07-15 14:59: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.351852 -3.38623)', '2026-07-15 14:59:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351941 -3.38627)'), GeomFromEWKT('SRID=4674;POINT (-38.351852 -3.38623)'))) / (select extract(epoch from '2026-07-15 14:59:52'::timestamp) - extract(epoch from '2026-07-15 14:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351941 -3.38627)'), GeomFromEWKT('SRID=4674;POINT (-38.351852 -3.38623)'))) / (select extract(epoch from '2026-07-15 14:59:52'::timestamp) - extract(epoch from '2026-07-15 14:59: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.351757 -3.386171)', '2026-07-15 15:00:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351852 -3.38623)'), GeomFromEWKT('SRID=4674;POINT (-38.351757 -3.386171)'))) / (select extract(epoch from '2026-07-15 15:00:02'::timestamp) - extract(epoch from '2026-07-15 14:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351852 -3.38623)'), GeomFromEWKT('SRID=4674;POINT (-38.351757 -3.386171)'))) / (select extract(epoch from '2026-07-15 15:00:02'::timestamp) - extract(epoch from '2026-07-15 14:59:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351683 -3.386129)', '2026-07-15 15:00:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351757 -3.386171)'), GeomFromEWKT('SRID=4674;POINT (-38.351683 -3.386129)'))) / (select extract(epoch from '2026-07-15 15:00:09'::timestamp) - extract(epoch from '2026-07-15 15:00:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351757 -3.386171)'), GeomFromEWKT('SRID=4674;POINT (-38.351683 -3.386129)'))) / (select extract(epoch from '2026-07-15 15:00:09'::timestamp) - extract(epoch from '2026-07-15 15:00:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351623 -3.38609)', '2026-07-15 15:00:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351683 -3.386129)'), GeomFromEWKT('SRID=4674;POINT (-38.351623 -3.38609)'))) / (select extract(epoch from '2026-07-15 15:00:15'::timestamp) - extract(epoch from '2026-07-15 15:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351683 -3.386129)'), GeomFromEWKT('SRID=4674;POINT (-38.351623 -3.38609)'))) / (select extract(epoch from '2026-07-15 15:00:15'::timestamp) - extract(epoch from '2026-07-15 15:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351538 -3.386043)', '2026-07-15 15:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351623 -3.38609)'), GeomFromEWKT('SRID=4674;POINT (-38.351538 -3.386043)'))) / (select extract(epoch from '2026-07-15 15:00:23'::timestamp) - extract(epoch from '2026-07-15 15:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351623 -3.38609)'), GeomFromEWKT('SRID=4674;POINT (-38.351538 -3.386043)'))) / (select extract(epoch from '2026-07-15 15:00:23'::timestamp) - extract(epoch from '2026-07-15 15:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351457 -3.386008)', '2026-07-15 15:00:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351538 -3.386043)'), GeomFromEWKT('SRID=4674;POINT (-38.351457 -3.386008)'))) / (select extract(epoch from '2026-07-15 15:00:30'::timestamp) - extract(epoch from '2026-07-15 15:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351538 -3.386043)'), GeomFromEWKT('SRID=4674;POINT (-38.351457 -3.386008)'))) / (select extract(epoch from '2026-07-15 15:00:30'::timestamp) - extract(epoch from '2026-07-15 15:00: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.35137 -3.385969)', '2026-07-15 15:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351457 -3.386008)'), GeomFromEWKT('SRID=4674;POINT (-38.35137 -3.385969)'))) / (select extract(epoch from '2026-07-15 15:00:38'::timestamp) - extract(epoch from '2026-07-15 15:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351457 -3.386008)'), GeomFromEWKT('SRID=4674;POINT (-38.35137 -3.385969)'))) / (select extract(epoch from '2026-07-15 15:00:38'::timestamp) - extract(epoch from '2026-07-15 15:00: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.351361 -3.385965)', '2026-07-15 15:00:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35137 -3.385969)'), GeomFromEWKT('SRID=4674;POINT (-38.351361 -3.385965)'))) / (select extract(epoch from '2026-07-15 15:00:39'::timestamp) - extract(epoch from '2026-07-15 15:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35137 -3.385969)'), GeomFromEWKT('SRID=4674;POINT (-38.351361 -3.385965)'))) / (select extract(epoch from '2026-07-15 15:00:39'::timestamp) - extract(epoch from '2026-07-15 15:00: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.351316 -3.385942)', '2026-07-15 15:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351361 -3.385965)'), GeomFromEWKT('SRID=4674;POINT (-38.351316 -3.385942)'))) / (select extract(epoch from '2026-07-15 15:00:44'::timestamp) - extract(epoch from '2026-07-15 15:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351361 -3.385965)'), GeomFromEWKT('SRID=4674;POINT (-38.351316 -3.385942)'))) / (select extract(epoch from '2026-07-15 15:00:44'::timestamp) - extract(epoch from '2026-07-15 15:00: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.35125 -3.385922)', '2026-07-15 15:00:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351316 -3.385942)'), GeomFromEWKT('SRID=4674;POINT (-38.35125 -3.385922)'))) / (select extract(epoch from '2026-07-15 15:00:51'::timestamp) - extract(epoch from '2026-07-15 15:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351316 -3.385942)'), GeomFromEWKT('SRID=4674;POINT (-38.35125 -3.385922)'))) / (select extract(epoch from '2026-07-15 15:00:51'::timestamp) - extract(epoch from '2026-07-15 15:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351184 -3.385897)', '2026-07-15 15:00:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35125 -3.385922)'), GeomFromEWKT('SRID=4674;POINT (-38.351184 -3.385897)'))) / (select extract(epoch from '2026-07-15 15:00:57'::timestamp) - extract(epoch from '2026-07-15 15:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35125 -3.385922)'), GeomFromEWKT('SRID=4674;POINT (-38.351184 -3.385897)'))) / (select extract(epoch from '2026-07-15 15:00:57'::timestamp) - extract(epoch from '2026-07-15 15:00:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351084 -3.385874)', '2026-07-15 15:01:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351184 -3.385897)'), GeomFromEWKT('SRID=4674;POINT (-38.351084 -3.385874)'))) / (select extract(epoch from '2026-07-15 15:01:06'::timestamp) - extract(epoch from '2026-07-15 15:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351184 -3.385897)'), GeomFromEWKT('SRID=4674;POINT (-38.351084 -3.385874)'))) / (select extract(epoch from '2026-07-15 15:01:06'::timestamp) - extract(epoch from '2026-07-15 15:00: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.351009 -3.385854)', '2026-07-15 15:01:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351084 -3.385874)'), GeomFromEWKT('SRID=4674;POINT (-38.351009 -3.385854)'))) / (select extract(epoch from '2026-07-15 15:01:13'::timestamp) - extract(epoch from '2026-07-15 15:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351084 -3.385874)'), GeomFromEWKT('SRID=4674;POINT (-38.351009 -3.385854)'))) / (select extract(epoch from '2026-07-15 15:01:13'::timestamp) - extract(epoch from '2026-07-15 15:01: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.350954 -3.385832)', '2026-07-15 15:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351009 -3.385854)'), GeomFromEWKT('SRID=4674;POINT (-38.350954 -3.385832)'))) / (select extract(epoch from '2026-07-15 15:01:18'::timestamp) - extract(epoch from '2026-07-15 15:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351009 -3.385854)'), GeomFromEWKT('SRID=4674;POINT (-38.350954 -3.385832)'))) / (select extract(epoch from '2026-07-15 15:01:18'::timestamp) - extract(epoch from '2026-07-15 15:01: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.350932 -3.385821)', '2026-07-15 15:01:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350954 -3.385832)'), GeomFromEWKT('SRID=4674;POINT (-38.350932 -3.385821)'))) / (select extract(epoch from '2026-07-15 15:01:20'::timestamp) - extract(epoch from '2026-07-15 15:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350954 -3.385832)'), GeomFromEWKT('SRID=4674;POINT (-38.350932 -3.385821)'))) / (select extract(epoch from '2026-07-15 15:01:20'::timestamp) - extract(epoch from '2026-07-15 15:01: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.350847 -3.385786)', '2026-07-15 15:01:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350932 -3.385821)'), GeomFromEWKT('SRID=4674;POINT (-38.350847 -3.385786)'))) / (select extract(epoch from '2026-07-15 15:01:27'::timestamp) - extract(epoch from '2026-07-15 15:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350932 -3.385821)'), GeomFromEWKT('SRID=4674;POINT (-38.350847 -3.385786)'))) / (select extract(epoch from '2026-07-15 15:01:27'::timestamp) - extract(epoch from '2026-07-15 15:01: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.350792 -3.385759)', '2026-07-15 15:01:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350847 -3.385786)'), GeomFromEWKT('SRID=4674;POINT (-38.350792 -3.385759)'))) / (select extract(epoch from '2026-07-15 15:01:33'::timestamp) - extract(epoch from '2026-07-15 15:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350847 -3.385786)'), GeomFromEWKT('SRID=4674;POINT (-38.350792 -3.385759)'))) / (select extract(epoch from '2026-07-15 15:01:33'::timestamp) - extract(epoch from '2026-07-15 15:01: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.350743 -3.385729)', '2026-07-15 15:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350792 -3.385759)'), GeomFromEWKT('SRID=4674;POINT (-38.350743 -3.385729)'))) / (select extract(epoch from '2026-07-15 15:01:40'::timestamp) - extract(epoch from '2026-07-15 15:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350792 -3.385759)'), GeomFromEWKT('SRID=4674;POINT (-38.350743 -3.385729)'))) / (select extract(epoch from '2026-07-15 15:01:40'::timestamp) - extract(epoch from '2026-07-15 15:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350682 -3.3857)', '2026-07-15 15:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350743 -3.385729)'), GeomFromEWKT('SRID=4674;POINT (-38.350682 -3.3857)'))) / (select extract(epoch from '2026-07-15 15:01:50'::timestamp) - extract(epoch from '2026-07-15 15:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350743 -3.385729)'), GeomFromEWKT('SRID=4674;POINT (-38.350682 -3.3857)'))) / (select extract(epoch from '2026-07-15 15:01:50'::timestamp) - extract(epoch from '2026-07-15 15:01: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.350592 -3.385637)', '2026-07-15 15:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350682 -3.3857)'), GeomFromEWKT('SRID=4674;POINT (-38.350592 -3.385637)'))) / (select extract(epoch from '2026-07-15 15:02:02'::timestamp) - extract(epoch from '2026-07-15 15:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350682 -3.3857)'), GeomFromEWKT('SRID=4674;POINT (-38.350592 -3.385637)'))) / (select extract(epoch from '2026-07-15 15:02:02'::timestamp) - extract(epoch from '2026-07-15 15:01: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.35054 -3.385602)', '2026-07-15 15:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350592 -3.385637)'), GeomFromEWKT('SRID=4674;POINT (-38.35054 -3.385602)'))) / (select extract(epoch from '2026-07-15 15:02:08'::timestamp) - extract(epoch from '2026-07-15 15:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350592 -3.385637)'), GeomFromEWKT('SRID=4674;POINT (-38.35054 -3.385602)'))) / (select extract(epoch from '2026-07-15 15:02:08'::timestamp) - extract(epoch from '2026-07-15 15:02: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.350472 -3.385573)', '2026-07-15 15:02:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35054 -3.385602)'), GeomFromEWKT('SRID=4674;POINT (-38.350472 -3.385573)'))) / (select extract(epoch from '2026-07-15 15:02:15'::timestamp) - extract(epoch from '2026-07-15 15:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35054 -3.385602)'), GeomFromEWKT('SRID=4674;POINT (-38.350472 -3.385573)'))) / (select extract(epoch from '2026-07-15 15:02:15'::timestamp) - extract(epoch from '2026-07-15 15:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350409 -3.385552)', '2026-07-15 15:02:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350472 -3.385573)'), GeomFromEWKT('SRID=4674;POINT (-38.350409 -3.385552)'))) / (select extract(epoch from '2026-07-15 15:02:22'::timestamp) - extract(epoch from '2026-07-15 15:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350472 -3.385573)'), GeomFromEWKT('SRID=4674;POINT (-38.350409 -3.385552)'))) / (select extract(epoch from '2026-07-15 15:02:22'::timestamp) - extract(epoch from '2026-07-15 15:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350353 -3.385528)', '2026-07-15 15:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350409 -3.385552)'), GeomFromEWKT('SRID=4674;POINT (-38.350353 -3.385528)'))) / (select extract(epoch from '2026-07-15 15:02:29'::timestamp) - extract(epoch from '2026-07-15 15:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350409 -3.385552)'), GeomFromEWKT('SRID=4674;POINT (-38.350353 -3.385528)'))) / (select extract(epoch from '2026-07-15 15:02:29'::timestamp) - extract(epoch from '2026-07-15 15:02: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.350299 -3.3855)', '2026-07-15 15:02:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350353 -3.385528)'), GeomFromEWKT('SRID=4674;POINT (-38.350299 -3.3855)'))) / (select extract(epoch from '2026-07-15 15:02:36'::timestamp) - extract(epoch from '2026-07-15 15:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350353 -3.385528)'), GeomFromEWKT('SRID=4674;POINT (-38.350299 -3.3855)'))) / (select extract(epoch from '2026-07-15 15:02:36'::timestamp) - extract(epoch from '2026-07-15 15:02: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.350238 -3.385469)', '2026-07-15 15:02:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350299 -3.3855)'), GeomFromEWKT('SRID=4674;POINT (-38.350238 -3.385469)'))) / (select extract(epoch from '2026-07-15 15:02:43'::timestamp) - extract(epoch from '2026-07-15 15:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350299 -3.3855)'), GeomFromEWKT('SRID=4674;POINT (-38.350238 -3.385469)'))) / (select extract(epoch from '2026-07-15 15:02:43'::timestamp) - extract(epoch from '2026-07-15 15:02: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.350166 -3.385418)', '2026-07-15 15:02:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350238 -3.385469)'), GeomFromEWKT('SRID=4674;POINT (-38.350166 -3.385418)'))) / (select extract(epoch from '2026-07-15 15:02:50'::timestamp) - extract(epoch from '2026-07-15 15:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350238 -3.385469)'), GeomFromEWKT('SRID=4674;POINT (-38.350166 -3.385418)'))) / (select extract(epoch from '2026-07-15 15:02:50'::timestamp) - extract(epoch from '2026-07-15 15:02:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350099 -3.385367)', '2026-07-15 15:02:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350166 -3.385418)'), GeomFromEWKT('SRID=4674;POINT (-38.350099 -3.385367)'))) / (select extract(epoch from '2026-07-15 15:02:57'::timestamp) - extract(epoch from '2026-07-15 15:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350166 -3.385418)'), GeomFromEWKT('SRID=4674;POINT (-38.350099 -3.385367)'))) / (select extract(epoch from '2026-07-15 15:02:57'::timestamp) - extract(epoch from '2026-07-15 15:02:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350017 -3.385325)', '2026-07-15 15:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350099 -3.385367)'), GeomFromEWKT('SRID=4674;POINT (-38.350017 -3.385325)'))) / (select extract(epoch from '2026-07-15 15:03:05'::timestamp) - extract(epoch from '2026-07-15 15:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350099 -3.385367)'), GeomFromEWKT('SRID=4674;POINT (-38.350017 -3.385325)'))) / (select extract(epoch from '2026-07-15 15:03:05'::timestamp) - extract(epoch from '2026-07-15 15:02:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349973 -3.385295)', '2026-07-15 15:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350017 -3.385325)'), GeomFromEWKT('SRID=4674;POINT (-38.349973 -3.385295)'))) / (select extract(epoch from '2026-07-15 15:03:11'::timestamp) - extract(epoch from '2026-07-15 15:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350017 -3.385325)'), GeomFromEWKT('SRID=4674;POINT (-38.349973 -3.385295)'))) / (select extract(epoch from '2026-07-15 15:03:11'::timestamp) - extract(epoch from '2026-07-15 15:03:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34991 -3.385266)', '2026-07-15 15:03:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349973 -3.385295)'), GeomFromEWKT('SRID=4674;POINT (-38.34991 -3.385266)'))) / (select extract(epoch from '2026-07-15 15:03:18'::timestamp) - extract(epoch from '2026-07-15 15:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349973 -3.385295)'), GeomFromEWKT('SRID=4674;POINT (-38.34991 -3.385266)'))) / (select extract(epoch from '2026-07-15 15:03:18'::timestamp) - extract(epoch from '2026-07-15 15:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349841 -3.385246)', '2026-07-15 15:03:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34991 -3.385266)'), GeomFromEWKT('SRID=4674;POINT (-38.349841 -3.385246)'))) / (select extract(epoch from '2026-07-15 15:03:25'::timestamp) - extract(epoch from '2026-07-15 15:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34991 -3.385266)'), GeomFromEWKT('SRID=4674;POINT (-38.349841 -3.385246)'))) / (select extract(epoch from '2026-07-15 15:03:25'::timestamp) - extract(epoch from '2026-07-15 15:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349801 -3.38523)', '2026-07-15 15:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349841 -3.385246)'), GeomFromEWKT('SRID=4674;POINT (-38.349801 -3.38523)'))) / (select extract(epoch from '2026-07-15 15:03:29'::timestamp) - extract(epoch from '2026-07-15 15:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349841 -3.385246)'), GeomFromEWKT('SRID=4674;POINT (-38.349801 -3.38523)'))) / (select extract(epoch from '2026-07-15 15:03:29'::timestamp) - extract(epoch from '2026-07-15 15:03: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.349761 -3.385212)', '2026-07-15 15:03:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349801 -3.38523)'), GeomFromEWKT('SRID=4674;POINT (-38.349761 -3.385212)'))) / (select extract(epoch from '2026-07-15 15:03:33'::timestamp) - extract(epoch from '2026-07-15 15:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349801 -3.38523)'), GeomFromEWKT('SRID=4674;POINT (-38.349761 -3.385212)'))) / (select extract(epoch from '2026-07-15 15:03:33'::timestamp) - extract(epoch from '2026-07-15 15:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349655 -3.385159)', '2026-07-15 15:03:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349761 -3.385212)'), GeomFromEWKT('SRID=4674;POINT (-38.349655 -3.385159)'))) / (select extract(epoch from '2026-07-15 15:03:42'::timestamp) - extract(epoch from '2026-07-15 15:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349761 -3.385212)'), GeomFromEWKT('SRID=4674;POINT (-38.349655 -3.385159)'))) / (select extract(epoch from '2026-07-15 15:03:42'::timestamp) - extract(epoch from '2026-07-15 15:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349544 -3.385122)', '2026-07-15 15:03:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349655 -3.385159)'), GeomFromEWKT('SRID=4674;POINT (-38.349544 -3.385122)'))) / (select extract(epoch from '2026-07-15 15:03:51'::timestamp) - extract(epoch from '2026-07-15 15:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349655 -3.385159)'), GeomFromEWKT('SRID=4674;POINT (-38.349544 -3.385122)'))) / (select extract(epoch from '2026-07-15 15:03:51'::timestamp) - extract(epoch from '2026-07-15 15:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349458 -3.385098)', '2026-07-15 15:03:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349544 -3.385122)'), GeomFromEWKT('SRID=4674;POINT (-38.349458 -3.385098)'))) / (select extract(epoch from '2026-07-15 15:03:58'::timestamp) - extract(epoch from '2026-07-15 15:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349544 -3.385122)'), GeomFromEWKT('SRID=4674;POINT (-38.349458 -3.385098)'))) / (select extract(epoch from '2026-07-15 15:03:58'::timestamp) - extract(epoch from '2026-07-15 15:03: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.349376 -3.385072)', '2026-07-15 15:04:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349458 -3.385098)'), GeomFromEWKT('SRID=4674;POINT (-38.349376 -3.385072)'))) / (select extract(epoch from '2026-07-15 15:04:05'::timestamp) - extract(epoch from '2026-07-15 15:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349458 -3.385098)'), GeomFromEWKT('SRID=4674;POINT (-38.349376 -3.385072)'))) / (select extract(epoch from '2026-07-15 15:04:05'::timestamp) - extract(epoch from '2026-07-15 15:03:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349254 -3.38504)', '2026-07-15 15:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349376 -3.385072)'), GeomFromEWKT('SRID=4674;POINT (-38.349254 -3.38504)'))) / (select extract(epoch from '2026-07-15 15:04:15'::timestamp) - extract(epoch from '2026-07-15 15:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349376 -3.385072)'), GeomFromEWKT('SRID=4674;POINT (-38.349254 -3.38504)'))) / (select extract(epoch from '2026-07-15 15:04:15'::timestamp) - extract(epoch from '2026-07-15 15:04:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349167 -3.385005)', '2026-07-15 15:04:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349254 -3.38504)'), GeomFromEWKT('SRID=4674;POINT (-38.349167 -3.385005)'))) / (select extract(epoch from '2026-07-15 15:04:23'::timestamp) - extract(epoch from '2026-07-15 15:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349254 -3.38504)'), GeomFromEWKT('SRID=4674;POINT (-38.349167 -3.385005)'))) / (select extract(epoch from '2026-07-15 15:04:23'::timestamp) - extract(epoch from '2026-07-15 15:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349102 -3.38497)', '2026-07-15 15:04:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349167 -3.385005)'), GeomFromEWKT('SRID=4674;POINT (-38.349102 -3.38497)'))) / (select extract(epoch from '2026-07-15 15:04:29'::timestamp) - extract(epoch from '2026-07-15 15:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349167 -3.385005)'), GeomFromEWKT('SRID=4674;POINT (-38.349102 -3.38497)'))) / (select extract(epoch from '2026-07-15 15:04:29'::timestamp) - extract(epoch from '2026-07-15 15:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349095 -3.384963)', '2026-07-15 15:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349102 -3.38497)'), GeomFromEWKT('SRID=4674;POINT (-38.349095 -3.384963)'))) / (select extract(epoch from '2026-07-15 15:04:30'::timestamp) - extract(epoch from '2026-07-15 15:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349102 -3.38497)'), GeomFromEWKT('SRID=4674;POINT (-38.349095 -3.384963)'))) / (select extract(epoch from '2026-07-15 15:04:30'::timestamp) - extract(epoch from '2026-07-15 15:04: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.349056 -3.384926)', '2026-07-15 15:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349095 -3.384963)'), GeomFromEWKT('SRID=4674;POINT (-38.349056 -3.384926)'))) / (select extract(epoch from '2026-07-15 15:04:35'::timestamp) - extract(epoch from '2026-07-15 15:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349095 -3.384963)'), GeomFromEWKT('SRID=4674;POINT (-38.349056 -3.384926)'))) / (select extract(epoch from '2026-07-15 15:04:35'::timestamp) - extract(epoch from '2026-07-15 15:04: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.349007 -3.384879)', '2026-07-15 15:04:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349056 -3.384926)'), GeomFromEWKT('SRID=4674;POINT (-38.349007 -3.384879)'))) / (select extract(epoch from '2026-07-15 15:04:42'::timestamp) - extract(epoch from '2026-07-15 15:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349056 -3.384926)'), GeomFromEWKT('SRID=4674;POINT (-38.349007 -3.384879)'))) / (select extract(epoch from '2026-07-15 15:04:42'::timestamp) - extract(epoch from '2026-07-15 15:04: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.348957 -3.384852)', '2026-07-15 15:04:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349007 -3.384879)'), GeomFromEWKT('SRID=4674;POINT (-38.348957 -3.384852)'))) / (select extract(epoch from '2026-07-15 15:04:48'::timestamp) - extract(epoch from '2026-07-15 15:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349007 -3.384879)'), GeomFromEWKT('SRID=4674;POINT (-38.348957 -3.384852)'))) / (select extract(epoch from '2026-07-15 15:04:48'::timestamp) - extract(epoch from '2026-07-15 15:04: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.34894 -3.384842)', '2026-07-15 15:04:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348957 -3.384852)'), GeomFromEWKT('SRID=4674;POINT (-38.34894 -3.384842)'))) / (select extract(epoch from '2026-07-15 15:04:50'::timestamp) - extract(epoch from '2026-07-15 15:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348957 -3.384852)'), GeomFromEWKT('SRID=4674;POINT (-38.34894 -3.384842)'))) / (select extract(epoch from '2026-07-15 15:04:50'::timestamp) - extract(epoch from '2026-07-15 15:04: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.348897 -3.384797)', '2026-07-15 15:04:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34894 -3.384842)'), GeomFromEWKT('SRID=4674;POINT (-38.348897 -3.384797)'))) / (select extract(epoch from '2026-07-15 15:04:57'::timestamp) - extract(epoch from '2026-07-15 15:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34894 -3.384842)'), GeomFromEWKT('SRID=4674;POINT (-38.348897 -3.384797)'))) / (select extract(epoch from '2026-07-15 15:04:57'::timestamp) - extract(epoch from '2026-07-15 15:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348882 -3.384775)', '2026-07-15 15:05:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348897 -3.384797)'), GeomFromEWKT('SRID=4674;POINT (-38.348882 -3.384775)'))) / (select extract(epoch from '2026-07-15 15:05:00'::timestamp) - extract(epoch from '2026-07-15 15:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348897 -3.384797)'), GeomFromEWKT('SRID=4674;POINT (-38.348882 -3.384775)'))) / (select extract(epoch from '2026-07-15 15:05:00'::timestamp) - extract(epoch from '2026-07-15 15:04: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.348863 -3.384754)', '2026-07-15 15:05:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348882 -3.384775)'), GeomFromEWKT('SRID=4674;POINT (-38.348863 -3.384754)'))) / (select extract(epoch from '2026-07-15 15:05:05'::timestamp) - extract(epoch from '2026-07-15 15:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348882 -3.384775)'), GeomFromEWKT('SRID=4674;POINT (-38.348863 -3.384754)'))) / (select extract(epoch from '2026-07-15 15:05:05'::timestamp) - extract(epoch from '2026-07-15 15:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348792 -3.384703)', '2026-07-15 15:05:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348863 -3.384754)'), GeomFromEWKT('SRID=4674;POINT (-38.348792 -3.384703)'))) / (select extract(epoch from '2026-07-15 15:05:14'::timestamp) - extract(epoch from '2026-07-15 15:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348863 -3.384754)'), GeomFromEWKT('SRID=4674;POINT (-38.348792 -3.384703)'))) / (select extract(epoch from '2026-07-15 15:05:14'::timestamp) - extract(epoch from '2026-07-15 15:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348736 -3.384662)', '2026-07-15 15:05:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348792 -3.384703)'), GeomFromEWKT('SRID=4674;POINT (-38.348736 -3.384662)'))) / (select extract(epoch from '2026-07-15 15:05:21'::timestamp) - extract(epoch from '2026-07-15 15:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348792 -3.384703)'), GeomFromEWKT('SRID=4674;POINT (-38.348736 -3.384662)'))) / (select extract(epoch from '2026-07-15 15:05:21'::timestamp) - extract(epoch from '2026-07-15 15:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348696 -3.384621)', '2026-07-15 15:05:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348736 -3.384662)'), GeomFromEWKT('SRID=4674;POINT (-38.348696 -3.384621)'))) / (select extract(epoch from '2026-07-15 15:05:29'::timestamp) - extract(epoch from '2026-07-15 15:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348736 -3.384662)'), GeomFromEWKT('SRID=4674;POINT (-38.348696 -3.384621)'))) / (select extract(epoch from '2026-07-15 15:05:29'::timestamp) - extract(epoch from '2026-07-15 15:05: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.348622 -3.384563)', '2026-07-15 15:05:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348696 -3.384621)'), GeomFromEWKT('SRID=4674;POINT (-38.348622 -3.384563)'))) / (select extract(epoch from '2026-07-15 15:05:40'::timestamp) - extract(epoch from '2026-07-15 15:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348696 -3.384621)'), GeomFromEWKT('SRID=4674;POINT (-38.348622 -3.384563)'))) / (select extract(epoch from '2026-07-15 15:05:40'::timestamp) - extract(epoch from '2026-07-15 15:05:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348543 -3.384492)', '2026-07-15 15:05:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348622 -3.384563)'), GeomFromEWKT('SRID=4674;POINT (-38.348543 -3.384492)'))) / (select extract(epoch from '2026-07-15 15:05:49'::timestamp) - extract(epoch from '2026-07-15 15:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348622 -3.384563)'), GeomFromEWKT('SRID=4674;POINT (-38.348543 -3.384492)'))) / (select extract(epoch from '2026-07-15 15:05:49'::timestamp) - extract(epoch from '2026-07-15 15:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348492 -3.384418)', '2026-07-15 15:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348543 -3.384492)'), GeomFromEWKT('SRID=4674;POINT (-38.348492 -3.384418)'))) / (select extract(epoch from '2026-07-15 15:05:57'::timestamp) - extract(epoch from '2026-07-15 15:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348543 -3.384492)'), GeomFromEWKT('SRID=4674;POINT (-38.348492 -3.384418)'))) / (select extract(epoch from '2026-07-15 15:05:57'::timestamp) - extract(epoch from '2026-07-15 15:05: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.34845 -3.384371)', '2026-07-15 15:06:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348492 -3.384418)'), GeomFromEWKT('SRID=4674;POINT (-38.34845 -3.384371)'))) / (select extract(epoch from '2026-07-15 15:06:03'::timestamp) - extract(epoch from '2026-07-15 15:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348492 -3.384418)'), GeomFromEWKT('SRID=4674;POINT (-38.34845 -3.384371)'))) / (select extract(epoch from '2026-07-15 15:06:03'::timestamp) - extract(epoch from '2026-07-15 15:05: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.348381 -3.384324)', '2026-07-15 15:06:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34845 -3.384371)'), GeomFromEWKT('SRID=4674;POINT (-38.348381 -3.384324)'))) / (select extract(epoch from '2026-07-15 15:06:11'::timestamp) - extract(epoch from '2026-07-15 15:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34845 -3.384371)'), GeomFromEWKT('SRID=4674;POINT (-38.348381 -3.384324)'))) / (select extract(epoch from '2026-07-15 15:06:11'::timestamp) - extract(epoch from '2026-07-15 15:06:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348292 -3.384275)', '2026-07-15 15:06:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348381 -3.384324)'), GeomFromEWKT('SRID=4674;POINT (-38.348292 -3.384275)'))) / (select extract(epoch from '2026-07-15 15:06:19'::timestamp) - extract(epoch from '2026-07-15 15:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348381 -3.384324)'), GeomFromEWKT('SRID=4674;POINT (-38.348292 -3.384275)'))) / (select extract(epoch from '2026-07-15 15:06:19'::timestamp) - extract(epoch from '2026-07-15 15:06: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.348187 -3.384226)', '2026-07-15 15:06:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348292 -3.384275)'), GeomFromEWKT('SRID=4674;POINT (-38.348187 -3.384226)'))) / (select extract(epoch from '2026-07-15 15:06:27'::timestamp) - extract(epoch from '2026-07-15 15:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348292 -3.384275)'), GeomFromEWKT('SRID=4674;POINT (-38.348187 -3.384226)'))) / (select extract(epoch from '2026-07-15 15:06:27'::timestamp) - extract(epoch from '2026-07-15 15:06:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348087 -3.384189)', '2026-07-15 15:06:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348187 -3.384226)'), GeomFromEWKT('SRID=4674;POINT (-38.348087 -3.384189)'))) / (select extract(epoch from '2026-07-15 15:06:35'::timestamp) - extract(epoch from '2026-07-15 15:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348187 -3.384226)'), GeomFromEWKT('SRID=4674;POINT (-38.348087 -3.384189)'))) / (select extract(epoch from '2026-07-15 15:06:35'::timestamp) - extract(epoch from '2026-07-15 15: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.347981 -3.384142)', '2026-07-15 15:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348087 -3.384189)'), GeomFromEWKT('SRID=4674;POINT (-38.347981 -3.384142)'))) / (select extract(epoch from '2026-07-15 15:06:44'::timestamp) - extract(epoch from '2026-07-15 15:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348087 -3.384189)'), GeomFromEWKT('SRID=4674;POINT (-38.347981 -3.384142)'))) / (select extract(epoch from '2026-07-15 15:06:44'::timestamp) - extract(epoch from '2026-07-15 15:06: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.347897 -3.384105)', '2026-07-15 15:06:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347981 -3.384142)'), GeomFromEWKT('SRID=4674;POINT (-38.347897 -3.384105)'))) / (select extract(epoch from '2026-07-15 15:06:51'::timestamp) - extract(epoch from '2026-07-15 15:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347981 -3.384142)'), GeomFromEWKT('SRID=4674;POINT (-38.347897 -3.384105)'))) / (select extract(epoch from '2026-07-15 15:06:51'::timestamp) - extract(epoch from '2026-07-15 15:06: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.347842 -3.384089)', '2026-07-15 15:06:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347897 -3.384105)'), GeomFromEWKT('SRID=4674;POINT (-38.347842 -3.384089)'))) / (select extract(epoch from '2026-07-15 15:06:56'::timestamp) - extract(epoch from '2026-07-15 15:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347897 -3.384105)'), GeomFromEWKT('SRID=4674;POINT (-38.347842 -3.384089)'))) / (select extract(epoch from '2026-07-15 15:06:56'::timestamp) - extract(epoch from '2026-07-15 15:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34783 -3.384084)', '2026-07-15 15:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347842 -3.384089)'), GeomFromEWKT('SRID=4674;POINT (-38.34783 -3.384084)'))) / (select extract(epoch from '2026-07-15 15:06:57'::timestamp) - extract(epoch from '2026-07-15 15:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347842 -3.384089)'), GeomFromEWKT('SRID=4674;POINT (-38.34783 -3.384084)'))) / (select extract(epoch from '2026-07-15 15:06:57'::timestamp) - extract(epoch from '2026-07-15 15:06:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34781 -3.384076)', '2026-07-15 15:06:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34783 -3.384084)'), GeomFromEWKT('SRID=4674;POINT (-38.34781 -3.384076)'))) / (select extract(epoch from '2026-07-15 15:06:59'::timestamp) - extract(epoch from '2026-07-15 15:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34783 -3.384084)'), GeomFromEWKT('SRID=4674;POINT (-38.34781 -3.384076)'))) / (select extract(epoch from '2026-07-15 15:06:59'::timestamp) - extract(epoch from '2026-07-15 15:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347768 -3.384044)', '2026-07-15 15:07:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34781 -3.384076)'), GeomFromEWKT('SRID=4674;POINT (-38.347768 -3.384044)'))) / (select extract(epoch from '2026-07-15 15:07:03'::timestamp) - extract(epoch from '2026-07-15 15:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34781 -3.384076)'), GeomFromEWKT('SRID=4674;POINT (-38.347768 -3.384044)'))) / (select extract(epoch from '2026-07-15 15:07:03'::timestamp) - extract(epoch from '2026-07-15 15:06: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.347724 -3.384027)', '2026-07-15 15:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347768 -3.384044)'), GeomFromEWKT('SRID=4674;POINT (-38.347724 -3.384027)'))) / (select extract(epoch from '2026-07-15 15:07:07'::timestamp) - extract(epoch from '2026-07-15 15:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347768 -3.384044)'), GeomFromEWKT('SRID=4674;POINT (-38.347724 -3.384027)'))) / (select extract(epoch from '2026-07-15 15:07:07'::timestamp) - extract(epoch from '2026-07-15 15:07: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.347706 -3.384014)', '2026-07-15 15:07:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347724 -3.384027)'), GeomFromEWKT('SRID=4674;POINT (-38.347706 -3.384014)'))) / (select extract(epoch from '2026-07-15 15:07:09'::timestamp) - extract(epoch from '2026-07-15 15:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347724 -3.384027)'), GeomFromEWKT('SRID=4674;POINT (-38.347706 -3.384014)'))) / (select extract(epoch from '2026-07-15 15:07:09'::timestamp) - extract(epoch from '2026-07-15 15:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347646 -3.383974)', '2026-07-15 15:07:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347706 -3.384014)'), GeomFromEWKT('SRID=4674;POINT (-38.347646 -3.383974)'))) / (select extract(epoch from '2026-07-15 15:07:16'::timestamp) - extract(epoch from '2026-07-15 15:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347706 -3.384014)'), GeomFromEWKT('SRID=4674;POINT (-38.347646 -3.383974)'))) / (select extract(epoch from '2026-07-15 15:07:16'::timestamp) - extract(epoch from '2026-07-15 15:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347587 -3.383942)', '2026-07-15 15:07:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347646 -3.383974)'), GeomFromEWKT('SRID=4674;POINT (-38.347587 -3.383942)'))) / (select extract(epoch from '2026-07-15 15:07:22'::timestamp) - extract(epoch from '2026-07-15 15:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347646 -3.383974)'), GeomFromEWKT('SRID=4674;POINT (-38.347587 -3.383942)'))) / (select extract(epoch from '2026-07-15 15:07:22'::timestamp) - extract(epoch from '2026-07-15 15:07: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.347501 -3.383892)', '2026-07-15 15:07:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347587 -3.383942)'), GeomFromEWKT('SRID=4674;POINT (-38.347501 -3.383892)'))) / (select extract(epoch from '2026-07-15 15:07:31'::timestamp) - extract(epoch from '2026-07-15 15:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347587 -3.383942)'), GeomFromEWKT('SRID=4674;POINT (-38.347501 -3.383892)'))) / (select extract(epoch from '2026-07-15 15:07:31'::timestamp) - extract(epoch from '2026-07-15 15:07: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.347438 -3.383857)', '2026-07-15 15:07:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347501 -3.383892)'), GeomFromEWKT('SRID=4674;POINT (-38.347438 -3.383857)'))) / (select extract(epoch from '2026-07-15 15:07:38'::timestamp) - extract(epoch from '2026-07-15 15:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347501 -3.383892)'), GeomFromEWKT('SRID=4674;POINT (-38.347438 -3.383857)'))) / (select extract(epoch from '2026-07-15 15:07:38'::timestamp) - extract(epoch from '2026-07-15 15:07: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.34742 -3.383849)', '2026-07-15 15:07:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347438 -3.383857)'), GeomFromEWKT('SRID=4674;POINT (-38.34742 -3.383849)'))) / (select extract(epoch from '2026-07-15 15:07:40'::timestamp) - extract(epoch from '2026-07-15 15:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347438 -3.383857)'), GeomFromEWKT('SRID=4674;POINT (-38.34742 -3.383849)'))) / (select extract(epoch from '2026-07-15 15:07:40'::timestamp) - extract(epoch from '2026-07-15 15:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347393 -3.383827)', '2026-07-15 15:07:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34742 -3.383849)'), GeomFromEWKT('SRID=4674;POINT (-38.347393 -3.383827)'))) / (select extract(epoch from '2026-07-15 15:07:43'::timestamp) - extract(epoch from '2026-07-15 15:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34742 -3.383849)'), GeomFromEWKT('SRID=4674;POINT (-38.347393 -3.383827)'))) / (select extract(epoch from '2026-07-15 15:07:43'::timestamp) - extract(epoch from '2026-07-15 15:07: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.347383 -3.38382)', '2026-07-15 15:07:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347393 -3.383827)'), GeomFromEWKT('SRID=4674;POINT (-38.347383 -3.38382)'))) / (select extract(epoch from '2026-07-15 15:07:44'::timestamp) - extract(epoch from '2026-07-15 15:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347393 -3.383827)'), GeomFromEWKT('SRID=4674;POINT (-38.347383 -3.38382)'))) / (select extract(epoch from '2026-07-15 15:07:44'::timestamp) - extract(epoch from '2026-07-15 15: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.347305 -3.383768)', '2026-07-15 15:07:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347383 -3.38382)'), GeomFromEWKT('SRID=4674;POINT (-38.347305 -3.383768)'))) / (select extract(epoch from '2026-07-15 15:07:52'::timestamp) - extract(epoch from '2026-07-15 15:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347383 -3.38382)'), GeomFromEWKT('SRID=4674;POINT (-38.347305 -3.383768)'))) / (select extract(epoch from '2026-07-15 15:07:52'::timestamp) - extract(epoch from '2026-07-15 15:07:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347252 -3.383736)', '2026-07-15 15:07:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347305 -3.383768)'), GeomFromEWKT('SRID=4674;POINT (-38.347252 -3.383736)'))) / (select extract(epoch from '2026-07-15 15:07:59'::timestamp) - extract(epoch from '2026-07-15 15:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347305 -3.383768)'), GeomFromEWKT('SRID=4674;POINT (-38.347252 -3.383736)'))) / (select extract(epoch from '2026-07-15 15:07:59'::timestamp) - extract(epoch from '2026-07-15 15:07: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.347237 -3.383729)', '2026-07-15 15:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347252 -3.383736)'), GeomFromEWKT('SRID=4674;POINT (-38.347237 -3.383729)'))) / (select extract(epoch from '2026-07-15 15:08:01'::timestamp) - extract(epoch from '2026-07-15 15:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347252 -3.383736)'), GeomFromEWKT('SRID=4674;POINT (-38.347237 -3.383729)'))) / (select extract(epoch from '2026-07-15 15:08:01'::timestamp) - extract(epoch from '2026-07-15 15:07: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.347196 -3.383702)', '2026-07-15 15:08:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347237 -3.383729)'), GeomFromEWKT('SRID=4674;POINT (-38.347196 -3.383702)'))) / (select extract(epoch from '2026-07-15 15:08:06'::timestamp) - extract(epoch from '2026-07-15 15:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347237 -3.383729)'), GeomFromEWKT('SRID=4674;POINT (-38.347196 -3.383702)'))) / (select extract(epoch from '2026-07-15 15:08:06'::timestamp) - extract(epoch from '2026-07-15 15:08: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.347133 -3.383633)', '2026-07-15 15:08:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347196 -3.383702)'), GeomFromEWKT('SRID=4674;POINT (-38.347133 -3.383633)'))) / (select extract(epoch from '2026-07-15 15:08:15'::timestamp) - extract(epoch from '2026-07-15 15:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347196 -3.383702)'), GeomFromEWKT('SRID=4674;POINT (-38.347133 -3.383633)'))) / (select extract(epoch from '2026-07-15 15:08:15'::timestamp) - extract(epoch from '2026-07-15 15:08: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.347116 -3.383611)', '2026-07-15 15:08:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347133 -3.383633)'), GeomFromEWKT('SRID=4674;POINT (-38.347116 -3.383611)'))) / (select extract(epoch from '2026-07-15 15:08:18'::timestamp) - extract(epoch from '2026-07-15 15:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347133 -3.383633)'), GeomFromEWKT('SRID=4674;POINT (-38.347116 -3.383611)'))) / (select extract(epoch from '2026-07-15 15:08:18'::timestamp) - extract(epoch from '2026-07-15 15:08: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.347097 -3.383596)', '2026-07-15 15:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347116 -3.383611)'), GeomFromEWKT('SRID=4674;POINT (-38.347097 -3.383596)'))) / (select extract(epoch from '2026-07-15 15:08:21'::timestamp) - extract(epoch from '2026-07-15 15:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347116 -3.383611)'), GeomFromEWKT('SRID=4674;POINT (-38.347097 -3.383596)'))) / (select extract(epoch from '2026-07-15 15:08:21'::timestamp) - extract(epoch from '2026-07-15 15: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.347087 -3.383583)', '2026-07-15 15:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347097 -3.383596)'), GeomFromEWKT('SRID=4674;POINT (-38.347087 -3.383583)'))) / (select extract(epoch from '2026-07-15 15:08:23'::timestamp) - extract(epoch from '2026-07-15 15:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347097 -3.383596)'), GeomFromEWKT('SRID=4674;POINT (-38.347087 -3.383583)'))) / (select extract(epoch from '2026-07-15 15:08:23'::timestamp) - extract(epoch from '2026-07-15 15: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.347082 -3.383569)', '2026-07-15 15:08:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347087 -3.383583)'), GeomFromEWKT('SRID=4674;POINT (-38.347082 -3.383569)'))) / (select extract(epoch from '2026-07-15 15:08:25'::timestamp) - extract(epoch from '2026-07-15 15:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347087 -3.383583)'), GeomFromEWKT('SRID=4674;POINT (-38.347082 -3.383569)'))) / (select extract(epoch from '2026-07-15 15:08:25'::timestamp) - extract(epoch from '2026-07-15 15:08: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.347071 -3.383552)', '2026-07-15 15:08:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347082 -3.383569)'), GeomFromEWKT('SRID=4674;POINT (-38.347071 -3.383552)'))) / (select extract(epoch from '2026-07-15 15:08:28'::timestamp) - extract(epoch from '2026-07-15 15:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347082 -3.383569)'), GeomFromEWKT('SRID=4674;POINT (-38.347071 -3.383552)'))) / (select extract(epoch from '2026-07-15 15:08:28'::timestamp) - extract(epoch from '2026-07-15 15:08: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.34706 -3.383524)', '2026-07-15 15:08:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347071 -3.383552)'), GeomFromEWKT('SRID=4674;POINT (-38.34706 -3.383524)'))) / (select extract(epoch from '2026-07-15 15:08:35'::timestamp) - extract(epoch from '2026-07-15 15:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347071 -3.383552)'), GeomFromEWKT('SRID=4674;POINT (-38.34706 -3.383524)'))) / (select extract(epoch from '2026-07-15 15:08:35'::timestamp) - extract(epoch from '2026-07-15 15:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346989 -3.383468)', '2026-07-15 15:08:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34706 -3.383524)'), GeomFromEWKT('SRID=4674;POINT (-38.346989 -3.383468)'))) / (select extract(epoch from '2026-07-15 15:08:46'::timestamp) - extract(epoch from '2026-07-15 15:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34706 -3.383524)'), GeomFromEWKT('SRID=4674;POINT (-38.346989 -3.383468)'))) / (select extract(epoch from '2026-07-15 15:08:46'::timestamp) - extract(epoch from '2026-07-15 15: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.346984 -3.383463)', '2026-07-15 15:08:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346989 -3.383468)'), GeomFromEWKT('SRID=4674;POINT (-38.346984 -3.383463)'))) / (select extract(epoch from '2026-07-15 15:08:47'::timestamp) - extract(epoch from '2026-07-15 15:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346989 -3.383468)'), GeomFromEWKT('SRID=4674;POINT (-38.346984 -3.383463)'))) / (select extract(epoch from '2026-07-15 15:08:47'::timestamp) - extract(epoch from '2026-07-15 15:08: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.346938 -3.383432)', '2026-07-15 15:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346984 -3.383463)'), GeomFromEWKT('SRID=4674;POINT (-38.346938 -3.383432)'))) / (select extract(epoch from '2026-07-15 15:08:53'::timestamp) - extract(epoch from '2026-07-15 15:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346984 -3.383463)'), GeomFromEWKT('SRID=4674;POINT (-38.346938 -3.383432)'))) / (select extract(epoch from '2026-07-15 15:08:53'::timestamp) - extract(epoch from '2026-07-15 15:08: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.346863 -3.383391)', '2026-07-15 15:09:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346938 -3.383432)'), GeomFromEWKT('SRID=4674;POINT (-38.346863 -3.383391)'))) / (select extract(epoch from '2026-07-15 15:09:01'::timestamp) - extract(epoch from '2026-07-15 15:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346938 -3.383432)'), GeomFromEWKT('SRID=4674;POINT (-38.346863 -3.383391)'))) / (select extract(epoch from '2026-07-15 15:09:01'::timestamp) - extract(epoch from '2026-07-15 15:08: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.346832 -3.383379)', '2026-07-15 15:09:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346863 -3.383391)'), GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.383379)'))) / (select extract(epoch from '2026-07-15 15:09:04'::timestamp) - extract(epoch from '2026-07-15 15:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346863 -3.383391)'), GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.383379)'))) / (select extract(epoch from '2026-07-15 15:09:04'::timestamp) - extract(epoch from '2026-07-15 15:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346808 -3.383369)', '2026-07-15 15:09:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.383379)'), GeomFromEWKT('SRID=4674;POINT (-38.346808 -3.383369)'))) / (select extract(epoch from '2026-07-15 15:09:07'::timestamp) - extract(epoch from '2026-07-15 15:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.383379)'), GeomFromEWKT('SRID=4674;POINT (-38.346808 -3.383369)'))) / (select extract(epoch from '2026-07-15 15:09:07'::timestamp) - extract(epoch from '2026-07-15 15: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.346758 -3.383329)', '2026-07-15 15:09:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346808 -3.383369)'), GeomFromEWKT('SRID=4674;POINT (-38.346758 -3.383329)'))) / (select extract(epoch from '2026-07-15 15:09:14'::timestamp) - extract(epoch from '2026-07-15 15:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346808 -3.383369)'), GeomFromEWKT('SRID=4674;POINT (-38.346758 -3.383329)'))) / (select extract(epoch from '2026-07-15 15:09:14'::timestamp) - extract(epoch from '2026-07-15 15:09: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.346709 -3.383291)', '2026-07-15 15:09:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346758 -3.383329)'), GeomFromEWKT('SRID=4674;POINT (-38.346709 -3.383291)'))) / (select extract(epoch from '2026-07-15 15:09:20'::timestamp) - extract(epoch from '2026-07-15 15:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346758 -3.383329)'), GeomFromEWKT('SRID=4674;POINT (-38.346709 -3.383291)'))) / (select extract(epoch from '2026-07-15 15:09:20'::timestamp) - extract(epoch from '2026-07-15 15:09: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.346699 -3.383283)', '2026-07-15 15:09:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346709 -3.383291)'), GeomFromEWKT('SRID=4674;POINT (-38.346699 -3.383283)'))) / (select extract(epoch from '2026-07-15 15:09:21'::timestamp) - extract(epoch from '2026-07-15 15:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346709 -3.383291)'), GeomFromEWKT('SRID=4674;POINT (-38.346699 -3.383283)'))) / (select extract(epoch from '2026-07-15 15:09:21'::timestamp) - extract(epoch from '2026-07-15 15:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346626 -3.383228)', '2026-07-15 15:09:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346699 -3.383283)'), GeomFromEWKT('SRID=4674;POINT (-38.346626 -3.383228)'))) / (select extract(epoch from '2026-07-15 15:09:29'::timestamp) - extract(epoch from '2026-07-15 15:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346699 -3.383283)'), GeomFromEWKT('SRID=4674;POINT (-38.346626 -3.383228)'))) / (select extract(epoch from '2026-07-15 15:09:29'::timestamp) - extract(epoch from '2026-07-15 15:09: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.346563 -3.383183)', '2026-07-15 15:09:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346626 -3.383228)'), GeomFromEWKT('SRID=4674;POINT (-38.346563 -3.383183)'))) / (select extract(epoch from '2026-07-15 15:09:36'::timestamp) - extract(epoch from '2026-07-15 15:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346626 -3.383228)'), GeomFromEWKT('SRID=4674;POINT (-38.346563 -3.383183)'))) / (select extract(epoch from '2026-07-15 15:09:36'::timestamp) - extract(epoch from '2026-07-15 15:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346544 -3.383172)', '2026-07-15 15:09:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346563 -3.383183)'), GeomFromEWKT('SRID=4674;POINT (-38.346544 -3.383172)'))) / (select extract(epoch from '2026-07-15 15:09:38'::timestamp) - extract(epoch from '2026-07-15 15:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346563 -3.383183)'), GeomFromEWKT('SRID=4674;POINT (-38.346544 -3.383172)'))) / (select extract(epoch from '2026-07-15 15:09:38'::timestamp) - extract(epoch from '2026-07-15 15: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.346498 -3.383135)', '2026-07-15 15:09:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346544 -3.383172)'), GeomFromEWKT('SRID=4674;POINT (-38.346498 -3.383135)'))) / (select extract(epoch from '2026-07-15 15:09:43'::timestamp) - extract(epoch from '2026-07-15 15:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346544 -3.383172)'), GeomFromEWKT('SRID=4674;POINT (-38.346498 -3.383135)'))) / (select extract(epoch from '2026-07-15 15:09:43'::timestamp) - extract(epoch from '2026-07-15 15:09: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.346425 -3.383076)', '2026-07-15 15:09:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346498 -3.383135)'), GeomFromEWKT('SRID=4674;POINT (-38.346425 -3.383076)'))) / (select extract(epoch from '2026-07-15 15:09:51'::timestamp) - extract(epoch from '2026-07-15 15:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346498 -3.383135)'), GeomFromEWKT('SRID=4674;POINT (-38.346425 -3.383076)'))) / (select extract(epoch from '2026-07-15 15:09:51'::timestamp) - extract(epoch from '2026-07-15 15:09: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.346351 -3.383024)', '2026-07-15 15:09:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346425 -3.383076)'), GeomFromEWKT('SRID=4674;POINT (-38.346351 -3.383024)'))) / (select extract(epoch from '2026-07-15 15:09:58'::timestamp) - extract(epoch from '2026-07-15 15:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346425 -3.383076)'), GeomFromEWKT('SRID=4674;POINT (-38.346351 -3.383024)'))) / (select extract(epoch from '2026-07-15 15:09:58'::timestamp) - extract(epoch from '2026-07-15 15:09: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.346315 -3.382997)', '2026-07-15 15:10:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346351 -3.383024)'), GeomFromEWKT('SRID=4674;POINT (-38.346315 -3.382997)'))) / (select extract(epoch from '2026-07-15 15:10:02'::timestamp) - extract(epoch from '2026-07-15 15:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346351 -3.383024)'), GeomFromEWKT('SRID=4674;POINT (-38.346315 -3.382997)'))) / (select extract(epoch from '2026-07-15 15:10:02'::timestamp) - extract(epoch from '2026-07-15 15:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34629 -3.382977)', '2026-07-15 15:10:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346315 -3.382997)'), GeomFromEWKT('SRID=4674;POINT (-38.34629 -3.382977)'))) / (select extract(epoch from '2026-07-15 15:10:05'::timestamp) - extract(epoch from '2026-07-15 15:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346315 -3.382997)'), GeomFromEWKT('SRID=4674;POINT (-38.34629 -3.382977)'))) / (select extract(epoch from '2026-07-15 15:10:05'::timestamp) - extract(epoch from '2026-07-15 15:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346244 -3.38293)', '2026-07-15 15:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34629 -3.382977)'), GeomFromEWKT('SRID=4674;POINT (-38.346244 -3.38293)'))) / (select extract(epoch from '2026-07-15 15:10:11'::timestamp) - extract(epoch from '2026-07-15 15:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34629 -3.382977)'), GeomFromEWKT('SRID=4674;POINT (-38.346244 -3.38293)'))) / (select extract(epoch from '2026-07-15 15:10:11'::timestamp) - extract(epoch from '2026-07-15 15:10: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.346196 -3.382877)', '2026-07-15 15:10:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346244 -3.38293)'), GeomFromEWKT('SRID=4674;POINT (-38.346196 -3.382877)'))) / (select extract(epoch from '2026-07-15 15:10:17'::timestamp) - extract(epoch from '2026-07-15 15:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346244 -3.38293)'), GeomFromEWKT('SRID=4674;POINT (-38.346196 -3.382877)'))) / (select extract(epoch from '2026-07-15 15:10:17'::timestamp) - extract(epoch from '2026-07-15 15:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346155 -3.382842)', '2026-07-15 15:10:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346196 -3.382877)'), GeomFromEWKT('SRID=4674;POINT (-38.346155 -3.382842)'))) / (select extract(epoch from '2026-07-15 15:10:23'::timestamp) - extract(epoch from '2026-07-15 15:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346196 -3.382877)'), GeomFromEWKT('SRID=4674;POINT (-38.346155 -3.382842)'))) / (select extract(epoch from '2026-07-15 15:10:23'::timestamp) - extract(epoch from '2026-07-15 15:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346071 -3.382782)', '2026-07-15 15:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346155 -3.382842)'), GeomFromEWKT('SRID=4674;POINT (-38.346071 -3.382782)'))) / (select extract(epoch from '2026-07-15 15:10:34'::timestamp) - extract(epoch from '2026-07-15 15:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346155 -3.382842)'), GeomFromEWKT('SRID=4674;POINT (-38.346071 -3.382782)'))) / (select extract(epoch from '2026-07-15 15:10:34'::timestamp) - extract(epoch from '2026-07-15 15:10: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.345992 -3.382716)', '2026-07-15 15:10:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346071 -3.382782)'), GeomFromEWKT('SRID=4674;POINT (-38.345992 -3.382716)'))) / (select extract(epoch from '2026-07-15 15:10:44'::timestamp) - extract(epoch from '2026-07-15 15:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346071 -3.382782)'), GeomFromEWKT('SRID=4674;POINT (-38.345992 -3.382716)'))) / (select extract(epoch from '2026-07-15 15:10:44'::timestamp) - extract(epoch from '2026-07-15 15:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.345919 -3.382641)', '2026-07-15 15:10:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345992 -3.382716)'), GeomFromEWKT('SRID=4674;POINT (-38.345919 -3.382641)'))) / (select extract(epoch from '2026-07-15 15:10:52'::timestamp) - extract(epoch from '2026-07-15 15:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345992 -3.382716)'), GeomFromEWKT('SRID=4674;POINT (-38.345919 -3.382641)'))) / (select extract(epoch from '2026-07-15 15:10:52'::timestamp) - extract(epoch from '2026-07-15 15:10: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.345855 -3.38259)', '2026-07-15 15:10:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345919 -3.382641)'), GeomFromEWKT('SRID=4674;POINT (-38.345855 -3.38259)'))) / (select extract(epoch from '2026-07-15 15:10:59'::timestamp) - extract(epoch from '2026-07-15 15:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345919 -3.382641)'), GeomFromEWKT('SRID=4674;POINT (-38.345855 -3.38259)'))) / (select extract(epoch from '2026-07-15 15:10:59'::timestamp) - extract(epoch from '2026-07-15 15:10: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.34578 -3.382522)', '2026-07-15 15:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345855 -3.38259)'), GeomFromEWKT('SRID=4674;POINT (-38.34578 -3.382522)'))) / (select extract(epoch from '2026-07-15 15:11:07'::timestamp) - extract(epoch from '2026-07-15 15:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345855 -3.38259)'), GeomFromEWKT('SRID=4674;POINT (-38.34578 -3.382522)'))) / (select extract(epoch from '2026-07-15 15:11:07'::timestamp) - extract(epoch from '2026-07-15 15:10: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.34574 -3.382479)', '2026-07-15 15:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34578 -3.382522)'), GeomFromEWKT('SRID=4674;POINT (-38.34574 -3.382479)'))) / (select extract(epoch from '2026-07-15 15:11:13'::timestamp) - extract(epoch from '2026-07-15 15:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34578 -3.382522)'), GeomFromEWKT('SRID=4674;POINT (-38.34574 -3.382479)'))) / (select extract(epoch from '2026-07-15 15:11:13'::timestamp) - extract(epoch from '2026-07-15 15:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.345685 -3.382424)', '2026-07-15 15:11:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34574 -3.382479)'), GeomFromEWKT('SRID=4674;POINT (-38.345685 -3.382424)'))) / (select extract(epoch from '2026-07-15 15:11:20'::timestamp) - extract(epoch from '2026-07-15 15:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34574 -3.382479)'), GeomFromEWKT('SRID=4674;POINT (-38.345685 -3.382424)'))) / (select extract(epoch from '2026-07-15 15:11:20'::timestamp) - extract(epoch from '2026-07-15 15:11:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.345633 -3.382371)', '2026-07-15 15:11:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345685 -3.382424)'), GeomFromEWKT('SRID=4674;POINT (-38.345633 -3.382371)'))) / (select extract(epoch from '2026-07-15 15:11:28'::timestamp) - extract(epoch from '2026-07-15 15:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345685 -3.382424)'), GeomFromEWKT('SRID=4674;POINT (-38.345633 -3.382371)'))) / (select extract(epoch from '2026-07-15 15:11:28'::timestamp) - extract(epoch from '2026-07-15 15:11:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.345579 -3.382326)', '2026-07-15 15:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345633 -3.382371)'), GeomFromEWKT('SRID=4674;POINT (-38.345579 -3.382326)'))) / (select extract(epoch from '2026-07-15 15:11:36'::timestamp) - extract(epoch from '2026-07-15 15:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345633 -3.382371)'), GeomFromEWKT('SRID=4674;POINT (-38.345579 -3.382326)'))) / (select extract(epoch from '2026-07-15 15:11:36'::timestamp) - extract(epoch from '2026-07-15 15:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.345569 -3.382321)', '2026-07-15 15:11:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345579 -3.382326)'), GeomFromEWKT('SRID=4674;POINT (-38.345569 -3.382321)'))) / (select extract(epoch from '2026-07-15 15:11:37'::timestamp) - extract(epoch from '2026-07-15 15:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345579 -3.382326)'), GeomFromEWKT('SRID=4674;POINT (-38.345569 -3.382321)'))) / (select extract(epoch from '2026-07-15 15:11:37'::timestamp) - extract(epoch from '2026-07-15 15:11: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.345537 -3.3823)', '2026-07-15 15:11:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345569 -3.382321)'), GeomFromEWKT('SRID=4674;POINT (-38.345537 -3.3823)'))) / (select extract(epoch from '2026-07-15 15:11:41'::timestamp) - extract(epoch from '2026-07-15 15:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345569 -3.382321)'), GeomFromEWKT('SRID=4674;POINT (-38.345537 -3.3823)'))) / (select extract(epoch from '2026-07-15 15:11:41'::timestamp) - extract(epoch from '2026-07-15 15:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.345526 -3.382295)', '2026-07-15 15:11:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345537 -3.3823)'), GeomFromEWKT('SRID=4674;POINT (-38.345526 -3.382295)'))) / (select extract(epoch from '2026-07-15 15:11:42'::timestamp) - extract(epoch from '2026-07-15 15:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345537 -3.3823)'), GeomFromEWKT('SRID=4674;POINT (-38.345526 -3.382295)'))) / (select extract(epoch from '2026-07-15 15:11:42'::timestamp) - extract(epoch from '2026-07-15 15:11: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.345471 -3.382262)', '2026-07-15 15:11:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345526 -3.382295)'), GeomFromEWKT('SRID=4674;POINT (-38.345471 -3.382262)'))) / (select extract(epoch from '2026-07-15 15:11:48'::timestamp) - extract(epoch from '2026-07-15 15:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345526 -3.382295)'), GeomFromEWKT('SRID=4674;POINT (-38.345471 -3.382262)'))) / (select extract(epoch from '2026-07-15 15:11:48'::timestamp) - extract(epoch from '2026-07-15 15:11: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.345413 -3.382238)', '2026-07-15 15:11:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345471 -3.382262)'), GeomFromEWKT('SRID=4674;POINT (-38.345413 -3.382238)'))) / (select extract(epoch from '2026-07-15 15:11:54'::timestamp) - extract(epoch from '2026-07-15 15:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345471 -3.382262)'), GeomFromEWKT('SRID=4674;POINT (-38.345413 -3.382238)'))) / (select extract(epoch from '2026-07-15 15:11:54'::timestamp) - extract(epoch from '2026-07-15 15:11: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.345331 -3.3822)', '2026-07-15 15:12:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345413 -3.382238)'), GeomFromEWKT('SRID=4674;POINT (-38.345331 -3.3822)'))) / (select extract(epoch from '2026-07-15 15:12:02'::timestamp) - extract(epoch from '2026-07-15 15:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345413 -3.382238)'), GeomFromEWKT('SRID=4674;POINT (-38.345331 -3.3822)'))) / (select extract(epoch from '2026-07-15 15:12:02'::timestamp) - extract(epoch from '2026-07-15 15:11: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.345316 -3.382188)', '2026-07-15 15:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345331 -3.3822)'), GeomFromEWKT('SRID=4674;POINT (-38.345316 -3.382188)'))) / (select extract(epoch from '2026-07-15 15:12:04'::timestamp) - extract(epoch from '2026-07-15 15:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345331 -3.3822)'), GeomFromEWKT('SRID=4674;POINT (-38.345316 -3.382188)'))) / (select extract(epoch from '2026-07-15 15:12:04'::timestamp) - extract(epoch from '2026-07-15 15:12: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.345292 -3.382182)', '2026-07-15 15:12:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345316 -3.382188)'), GeomFromEWKT('SRID=4674;POINT (-38.345292 -3.382182)'))) / (select extract(epoch from '2026-07-15 15:12:06'::timestamp) - extract(epoch from '2026-07-15 15:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345316 -3.382188)'), GeomFromEWKT('SRID=4674;POINT (-38.345292 -3.382182)'))) / (select extract(epoch from '2026-07-15 15:12:06'::timestamp) - extract(epoch from '2026-07-15 15:12: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.345283 -3.382178)', '2026-07-15 15:12:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345292 -3.382182)'), GeomFromEWKT('SRID=4674;POINT (-38.345283 -3.382178)'))) / (select extract(epoch from '2026-07-15 15:12:07'::timestamp) - extract(epoch from '2026-07-15 15:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345292 -3.382182)'), GeomFromEWKT('SRID=4674;POINT (-38.345283 -3.382178)'))) / (select extract(epoch from '2026-07-15 15:12:07'::timestamp) - extract(epoch from '2026-07-15 15:12: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.345224 -3.382139)', '2026-07-15 15:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345283 -3.382178)'), GeomFromEWKT('SRID=4674;POINT (-38.345224 -3.382139)'))) / (select extract(epoch from '2026-07-15 15:12:13'::timestamp) - extract(epoch from '2026-07-15 15:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345283 -3.382178)'), GeomFromEWKT('SRID=4674;POINT (-38.345224 -3.382139)'))) / (select extract(epoch from '2026-07-15 15:12:13'::timestamp) - extract(epoch from '2026-07-15 15:12:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.345145 -3.382067)', '2026-07-15 15:12:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345224 -3.382139)'), GeomFromEWKT('SRID=4674;POINT (-38.345145 -3.382067)'))) / (select extract(epoch from '2026-07-15 15:12:21'::timestamp) - extract(epoch from '2026-07-15 15:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345224 -3.382139)'), GeomFromEWKT('SRID=4674;POINT (-38.345145 -3.382067)'))) / (select extract(epoch from '2026-07-15 15:12:21'::timestamp) - extract(epoch from '2026-07-15 15:12: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.34509 -3.38202)', '2026-07-15 15:12:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345145 -3.382067)'), GeomFromEWKT('SRID=4674;POINT (-38.34509 -3.38202)'))) / (select extract(epoch from '2026-07-15 15:12:27'::timestamp) - extract(epoch from '2026-07-15 15:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345145 -3.382067)'), GeomFromEWKT('SRID=4674;POINT (-38.34509 -3.38202)'))) / (select extract(epoch from '2026-07-15 15:12:27'::timestamp) - extract(epoch from '2026-07-15 15:12: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.345038 -3.381965)', '2026-07-15 15:12:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34509 -3.38202)'), GeomFromEWKT('SRID=4674;POINT (-38.345038 -3.381965)'))) / (select extract(epoch from '2026-07-15 15:12:33'::timestamp) - extract(epoch from '2026-07-15 15:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34509 -3.38202)'), GeomFromEWKT('SRID=4674;POINT (-38.345038 -3.381965)'))) / (select extract(epoch from '2026-07-15 15:12:33'::timestamp) - extract(epoch from '2026-07-15 15:12: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.344983 -3.381916)', '2026-07-15 15:12:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345038 -3.381965)'), GeomFromEWKT('SRID=4674;POINT (-38.344983 -3.381916)'))) / (select extract(epoch from '2026-07-15 15:12:39'::timestamp) - extract(epoch from '2026-07-15 15:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.345038 -3.381965)'), GeomFromEWKT('SRID=4674;POINT (-38.344983 -3.381916)'))) / (select extract(epoch from '2026-07-15 15:12:39'::timestamp) - extract(epoch from '2026-07-15 15:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.344897 -3.38186)', '2026-07-15 15:12:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344983 -3.381916)'), GeomFromEWKT('SRID=4674;POINT (-38.344897 -3.38186)'))) / (select extract(epoch from '2026-07-15 15:12:47'::timestamp) - extract(epoch from '2026-07-15 15:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344983 -3.381916)'), GeomFromEWKT('SRID=4674;POINT (-38.344897 -3.38186)'))) / (select extract(epoch from '2026-07-15 15:12:47'::timestamp) - extract(epoch from '2026-07-15 15:12: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.344816 -3.381798)', '2026-07-15 15:12:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344897 -3.38186)'), GeomFromEWKT('SRID=4674;POINT (-38.344816 -3.381798)'))) / (select extract(epoch from '2026-07-15 15:12:54'::timestamp) - extract(epoch from '2026-07-15 15:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344897 -3.38186)'), GeomFromEWKT('SRID=4674;POINT (-38.344816 -3.381798)'))) / (select extract(epoch from '2026-07-15 15:12:54'::timestamp) - extract(epoch from '2026-07-15 15:12: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.344748 -3.381736)', '2026-07-15 15:13:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344816 -3.381798)'), GeomFromEWKT('SRID=4674;POINT (-38.344748 -3.381736)'))) / (select extract(epoch from '2026-07-15 15:13:01'::timestamp) - extract(epoch from '2026-07-15 15:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344816 -3.381798)'), GeomFromEWKT('SRID=4674;POINT (-38.344748 -3.381736)'))) / (select extract(epoch from '2026-07-15 15:13:01'::timestamp) - extract(epoch from '2026-07-15 15:12:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.344693 -3.381685)', '2026-07-15 15:13:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344748 -3.381736)'), GeomFromEWKT('SRID=4674;POINT (-38.344693 -3.381685)'))) / (select extract(epoch from '2026-07-15 15:13:07'::timestamp) - extract(epoch from '2026-07-15 15:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344748 -3.381736)'), GeomFromEWKT('SRID=4674;POINT (-38.344693 -3.381685)'))) / (select extract(epoch from '2026-07-15 15:13:07'::timestamp) - extract(epoch from '2026-07-15 15:13: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.344647 -3.381632)', '2026-07-15 15:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344693 -3.381685)'), GeomFromEWKT('SRID=4674;POINT (-38.344647 -3.381632)'))) / (select extract(epoch from '2026-07-15 15:13:14'::timestamp) - extract(epoch from '2026-07-15 15:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344693 -3.381685)'), GeomFromEWKT('SRID=4674;POINT (-38.344647 -3.381632)'))) / (select extract(epoch from '2026-07-15 15:13:14'::timestamp) - extract(epoch from '2026-07-15 15:13: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.344587 -3.381567)', '2026-07-15 15:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344647 -3.381632)'), GeomFromEWKT('SRID=4674;POINT (-38.344587 -3.381567)'))) / (select extract(epoch from '2026-07-15 15:13:22'::timestamp) - extract(epoch from '2026-07-15 15:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344647 -3.381632)'), GeomFromEWKT('SRID=4674;POINT (-38.344587 -3.381567)'))) / (select extract(epoch from '2026-07-15 15:13:22'::timestamp) - extract(epoch from '2026-07-15 15: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.344522 -3.3815)', '2026-07-15 15:13:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344587 -3.381567)'), GeomFromEWKT('SRID=4674;POINT (-38.344522 -3.3815)'))) / (select extract(epoch from '2026-07-15 15:13:29'::timestamp) - extract(epoch from '2026-07-15 15:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344587 -3.381567)'), GeomFromEWKT('SRID=4674;POINT (-38.344522 -3.3815)'))) / (select extract(epoch from '2026-07-15 15:13:29'::timestamp) - extract(epoch from '2026-07-15 15: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.344469 -3.381449)', '2026-07-15 15:13:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344522 -3.3815)'), GeomFromEWKT('SRID=4674;POINT (-38.344469 -3.381449)'))) / (select extract(epoch from '2026-07-15 15:13:34'::timestamp) - extract(epoch from '2026-07-15 15:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344522 -3.3815)'), GeomFromEWKT('SRID=4674;POINT (-38.344469 -3.381449)'))) / (select extract(epoch from '2026-07-15 15:13:34'::timestamp) - extract(epoch from '2026-07-15 15:13: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.344403 -3.381386)', '2026-07-15 15:13:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344469 -3.381449)'), GeomFromEWKT('SRID=4674;POINT (-38.344403 -3.381386)'))) / (select extract(epoch from '2026-07-15 15:13:41'::timestamp) - extract(epoch from '2026-07-15 15:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344469 -3.381449)'), GeomFromEWKT('SRID=4674;POINT (-38.344403 -3.381386)'))) / (select extract(epoch from '2026-07-15 15:13:41'::timestamp) - extract(epoch from '2026-07-15 15:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.344326 -3.38131)', '2026-07-15 15:13:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344403 -3.381386)'), GeomFromEWKT('SRID=4674;POINT (-38.344326 -3.38131)'))) / (select extract(epoch from '2026-07-15 15:13:49'::timestamp) - extract(epoch from '2026-07-15 15:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344403 -3.381386)'), GeomFromEWKT('SRID=4674;POINT (-38.344326 -3.38131)'))) / (select extract(epoch from '2026-07-15 15:13:49'::timestamp) - extract(epoch from '2026-07-15 15:13: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.344263 -3.381257)', '2026-07-15 15:13:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344326 -3.38131)'), GeomFromEWKT('SRID=4674;POINT (-38.344263 -3.381257)'))) / (select extract(epoch from '2026-07-15 15:13:55'::timestamp) - extract(epoch from '2026-07-15 15:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344326 -3.38131)'), GeomFromEWKT('SRID=4674;POINT (-38.344263 -3.381257)'))) / (select extract(epoch from '2026-07-15 15:13:55'::timestamp) - extract(epoch from '2026-07-15 15:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.344173 -3.381184)', '2026-07-15 15:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344263 -3.381257)'), GeomFromEWKT('SRID=4674;POINT (-38.344173 -3.381184)'))) / (select extract(epoch from '2026-07-15 15:14:03'::timestamp) - extract(epoch from '2026-07-15 15:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344263 -3.381257)'), GeomFromEWKT('SRID=4674;POINT (-38.344173 -3.381184)'))) / (select extract(epoch from '2026-07-15 15:14:03'::timestamp) - extract(epoch from '2026-07-15 15:13: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.34411 -3.381142)', '2026-07-15 15:14:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344173 -3.381184)'), GeomFromEWKT('SRID=4674;POINT (-38.34411 -3.381142)'))) / (select extract(epoch from '2026-07-15 15:14:09'::timestamp) - extract(epoch from '2026-07-15 15:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.344173 -3.381184)'), GeomFromEWKT('SRID=4674;POINT (-38.34411 -3.381142)'))) / (select extract(epoch from '2026-07-15 15:14:09'::timestamp) - extract(epoch from '2026-07-15 15:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
