 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637276 -3.628823)', '2026-07-21 17:54:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.62883)'), GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628823)'))) / (select extract(epoch from '2026-07-21 17:54:00'::timestamp) - extract(epoch from '2026-07-21 17:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.62883)'), GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628823)'))) / (select extract(epoch from '2026-07-21 17:54:00'::timestamp) - extract(epoch from '2026-07-21 17:53: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'), 47374, 'SRID=4674;POINT (-38.637271 -3.628822)', '2026-07-21 17:54:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628823)'), GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628822)'))) / (select extract(epoch from '2026-07-21 17:54:10'::timestamp) - extract(epoch from '2026-07-21 17:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628823)'), GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628822)'))) / (select extract(epoch from '2026-07-21 17:54:10'::timestamp) - extract(epoch from '2026-07-21 17:54:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637271 -3.628809)', '2026-07-21 17:54:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628822)'), GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628809)'))) / (select extract(epoch from '2026-07-21 17:54:31'::timestamp) - extract(epoch from '2026-07-21 17:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628822)'), GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628809)'))) / (select extract(epoch from '2026-07-21 17:54:31'::timestamp) - extract(epoch from '2026-07-21 17:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637264 -3.628804)', '2026-07-21 17:54:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628809)'), GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628804)'))) / (select extract(epoch from '2026-07-21 17:54:37'::timestamp) - extract(epoch from '2026-07-21 17:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628809)'), GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628804)'))) / (select extract(epoch from '2026-07-21 17:54:37'::timestamp) - extract(epoch from '2026-07-21 17:54:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637258 -3.6288)', '2026-07-21 17:54:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628804)'), GeomFromEWKT('SRID=4674;POINT (-38.637258 -3.6288)'))) / (select extract(epoch from '2026-07-21 17:54:43'::timestamp) - extract(epoch from '2026-07-21 17:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628804)'), GeomFromEWKT('SRID=4674;POINT (-38.637258 -3.6288)'))) / (select extract(epoch from '2026-07-21 17:54:43'::timestamp) - extract(epoch from '2026-07-21 17:54: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'), 47374, 'SRID=4674;POINT (-38.637278 -3.628811)', '2026-07-21 17:55:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637258 -3.6288)'), GeomFromEWKT('SRID=4674;POINT (-38.637278 -3.628811)'))) / (select extract(epoch from '2026-07-21 17:55:05'::timestamp) - extract(epoch from '2026-07-21 17:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637258 -3.6288)'), GeomFromEWKT('SRID=4674;POINT (-38.637278 -3.628811)'))) / (select extract(epoch from '2026-07-21 17:55:05'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.637275 -3.628813)', '2026-07-21 17:55:06', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637278 -3.628811)'), GeomFromEWKT('SRID=4674;POINT (-38.637275 -3.628813)'))) / (select extract(epoch from '2026-07-21 17:55:06'::timestamp) - extract(epoch from '2026-07-21 17:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637278 -3.628811)'), GeomFromEWKT('SRID=4674;POINT (-38.637275 -3.628813)'))) / (select extract(epoch from '2026-07-21 17:55:06'::timestamp) - extract(epoch from '2026-07-21 17:55: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'), 47374, 'SRID=4674;POINT (-38.637273 -3.628813)', '2026-07-21 17:55:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637275 -3.628813)'), GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628813)'))) / (select extract(epoch from '2026-07-21 17:55:09'::timestamp) - extract(epoch from '2026-07-21 17:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637275 -3.628813)'), GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628813)'))) / (select extract(epoch from '2026-07-21 17:55:09'::timestamp) - extract(epoch from '2026-07-21 17:55: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'), 47374, 'SRID=4674;POINT (-38.637276 -3.628819)', '2026-07-21 17:55:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628813)'), GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628819)'))) / (select extract(epoch from '2026-07-21 17:55:21'::timestamp) - extract(epoch from '2026-07-21 17:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628813)'), GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628819)'))) / (select extract(epoch from '2026-07-21 17:55:21'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.637269 -3.628811)', '2026-07-21 17:55:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628819)'), GeomFromEWKT('SRID=4674;POINT (-38.637269 -3.628811)'))) / (select extract(epoch from '2026-07-21 17:55:35'::timestamp) - extract(epoch from '2026-07-21 17:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628819)'), GeomFromEWKT('SRID=4674;POINT (-38.637269 -3.628811)'))) / (select extract(epoch from '2026-07-21 17:55:35'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.637267 -3.628814)', '2026-07-21 17:56:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637269 -3.628811)'), GeomFromEWKT('SRID=4674;POINT (-38.637267 -3.628814)'))) / (select extract(epoch from '2026-07-21 17:56:18'::timestamp) - extract(epoch from '2026-07-21 17:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637269 -3.628811)'), GeomFromEWKT('SRID=4674;POINT (-38.637267 -3.628814)'))) / (select extract(epoch from '2026-07-21 17:56:18'::timestamp) - extract(epoch from '2026-07-21 17:55: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'), 47374, 'SRID=4674;POINT (-38.637267 -3.628813)', '2026-07-21 17:56:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637267 -3.628814)'), GeomFromEWKT('SRID=4674;POINT (-38.637267 -3.628813)'))) / (select extract(epoch from '2026-07-21 17:56:24'::timestamp) - extract(epoch from '2026-07-21 17:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637267 -3.628814)'), GeomFromEWKT('SRID=4674;POINT (-38.637267 -3.628813)'))) / (select extract(epoch from '2026-07-21 17:56:24'::timestamp) - extract(epoch from '2026-07-21 17:56: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'), 47374, 'SRID=4674;POINT (-38.637264 -3.628817)', '2026-07-21 17:56:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637267 -3.628813)'), GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628817)'))) / (select extract(epoch from '2026-07-21 17:56:31'::timestamp) - extract(epoch from '2026-07-21 17:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637267 -3.628813)'), GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628817)'))) / (select extract(epoch from '2026-07-21 17:56:31'::timestamp) - extract(epoch from '2026-07-21 17:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637261 -3.628816)', '2026-07-21 17:57:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628817)'), GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628816)'))) / (select extract(epoch from '2026-07-21 17:57:12'::timestamp) - extract(epoch from '2026-07-21 17:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628817)'), GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628816)'))) / (select extract(epoch from '2026-07-21 17:57:12'::timestamp) - extract(epoch from '2026-07-21 17:56: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'), 47374, 'SRID=4674;POINT (-38.637266 -3.628822)', '2026-07-21 17:57:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628816)'), GeomFromEWKT('SRID=4674;POINT (-38.637266 -3.628822)'))) / (select extract(epoch from '2026-07-21 17:57:19'::timestamp) - extract(epoch from '2026-07-21 17:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628816)'), GeomFromEWKT('SRID=4674;POINT (-38.637266 -3.628822)'))) / (select extract(epoch from '2026-07-21 17:57:19'::timestamp) - extract(epoch from '2026-07-21 17:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63727 -3.628819)', '2026-07-21 17:57:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637266 -3.628822)'), GeomFromEWKT('SRID=4674;POINT (-38.63727 -3.628819)'))) / (select extract(epoch from '2026-07-21 17:57:40'::timestamp) - extract(epoch from '2026-07-21 17:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637266 -3.628822)'), GeomFromEWKT('SRID=4674;POINT (-38.63727 -3.628819)'))) / (select extract(epoch from '2026-07-21 17:57:40'::timestamp) - extract(epoch from '2026-07-21 17:57: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'), 47374, 'SRID=4674;POINT (-38.637269 -3.628843)', '2026-07-21 17:57:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63727 -3.628819)'), GeomFromEWKT('SRID=4674;POINT (-38.637269 -3.628843)'))) / (select extract(epoch from '2026-07-21 17:57:53'::timestamp) - extract(epoch from '2026-07-21 17:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63727 -3.628819)'), GeomFromEWKT('SRID=4674;POINT (-38.637269 -3.628843)'))) / (select extract(epoch from '2026-07-21 17:57:53'::timestamp) - extract(epoch from '2026-07-21 17:57: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'), 47374, 'SRID=4674;POINT (-38.637276 -3.628848)', '2026-07-21 17:58:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637269 -3.628843)'), GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628848)'))) / (select extract(epoch from '2026-07-21 17:58:15'::timestamp) - extract(epoch from '2026-07-21 17:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637269 -3.628843)'), GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628848)'))) / (select extract(epoch from '2026-07-21 17:58:15'::timestamp) - extract(epoch from '2026-07-21 17:57: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'), 47374, 'SRID=4674;POINT (-38.637271 -3.628834)', '2026-07-21 17:58:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628848)'), GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628834)'))) / (select extract(epoch from '2026-07-21 17:58:22'::timestamp) - extract(epoch from '2026-07-21 17:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628848)'), GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628834)'))) / (select extract(epoch from '2026-07-21 17:58:22'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.637276 -3.628834)', '2026-07-21 17:58:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628834)'), GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628834)'))) / (select extract(epoch from '2026-07-21 17:58:30'::timestamp) - extract(epoch from '2026-07-21 17:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.628834)'), GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628834)'))) / (select extract(epoch from '2026-07-21 17:58:30'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.637275 -3.62885)', '2026-07-21 17:59:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628834)'), GeomFromEWKT('SRID=4674;POINT (-38.637275 -3.62885)'))) / (select extract(epoch from '2026-07-21 17:59:45'::timestamp) - extract(epoch from '2026-07-21 17:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637276 -3.628834)'), GeomFromEWKT('SRID=4674;POINT (-38.637275 -3.62885)'))) / (select extract(epoch from '2026-07-21 17:59:45'::timestamp) - extract(epoch from '2026-07-21 17:58: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'), 47374, 'SRID=4674;POINT (-38.637258 -3.628845)', '2026-07-21 18:00:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637275 -3.62885)'), GeomFromEWKT('SRID=4674;POINT (-38.637258 -3.628845)'))) / (select extract(epoch from '2026-07-21 18:00:16'::timestamp) - extract(epoch from '2026-07-21 17:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637275 -3.62885)'), GeomFromEWKT('SRID=4674;POINT (-38.637258 -3.628845)'))) / (select extract(epoch from '2026-07-21 18:00:16'::timestamp) - extract(epoch from '2026-07-21 17:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637264 -3.628846)', '2026-07-21 18:00:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637258 -3.628845)'), GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628846)'))) / (select extract(epoch from '2026-07-21 18:00:24'::timestamp) - extract(epoch from '2026-07-21 18:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637258 -3.628845)'), GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628846)'))) / (select extract(epoch from '2026-07-21 18:00:24'::timestamp) - extract(epoch from '2026-07-21 18:00: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'), 47374, 'SRID=4674;POINT (-38.637261 -3.628816)', '2026-07-21 18:01:43', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628846)'), GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628816)'))) / (select extract(epoch from '2026-07-21 18:01:43'::timestamp) - extract(epoch from '2026-07-21 18:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.628846)'), GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628816)'))) / (select extract(epoch from '2026-07-21 18:01:43'::timestamp) - extract(epoch from '2026-07-21 18:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637261 -3.628822)', '2026-07-21 18:01:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628816)'), GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628822)'))) / (select extract(epoch from '2026-07-21 18:01:52'::timestamp) - extract(epoch from '2026-07-21 18:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628816)'), GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628822)'))) / (select extract(epoch from '2026-07-21 18:01:52'::timestamp) - extract(epoch from '2026-07-21 18:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637273 -3.628811)', '2026-07-21 18:02:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628822)'), GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628811)'))) / (select extract(epoch from '2026-07-21 18:02:04'::timestamp) - extract(epoch from '2026-07-21 18:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637261 -3.628822)'), GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628811)'))) / (select extract(epoch from '2026-07-21 18:02:04'::timestamp) - extract(epoch from '2026-07-21 18:01:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637274 -3.628812)', '2026-07-21 18:02:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628811)'), GeomFromEWKT('SRID=4674;POINT (-38.637274 -3.628812)'))) / (select extract(epoch from '2026-07-21 18:02:21'::timestamp) - extract(epoch from '2026-07-21 18:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628811)'), GeomFromEWKT('SRID=4674;POINT (-38.637274 -3.628812)'))) / (select extract(epoch from '2026-07-21 18:02:21'::timestamp) - extract(epoch from '2026-07-21 18:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637239 -3.628791)', '2026-07-21 18:02:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637274 -3.628812)'), GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.628791)'))) / (select extract(epoch from '2026-07-21 18:02:55'::timestamp) - extract(epoch from '2026-07-21 18:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637274 -3.628812)'), GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.628791)'))) / (select extract(epoch from '2026-07-21 18:02:55'::timestamp) - extract(epoch from '2026-07-21 18:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637228 -3.628787)', '2026-07-21 18:03:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.628791)'), GeomFromEWKT('SRID=4674;POINT (-38.637228 -3.628787)'))) / (select extract(epoch from '2026-07-21 18:03:01'::timestamp) - extract(epoch from '2026-07-21 18:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.628791)'), GeomFromEWKT('SRID=4674;POINT (-38.637228 -3.628787)'))) / (select extract(epoch from '2026-07-21 18:03:01'::timestamp) - extract(epoch from '2026-07-21 18:02: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'), 47374, 'SRID=4674;POINT (-38.637207 -3.628787)', '2026-07-21 18:03:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637228 -3.628787)'), GeomFromEWKT('SRID=4674;POINT (-38.637207 -3.628787)'))) / (select extract(epoch from '2026-07-21 18:03:14'::timestamp) - extract(epoch from '2026-07-21 18:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637228 -3.628787)'), GeomFromEWKT('SRID=4674;POINT (-38.637207 -3.628787)'))) / (select extract(epoch from '2026-07-21 18:03:14'::timestamp) - extract(epoch from '2026-07-21 18:03: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'), 47374, 'SRID=4674;POINT (-38.637164 -3.62879)', '2026-07-21 18:03:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637207 -3.628787)'), GeomFromEWKT('SRID=4674;POINT (-38.637164 -3.62879)'))) / (select extract(epoch from '2026-07-21 18:03:22'::timestamp) - extract(epoch from '2026-07-21 18:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637207 -3.628787)'), GeomFromEWKT('SRID=4674;POINT (-38.637164 -3.62879)'))) / (select extract(epoch from '2026-07-21 18:03:22'::timestamp) - extract(epoch from '2026-07-21 18:03: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'), 47374, 'SRID=4674;POINT (-38.637135 -3.628792)', '2026-07-21 18:03:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637164 -3.62879)'), GeomFromEWKT('SRID=4674;POINT (-38.637135 -3.628792)'))) / (select extract(epoch from '2026-07-21 18:03:28'::timestamp) - extract(epoch from '2026-07-21 18:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637164 -3.62879)'), GeomFromEWKT('SRID=4674;POINT (-38.637135 -3.628792)'))) / (select extract(epoch from '2026-07-21 18:03:28'::timestamp) - extract(epoch from '2026-07-21 18:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637092 -3.628806)', '2026-07-21 18:03:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637135 -3.628792)'), GeomFromEWKT('SRID=4674;POINT (-38.637092 -3.628806)'))) / (select extract(epoch from '2026-07-21 18:03:37'::timestamp) - extract(epoch from '2026-07-21 18:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637135 -3.628792)'), GeomFromEWKT('SRID=4674;POINT (-38.637092 -3.628806)'))) / (select extract(epoch from '2026-07-21 18:03:37'::timestamp) - extract(epoch from '2026-07-21 18:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637064 -3.628816)', '2026-07-21 18:03:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637092 -3.628806)'), GeomFromEWKT('SRID=4674;POINT (-38.637064 -3.628816)'))) / (select extract(epoch from '2026-07-21 18:03:45'::timestamp) - extract(epoch from '2026-07-21 18:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637092 -3.628806)'), GeomFromEWKT('SRID=4674;POINT (-38.637064 -3.628816)'))) / (select extract(epoch from '2026-07-21 18:03:45'::timestamp) - extract(epoch from '2026-07-21 18:03: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'), 47374, 'SRID=4674;POINT (-38.637011 -3.628839)', '2026-07-21 18:04:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637064 -3.628816)'), GeomFromEWKT('SRID=4674;POINT (-38.637011 -3.628839)'))) / (select extract(epoch from '2026-07-21 18:04:06'::timestamp) - extract(epoch from '2026-07-21 18:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637064 -3.628816)'), GeomFromEWKT('SRID=4674;POINT (-38.637011 -3.628839)'))) / (select extract(epoch from '2026-07-21 18:04:06'::timestamp) - extract(epoch from '2026-07-21 18:03: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'), 47374, 'SRID=4674;POINT (-38.636962 -3.628846)', '2026-07-21 18:04:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637011 -3.628839)'), GeomFromEWKT('SRID=4674;POINT (-38.636962 -3.628846)'))) / (select extract(epoch from '2026-07-21 18:04:21'::timestamp) - extract(epoch from '2026-07-21 18:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637011 -3.628839)'), GeomFromEWKT('SRID=4674;POINT (-38.636962 -3.628846)'))) / (select extract(epoch from '2026-07-21 18:04:21'::timestamp) - extract(epoch from '2026-07-21 18:04: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'), 47374, 'SRID=4674;POINT (-38.636923 -3.628874)', '2026-07-21 18:04:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636962 -3.628846)'), GeomFromEWKT('SRID=4674;POINT (-38.636923 -3.628874)'))) / (select extract(epoch from '2026-07-21 18:04:28'::timestamp) - extract(epoch from '2026-07-21 18:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636962 -3.628846)'), GeomFromEWKT('SRID=4674;POINT (-38.636923 -3.628874)'))) / (select extract(epoch from '2026-07-21 18:04:28'::timestamp) - extract(epoch from '2026-07-21 18:04: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'), 47374, 'SRID=4674;POINT (-38.6369 -3.628888)', '2026-07-21 18:04:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636923 -3.628874)'), GeomFromEWKT('SRID=4674;POINT (-38.6369 -3.628888)'))) / (select extract(epoch from '2026-07-21 18:04:36'::timestamp) - extract(epoch from '2026-07-21 18:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636923 -3.628874)'), GeomFromEWKT('SRID=4674;POINT (-38.6369 -3.628888)'))) / (select extract(epoch from '2026-07-21 18:04:36'::timestamp) - extract(epoch from '2026-07-21 18:04: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'), 47374, 'SRID=4674;POINT (-38.636882 -3.628906)', '2026-07-21 18:04:41', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6369 -3.628888)'), GeomFromEWKT('SRID=4674;POINT (-38.636882 -3.628906)'))) / (select extract(epoch from '2026-07-21 18:04:41'::timestamp) - extract(epoch from '2026-07-21 18:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6369 -3.628888)'), GeomFromEWKT('SRID=4674;POINT (-38.636882 -3.628906)'))) / (select extract(epoch from '2026-07-21 18:04:41'::timestamp) - extract(epoch from '2026-07-21 18:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636865 -3.628916)', '2026-07-21 18:04:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636882 -3.628906)'), GeomFromEWKT('SRID=4674;POINT (-38.636865 -3.628916)'))) / (select extract(epoch from '2026-07-21 18:04:45'::timestamp) - extract(epoch from '2026-07-21 18:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636882 -3.628906)'), GeomFromEWKT('SRID=4674;POINT (-38.636865 -3.628916)'))) / (select extract(epoch from '2026-07-21 18:04:45'::timestamp) - extract(epoch from '2026-07-21 18:04: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'), 47374, 'SRID=4674;POINT (-38.636871 -3.628925)', '2026-07-21 18:04:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636865 -3.628916)'), GeomFromEWKT('SRID=4674;POINT (-38.636871 -3.628925)'))) / (select extract(epoch from '2026-07-21 18:04:47'::timestamp) - extract(epoch from '2026-07-21 18:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636865 -3.628916)'), GeomFromEWKT('SRID=4674;POINT (-38.636871 -3.628925)'))) / (select extract(epoch from '2026-07-21 18:04:47'::timestamp) - extract(epoch from '2026-07-21 18:04: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'), 47374, 'SRID=4674;POINT (-38.636906 -3.628924)', '2026-07-21 18:04:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636871 -3.628925)'), GeomFromEWKT('SRID=4674;POINT (-38.636906 -3.628924)'))) / (select extract(epoch from '2026-07-21 18:04:58'::timestamp) - extract(epoch from '2026-07-21 18:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636871 -3.628925)'), GeomFromEWKT('SRID=4674;POINT (-38.636906 -3.628924)'))) / (select extract(epoch from '2026-07-21 18:04:58'::timestamp) - extract(epoch from '2026-07-21 18:04: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'), 47374, 'SRID=4674;POINT (-38.636949 -3.628915)', '2026-07-21 18:05:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636906 -3.628924)'), GeomFromEWKT('SRID=4674;POINT (-38.636949 -3.628915)'))) / (select extract(epoch from '2026-07-21 18:05:06'::timestamp) - extract(epoch from '2026-07-21 18:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636906 -3.628924)'), GeomFromEWKT('SRID=4674;POINT (-38.636949 -3.628915)'))) / (select extract(epoch from '2026-07-21 18:05:06'::timestamp) - extract(epoch from '2026-07-21 18:04: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'), 47374, 'SRID=4674;POINT (-38.636983 -3.628918)', '2026-07-21 18:05:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636949 -3.628915)'), GeomFromEWKT('SRID=4674;POINT (-38.636983 -3.628918)'))) / (select extract(epoch from '2026-07-21 18:05:12'::timestamp) - extract(epoch from '2026-07-21 18:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636949 -3.628915)'), GeomFromEWKT('SRID=4674;POINT (-38.636983 -3.628918)'))) / (select extract(epoch from '2026-07-21 18:05:12'::timestamp) - extract(epoch from '2026-07-21 18:05:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637008 -3.628906)', '2026-07-21 18:05:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636983 -3.628918)'), GeomFromEWKT('SRID=4674;POINT (-38.637008 -3.628906)'))) / (select extract(epoch from '2026-07-21 18:05:17'::timestamp) - extract(epoch from '2026-07-21 18:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636983 -3.628918)'), GeomFromEWKT('SRID=4674;POINT (-38.637008 -3.628906)'))) / (select extract(epoch from '2026-07-21 18:05:17'::timestamp) - extract(epoch from '2026-07-21 18:05: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'), 47374, 'SRID=4674;POINT (-38.637041 -3.628898)', '2026-07-21 18:05:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637008 -3.628906)'), GeomFromEWKT('SRID=4674;POINT (-38.637041 -3.628898)'))) / (select extract(epoch from '2026-07-21 18:05:23'::timestamp) - extract(epoch from '2026-07-21 18:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637008 -3.628906)'), GeomFromEWKT('SRID=4674;POINT (-38.637041 -3.628898)'))) / (select extract(epoch from '2026-07-21 18:05:23'::timestamp) - extract(epoch from '2026-07-21 18:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637073 -3.628888)', '2026-07-21 18:05:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637041 -3.628898)'), GeomFromEWKT('SRID=4674;POINT (-38.637073 -3.628888)'))) / (select extract(epoch from '2026-07-21 18:05:29'::timestamp) - extract(epoch from '2026-07-21 18:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637041 -3.628898)'), GeomFromEWKT('SRID=4674;POINT (-38.637073 -3.628888)'))) / (select extract(epoch from '2026-07-21 18:05:29'::timestamp) - extract(epoch from '2026-07-21 18:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637095 -3.628883)', '2026-07-21 18:05:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637073 -3.628888)'), GeomFromEWKT('SRID=4674;POINT (-38.637095 -3.628883)'))) / (select extract(epoch from '2026-07-21 18:05:34'::timestamp) - extract(epoch from '2026-07-21 18:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637073 -3.628888)'), GeomFromEWKT('SRID=4674;POINT (-38.637095 -3.628883)'))) / (select extract(epoch from '2026-07-21 18:05:34'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.63712 -3.628876)', '2026-07-21 18:05:40', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637095 -3.628883)'), GeomFromEWKT('SRID=4674;POINT (-38.63712 -3.628876)'))) / (select extract(epoch from '2026-07-21 18:05:40'::timestamp) - extract(epoch from '2026-07-21 18:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637095 -3.628883)'), GeomFromEWKT('SRID=4674;POINT (-38.63712 -3.628876)'))) / (select extract(epoch from '2026-07-21 18:05:40'::timestamp) - extract(epoch from '2026-07-21 18:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637157 -3.628865)', '2026-07-21 18:05:46', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63712 -3.628876)'), GeomFromEWKT('SRID=4674;POINT (-38.637157 -3.628865)'))) / (select extract(epoch from '2026-07-21 18:05:46'::timestamp) - extract(epoch from '2026-07-21 18:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63712 -3.628876)'), GeomFromEWKT('SRID=4674;POINT (-38.637157 -3.628865)'))) / (select extract(epoch from '2026-07-21 18:05:46'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637202 -3.628851)', '2026-07-21 18:05:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637157 -3.628865)'), GeomFromEWKT('SRID=4674;POINT (-38.637202 -3.628851)'))) / (select extract(epoch from '2026-07-21 18:05:54'::timestamp) - extract(epoch from '2026-07-21 18:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637157 -3.628865)'), GeomFromEWKT('SRID=4674;POINT (-38.637202 -3.628851)'))) / (select extract(epoch from '2026-07-21 18:05:54'::timestamp) - extract(epoch from '2026-07-21 18:05: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'), 47374, 'SRID=4674;POINT (-38.637222 -3.62883)', '2026-07-21 18:06:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637202 -3.628851)'), GeomFromEWKT('SRID=4674;POINT (-38.637222 -3.62883)'))) / (select extract(epoch from '2026-07-21 18:06:02'::timestamp) - extract(epoch from '2026-07-21 18:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637202 -3.628851)'), GeomFromEWKT('SRID=4674;POINT (-38.637222 -3.62883)'))) / (select extract(epoch from '2026-07-21 18:06:02'::timestamp) - extract(epoch from '2026-07-21 18:05: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'), 47374, 'SRID=4674;POINT (-38.637232 -3.628802)', '2026-07-21 18:06:08', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637222 -3.62883)'), GeomFromEWKT('SRID=4674;POINT (-38.637232 -3.628802)'))) / (select extract(epoch from '2026-07-21 18:06:08'::timestamp) - extract(epoch from '2026-07-21 18:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637222 -3.62883)'), GeomFromEWKT('SRID=4674;POINT (-38.637232 -3.628802)'))) / (select extract(epoch from '2026-07-21 18:06:08'::timestamp) - extract(epoch from '2026-07-21 18:06: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'), 47374, 'SRID=4674;POINT (-38.637256 -3.628781)', '2026-07-21 18:06:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637232 -3.628802)'), GeomFromEWKT('SRID=4674;POINT (-38.637256 -3.628781)'))) / (select extract(epoch from '2026-07-21 18:06:16'::timestamp) - extract(epoch from '2026-07-21 18:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637232 -3.628802)'), GeomFromEWKT('SRID=4674;POINT (-38.637256 -3.628781)'))) / (select extract(epoch from '2026-07-21 18:06:16'::timestamp) - extract(epoch from '2026-07-21 18:06: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'), 47374, 'SRID=4674;POINT (-38.637281 -3.628776)', '2026-07-21 18:06:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637256 -3.628781)'), GeomFromEWKT('SRID=4674;POINT (-38.637281 -3.628776)'))) / (select extract(epoch from '2026-07-21 18:06:21'::timestamp) - extract(epoch from '2026-07-21 18:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637256 -3.628781)'), GeomFromEWKT('SRID=4674;POINT (-38.637281 -3.628776)'))) / (select extract(epoch from '2026-07-21 18:06:21'::timestamp) - extract(epoch from '2026-07-21 18:06: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'), 47374, 'SRID=4674;POINT (-38.637306 -3.628768)', '2026-07-21 18:06:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637281 -3.628776)'), GeomFromEWKT('SRID=4674;POINT (-38.637306 -3.628768)'))) / (select extract(epoch from '2026-07-21 18:06:27'::timestamp) - extract(epoch from '2026-07-21 18:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637281 -3.628776)'), GeomFromEWKT('SRID=4674;POINT (-38.637306 -3.628768)'))) / (select extract(epoch from '2026-07-21 18:06:27'::timestamp) - extract(epoch from '2026-07-21 18:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637337 -3.628751)', '2026-07-21 18:06:35', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637306 -3.628768)'), GeomFromEWKT('SRID=4674;POINT (-38.637337 -3.628751)'))) / (select extract(epoch from '2026-07-21 18:06:35'::timestamp) - extract(epoch from '2026-07-21 18:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637306 -3.628768)'), GeomFromEWKT('SRID=4674;POINT (-38.637337 -3.628751)'))) / (select extract(epoch from '2026-07-21 18:06:35'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637368 -3.628723)', '2026-07-21 18:06:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637337 -3.628751)'), GeomFromEWKT('SRID=4674;POINT (-38.637368 -3.628723)'))) / (select extract(epoch from '2026-07-21 18:06:44'::timestamp) - extract(epoch from '2026-07-21 18:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637337 -3.628751)'), GeomFromEWKT('SRID=4674;POINT (-38.637368 -3.628723)'))) / (select extract(epoch from '2026-07-21 18:06:44'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637402 -3.628712)', '2026-07-21 18:06:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637368 -3.628723)'), GeomFromEWKT('SRID=4674;POINT (-38.637402 -3.628712)'))) / (select extract(epoch from '2026-07-21 18:06:49'::timestamp) - extract(epoch from '2026-07-21 18:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637368 -3.628723)'), GeomFromEWKT('SRID=4674;POINT (-38.637402 -3.628712)'))) / (select extract(epoch from '2026-07-21 18:06:49'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637435 -3.628706)', '2026-07-21 18:06:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637402 -3.628712)'), GeomFromEWKT('SRID=4674;POINT (-38.637435 -3.628706)'))) / (select extract(epoch from '2026-07-21 18:06:55'::timestamp) - extract(epoch from '2026-07-21 18:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637402 -3.628712)'), GeomFromEWKT('SRID=4674;POINT (-38.637435 -3.628706)'))) / (select extract(epoch from '2026-07-21 18:06:55'::timestamp) - extract(epoch from '2026-07-21 18:06: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'), 47374, 'SRID=4674;POINT (-38.637476 -3.628705)', '2026-07-21 18:07:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637435 -3.628706)'), GeomFromEWKT('SRID=4674;POINT (-38.637476 -3.628705)'))) / (select extract(epoch from '2026-07-21 18:07:04'::timestamp) - extract(epoch from '2026-07-21 18:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637435 -3.628706)'), GeomFromEWKT('SRID=4674;POINT (-38.637476 -3.628705)'))) / (select extract(epoch from '2026-07-21 18:07:04'::timestamp) - extract(epoch from '2026-07-21 18:06:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637526 -3.628692)', '2026-07-21 18:07:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637476 -3.628705)'), GeomFromEWKT('SRID=4674;POINT (-38.637526 -3.628692)'))) / (select extract(epoch from '2026-07-21 18:07:13'::timestamp) - extract(epoch from '2026-07-21 18:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637476 -3.628705)'), GeomFromEWKT('SRID=4674;POINT (-38.637526 -3.628692)'))) / (select extract(epoch from '2026-07-21 18:07:13'::timestamp) - extract(epoch from '2026-07-21 18:07: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'), 47374, 'SRID=4674;POINT (-38.637572 -3.628679)', '2026-07-21 18:07:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637526 -3.628692)'), GeomFromEWKT('SRID=4674;POINT (-38.637572 -3.628679)'))) / (select extract(epoch from '2026-07-21 18:07:21'::timestamp) - extract(epoch from '2026-07-21 18:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637526 -3.628692)'), GeomFromEWKT('SRID=4674;POINT (-38.637572 -3.628679)'))) / (select extract(epoch from '2026-07-21 18:07:21'::timestamp) - extract(epoch from '2026-07-21 18:07: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'), 47374, 'SRID=4674;POINT (-38.637603 -3.628664)', '2026-07-21 18:07:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637572 -3.628679)'), GeomFromEWKT('SRID=4674;POINT (-38.637603 -3.628664)'))) / (select extract(epoch from '2026-07-21 18:07:27'::timestamp) - extract(epoch from '2026-07-21 18:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637572 -3.628679)'), GeomFromEWKT('SRID=4674;POINT (-38.637603 -3.628664)'))) / (select extract(epoch from '2026-07-21 18:07:27'::timestamp) - extract(epoch from '2026-07-21 18:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637656 -3.628644)', '2026-07-21 18:07:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637603 -3.628664)'), GeomFromEWKT('SRID=4674;POINT (-38.637656 -3.628644)'))) / (select extract(epoch from '2026-07-21 18:07:38'::timestamp) - extract(epoch from '2026-07-21 18:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637603 -3.628664)'), GeomFromEWKT('SRID=4674;POINT (-38.637656 -3.628644)'))) / (select extract(epoch from '2026-07-21 18:07:38'::timestamp) - extract(epoch from '2026-07-21 18:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637692 -3.62864)', '2026-07-21 18:07:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637656 -3.628644)'), GeomFromEWKT('SRID=4674;POINT (-38.637692 -3.62864)'))) / (select extract(epoch from '2026-07-21 18:07:45'::timestamp) - extract(epoch from '2026-07-21 18:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637656 -3.628644)'), GeomFromEWKT('SRID=4674;POINT (-38.637692 -3.62864)'))) / (select extract(epoch from '2026-07-21 18:07:45'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637727 -3.62863)', '2026-07-21 18:07:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637692 -3.62864)'), GeomFromEWKT('SRID=4674;POINT (-38.637727 -3.62863)'))) / (select extract(epoch from '2026-07-21 18:07:51'::timestamp) - extract(epoch from '2026-07-21 18:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637692 -3.62864)'), GeomFromEWKT('SRID=4674;POINT (-38.637727 -3.62863)'))) / (select extract(epoch from '2026-07-21 18:07:51'::timestamp) - extract(epoch from '2026-07-21 18:07:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637763 -3.628625)', '2026-07-21 18:07:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637727 -3.62863)'), GeomFromEWKT('SRID=4674;POINT (-38.637763 -3.628625)'))) / (select extract(epoch from '2026-07-21 18:07:59'::timestamp) - extract(epoch from '2026-07-21 18:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637727 -3.62863)'), GeomFromEWKT('SRID=4674;POINT (-38.637763 -3.628625)'))) / (select extract(epoch from '2026-07-21 18:07:59'::timestamp) - extract(epoch from '2026-07-21 18:07:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637807 -3.628627)', '2026-07-21 18:08:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637763 -3.628625)'), GeomFromEWKT('SRID=4674;POINT (-38.637807 -3.628627)'))) / (select extract(epoch from '2026-07-21 18:08:06'::timestamp) - extract(epoch from '2026-07-21 18:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637763 -3.628625)'), GeomFromEWKT('SRID=4674;POINT (-38.637807 -3.628627)'))) / (select extract(epoch from '2026-07-21 18:08:06'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637843 -3.628615)', '2026-07-21 18:08:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637807 -3.628627)'), GeomFromEWKT('SRID=4674;POINT (-38.637843 -3.628615)'))) / (select extract(epoch from '2026-07-21 18:08:13'::timestamp) - extract(epoch from '2026-07-21 18:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637807 -3.628627)'), GeomFromEWKT('SRID=4674;POINT (-38.637843 -3.628615)'))) / (select extract(epoch from '2026-07-21 18:08:13'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637883 -3.628611)', '2026-07-21 18:08:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637843 -3.628615)'), GeomFromEWKT('SRID=4674;POINT (-38.637883 -3.628611)'))) / (select extract(epoch from '2026-07-21 18:08:21'::timestamp) - extract(epoch from '2026-07-21 18:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637843 -3.628615)'), GeomFromEWKT('SRID=4674;POINT (-38.637883 -3.628611)'))) / (select extract(epoch from '2026-07-21 18:08:21'::timestamp) - extract(epoch from '2026-07-21 18:08: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'), 47374, 'SRID=4674;POINT (-38.637929 -3.628615)', '2026-07-21 18:08:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637883 -3.628611)'), GeomFromEWKT('SRID=4674;POINT (-38.637929 -3.628615)'))) / (select extract(epoch from '2026-07-21 18:08:28'::timestamp) - extract(epoch from '2026-07-21 18:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637883 -3.628611)'), GeomFromEWKT('SRID=4674;POINT (-38.637929 -3.628615)'))) / (select extract(epoch from '2026-07-21 18:08:28'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637975 -3.628603)', '2026-07-21 18:08:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637929 -3.628615)'), GeomFromEWKT('SRID=4674;POINT (-38.637975 -3.628603)'))) / (select extract(epoch from '2026-07-21 18:08:37'::timestamp) - extract(epoch from '2026-07-21 18:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637929 -3.628615)'), GeomFromEWKT('SRID=4674;POINT (-38.637975 -3.628603)'))) / (select extract(epoch from '2026-07-21 18:08:37'::timestamp) - extract(epoch from '2026-07-21 18:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638018 -3.6286)', '2026-07-21 18:08:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637975 -3.628603)'), GeomFromEWKT('SRID=4674;POINT (-38.638018 -3.6286)'))) / (select extract(epoch from '2026-07-21 18:08:44'::timestamp) - extract(epoch from '2026-07-21 18:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637975 -3.628603)'), GeomFromEWKT('SRID=4674;POINT (-38.638018 -3.6286)'))) / (select extract(epoch from '2026-07-21 18:08:44'::timestamp) - extract(epoch from '2026-07-21 18:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638037 -3.628597)', '2026-07-21 18:08:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638018 -3.6286)'), GeomFromEWKT('SRID=4674;POINT (-38.638037 -3.628597)'))) / (select extract(epoch from '2026-07-21 18:08:48'::timestamp) - extract(epoch from '2026-07-21 18:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638018 -3.6286)'), GeomFromEWKT('SRID=4674;POINT (-38.638037 -3.628597)'))) / (select extract(epoch from '2026-07-21 18:08:48'::timestamp) - extract(epoch from '2026-07-21 18:08: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'), 47374, 'SRID=4674;POINT (-38.638047 -3.6286)', '2026-07-21 18:08:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638037 -3.628597)'), GeomFromEWKT('SRID=4674;POINT (-38.638047 -3.6286)'))) / (select extract(epoch from '2026-07-21 18:08:49'::timestamp) - extract(epoch from '2026-07-21 18:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638037 -3.628597)'), GeomFromEWKT('SRID=4674;POINT (-38.638047 -3.6286)'))) / (select extract(epoch from '2026-07-21 18:08:49'::timestamp) - extract(epoch from '2026-07-21 18:08: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'), 47374, 'SRID=4674;POINT (-38.63808 -3.628599)', '2026-07-21 18:08:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638047 -3.6286)'), GeomFromEWKT('SRID=4674;POINT (-38.63808 -3.628599)'))) / (select extract(epoch from '2026-07-21 18:08:54'::timestamp) - extract(epoch from '2026-07-21 18:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638047 -3.6286)'), GeomFromEWKT('SRID=4674;POINT (-38.63808 -3.628599)'))) / (select extract(epoch from '2026-07-21 18:08:54'::timestamp) - extract(epoch from '2026-07-21 18:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638095 -3.62859)', '2026-07-21 18:08:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63808 -3.628599)'), GeomFromEWKT('SRID=4674;POINT (-38.638095 -3.62859)'))) / (select extract(epoch from '2026-07-21 18:08:59'::timestamp) - extract(epoch from '2026-07-21 18:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63808 -3.628599)'), GeomFromEWKT('SRID=4674;POINT (-38.638095 -3.62859)'))) / (select extract(epoch from '2026-07-21 18:08:59'::timestamp) - extract(epoch from '2026-07-21 18:08: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'), 47374, 'SRID=4674;POINT (-38.638124 -3.628583)', '2026-07-21 18:09:04', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638095 -3.62859)'), GeomFromEWKT('SRID=4674;POINT (-38.638124 -3.628583)'))) / (select extract(epoch from '2026-07-21 18:09:04'::timestamp) - extract(epoch from '2026-07-21 18:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638095 -3.62859)'), GeomFromEWKT('SRID=4674;POINT (-38.638124 -3.628583)'))) / (select extract(epoch from '2026-07-21 18:09:04'::timestamp) - extract(epoch from '2026-07-21 18:08: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'), 47374, 'SRID=4674;POINT (-38.638162 -3.628583)', '2026-07-21 18:09:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638124 -3.628583)'), GeomFromEWKT('SRID=4674;POINT (-38.638162 -3.628583)'))) / (select extract(epoch from '2026-07-21 18:09:12'::timestamp) - extract(epoch from '2026-07-21 18:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638124 -3.628583)'), GeomFromEWKT('SRID=4674;POINT (-38.638162 -3.628583)'))) / (select extract(epoch from '2026-07-21 18:09:12'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638193 -3.628583)', '2026-07-21 18:09:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638162 -3.628583)'), GeomFromEWKT('SRID=4674;POINT (-38.638193 -3.628583)'))) / (select extract(epoch from '2026-07-21 18:09:18'::timestamp) - extract(epoch from '2026-07-21 18:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638162 -3.628583)'), GeomFromEWKT('SRID=4674;POINT (-38.638193 -3.628583)'))) / (select extract(epoch from '2026-07-21 18:09:18'::timestamp) - extract(epoch from '2026-07-21 18:09:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638235 -3.628579)', '2026-07-21 18:09:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638193 -3.628583)'), GeomFromEWKT('SRID=4674;POINT (-38.638235 -3.628579)'))) / (select extract(epoch from '2026-07-21 18:09:25'::timestamp) - extract(epoch from '2026-07-21 18:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638193 -3.628583)'), GeomFromEWKT('SRID=4674;POINT (-38.638235 -3.628579)'))) / (select extract(epoch from '2026-07-21 18:09:25'::timestamp) - extract(epoch from '2026-07-21 18:09: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'), 47374, 'SRID=4674;POINT (-38.63826 -3.628575)', '2026-07-21 18:09:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638235 -3.628579)'), GeomFromEWKT('SRID=4674;POINT (-38.63826 -3.628575)'))) / (select extract(epoch from '2026-07-21 18:09:31'::timestamp) - extract(epoch from '2026-07-21 18:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638235 -3.628579)'), GeomFromEWKT('SRID=4674;POINT (-38.63826 -3.628575)'))) / (select extract(epoch from '2026-07-21 18:09:31'::timestamp) - extract(epoch from '2026-07-21 18:09: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'), 47374, 'SRID=4674;POINT (-38.638292 -3.628568)', '2026-07-21 18:09:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63826 -3.628575)'), GeomFromEWKT('SRID=4674;POINT (-38.638292 -3.628568)'))) / (select extract(epoch from '2026-07-21 18:09:38'::timestamp) - extract(epoch from '2026-07-21 18:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63826 -3.628575)'), GeomFromEWKT('SRID=4674;POINT (-38.638292 -3.628568)'))) / (select extract(epoch from '2026-07-21 18:09:38'::timestamp) - extract(epoch from '2026-07-21 18:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638324 -3.62856)', '2026-07-21 18:09:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638292 -3.628568)'), GeomFromEWKT('SRID=4674;POINT (-38.638324 -3.62856)'))) / (select extract(epoch from '2026-07-21 18:09:45'::timestamp) - extract(epoch from '2026-07-21 18:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638292 -3.628568)'), GeomFromEWKT('SRID=4674;POINT (-38.638324 -3.62856)'))) / (select extract(epoch from '2026-07-21 18:09:45'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638347 -3.628544)', '2026-07-21 18:09:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638324 -3.62856)'), GeomFromEWKT('SRID=4674;POINT (-38.638347 -3.628544)'))) / (select extract(epoch from '2026-07-21 18:09:52'::timestamp) - extract(epoch from '2026-07-21 18:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638324 -3.62856)'), GeomFromEWKT('SRID=4674;POINT (-38.638347 -3.628544)'))) / (select extract(epoch from '2026-07-21 18:09:52'::timestamp) - extract(epoch from '2026-07-21 18:09: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'), 47374, 'SRID=4674;POINT (-38.638384 -3.628539)', '2026-07-21 18:09:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638347 -3.628544)'), GeomFromEWKT('SRID=4674;POINT (-38.638384 -3.628539)'))) / (select extract(epoch from '2026-07-21 18:09:58'::timestamp) - extract(epoch from '2026-07-21 18:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638347 -3.628544)'), GeomFromEWKT('SRID=4674;POINT (-38.638384 -3.628539)'))) / (select extract(epoch from '2026-07-21 18:09:58'::timestamp) - extract(epoch from '2026-07-21 18:09:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638431 -3.628522)', '2026-07-21 18:10:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638384 -3.628539)'), GeomFromEWKT('SRID=4674;POINT (-38.638431 -3.628522)'))) / (select extract(epoch from '2026-07-21 18:10:07'::timestamp) - extract(epoch from '2026-07-21 18:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638384 -3.628539)'), GeomFromEWKT('SRID=4674;POINT (-38.638431 -3.628522)'))) / (select extract(epoch from '2026-07-21 18:10:07'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638467 -3.628518)', '2026-07-21 18:10:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638431 -3.628522)'), GeomFromEWKT('SRID=4674;POINT (-38.638467 -3.628518)'))) / (select extract(epoch from '2026-07-21 18:10:15'::timestamp) - extract(epoch from '2026-07-21 18:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638431 -3.628522)'), GeomFromEWKT('SRID=4674;POINT (-38.638467 -3.628518)'))) / (select extract(epoch from '2026-07-21 18:10:15'::timestamp) - extract(epoch from '2026-07-21 18:10: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'), 47374, 'SRID=4674;POINT (-38.638486 -3.628517)', '2026-07-21 18:10:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638467 -3.628518)'), GeomFromEWKT('SRID=4674;POINT (-38.638486 -3.628517)'))) / (select extract(epoch from '2026-07-21 18:10:21'::timestamp) - extract(epoch from '2026-07-21 18:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638467 -3.628518)'), GeomFromEWKT('SRID=4674;POINT (-38.638486 -3.628517)'))) / (select extract(epoch from '2026-07-21 18:10:21'::timestamp) - extract(epoch from '2026-07-21 18:10: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'), 47374, 'SRID=4674;POINT (-38.638522 -3.62851)', '2026-07-21 18:10:28', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638486 -3.628517)'), GeomFromEWKT('SRID=4674;POINT (-38.638522 -3.62851)'))) / (select extract(epoch from '2026-07-21 18:10:28'::timestamp) - extract(epoch from '2026-07-21 18:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638486 -3.628517)'), GeomFromEWKT('SRID=4674;POINT (-38.638522 -3.62851)'))) / (select extract(epoch from '2026-07-21 18:10:28'::timestamp) - extract(epoch from '2026-07-21 18:10: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'), 47374, 'SRID=4674;POINT (-38.638553 -3.628499)', '2026-07-21 18:10:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638522 -3.62851)'), GeomFromEWKT('SRID=4674;POINT (-38.638553 -3.628499)'))) / (select extract(epoch from '2026-07-21 18:10:35'::timestamp) - extract(epoch from '2026-07-21 18:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638522 -3.62851)'), GeomFromEWKT('SRID=4674;POINT (-38.638553 -3.628499)'))) / (select extract(epoch from '2026-07-21 18:10:35'::timestamp) - extract(epoch from '2026-07-21 18:10: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'), 47374, 'SRID=4674;POINT (-38.638568 -3.628489)', '2026-07-21 18:10:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638553 -3.628499)'), GeomFromEWKT('SRID=4674;POINT (-38.638568 -3.628489)'))) / (select extract(epoch from '2026-07-21 18:10:42'::timestamp) - extract(epoch from '2026-07-21 18:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638553 -3.628499)'), GeomFromEWKT('SRID=4674;POINT (-38.638568 -3.628489)'))) / (select extract(epoch from '2026-07-21 18:10:42'::timestamp) - extract(epoch from '2026-07-21 18:10: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'), 47374, 'SRID=4674;POINT (-38.638604 -3.628478)', '2026-07-21 18:10:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638568 -3.628489)'), GeomFromEWKT('SRID=4674;POINT (-38.638604 -3.628478)'))) / (select extract(epoch from '2026-07-21 18:10:50'::timestamp) - extract(epoch from '2026-07-21 18:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638568 -3.628489)'), GeomFromEWKT('SRID=4674;POINT (-38.638604 -3.628478)'))) / (select extract(epoch from '2026-07-21 18:10:50'::timestamp) - extract(epoch from '2026-07-21 18:10: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'), 47374, 'SRID=4674;POINT (-38.638638 -3.628472)', '2026-07-21 18:10:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638604 -3.628478)'), GeomFromEWKT('SRID=4674;POINT (-38.638638 -3.628472)'))) / (select extract(epoch from '2026-07-21 18:10:56'::timestamp) - extract(epoch from '2026-07-21 18:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638604 -3.628478)'), GeomFromEWKT('SRID=4674;POINT (-38.638638 -3.628472)'))) / (select extract(epoch from '2026-07-21 18:10:56'::timestamp) - extract(epoch from '2026-07-21 18:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638647 -3.628471)', '2026-07-21 18:10:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638638 -3.628472)'), GeomFromEWKT('SRID=4674;POINT (-38.638647 -3.628471)'))) / (select extract(epoch from '2026-07-21 18:10:57'::timestamp) - extract(epoch from '2026-07-21 18:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638638 -3.628472)'), GeomFromEWKT('SRID=4674;POINT (-38.638647 -3.628471)'))) / (select extract(epoch from '2026-07-21 18:10:57'::timestamp) - extract(epoch from '2026-07-21 18:10: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'), 47374, 'SRID=4674;POINT (-38.638667 -3.628475)', '2026-07-21 18:11:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638647 -3.628471)'), GeomFromEWKT('SRID=4674;POINT (-38.638667 -3.628475)'))) / (select extract(epoch from '2026-07-21 18:11:01'::timestamp) - extract(epoch from '2026-07-21 18:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638647 -3.628471)'), GeomFromEWKT('SRID=4674;POINT (-38.638667 -3.628475)'))) / (select extract(epoch from '2026-07-21 18:11:01'::timestamp) - extract(epoch from '2026-07-21 18:10: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'), 47374, 'SRID=4674;POINT (-38.638694 -3.628472)', '2026-07-21 18:11:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638667 -3.628475)'), GeomFromEWKT('SRID=4674;POINT (-38.638694 -3.628472)'))) / (select extract(epoch from '2026-07-21 18:11:08'::timestamp) - extract(epoch from '2026-07-21 18:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638667 -3.628475)'), GeomFromEWKT('SRID=4674;POINT (-38.638694 -3.628472)'))) / (select extract(epoch from '2026-07-21 18:11:08'::timestamp) - extract(epoch from '2026-07-21 18:11:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638714 -3.628469)', '2026-07-21 18:11:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638694 -3.628472)'), GeomFromEWKT('SRID=4674;POINT (-38.638714 -3.628469)'))) / (select extract(epoch from '2026-07-21 18:11:13'::timestamp) - extract(epoch from '2026-07-21 18:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638694 -3.628472)'), GeomFromEWKT('SRID=4674;POINT (-38.638714 -3.628469)'))) / (select extract(epoch from '2026-07-21 18:11:13'::timestamp) - extract(epoch from '2026-07-21 18:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638711 -3.628423)', '2026-07-21 18:11:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638714 -3.628469)'), GeomFromEWKT('SRID=4674;POINT (-38.638711 -3.628423)'))) / (select extract(epoch from '2026-07-21 18:11:35'::timestamp) - extract(epoch from '2026-07-21 18:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638714 -3.628469)'), GeomFromEWKT('SRID=4674;POINT (-38.638711 -3.628423)'))) / (select extract(epoch from '2026-07-21 18:11:35'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638718 -3.62842)', '2026-07-21 18:11:37', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638711 -3.628423)'), GeomFromEWKT('SRID=4674;POINT (-38.638718 -3.62842)'))) / (select extract(epoch from '2026-07-21 18:11:37'::timestamp) - extract(epoch from '2026-07-21 18:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638711 -3.628423)'), GeomFromEWKT('SRID=4674;POINT (-38.638718 -3.62842)'))) / (select extract(epoch from '2026-07-21 18:11:37'::timestamp) - extract(epoch from '2026-07-21 18:11:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63872 -3.6284)', '2026-07-21 18:11:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638718 -3.62842)'), GeomFromEWKT('SRID=4674;POINT (-38.63872 -3.6284)'))) / (select extract(epoch from '2026-07-21 18:11:53'::timestamp) - extract(epoch from '2026-07-21 18:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638718 -3.62842)'), GeomFromEWKT('SRID=4674;POINT (-38.63872 -3.6284)'))) / (select extract(epoch from '2026-07-21 18:11:53'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638713 -3.628382)', '2026-07-21 18:12:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63872 -3.6284)'), GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628382)'))) / (select extract(epoch from '2026-07-21 18:12:11'::timestamp) - extract(epoch from '2026-07-21 18:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63872 -3.6284)'), GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628382)'))) / (select extract(epoch from '2026-07-21 18:12:11'::timestamp) - extract(epoch from '2026-07-21 18:11: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'), 47374, 'SRID=4674;POINT (-38.638706 -3.628379)', '2026-07-21 18:12:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628382)'), GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628379)'))) / (select extract(epoch from '2026-07-21 18:12:30'::timestamp) - extract(epoch from '2026-07-21 18:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628382)'), GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628379)'))) / (select extract(epoch from '2026-07-21 18:12:30'::timestamp) - extract(epoch from '2026-07-21 18:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638714 -3.628377)', '2026-07-21 18:12:40', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628379)'), GeomFromEWKT('SRID=4674;POINT (-38.638714 -3.628377)'))) / (select extract(epoch from '2026-07-21 18:12:40'::timestamp) - extract(epoch from '2026-07-21 18:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628379)'), GeomFromEWKT('SRID=4674;POINT (-38.638714 -3.628377)'))) / (select extract(epoch from '2026-07-21 18:12:40'::timestamp) - extract(epoch from '2026-07-21 18:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638712 -3.628344)', '2026-07-21 18:14:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638714 -3.628377)'), GeomFromEWKT('SRID=4674;POINT (-38.638712 -3.628344)'))) / (select extract(epoch from '2026-07-21 18:14:23'::timestamp) - extract(epoch from '2026-07-21 18:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638714 -3.628377)'), GeomFromEWKT('SRID=4674;POINT (-38.638712 -3.628344)'))) / (select extract(epoch from '2026-07-21 18:14:23'::timestamp) - extract(epoch from '2026-07-21 18:12:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638711 -3.628338)', '2026-07-21 18:14:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638712 -3.628344)'), GeomFromEWKT('SRID=4674;POINT (-38.638711 -3.628338)'))) / (select extract(epoch from '2026-07-21 18:14:29'::timestamp) - extract(epoch from '2026-07-21 18:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638712 -3.628344)'), GeomFromEWKT('SRID=4674;POINT (-38.638711 -3.628338)'))) / (select extract(epoch from '2026-07-21 18:14:29'::timestamp) - extract(epoch from '2026-07-21 18:14: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'), 47374, 'SRID=4674;POINT (-38.638713 -3.628334)', '2026-07-21 18:14:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638711 -3.628338)'), GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628334)'))) / (select extract(epoch from '2026-07-21 18:14:37'::timestamp) - extract(epoch from '2026-07-21 18:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638711 -3.628338)'), GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628334)'))) / (select extract(epoch from '2026-07-21 18:14:37'::timestamp) - extract(epoch from '2026-07-21 18:14:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638709 -3.628328)', '2026-07-21 18:14:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628334)'), GeomFromEWKT('SRID=4674;POINT (-38.638709 -3.628328)'))) / (select extract(epoch from '2026-07-21 18:14:54'::timestamp) - extract(epoch from '2026-07-21 18:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628334)'), GeomFromEWKT('SRID=4674;POINT (-38.638709 -3.628328)'))) / (select extract(epoch from '2026-07-21 18:14:54'::timestamp) - extract(epoch from '2026-07-21 18:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638706 -3.628328)', '2026-07-21 18:15:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638709 -3.628328)'), GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628328)'))) / (select extract(epoch from '2026-07-21 18:15:05'::timestamp) - extract(epoch from '2026-07-21 18:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638709 -3.628328)'), GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628328)'))) / (select extract(epoch from '2026-07-21 18:15:05'::timestamp) - extract(epoch from '2026-07-21 18:14: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'), 47374, 'SRID=4674;POINT (-38.638695 -3.628322)', '2026-07-21 18:15:30', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628328)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628322)'))) / (select extract(epoch from '2026-07-21 18:15:30'::timestamp) - extract(epoch from '2026-07-21 18:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628328)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628322)'))) / (select extract(epoch from '2026-07-21 18:15:30'::timestamp) - extract(epoch from '2026-07-21 18:15: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'), 47374, 'SRID=4674;POINT (-38.638696 -3.628316)', '2026-07-21 18:15:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628322)'), GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628316)'))) / (select extract(epoch from '2026-07-21 18:15:36'::timestamp) - extract(epoch from '2026-07-21 18:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628322)'), GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628316)'))) / (select extract(epoch from '2026-07-21 18:15:36'::timestamp) - extract(epoch from '2026-07-21 18:15:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638703 -3.628321)', '2026-07-21 18:15:45', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628316)'), GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628321)'))) / (select extract(epoch from '2026-07-21 18:15:45'::timestamp) - extract(epoch from '2026-07-21 18:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628316)'), GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628321)'))) / (select extract(epoch from '2026-07-21 18:15:45'::timestamp) - extract(epoch from '2026-07-21 18:15: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'), 47374, 'SRID=4674;POINT (-38.638703 -3.628342)', '2026-07-21 18:16:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628321)'), GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628342)'))) / (select extract(epoch from '2026-07-21 18:16:17'::timestamp) - extract(epoch from '2026-07-21 18:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628321)'), GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628342)'))) / (select extract(epoch from '2026-07-21 18:16:17'::timestamp) - extract(epoch from '2026-07-21 18:15: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'), 47374, 'SRID=4674;POINT (-38.638705 -3.62833)', '2026-07-21 18:16:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628342)'), GeomFromEWKT('SRID=4674;POINT (-38.638705 -3.62833)'))) / (select extract(epoch from '2026-07-21 18:16:31'::timestamp) - extract(epoch from '2026-07-21 18:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628342)'), GeomFromEWKT('SRID=4674;POINT (-38.638705 -3.62833)'))) / (select extract(epoch from '2026-07-21 18:16:31'::timestamp) - extract(epoch from '2026-07-21 18:16: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'), 47374, 'SRID=4674;POINT (-38.638713 -3.628339)', '2026-07-21 18:16:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638705 -3.62833)'), GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628339)'))) / (select extract(epoch from '2026-07-21 18:16:36'::timestamp) - extract(epoch from '2026-07-21 18:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638705 -3.62833)'), GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628339)'))) / (select extract(epoch from '2026-07-21 18:16:36'::timestamp) - extract(epoch from '2026-07-21 18:16: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'), 47374, 'SRID=4674;POINT (-38.638701 -3.628341)', '2026-07-21 18:16:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628339)'), GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628341)'))) / (select extract(epoch from '2026-07-21 18:16:39'::timestamp) - extract(epoch from '2026-07-21 18:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638713 -3.628339)'), GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628341)'))) / (select extract(epoch from '2026-07-21 18:16:39'::timestamp) - extract(epoch from '2026-07-21 18:16: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'), 47374, 'SRID=4674;POINT (-38.638703 -3.628334)', '2026-07-21 18:17:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628341)'), GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628334)'))) / (select extract(epoch from '2026-07-21 18:17:12'::timestamp) - extract(epoch from '2026-07-21 18:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628341)'), GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628334)'))) / (select extract(epoch from '2026-07-21 18:17:12'::timestamp) - extract(epoch from '2026-07-21 18:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638698 -3.628334)', '2026-07-21 18:17:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628334)'), GeomFromEWKT('SRID=4674;POINT (-38.638698 -3.628334)'))) / (select extract(epoch from '2026-07-21 18:17:16'::timestamp) - extract(epoch from '2026-07-21 18:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638703 -3.628334)'), GeomFromEWKT('SRID=4674;POINT (-38.638698 -3.628334)'))) / (select extract(epoch from '2026-07-21 18:17:16'::timestamp) - extract(epoch from '2026-07-21 18:17: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'), 47374, 'SRID=4674;POINT (-38.638699 -3.628327)', '2026-07-21 18:18:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638698 -3.628334)'), GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628327)'))) / (select extract(epoch from '2026-07-21 18:18:02'::timestamp) - extract(epoch from '2026-07-21 18:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638698 -3.628334)'), GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628327)'))) / (select extract(epoch from '2026-07-21 18:18:02'::timestamp) - extract(epoch from '2026-07-21 18:17: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'), 47374, 'SRID=4674;POINT (-38.638693 -3.628328)', '2026-07-21 18:18:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628327)'), GeomFromEWKT('SRID=4674;POINT (-38.638693 -3.628328)'))) / (select extract(epoch from '2026-07-21 18:18:03'::timestamp) - extract(epoch from '2026-07-21 18:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628327)'), GeomFromEWKT('SRID=4674;POINT (-38.638693 -3.628328)'))) / (select extract(epoch from '2026-07-21 18:18:03'::timestamp) - extract(epoch from '2026-07-21 18:18: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'), 47374, 'SRID=4674;POINT (-38.638705 -3.628332)', '2026-07-21 18:18:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638693 -3.628328)'), GeomFromEWKT('SRID=4674;POINT (-38.638705 -3.628332)'))) / (select extract(epoch from '2026-07-21 18:18:13'::timestamp) - extract(epoch from '2026-07-21 18:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638693 -3.628328)'), GeomFromEWKT('SRID=4674;POINT (-38.638705 -3.628332)'))) / (select extract(epoch from '2026-07-21 18:18:13'::timestamp) - extract(epoch from '2026-07-21 18:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638704 -3.62833)', '2026-07-21 18:18:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638705 -3.628332)'), GeomFromEWKT('SRID=4674;POINT (-38.638704 -3.62833)'))) / (select extract(epoch from '2026-07-21 18:18:24'::timestamp) - extract(epoch from '2026-07-21 18:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638705 -3.628332)'), GeomFromEWKT('SRID=4674;POINT (-38.638704 -3.62833)'))) / (select extract(epoch from '2026-07-21 18:18:24'::timestamp) - extract(epoch from '2026-07-21 18:18: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'), 47374, 'SRID=4674;POINT (-38.638696 -3.628338)', '2026-07-21 18:19:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638704 -3.62833)'), GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628338)'))) / (select extract(epoch from '2026-07-21 18:19:00'::timestamp) - extract(epoch from '2026-07-21 18:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638704 -3.62833)'), GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628338)'))) / (select extract(epoch from '2026-07-21 18:19:00'::timestamp) - extract(epoch from '2026-07-21 18:18: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'), 47374, 'SRID=4674;POINT (-38.638712 -3.62836)', '2026-07-21 18:19:51', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628338)'), GeomFromEWKT('SRID=4674;POINT (-38.638712 -3.62836)'))) / (select extract(epoch from '2026-07-21 18:19:51'::timestamp) - extract(epoch from '2026-07-21 18:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628338)'), GeomFromEWKT('SRID=4674;POINT (-38.638712 -3.62836)'))) / (select extract(epoch from '2026-07-21 18:19:51'::timestamp) - extract(epoch from '2026-07-21 18:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638708 -3.62836)', '2026-07-21 18:19:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638712 -3.62836)'), GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.62836)'))) / (select extract(epoch from '2026-07-21 18:19:58'::timestamp) - extract(epoch from '2026-07-21 18:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638712 -3.62836)'), GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.62836)'))) / (select extract(epoch from '2026-07-21 18:19:58'::timestamp) - extract(epoch from '2026-07-21 18:19: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'), 47374, 'SRID=4674;POINT (-38.638699 -3.628363)', '2026-07-21 18:20:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.62836)'), GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628363)'))) / (select extract(epoch from '2026-07-21 18:20:49'::timestamp) - extract(epoch from '2026-07-21 18:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.62836)'), GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628363)'))) / (select extract(epoch from '2026-07-21 18:20:49'::timestamp) - extract(epoch from '2026-07-21 18:19:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638697 -3.628361)', '2026-07-21 18:20:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628363)'), GeomFromEWKT('SRID=4674;POINT (-38.638697 -3.628361)'))) / (select extract(epoch from '2026-07-21 18:20:55'::timestamp) - extract(epoch from '2026-07-21 18:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628363)'), GeomFromEWKT('SRID=4674;POINT (-38.638697 -3.628361)'))) / (select extract(epoch from '2026-07-21 18:20:55'::timestamp) - extract(epoch from '2026-07-21 18:20: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'), 47374, 'SRID=4674;POINT (-38.638698 -3.628361)', '2026-07-21 18:21:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638697 -3.628361)'), GeomFromEWKT('SRID=4674;POINT (-38.638698 -3.628361)'))) / (select extract(epoch from '2026-07-21 18:21:04'::timestamp) - extract(epoch from '2026-07-21 18:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638697 -3.628361)'), GeomFromEWKT('SRID=4674;POINT (-38.638698 -3.628361)'))) / (select extract(epoch from '2026-07-21 18:21:04'::timestamp) - extract(epoch from '2026-07-21 18:20: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'), 47374, 'SRID=4674;POINT (-38.638695 -3.62835)', '2026-07-21 18:21:29', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638698 -3.628361)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.62835)'))) / (select extract(epoch from '2026-07-21 18:21:29'::timestamp) - extract(epoch from '2026-07-21 18:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638698 -3.628361)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.62835)'))) / (select extract(epoch from '2026-07-21 18:21:29'::timestamp) - extract(epoch from '2026-07-21 18:21: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'), 47374, 'SRID=4674;POINT (-38.638691 -3.628352)', '2026-07-21 18:21:35', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.62835)'), GeomFromEWKT('SRID=4674;POINT (-38.638691 -3.628352)'))) / (select extract(epoch from '2026-07-21 18:21:35'::timestamp) - extract(epoch from '2026-07-21 18:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.62835)'), GeomFromEWKT('SRID=4674;POINT (-38.638691 -3.628352)'))) / (select extract(epoch from '2026-07-21 18:21:35'::timestamp) - extract(epoch from '2026-07-21 18:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638699 -3.628365)', '2026-07-21 18:22:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638691 -3.628352)'), GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628365)'))) / (select extract(epoch from '2026-07-21 18:22:15'::timestamp) - extract(epoch from '2026-07-21 18:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638691 -3.628352)'), GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628365)'))) / (select extract(epoch from '2026-07-21 18:22:15'::timestamp) - extract(epoch from '2026-07-21 18:21: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'), 47374, 'SRID=4674;POINT (-38.638709 -3.628359)', '2026-07-21 18:22:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628365)'), GeomFromEWKT('SRID=4674;POINT (-38.638709 -3.628359)'))) / (select extract(epoch from '2026-07-21 18:22:37'::timestamp) - extract(epoch from '2026-07-21 18:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638699 -3.628365)'), GeomFromEWKT('SRID=4674;POINT (-38.638709 -3.628359)'))) / (select extract(epoch from '2026-07-21 18:22:37'::timestamp) - extract(epoch from '2026-07-21 18:22: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'), 47374, 'SRID=4674;POINT (-38.638693 -3.628364)', '2026-07-21 18:23:07', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638709 -3.628359)'), GeomFromEWKT('SRID=4674;POINT (-38.638693 -3.628364)'))) / (select extract(epoch from '2026-07-21 18:23:07'::timestamp) - extract(epoch from '2026-07-21 18:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638709 -3.628359)'), GeomFromEWKT('SRID=4674;POINT (-38.638693 -3.628364)'))) / (select extract(epoch from '2026-07-21 18:23:07'::timestamp) - extract(epoch from '2026-07-21 18:22: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'), 47374, 'SRID=4674;POINT (-38.638695 -3.628358)', '2026-07-21 18:23:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638693 -3.628364)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628358)'))) / (select extract(epoch from '2026-07-21 18:23:12'::timestamp) - extract(epoch from '2026-07-21 18:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638693 -3.628364)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628358)'))) / (select extract(epoch from '2026-07-21 18:23:12'::timestamp) - extract(epoch from '2026-07-21 18:23: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'), 47374, 'SRID=4674;POINT (-38.638701 -3.628349)', '2026-07-21 18:23:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628358)'), GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628349)'))) / (select extract(epoch from '2026-07-21 18:23:52'::timestamp) - extract(epoch from '2026-07-21 18:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628358)'), GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628349)'))) / (select extract(epoch from '2026-07-21 18:23:52'::timestamp) - extract(epoch from '2026-07-21 18:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638696 -3.628354)', '2026-07-21 18:23:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628349)'), GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628354)'))) / (select extract(epoch from '2026-07-21 18:23:58'::timestamp) - extract(epoch from '2026-07-21 18:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628349)'), GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628354)'))) / (select extract(epoch from '2026-07-21 18:23:58'::timestamp) - extract(epoch from '2026-07-21 18:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638706 -3.628358)', '2026-07-21 18:24:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628354)'), GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628358)'))) / (select extract(epoch from '2026-07-21 18:24:05'::timestamp) - extract(epoch from '2026-07-21 18:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638696 -3.628354)'), GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628358)'))) / (select extract(epoch from '2026-07-21 18:24:05'::timestamp) - extract(epoch from '2026-07-21 18:23: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'), 47374, 'SRID=4674;POINT (-38.638702 -3.628345)', '2026-07-21 18:24:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628358)'), GeomFromEWKT('SRID=4674;POINT (-38.638702 -3.628345)'))) / (select extract(epoch from '2026-07-21 18:24:21'::timestamp) - extract(epoch from '2026-07-21 18:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628358)'), GeomFromEWKT('SRID=4674;POINT (-38.638702 -3.628345)'))) / (select extract(epoch from '2026-07-21 18:24:21'::timestamp) - extract(epoch from '2026-07-21 18:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.6387 -3.628352)', '2026-07-21 18:24:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638702 -3.628345)'), GeomFromEWKT('SRID=4674;POINT (-38.6387 -3.628352)'))) / (select extract(epoch from '2026-07-21 18:24:27'::timestamp) - extract(epoch from '2026-07-21 18:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638702 -3.628345)'), GeomFromEWKT('SRID=4674;POINT (-38.6387 -3.628352)'))) / (select extract(epoch from '2026-07-21 18:24:27'::timestamp) - extract(epoch from '2026-07-21 18:24: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'), 47374, 'SRID=4674;POINT (-38.638695 -3.628354)', '2026-07-21 18:24:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6387 -3.628352)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628354)'))) / (select extract(epoch from '2026-07-21 18:24:35'::timestamp) - extract(epoch from '2026-07-21 18:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6387 -3.628352)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628354)'))) / (select extract(epoch from '2026-07-21 18:24:35'::timestamp) - extract(epoch from '2026-07-21 18:24: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'), 47374, 'SRID=4674;POINT (-38.63871 -3.628351)', '2026-07-21 18:25:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628354)'), GeomFromEWKT('SRID=4674;POINT (-38.63871 -3.628351)'))) / (select extract(epoch from '2026-07-21 18:25:36'::timestamp) - extract(epoch from '2026-07-21 18:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628354)'), GeomFromEWKT('SRID=4674;POINT (-38.63871 -3.628351)'))) / (select extract(epoch from '2026-07-21 18:25:36'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638716 -3.628362)', '2026-07-21 18:25:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63871 -3.628351)'), GeomFromEWKT('SRID=4674;POINT (-38.638716 -3.628362)'))) / (select extract(epoch from '2026-07-21 18:25:54'::timestamp) - extract(epoch from '2026-07-21 18:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63871 -3.628351)'), GeomFromEWKT('SRID=4674;POINT (-38.638716 -3.628362)'))) / (select extract(epoch from '2026-07-21 18:25:54'::timestamp) - extract(epoch from '2026-07-21 18:25: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'), 47374, 'SRID=4674;POINT (-38.638708 -3.628363)', '2026-07-21 18:26:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638716 -3.628362)'), GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.628363)'))) / (select extract(epoch from '2026-07-21 18:26:02'::timestamp) - extract(epoch from '2026-07-21 18:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638716 -3.628362)'), GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.628363)'))) / (select extract(epoch from '2026-07-21 18:26:02'::timestamp) - extract(epoch from '2026-07-21 18:25: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'), 47374, 'SRID=4674;POINT (-38.638708 -3.628368)', '2026-07-21 18:26:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.628363)'), GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.628368)'))) / (select extract(epoch from '2026-07-21 18:26:11'::timestamp) - extract(epoch from '2026-07-21 18:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.628363)'), GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.628368)'))) / (select extract(epoch from '2026-07-21 18:26:11'::timestamp) - extract(epoch from '2026-07-21 18:26: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'), 47374, 'SRID=4674;POINT (-38.638706 -3.628354)', '2026-07-21 18:26:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.628368)'), GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628354)'))) / (select extract(epoch from '2026-07-21 18:26:27'::timestamp) - extract(epoch from '2026-07-21 18:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638708 -3.628368)'), GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628354)'))) / (select extract(epoch from '2026-07-21 18:26:27'::timestamp) - extract(epoch from '2026-07-21 18:26: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'), 47374, 'SRID=4674;POINT (-38.638706 -3.628355)', '2026-07-21 18:26:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628354)'), GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628355)'))) / (select extract(epoch from '2026-07-21 18:26:33'::timestamp) - extract(epoch from '2026-07-21 18:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628354)'), GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628355)'))) / (select extract(epoch from '2026-07-21 18:26:33'::timestamp) - extract(epoch from '2026-07-21 18:26:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638695 -3.628331)', '2026-07-21 18:27:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628355)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628331)'))) / (select extract(epoch from '2026-07-21 18:27:28'::timestamp) - extract(epoch from '2026-07-21 18:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638706 -3.628355)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628331)'))) / (select extract(epoch from '2026-07-21 18:27:28'::timestamp) - extract(epoch from '2026-07-21 18:26: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'), 47374, 'SRID=4674;POINT (-38.638695 -3.628339)', '2026-07-21 18:27:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628331)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628339)'))) / (select extract(epoch from '2026-07-21 18:27:44'::timestamp) - extract(epoch from '2026-07-21 18:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628331)'), GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628339)'))) / (select extract(epoch from '2026-07-21 18:27:44'::timestamp) - extract(epoch from '2026-07-21 18:27:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638687 -3.628341)', '2026-07-21 18:28:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628339)'), GeomFromEWKT('SRID=4674;POINT (-38.638687 -3.628341)'))) / (select extract(epoch from '2026-07-21 18:28:08'::timestamp) - extract(epoch from '2026-07-21 18:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638695 -3.628339)'), GeomFromEWKT('SRID=4674;POINT (-38.638687 -3.628341)'))) / (select extract(epoch from '2026-07-21 18:28:08'::timestamp) - extract(epoch from '2026-07-21 18:27: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'), 47374, 'SRID=4674;POINT (-38.638658 -3.628351)', '2026-07-21 18:28:23', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638687 -3.628341)'), GeomFromEWKT('SRID=4674;POINT (-38.638658 -3.628351)'))) / (select extract(epoch from '2026-07-21 18:28:23'::timestamp) - extract(epoch from '2026-07-21 18:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638687 -3.628341)'), GeomFromEWKT('SRID=4674;POINT (-38.638658 -3.628351)'))) / (select extract(epoch from '2026-07-21 18:28:23'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638608 -3.62834)', '2026-07-21 18:28:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638658 -3.628351)'), GeomFromEWKT('SRID=4674;POINT (-38.638608 -3.62834)'))) / (select extract(epoch from '2026-07-21 18:28:52'::timestamp) - extract(epoch from '2026-07-21 18:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638658 -3.628351)'), GeomFromEWKT('SRID=4674;POINT (-38.638608 -3.62834)'))) / (select extract(epoch from '2026-07-21 18:28:52'::timestamp) - extract(epoch from '2026-07-21 18:28:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638567 -3.628353)', '2026-07-21 18:29:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638608 -3.62834)'), GeomFromEWKT('SRID=4674;POINT (-38.638567 -3.628353)'))) / (select extract(epoch from '2026-07-21 18:29:01'::timestamp) - extract(epoch from '2026-07-21 18:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638608 -3.62834)'), GeomFromEWKT('SRID=4674;POINT (-38.638567 -3.628353)'))) / (select extract(epoch from '2026-07-21 18:29:01'::timestamp) - extract(epoch from '2026-07-21 18:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638538 -3.628363)', '2026-07-21 18:29:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638567 -3.628353)'), GeomFromEWKT('SRID=4674;POINT (-38.638538 -3.628363)'))) / (select extract(epoch from '2026-07-21 18:29:10'::timestamp) - extract(epoch from '2026-07-21 18:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638567 -3.628353)'), GeomFromEWKT('SRID=4674;POINT (-38.638538 -3.628363)'))) / (select extract(epoch from '2026-07-21 18:29:10'::timestamp) - extract(epoch from '2026-07-21 18:29: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'), 47374, 'SRID=4674;POINT (-38.638498 -3.628375)', '2026-07-21 18:29:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638538 -3.628363)'), GeomFromEWKT('SRID=4674;POINT (-38.638498 -3.628375)'))) / (select extract(epoch from '2026-07-21 18:29:20'::timestamp) - extract(epoch from '2026-07-21 18:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638538 -3.628363)'), GeomFromEWKT('SRID=4674;POINT (-38.638498 -3.628375)'))) / (select extract(epoch from '2026-07-21 18:29:20'::timestamp) - extract(epoch from '2026-07-21 18:29: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'), 47374, 'SRID=4674;POINT (-38.638478 -3.628393)', '2026-07-21 18:29:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638498 -3.628375)'), GeomFromEWKT('SRID=4674;POINT (-38.638478 -3.628393)'))) / (select extract(epoch from '2026-07-21 18:29:28'::timestamp) - extract(epoch from '2026-07-21 18:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638498 -3.628375)'), GeomFromEWKT('SRID=4674;POINT (-38.638478 -3.628393)'))) / (select extract(epoch from '2026-07-21 18:29:28'::timestamp) - extract(epoch from '2026-07-21 18:29:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638463 -3.628396)', '2026-07-21 18:29:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638478 -3.628393)'), GeomFromEWKT('SRID=4674;POINT (-38.638463 -3.628396)'))) / (select extract(epoch from '2026-07-21 18:29:34'::timestamp) - extract(epoch from '2026-07-21 18:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638478 -3.628393)'), GeomFromEWKT('SRID=4674;POINT (-38.638463 -3.628396)'))) / (select extract(epoch from '2026-07-21 18:29:34'::timestamp) - extract(epoch from '2026-07-21 18:29: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'), 47374, 'SRID=4674;POINT (-38.638434 -3.628416)', '2026-07-21 18:29:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638463 -3.628396)'), GeomFromEWKT('SRID=4674;POINT (-38.638434 -3.628416)'))) / (select extract(epoch from '2026-07-21 18:29:44'::timestamp) - extract(epoch from '2026-07-21 18:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638463 -3.628396)'), GeomFromEWKT('SRID=4674;POINT (-38.638434 -3.628416)'))) / (select extract(epoch from '2026-07-21 18:29:44'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638416 -3.628432)', '2026-07-21 18:29:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638434 -3.628416)'), GeomFromEWKT('SRID=4674;POINT (-38.638416 -3.628432)'))) / (select extract(epoch from '2026-07-21 18:29:51'::timestamp) - extract(epoch from '2026-07-21 18:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638434 -3.628416)'), GeomFromEWKT('SRID=4674;POINT (-38.638416 -3.628432)'))) / (select extract(epoch from '2026-07-21 18:29:51'::timestamp) - extract(epoch from '2026-07-21 18:29: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'), 47374, 'SRID=4674;POINT (-38.638382 -3.628441)', '2026-07-21 18:29:59', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638416 -3.628432)'), GeomFromEWKT('SRID=4674;POINT (-38.638382 -3.628441)'))) / (select extract(epoch from '2026-07-21 18:29:59'::timestamp) - extract(epoch from '2026-07-21 18:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638416 -3.628432)'), GeomFromEWKT('SRID=4674;POINT (-38.638382 -3.628441)'))) / (select extract(epoch from '2026-07-21 18:29:59'::timestamp) - extract(epoch from '2026-07-21 18:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638346 -3.628451)', '2026-07-21 18:30:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638382 -3.628441)'), GeomFromEWKT('SRID=4674;POINT (-38.638346 -3.628451)'))) / (select extract(epoch from '2026-07-21 18:30:08'::timestamp) - extract(epoch from '2026-07-21 18:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638382 -3.628441)'), GeomFromEWKT('SRID=4674;POINT (-38.638346 -3.628451)'))) / (select extract(epoch from '2026-07-21 18:30:08'::timestamp) - extract(epoch from '2026-07-21 18:29:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638334 -3.628459)', '2026-07-21 18:30:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638346 -3.628451)'), GeomFromEWKT('SRID=4674;POINT (-38.638334 -3.628459)'))) / (select extract(epoch from '2026-07-21 18:30:18'::timestamp) - extract(epoch from '2026-07-21 18:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638346 -3.628451)'), GeomFromEWKT('SRID=4674;POINT (-38.638334 -3.628459)'))) / (select extract(epoch from '2026-07-21 18:30:18'::timestamp) - extract(epoch from '2026-07-21 18:30:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638288 -3.628464)', '2026-07-21 18:30:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638334 -3.628459)'), GeomFromEWKT('SRID=4674;POINT (-38.638288 -3.628464)'))) / (select extract(epoch from '2026-07-21 18:30:28'::timestamp) - extract(epoch from '2026-07-21 18:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638334 -3.628459)'), GeomFromEWKT('SRID=4674;POINT (-38.638288 -3.628464)'))) / (select extract(epoch from '2026-07-21 18:30:28'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638262 -3.628475)', '2026-07-21 18:30:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638288 -3.628464)'), GeomFromEWKT('SRID=4674;POINT (-38.638262 -3.628475)'))) / (select extract(epoch from '2026-07-21 18:30:36'::timestamp) - extract(epoch from '2026-07-21 18:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638288 -3.628464)'), GeomFromEWKT('SRID=4674;POINT (-38.638262 -3.628475)'))) / (select extract(epoch from '2026-07-21 18:30:36'::timestamp) - extract(epoch from '2026-07-21 18:30: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'), 47374, 'SRID=4674;POINT (-38.638265 -3.628473)', '2026-07-21 18:30:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638262 -3.628475)'), GeomFromEWKT('SRID=4674;POINT (-38.638265 -3.628473)'))) / (select extract(epoch from '2026-07-21 18:30:40'::timestamp) - extract(epoch from '2026-07-21 18:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638262 -3.628475)'), GeomFromEWKT('SRID=4674;POINT (-38.638265 -3.628473)'))) / (select extract(epoch from '2026-07-21 18:30:40'::timestamp) - extract(epoch from '2026-07-21 18:30: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'), 47374, 'SRID=4674;POINT (-38.638273 -3.62847)', '2026-07-21 18:30:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638265 -3.628473)'), GeomFromEWKT('SRID=4674;POINT (-38.638273 -3.62847)'))) / (select extract(epoch from '2026-07-21 18:30:43'::timestamp) - extract(epoch from '2026-07-21 18:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638265 -3.628473)'), GeomFromEWKT('SRID=4674;POINT (-38.638273 -3.62847)'))) / (select extract(epoch from '2026-07-21 18:30:43'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638308 -3.628467)', '2026-07-21 18:30:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638273 -3.62847)'), GeomFromEWKT('SRID=4674;POINT (-38.638308 -3.628467)'))) / (select extract(epoch from '2026-07-21 18:30:50'::timestamp) - extract(epoch from '2026-07-21 18:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638273 -3.62847)'), GeomFromEWKT('SRID=4674;POINT (-38.638308 -3.628467)'))) / (select extract(epoch from '2026-07-21 18:30:50'::timestamp) - extract(epoch from '2026-07-21 18:30: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'), 47374, 'SRID=4674;POINT (-38.638349 -3.628462)', '2026-07-21 18:30:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638308 -3.628467)'), GeomFromEWKT('SRID=4674;POINT (-38.638349 -3.628462)'))) / (select extract(epoch from '2026-07-21 18:30:56'::timestamp) - extract(epoch from '2026-07-21 18:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638308 -3.628467)'), GeomFromEWKT('SRID=4674;POINT (-38.638349 -3.628462)'))) / (select extract(epoch from '2026-07-21 18:30:56'::timestamp) - extract(epoch from '2026-07-21 18:30:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638398 -3.628456)', '2026-07-21 18:31:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638349 -3.628462)'), GeomFromEWKT('SRID=4674;POINT (-38.638398 -3.628456)'))) / (select extract(epoch from '2026-07-21 18:31:03'::timestamp) - extract(epoch from '2026-07-21 18:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638349 -3.628462)'), GeomFromEWKT('SRID=4674;POINT (-38.638398 -3.628456)'))) / (select extract(epoch from '2026-07-21 18:31:03'::timestamp) - extract(epoch from '2026-07-21 18:30:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638471 -3.62847)', '2026-07-21 18:31:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638398 -3.628456)'), GeomFromEWKT('SRID=4674;POINT (-38.638471 -3.62847)'))) / (select extract(epoch from '2026-07-21 18:31:12'::timestamp) - extract(epoch from '2026-07-21 18:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638398 -3.628456)'), GeomFromEWKT('SRID=4674;POINT (-38.638471 -3.62847)'))) / (select extract(epoch from '2026-07-21 18:31:12'::timestamp) - extract(epoch from '2026-07-21 18:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638543 -3.628488)', '2026-07-21 18:31:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638471 -3.62847)'), GeomFromEWKT('SRID=4674;POINT (-38.638543 -3.628488)'))) / (select extract(epoch from '2026-07-21 18:31:21'::timestamp) - extract(epoch from '2026-07-21 18:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638471 -3.62847)'), GeomFromEWKT('SRID=4674;POINT (-38.638543 -3.628488)'))) / (select extract(epoch from '2026-07-21 18:31:21'::timestamp) - extract(epoch from '2026-07-21 18:31: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'), 47374, 'SRID=4674;POINT (-38.638592 -3.628507)', '2026-07-21 18:31:29', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638543 -3.628488)'), GeomFromEWKT('SRID=4674;POINT (-38.638592 -3.628507)'))) / (select extract(epoch from '2026-07-21 18:31:29'::timestamp) - extract(epoch from '2026-07-21 18:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638543 -3.628488)'), GeomFromEWKT('SRID=4674;POINT (-38.638592 -3.628507)'))) / (select extract(epoch from '2026-07-21 18:31:29'::timestamp) - extract(epoch from '2026-07-21 18:31:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638644 -3.628513)', '2026-07-21 18:31:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638592 -3.628507)'), GeomFromEWKT('SRID=4674;POINT (-38.638644 -3.628513)'))) / (select extract(epoch from '2026-07-21 18:31:37'::timestamp) - extract(epoch from '2026-07-21 18:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638592 -3.628507)'), GeomFromEWKT('SRID=4674;POINT (-38.638644 -3.628513)'))) / (select extract(epoch from '2026-07-21 18:31:37'::timestamp) - extract(epoch from '2026-07-21 18:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638681 -3.628519)', '2026-07-21 18:31:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638644 -3.628513)'), GeomFromEWKT('SRID=4674;POINT (-38.638681 -3.628519)'))) / (select extract(epoch from '2026-07-21 18:31:43'::timestamp) - extract(epoch from '2026-07-21 18:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638644 -3.628513)'), GeomFromEWKT('SRID=4674;POINT (-38.638681 -3.628519)'))) / (select extract(epoch from '2026-07-21 18:31:43'::timestamp) - extract(epoch from '2026-07-21 18:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638719 -3.628519)', '2026-07-21 18:31:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638681 -3.628519)'), GeomFromEWKT('SRID=4674;POINT (-38.638719 -3.628519)'))) / (select extract(epoch from '2026-07-21 18:31:50'::timestamp) - extract(epoch from '2026-07-21 18:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638681 -3.628519)'), GeomFromEWKT('SRID=4674;POINT (-38.638719 -3.628519)'))) / (select extract(epoch from '2026-07-21 18:31:50'::timestamp) - extract(epoch from '2026-07-21 18:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638752 -3.628512)', '2026-07-21 18:31:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638719 -3.628519)'), GeomFromEWKT('SRID=4674;POINT (-38.638752 -3.628512)'))) / (select extract(epoch from '2026-07-21 18:31:56'::timestamp) - extract(epoch from '2026-07-21 18:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638719 -3.628519)'), GeomFromEWKT('SRID=4674;POINT (-38.638752 -3.628512)'))) / (select extract(epoch from '2026-07-21 18:31:56'::timestamp) - extract(epoch from '2026-07-21 18:31: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'), 47374, 'SRID=4674;POINT (-38.638796 -3.628508)', '2026-07-21 18:32:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638752 -3.628512)'), GeomFromEWKT('SRID=4674;POINT (-38.638796 -3.628508)'))) / (select extract(epoch from '2026-07-21 18:32:04'::timestamp) - extract(epoch from '2026-07-21 18:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638752 -3.628512)'), GeomFromEWKT('SRID=4674;POINT (-38.638796 -3.628508)'))) / (select extract(epoch from '2026-07-21 18:32:04'::timestamp) - extract(epoch from '2026-07-21 18:31: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'), 47374, 'SRID=4674;POINT (-38.638834 -3.6285)', '2026-07-21 18:32:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638796 -3.628508)'), GeomFromEWKT('SRID=4674;POINT (-38.638834 -3.6285)'))) / (select extract(epoch from '2026-07-21 18:32:12'::timestamp) - extract(epoch from '2026-07-21 18:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638796 -3.628508)'), GeomFromEWKT('SRID=4674;POINT (-38.638834 -3.6285)'))) / (select extract(epoch from '2026-07-21 18:32:12'::timestamp) - extract(epoch from '2026-07-21 18:32: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'), 47374, 'SRID=4674;POINT (-38.638845 -3.628493)', '2026-07-21 18:32:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638834 -3.6285)'), GeomFromEWKT('SRID=4674;POINT (-38.638845 -3.628493)'))) / (select extract(epoch from '2026-07-21 18:32:23'::timestamp) - extract(epoch from '2026-07-21 18:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638834 -3.6285)'), GeomFromEWKT('SRID=4674;POINT (-38.638845 -3.628493)'))) / (select extract(epoch from '2026-07-21 18:32:23'::timestamp) - extract(epoch from '2026-07-21 18:32: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'), 47374, 'SRID=4674;POINT (-38.638856 -3.628515)', '2026-07-21 18:32:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638845 -3.628493)'), GeomFromEWKT('SRID=4674;POINT (-38.638856 -3.628515)'))) / (select extract(epoch from '2026-07-21 18:32:30'::timestamp) - extract(epoch from '2026-07-21 18:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638845 -3.628493)'), GeomFromEWKT('SRID=4674;POINT (-38.638856 -3.628515)'))) / (select extract(epoch from '2026-07-21 18:32:30'::timestamp) - extract(epoch from '2026-07-21 18:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638859 -3.628524)', '2026-07-21 18:32:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638856 -3.628515)'), GeomFromEWKT('SRID=4674;POINT (-38.638859 -3.628524)'))) / (select extract(epoch from '2026-07-21 18:32:32'::timestamp) - extract(epoch from '2026-07-21 18:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638856 -3.628515)'), GeomFromEWKT('SRID=4674;POINT (-38.638859 -3.628524)'))) / (select extract(epoch from '2026-07-21 18:32:32'::timestamp) - extract(epoch from '2026-07-21 18:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638861 -3.628535)', '2026-07-21 18:32:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638859 -3.628524)'), GeomFromEWKT('SRID=4674;POINT (-38.638861 -3.628535)'))) / (select extract(epoch from '2026-07-21 18:32:38'::timestamp) - extract(epoch from '2026-07-21 18:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638859 -3.628524)'), GeomFromEWKT('SRID=4674;POINT (-38.638861 -3.628535)'))) / (select extract(epoch from '2026-07-21 18:32:38'::timestamp) - extract(epoch from '2026-07-21 18:32: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'), 47374, 'SRID=4674;POINT (-38.638851 -3.62857)', '2026-07-21 18:32:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638861 -3.628535)'), GeomFromEWKT('SRID=4674;POINT (-38.638851 -3.62857)'))) / (select extract(epoch from '2026-07-21 18:32:46'::timestamp) - extract(epoch from '2026-07-21 18:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638861 -3.628535)'), GeomFromEWKT('SRID=4674;POINT (-38.638851 -3.62857)'))) / (select extract(epoch from '2026-07-21 18:32:46'::timestamp) - extract(epoch from '2026-07-21 18:32: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'), 47374, 'SRID=4674;POINT (-38.638853 -3.628588)', '2026-07-21 18:32:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638851 -3.62857)'), GeomFromEWKT('SRID=4674;POINT (-38.638853 -3.628588)'))) / (select extract(epoch from '2026-07-21 18:32:55'::timestamp) - extract(epoch from '2026-07-21 18:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638851 -3.62857)'), GeomFromEWKT('SRID=4674;POINT (-38.638853 -3.628588)'))) / (select extract(epoch from '2026-07-21 18:32:55'::timestamp) - extract(epoch from '2026-07-21 18:32: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'), 47374, 'SRID=4674;POINT (-38.638838 -3.628613)', '2026-07-21 18:33:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638853 -3.628588)'), GeomFromEWKT('SRID=4674;POINT (-38.638838 -3.628613)'))) / (select extract(epoch from '2026-07-21 18:33:07'::timestamp) - extract(epoch from '2026-07-21 18:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638853 -3.628588)'), GeomFromEWKT('SRID=4674;POINT (-38.638838 -3.628613)'))) / (select extract(epoch from '2026-07-21 18:33:07'::timestamp) - extract(epoch from '2026-07-21 18:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638824 -3.628622)', '2026-07-21 18:33:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638838 -3.628613)'), GeomFromEWKT('SRID=4674;POINT (-38.638824 -3.628622)'))) / (select extract(epoch from '2026-07-21 18:33:17'::timestamp) - extract(epoch from '2026-07-21 18:33:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638838 -3.628613)'), GeomFromEWKT('SRID=4674;POINT (-38.638824 -3.628622)'))) / (select extract(epoch from '2026-07-21 18:33:17'::timestamp) - extract(epoch from '2026-07-21 18:33: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'), 47374, 'SRID=4674;POINT (-38.638809 -3.628629)', '2026-07-21 18:33:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638824 -3.628622)'), GeomFromEWKT('SRID=4674;POINT (-38.638809 -3.628629)'))) / (select extract(epoch from '2026-07-21 18:33:36'::timestamp) - extract(epoch from '2026-07-21 18:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638824 -3.628622)'), GeomFromEWKT('SRID=4674;POINT (-38.638809 -3.628629)'))) / (select extract(epoch from '2026-07-21 18:33:36'::timestamp) - extract(epoch from '2026-07-21 18:33: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'), 47374, 'SRID=4674;POINT (-38.638799 -3.62865)', '2026-07-21 18:33:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638809 -3.628629)'), GeomFromEWKT('SRID=4674;POINT (-38.638799 -3.62865)'))) / (select extract(epoch from '2026-07-21 18:33:44'::timestamp) - extract(epoch from '2026-07-21 18:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638809 -3.628629)'), GeomFromEWKT('SRID=4674;POINT (-38.638799 -3.62865)'))) / (select extract(epoch from '2026-07-21 18:33:44'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638774 -3.628667)', '2026-07-21 18:33:53', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638799 -3.62865)'), GeomFromEWKT('SRID=4674;POINT (-38.638774 -3.628667)'))) / (select extract(epoch from '2026-07-21 18:33:53'::timestamp) - extract(epoch from '2026-07-21 18:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638799 -3.62865)'), GeomFromEWKT('SRID=4674;POINT (-38.638774 -3.628667)'))) / (select extract(epoch from '2026-07-21 18:33:53'::timestamp) - extract(epoch from '2026-07-21 18:33: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'), 47374, 'SRID=4674;POINT (-38.638732 -3.628693)', '2026-07-21 18:34:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638774 -3.628667)'), GeomFromEWKT('SRID=4674;POINT (-38.638732 -3.628693)'))) / (select extract(epoch from '2026-07-21 18:34:27'::timestamp) - extract(epoch from '2026-07-21 18:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638774 -3.628667)'), GeomFromEWKT('SRID=4674;POINT (-38.638732 -3.628693)'))) / (select extract(epoch from '2026-07-21 18:34:27'::timestamp) - extract(epoch from '2026-07-21 18:33: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'), 47374, 'SRID=4674;POINT (-38.638718 -3.628706)', '2026-07-21 18:34:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638732 -3.628693)'), GeomFromEWKT('SRID=4674;POINT (-38.638718 -3.628706)'))) / (select extract(epoch from '2026-07-21 18:34:32'::timestamp) - extract(epoch from '2026-07-21 18:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638732 -3.628693)'), GeomFromEWKT('SRID=4674;POINT (-38.638718 -3.628706)'))) / (select extract(epoch from '2026-07-21 18:34:32'::timestamp) - extract(epoch from '2026-07-21 18:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638701 -3.628722)', '2026-07-21 18:34:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638718 -3.628706)'), GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628722)'))) / (select extract(epoch from '2026-07-21 18:34:58'::timestamp) - extract(epoch from '2026-07-21 18:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638718 -3.628706)'), GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628722)'))) / (select extract(epoch from '2026-07-21 18:34:58'::timestamp) - extract(epoch from '2026-07-21 18:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638682 -3.628747)', '2026-07-21 18:35:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628722)'), GeomFromEWKT('SRID=4674;POINT (-38.638682 -3.628747)'))) / (select extract(epoch from '2026-07-21 18:35:38'::timestamp) - extract(epoch from '2026-07-21 18:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638701 -3.628722)'), GeomFromEWKT('SRID=4674;POINT (-38.638682 -3.628747)'))) / (select extract(epoch from '2026-07-21 18:35:38'::timestamp) - extract(epoch from '2026-07-21 18:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638656 -3.628765)', '2026-07-21 18:35:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638682 -3.628747)'), GeomFromEWKT('SRID=4674;POINT (-38.638656 -3.628765)'))) / (select extract(epoch from '2026-07-21 18:35:49'::timestamp) - extract(epoch from '2026-07-21 18:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638682 -3.628747)'), GeomFromEWKT('SRID=4674;POINT (-38.638656 -3.628765)'))) / (select extract(epoch from '2026-07-21 18:35:49'::timestamp) - extract(epoch from '2026-07-21 18:35: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'), 47374, 'SRID=4674;POINT (-38.638635 -3.628775)', '2026-07-21 18:35:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638656 -3.628765)'), GeomFromEWKT('SRID=4674;POINT (-38.638635 -3.628775)'))) / (select extract(epoch from '2026-07-21 18:35:57'::timestamp) - extract(epoch from '2026-07-21 18:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638656 -3.628765)'), GeomFromEWKT('SRID=4674;POINT (-38.638635 -3.628775)'))) / (select extract(epoch from '2026-07-21 18:35:57'::timestamp) - extract(epoch from '2026-07-21 18:35: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'), 47374, 'SRID=4674;POINT (-38.638578 -3.628796)', '2026-07-21 18:36:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638635 -3.628775)'), GeomFromEWKT('SRID=4674;POINT (-38.638578 -3.628796)'))) / (select extract(epoch from '2026-07-21 18:36:19'::timestamp) - extract(epoch from '2026-07-21 18:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638635 -3.628775)'), GeomFromEWKT('SRID=4674;POINT (-38.638578 -3.628796)'))) / (select extract(epoch from '2026-07-21 18:36:19'::timestamp) - extract(epoch from '2026-07-21 18:35: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'), 47374, 'SRID=4674;POINT (-38.638575 -3.628812)', '2026-07-21 18:36:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638578 -3.628796)'), GeomFromEWKT('SRID=4674;POINT (-38.638575 -3.628812)'))) / (select extract(epoch from '2026-07-21 18:36:28'::timestamp) - extract(epoch from '2026-07-21 18:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638578 -3.628796)'), GeomFromEWKT('SRID=4674;POINT (-38.638575 -3.628812)'))) / (select extract(epoch from '2026-07-21 18:36:28'::timestamp) - extract(epoch from '2026-07-21 18:36:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638517 -3.62883)', '2026-07-21 18:37:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638575 -3.628812)'), GeomFromEWKT('SRID=4674;POINT (-38.638517 -3.62883)'))) / (select extract(epoch from '2026-07-21 18:37:26'::timestamp) - extract(epoch from '2026-07-21 18:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638575 -3.628812)'), GeomFromEWKT('SRID=4674;POINT (-38.638517 -3.62883)'))) / (select extract(epoch from '2026-07-21 18:37:26'::timestamp) - extract(epoch from '2026-07-21 18:36: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'), 47374, 'SRID=4674;POINT (-38.638513 -3.628835)', '2026-07-21 18:37:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638517 -3.62883)'), GeomFromEWKT('SRID=4674;POINT (-38.638513 -3.628835)'))) / (select extract(epoch from '2026-07-21 18:37:36'::timestamp) - extract(epoch from '2026-07-21 18:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638517 -3.62883)'), GeomFromEWKT('SRID=4674;POINT (-38.638513 -3.628835)'))) / (select extract(epoch from '2026-07-21 18:37:36'::timestamp) - extract(epoch from '2026-07-21 18:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638477 -3.628872)', '2026-07-21 18:38:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638513 -3.628835)'), GeomFromEWKT('SRID=4674;POINT (-38.638477 -3.628872)'))) / (select extract(epoch from '2026-07-21 18:38:09'::timestamp) - extract(epoch from '2026-07-21 18:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638513 -3.628835)'), GeomFromEWKT('SRID=4674;POINT (-38.638477 -3.628872)'))) / (select extract(epoch from '2026-07-21 18:38:09'::timestamp) - extract(epoch from '2026-07-21 18:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638465 -3.628877)', '2026-07-21 18:38:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638477 -3.628872)'), GeomFromEWKT('SRID=4674;POINT (-38.638465 -3.628877)'))) / (select extract(epoch from '2026-07-21 18:38:18'::timestamp) - extract(epoch from '2026-07-21 18:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638477 -3.628872)'), GeomFromEWKT('SRID=4674;POINT (-38.638465 -3.628877)'))) / (select extract(epoch from '2026-07-21 18:38:18'::timestamp) - extract(epoch from '2026-07-21 18:38: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'), 47374, 'SRID=4674;POINT (-38.638443 -3.628869)', '2026-07-21 18:38:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638465 -3.628877)'), GeomFromEWKT('SRID=4674;POINT (-38.638443 -3.628869)'))) / (select extract(epoch from '2026-07-21 18:38:28'::timestamp) - extract(epoch from '2026-07-21 18:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638465 -3.628877)'), GeomFromEWKT('SRID=4674;POINT (-38.638443 -3.628869)'))) / (select extract(epoch from '2026-07-21 18:38:28'::timestamp) - extract(epoch from '2026-07-21 18:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638424 -3.628872)', '2026-07-21 18:38:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638443 -3.628869)'), GeomFromEWKT('SRID=4674;POINT (-38.638424 -3.628872)'))) / (select extract(epoch from '2026-07-21 18:38:34'::timestamp) - extract(epoch from '2026-07-21 18:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638443 -3.628869)'), GeomFromEWKT('SRID=4674;POINT (-38.638424 -3.628872)'))) / (select extract(epoch from '2026-07-21 18:38:34'::timestamp) - extract(epoch from '2026-07-21 18:38: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'), 47374, 'SRID=4674;POINT (-38.638419 -3.628876)', '2026-07-21 18:38:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638424 -3.628872)'), GeomFromEWKT('SRID=4674;POINT (-38.638419 -3.628876)'))) / (select extract(epoch from '2026-07-21 18:38:37'::timestamp) - extract(epoch from '2026-07-21 18:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638424 -3.628872)'), GeomFromEWKT('SRID=4674;POINT (-38.638419 -3.628876)'))) / (select extract(epoch from '2026-07-21 18:38:37'::timestamp) - extract(epoch from '2026-07-21 18:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638388 -3.628898)', '2026-07-21 18:38:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638419 -3.628876)'), GeomFromEWKT('SRID=4674;POINT (-38.638388 -3.628898)'))) / (select extract(epoch from '2026-07-21 18:38:56'::timestamp) - extract(epoch from '2026-07-21 18:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638419 -3.628876)'), GeomFromEWKT('SRID=4674;POINT (-38.638388 -3.628898)'))) / (select extract(epoch from '2026-07-21 18:38:56'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638387 -3.628902)', '2026-07-21 18:39:04', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638388 -3.628898)'), GeomFromEWKT('SRID=4674;POINT (-38.638387 -3.628902)'))) / (select extract(epoch from '2026-07-21 18:39:04'::timestamp) - extract(epoch from '2026-07-21 18:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638388 -3.628898)'), GeomFromEWKT('SRID=4674;POINT (-38.638387 -3.628902)'))) / (select extract(epoch from '2026-07-21 18:39:04'::timestamp) - extract(epoch from '2026-07-21 18:38:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638345 -3.628915)', '2026-07-21 18:39:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638387 -3.628902)'), GeomFromEWKT('SRID=4674;POINT (-38.638345 -3.628915)'))) / (select extract(epoch from '2026-07-21 18:39:13'::timestamp) - extract(epoch from '2026-07-21 18:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638387 -3.628902)'), GeomFromEWKT('SRID=4674;POINT (-38.638345 -3.628915)'))) / (select extract(epoch from '2026-07-21 18:39:13'::timestamp) - extract(epoch from '2026-07-21 18:39: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'), 47374, 'SRID=4674;POINT (-38.638325 -3.628927)', '2026-07-21 18:39:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638345 -3.628915)'), GeomFromEWKT('SRID=4674;POINT (-38.638325 -3.628927)'))) / (select extract(epoch from '2026-07-21 18:39:20'::timestamp) - extract(epoch from '2026-07-21 18:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638345 -3.628915)'), GeomFromEWKT('SRID=4674;POINT (-38.638325 -3.628927)'))) / (select extract(epoch from '2026-07-21 18:39:20'::timestamp) - extract(epoch from '2026-07-21 18:39:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638317 -3.628929)', '2026-07-21 18:39:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638325 -3.628927)'), GeomFromEWKT('SRID=4674;POINT (-38.638317 -3.628929)'))) / (select extract(epoch from '2026-07-21 18:39:35'::timestamp) - extract(epoch from '2026-07-21 18:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638325 -3.628927)'), GeomFromEWKT('SRID=4674;POINT (-38.638317 -3.628929)'))) / (select extract(epoch from '2026-07-21 18:39:35'::timestamp) - extract(epoch from '2026-07-21 18:39: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'), 47374, 'SRID=4674;POINT (-38.638311 -3.628948)', '2026-07-21 18:40:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638317 -3.628929)'), GeomFromEWKT('SRID=4674;POINT (-38.638311 -3.628948)'))) / (select extract(epoch from '2026-07-21 18:40:13'::timestamp) - extract(epoch from '2026-07-21 18:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638317 -3.628929)'), GeomFromEWKT('SRID=4674;POINT (-38.638311 -3.628948)'))) / (select extract(epoch from '2026-07-21 18:40:13'::timestamp) - extract(epoch from '2026-07-21 18:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638308 -3.62895)', '2026-07-21 18:40:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638311 -3.628948)'), GeomFromEWKT('SRID=4674;POINT (-38.638308 -3.62895)'))) / (select extract(epoch from '2026-07-21 18:40:16'::timestamp) - extract(epoch from '2026-07-21 18:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638311 -3.628948)'), GeomFromEWKT('SRID=4674;POINT (-38.638308 -3.62895)'))) / (select extract(epoch from '2026-07-21 18:40:16'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638271 -3.628956)', '2026-07-21 18:40:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638308 -3.62895)'), GeomFromEWKT('SRID=4674;POINT (-38.638271 -3.628956)'))) / (select extract(epoch from '2026-07-21 18:40:25'::timestamp) - extract(epoch from '2026-07-21 18:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638308 -3.62895)'), GeomFromEWKT('SRID=4674;POINT (-38.638271 -3.628956)'))) / (select extract(epoch from '2026-07-21 18:40:25'::timestamp) - extract(epoch from '2026-07-21 18:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638255 -3.628958)', '2026-07-21 18:40:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638271 -3.628956)'), GeomFromEWKT('SRID=4674;POINT (-38.638255 -3.628958)'))) / (select extract(epoch from '2026-07-21 18:40:34'::timestamp) - extract(epoch from '2026-07-21 18:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638271 -3.628956)'), GeomFromEWKT('SRID=4674;POINT (-38.638255 -3.628958)'))) / (select extract(epoch from '2026-07-21 18:40:34'::timestamp) - extract(epoch from '2026-07-21 18:40: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'), 47374, 'SRID=4674;POINT (-38.638233 -3.628968)', '2026-07-21 18:40:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638255 -3.628958)'), GeomFromEWKT('SRID=4674;POINT (-38.638233 -3.628968)'))) / (select extract(epoch from '2026-07-21 18:40:44'::timestamp) - extract(epoch from '2026-07-21 18:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638255 -3.628958)'), GeomFromEWKT('SRID=4674;POINT (-38.638233 -3.628968)'))) / (select extract(epoch from '2026-07-21 18:40:44'::timestamp) - extract(epoch from '2026-07-21 18:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638217 -3.628982)', '2026-07-21 18:40:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638233 -3.628968)'), GeomFromEWKT('SRID=4674;POINT (-38.638217 -3.628982)'))) / (select extract(epoch from '2026-07-21 18:40:55'::timestamp) - extract(epoch from '2026-07-21 18:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638233 -3.628968)'), GeomFromEWKT('SRID=4674;POINT (-38.638217 -3.628982)'))) / (select extract(epoch from '2026-07-21 18:40:55'::timestamp) - extract(epoch from '2026-07-21 18:40: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'), 47374, 'SRID=4674;POINT (-38.638163 -3.628999)', '2026-07-21 18:41:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638217 -3.628982)'), GeomFromEWKT('SRID=4674;POINT (-38.638163 -3.628999)'))) / (select extract(epoch from '2026-07-21 18:41:07'::timestamp) - extract(epoch from '2026-07-21 18:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638217 -3.628982)'), GeomFromEWKT('SRID=4674;POINT (-38.638163 -3.628999)'))) / (select extract(epoch from '2026-07-21 18:41:07'::timestamp) - extract(epoch from '2026-07-21 18:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63814 -3.628995)', '2026-07-21 18:41:16', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638163 -3.628999)'), GeomFromEWKT('SRID=4674;POINT (-38.63814 -3.628995)'))) / (select extract(epoch from '2026-07-21 18:41:16'::timestamp) - extract(epoch from '2026-07-21 18:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638163 -3.628999)'), GeomFromEWKT('SRID=4674;POINT (-38.63814 -3.628995)'))) / (select extract(epoch from '2026-07-21 18:41:16'::timestamp) - extract(epoch from '2026-07-21 18:41: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'), 47374, 'SRID=4674;POINT (-38.638099 -3.629014)', '2026-07-21 18:42:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63814 -3.628995)'), GeomFromEWKT('SRID=4674;POINT (-38.638099 -3.629014)'))) / (select extract(epoch from '2026-07-21 18:42:12'::timestamp) - extract(epoch from '2026-07-21 18:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63814 -3.628995)'), GeomFromEWKT('SRID=4674;POINT (-38.638099 -3.629014)'))) / (select extract(epoch from '2026-07-21 18:42:12'::timestamp) - extract(epoch from '2026-07-21 18:41: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'), 47374, 'SRID=4674;POINT (-38.638071 -3.629018)', '2026-07-21 18:42:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638099 -3.629014)'), GeomFromEWKT('SRID=4674;POINT (-38.638071 -3.629018)'))) / (select extract(epoch from '2026-07-21 18:42:31'::timestamp) - extract(epoch from '2026-07-21 18:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638099 -3.629014)'), GeomFromEWKT('SRID=4674;POINT (-38.638071 -3.629018)'))) / (select extract(epoch from '2026-07-21 18:42:31'::timestamp) - extract(epoch from '2026-07-21 18:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.638038 -3.629025)', '2026-07-21 18:42:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638071 -3.629018)'), GeomFromEWKT('SRID=4674;POINT (-38.638038 -3.629025)'))) / (select extract(epoch from '2026-07-21 18:42:52'::timestamp) - extract(epoch from '2026-07-21 18:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638071 -3.629018)'), GeomFromEWKT('SRID=4674;POINT (-38.638038 -3.629025)'))) / (select extract(epoch from '2026-07-21 18:42:52'::timestamp) - extract(epoch from '2026-07-21 18:42: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'), 47374, 'SRID=4674;POINT (-38.638036 -3.629037)', '2026-07-21 18:42:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638038 -3.629025)'), GeomFromEWKT('SRID=4674;POINT (-38.638036 -3.629037)'))) / (select extract(epoch from '2026-07-21 18:42:58'::timestamp) - extract(epoch from '2026-07-21 18:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638038 -3.629025)'), GeomFromEWKT('SRID=4674;POINT (-38.638036 -3.629037)'))) / (select extract(epoch from '2026-07-21 18:42:58'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.638019 -3.629052)', '2026-07-21 18:43:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638036 -3.629037)'), GeomFromEWKT('SRID=4674;POINT (-38.638019 -3.629052)'))) / (select extract(epoch from '2026-07-21 18:43:04'::timestamp) - extract(epoch from '2026-07-21 18:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638036 -3.629037)'), GeomFromEWKT('SRID=4674;POINT (-38.638019 -3.629052)'))) / (select extract(epoch from '2026-07-21 18:43:04'::timestamp) - extract(epoch from '2026-07-21 18:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637991 -3.629056)', '2026-07-21 18:43:12', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638019 -3.629052)'), GeomFromEWKT('SRID=4674;POINT (-38.637991 -3.629056)'))) / (select extract(epoch from '2026-07-21 18:43:12'::timestamp) - extract(epoch from '2026-07-21 18:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638019 -3.629052)'), GeomFromEWKT('SRID=4674;POINT (-38.637991 -3.629056)'))) / (select extract(epoch from '2026-07-21 18:43:12'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637935 -3.629095)', '2026-07-21 18:44:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637991 -3.629056)'), GeomFromEWKT('SRID=4674;POINT (-38.637935 -3.629095)'))) / (select extract(epoch from '2026-07-21 18:44:14'::timestamp) - extract(epoch from '2026-07-21 18:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637991 -3.629056)'), GeomFromEWKT('SRID=4674;POINT (-38.637935 -3.629095)'))) / (select extract(epoch from '2026-07-21 18:44:14'::timestamp) - extract(epoch from '2026-07-21 18:43: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'), 47374, 'SRID=4674;POINT (-38.637891 -3.629108)', '2026-07-21 18:44:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637935 -3.629095)'), GeomFromEWKT('SRID=4674;POINT (-38.637891 -3.629108)'))) / (select extract(epoch from '2026-07-21 18:44:23'::timestamp) - extract(epoch from '2026-07-21 18:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637935 -3.629095)'), GeomFromEWKT('SRID=4674;POINT (-38.637891 -3.629108)'))) / (select extract(epoch from '2026-07-21 18:44:23'::timestamp) - extract(epoch from '2026-07-21 18:44: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'), 47374, 'SRID=4674;POINT (-38.637869 -3.629123)', '2026-07-21 18:44:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637891 -3.629108)'), GeomFromEWKT('SRID=4674;POINT (-38.637869 -3.629123)'))) / (select extract(epoch from '2026-07-21 18:44:37'::timestamp) - extract(epoch from '2026-07-21 18:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637891 -3.629108)'), GeomFromEWKT('SRID=4674;POINT (-38.637869 -3.629123)'))) / (select extract(epoch from '2026-07-21 18:44:37'::timestamp) - extract(epoch from '2026-07-21 18:44:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637842 -3.629129)', '2026-07-21 18:44:45', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637869 -3.629123)'), GeomFromEWKT('SRID=4674;POINT (-38.637842 -3.629129)'))) / (select extract(epoch from '2026-07-21 18:44:45'::timestamp) - extract(epoch from '2026-07-21 18:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637869 -3.629123)'), GeomFromEWKT('SRID=4674;POINT (-38.637842 -3.629129)'))) / (select extract(epoch from '2026-07-21 18:44:45'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637822 -3.629137)', '2026-07-21 18:44:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637842 -3.629129)'), GeomFromEWKT('SRID=4674;POINT (-38.637822 -3.629137)'))) / (select extract(epoch from '2026-07-21 18:44:52'::timestamp) - extract(epoch from '2026-07-21 18:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637842 -3.629129)'), GeomFromEWKT('SRID=4674;POINT (-38.637822 -3.629137)'))) / (select extract(epoch from '2026-07-21 18:44:52'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637788 -3.629138)', '2026-07-21 18:45:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637822 -3.629137)'), GeomFromEWKT('SRID=4674;POINT (-38.637788 -3.629138)'))) / (select extract(epoch from '2026-07-21 18:45:11'::timestamp) - extract(epoch from '2026-07-21 18:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637822 -3.629137)'), GeomFromEWKT('SRID=4674;POINT (-38.637788 -3.629138)'))) / (select extract(epoch from '2026-07-21 18:45:11'::timestamp) - extract(epoch from '2026-07-21 18:44: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'), 47374, 'SRID=4674;POINT (-38.637769 -3.629166)', '2026-07-21 18:45:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637788 -3.629138)'), GeomFromEWKT('SRID=4674;POINT (-38.637769 -3.629166)'))) / (select extract(epoch from '2026-07-21 18:45:25'::timestamp) - extract(epoch from '2026-07-21 18:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637788 -3.629138)'), GeomFromEWKT('SRID=4674;POINT (-38.637769 -3.629166)'))) / (select extract(epoch from '2026-07-21 18:45:25'::timestamp) - extract(epoch from '2026-07-21 18:45: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'), 47374, 'SRID=4674;POINT (-38.637767 -3.629178)', '2026-07-21 18:45:35', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637769 -3.629166)'), GeomFromEWKT('SRID=4674;POINT (-38.637767 -3.629178)'))) / (select extract(epoch from '2026-07-21 18:45:35'::timestamp) - extract(epoch from '2026-07-21 18:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637769 -3.629166)'), GeomFromEWKT('SRID=4674;POINT (-38.637767 -3.629178)'))) / (select extract(epoch from '2026-07-21 18:45:35'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.63772 -3.629204)', '2026-07-21 18:46:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637767 -3.629178)'), GeomFromEWKT('SRID=4674;POINT (-38.63772 -3.629204)'))) / (select extract(epoch from '2026-07-21 18:46:01'::timestamp) - extract(epoch from '2026-07-21 18:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637767 -3.629178)'), GeomFromEWKT('SRID=4674;POINT (-38.63772 -3.629204)'))) / (select extract(epoch from '2026-07-21 18:46:01'::timestamp) - extract(epoch from '2026-07-21 18:45: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'), 47374, 'SRID=4674;POINT (-38.637701 -3.629223)', '2026-07-21 18:46:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63772 -3.629204)'), GeomFromEWKT('SRID=4674;POINT (-38.637701 -3.629223)'))) / (select extract(epoch from '2026-07-21 18:46:08'::timestamp) - extract(epoch from '2026-07-21 18:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63772 -3.629204)'), GeomFromEWKT('SRID=4674;POINT (-38.637701 -3.629223)'))) / (select extract(epoch from '2026-07-21 18:46:08'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637672 -3.629228)', '2026-07-21 18:46:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637701 -3.629223)'), GeomFromEWKT('SRID=4674;POINT (-38.637672 -3.629228)'))) / (select extract(epoch from '2026-07-21 18:46:18'::timestamp) - extract(epoch from '2026-07-21 18:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637701 -3.629223)'), GeomFromEWKT('SRID=4674;POINT (-38.637672 -3.629228)'))) / (select extract(epoch from '2026-07-21 18:46:18'::timestamp) - extract(epoch from '2026-07-21 18:46: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'), 47374, 'SRID=4674;POINT (-38.637656 -3.629219)', '2026-07-21 18:46:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637672 -3.629228)'), GeomFromEWKT('SRID=4674;POINT (-38.637656 -3.629219)'))) / (select extract(epoch from '2026-07-21 18:46:35'::timestamp) - extract(epoch from '2026-07-21 18:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637672 -3.629228)'), GeomFromEWKT('SRID=4674;POINT (-38.637656 -3.629219)'))) / (select extract(epoch from '2026-07-21 18:46:35'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637652 -3.629236)', '2026-07-21 18:46:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637656 -3.629219)'), GeomFromEWKT('SRID=4674;POINT (-38.637652 -3.629236)'))) / (select extract(epoch from '2026-07-21 18:46:41'::timestamp) - extract(epoch from '2026-07-21 18:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637656 -3.629219)'), GeomFromEWKT('SRID=4674;POINT (-38.637652 -3.629236)'))) / (select extract(epoch from '2026-07-21 18:46:41'::timestamp) - extract(epoch from '2026-07-21 18:46: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'), 47374, 'SRID=4674;POINT (-38.637653 -3.629243)', '2026-07-21 18:46:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637652 -3.629236)'), GeomFromEWKT('SRID=4674;POINT (-38.637653 -3.629243)'))) / (select extract(epoch from '2026-07-21 18:46:54'::timestamp) - extract(epoch from '2026-07-21 18:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637652 -3.629236)'), GeomFromEWKT('SRID=4674;POINT (-38.637653 -3.629243)'))) / (select extract(epoch from '2026-07-21 18:46:54'::timestamp) - extract(epoch from '2026-07-21 18:46: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'), 47374, 'SRID=4674;POINT (-38.637628 -3.629269)', '2026-07-21 18:47:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637653 -3.629243)'), GeomFromEWKT('SRID=4674;POINT (-38.637628 -3.629269)'))) / (select extract(epoch from '2026-07-21 18:47:32'::timestamp) - extract(epoch from '2026-07-21 18:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637653 -3.629243)'), GeomFromEWKT('SRID=4674;POINT (-38.637628 -3.629269)'))) / (select extract(epoch from '2026-07-21 18:47:32'::timestamp) - extract(epoch from '2026-07-21 18:46: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'), 47374, 'SRID=4674;POINT (-38.637661 -3.629278)', '2026-07-21 18:48:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637628 -3.629269)'), GeomFromEWKT('SRID=4674;POINT (-38.637661 -3.629278)'))) / (select extract(epoch from '2026-07-21 18:48:03'::timestamp) - extract(epoch from '2026-07-21 18:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637628 -3.629269)'), GeomFromEWKT('SRID=4674;POINT (-38.637661 -3.629278)'))) / (select extract(epoch from '2026-07-21 18:48:03'::timestamp) - extract(epoch from '2026-07-21 18:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637658 -3.629282)', '2026-07-21 18:48:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637661 -3.629278)'), GeomFromEWKT('SRID=4674;POINT (-38.637658 -3.629282)'))) / (select extract(epoch from '2026-07-21 18:48:14'::timestamp) - extract(epoch from '2026-07-21 18:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637661 -3.629278)'), GeomFromEWKT('SRID=4674;POINT (-38.637658 -3.629282)'))) / (select extract(epoch from '2026-07-21 18:48:14'::timestamp) - extract(epoch from '2026-07-21 18:48: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'), 47374, 'SRID=4674;POINT (-38.637629 -3.629319)', '2026-07-21 18:48:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637658 -3.629282)'), GeomFromEWKT('SRID=4674;POINT (-38.637629 -3.629319)'))) / (select extract(epoch from '2026-07-21 18:48:37'::timestamp) - extract(epoch from '2026-07-21 18:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637658 -3.629282)'), GeomFromEWKT('SRID=4674;POINT (-38.637629 -3.629319)'))) / (select extract(epoch from '2026-07-21 18:48:37'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637607 -3.629324)', '2026-07-21 18:48:49', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637629 -3.629319)'), GeomFromEWKT('SRID=4674;POINT (-38.637607 -3.629324)'))) / (select extract(epoch from '2026-07-21 18:48:49'::timestamp) - extract(epoch from '2026-07-21 18:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637629 -3.629319)'), GeomFromEWKT('SRID=4674;POINT (-38.637607 -3.629324)'))) / (select extract(epoch from '2026-07-21 18:48:49'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637592 -3.629345)', '2026-07-21 18:49:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637607 -3.629324)'), GeomFromEWKT('SRID=4674;POINT (-38.637592 -3.629345)'))) / (select extract(epoch from '2026-07-21 18:49:01'::timestamp) - extract(epoch from '2026-07-21 18:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637607 -3.629324)'), GeomFromEWKT('SRID=4674;POINT (-38.637592 -3.629345)'))) / (select extract(epoch from '2026-07-21 18:49:01'::timestamp) - extract(epoch from '2026-07-21 18:48: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'), 47374, 'SRID=4674;POINT (-38.637566 -3.629369)', '2026-07-21 18:49:46', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637592 -3.629345)'), GeomFromEWKT('SRID=4674;POINT (-38.637566 -3.629369)'))) / (select extract(epoch from '2026-07-21 18:49:46'::timestamp) - extract(epoch from '2026-07-21 18:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637592 -3.629345)'), GeomFromEWKT('SRID=4674;POINT (-38.637566 -3.629369)'))) / (select extract(epoch from '2026-07-21 18:49:46'::timestamp) - extract(epoch from '2026-07-21 18:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637562 -3.629381)', '2026-07-21 18:49:51', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637566 -3.629369)'), GeomFromEWKT('SRID=4674;POINT (-38.637562 -3.629381)'))) / (select extract(epoch from '2026-07-21 18:49:51'::timestamp) - extract(epoch from '2026-07-21 18:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637566 -3.629369)'), GeomFromEWKT('SRID=4674;POINT (-38.637562 -3.629381)'))) / (select extract(epoch from '2026-07-21 18:49:51'::timestamp) - extract(epoch from '2026-07-21 18:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637484 -3.629436)', '2026-07-21 18:51:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637562 -3.629381)'), GeomFromEWKT('SRID=4674;POINT (-38.637484 -3.629436)'))) / (select extract(epoch from '2026-07-21 18:51:13'::timestamp) - extract(epoch from '2026-07-21 18:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637562 -3.629381)'), GeomFromEWKT('SRID=4674;POINT (-38.637484 -3.629436)'))) / (select extract(epoch from '2026-07-21 18:51:13'::timestamp) - extract(epoch from '2026-07-21 18:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63746 -3.629439)', '2026-07-21 18:51:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637484 -3.629436)'), GeomFromEWKT('SRID=4674;POINT (-38.63746 -3.629439)'))) / (select extract(epoch from '2026-07-21 18:51:30'::timestamp) - extract(epoch from '2026-07-21 18:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637484 -3.629436)'), GeomFromEWKT('SRID=4674;POINT (-38.63746 -3.629439)'))) / (select extract(epoch from '2026-07-21 18:51:30'::timestamp) - extract(epoch from '2026-07-21 18:51: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'), 47374, 'SRID=4674;POINT (-38.637437 -3.629478)', '2026-07-21 18:52:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63746 -3.629439)'), GeomFromEWKT('SRID=4674;POINT (-38.637437 -3.629478)'))) / (select extract(epoch from '2026-07-21 18:52:41'::timestamp) - extract(epoch from '2026-07-21 18:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63746 -3.629439)'), GeomFromEWKT('SRID=4674;POINT (-38.637437 -3.629478)'))) / (select extract(epoch from '2026-07-21 18:52:41'::timestamp) - extract(epoch from '2026-07-21 18:51: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'), 47374, 'SRID=4674;POINT (-38.637431 -3.629489)', '2026-07-21 18:52:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637437 -3.629478)'), GeomFromEWKT('SRID=4674;POINT (-38.637431 -3.629489)'))) / (select extract(epoch from '2026-07-21 18:52:54'::timestamp) - extract(epoch from '2026-07-21 18:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637437 -3.629478)'), GeomFromEWKT('SRID=4674;POINT (-38.637431 -3.629489)'))) / (select extract(epoch from '2026-07-21 18:52:54'::timestamp) - extract(epoch from '2026-07-21 18:52: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'), 47374, 'SRID=4674;POINT (-38.637424 -3.629493)', '2026-07-21 18:53:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637431 -3.629489)'), GeomFromEWKT('SRID=4674;POINT (-38.637424 -3.629493)'))) / (select extract(epoch from '2026-07-21 18:53:00'::timestamp) - extract(epoch from '2026-07-21 18:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637431 -3.629489)'), GeomFromEWKT('SRID=4674;POINT (-38.637424 -3.629493)'))) / (select extract(epoch from '2026-07-21 18:53:00'::timestamp) - extract(epoch from '2026-07-21 18:52:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637419 -3.629513)', '2026-07-21 18:53:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637424 -3.629493)'), GeomFromEWKT('SRID=4674;POINT (-38.637419 -3.629513)'))) / (select extract(epoch from '2026-07-21 18:53:48'::timestamp) - extract(epoch from '2026-07-21 18:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637424 -3.629493)'), GeomFromEWKT('SRID=4674;POINT (-38.637419 -3.629513)'))) / (select extract(epoch from '2026-07-21 18:53:48'::timestamp) - extract(epoch from '2026-07-21 18:53: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'), 47374, 'SRID=4674;POINT (-38.637404 -3.629517)', '2026-07-21 18:53:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637419 -3.629513)'), GeomFromEWKT('SRID=4674;POINT (-38.637404 -3.629517)'))) / (select extract(epoch from '2026-07-21 18:53:54'::timestamp) - extract(epoch from '2026-07-21 18:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637419 -3.629513)'), GeomFromEWKT('SRID=4674;POINT (-38.637404 -3.629517)'))) / (select extract(epoch from '2026-07-21 18:53:54'::timestamp) - extract(epoch from '2026-07-21 18: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'), 47374, 'SRID=4674;POINT (-38.637384 -3.629523)', '2026-07-21 18:54:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637404 -3.629517)'), GeomFromEWKT('SRID=4674;POINT (-38.637384 -3.629523)'))) / (select extract(epoch from '2026-07-21 18:54:01'::timestamp) - extract(epoch from '2026-07-21 18:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637404 -3.629517)'), GeomFromEWKT('SRID=4674;POINT (-38.637384 -3.629523)'))) / (select extract(epoch from '2026-07-21 18:54:01'::timestamp) - extract(epoch from '2026-07-21 18:53: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'), 47374, 'SRID=4674;POINT (-38.637365 -3.629535)', '2026-07-21 18:54:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637384 -3.629523)'), GeomFromEWKT('SRID=4674;POINT (-38.637365 -3.629535)'))) / (select extract(epoch from '2026-07-21 18:54:14'::timestamp) - extract(epoch from '2026-07-21 18:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637384 -3.629523)'), GeomFromEWKT('SRID=4674;POINT (-38.637365 -3.629535)'))) / (select extract(epoch from '2026-07-21 18:54:14'::timestamp) - extract(epoch from '2026-07-21 18:54: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'), 47374, 'SRID=4674;POINT (-38.637312 -3.62956)', '2026-07-21 18:54:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637365 -3.629535)'), GeomFromEWKT('SRID=4674;POINT (-38.637312 -3.62956)'))) / (select extract(epoch from '2026-07-21 18:54:36'::timestamp) - extract(epoch from '2026-07-21 18:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637365 -3.629535)'), GeomFromEWKT('SRID=4674;POINT (-38.637312 -3.62956)'))) / (select extract(epoch from '2026-07-21 18:54:36'::timestamp) - extract(epoch from '2026-07-21 18:54: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'), 47374, 'SRID=4674;POINT (-38.637273 -3.629586)', '2026-07-21 18:55:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637312 -3.62956)'), GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.629586)'))) / (select extract(epoch from '2026-07-21 18:55:07'::timestamp) - extract(epoch from '2026-07-21 18:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637312 -3.62956)'), GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.629586)'))) / (select extract(epoch from '2026-07-21 18:55:07'::timestamp) - extract(epoch from '2026-07-21 18:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637271 -3.629583)', '2026-07-21 18:55:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.629586)'), GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.629583)'))) / (select extract(epoch from '2026-07-21 18:55:14'::timestamp) - extract(epoch from '2026-07-21 18:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.629586)'), GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.629583)'))) / (select extract(epoch from '2026-07-21 18:55:14'::timestamp) - extract(epoch from '2026-07-21 18:55:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637287 -3.629578)', '2026-07-21 18:55:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.629583)'), GeomFromEWKT('SRID=4674;POINT (-38.637287 -3.629578)'))) / (select extract(epoch from '2026-07-21 18:55:24'::timestamp) - extract(epoch from '2026-07-21 18:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637271 -3.629583)'), GeomFromEWKT('SRID=4674;POINT (-38.637287 -3.629578)'))) / (select extract(epoch from '2026-07-21 18:55:24'::timestamp) - extract(epoch from '2026-07-21 18:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637311 -3.6296)', '2026-07-21 18:55:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637287 -3.629578)'), GeomFromEWKT('SRID=4674;POINT (-38.637311 -3.6296)'))) / (select extract(epoch from '2026-07-21 18:55:58'::timestamp) - extract(epoch from '2026-07-21 18:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637287 -3.629578)'), GeomFromEWKT('SRID=4674;POINT (-38.637311 -3.6296)'))) / (select extract(epoch from '2026-07-21 18:55:58'::timestamp) - extract(epoch from '2026-07-21 18:55: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'), 47374, 'SRID=4674;POINT (-38.637303 -3.629619)', '2026-07-21 18:56:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637311 -3.6296)'), GeomFromEWKT('SRID=4674;POINT (-38.637303 -3.629619)'))) / (select extract(epoch from '2026-07-21 18:56:24'::timestamp) - extract(epoch from '2026-07-21 18:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637311 -3.6296)'), GeomFromEWKT('SRID=4674;POINT (-38.637303 -3.629619)'))) / (select extract(epoch from '2026-07-21 18:56:24'::timestamp) - extract(epoch from '2026-07-21 18:55: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'), 47374, 'SRID=4674;POINT (-38.637249 -3.629656)', '2026-07-21 18:57:16', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637303 -3.629619)'), GeomFromEWKT('SRID=4674;POINT (-38.637249 -3.629656)'))) / (select extract(epoch from '2026-07-21 18:57:16'::timestamp) - extract(epoch from '2026-07-21 18:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637303 -3.629619)'), GeomFromEWKT('SRID=4674;POINT (-38.637249 -3.629656)'))) / (select extract(epoch from '2026-07-21 18:57:16'::timestamp) - extract(epoch from '2026-07-21 18:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63721 -3.62969)', '2026-07-21 18:57:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637249 -3.629656)'), GeomFromEWKT('SRID=4674;POINT (-38.63721 -3.62969)'))) / (select extract(epoch from '2026-07-21 18:57:37'::timestamp) - extract(epoch from '2026-07-21 18:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637249 -3.629656)'), GeomFromEWKT('SRID=4674;POINT (-38.63721 -3.62969)'))) / (select extract(epoch from '2026-07-21 18:57:37'::timestamp) - extract(epoch from '2026-07-21 18:57: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'), 47374, 'SRID=4674;POINT (-38.63719 -3.629713)', '2026-07-21 18:57:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63721 -3.62969)'), GeomFromEWKT('SRID=4674;POINT (-38.63719 -3.629713)'))) / (select extract(epoch from '2026-07-21 18:57:58'::timestamp) - extract(epoch from '2026-07-21 18:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63721 -3.62969)'), GeomFromEWKT('SRID=4674;POINT (-38.63719 -3.629713)'))) / (select extract(epoch from '2026-07-21 18:57:58'::timestamp) - extract(epoch from '2026-07-21 18:57:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637106 -3.629771)', '2026-07-21 18:59:06', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63719 -3.629713)'), GeomFromEWKT('SRID=4674;POINT (-38.637106 -3.629771)'))) / (select extract(epoch from '2026-07-21 18:59:06'::timestamp) - extract(epoch from '2026-07-21 18:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63719 -3.629713)'), GeomFromEWKT('SRID=4674;POINT (-38.637106 -3.629771)'))) / (select extract(epoch from '2026-07-21 18:59:06'::timestamp) - extract(epoch from '2026-07-21 18:57: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'), 47374, 'SRID=4674;POINT (-38.637047 -3.629816)', '2026-07-21 19:00:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637106 -3.629771)'), GeomFromEWKT('SRID=4674;POINT (-38.637047 -3.629816)'))) / (select extract(epoch from '2026-07-21 19:00:00'::timestamp) - extract(epoch from '2026-07-21 18:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637106 -3.629771)'), GeomFromEWKT('SRID=4674;POINT (-38.637047 -3.629816)'))) / (select extract(epoch from '2026-07-21 19:00:00'::timestamp) - extract(epoch from '2026-07-21 18:59: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'), 47374, 'SRID=4674;POINT (-38.637038 -3.629824)', '2026-07-21 19:00:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637047 -3.629816)'), GeomFromEWKT('SRID=4674;POINT (-38.637038 -3.629824)'))) / (select extract(epoch from '2026-07-21 19:00:58'::timestamp) - extract(epoch from '2026-07-21 19:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637047 -3.629816)'), GeomFromEWKT('SRID=4674;POINT (-38.637038 -3.629824)'))) / (select extract(epoch from '2026-07-21 19:00:58'::timestamp) - extract(epoch from '2026-07-21 19:00: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'), 47374, 'SRID=4674;POINT (-38.637016 -3.629845)', '2026-07-21 19:01:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637038 -3.629824)'), GeomFromEWKT('SRID=4674;POINT (-38.637016 -3.629845)'))) / (select extract(epoch from '2026-07-21 19:01:23'::timestamp) - extract(epoch from '2026-07-21 19:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637038 -3.629824)'), GeomFromEWKT('SRID=4674;POINT (-38.637016 -3.629845)'))) / (select extract(epoch from '2026-07-21 19:01:23'::timestamp) - extract(epoch from '2026-07-21 19:00: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'), 47374, 'SRID=4674;POINT (-38.636999 -3.629851)', '2026-07-21 19:01:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637016 -3.629845)'), GeomFromEWKT('SRID=4674;POINT (-38.636999 -3.629851)'))) / (select extract(epoch from '2026-07-21 19:01:30'::timestamp) - extract(epoch from '2026-07-21 19:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637016 -3.629845)'), GeomFromEWKT('SRID=4674;POINT (-38.636999 -3.629851)'))) / (select extract(epoch from '2026-07-21 19:01:30'::timestamp) - extract(epoch from '2026-07-21 19:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636946 -3.629887)', '2026-07-21 19:02:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636999 -3.629851)'), GeomFromEWKT('SRID=4674;POINT (-38.636946 -3.629887)'))) / (select extract(epoch from '2026-07-21 19:02:30'::timestamp) - extract(epoch from '2026-07-21 19:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636999 -3.629851)'), GeomFromEWKT('SRID=4674;POINT (-38.636946 -3.629887)'))) / (select extract(epoch from '2026-07-21 19:02:30'::timestamp) - extract(epoch from '2026-07-21 19:01: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'), 47374, 'SRID=4674;POINT (-38.636938 -3.629892)', '2026-07-21 19:02:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636946 -3.629887)'), GeomFromEWKT('SRID=4674;POINT (-38.636938 -3.629892)'))) / (select extract(epoch from '2026-07-21 19:02:48'::timestamp) - extract(epoch from '2026-07-21 19:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636946 -3.629887)'), GeomFromEWKT('SRID=4674;POINT (-38.636938 -3.629892)'))) / (select extract(epoch from '2026-07-21 19:02:48'::timestamp) - extract(epoch from '2026-07-21 19:02: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'), 47374, 'SRID=4674;POINT (-38.636926 -3.629915)', '2026-07-21 19:03:10', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636938 -3.629892)'), GeomFromEWKT('SRID=4674;POINT (-38.636926 -3.629915)'))) / (select extract(epoch from '2026-07-21 19:03:10'::timestamp) - extract(epoch from '2026-07-21 19:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636938 -3.629892)'), GeomFromEWKT('SRID=4674;POINT (-38.636926 -3.629915)'))) / (select extract(epoch from '2026-07-21 19:03:10'::timestamp) - extract(epoch from '2026-07-21 19:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636931 -3.629929)', '2026-07-21 19:03:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636926 -3.629915)'), GeomFromEWKT('SRID=4674;POINT (-38.636931 -3.629929)'))) / (select extract(epoch from '2026-07-21 19:03:49'::timestamp) - extract(epoch from '2026-07-21 19:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636926 -3.629915)'), GeomFromEWKT('SRID=4674;POINT (-38.636931 -3.629929)'))) / (select extract(epoch from '2026-07-21 19:03:49'::timestamp) - extract(epoch from '2026-07-21 19:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636936 -3.629936)', '2026-07-21 19:03:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636931 -3.629929)'), GeomFromEWKT('SRID=4674;POINT (-38.636936 -3.629936)'))) / (select extract(epoch from '2026-07-21 19:03:58'::timestamp) - extract(epoch from '2026-07-21 19:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636931 -3.629929)'), GeomFromEWKT('SRID=4674;POINT (-38.636936 -3.629936)'))) / (select extract(epoch from '2026-07-21 19:03:58'::timestamp) - extract(epoch from '2026-07-21 19:03: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'), 47374, 'SRID=4674;POINT (-38.636955 -3.629934)', '2026-07-21 19:04:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636936 -3.629936)'), GeomFromEWKT('SRID=4674;POINT (-38.636955 -3.629934)'))) / (select extract(epoch from '2026-07-21 19:04:03'::timestamp) - extract(epoch from '2026-07-21 19:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636936 -3.629936)'), GeomFromEWKT('SRID=4674;POINT (-38.636955 -3.629934)'))) / (select extract(epoch from '2026-07-21 19:04:03'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.63697 -3.629936)', '2026-07-21 19:04:19', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636955 -3.629934)'), GeomFromEWKT('SRID=4674;POINT (-38.63697 -3.629936)'))) / (select extract(epoch from '2026-07-21 19:04:19'::timestamp) - extract(epoch from '2026-07-21 19:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636955 -3.629934)'), GeomFromEWKT('SRID=4674;POINT (-38.63697 -3.629936)'))) / (select extract(epoch from '2026-07-21 19:04:19'::timestamp) - extract(epoch from '2026-07-21 19:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636996 -3.629949)', '2026-07-21 19:04:41', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63697 -3.629936)'), GeomFromEWKT('SRID=4674;POINT (-38.636996 -3.629949)'))) / (select extract(epoch from '2026-07-21 19:04:41'::timestamp) - extract(epoch from '2026-07-21 19:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63697 -3.629936)'), GeomFromEWKT('SRID=4674;POINT (-38.636996 -3.629949)'))) / (select extract(epoch from '2026-07-21 19:04:41'::timestamp) - extract(epoch from '2026-07-21 19:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637011 -3.629943)', '2026-07-21 19:04:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636996 -3.629949)'), GeomFromEWKT('SRID=4674;POINT (-38.637011 -3.629943)'))) / (select extract(epoch from '2026-07-21 19:04:51'::timestamp) - extract(epoch from '2026-07-21 19:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636996 -3.629949)'), GeomFromEWKT('SRID=4674;POINT (-38.637011 -3.629943)'))) / (select extract(epoch from '2026-07-21 19:04:51'::timestamp) - extract(epoch from '2026-07-21 19:04: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'), 47374, 'SRID=4674;POINT (-38.637048 -3.629929)', '2026-07-21 19:04:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637011 -3.629943)'), GeomFromEWKT('SRID=4674;POINT (-38.637048 -3.629929)'))) / (select extract(epoch from '2026-07-21 19:04:57'::timestamp) - extract(epoch from '2026-07-21 19:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637011 -3.629943)'), GeomFromEWKT('SRID=4674;POINT (-38.637048 -3.629929)'))) / (select extract(epoch from '2026-07-21 19:04:57'::timestamp) - extract(epoch from '2026-07-21 19:04: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'), 47374, 'SRID=4674;POINT (-38.63708 -3.629919)', '2026-07-21 19:05:03', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637048 -3.629929)'), GeomFromEWKT('SRID=4674;POINT (-38.63708 -3.629919)'))) / (select extract(epoch from '2026-07-21 19:05:03'::timestamp) - extract(epoch from '2026-07-21 19:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637048 -3.629929)'), GeomFromEWKT('SRID=4674;POINT (-38.63708 -3.629919)'))) / (select extract(epoch from '2026-07-21 19:05:03'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.637143 -3.629889)', '2026-07-21 19:05:14', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63708 -3.629919)'), GeomFromEWKT('SRID=4674;POINT (-38.637143 -3.629889)'))) / (select extract(epoch from '2026-07-21 19:05:14'::timestamp) - extract(epoch from '2026-07-21 19:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63708 -3.629919)'), GeomFromEWKT('SRID=4674;POINT (-38.637143 -3.629889)'))) / (select extract(epoch from '2026-07-21 19:05:14'::timestamp) - extract(epoch from '2026-07-21 19:05: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'), 47374, 'SRID=4674;POINT (-38.637211 -3.629875)', '2026-07-21 19:05:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637143 -3.629889)'), GeomFromEWKT('SRID=4674;POINT (-38.637211 -3.629875)'))) / (select extract(epoch from '2026-07-21 19:05:26'::timestamp) - extract(epoch from '2026-07-21 19:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637143 -3.629889)'), GeomFromEWKT('SRID=4674;POINT (-38.637211 -3.629875)'))) / (select extract(epoch from '2026-07-21 19:05:26'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.637242 -3.629862)', '2026-07-21 19:05:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637211 -3.629875)'), GeomFromEWKT('SRID=4674;POINT (-38.637242 -3.629862)'))) / (select extract(epoch from '2026-07-21 19:05:33'::timestamp) - extract(epoch from '2026-07-21 19:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637211 -3.629875)'), GeomFromEWKT('SRID=4674;POINT (-38.637242 -3.629862)'))) / (select extract(epoch from '2026-07-21 19:05:33'::timestamp) - extract(epoch from '2026-07-21 19:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637297 -3.629855)', '2026-07-21 19:05:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637242 -3.629862)'), GeomFromEWKT('SRID=4674;POINT (-38.637297 -3.629855)'))) / (select extract(epoch from '2026-07-21 19:05:42'::timestamp) - extract(epoch from '2026-07-21 19:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637242 -3.629862)'), GeomFromEWKT('SRID=4674;POINT (-38.637297 -3.629855)'))) / (select extract(epoch from '2026-07-21 19:05:42'::timestamp) - extract(epoch from '2026-07-21 19:05:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637345 -3.629856)', '2026-07-21 19:05:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637297 -3.629855)'), GeomFromEWKT('SRID=4674;POINT (-38.637345 -3.629856)'))) / (select extract(epoch from '2026-07-21 19:05:51'::timestamp) - extract(epoch from '2026-07-21 19:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637297 -3.629855)'), GeomFromEWKT('SRID=4674;POINT (-38.637345 -3.629856)'))) / (select extract(epoch from '2026-07-21 19:05:51'::timestamp) - extract(epoch from '2026-07-21 19:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637398 -3.629848)', '2026-07-21 19:06:01', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637345 -3.629856)'), GeomFromEWKT('SRID=4674;POINT (-38.637398 -3.629848)'))) / (select extract(epoch from '2026-07-21 19:06:01'::timestamp) - extract(epoch from '2026-07-21 19:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637345 -3.629856)'), GeomFromEWKT('SRID=4674;POINT (-38.637398 -3.629848)'))) / (select extract(epoch from '2026-07-21 19:06:01'::timestamp) - extract(epoch from '2026-07-21 19:05: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'), 47374, 'SRID=4674;POINT (-38.63744 -3.629829)', '2026-07-21 19:06:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637398 -3.629848)'), GeomFromEWKT('SRID=4674;POINT (-38.63744 -3.629829)'))) / (select extract(epoch from '2026-07-21 19:06:10'::timestamp) - extract(epoch from '2026-07-21 19:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637398 -3.629848)'), GeomFromEWKT('SRID=4674;POINT (-38.63744 -3.629829)'))) / (select extract(epoch from '2026-07-21 19:06:10'::timestamp) - extract(epoch from '2026-07-21 19:06: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'), 47374, 'SRID=4674;POINT (-38.637477 -3.629817)', '2026-07-21 19:06:20', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63744 -3.629829)'), GeomFromEWKT('SRID=4674;POINT (-38.637477 -3.629817)'))) / (select extract(epoch from '2026-07-21 19:06:20'::timestamp) - extract(epoch from '2026-07-21 19:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63744 -3.629829)'), GeomFromEWKT('SRID=4674;POINT (-38.637477 -3.629817)'))) / (select extract(epoch from '2026-07-21 19:06:20'::timestamp) - extract(epoch from '2026-07-21 19:06: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'), 47374, 'SRID=4674;POINT (-38.637516 -3.629807)', '2026-07-21 19:06:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637477 -3.629817)'), GeomFromEWKT('SRID=4674;POINT (-38.637516 -3.629807)'))) / (select extract(epoch from '2026-07-21 19:06:27'::timestamp) - extract(epoch from '2026-07-21 19:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637477 -3.629817)'), GeomFromEWKT('SRID=4674;POINT (-38.637516 -3.629807)'))) / (select extract(epoch from '2026-07-21 19:06:27'::timestamp) - extract(epoch from '2026-07-21 19:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637541 -3.629803)', '2026-07-21 19:06:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637516 -3.629807)'), GeomFromEWKT('SRID=4674;POINT (-38.637541 -3.629803)'))) / (select extract(epoch from '2026-07-21 19:06:32'::timestamp) - extract(epoch from '2026-07-21 19:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637516 -3.629807)'), GeomFromEWKT('SRID=4674;POINT (-38.637541 -3.629803)'))) / (select extract(epoch from '2026-07-21 19:06:32'::timestamp) - extract(epoch from '2026-07-21 19:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637591 -3.629794)', '2026-07-21 19:06:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637541 -3.629803)'), GeomFromEWKT('SRID=4674;POINT (-38.637591 -3.629794)'))) / (select extract(epoch from '2026-07-21 19:06:41'::timestamp) - extract(epoch from '2026-07-21 19:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637541 -3.629803)'), GeomFromEWKT('SRID=4674;POINT (-38.637591 -3.629794)'))) / (select extract(epoch from '2026-07-21 19:06:41'::timestamp) - extract(epoch from '2026-07-21 19:06: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'), 47374, 'SRID=4674;POINT (-38.637641 -3.629787)', '2026-07-21 19:06:49', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637591 -3.629794)'), GeomFromEWKT('SRID=4674;POINT (-38.637641 -3.629787)'))) / (select extract(epoch from '2026-07-21 19:06:49'::timestamp) - extract(epoch from '2026-07-21 19:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637591 -3.629794)'), GeomFromEWKT('SRID=4674;POINT (-38.637641 -3.629787)'))) / (select extract(epoch from '2026-07-21 19:06:49'::timestamp) - extract(epoch from '2026-07-21 19:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637703 -3.629784)', '2026-07-21 19:06:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637641 -3.629787)'), GeomFromEWKT('SRID=4674;POINT (-38.637703 -3.629784)'))) / (select extract(epoch from '2026-07-21 19:06:57'::timestamp) - extract(epoch from '2026-07-21 19:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637641 -3.629787)'), GeomFromEWKT('SRID=4674;POINT (-38.637703 -3.629784)'))) / (select extract(epoch from '2026-07-21 19:06:57'::timestamp) - extract(epoch from '2026-07-21 19:06: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'), 47374, 'SRID=4674;POINT (-38.637763 -3.629786)', '2026-07-21 19:07:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637703 -3.629784)'), GeomFromEWKT('SRID=4674;POINT (-38.637763 -3.629786)'))) / (select extract(epoch from '2026-07-21 19:07:04'::timestamp) - extract(epoch from '2026-07-21 19:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637703 -3.629784)'), GeomFromEWKT('SRID=4674;POINT (-38.637763 -3.629786)'))) / (select extract(epoch from '2026-07-21 19:07:04'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.637793 -3.62978)', '2026-07-21 19:07:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637763 -3.629786)'), GeomFromEWKT('SRID=4674;POINT (-38.637793 -3.62978)'))) / (select extract(epoch from '2026-07-21 19:07:09'::timestamp) - extract(epoch from '2026-07-21 19:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637763 -3.629786)'), GeomFromEWKT('SRID=4674;POINT (-38.637793 -3.62978)'))) / (select extract(epoch from '2026-07-21 19:07:09'::timestamp) - extract(epoch from '2026-07-21 19:07: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'), 47374, 'SRID=4674;POINT (-38.637845 -3.62976)', '2026-07-21 19:07:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637793 -3.62978)'), GeomFromEWKT('SRID=4674;POINT (-38.637845 -3.62976)'))) / (select extract(epoch from '2026-07-21 19:07:19'::timestamp) - extract(epoch from '2026-07-21 19:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637793 -3.62978)'), GeomFromEWKT('SRID=4674;POINT (-38.637845 -3.62976)'))) / (select extract(epoch from '2026-07-21 19:07:19'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.63791 -3.629753)', '2026-07-21 19:07:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637845 -3.62976)'), GeomFromEWKT('SRID=4674;POINT (-38.63791 -3.629753)'))) / (select extract(epoch from '2026-07-21 19:07:29'::timestamp) - extract(epoch from '2026-07-21 19:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637845 -3.62976)'), GeomFromEWKT('SRID=4674;POINT (-38.63791 -3.629753)'))) / (select extract(epoch from '2026-07-21 19:07:29'::timestamp) - extract(epoch from '2026-07-21 19:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637954 -3.629735)', '2026-07-21 19:07:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63791 -3.629753)'), GeomFromEWKT('SRID=4674;POINT (-38.637954 -3.629735)'))) / (select extract(epoch from '2026-07-21 19:07:38'::timestamp) - extract(epoch from '2026-07-21 19:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63791 -3.629753)'), GeomFromEWKT('SRID=4674;POINT (-38.637954 -3.629735)'))) / (select extract(epoch from '2026-07-21 19:07:38'::timestamp) - extract(epoch from '2026-07-21 19:07: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'), 47374, 'SRID=4674;POINT (-38.638014 -3.629733)', '2026-07-21 19:07:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637954 -3.629735)'), GeomFromEWKT('SRID=4674;POINT (-38.638014 -3.629733)'))) / (select extract(epoch from '2026-07-21 19:07:49'::timestamp) - extract(epoch from '2026-07-21 19:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637954 -3.629735)'), GeomFromEWKT('SRID=4674;POINT (-38.638014 -3.629733)'))) / (select extract(epoch from '2026-07-21 19:07:49'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.638051 -3.6298)', '2026-07-21 19:07:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638014 -3.629733)'), GeomFromEWKT('SRID=4674;POINT (-38.638051 -3.6298)'))) / (select extract(epoch from '2026-07-21 19:07:57'::timestamp) - extract(epoch from '2026-07-21 19:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638014 -3.629733)'), GeomFromEWKT('SRID=4674;POINT (-38.638051 -3.6298)'))) / (select extract(epoch from '2026-07-21 19:07:57'::timestamp) - extract(epoch from '2026-07-21 19:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63798 -3.62989)', '2026-07-21 19:08:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638051 -3.6298)'), GeomFromEWKT('SRID=4674;POINT (-38.63798 -3.62989)'))) / (select extract(epoch from '2026-07-21 19:08:03'::timestamp) - extract(epoch from '2026-07-21 19:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.638051 -3.6298)'), GeomFromEWKT('SRID=4674;POINT (-38.63798 -3.62989)'))) / (select extract(epoch from '2026-07-21 19:08:03'::timestamp) - extract(epoch from '2026-07-21 19:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637823 -3.630014)', '2026-07-21 19:08:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63798 -3.62989)'), GeomFromEWKT('SRID=4674;POINT (-38.637823 -3.630014)'))) / (select extract(epoch from '2026-07-21 19:08:12'::timestamp) - extract(epoch from '2026-07-21 19:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63798 -3.62989)'), GeomFromEWKT('SRID=4674;POINT (-38.637823 -3.630014)'))) / (select extract(epoch from '2026-07-21 19:08:12'::timestamp) - extract(epoch from '2026-07-21 19:08: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'), 47374, 'SRID=4674;POINT (-38.637748 -3.630111)', '2026-07-21 19:08:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637823 -3.630014)'), GeomFromEWKT('SRID=4674;POINT (-38.637748 -3.630111)'))) / (select extract(epoch from '2026-07-21 19:08:18'::timestamp) - extract(epoch from '2026-07-21 19:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637823 -3.630014)'), GeomFromEWKT('SRID=4674;POINT (-38.637748 -3.630111)'))) / (select extract(epoch from '2026-07-21 19:08:18'::timestamp) - extract(epoch from '2026-07-21 19:08:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637671 -3.630192)', '2026-07-21 19:08:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637748 -3.630111)'), GeomFromEWKT('SRID=4674;POINT (-38.637671 -3.630192)'))) / (select extract(epoch from '2026-07-21 19:08:24'::timestamp) - extract(epoch from '2026-07-21 19:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637748 -3.630111)'), GeomFromEWKT('SRID=4674;POINT (-38.637671 -3.630192)'))) / (select extract(epoch from '2026-07-21 19:08:24'::timestamp) - extract(epoch from '2026-07-21 19:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637599 -3.630229)', '2026-07-21 19:08:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637671 -3.630192)'), GeomFromEWKT('SRID=4674;POINT (-38.637599 -3.630229)'))) / (select extract(epoch from '2026-07-21 19:08:29'::timestamp) - extract(epoch from '2026-07-21 19:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637671 -3.630192)'), GeomFromEWKT('SRID=4674;POINT (-38.637599 -3.630229)'))) / (select extract(epoch from '2026-07-21 19:08:29'::timestamp) - extract(epoch from '2026-07-21 19:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637525 -3.630272)', '2026-07-21 19:08:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637599 -3.630229)'), GeomFromEWKT('SRID=4674;POINT (-38.637525 -3.630272)'))) / (select extract(epoch from '2026-07-21 19:08:34'::timestamp) - extract(epoch from '2026-07-21 19:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637599 -3.630229)'), GeomFromEWKT('SRID=4674;POINT (-38.637525 -3.630272)'))) / (select extract(epoch from '2026-07-21 19:08:34'::timestamp) - extract(epoch from '2026-07-21 19:08: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'), 47374, 'SRID=4674;POINT (-38.637436 -3.6303)', '2026-07-21 19:08:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637525 -3.630272)'), GeomFromEWKT('SRID=4674;POINT (-38.637436 -3.6303)'))) / (select extract(epoch from '2026-07-21 19:08:39'::timestamp) - extract(epoch from '2026-07-21 19:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637525 -3.630272)'), GeomFromEWKT('SRID=4674;POINT (-38.637436 -3.6303)'))) / (select extract(epoch from '2026-07-21 19:08:39'::timestamp) - extract(epoch from '2026-07-21 19:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637348 -3.630345)', '2026-07-21 19:08:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637436 -3.6303)'), GeomFromEWKT('SRID=4674;POINT (-38.637348 -3.630345)'))) / (select extract(epoch from '2026-07-21 19:08:45'::timestamp) - extract(epoch from '2026-07-21 19:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637436 -3.6303)'), GeomFromEWKT('SRID=4674;POINT (-38.637348 -3.630345)'))) / (select extract(epoch from '2026-07-21 19:08:45'::timestamp) - extract(epoch from '2026-07-21 19:08: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'), 47374, 'SRID=4674;POINT (-38.637239 -3.630416)', '2026-07-21 19:08:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637348 -3.630345)'), GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.630416)'))) / (select extract(epoch from '2026-07-21 19:08:52'::timestamp) - extract(epoch from '2026-07-21 19:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637348 -3.630345)'), GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.630416)'))) / (select extract(epoch from '2026-07-21 19:08:52'::timestamp) - extract(epoch from '2026-07-21 19:08: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'), 47374, 'SRID=4674;POINT (-38.637134 -3.63045)', '2026-07-21 19:08:58', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.630416)'), GeomFromEWKT('SRID=4674;POINT (-38.637134 -3.63045)'))) / (select extract(epoch from '2026-07-21 19:08:58'::timestamp) - extract(epoch from '2026-07-21 19:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.630416)'), GeomFromEWKT('SRID=4674;POINT (-38.637134 -3.63045)'))) / (select extract(epoch from '2026-07-21 19:08:58'::timestamp) - extract(epoch from '2026-07-21 19:08: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'), 47374, 'SRID=4674;POINT (-38.637053 -3.630501)', '2026-07-21 19:09:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637134 -3.63045)'), GeomFromEWKT('SRID=4674;POINT (-38.637053 -3.630501)'))) / (select extract(epoch from '2026-07-21 19:09:04'::timestamp) - extract(epoch from '2026-07-21 19:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637134 -3.63045)'), GeomFromEWKT('SRID=4674;POINT (-38.637053 -3.630501)'))) / (select extract(epoch from '2026-07-21 19:09:04'::timestamp) - extract(epoch from '2026-07-21 19:08:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636961 -3.630553)', '2026-07-21 19:09:10', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637053 -3.630501)'), GeomFromEWKT('SRID=4674;POINT (-38.636961 -3.630553)'))) / (select extract(epoch from '2026-07-21 19:09:10'::timestamp) - extract(epoch from '2026-07-21 19:09:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637053 -3.630501)'), GeomFromEWKT('SRID=4674;POINT (-38.636961 -3.630553)'))) / (select extract(epoch from '2026-07-21 19:09:10'::timestamp) - extract(epoch from '2026-07-21 19:09:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636921 -3.630579)', '2026-07-21 19:09:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636961 -3.630553)'), GeomFromEWKT('SRID=4674;POINT (-38.636921 -3.630579)'))) / (select extract(epoch from '2026-07-21 19:09:13'::timestamp) - extract(epoch from '2026-07-21 19:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636961 -3.630553)'), GeomFromEWKT('SRID=4674;POINT (-38.636921 -3.630579)'))) / (select extract(epoch from '2026-07-21 19:09:13'::timestamp) - extract(epoch from '2026-07-21 19:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636892 -3.630597)', '2026-07-21 19:09:15', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636921 -3.630579)'), GeomFromEWKT('SRID=4674;POINT (-38.636892 -3.630597)'))) / (select extract(epoch from '2026-07-21 19:09:15'::timestamp) - extract(epoch from '2026-07-21 19:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636921 -3.630579)'), GeomFromEWKT('SRID=4674;POINT (-38.636892 -3.630597)'))) / (select extract(epoch from '2026-07-21 19:09:15'::timestamp) - extract(epoch from '2026-07-21 19:09: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'), 47374, 'SRID=4674;POINT (-38.636873 -3.630602)', '2026-07-21 19:09:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636892 -3.630597)'), GeomFromEWKT('SRID=4674;POINT (-38.636873 -3.630602)'))) / (select extract(epoch from '2026-07-21 19:09:16'::timestamp) - extract(epoch from '2026-07-21 19:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636892 -3.630597)'), GeomFromEWKT('SRID=4674;POINT (-38.636873 -3.630602)'))) / (select extract(epoch from '2026-07-21 19:09:16'::timestamp) - extract(epoch from '2026-07-21 19:09: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'), 47374, 'SRID=4674;POINT (-38.636784 -3.630649)', '2026-07-21 19:09:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636873 -3.630602)'), GeomFromEWKT('SRID=4674;POINT (-38.636784 -3.630649)'))) / (select extract(epoch from '2026-07-21 19:09:22'::timestamp) - extract(epoch from '2026-07-21 19:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636873 -3.630602)'), GeomFromEWKT('SRID=4674;POINT (-38.636784 -3.630649)'))) / (select extract(epoch from '2026-07-21 19:09:22'::timestamp) - extract(epoch from '2026-07-21 19:09: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'), 47374, 'SRID=4674;POINT (-38.636625 -3.630712)', '2026-07-21 19:09:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636784 -3.630649)'), GeomFromEWKT('SRID=4674;POINT (-38.636625 -3.630712)'))) / (select extract(epoch from '2026-07-21 19:09:30'::timestamp) - extract(epoch from '2026-07-21 19:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636784 -3.630649)'), GeomFromEWKT('SRID=4674;POINT (-38.636625 -3.630712)'))) / (select extract(epoch from '2026-07-21 19:09:30'::timestamp) - extract(epoch from '2026-07-21 19:09: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'), 47374, 'SRID=4674;POINT (-38.636492 -3.630753)', '2026-07-21 19:09:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636625 -3.630712)'), GeomFromEWKT('SRID=4674;POINT (-38.636492 -3.630753)'))) / (select extract(epoch from '2026-07-21 19:09:37'::timestamp) - extract(epoch from '2026-07-21 19:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636625 -3.630712)'), GeomFromEWKT('SRID=4674;POINT (-38.636492 -3.630753)'))) / (select extract(epoch from '2026-07-21 19:09:37'::timestamp) - extract(epoch from '2026-07-21 19:09: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'), 47374, 'SRID=4674;POINT (-38.636375 -3.63082)', '2026-07-21 19:09:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636492 -3.630753)'), GeomFromEWKT('SRID=4674;POINT (-38.636375 -3.63082)'))) / (select extract(epoch from '2026-07-21 19:09:44'::timestamp) - extract(epoch from '2026-07-21 19:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636492 -3.630753)'), GeomFromEWKT('SRID=4674;POINT (-38.636375 -3.63082)'))) / (select extract(epoch from '2026-07-21 19:09:44'::timestamp) - extract(epoch from '2026-07-21 19:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63627 -3.630899)', '2026-07-21 19:09:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636375 -3.63082)'), GeomFromEWKT('SRID=4674;POINT (-38.63627 -3.630899)'))) / (select extract(epoch from '2026-07-21 19:09:52'::timestamp) - extract(epoch from '2026-07-21 19:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636375 -3.63082)'), GeomFromEWKT('SRID=4674;POINT (-38.63627 -3.630899)'))) / (select extract(epoch from '2026-07-21 19:09:52'::timestamp) - extract(epoch from '2026-07-21 19:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636128 -3.630969)', '2026-07-21 19:10:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63627 -3.630899)'), GeomFromEWKT('SRID=4674;POINT (-38.636128 -3.630969)'))) / (select extract(epoch from '2026-07-21 19:10:00'::timestamp) - extract(epoch from '2026-07-21 19:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63627 -3.630899)'), GeomFromEWKT('SRID=4674;POINT (-38.636128 -3.630969)'))) / (select extract(epoch from '2026-07-21 19:10:00'::timestamp) - extract(epoch from '2026-07-21 19:09:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636041 -3.631029)', '2026-07-21 19:10:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636128 -3.630969)'), GeomFromEWKT('SRID=4674;POINT (-38.636041 -3.631029)'))) / (select extract(epoch from '2026-07-21 19:10:05'::timestamp) - extract(epoch from '2026-07-21 19:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636128 -3.630969)'), GeomFromEWKT('SRID=4674;POINT (-38.636041 -3.631029)'))) / (select extract(epoch from '2026-07-21 19:10:05'::timestamp) - extract(epoch from '2026-07-21 19:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635942 -3.631081)', '2026-07-21 19:10:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636041 -3.631029)'), GeomFromEWKT('SRID=4674;POINT (-38.635942 -3.631081)'))) / (select extract(epoch from '2026-07-21 19:10:11'::timestamp) - extract(epoch from '2026-07-21 19:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636041 -3.631029)'), GeomFromEWKT('SRID=4674;POINT (-38.635942 -3.631081)'))) / (select extract(epoch from '2026-07-21 19:10:11'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.63584 -3.631136)', '2026-07-21 19:10:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635942 -3.631081)'), GeomFromEWKT('SRID=4674;POINT (-38.63584 -3.631136)'))) / (select extract(epoch from '2026-07-21 19:10:17'::timestamp) - extract(epoch from '2026-07-21 19:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635942 -3.631081)'), GeomFromEWKT('SRID=4674;POINT (-38.63584 -3.631136)'))) / (select extract(epoch from '2026-07-21 19:10:17'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.635728 -3.631208)', '2026-07-21 19:10:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63584 -3.631136)'), GeomFromEWKT('SRID=4674;POINT (-38.635728 -3.631208)'))) / (select extract(epoch from '2026-07-21 19:10:24'::timestamp) - extract(epoch from '2026-07-21 19:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63584 -3.631136)'), GeomFromEWKT('SRID=4674;POINT (-38.635728 -3.631208)'))) / (select extract(epoch from '2026-07-21 19:10:24'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.635601 -3.631311)', '2026-07-21 19:10:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635728 -3.631208)'), GeomFromEWKT('SRID=4674;POINT (-38.635601 -3.631311)'))) / (select extract(epoch from '2026-07-21 19:10:32'::timestamp) - extract(epoch from '2026-07-21 19:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635728 -3.631208)'), GeomFromEWKT('SRID=4674;POINT (-38.635601 -3.631311)'))) / (select extract(epoch from '2026-07-21 19:10:32'::timestamp) - extract(epoch from '2026-07-21 19:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63552 -3.631374)', '2026-07-21 19:10:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635601 -3.631311)'), GeomFromEWKT('SRID=4674;POINT (-38.63552 -3.631374)'))) / (select extract(epoch from '2026-07-21 19:10:38'::timestamp) - extract(epoch from '2026-07-21 19:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635601 -3.631311)'), GeomFromEWKT('SRID=4674;POINT (-38.63552 -3.631374)'))) / (select extract(epoch from '2026-07-21 19:10:38'::timestamp) - extract(epoch from '2026-07-21 19:10:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635379 -3.631466)', '2026-07-21 19:10:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63552 -3.631374)'), GeomFromEWKT('SRID=4674;POINT (-38.635379 -3.631466)'))) / (select extract(epoch from '2026-07-21 19:10:47'::timestamp) - extract(epoch from '2026-07-21 19:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63552 -3.631374)'), GeomFromEWKT('SRID=4674;POINT (-38.635379 -3.631466)'))) / (select extract(epoch from '2026-07-21 19:10:47'::timestamp) - extract(epoch from '2026-07-21 19:10: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'), 47374, 'SRID=4674;POINT (-38.635278 -3.631511)', '2026-07-21 19:10:53', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635379 -3.631466)'), GeomFromEWKT('SRID=4674;POINT (-38.635278 -3.631511)'))) / (select extract(epoch from '2026-07-21 19:10:53'::timestamp) - extract(epoch from '2026-07-21 19:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635379 -3.631466)'), GeomFromEWKT('SRID=4674;POINT (-38.635278 -3.631511)'))) / (select extract(epoch from '2026-07-21 19:10:53'::timestamp) - extract(epoch from '2026-07-21 19:10: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'), 47374, 'SRID=4674;POINT (-38.635184 -3.631576)', '2026-07-21 19:10:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635278 -3.631511)'), GeomFromEWKT('SRID=4674;POINT (-38.635184 -3.631576)'))) / (select extract(epoch from '2026-07-21 19:10:59'::timestamp) - extract(epoch from '2026-07-21 19:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635278 -3.631511)'), GeomFromEWKT('SRID=4674;POINT (-38.635184 -3.631576)'))) / (select extract(epoch from '2026-07-21 19:10:59'::timestamp) - extract(epoch from '2026-07-21 19:10: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'), 47374, 'SRID=4674;POINT (-38.635046 -3.63166)', '2026-07-21 19:11:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635184 -3.631576)'), GeomFromEWKT('SRID=4674;POINT (-38.635046 -3.63166)'))) / (select extract(epoch from '2026-07-21 19:11:07'::timestamp) - extract(epoch from '2026-07-21 19:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635184 -3.631576)'), GeomFromEWKT('SRID=4674;POINT (-38.635046 -3.63166)'))) / (select extract(epoch from '2026-07-21 19:11:07'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.634926 -3.631719)', '2026-07-21 19:11:14', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635046 -3.63166)'), GeomFromEWKT('SRID=4674;POINT (-38.634926 -3.631719)'))) / (select extract(epoch from '2026-07-21 19:11:14'::timestamp) - extract(epoch from '2026-07-21 19:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635046 -3.63166)'), GeomFromEWKT('SRID=4674;POINT (-38.634926 -3.631719)'))) / (select extract(epoch from '2026-07-21 19:11:14'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.634805 -3.631812)', '2026-07-21 19:11:22', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634926 -3.631719)'), GeomFromEWKT('SRID=4674;POINT (-38.634805 -3.631812)'))) / (select extract(epoch from '2026-07-21 19:11:22'::timestamp) - extract(epoch from '2026-07-21 19:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634926 -3.631719)'), GeomFromEWKT('SRID=4674;POINT (-38.634805 -3.631812)'))) / (select extract(epoch from '2026-07-21 19:11:22'::timestamp) - extract(epoch from '2026-07-21 19:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634718 -3.631871)', '2026-07-21 19:11:28', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634805 -3.631812)'), GeomFromEWKT('SRID=4674;POINT (-38.634718 -3.631871)'))) / (select extract(epoch from '2026-07-21 19:11:28'::timestamp) - extract(epoch from '2026-07-21 19:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634805 -3.631812)'), GeomFromEWKT('SRID=4674;POINT (-38.634718 -3.631871)'))) / (select extract(epoch from '2026-07-21 19:11:28'::timestamp) - extract(epoch from '2026-07-21 19:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634576 -3.631925)', '2026-07-21 19:11:36', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634718 -3.631871)'), GeomFromEWKT('SRID=4674;POINT (-38.634576 -3.631925)'))) / (select extract(epoch from '2026-07-21 19:11:36'::timestamp) - extract(epoch from '2026-07-21 19:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634718 -3.631871)'), GeomFromEWKT('SRID=4674;POINT (-38.634576 -3.631925)'))) / (select extract(epoch from '2026-07-21 19:11:36'::timestamp) - extract(epoch from '2026-07-21 19:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634438 -3.631991)', '2026-07-21 19:11:44', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634576 -3.631925)'), GeomFromEWKT('SRID=4674;POINT (-38.634438 -3.631991)'))) / (select extract(epoch from '2026-07-21 19:11:44'::timestamp) - extract(epoch from '2026-07-21 19:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634576 -3.631925)'), GeomFromEWKT('SRID=4674;POINT (-38.634438 -3.631991)'))) / (select extract(epoch from '2026-07-21 19:11:44'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.634319 -3.63206)', '2026-07-21 19:11:51', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634438 -3.631991)'), GeomFromEWKT('SRID=4674;POINT (-38.634319 -3.63206)'))) / (select extract(epoch from '2026-07-21 19:11:51'::timestamp) - extract(epoch from '2026-07-21 19:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634438 -3.631991)'), GeomFromEWKT('SRID=4674;POINT (-38.634319 -3.63206)'))) / (select extract(epoch from '2026-07-21 19:11:51'::timestamp) - extract(epoch from '2026-07-21 19:11: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'), 47374, 'SRID=4674;POINT (-38.634195 -3.632107)', '2026-07-21 19:11:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634319 -3.63206)'), GeomFromEWKT('SRID=4674;POINT (-38.634195 -3.632107)'))) / (select extract(epoch from '2026-07-21 19:11:58'::timestamp) - extract(epoch from '2026-07-21 19:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634319 -3.63206)'), GeomFromEWKT('SRID=4674;POINT (-38.634195 -3.632107)'))) / (select extract(epoch from '2026-07-21 19:11:58'::timestamp) - extract(epoch from '2026-07-21 19:11:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634099 -3.632172)', '2026-07-21 19:12:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634195 -3.632107)'), GeomFromEWKT('SRID=4674;POINT (-38.634099 -3.632172)'))) / (select extract(epoch from '2026-07-21 19:12:05'::timestamp) - extract(epoch from '2026-07-21 19:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634195 -3.632107)'), GeomFromEWKT('SRID=4674;POINT (-38.634099 -3.632172)'))) / (select extract(epoch from '2026-07-21 19:12:05'::timestamp) - extract(epoch from '2026-07-21 19:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634028 -3.632219)', '2026-07-21 19:12:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634099 -3.632172)'), GeomFromEWKT('SRID=4674;POINT (-38.634028 -3.632219)'))) / (select extract(epoch from '2026-07-21 19:12:10'::timestamp) - extract(epoch from '2026-07-21 19:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634099 -3.632172)'), GeomFromEWKT('SRID=4674;POINT (-38.634028 -3.632219)'))) / (select extract(epoch from '2026-07-21 19:12:10'::timestamp) - extract(epoch from '2026-07-21 19:12:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633935 -3.632274)', '2026-07-21 19:12:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634028 -3.632219)'), GeomFromEWKT('SRID=4674;POINT (-38.633935 -3.632274)'))) / (select extract(epoch from '2026-07-21 19:12:16'::timestamp) - extract(epoch from '2026-07-21 19:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634028 -3.632219)'), GeomFromEWKT('SRID=4674;POINT (-38.633935 -3.632274)'))) / (select extract(epoch from '2026-07-21 19:12:16'::timestamp) - extract(epoch from '2026-07-21 19:12: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'), 47374, 'SRID=4674;POINT (-38.633849 -3.632306)', '2026-07-21 19:12:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633935 -3.632274)'), GeomFromEWKT('SRID=4674;POINT (-38.633849 -3.632306)'))) / (select extract(epoch from '2026-07-21 19:12:23'::timestamp) - extract(epoch from '2026-07-21 19:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633935 -3.632274)'), GeomFromEWKT('SRID=4674;POINT (-38.633849 -3.632306)'))) / (select extract(epoch from '2026-07-21 19:12:23'::timestamp) - extract(epoch from '2026-07-21 19:12: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'), 47374, 'SRID=4674;POINT (-38.633799 -3.632318)', '2026-07-21 19:12:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633849 -3.632306)'), GeomFromEWKT('SRID=4674;POINT (-38.633799 -3.632318)'))) / (select extract(epoch from '2026-07-21 19:12:30'::timestamp) - extract(epoch from '2026-07-21 19:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633849 -3.632306)'), GeomFromEWKT('SRID=4674;POINT (-38.633799 -3.632318)'))) / (select extract(epoch from '2026-07-21 19:12:30'::timestamp) - extract(epoch from '2026-07-21 19:12: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'), 47374, 'SRID=4674;POINT (-38.633774 -3.63237)', '2026-07-21 19:12:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633799 -3.632318)'), GeomFromEWKT('SRID=4674;POINT (-38.633774 -3.63237)'))) / (select extract(epoch from '2026-07-21 19:12:38'::timestamp) - extract(epoch from '2026-07-21 19:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633799 -3.632318)'), GeomFromEWKT('SRID=4674;POINT (-38.633774 -3.63237)'))) / (select extract(epoch from '2026-07-21 19:12:38'::timestamp) - extract(epoch from '2026-07-21 19:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633734 -3.632381)', '2026-07-21 19:12:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633774 -3.63237)'), GeomFromEWKT('SRID=4674;POINT (-38.633734 -3.632381)'))) / (select extract(epoch from '2026-07-21 19:12:47'::timestamp) - extract(epoch from '2026-07-21 19:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633774 -3.63237)'), GeomFromEWKT('SRID=4674;POINT (-38.633734 -3.632381)'))) / (select extract(epoch from '2026-07-21 19:12:47'::timestamp) - extract(epoch from '2026-07-21 19:12: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'), 47374, 'SRID=4674;POINT (-38.633707 -3.63239)', '2026-07-21 19:12:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633734 -3.632381)'), GeomFromEWKT('SRID=4674;POINT (-38.633707 -3.63239)'))) / (select extract(epoch from '2026-07-21 19:12:56'::timestamp) - extract(epoch from '2026-07-21 19:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633734 -3.632381)'), GeomFromEWKT('SRID=4674;POINT (-38.633707 -3.63239)'))) / (select extract(epoch from '2026-07-21 19:12:56'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.633729 -3.63238)', '2026-07-21 19:13:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633707 -3.63239)'), GeomFromEWKT('SRID=4674;POINT (-38.633729 -3.63238)'))) / (select extract(epoch from '2026-07-21 19:13:05'::timestamp) - extract(epoch from '2026-07-21 19:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633707 -3.63239)'), GeomFromEWKT('SRID=4674;POINT (-38.633729 -3.63238)'))) / (select extract(epoch from '2026-07-21 19:13:05'::timestamp) - extract(epoch from '2026-07-21 19:12:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633744 -3.63238)', '2026-07-21 19:13:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633729 -3.63238)'), GeomFromEWKT('SRID=4674;POINT (-38.633744 -3.63238)'))) / (select extract(epoch from '2026-07-21 19:13:08'::timestamp) - extract(epoch from '2026-07-21 19:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633729 -3.63238)'), GeomFromEWKT('SRID=4674;POINT (-38.633744 -3.63238)'))) / (select extract(epoch from '2026-07-21 19:13:08'::timestamp) - extract(epoch from '2026-07-21 19:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633783 -3.632366)', '2026-07-21 19:13:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633744 -3.63238)'), GeomFromEWKT('SRID=4674;POINT (-38.633783 -3.632366)'))) / (select extract(epoch from '2026-07-21 19:13:15'::timestamp) - extract(epoch from '2026-07-21 19:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633744 -3.63238)'), GeomFromEWKT('SRID=4674;POINT (-38.633783 -3.632366)'))) / (select extract(epoch from '2026-07-21 19:13:15'::timestamp) - extract(epoch from '2026-07-21 19:13: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'), 47374, 'SRID=4674;POINT (-38.633802 -3.632349)', '2026-07-21 19:13:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633783 -3.632366)'), GeomFromEWKT('SRID=4674;POINT (-38.633802 -3.632349)'))) / (select extract(epoch from '2026-07-21 19:13:25'::timestamp) - extract(epoch from '2026-07-21 19:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633783 -3.632366)'), GeomFromEWKT('SRID=4674;POINT (-38.633802 -3.632349)'))) / (select extract(epoch from '2026-07-21 19:13:25'::timestamp) - extract(epoch from '2026-07-21 19:13:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63384 -3.632356)', '2026-07-21 19:15:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633802 -3.632349)'), GeomFromEWKT('SRID=4674;POINT (-38.63384 -3.632356)'))) / (select extract(epoch from '2026-07-21 19:15:01'::timestamp) - extract(epoch from '2026-07-21 19:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633802 -3.632349)'), GeomFromEWKT('SRID=4674;POINT (-38.63384 -3.632356)'))) / (select extract(epoch from '2026-07-21 19:15:01'::timestamp) - extract(epoch from '2026-07-21 19:13:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633828 -3.632355)', '2026-07-21 19:15:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63384 -3.632356)'), GeomFromEWKT('SRID=4674;POINT (-38.633828 -3.632355)'))) / (select extract(epoch from '2026-07-21 19:15:44'::timestamp) - extract(epoch from '2026-07-21 19:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63384 -3.632356)'), GeomFromEWKT('SRID=4674;POINT (-38.633828 -3.632355)'))) / (select extract(epoch from '2026-07-21 19:15:44'::timestamp) - extract(epoch from '2026-07-21 19:15: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'), 47374, 'SRID=4674;POINT (-38.633795 -3.632367)', '2026-07-21 19:16:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633828 -3.632355)'), GeomFromEWKT('SRID=4674;POINT (-38.633795 -3.632367)'))) / (select extract(epoch from '2026-07-21 19:16:20'::timestamp) - extract(epoch from '2026-07-21 19:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633828 -3.632355)'), GeomFromEWKT('SRID=4674;POINT (-38.633795 -3.632367)'))) / (select extract(epoch from '2026-07-21 19:16:20'::timestamp) - extract(epoch from '2026-07-21 19:15: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'), 47374, 'SRID=4674;POINT (-38.633748 -3.632371)', '2026-07-21 19:17:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633795 -3.632367)'), GeomFromEWKT('SRID=4674;POINT (-38.633748 -3.632371)'))) / (select extract(epoch from '2026-07-21 19:17:03'::timestamp) - extract(epoch from '2026-07-21 19:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633795 -3.632367)'), GeomFromEWKT('SRID=4674;POINT (-38.633748 -3.632371)'))) / (select extract(epoch from '2026-07-21 19:17:03'::timestamp) - extract(epoch from '2026-07-21 19:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633727 -3.63237)', '2026-07-21 19:17:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633748 -3.632371)'), GeomFromEWKT('SRID=4674;POINT (-38.633727 -3.63237)'))) / (select extract(epoch from '2026-07-21 19:17:27'::timestamp) - extract(epoch from '2026-07-21 19:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633748 -3.632371)'), GeomFromEWKT('SRID=4674;POINT (-38.633727 -3.63237)'))) / (select extract(epoch from '2026-07-21 19:17:27'::timestamp) - extract(epoch from '2026-07-21 19:17: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'), 47374, 'SRID=4674;POINT (-38.633685 -3.63237)', '2026-07-21 19:17:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633727 -3.63237)'), GeomFromEWKT('SRID=4674;POINT (-38.633685 -3.63237)'))) / (select extract(epoch from '2026-07-21 19:17:49'::timestamp) - extract(epoch from '2026-07-21 19:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633727 -3.63237)'), GeomFromEWKT('SRID=4674;POINT (-38.633685 -3.63237)'))) / (select extract(epoch from '2026-07-21 19:17:49'::timestamp) - extract(epoch from '2026-07-21 19:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633631 -3.632363)', '2026-07-21 19:18:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633685 -3.63237)'), GeomFromEWKT('SRID=4674;POINT (-38.633631 -3.632363)'))) / (select extract(epoch from '2026-07-21 19:18:35'::timestamp) - extract(epoch from '2026-07-21 19:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633685 -3.63237)'), GeomFromEWKT('SRID=4674;POINT (-38.633631 -3.632363)'))) / (select extract(epoch from '2026-07-21 19:18:35'::timestamp) - extract(epoch from '2026-07-21 19:17: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'), 47374, 'SRID=4674;POINT (-38.633607 -3.632381)', '2026-07-21 19:18:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633631 -3.632363)'), GeomFromEWKT('SRID=4674;POINT (-38.633607 -3.632381)'))) / (select extract(epoch from '2026-07-21 19:18:48'::timestamp) - extract(epoch from '2026-07-21 19:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633631 -3.632363)'), GeomFromEWKT('SRID=4674;POINT (-38.633607 -3.632381)'))) / (select extract(epoch from '2026-07-21 19:18:48'::timestamp) - extract(epoch from '2026-07-21 19:18:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633591 -3.632374)', '2026-07-21 19:19:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633607 -3.632381)'), GeomFromEWKT('SRID=4674;POINT (-38.633591 -3.632374)'))) / (select extract(epoch from '2026-07-21 19:19:09'::timestamp) - extract(epoch from '2026-07-21 19:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633607 -3.632381)'), GeomFromEWKT('SRID=4674;POINT (-38.633591 -3.632374)'))) / (select extract(epoch from '2026-07-21 19:19:09'::timestamp) - extract(epoch from '2026-07-21 19:18: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'), 47374, 'SRID=4674;POINT (-38.633551 -3.632389)', '2026-07-21 19:19:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633591 -3.632374)'), GeomFromEWKT('SRID=4674;POINT (-38.633551 -3.632389)'))) / (select extract(epoch from '2026-07-21 19:19:33'::timestamp) - extract(epoch from '2026-07-21 19:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633591 -3.632374)'), GeomFromEWKT('SRID=4674;POINT (-38.633551 -3.632389)'))) / (select extract(epoch from '2026-07-21 19:19:33'::timestamp) - extract(epoch from '2026-07-21 19:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633539 -3.632385)', '2026-07-21 19:20:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633551 -3.632389)'), GeomFromEWKT('SRID=4674;POINT (-38.633539 -3.632385)'))) / (select extract(epoch from '2026-07-21 19:20:08'::timestamp) - extract(epoch from '2026-07-21 19:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633551 -3.632389)'), GeomFromEWKT('SRID=4674;POINT (-38.633539 -3.632385)'))) / (select extract(epoch from '2026-07-21 19:20:08'::timestamp) - extract(epoch from '2026-07-21 19:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633538 -3.632377)', '2026-07-21 19:20:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633539 -3.632385)'), GeomFromEWKT('SRID=4674;POINT (-38.633538 -3.632377)'))) / (select extract(epoch from '2026-07-21 19:20:21'::timestamp) - extract(epoch from '2026-07-21 19:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633539 -3.632385)'), GeomFromEWKT('SRID=4674;POINT (-38.633538 -3.632377)'))) / (select extract(epoch from '2026-07-21 19:20:21'::timestamp) - extract(epoch from '2026-07-21 19:20: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'), 47374, 'SRID=4674;POINT (-38.633482 -3.632374)', '2026-07-21 19:20:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633538 -3.632377)'), GeomFromEWKT('SRID=4674;POINT (-38.633482 -3.632374)'))) / (select extract(epoch from '2026-07-21 19:20:53'::timestamp) - extract(epoch from '2026-07-21 19:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633538 -3.632377)'), GeomFromEWKT('SRID=4674;POINT (-38.633482 -3.632374)'))) / (select extract(epoch from '2026-07-21 19:20:53'::timestamp) - extract(epoch from '2026-07-21 19:20: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'), 47374, 'SRID=4674;POINT (-38.63343 -3.632375)', '2026-07-21 19:21:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633482 -3.632374)'), GeomFromEWKT('SRID=4674;POINT (-38.63343 -3.632375)'))) / (select extract(epoch from '2026-07-21 19:21:17'::timestamp) - extract(epoch from '2026-07-21 19:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633482 -3.632374)'), GeomFromEWKT('SRID=4674;POINT (-38.63343 -3.632375)'))) / (select extract(epoch from '2026-07-21 19:21:17'::timestamp) - extract(epoch from '2026-07-21 19:20: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'), 47374, 'SRID=4674;POINT (-38.633422 -3.632372)', '2026-07-21 19:21:41', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63343 -3.632375)'), GeomFromEWKT('SRID=4674;POINT (-38.633422 -3.632372)'))) / (select extract(epoch from '2026-07-21 19:21:41'::timestamp) - extract(epoch from '2026-07-21 19:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63343 -3.632375)'), GeomFromEWKT('SRID=4674;POINT (-38.633422 -3.632372)'))) / (select extract(epoch from '2026-07-21 19:21:41'::timestamp) - extract(epoch from '2026-07-21 19:21: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'), 47374, 'SRID=4674;POINT (-38.633402 -3.632392)', '2026-07-21 19:22:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633422 -3.632372)'), GeomFromEWKT('SRID=4674;POINT (-38.633402 -3.632392)'))) / (select extract(epoch from '2026-07-21 19:22:01'::timestamp) - extract(epoch from '2026-07-21 19:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633422 -3.632372)'), GeomFromEWKT('SRID=4674;POINT (-38.633402 -3.632392)'))) / (select extract(epoch from '2026-07-21 19:22:01'::timestamp) - extract(epoch from '2026-07-21 19:21: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'), 47374, 'SRID=4674;POINT (-38.633393 -3.632396)', '2026-07-21 19:22:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633402 -3.632392)'), GeomFromEWKT('SRID=4674;POINT (-38.633393 -3.632396)'))) / (select extract(epoch from '2026-07-21 19:22:10'::timestamp) - extract(epoch from '2026-07-21 19:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633402 -3.632392)'), GeomFromEWKT('SRID=4674;POINT (-38.633393 -3.632396)'))) / (select extract(epoch from '2026-07-21 19:22:10'::timestamp) - extract(epoch from '2026-07-21 19:22: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'), 47374, 'SRID=4674;POINT (-38.633377 -3.632385)', '2026-07-21 19:22:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633393 -3.632396)'), GeomFromEWKT('SRID=4674;POINT (-38.633377 -3.632385)'))) / (select extract(epoch from '2026-07-21 19:22:42'::timestamp) - extract(epoch from '2026-07-21 19:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633393 -3.632396)'), GeomFromEWKT('SRID=4674;POINT (-38.633377 -3.632385)'))) / (select extract(epoch from '2026-07-21 19:22:42'::timestamp) - extract(epoch from '2026-07-21 19:22: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'), 47374, 'SRID=4674;POINT (-38.633368 -3.632396)', '2026-07-21 19:22:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633377 -3.632385)'), GeomFromEWKT('SRID=4674;POINT (-38.633368 -3.632396)'))) / (select extract(epoch from '2026-07-21 19:22:52'::timestamp) - extract(epoch from '2026-07-21 19:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633377 -3.632385)'), GeomFromEWKT('SRID=4674;POINT (-38.633368 -3.632396)'))) / (select extract(epoch from '2026-07-21 19:22:52'::timestamp) - extract(epoch from '2026-07-21 19:22: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'), 47374, 'SRID=4674;POINT (-38.63338 -3.632393)', '2026-07-21 19:22:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633368 -3.632396)'), GeomFromEWKT('SRID=4674;POINT (-38.63338 -3.632393)'))) / (select extract(epoch from '2026-07-21 19:22:59'::timestamp) - extract(epoch from '2026-07-21 19:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633368 -3.632396)'), GeomFromEWKT('SRID=4674;POINT (-38.63338 -3.632393)'))) / (select extract(epoch from '2026-07-21 19:22:59'::timestamp) - extract(epoch from '2026-07-21 19:22:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633338 -3.632395)', '2026-07-21 19:23:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63338 -3.632393)'), GeomFromEWKT('SRID=4674;POINT (-38.633338 -3.632395)'))) / (select extract(epoch from '2026-07-21 19:23:53'::timestamp) - extract(epoch from '2026-07-21 19:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63338 -3.632393)'), GeomFromEWKT('SRID=4674;POINT (-38.633338 -3.632395)'))) / (select extract(epoch from '2026-07-21 19:23:53'::timestamp) - extract(epoch from '2026-07-21 19:22: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'), 47374, 'SRID=4674;POINT (-38.63333 -3.63239)', '2026-07-21 19:24:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633338 -3.632395)'), GeomFromEWKT('SRID=4674;POINT (-38.63333 -3.63239)'))) / (select extract(epoch from '2026-07-21 19:24:04'::timestamp) - extract(epoch from '2026-07-21 19:23:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633338 -3.632395)'), GeomFromEWKT('SRID=4674;POINT (-38.63333 -3.63239)'))) / (select extract(epoch from '2026-07-21 19:24:04'::timestamp) - extract(epoch from '2026-07-21 19:23: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'), 47374, 'SRID=4674;POINT (-38.633326 -3.632393)', '2026-07-21 19:24:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63333 -3.63239)'), GeomFromEWKT('SRID=4674;POINT (-38.633326 -3.632393)'))) / (select extract(epoch from '2026-07-21 19:24:15'::timestamp) - extract(epoch from '2026-07-21 19:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63333 -3.63239)'), GeomFromEWKT('SRID=4674;POINT (-38.633326 -3.632393)'))) / (select extract(epoch from '2026-07-21 19:24:15'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.633325 -3.632374)', '2026-07-21 19:24:25', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633326 -3.632393)'), GeomFromEWKT('SRID=4674;POINT (-38.633325 -3.632374)'))) / (select extract(epoch from '2026-07-21 19:24:25'::timestamp) - extract(epoch from '2026-07-21 19:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633326 -3.632393)'), GeomFromEWKT('SRID=4674;POINT (-38.633325 -3.632374)'))) / (select extract(epoch from '2026-07-21 19:24:25'::timestamp) - extract(epoch from '2026-07-21 19:24:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633294 -3.632376)', '2026-07-21 19:24:37', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633325 -3.632374)'), GeomFromEWKT('SRID=4674;POINT (-38.633294 -3.632376)'))) / (select extract(epoch from '2026-07-21 19:24:37'::timestamp) - extract(epoch from '2026-07-21 19:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633325 -3.632374)'), GeomFromEWKT('SRID=4674;POINT (-38.633294 -3.632376)'))) / (select extract(epoch from '2026-07-21 19:24:37'::timestamp) - extract(epoch from '2026-07-21 19:24: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'), 47374, 'SRID=4674;POINT (-38.633296 -3.632374)', '2026-07-21 19:24:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633294 -3.632376)'), GeomFromEWKT('SRID=4674;POINT (-38.633296 -3.632374)'))) / (select extract(epoch from '2026-07-21 19:24:59'::timestamp) - extract(epoch from '2026-07-21 19:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633294 -3.632376)'), GeomFromEWKT('SRID=4674;POINT (-38.633296 -3.632374)'))) / (select extract(epoch from '2026-07-21 19:24:59'::timestamp) - extract(epoch from '2026-07-21 19:24: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'), 47374, 'SRID=4674;POINT (-38.633288 -3.632373)', '2026-07-21 19:25:09', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633296 -3.632374)'), GeomFromEWKT('SRID=4674;POINT (-38.633288 -3.632373)'))) / (select extract(epoch from '2026-07-21 19:25:09'::timestamp) - extract(epoch from '2026-07-21 19:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633296 -3.632374)'), GeomFromEWKT('SRID=4674;POINT (-38.633288 -3.632373)'))) / (select extract(epoch from '2026-07-21 19:25:09'::timestamp) - extract(epoch from '2026-07-21 19:24: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'), 47374, 'SRID=4674;POINT (-38.633235 -3.632387)', '2026-07-21 19:26:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633288 -3.632373)'), GeomFromEWKT('SRID=4674;POINT (-38.633235 -3.632387)'))) / (select extract(epoch from '2026-07-21 19:26:16'::timestamp) - extract(epoch from '2026-07-21 19:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633288 -3.632373)'), GeomFromEWKT('SRID=4674;POINT (-38.633235 -3.632387)'))) / (select extract(epoch from '2026-07-21 19:26:16'::timestamp) - extract(epoch from '2026-07-21 19:25: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'), 47374, 'SRID=4674;POINT (-38.633201 -3.632416)', '2026-07-21 19:26:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633235 -3.632387)'), GeomFromEWKT('SRID=4674;POINT (-38.633201 -3.632416)'))) / (select extract(epoch from '2026-07-21 19:26:37'::timestamp) - extract(epoch from '2026-07-21 19:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633235 -3.632387)'), GeomFromEWKT('SRID=4674;POINT (-38.633201 -3.632416)'))) / (select extract(epoch from '2026-07-21 19:26:37'::timestamp) - extract(epoch from '2026-07-21 19:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633144 -3.632434)', '2026-07-21 19:27:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633201 -3.632416)'), GeomFromEWKT('SRID=4674;POINT (-38.633144 -3.632434)'))) / (select extract(epoch from '2026-07-21 19:27:15'::timestamp) - extract(epoch from '2026-07-21 19:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633201 -3.632416)'), GeomFromEWKT('SRID=4674;POINT (-38.633144 -3.632434)'))) / (select extract(epoch from '2026-07-21 19:27:15'::timestamp) - extract(epoch from '2026-07-21 19:26: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'), 47374, 'SRID=4674;POINT (-38.633132 -3.632387)', '2026-07-21 19:28:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633144 -3.632434)'), GeomFromEWKT('SRID=4674;POINT (-38.633132 -3.632387)'))) / (select extract(epoch from '2026-07-21 19:28:55'::timestamp) - extract(epoch from '2026-07-21 19:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633144 -3.632434)'), GeomFromEWKT('SRID=4674;POINT (-38.633132 -3.632387)'))) / (select extract(epoch from '2026-07-21 19:28:55'::timestamp) - extract(epoch from '2026-07-21 19:27: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'), 47374, 'SRID=4674;POINT (-38.633117 -3.632399)', '2026-07-21 19:29:27', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633132 -3.632387)'), GeomFromEWKT('SRID=4674;POINT (-38.633117 -3.632399)'))) / (select extract(epoch from '2026-07-21 19:29:27'::timestamp) - extract(epoch from '2026-07-21 19:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633132 -3.632387)'), GeomFromEWKT('SRID=4674;POINT (-38.633117 -3.632399)'))) / (select extract(epoch from '2026-07-21 19:29:27'::timestamp) - extract(epoch from '2026-07-21 19:28: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'), 47374, 'SRID=4674;POINT (-38.633092 -3.632409)', '2026-07-21 19:30:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633117 -3.632399)'), GeomFromEWKT('SRID=4674;POINT (-38.633092 -3.632409)'))) / (select extract(epoch from '2026-07-21 19:30:42'::timestamp) - extract(epoch from '2026-07-21 19:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633117 -3.632399)'), GeomFromEWKT('SRID=4674;POINT (-38.633092 -3.632409)'))) / (select extract(epoch from '2026-07-21 19:30:42'::timestamp) - extract(epoch from '2026-07-21 19:29: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'), 47374, 'SRID=4674;POINT (-38.633058 -3.632448)', '2026-07-21 19:31:16', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633092 -3.632409)'), GeomFromEWKT('SRID=4674;POINT (-38.633058 -3.632448)'))) / (select extract(epoch from '2026-07-21 19:31:16'::timestamp) - extract(epoch from '2026-07-21 19:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633092 -3.632409)'), GeomFromEWKT('SRID=4674;POINT (-38.633058 -3.632448)'))) / (select extract(epoch from '2026-07-21 19:31:16'::timestamp) - extract(epoch from '2026-07-21 19:30: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'), 47374, 'SRID=4674;POINT (-38.633043 -3.632456)', '2026-07-21 19:31:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633058 -3.632448)'), GeomFromEWKT('SRID=4674;POINT (-38.633043 -3.632456)'))) / (select extract(epoch from '2026-07-21 19:31:34'::timestamp) - extract(epoch from '2026-07-21 19:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633058 -3.632448)'), GeomFromEWKT('SRID=4674;POINT (-38.633043 -3.632456)'))) / (select extract(epoch from '2026-07-21 19:31:34'::timestamp) - extract(epoch from '2026-07-21 19:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633028 -3.632459)', '2026-07-21 19:31:40', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633043 -3.632456)'), GeomFromEWKT('SRID=4674;POINT (-38.633028 -3.632459)'))) / (select extract(epoch from '2026-07-21 19:31:40'::timestamp) - extract(epoch from '2026-07-21 19:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633043 -3.632456)'), GeomFromEWKT('SRID=4674;POINT (-38.633028 -3.632459)'))) / (select extract(epoch from '2026-07-21 19:31:40'::timestamp) - extract(epoch from '2026-07-21 19:31: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'), 47374, 'SRID=4674;POINT (-38.63301 -3.632463)', '2026-07-21 19:31:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633028 -3.632459)'), GeomFromEWKT('SRID=4674;POINT (-38.63301 -3.632463)'))) / (select extract(epoch from '2026-07-21 19:31:49'::timestamp) - extract(epoch from '2026-07-21 19:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633028 -3.632459)'), GeomFromEWKT('SRID=4674;POINT (-38.63301 -3.632463)'))) / (select extract(epoch from '2026-07-21 19:31:49'::timestamp) - extract(epoch from '2026-07-21 19:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632991 -3.632472)', '2026-07-21 19:31:56', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63301 -3.632463)'), GeomFromEWKT('SRID=4674;POINT (-38.632991 -3.632472)'))) / (select extract(epoch from '2026-07-21 19:31:56'::timestamp) - extract(epoch from '2026-07-21 19:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63301 -3.632463)'), GeomFromEWKT('SRID=4674;POINT (-38.632991 -3.632472)'))) / (select extract(epoch from '2026-07-21 19:31:56'::timestamp) - extract(epoch from '2026-07-21 19:31: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'), 47374, 'SRID=4674;POINT (-38.632969 -3.63248)', '2026-07-21 19:32:01', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632991 -3.632472)'), GeomFromEWKT('SRID=4674;POINT (-38.632969 -3.63248)'))) / (select extract(epoch from '2026-07-21 19:32:01'::timestamp) - extract(epoch from '2026-07-21 19:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632991 -3.632472)'), GeomFromEWKT('SRID=4674;POINT (-38.632969 -3.63248)'))) / (select extract(epoch from '2026-07-21 19:32:01'::timestamp) - extract(epoch from '2026-07-21 19:31: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'), 47374, 'SRID=4674;POINT (-38.632941 -3.632481)', '2026-07-21 19:32:13', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632969 -3.63248)'), GeomFromEWKT('SRID=4674;POINT (-38.632941 -3.632481)'))) / (select extract(epoch from '2026-07-21 19:32:13'::timestamp) - extract(epoch from '2026-07-21 19:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632969 -3.63248)'), GeomFromEWKT('SRID=4674;POINT (-38.632941 -3.632481)'))) / (select extract(epoch from '2026-07-21 19:32:13'::timestamp) - extract(epoch from '2026-07-21 19:32: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'), 47374, 'SRID=4674;POINT (-38.632934 -3.6325)', '2026-07-21 19:32:23', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632941 -3.632481)'), GeomFromEWKT('SRID=4674;POINT (-38.632934 -3.6325)'))) / (select extract(epoch from '2026-07-21 19:32:23'::timestamp) - extract(epoch from '2026-07-21 19:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632941 -3.632481)'), GeomFromEWKT('SRID=4674;POINT (-38.632934 -3.6325)'))) / (select extract(epoch from '2026-07-21 19:32:23'::timestamp) - extract(epoch from '2026-07-21 19:32:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632924 -3.63251)', '2026-07-21 19:32:30', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632934 -3.6325)'), GeomFromEWKT('SRID=4674;POINT (-38.632924 -3.63251)'))) / (select extract(epoch from '2026-07-21 19:32:30'::timestamp) - extract(epoch from '2026-07-21 19:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632934 -3.6325)'), GeomFromEWKT('SRID=4674;POINT (-38.632924 -3.63251)'))) / (select extract(epoch from '2026-07-21 19:32:30'::timestamp) - extract(epoch from '2026-07-21 19:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632904 -3.632532)', '2026-07-21 19:32:38', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632924 -3.63251)'), GeomFromEWKT('SRID=4674;POINT (-38.632904 -3.632532)'))) / (select extract(epoch from '2026-07-21 19:32:38'::timestamp) - extract(epoch from '2026-07-21 19:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632924 -3.63251)'), GeomFromEWKT('SRID=4674;POINT (-38.632904 -3.632532)'))) / (select extract(epoch from '2026-07-21 19:32:38'::timestamp) - extract(epoch from '2026-07-21 19:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632891 -3.632539)', '2026-07-21 19:32:50', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632904 -3.632532)'), GeomFromEWKT('SRID=4674;POINT (-38.632891 -3.632539)'))) / (select extract(epoch from '2026-07-21 19:32:50'::timestamp) - extract(epoch from '2026-07-21 19:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632904 -3.632532)'), GeomFromEWKT('SRID=4674;POINT (-38.632891 -3.632539)'))) / (select extract(epoch from '2026-07-21 19:32:50'::timestamp) - extract(epoch from '2026-07-21 19:32: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'), 47374, 'SRID=4674;POINT (-38.632843 -3.632554)', '2026-07-21 19:33:00', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632891 -3.632539)'), GeomFromEWKT('SRID=4674;POINT (-38.632843 -3.632554)'))) / (select extract(epoch from '2026-07-21 19:33:00'::timestamp) - extract(epoch from '2026-07-21 19:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632891 -3.632539)'), GeomFromEWKT('SRID=4674;POINT (-38.632843 -3.632554)'))) / (select extract(epoch from '2026-07-21 19:33:00'::timestamp) - extract(epoch from '2026-07-21 19:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632829 -3.632558)', '2026-07-21 19:33:08', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632843 -3.632554)'), GeomFromEWKT('SRID=4674;POINT (-38.632829 -3.632558)'))) / (select extract(epoch from '2026-07-21 19:33:08'::timestamp) - extract(epoch from '2026-07-21 19:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632843 -3.632554)'), GeomFromEWKT('SRID=4674;POINT (-38.632829 -3.632558)'))) / (select extract(epoch from '2026-07-21 19:33:08'::timestamp) - extract(epoch from '2026-07-21 19:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632824 -3.632545)', '2026-07-21 19:33:33', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632829 -3.632558)'), GeomFromEWKT('SRID=4674;POINT (-38.632824 -3.632545)'))) / (select extract(epoch from '2026-07-21 19:33:33'::timestamp) - extract(epoch from '2026-07-21 19:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632829 -3.632558)'), GeomFromEWKT('SRID=4674;POINT (-38.632824 -3.632545)'))) / (select extract(epoch from '2026-07-21 19:33:33'::timestamp) - extract(epoch from '2026-07-21 19:33: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'), 47374, 'SRID=4674;POINT (-38.632774 -3.632561)', '2026-07-21 19:34:09', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632824 -3.632545)'), GeomFromEWKT('SRID=4674;POINT (-38.632774 -3.632561)'))) / (select extract(epoch from '2026-07-21 19:34:09'::timestamp) - extract(epoch from '2026-07-21 19:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632824 -3.632545)'), GeomFromEWKT('SRID=4674;POINT (-38.632774 -3.632561)'))) / (select extract(epoch from '2026-07-21 19:34:09'::timestamp) - extract(epoch from '2026-07-21 19:33: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'), 47374, 'SRID=4674;POINT (-38.632761 -3.632562)', '2026-07-21 19:34:17', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632774 -3.632561)'), GeomFromEWKT('SRID=4674;POINT (-38.632761 -3.632562)'))) / (select extract(epoch from '2026-07-21 19:34:17'::timestamp) - extract(epoch from '2026-07-21 19:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632774 -3.632561)'), GeomFromEWKT('SRID=4674;POINT (-38.632761 -3.632562)'))) / (select extract(epoch from '2026-07-21 19:34:17'::timestamp) - extract(epoch from '2026-07-21 19:34: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'), 47374, 'SRID=4674;POINT (-38.632715 -3.632574)', '2026-07-21 19:34:34', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632761 -3.632562)'), GeomFromEWKT('SRID=4674;POINT (-38.632715 -3.632574)'))) / (select extract(epoch from '2026-07-21 19:34:34'::timestamp) - extract(epoch from '2026-07-21 19:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632761 -3.632562)'), GeomFromEWKT('SRID=4674;POINT (-38.632715 -3.632574)'))) / (select extract(epoch from '2026-07-21 19:34:34'::timestamp) - extract(epoch from '2026-07-21 19:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632697 -3.632587)', '2026-07-21 19:34:42', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632715 -3.632574)'), GeomFromEWKT('SRID=4674;POINT (-38.632697 -3.632587)'))) / (select extract(epoch from '2026-07-21 19:34:42'::timestamp) - extract(epoch from '2026-07-21 19:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632715 -3.632574)'), GeomFromEWKT('SRID=4674;POINT (-38.632697 -3.632587)'))) / (select extract(epoch from '2026-07-21 19:34:42'::timestamp) - extract(epoch from '2026-07-21 19:34: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'), 47374, 'SRID=4674;POINT (-38.632675 -3.6326)', '2026-07-21 19:34:50', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632697 -3.632587)'), GeomFromEWKT('SRID=4674;POINT (-38.632675 -3.6326)'))) / (select extract(epoch from '2026-07-21 19:34:50'::timestamp) - extract(epoch from '2026-07-21 19:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632697 -3.632587)'), GeomFromEWKT('SRID=4674;POINT (-38.632675 -3.6326)'))) / (select extract(epoch from '2026-07-21 19:34:50'::timestamp) - extract(epoch from '2026-07-21 19:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632618 -3.632614)', '2026-07-21 19:36:18', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632675 -3.6326)'), GeomFromEWKT('SRID=4674;POINT (-38.632618 -3.632614)'))) / (select extract(epoch from '2026-07-21 19:36:18'::timestamp) - extract(epoch from '2026-07-21 19:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632675 -3.6326)'), GeomFromEWKT('SRID=4674;POINT (-38.632618 -3.632614)'))) / (select extract(epoch from '2026-07-21 19:36:18'::timestamp) - extract(epoch from '2026-07-21 19:34:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632594 -3.632626)', '2026-07-21 19:36:49', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632618 -3.632614)'), GeomFromEWKT('SRID=4674;POINT (-38.632594 -3.632626)'))) / (select extract(epoch from '2026-07-21 19:36:49'::timestamp) - extract(epoch from '2026-07-21 19:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632618 -3.632614)'), GeomFromEWKT('SRID=4674;POINT (-38.632594 -3.632626)'))) / (select extract(epoch from '2026-07-21 19:36:49'::timestamp) - extract(epoch from '2026-07-21 19:36: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'), 47374, 'SRID=4674;POINT (-38.632582 -3.632628)', '2026-07-21 19:37:42', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632594 -3.632626)'), GeomFromEWKT('SRID=4674;POINT (-38.632582 -3.632628)'))) / (select extract(epoch from '2026-07-21 19:37:42'::timestamp) - extract(epoch from '2026-07-21 19:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632594 -3.632626)'), GeomFromEWKT('SRID=4674;POINT (-38.632582 -3.632628)'))) / (select extract(epoch from '2026-07-21 19:37:42'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.632575 -3.632634)', '2026-07-21 19:37:48', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632582 -3.632628)'), GeomFromEWKT('SRID=4674;POINT (-38.632575 -3.632634)'))) / (select extract(epoch from '2026-07-21 19:37:48'::timestamp) - extract(epoch from '2026-07-21 19:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632582 -3.632628)'), GeomFromEWKT('SRID=4674;POINT (-38.632575 -3.632634)'))) / (select extract(epoch from '2026-07-21 19:37:48'::timestamp) - extract(epoch from '2026-07-21 19:37:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632566 -3.632626)', '2026-07-21 19:38:08', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632575 -3.632634)'), GeomFromEWKT('SRID=4674;POINT (-38.632566 -3.632626)'))) / (select extract(epoch from '2026-07-21 19:38:08'::timestamp) - extract(epoch from '2026-07-21 19:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632575 -3.632634)'), GeomFromEWKT('SRID=4674;POINT (-38.632566 -3.632626)'))) / (select extract(epoch from '2026-07-21 19:38:08'::timestamp) - extract(epoch from '2026-07-21 19:37: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'), 47374, 'SRID=4674;POINT (-38.632515 -3.63265)', '2026-07-21 19:39:16', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632566 -3.632626)'), GeomFromEWKT('SRID=4674;POINT (-38.632515 -3.63265)'))) / (select extract(epoch from '2026-07-21 19:39:16'::timestamp) - extract(epoch from '2026-07-21 19:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632566 -3.632626)'), GeomFromEWKT('SRID=4674;POINT (-38.632515 -3.63265)'))) / (select extract(epoch from '2026-07-21 19:39:16'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.632481 -3.632657)', '2026-07-21 19:39:29', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632515 -3.63265)'), GeomFromEWKT('SRID=4674;POINT (-38.632481 -3.632657)'))) / (select extract(epoch from '2026-07-21 19:39:29'::timestamp) - extract(epoch from '2026-07-21 19:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632515 -3.63265)'), GeomFromEWKT('SRID=4674;POINT (-38.632481 -3.632657)'))) / (select extract(epoch from '2026-07-21 19:39:29'::timestamp) - extract(epoch from '2026-07-21 19:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632406 -3.63269)', '2026-07-21 19:40:19', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632481 -3.632657)'), GeomFromEWKT('SRID=4674;POINT (-38.632406 -3.63269)'))) / (select extract(epoch from '2026-07-21 19:40:19'::timestamp) - extract(epoch from '2026-07-21 19:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632481 -3.632657)'), GeomFromEWKT('SRID=4674;POINT (-38.632406 -3.63269)'))) / (select extract(epoch from '2026-07-21 19:40:19'::timestamp) - extract(epoch from '2026-07-21 19:39: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'), 47374, 'SRID=4674;POINT (-38.632384 -3.632687)', '2026-07-21 19:40:55', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632406 -3.63269)'), GeomFromEWKT('SRID=4674;POINT (-38.632384 -3.632687)'))) / (select extract(epoch from '2026-07-21 19:40:55'::timestamp) - extract(epoch from '2026-07-21 19:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632406 -3.63269)'), GeomFromEWKT('SRID=4674;POINT (-38.632384 -3.632687)'))) / (select extract(epoch from '2026-07-21 19:40:55'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.632368 -3.632686)', '2026-07-21 19:41:05', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632384 -3.632687)'), GeomFromEWKT('SRID=4674;POINT (-38.632368 -3.632686)'))) / (select extract(epoch from '2026-07-21 19:41:05'::timestamp) - extract(epoch from '2026-07-21 19:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632384 -3.632687)'), GeomFromEWKT('SRID=4674;POINT (-38.632368 -3.632686)'))) / (select extract(epoch from '2026-07-21 19:41:05'::timestamp) - extract(epoch from '2026-07-21 19:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632349 -3.632707)', '2026-07-21 19:41:12', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632368 -3.632686)'), GeomFromEWKT('SRID=4674;POINT (-38.632349 -3.632707)'))) / (select extract(epoch from '2026-07-21 19:41:12'::timestamp) - extract(epoch from '2026-07-21 19:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632368 -3.632686)'), GeomFromEWKT('SRID=4674;POINT (-38.632349 -3.632707)'))) / (select extract(epoch from '2026-07-21 19:41:12'::timestamp) - extract(epoch from '2026-07-21 19:41: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'), 47374, 'SRID=4674;POINT (-38.632329 -3.632731)', '2026-07-21 19:41:19', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632349 -3.632707)'), GeomFromEWKT('SRID=4674;POINT (-38.632329 -3.632731)'))) / (select extract(epoch from '2026-07-21 19:41:19'::timestamp) - extract(epoch from '2026-07-21 19:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632349 -3.632707)'), GeomFromEWKT('SRID=4674;POINT (-38.632329 -3.632731)'))) / (select extract(epoch from '2026-07-21 19:41:19'::timestamp) - extract(epoch from '2026-07-21 19:41: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'), 47374, 'SRID=4674;POINT (-38.6323 -3.632724)', '2026-07-21 19:42:11', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632329 -3.632731)'), GeomFromEWKT('SRID=4674;POINT (-38.6323 -3.632724)'))) / (select extract(epoch from '2026-07-21 19:42:11'::timestamp) - extract(epoch from '2026-07-21 19:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632329 -3.632731)'), GeomFromEWKT('SRID=4674;POINT (-38.6323 -3.632724)'))) / (select extract(epoch from '2026-07-21 19:42:11'::timestamp) - extract(epoch from '2026-07-21 19:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632275 -3.632735)', '2026-07-21 19:42:24', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6323 -3.632724)'), GeomFromEWKT('SRID=4674;POINT (-38.632275 -3.632735)'))) / (select extract(epoch from '2026-07-21 19:42:24'::timestamp) - extract(epoch from '2026-07-21 19:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6323 -3.632724)'), GeomFromEWKT('SRID=4674;POINT (-38.632275 -3.632735)'))) / (select extract(epoch from '2026-07-21 19:42:24'::timestamp) - extract(epoch from '2026-07-21 19:42:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632207 -3.632766)', '2026-07-21 19:43:04', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632275 -3.632735)'), GeomFromEWKT('SRID=4674;POINT (-38.632207 -3.632766)'))) / (select extract(epoch from '2026-07-21 19:43:04'::timestamp) - extract(epoch from '2026-07-21 19:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632275 -3.632735)'), GeomFromEWKT('SRID=4674;POINT (-38.632207 -3.632766)'))) / (select extract(epoch from '2026-07-21 19:43:04'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.632171 -3.632788)', '2026-07-21 19:43:22', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632207 -3.632766)'), GeomFromEWKT('SRID=4674;POINT (-38.632171 -3.632788)'))) / (select extract(epoch from '2026-07-21 19:43:22'::timestamp) - extract(epoch from '2026-07-21 19:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632207 -3.632766)'), GeomFromEWKT('SRID=4674;POINT (-38.632171 -3.632788)'))) / (select extract(epoch from '2026-07-21 19:43:22'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.632162 -3.632788)', '2026-07-21 19:43:50', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632171 -3.632788)'), GeomFromEWKT('SRID=4674;POINT (-38.632162 -3.632788)'))) / (select extract(epoch from '2026-07-21 19:43:50'::timestamp) - extract(epoch from '2026-07-21 19:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632171 -3.632788)'), GeomFromEWKT('SRID=4674;POINT (-38.632162 -3.632788)'))) / (select extract(epoch from '2026-07-21 19:43:50'::timestamp) - extract(epoch from '2026-07-21 19:43: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'), 47374, 'SRID=4674;POINT (-38.632119 -3.632771)', '2026-07-21 19:44:34', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632162 -3.632788)'), GeomFromEWKT('SRID=4674;POINT (-38.632119 -3.632771)'))) / (select extract(epoch from '2026-07-21 19:44:34'::timestamp) - extract(epoch from '2026-07-21 19:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632162 -3.632788)'), GeomFromEWKT('SRID=4674;POINT (-38.632119 -3.632771)'))) / (select extract(epoch from '2026-07-21 19:44:34'::timestamp) - extract(epoch from '2026-07-21 19:43: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'), 47374, 'SRID=4674;POINT (-38.632091 -3.632769)', '2026-07-21 19:44:42', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632119 -3.632771)'), GeomFromEWKT('SRID=4674;POINT (-38.632091 -3.632769)'))) / (select extract(epoch from '2026-07-21 19:44:42'::timestamp) - extract(epoch from '2026-07-21 19:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632119 -3.632771)'), GeomFromEWKT('SRID=4674;POINT (-38.632091 -3.632769)'))) / (select extract(epoch from '2026-07-21 19:44:42'::timestamp) - extract(epoch from '2026-07-21 19:44: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'), 47374, 'SRID=4674;POINT (-38.632 -3.632794)', '2026-07-21 19:44:53', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632091 -3.632769)'), GeomFromEWKT('SRID=4674;POINT (-38.632 -3.632794)'))) / (select extract(epoch from '2026-07-21 19:44:53'::timestamp) - extract(epoch from '2026-07-21 19:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632091 -3.632769)'), GeomFromEWKT('SRID=4674;POINT (-38.632 -3.632794)'))) / (select extract(epoch from '2026-07-21 19:44:53'::timestamp) - extract(epoch from '2026-07-21 19:44: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'), 47374, 'SRID=4674;POINT (-38.631948 -3.63282)', '2026-07-21 19:45:32', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632 -3.632794)'), GeomFromEWKT('SRID=4674;POINT (-38.631948 -3.63282)'))) / (select extract(epoch from '2026-07-21 19:45:32'::timestamp) - extract(epoch from '2026-07-21 19:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632 -3.632794)'), GeomFromEWKT('SRID=4674;POINT (-38.631948 -3.63282)'))) / (select extract(epoch from '2026-07-21 19:45:32'::timestamp) - extract(epoch from '2026-07-21 19:44: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'), 47374, 'SRID=4674;POINT (-38.631944 -3.632825)', '2026-07-21 19:45:44', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631948 -3.63282)'), GeomFromEWKT('SRID=4674;POINT (-38.631944 -3.632825)'))) / (select extract(epoch from '2026-07-21 19:45:44'::timestamp) - extract(epoch from '2026-07-21 19:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631948 -3.63282)'), GeomFromEWKT('SRID=4674;POINT (-38.631944 -3.632825)'))) / (select extract(epoch from '2026-07-21 19:45:44'::timestamp) - extract(epoch from '2026-07-21 19:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631901 -3.632827)', '2026-07-21 19:46:25', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631944 -3.632825)'), GeomFromEWKT('SRID=4674;POINT (-38.631901 -3.632827)'))) / (select extract(epoch from '2026-07-21 19:46:25'::timestamp) - extract(epoch from '2026-07-21 19:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631944 -3.632825)'), GeomFromEWKT('SRID=4674;POINT (-38.631901 -3.632827)'))) / (select extract(epoch from '2026-07-21 19:46:25'::timestamp) - extract(epoch from '2026-07-21 19:45: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'), 47374, 'SRID=4674;POINT (-38.631835 -3.632852)', '2026-07-21 19:46:38', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631901 -3.632827)'), GeomFromEWKT('SRID=4674;POINT (-38.631835 -3.632852)'))) / (select extract(epoch from '2026-07-21 19:46:38'::timestamp) - extract(epoch from '2026-07-21 19:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631901 -3.632827)'), GeomFromEWKT('SRID=4674;POINT (-38.631835 -3.632852)'))) / (select extract(epoch from '2026-07-21 19:46:38'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.631772 -3.632851)', '2026-07-21 19:46:59', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631835 -3.632852)'), GeomFromEWKT('SRID=4674;POINT (-38.631772 -3.632851)'))) / (select extract(epoch from '2026-07-21 19:46:59'::timestamp) - extract(epoch from '2026-07-21 19:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631835 -3.632852)'), GeomFromEWKT('SRID=4674;POINT (-38.631772 -3.632851)'))) / (select extract(epoch from '2026-07-21 19:46:59'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.631742 -3.632864)', '2026-07-21 19:47:10', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631772 -3.632851)'), GeomFromEWKT('SRID=4674;POINT (-38.631742 -3.632864)'))) / (select extract(epoch from '2026-07-21 19:47:10'::timestamp) - extract(epoch from '2026-07-21 19:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631772 -3.632851)'), GeomFromEWKT('SRID=4674;POINT (-38.631742 -3.632864)'))) / (select extract(epoch from '2026-07-21 19:47:10'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.631736 -3.632872)', '2026-07-21 19:47:11', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631742 -3.632864)'), GeomFromEWKT('SRID=4674;POINT (-38.631736 -3.632872)'))) / (select extract(epoch from '2026-07-21 19:47:11'::timestamp) - extract(epoch from '2026-07-21 19:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631742 -3.632864)'), GeomFromEWKT('SRID=4674;POINT (-38.631736 -3.632872)'))) / (select extract(epoch from '2026-07-21 19:47:11'::timestamp) - extract(epoch from '2026-07-21 19:47: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'), 47374, 'SRID=4674;POINT (-38.63171 -3.63289)', '2026-07-21 19:47:18', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631736 -3.632872)'), GeomFromEWKT('SRID=4674;POINT (-38.63171 -3.63289)'))) / (select extract(epoch from '2026-07-21 19:47:18'::timestamp) - extract(epoch from '2026-07-21 19:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631736 -3.632872)'), GeomFromEWKT('SRID=4674;POINT (-38.63171 -3.63289)'))) / (select extract(epoch from '2026-07-21 19:47:18'::timestamp) - extract(epoch from '2026-07-21 19:47: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'), 47374, 'SRID=4674;POINT (-38.631699 -3.63291)', '2026-07-21 19:47:31', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63171 -3.63289)'), GeomFromEWKT('SRID=4674;POINT (-38.631699 -3.63291)'))) / (select extract(epoch from '2026-07-21 19:47:31'::timestamp) - extract(epoch from '2026-07-21 19:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63171 -3.63289)'), GeomFromEWKT('SRID=4674;POINT (-38.631699 -3.63291)'))) / (select extract(epoch from '2026-07-21 19:47:31'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.631685 -3.632908)', '2026-07-21 19:47:44', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631699 -3.63291)'), GeomFromEWKT('SRID=4674;POINT (-38.631685 -3.632908)'))) / (select extract(epoch from '2026-07-21 19:47:44'::timestamp) - extract(epoch from '2026-07-21 19:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631699 -3.63291)'), GeomFromEWKT('SRID=4674;POINT (-38.631685 -3.632908)'))) / (select extract(epoch from '2026-07-21 19:47:44'::timestamp) - extract(epoch from '2026-07-21 19:47: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'), 47374, 'SRID=4674;POINT (-38.631678 -3.63291)', '2026-07-21 19:47:51', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631685 -3.632908)'), GeomFromEWKT('SRID=4674;POINT (-38.631678 -3.63291)'))) / (select extract(epoch from '2026-07-21 19:47:51'::timestamp) - extract(epoch from '2026-07-21 19:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631685 -3.632908)'), GeomFromEWKT('SRID=4674;POINT (-38.631678 -3.63291)'))) / (select extract(epoch from '2026-07-21 19:47:51'::timestamp) - extract(epoch from '2026-07-21 19:47: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'), 47374, 'SRID=4674;POINT (-38.631642 -3.632915)', '2026-07-21 19:48:52', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631678 -3.63291)'), GeomFromEWKT('SRID=4674;POINT (-38.631642 -3.632915)'))) / (select extract(epoch from '2026-07-21 19:48:52'::timestamp) - extract(epoch from '2026-07-21 19:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631678 -3.63291)'), GeomFromEWKT('SRID=4674;POINT (-38.631642 -3.632915)'))) / (select extract(epoch from '2026-07-21 19:48:52'::timestamp) - extract(epoch from '2026-07-21 19:47: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'), 47374, 'SRID=4674;POINT (-38.631646 -3.632906)', '2026-07-21 19:48:57', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631642 -3.632915)'), GeomFromEWKT('SRID=4674;POINT (-38.631646 -3.632906)'))) / (select extract(epoch from '2026-07-21 19:48:57'::timestamp) - extract(epoch from '2026-07-21 19:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631642 -3.632915)'), GeomFromEWKT('SRID=4674;POINT (-38.631646 -3.632906)'))) / (select extract(epoch from '2026-07-21 19:48:57'::timestamp) - extract(epoch from '2026-07-21 19:48: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'), 47374, 'SRID=4674;POINT (-38.631596 -3.632917)', '2026-07-21 19:49:39', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631646 -3.632906)'), GeomFromEWKT('SRID=4674;POINT (-38.631596 -3.632917)'))) / (select extract(epoch from '2026-07-21 19:49:39'::timestamp) - extract(epoch from '2026-07-21 19:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631646 -3.632906)'), GeomFromEWKT('SRID=4674;POINT (-38.631596 -3.632917)'))) / (select extract(epoch from '2026-07-21 19:49:39'::timestamp) - extract(epoch from '2026-07-21 19:48: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'), 47374, 'SRID=4674;POINT (-38.631573 -3.63293)', '2026-07-21 19:50:02', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631596 -3.632917)'), GeomFromEWKT('SRID=4674;POINT (-38.631573 -3.63293)'))) / (select extract(epoch from '2026-07-21 19:50:02'::timestamp) - extract(epoch from '2026-07-21 19:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631596 -3.632917)'), GeomFromEWKT('SRID=4674;POINT (-38.631573 -3.63293)'))) / (select extract(epoch from '2026-07-21 19:50:02'::timestamp) - extract(epoch from '2026-07-21 19:49: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'), 47374, 'SRID=4674;POINT (-38.63157 -3.632946)', '2026-07-21 19:50:08', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631573 -3.63293)'), GeomFromEWKT('SRID=4674;POINT (-38.63157 -3.632946)'))) / (select extract(epoch from '2026-07-21 19:50:08'::timestamp) - extract(epoch from '2026-07-21 19:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631573 -3.63293)'), GeomFromEWKT('SRID=4674;POINT (-38.63157 -3.632946)'))) / (select extract(epoch from '2026-07-21 19:50:08'::timestamp) - extract(epoch from '2026-07-21 19:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631557 -3.632948)', '2026-07-21 19:50:50', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63157 -3.632946)'), GeomFromEWKT('SRID=4674;POINT (-38.631557 -3.632948)'))) / (select extract(epoch from '2026-07-21 19:50:50'::timestamp) - extract(epoch from '2026-07-21 19:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63157 -3.632946)'), GeomFromEWKT('SRID=4674;POINT (-38.631557 -3.632948)'))) / (select extract(epoch from '2026-07-21 19:50:50'::timestamp) - extract(epoch from '2026-07-21 19:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631539 -3.632967)', '2026-07-21 19:51:24', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631557 -3.632948)'), GeomFromEWKT('SRID=4674;POINT (-38.631539 -3.632967)'))) / (select extract(epoch from '2026-07-21 19:51:24'::timestamp) - extract(epoch from '2026-07-21 19:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631557 -3.632948)'), GeomFromEWKT('SRID=4674;POINT (-38.631539 -3.632967)'))) / (select extract(epoch from '2026-07-21 19:51:24'::timestamp) - extract(epoch from '2026-07-21 19:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63148 -3.632975)', '2026-07-21 19:51:42', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631539 -3.632967)'), GeomFromEWKT('SRID=4674;POINT (-38.63148 -3.632975)'))) / (select extract(epoch from '2026-07-21 19:51:42'::timestamp) - extract(epoch from '2026-07-21 19:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631539 -3.632967)'), GeomFromEWKT('SRID=4674;POINT (-38.63148 -3.632975)'))) / (select extract(epoch from '2026-07-21 19:51:42'::timestamp) - extract(epoch from '2026-07-21 19:51: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'), 47374, 'SRID=4674;POINT (-38.631457 -3.632981)', '2026-07-21 19:51:50', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63148 -3.632975)'), GeomFromEWKT('SRID=4674;POINT (-38.631457 -3.632981)'))) / (select extract(epoch from '2026-07-21 19:51:50'::timestamp) - extract(epoch from '2026-07-21 19:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63148 -3.632975)'), GeomFromEWKT('SRID=4674;POINT (-38.631457 -3.632981)'))) / (select extract(epoch from '2026-07-21 19:51:50'::timestamp) - extract(epoch from '2026-07-21 19:51: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'), 47374, 'SRID=4674;POINT (-38.631401 -3.632996)', '2026-07-21 19:52:33', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631457 -3.632981)'), GeomFromEWKT('SRID=4674;POINT (-38.631401 -3.632996)'))) / (select extract(epoch from '2026-07-21 19:52:33'::timestamp) - extract(epoch from '2026-07-21 19:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631457 -3.632981)'), GeomFromEWKT('SRID=4674;POINT (-38.631401 -3.632996)'))) / (select extract(epoch from '2026-07-21 19:52:33'::timestamp) - extract(epoch from '2026-07-21 19:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631356 -3.633014)', '2026-07-21 19:52:42', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631401 -3.632996)'), GeomFromEWKT('SRID=4674;POINT (-38.631356 -3.633014)'))) / (select extract(epoch from '2026-07-21 19:52:42'::timestamp) - extract(epoch from '2026-07-21 19:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631401 -3.632996)'), GeomFromEWKT('SRID=4674;POINT (-38.631356 -3.633014)'))) / (select extract(epoch from '2026-07-21 19:52:42'::timestamp) - extract(epoch from '2026-07-21 19:52: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'), 47374, 'SRID=4674;POINT (-38.631332 -3.633018)', '2026-07-21 19:52:55', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631356 -3.633014)'), GeomFromEWKT('SRID=4674;POINT (-38.631332 -3.633018)'))) / (select extract(epoch from '2026-07-21 19:52:55'::timestamp) - extract(epoch from '2026-07-21 19:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631356 -3.633014)'), GeomFromEWKT('SRID=4674;POINT (-38.631332 -3.633018)'))) / (select extract(epoch from '2026-07-21 19:52:55'::timestamp) - extract(epoch from '2026-07-21 19:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631318 -3.63302)', '2026-07-21 19:53:09', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631332 -3.633018)'), GeomFromEWKT('SRID=4674;POINT (-38.631318 -3.63302)'))) / (select extract(epoch from '2026-07-21 19:53:09'::timestamp) - extract(epoch from '2026-07-21 19:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631332 -3.633018)'), GeomFromEWKT('SRID=4674;POINT (-38.631318 -3.63302)'))) / (select extract(epoch from '2026-07-21 19:53:09'::timestamp) - extract(epoch from '2026-07-21 19:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631274 -3.633005)', '2026-07-21 19:53:51', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631318 -3.63302)'), GeomFromEWKT('SRID=4674;POINT (-38.631274 -3.633005)'))) / (select extract(epoch from '2026-07-21 19:53:51'::timestamp) - extract(epoch from '2026-07-21 19:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631318 -3.63302)'), GeomFromEWKT('SRID=4674;POINT (-38.631274 -3.633005)'))) / (select extract(epoch from '2026-07-21 19:53:51'::timestamp) - extract(epoch from '2026-07-21 19:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631267 -3.633009)', '2026-07-21 19:53:56', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631274 -3.633005)'), GeomFromEWKT('SRID=4674;POINT (-38.631267 -3.633009)'))) / (select extract(epoch from '2026-07-21 19:53:56'::timestamp) - extract(epoch from '2026-07-21 19:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631274 -3.633005)'), GeomFromEWKT('SRID=4674;POINT (-38.631267 -3.633009)'))) / (select extract(epoch from '2026-07-21 19:53:56'::timestamp) - extract(epoch from '2026-07-21 19:53:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631263 -3.633015)', '2026-07-21 19:54:02', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631267 -3.633009)'), GeomFromEWKT('SRID=4674;POINT (-38.631263 -3.633015)'))) / (select extract(epoch from '2026-07-21 19:54:02'::timestamp) - extract(epoch from '2026-07-21 19:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631267 -3.633009)'), GeomFromEWKT('SRID=4674;POINT (-38.631263 -3.633015)'))) / (select extract(epoch from '2026-07-21 19:54:02'::timestamp) - extract(epoch from '2026-07-21 19:53: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'), 47374, 'SRID=4674;POINT (-38.631272 -3.633006)', '2026-07-21 19:54:17', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631263 -3.633015)'), GeomFromEWKT('SRID=4674;POINT (-38.631272 -3.633006)'))) / (select extract(epoch from '2026-07-21 19:54:17'::timestamp) - extract(epoch from '2026-07-21 19:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631263 -3.633015)'), GeomFromEWKT('SRID=4674;POINT (-38.631272 -3.633006)'))) / (select extract(epoch from '2026-07-21 19:54:17'::timestamp) - extract(epoch from '2026-07-21 19:54:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631279 -3.632994)', '2026-07-21 19:54:33', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631272 -3.633006)'), GeomFromEWKT('SRID=4674;POINT (-38.631279 -3.632994)'))) / (select extract(epoch from '2026-07-21 19:54:33'::timestamp) - extract(epoch from '2026-07-21 19:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631272 -3.633006)'), GeomFromEWKT('SRID=4674;POINT (-38.631279 -3.632994)'))) / (select extract(epoch from '2026-07-21 19:54:33'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.63126 -3.632997)', '2026-07-21 19:55:29', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631279 -3.632994)'), GeomFromEWKT('SRID=4674;POINT (-38.63126 -3.632997)'))) / (select extract(epoch from '2026-07-21 19:55:29'::timestamp) - extract(epoch from '2026-07-21 19:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631279 -3.632994)'), GeomFromEWKT('SRID=4674;POINT (-38.63126 -3.632997)'))) / (select extract(epoch from '2026-07-21 19:55:29'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.631228 -3.633006)', '2026-07-21 19:56:03', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63126 -3.632997)'), GeomFromEWKT('SRID=4674;POINT (-38.631228 -3.633006)'))) / (select extract(epoch from '2026-07-21 19:56:03'::timestamp) - extract(epoch from '2026-07-21 19:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63126 -3.632997)'), GeomFromEWKT('SRID=4674;POINT (-38.631228 -3.633006)'))) / (select extract(epoch from '2026-07-21 19:56:03'::timestamp) - extract(epoch from '2026-07-21 19:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.6312 -3.633038)', '2026-07-21 19:56:23', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631228 -3.633006)'), GeomFromEWKT('SRID=4674;POINT (-38.6312 -3.633038)'))) / (select extract(epoch from '2026-07-21 19:56:23'::timestamp) - extract(epoch from '2026-07-21 19:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631228 -3.633006)'), GeomFromEWKT('SRID=4674;POINT (-38.6312 -3.633038)'))) / (select extract(epoch from '2026-07-21 19:56:23'::timestamp) - extract(epoch from '2026-07-21 19:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631174 -3.63305)', '2026-07-21 19:56:35', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6312 -3.633038)'), GeomFromEWKT('SRID=4674;POINT (-38.631174 -3.63305)'))) / (select extract(epoch from '2026-07-21 19:56:35'::timestamp) - extract(epoch from '2026-07-21 19:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6312 -3.633038)'), GeomFromEWKT('SRID=4674;POINT (-38.631174 -3.63305)'))) / (select extract(epoch from '2026-07-21 19:56:35'::timestamp) - extract(epoch from '2026-07-21 19:56: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'), 47374, 'SRID=4674;POINT (-38.631175 -3.633049)', '2026-07-21 19:56:47', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631174 -3.63305)'), GeomFromEWKT('SRID=4674;POINT (-38.631175 -3.633049)'))) / (select extract(epoch from '2026-07-21 19:56:47'::timestamp) - extract(epoch from '2026-07-21 19:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631174 -3.63305)'), GeomFromEWKT('SRID=4674;POINT (-38.631175 -3.633049)'))) / (select extract(epoch from '2026-07-21 19:56:47'::timestamp) - extract(epoch from '2026-07-21 19:56: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'), 47374, 'SRID=4674;POINT (-38.631149 -3.633072)', '2026-07-21 19:57:20', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631175 -3.633049)'), GeomFromEWKT('SRID=4674;POINT (-38.631149 -3.633072)'))) / (select extract(epoch from '2026-07-21 19:57:20'::timestamp) - extract(epoch from '2026-07-21 19:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631175 -3.633049)'), GeomFromEWKT('SRID=4674;POINT (-38.631149 -3.633072)'))) / (select extract(epoch from '2026-07-21 19:57:20'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.631224 -3.633057)', '2026-07-21 19:58:16', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631149 -3.633072)'), GeomFromEWKT('SRID=4674;POINT (-38.631224 -3.633057)'))) / (select extract(epoch from '2026-07-21 19:58:16'::timestamp) - extract(epoch from '2026-07-21 19:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631149 -3.633072)'), GeomFromEWKT('SRID=4674;POINT (-38.631224 -3.633057)'))) / (select extract(epoch from '2026-07-21 19:58:16'::timestamp) - extract(epoch from '2026-07-21 19:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631291 -3.633025)', '2026-07-21 19:58:26', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631224 -3.633057)'), GeomFromEWKT('SRID=4674;POINT (-38.631291 -3.633025)'))) / (select extract(epoch from '2026-07-21 19:58:26'::timestamp) - extract(epoch from '2026-07-21 19:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631224 -3.633057)'), GeomFromEWKT('SRID=4674;POINT (-38.631291 -3.633025)'))) / (select extract(epoch from '2026-07-21 19:58:26'::timestamp) - extract(epoch from '2026-07-21 19:58: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'), 47374, 'SRID=4674;POINT (-38.631339 -3.633003)', '2026-07-21 19:58:38', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631291 -3.633025)'), GeomFromEWKT('SRID=4674;POINT (-38.631339 -3.633003)'))) / (select extract(epoch from '2026-07-21 19:58:38'::timestamp) - extract(epoch from '2026-07-21 19:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631291 -3.633025)'), GeomFromEWKT('SRID=4674;POINT (-38.631339 -3.633003)'))) / (select extract(epoch from '2026-07-21 19:58:38'::timestamp) - extract(epoch from '2026-07-21 19:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631357 -3.632987)', '2026-07-21 19:58:49', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631339 -3.633003)'), GeomFromEWKT('SRID=4674;POINT (-38.631357 -3.632987)'))) / (select extract(epoch from '2026-07-21 19:58:49'::timestamp) - extract(epoch from '2026-07-21 19:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631339 -3.633003)'), GeomFromEWKT('SRID=4674;POINT (-38.631357 -3.632987)'))) / (select extract(epoch from '2026-07-21 19:58:49'::timestamp) - extract(epoch from '2026-07-21 19:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631417 -3.632979)', '2026-07-21 19:58:56', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631357 -3.632987)'), GeomFromEWKT('SRID=4674;POINT (-38.631417 -3.632979)'))) / (select extract(epoch from '2026-07-21 19:58:56'::timestamp) - extract(epoch from '2026-07-21 19:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631357 -3.632987)'), GeomFromEWKT('SRID=4674;POINT (-38.631417 -3.632979)'))) / (select extract(epoch from '2026-07-21 19:58:56'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.631485 -3.632978)', '2026-07-21 19:59:07', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631417 -3.632979)'), GeomFromEWKT('SRID=4674;POINT (-38.631485 -3.632978)'))) / (select extract(epoch from '2026-07-21 19:59:07'::timestamp) - extract(epoch from '2026-07-21 19:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631417 -3.632979)'), GeomFromEWKT('SRID=4674;POINT (-38.631485 -3.632978)'))) / (select extract(epoch from '2026-07-21 19:59:07'::timestamp) - extract(epoch from '2026-07-21 19:58:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631539 -3.632975)', '2026-07-21 19:59:20', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631485 -3.632978)'), GeomFromEWKT('SRID=4674;POINT (-38.631539 -3.632975)'))) / (select extract(epoch from '2026-07-21 19:59:20'::timestamp) - extract(epoch from '2026-07-21 19:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631485 -3.632978)'), GeomFromEWKT('SRID=4674;POINT (-38.631539 -3.632975)'))) / (select extract(epoch from '2026-07-21 19:59:20'::timestamp) - extract(epoch from '2026-07-21 19:59:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631618 -3.632963)', '2026-07-21 19:59:34', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631539 -3.632975)'), GeomFromEWKT('SRID=4674;POINT (-38.631618 -3.632963)'))) / (select extract(epoch from '2026-07-21 19:59:34'::timestamp) - extract(epoch from '2026-07-21 19:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631539 -3.632975)'), GeomFromEWKT('SRID=4674;POINT (-38.631618 -3.632963)'))) / (select extract(epoch from '2026-07-21 19:59:34'::timestamp) - extract(epoch from '2026-07-21 19: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'), 47374, 'SRID=4674;POINT (-38.631658 -3.632968)', '2026-07-21 19:59:40', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631618 -3.632963)'), GeomFromEWKT('SRID=4674;POINT (-38.631658 -3.632968)'))) / (select extract(epoch from '2026-07-21 19:59:40'::timestamp) - extract(epoch from '2026-07-21 19:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631618 -3.632963)'), GeomFromEWKT('SRID=4674;POINT (-38.631658 -3.632968)'))) / (select extract(epoch from '2026-07-21 19:59:40'::timestamp) - extract(epoch from '2026-07-21 19:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631674 -3.632938)', '2026-07-21 19:59:48', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631658 -3.632968)'), GeomFromEWKT('SRID=4674;POINT (-38.631674 -3.632938)'))) / (select extract(epoch from '2026-07-21 19:59:48'::timestamp) - extract(epoch from '2026-07-21 19:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631658 -3.632968)'), GeomFromEWKT('SRID=4674;POINT (-38.631674 -3.632938)'))) / (select extract(epoch from '2026-07-21 19:59:48'::timestamp) - extract(epoch from '2026-07-21 19:59: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'), 47374, 'SRID=4674;POINT (-38.63168 -3.632923)', '2026-07-21 19:59:54', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631674 -3.632938)'), GeomFromEWKT('SRID=4674;POINT (-38.63168 -3.632923)'))) / (select extract(epoch from '2026-07-21 19:59:54'::timestamp) - extract(epoch from '2026-07-21 19:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631674 -3.632938)'), GeomFromEWKT('SRID=4674;POINT (-38.63168 -3.632923)'))) / (select extract(epoch from '2026-07-21 19:59:54'::timestamp) - extract(epoch from '2026-07-21 19:59: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'), 47374, 'SRID=4674;POINT (-38.631718 -3.632931)', '2026-07-21 20:00:00', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63168 -3.632923)'), GeomFromEWKT('SRID=4674;POINT (-38.631718 -3.632931)'))) / (select extract(epoch from '2026-07-21 20:00:00'::timestamp) - extract(epoch from '2026-07-21 19:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63168 -3.632923)'), GeomFromEWKT('SRID=4674;POINT (-38.631718 -3.632931)'))) / (select extract(epoch from '2026-07-21 20:00:00'::timestamp) - extract(epoch from '2026-07-21 19:59: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'), 47374, 'SRID=4674;POINT (-38.631757 -3.63293)', '2026-07-21 20:00:06', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631718 -3.632931)'), GeomFromEWKT('SRID=4674;POINT (-38.631757 -3.63293)'))) / (select extract(epoch from '2026-07-21 20:00:06'::timestamp) - extract(epoch from '2026-07-21 20:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631718 -3.632931)'), GeomFromEWKT('SRID=4674;POINT (-38.631757 -3.63293)'))) / (select extract(epoch from '2026-07-21 20:00:06'::timestamp) - extract(epoch from '2026-07-21 20:00: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'), 47374, 'SRID=4674;POINT (-38.63179 -3.632926)', '2026-07-21 20:00:12', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631757 -3.63293)'), GeomFromEWKT('SRID=4674;POINT (-38.63179 -3.632926)'))) / (select extract(epoch from '2026-07-21 20:00:12'::timestamp) - extract(epoch from '2026-07-21 20:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631757 -3.63293)'), GeomFromEWKT('SRID=4674;POINT (-38.63179 -3.632926)'))) / (select extract(epoch from '2026-07-21 20:00:12'::timestamp) - extract(epoch from '2026-07-21 20:00: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'), 47374, 'SRID=4674;POINT (-38.631798 -3.632924)', '2026-07-21 20:00:13', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63179 -3.632926)'), GeomFromEWKT('SRID=4674;POINT (-38.631798 -3.632924)'))) / (select extract(epoch from '2026-07-21 20:00:13'::timestamp) - extract(epoch from '2026-07-21 20:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63179 -3.632926)'), GeomFromEWKT('SRID=4674;POINT (-38.631798 -3.632924)'))) / (select extract(epoch from '2026-07-21 20:00:13'::timestamp) - extract(epoch from '2026-07-21 20:00: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'), 47374, 'SRID=4674;POINT (-38.631814 -3.63292)', '2026-07-21 20:00:15', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631798 -3.632924)'), GeomFromEWKT('SRID=4674;POINT (-38.631814 -3.63292)'))) / (select extract(epoch from '2026-07-21 20:00:15'::timestamp) - extract(epoch from '2026-07-21 20:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631798 -3.632924)'), GeomFromEWKT('SRID=4674;POINT (-38.631814 -3.63292)'))) / (select extract(epoch from '2026-07-21 20:00:15'::timestamp) - extract(epoch from '2026-07-21 20:00:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
