 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.0094 -3.372157)', '2026-08-10 16:46:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00944 -3.372288)'), GeomFromEWKT('SRID=4674;POINT (-39.0094 -3.372157)'))) / (select extract(epoch from '2026-08-10 16:46:04'::timestamp) - extract(epoch from '2026-08-10 16:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00944 -3.372288)'), GeomFromEWKT('SRID=4674;POINT (-39.0094 -3.372157)'))) / (select extract(epoch from '2026-08-10 16:46:04'::timestamp) - extract(epoch from '2026-08-10 16:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009379 -3.37207)', '2026-08-10 16:46:09', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0094 -3.372157)'), GeomFromEWKT('SRID=4674;POINT (-39.009379 -3.37207)'))) / (select extract(epoch from '2026-08-10 16:46:09'::timestamp) - extract(epoch from '2026-08-10 16:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0094 -3.372157)'), GeomFromEWKT('SRID=4674;POINT (-39.009379 -3.37207)'))) / (select extract(epoch from '2026-08-10 16:46:09'::timestamp) - extract(epoch from '2026-08-10 16:46: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'), 48138, 'SRID=4674;POINT (-39.00936 -3.372021)', '2026-08-10 16:46:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009379 -3.37207)'), GeomFromEWKT('SRID=4674;POINT (-39.00936 -3.372021)'))) / (select extract(epoch from '2026-08-10 16:46:12'::timestamp) - extract(epoch from '2026-08-10 16:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009379 -3.37207)'), GeomFromEWKT('SRID=4674;POINT (-39.00936 -3.372021)'))) / (select extract(epoch from '2026-08-10 16:46:12'::timestamp) - extract(epoch from '2026-08-10 16:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00935 -3.372005)', '2026-08-10 16:46:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00936 -3.372021)'), GeomFromEWKT('SRID=4674;POINT (-39.00935 -3.372005)'))) / (select extract(epoch from '2026-08-10 16:46:13'::timestamp) - extract(epoch from '2026-08-10 16:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00936 -3.372021)'), GeomFromEWKT('SRID=4674;POINT (-39.00935 -3.372005)'))) / (select extract(epoch from '2026-08-10 16:46:13'::timestamp) - extract(epoch from '2026-08-10 16:46: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'), 48138, 'SRID=4674;POINT (-39.009302 -3.371899)', '2026-08-10 16:46:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00935 -3.372005)'), GeomFromEWKT('SRID=4674;POINT (-39.009302 -3.371899)'))) / (select extract(epoch from '2026-08-10 16:46:19'::timestamp) - extract(epoch from '2026-08-10 16:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00935 -3.372005)'), GeomFromEWKT('SRID=4674;POINT (-39.009302 -3.371899)'))) / (select extract(epoch from '2026-08-10 16:46:19'::timestamp) - extract(epoch from '2026-08-10 16:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009273 -3.371823)', '2026-08-10 16:46:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009302 -3.371899)'), GeomFromEWKT('SRID=4674;POINT (-39.009273 -3.371823)'))) / (select extract(epoch from '2026-08-10 16:46:24'::timestamp) - extract(epoch from '2026-08-10 16:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009302 -3.371899)'), GeomFromEWKT('SRID=4674;POINT (-39.009273 -3.371823)'))) / (select extract(epoch from '2026-08-10 16:46:24'::timestamp) - extract(epoch from '2026-08-10 16:46: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'), 48138, 'SRID=4674;POINT (-39.009259 -3.371759)', '2026-08-10 16:46:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009273 -3.371823)'), GeomFromEWKT('SRID=4674;POINT (-39.009259 -3.371759)'))) / (select extract(epoch from '2026-08-10 16:46:28'::timestamp) - extract(epoch from '2026-08-10 16:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009273 -3.371823)'), GeomFromEWKT('SRID=4674;POINT (-39.009259 -3.371759)'))) / (select extract(epoch from '2026-08-10 16:46:28'::timestamp) - extract(epoch from '2026-08-10 16:46: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'), 48138, 'SRID=4674;POINT (-39.009246 -3.371724)', '2026-08-10 16:46:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009259 -3.371759)'), GeomFromEWKT('SRID=4674;POINT (-39.009246 -3.371724)'))) / (select extract(epoch from '2026-08-10 16:46:30'::timestamp) - extract(epoch from '2026-08-10 16:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009259 -3.371759)'), GeomFromEWKT('SRID=4674;POINT (-39.009246 -3.371724)'))) / (select extract(epoch from '2026-08-10 16:46:30'::timestamp) - extract(epoch from '2026-08-10 16:46: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'), 48138, 'SRID=4674;POINT (-39.009242 -3.371695)', '2026-08-10 16:46:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009246 -3.371724)'), GeomFromEWKT('SRID=4674;POINT (-39.009242 -3.371695)'))) / (select extract(epoch from '2026-08-10 16:46:32'::timestamp) - extract(epoch from '2026-08-10 16:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009246 -3.371724)'), GeomFromEWKT('SRID=4674;POINT (-39.009242 -3.371695)'))) / (select extract(epoch from '2026-08-10 16:46:32'::timestamp) - extract(epoch from '2026-08-10 16:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009221 -3.371613)', '2026-08-10 16:46:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009242 -3.371695)'), GeomFromEWKT('SRID=4674;POINT (-39.009221 -3.371613)'))) / (select extract(epoch from '2026-08-10 16:46:37'::timestamp) - extract(epoch from '2026-08-10 16:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009242 -3.371695)'), GeomFromEWKT('SRID=4674;POINT (-39.009221 -3.371613)'))) / (select extract(epoch from '2026-08-10 16:46:37'::timestamp) - extract(epoch from '2026-08-10 16:46:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009196 -3.371525)', '2026-08-10 16:46:42', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009221 -3.371613)'), GeomFromEWKT('SRID=4674;POINT (-39.009196 -3.371525)'))) / (select extract(epoch from '2026-08-10 16:46:42'::timestamp) - extract(epoch from '2026-08-10 16:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009221 -3.371613)'), GeomFromEWKT('SRID=4674;POINT (-39.009196 -3.371525)'))) / (select extract(epoch from '2026-08-10 16:46:42'::timestamp) - extract(epoch from '2026-08-10 16:46: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'), 48138, 'SRID=4674;POINT (-39.009161 -3.371431)', '2026-08-10 16:46:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009196 -3.371525)'), GeomFromEWKT('SRID=4674;POINT (-39.009161 -3.371431)'))) / (select extract(epoch from '2026-08-10 16:46:47'::timestamp) - extract(epoch from '2026-08-10 16:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009196 -3.371525)'), GeomFromEWKT('SRID=4674;POINT (-39.009161 -3.371431)'))) / (select extract(epoch from '2026-08-10 16:46:47'::timestamp) - extract(epoch from '2026-08-10 16:46: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'), 48138, 'SRID=4674;POINT (-39.009141 -3.371356)', '2026-08-10 16:46:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009161 -3.371431)'), GeomFromEWKT('SRID=4674;POINT (-39.009141 -3.371356)'))) / (select extract(epoch from '2026-08-10 16:46:51'::timestamp) - extract(epoch from '2026-08-10 16:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009161 -3.371431)'), GeomFromEWKT('SRID=4674;POINT (-39.009141 -3.371356)'))) / (select extract(epoch from '2026-08-10 16:46:51'::timestamp) - extract(epoch from '2026-08-10 16:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.0091 -3.371248)', '2026-08-10 16:46:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009141 -3.371356)'), GeomFromEWKT('SRID=4674;POINT (-39.0091 -3.371248)'))) / (select extract(epoch from '2026-08-10 16:46:57'::timestamp) - extract(epoch from '2026-08-10 16:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009141 -3.371356)'), GeomFromEWKT('SRID=4674;POINT (-39.0091 -3.371248)'))) / (select extract(epoch from '2026-08-10 16:46:57'::timestamp) - extract(epoch from '2026-08-10 16:46: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'), 48138, 'SRID=4674;POINT (-39.009095 -3.371214)', '2026-08-10 16:46:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0091 -3.371248)'), GeomFromEWKT('SRID=4674;POINT (-39.009095 -3.371214)'))) / (select extract(epoch from '2026-08-10 16:46:59'::timestamp) - extract(epoch from '2026-08-10 16:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0091 -3.371248)'), GeomFromEWKT('SRID=4674;POINT (-39.009095 -3.371214)'))) / (select extract(epoch from '2026-08-10 16:46:59'::timestamp) - extract(epoch from '2026-08-10 16:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00908 -3.371161)', '2026-08-10 16:47:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009095 -3.371214)'), GeomFromEWKT('SRID=4674;POINT (-39.00908 -3.371161)'))) / (select extract(epoch from '2026-08-10 16:47:02'::timestamp) - extract(epoch from '2026-08-10 16:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009095 -3.371214)'), GeomFromEWKT('SRID=4674;POINT (-39.00908 -3.371161)'))) / (select extract(epoch from '2026-08-10 16:47:02'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.009063 -3.37108)', '2026-08-10 16:47:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00908 -3.371161)'), GeomFromEWKT('SRID=4674;POINT (-39.009063 -3.37108)'))) / (select extract(epoch from '2026-08-10 16:47:06'::timestamp) - extract(epoch from '2026-08-10 16:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00908 -3.371161)'), GeomFromEWKT('SRID=4674;POINT (-39.009063 -3.37108)'))) / (select extract(epoch from '2026-08-10 16:47:06'::timestamp) - extract(epoch from '2026-08-10 16:47: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'), 48138, 'SRID=4674;POINT (-39.009053 -3.371061)', '2026-08-10 16:47:07', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009063 -3.37108)'), GeomFromEWKT('SRID=4674;POINT (-39.009053 -3.371061)'))) / (select extract(epoch from '2026-08-10 16:47:07'::timestamp) - extract(epoch from '2026-08-10 16:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009063 -3.37108)'), GeomFromEWKT('SRID=4674;POINT (-39.009053 -3.371061)'))) / (select extract(epoch from '2026-08-10 16:47:07'::timestamp) - extract(epoch from '2026-08-10 16:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009033 -3.370997)', '2026-08-10 16:47:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009053 -3.371061)'), GeomFromEWKT('SRID=4674;POINT (-39.009033 -3.370997)'))) / (select extract(epoch from '2026-08-10 16:47:11'::timestamp) - extract(epoch from '2026-08-10 16:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009053 -3.371061)'), GeomFromEWKT('SRID=4674;POINT (-39.009033 -3.370997)'))) / (select extract(epoch from '2026-08-10 16:47:11'::timestamp) - extract(epoch from '2026-08-10 16:47: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'), 48138, 'SRID=4674;POINT (-39.009001 -3.370932)', '2026-08-10 16:47:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009033 -3.370997)'), GeomFromEWKT('SRID=4674;POINT (-39.009001 -3.370932)'))) / (select extract(epoch from '2026-08-10 16:47:15'::timestamp) - extract(epoch from '2026-08-10 16:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009033 -3.370997)'), GeomFromEWKT('SRID=4674;POINT (-39.009001 -3.370932)'))) / (select extract(epoch from '2026-08-10 16:47:15'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.009003 -3.370914)', '2026-08-10 16:47:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009001 -3.370932)'), GeomFromEWKT('SRID=4674;POINT (-39.009003 -3.370914)'))) / (select extract(epoch from '2026-08-10 16:47:16'::timestamp) - extract(epoch from '2026-08-10 16:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009001 -3.370932)'), GeomFromEWKT('SRID=4674;POINT (-39.009003 -3.370914)'))) / (select extract(epoch from '2026-08-10 16:47:16'::timestamp) - extract(epoch from '2026-08-10 16:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008997 -3.37089)', '2026-08-10 16:47:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009003 -3.370914)'), GeomFromEWKT('SRID=4674;POINT (-39.008997 -3.37089)'))) / (select extract(epoch from '2026-08-10 16:47:17'::timestamp) - extract(epoch from '2026-08-10 16:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009003 -3.370914)'), GeomFromEWKT('SRID=4674;POINT (-39.008997 -3.37089)'))) / (select extract(epoch from '2026-08-10 16:47:17'::timestamp) - extract(epoch from '2026-08-10 16:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008979 -3.370846)', '2026-08-10 16:47:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008997 -3.37089)'), GeomFromEWKT('SRID=4674;POINT (-39.008979 -3.370846)'))) / (select extract(epoch from '2026-08-10 16:47:19'::timestamp) - extract(epoch from '2026-08-10 16:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008997 -3.37089)'), GeomFromEWKT('SRID=4674;POINT (-39.008979 -3.370846)'))) / (select extract(epoch from '2026-08-10 16:47:19'::timestamp) - extract(epoch from '2026-08-10 16:47: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'), 48138, 'SRID=4674;POINT (-39.008948 -3.370763)', '2026-08-10 16:47:24', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008979 -3.370846)'), GeomFromEWKT('SRID=4674;POINT (-39.008948 -3.370763)'))) / (select extract(epoch from '2026-08-10 16:47:24'::timestamp) - extract(epoch from '2026-08-10 16:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008979 -3.370846)'), GeomFromEWKT('SRID=4674;POINT (-39.008948 -3.370763)'))) / (select extract(epoch from '2026-08-10 16:47:24'::timestamp) - extract(epoch from '2026-08-10 16:47: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'), 48138, 'SRID=4674;POINT (-39.008899 -3.37068)', '2026-08-10 16:47:29', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008948 -3.370763)'), GeomFromEWKT('SRID=4674;POINT (-39.008899 -3.37068)'))) / (select extract(epoch from '2026-08-10 16:47:29'::timestamp) - extract(epoch from '2026-08-10 16:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008948 -3.370763)'), GeomFromEWKT('SRID=4674;POINT (-39.008899 -3.37068)'))) / (select extract(epoch from '2026-08-10 16:47:29'::timestamp) - extract(epoch from '2026-08-10 16:47: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'), 48138, 'SRID=4674;POINT (-39.008843 -3.370586)', '2026-08-10 16:47:35', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008899 -3.37068)'), GeomFromEWKT('SRID=4674;POINT (-39.008843 -3.370586)'))) / (select extract(epoch from '2026-08-10 16:47:35'::timestamp) - extract(epoch from '2026-08-10 16:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008899 -3.37068)'), GeomFromEWKT('SRID=4674;POINT (-39.008843 -3.370586)'))) / (select extract(epoch from '2026-08-10 16:47:35'::timestamp) - extract(epoch from '2026-08-10 16:47:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008801 -3.370485)', '2026-08-10 16:47:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008843 -3.370586)'), GeomFromEWKT('SRID=4674;POINT (-39.008801 -3.370485)'))) / (select extract(epoch from '2026-08-10 16:47:41'::timestamp) - extract(epoch from '2026-08-10 16:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008843 -3.370586)'), GeomFromEWKT('SRID=4674;POINT (-39.008801 -3.370485)'))) / (select extract(epoch from '2026-08-10 16:47:41'::timestamp) - extract(epoch from '2026-08-10 16:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008761 -3.370375)', '2026-08-10 16:47:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008801 -3.370485)'), GeomFromEWKT('SRID=4674;POINT (-39.008761 -3.370375)'))) / (select extract(epoch from '2026-08-10 16:47:47'::timestamp) - extract(epoch from '2026-08-10 16:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008801 -3.370485)'), GeomFromEWKT('SRID=4674;POINT (-39.008761 -3.370375)'))) / (select extract(epoch from '2026-08-10 16:47:47'::timestamp) - extract(epoch from '2026-08-10 16:47: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'), 48138, 'SRID=4674;POINT (-39.008738 -3.37032)', '2026-08-10 16:47:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008761 -3.370375)'), GeomFromEWKT('SRID=4674;POINT (-39.008738 -3.37032)'))) / (select extract(epoch from '2026-08-10 16:47:50'::timestamp) - extract(epoch from '2026-08-10 16:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008761 -3.370375)'), GeomFromEWKT('SRID=4674;POINT (-39.008738 -3.37032)'))) / (select extract(epoch from '2026-08-10 16:47:50'::timestamp) - extract(epoch from '2026-08-10 16:47: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'), 48138, 'SRID=4674;POINT (-39.008734 -3.370309)', '2026-08-10 16:47:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008738 -3.37032)'), GeomFromEWKT('SRID=4674;POINT (-39.008734 -3.370309)'))) / (select extract(epoch from '2026-08-10 16:47:51'::timestamp) - extract(epoch from '2026-08-10 16:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008738 -3.37032)'), GeomFromEWKT('SRID=4674;POINT (-39.008734 -3.370309)'))) / (select extract(epoch from '2026-08-10 16:47:51'::timestamp) - extract(epoch from '2026-08-10 16:47:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00872 -3.370282)', '2026-08-10 16:47:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008734 -3.370309)'), GeomFromEWKT('SRID=4674;POINT (-39.00872 -3.370282)'))) / (select extract(epoch from '2026-08-10 16:47:53'::timestamp) - extract(epoch from '2026-08-10 16:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008734 -3.370309)'), GeomFromEWKT('SRID=4674;POINT (-39.00872 -3.370282)'))) / (select extract(epoch from '2026-08-10 16:47:53'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.008704 -3.370235)', '2026-08-10 16:47:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00872 -3.370282)'), GeomFromEWKT('SRID=4674;POINT (-39.008704 -3.370235)'))) / (select extract(epoch from '2026-08-10 16:47:56'::timestamp) - extract(epoch from '2026-08-10 16:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00872 -3.370282)'), GeomFromEWKT('SRID=4674;POINT (-39.008704 -3.370235)'))) / (select extract(epoch from '2026-08-10 16:47:56'::timestamp) - extract(epoch from '2026-08-10 16:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008659 -3.370168)', '2026-08-10 16:48:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008704 -3.370235)'), GeomFromEWKT('SRID=4674;POINT (-39.008659 -3.370168)'))) / (select extract(epoch from '2026-08-10 16:48:01'::timestamp) - extract(epoch from '2026-08-10 16:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008704 -3.370235)'), GeomFromEWKT('SRID=4674;POINT (-39.008659 -3.370168)'))) / (select extract(epoch from '2026-08-10 16:48:01'::timestamp) - extract(epoch from '2026-08-10 16:47: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'), 48138, 'SRID=4674;POINT (-39.008606 -3.370092)', '2026-08-10 16:48:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008659 -3.370168)'), GeomFromEWKT('SRID=4674;POINT (-39.008606 -3.370092)'))) / (select extract(epoch from '2026-08-10 16:48:06'::timestamp) - extract(epoch from '2026-08-10 16:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008659 -3.370168)'), GeomFromEWKT('SRID=4674;POINT (-39.008606 -3.370092)'))) / (select extract(epoch from '2026-08-10 16:48:06'::timestamp) - extract(epoch from '2026-08-10 16:48: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'), 48138, 'SRID=4674;POINT (-39.008541 -3.369985)', '2026-08-10 16:48:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008606 -3.370092)'), GeomFromEWKT('SRID=4674;POINT (-39.008541 -3.369985)'))) / (select extract(epoch from '2026-08-10 16:48:13'::timestamp) - extract(epoch from '2026-08-10 16:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008606 -3.370092)'), GeomFromEWKT('SRID=4674;POINT (-39.008541 -3.369985)'))) / (select extract(epoch from '2026-08-10 16:48:13'::timestamp) - extract(epoch from '2026-08-10 16:48: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'), 48138, 'SRID=4674;POINT (-39.00846 -3.369871)', '2026-08-10 16:48:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008541 -3.369985)'), GeomFromEWKT('SRID=4674;POINT (-39.00846 -3.369871)'))) / (select extract(epoch from '2026-08-10 16:48:21'::timestamp) - extract(epoch from '2026-08-10 16:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008541 -3.369985)'), GeomFromEWKT('SRID=4674;POINT (-39.00846 -3.369871)'))) / (select extract(epoch from '2026-08-10 16:48:21'::timestamp) - extract(epoch from '2026-08-10 16:48: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'), 48138, 'SRID=4674;POINT (-39.008419 -3.369811)', '2026-08-10 16:48:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00846 -3.369871)'), GeomFromEWKT('SRID=4674;POINT (-39.008419 -3.369811)'))) / (select extract(epoch from '2026-08-10 16:48:25'::timestamp) - extract(epoch from '2026-08-10 16:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00846 -3.369871)'), GeomFromEWKT('SRID=4674;POINT (-39.008419 -3.369811)'))) / (select extract(epoch from '2026-08-10 16:48:25'::timestamp) - extract(epoch from '2026-08-10 16:48:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008408 -3.36979)', '2026-08-10 16:48:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008419 -3.369811)'), GeomFromEWKT('SRID=4674;POINT (-39.008408 -3.36979)'))) / (select extract(epoch from '2026-08-10 16:48:26'::timestamp) - extract(epoch from '2026-08-10 16:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008419 -3.369811)'), GeomFromEWKT('SRID=4674;POINT (-39.008408 -3.36979)'))) / (select extract(epoch from '2026-08-10 16:48:26'::timestamp) - extract(epoch from '2026-08-10 16:48: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'), 48138, 'SRID=4674;POINT (-39.008359 -3.369709)', '2026-08-10 16:48:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008408 -3.36979)'), GeomFromEWKT('SRID=4674;POINT (-39.008359 -3.369709)'))) / (select extract(epoch from '2026-08-10 16:48:31'::timestamp) - extract(epoch from '2026-08-10 16:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008408 -3.36979)'), GeomFromEWKT('SRID=4674;POINT (-39.008359 -3.369709)'))) / (select extract(epoch from '2026-08-10 16:48:31'::timestamp) - extract(epoch from '2026-08-10 16:48: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'), 48138, 'SRID=4674;POINT (-39.008323 -3.369638)', '2026-08-10 16:48:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008359 -3.369709)'), GeomFromEWKT('SRID=4674;POINT (-39.008323 -3.369638)'))) / (select extract(epoch from '2026-08-10 16:48:35'::timestamp) - extract(epoch from '2026-08-10 16:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008359 -3.369709)'), GeomFromEWKT('SRID=4674;POINT (-39.008323 -3.369638)'))) / (select extract(epoch from '2026-08-10 16:48:35'::timestamp) - extract(epoch from '2026-08-10 16:48:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008276 -3.369527)', '2026-08-10 16:48:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008323 -3.369638)'), GeomFromEWKT('SRID=4674;POINT (-39.008276 -3.369527)'))) / (select extract(epoch from '2026-08-10 16:48:41'::timestamp) - extract(epoch from '2026-08-10 16:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008323 -3.369638)'), GeomFromEWKT('SRID=4674;POINT (-39.008276 -3.369527)'))) / (select extract(epoch from '2026-08-10 16:48:41'::timestamp) - extract(epoch from '2026-08-10 16:48: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'), 48138, 'SRID=4674;POINT (-39.008252 -3.369471)', '2026-08-10 16:48:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008276 -3.369527)'), GeomFromEWKT('SRID=4674;POINT (-39.008252 -3.369471)'))) / (select extract(epoch from '2026-08-10 16:48:44'::timestamp) - extract(epoch from '2026-08-10 16:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008276 -3.369527)'), GeomFromEWKT('SRID=4674;POINT (-39.008252 -3.369471)'))) / (select extract(epoch from '2026-08-10 16:48:44'::timestamp) - extract(epoch from '2026-08-10 16:48:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008245 -3.369437)', '2026-08-10 16:48:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008252 -3.369471)'), GeomFromEWKT('SRID=4674;POINT (-39.008245 -3.369437)'))) / (select extract(epoch from '2026-08-10 16:48:46'::timestamp) - extract(epoch from '2026-08-10 16:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008252 -3.369471)'), GeomFromEWKT('SRID=4674;POINT (-39.008245 -3.369437)'))) / (select extract(epoch from '2026-08-10 16:48:46'::timestamp) - extract(epoch from '2026-08-10 16:48: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'), 48138, 'SRID=4674;POINT (-39.008224 -3.369405)', '2026-08-10 16:48:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008245 -3.369437)'), GeomFromEWKT('SRID=4674;POINT (-39.008224 -3.369405)'))) / (select extract(epoch from '2026-08-10 16:48:48'::timestamp) - extract(epoch from '2026-08-10 16:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008245 -3.369437)'), GeomFromEWKT('SRID=4674;POINT (-39.008224 -3.369405)'))) / (select extract(epoch from '2026-08-10 16:48:48'::timestamp) - extract(epoch from '2026-08-10 16:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008209 -3.369352)', '2026-08-10 16:48:51', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008224 -3.369405)'), GeomFromEWKT('SRID=4674;POINT (-39.008209 -3.369352)'))) / (select extract(epoch from '2026-08-10 16:48:51'::timestamp) - extract(epoch from '2026-08-10 16:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008224 -3.369405)'), GeomFromEWKT('SRID=4674;POINT (-39.008209 -3.369352)'))) / (select extract(epoch from '2026-08-10 16:48:51'::timestamp) - extract(epoch from '2026-08-10 16:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00817 -3.369251)', '2026-08-10 16:48:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008209 -3.369352)'), GeomFromEWKT('SRID=4674;POINT (-39.00817 -3.369251)'))) / (select extract(epoch from '2026-08-10 16:48:56'::timestamp) - extract(epoch from '2026-08-10 16:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008209 -3.369352)'), GeomFromEWKT('SRID=4674;POINT (-39.00817 -3.369251)'))) / (select extract(epoch from '2026-08-10 16:48:56'::timestamp) - extract(epoch from '2026-08-10 16:48: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'), 48138, 'SRID=4674;POINT (-39.008128 -3.369165)', '2026-08-10 16:49:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00817 -3.369251)'), GeomFromEWKT('SRID=4674;POINT (-39.008128 -3.369165)'))) / (select extract(epoch from '2026-08-10 16:49:01'::timestamp) - extract(epoch from '2026-08-10 16:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00817 -3.369251)'), GeomFromEWKT('SRID=4674;POINT (-39.008128 -3.369165)'))) / (select extract(epoch from '2026-08-10 16:49:01'::timestamp) - extract(epoch from '2026-08-10 16:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008112 -3.369124)', '2026-08-10 16:49:04', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008128 -3.369165)'), GeomFromEWKT('SRID=4674;POINT (-39.008112 -3.369124)'))) / (select extract(epoch from '2026-08-10 16:49:04'::timestamp) - extract(epoch from '2026-08-10 16:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008128 -3.369165)'), GeomFromEWKT('SRID=4674;POINT (-39.008112 -3.369124)'))) / (select extract(epoch from '2026-08-10 16:49:04'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.008105 -3.369107)', '2026-08-10 16:49:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008112 -3.369124)'), GeomFromEWKT('SRID=4674;POINT (-39.008105 -3.369107)'))) / (select extract(epoch from '2026-08-10 16:49:05'::timestamp) - extract(epoch from '2026-08-10 16:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008112 -3.369124)'), GeomFromEWKT('SRID=4674;POINT (-39.008105 -3.369107)'))) / (select extract(epoch from '2026-08-10 16:49:05'::timestamp) - extract(epoch from '2026-08-10 16:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008059 -3.369002)', '2026-08-10 16:49:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008105 -3.369107)'), GeomFromEWKT('SRID=4674;POINT (-39.008059 -3.369002)'))) / (select extract(epoch from '2026-08-10 16:49:11'::timestamp) - extract(epoch from '2026-08-10 16:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008105 -3.369107)'), GeomFromEWKT('SRID=4674;POINT (-39.008059 -3.369002)'))) / (select extract(epoch from '2026-08-10 16:49:11'::timestamp) - extract(epoch from '2026-08-10 16:49: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'), 48138, 'SRID=4674;POINT (-39.008014 -3.368888)', '2026-08-10 16:49:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008059 -3.369002)'), GeomFromEWKT('SRID=4674;POINT (-39.008014 -3.368888)'))) / (select extract(epoch from '2026-08-10 16:49:17'::timestamp) - extract(epoch from '2026-08-10 16:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008059 -3.369002)'), GeomFromEWKT('SRID=4674;POINT (-39.008014 -3.368888)'))) / (select extract(epoch from '2026-08-10 16:49:17'::timestamp) - extract(epoch from '2026-08-10 16:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007959 -3.368758)', '2026-08-10 16:49:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008014 -3.368888)'), GeomFromEWKT('SRID=4674;POINT (-39.007959 -3.368758)'))) / (select extract(epoch from '2026-08-10 16:49:24'::timestamp) - extract(epoch from '2026-08-10 16:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008014 -3.368888)'), GeomFromEWKT('SRID=4674;POINT (-39.007959 -3.368758)'))) / (select extract(epoch from '2026-08-10 16:49:24'::timestamp) - extract(epoch from '2026-08-10 16:49: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'), 48138, 'SRID=4674;POINT (-39.007924 -3.368655)', '2026-08-10 16:49:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007959 -3.368758)'), GeomFromEWKT('SRID=4674;POINT (-39.007924 -3.368655)'))) / (select extract(epoch from '2026-08-10 16:49:30'::timestamp) - extract(epoch from '2026-08-10 16:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007959 -3.368758)'), GeomFromEWKT('SRID=4674;POINT (-39.007924 -3.368655)'))) / (select extract(epoch from '2026-08-10 16:49:30'::timestamp) - extract(epoch from '2026-08-10 16:49: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'), 48138, 'SRID=4674;POINT (-39.007896 -3.368581)', '2026-08-10 16:49:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007924 -3.368655)'), GeomFromEWKT('SRID=4674;POINT (-39.007896 -3.368581)'))) / (select extract(epoch from '2026-08-10 16:49:34'::timestamp) - extract(epoch from '2026-08-10 16:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007924 -3.368655)'), GeomFromEWKT('SRID=4674;POINT (-39.007896 -3.368581)'))) / (select extract(epoch from '2026-08-10 16:49:34'::timestamp) - extract(epoch from '2026-08-10 16:49: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'), 48138, 'SRID=4674;POINT (-39.007857 -3.368475)', '2026-08-10 16:49:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007896 -3.368581)'), GeomFromEWKT('SRID=4674;POINT (-39.007857 -3.368475)'))) / (select extract(epoch from '2026-08-10 16:49:40'::timestamp) - extract(epoch from '2026-08-10 16:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007896 -3.368581)'), GeomFromEWKT('SRID=4674;POINT (-39.007857 -3.368475)'))) / (select extract(epoch from '2026-08-10 16:49:40'::timestamp) - extract(epoch from '2026-08-10 16:49: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'), 48138, 'SRID=4674;POINT (-39.007833 -3.368403)', '2026-08-10 16:49:44', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007857 -3.368475)'), GeomFromEWKT('SRID=4674;POINT (-39.007833 -3.368403)'))) / (select extract(epoch from '2026-08-10 16:49:44'::timestamp) - extract(epoch from '2026-08-10 16:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007857 -3.368475)'), GeomFromEWKT('SRID=4674;POINT (-39.007833 -3.368403)'))) / (select extract(epoch from '2026-08-10 16:49:44'::timestamp) - extract(epoch from '2026-08-10 16:49:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007828 -3.368384)', '2026-08-10 16:49:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007833 -3.368403)'), GeomFromEWKT('SRID=4674;POINT (-39.007828 -3.368384)'))) / (select extract(epoch from '2026-08-10 16:49:45'::timestamp) - extract(epoch from '2026-08-10 16:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007833 -3.368403)'), GeomFromEWKT('SRID=4674;POINT (-39.007828 -3.368384)'))) / (select extract(epoch from '2026-08-10 16:49:45'::timestamp) - extract(epoch from '2026-08-10 16:49: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'), 48138, 'SRID=4674;POINT (-39.007766 -3.368259)', '2026-08-10 16:49:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007828 -3.368384)'), GeomFromEWKT('SRID=4674;POINT (-39.007766 -3.368259)'))) / (select extract(epoch from '2026-08-10 16:49:52'::timestamp) - extract(epoch from '2026-08-10 16:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007828 -3.368384)'), GeomFromEWKT('SRID=4674;POINT (-39.007766 -3.368259)'))) / (select extract(epoch from '2026-08-10 16:49:52'::timestamp) - extract(epoch from '2026-08-10 16:49: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'), 48138, 'SRID=4674;POINT (-39.007733 -3.368156)', '2026-08-10 16:49:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007766 -3.368259)'), GeomFromEWKT('SRID=4674;POINT (-39.007733 -3.368156)'))) / (select extract(epoch from '2026-08-10 16:49:58'::timestamp) - extract(epoch from '2026-08-10 16:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007766 -3.368259)'), GeomFromEWKT('SRID=4674;POINT (-39.007733 -3.368156)'))) / (select extract(epoch from '2026-08-10 16:49:58'::timestamp) - extract(epoch from '2026-08-10 16:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007686 -3.368038)', '2026-08-10 16:50:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007733 -3.368156)'), GeomFromEWKT('SRID=4674;POINT (-39.007686 -3.368038)'))) / (select extract(epoch from '2026-08-10 16:50:05'::timestamp) - extract(epoch from '2026-08-10 16:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007733 -3.368156)'), GeomFromEWKT('SRID=4674;POINT (-39.007686 -3.368038)'))) / (select extract(epoch from '2026-08-10 16:50:05'::timestamp) - extract(epoch from '2026-08-10 16:49: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'), 48138, 'SRID=4674;POINT (-39.007669 -3.367989)', '2026-08-10 16:50:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007686 -3.368038)'), GeomFromEWKT('SRID=4674;POINT (-39.007669 -3.367989)'))) / (select extract(epoch from '2026-08-10 16:50:08'::timestamp) - extract(epoch from '2026-08-10 16:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007686 -3.368038)'), GeomFromEWKT('SRID=4674;POINT (-39.007669 -3.367989)'))) / (select extract(epoch from '2026-08-10 16:50:08'::timestamp) - extract(epoch from '2026-08-10 16:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007654 -3.367959)', '2026-08-10 16:50:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007669 -3.367989)'), GeomFromEWKT('SRID=4674;POINT (-39.007654 -3.367959)'))) / (select extract(epoch from '2026-08-10 16:50:10'::timestamp) - extract(epoch from '2026-08-10 16:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007669 -3.367989)'), GeomFromEWKT('SRID=4674;POINT (-39.007654 -3.367959)'))) / (select extract(epoch from '2026-08-10 16:50:10'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.00762 -3.367857)', '2026-08-10 16:50:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007654 -3.367959)'), GeomFromEWKT('SRID=4674;POINT (-39.00762 -3.367857)'))) / (select extract(epoch from '2026-08-10 16:50:16'::timestamp) - extract(epoch from '2026-08-10 16:50:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007654 -3.367959)'), GeomFromEWKT('SRID=4674;POINT (-39.00762 -3.367857)'))) / (select extract(epoch from '2026-08-10 16:50:16'::timestamp) - extract(epoch from '2026-08-10 16:50: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'), 48138, 'SRID=4674;POINT (-39.007593 -3.367772)', '2026-08-10 16:50:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00762 -3.367857)'), GeomFromEWKT('SRID=4674;POINT (-39.007593 -3.367772)'))) / (select extract(epoch from '2026-08-10 16:50:21'::timestamp) - extract(epoch from '2026-08-10 16:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00762 -3.367857)'), GeomFromEWKT('SRID=4674;POINT (-39.007593 -3.367772)'))) / (select extract(epoch from '2026-08-10 16:50:21'::timestamp) - extract(epoch from '2026-08-10 16:50: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'), 48138, 'SRID=4674;POINT (-39.007564 -3.367703)', '2026-08-10 16:50:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007593 -3.367772)'), GeomFromEWKT('SRID=4674;POINT (-39.007564 -3.367703)'))) / (select extract(epoch from '2026-08-10 16:50:25'::timestamp) - extract(epoch from '2026-08-10 16:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007593 -3.367772)'), GeomFromEWKT('SRID=4674;POINT (-39.007564 -3.367703)'))) / (select extract(epoch from '2026-08-10 16:50:25'::timestamp) - extract(epoch from '2026-08-10 16:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00756 -3.367686)', '2026-08-10 16:50:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007564 -3.367703)'), GeomFromEWKT('SRID=4674;POINT (-39.00756 -3.367686)'))) / (select extract(epoch from '2026-08-10 16:50:26'::timestamp) - extract(epoch from '2026-08-10 16:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007564 -3.367703)'), GeomFromEWKT('SRID=4674;POINT (-39.00756 -3.367686)'))) / (select extract(epoch from '2026-08-10 16:50:26'::timestamp) - extract(epoch from '2026-08-10 16:50: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'), 48138, 'SRID=4674;POINT (-39.007534 -3.367647)', '2026-08-10 16:50:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00756 -3.367686)'), GeomFromEWKT('SRID=4674;POINT (-39.007534 -3.367647)'))) / (select extract(epoch from '2026-08-10 16:50:29'::timestamp) - extract(epoch from '2026-08-10 16:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00756 -3.367686)'), GeomFromEWKT('SRID=4674;POINT (-39.007534 -3.367647)'))) / (select extract(epoch from '2026-08-10 16:50:29'::timestamp) - extract(epoch from '2026-08-10 16:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007484 -3.367566)', '2026-08-10 16:50:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007534 -3.367647)'), GeomFromEWKT('SRID=4674;POINT (-39.007484 -3.367566)'))) / (select extract(epoch from '2026-08-10 16:50:35'::timestamp) - extract(epoch from '2026-08-10 16:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007534 -3.367647)'), GeomFromEWKT('SRID=4674;POINT (-39.007484 -3.367566)'))) / (select extract(epoch from '2026-08-10 16:50:35'::timestamp) - extract(epoch from '2026-08-10 16:50: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'), 48138, 'SRID=4674;POINT (-39.007427 -3.367464)', '2026-08-10 16:50:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007484 -3.367566)'), GeomFromEWKT('SRID=4674;POINT (-39.007427 -3.367464)'))) / (select extract(epoch from '2026-08-10 16:50:41'::timestamp) - extract(epoch from '2026-08-10 16:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007484 -3.367566)'), GeomFromEWKT('SRID=4674;POINT (-39.007427 -3.367464)'))) / (select extract(epoch from '2026-08-10 16:50:41'::timestamp) - extract(epoch from '2026-08-10 16:50: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'), 48138, 'SRID=4674;POINT (-39.007379 -3.367369)', '2026-08-10 16:50:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007427 -3.367464)'), GeomFromEWKT('SRID=4674;POINT (-39.007379 -3.367369)'))) / (select extract(epoch from '2026-08-10 16:50:47'::timestamp) - extract(epoch from '2026-08-10 16:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007427 -3.367464)'), GeomFromEWKT('SRID=4674;POINT (-39.007379 -3.367369)'))) / (select extract(epoch from '2026-08-10 16:50:47'::timestamp) - extract(epoch from '2026-08-10 16:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007344 -3.36729)', '2026-08-10 16:50:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007379 -3.367369)'), GeomFromEWKT('SRID=4674;POINT (-39.007344 -3.36729)'))) / (select extract(epoch from '2026-08-10 16:50:52'::timestamp) - extract(epoch from '2026-08-10 16:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007379 -3.367369)'), GeomFromEWKT('SRID=4674;POINT (-39.007344 -3.36729)'))) / (select extract(epoch from '2026-08-10 16:50:52'::timestamp) - extract(epoch from '2026-08-10 16:50:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00732 -3.367203)', '2026-08-10 16:50:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007344 -3.36729)'), GeomFromEWKT('SRID=4674;POINT (-39.00732 -3.367203)'))) / (select extract(epoch from '2026-08-10 16:50:57'::timestamp) - extract(epoch from '2026-08-10 16:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007344 -3.36729)'), GeomFromEWKT('SRID=4674;POINT (-39.00732 -3.367203)'))) / (select extract(epoch from '2026-08-10 16:50:57'::timestamp) - extract(epoch from '2026-08-10 16:50:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007305 -3.36717)', '2026-08-10 16:50:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00732 -3.367203)'), GeomFromEWKT('SRID=4674;POINT (-39.007305 -3.36717)'))) / (select extract(epoch from '2026-08-10 16:50:59'::timestamp) - extract(epoch from '2026-08-10 16:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00732 -3.367203)'), GeomFromEWKT('SRID=4674;POINT (-39.007305 -3.36717)'))) / (select extract(epoch from '2026-08-10 16:50:59'::timestamp) - extract(epoch from '2026-08-10 16:50: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'), 48138, 'SRID=4674;POINT (-39.007304 -3.36714)', '2026-08-10 16:51:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007305 -3.36717)'), GeomFromEWKT('SRID=4674;POINT (-39.007304 -3.36714)'))) / (select extract(epoch from '2026-08-10 16:51:01'::timestamp) - extract(epoch from '2026-08-10 16:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007305 -3.36717)'), GeomFromEWKT('SRID=4674;POINT (-39.007304 -3.36714)'))) / (select extract(epoch from '2026-08-10 16:51:01'::timestamp) - extract(epoch from '2026-08-10 16:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007251 -3.367044)', '2026-08-10 16:51:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007304 -3.36714)'), GeomFromEWKT('SRID=4674;POINT (-39.007251 -3.367044)'))) / (select extract(epoch from '2026-08-10 16:51:07'::timestamp) - extract(epoch from '2026-08-10 16:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007304 -3.36714)'), GeomFromEWKT('SRID=4674;POINT (-39.007251 -3.367044)'))) / (select extract(epoch from '2026-08-10 16:51:07'::timestamp) - extract(epoch from '2026-08-10 16:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007221 -3.366947)', '2026-08-10 16:51:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007251 -3.367044)'), GeomFromEWKT('SRID=4674;POINT (-39.007221 -3.366947)'))) / (select extract(epoch from '2026-08-10 16:51:12'::timestamp) - extract(epoch from '2026-08-10 16:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007251 -3.367044)'), GeomFromEWKT('SRID=4674;POINT (-39.007221 -3.366947)'))) / (select extract(epoch from '2026-08-10 16:51:12'::timestamp) - extract(epoch from '2026-08-10 16:51: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'), 48138, 'SRID=4674;POINT (-39.007192 -3.366856)', '2026-08-10 16:51:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007221 -3.366947)'), GeomFromEWKT('SRID=4674;POINT (-39.007192 -3.366856)'))) / (select extract(epoch from '2026-08-10 16:51:17'::timestamp) - extract(epoch from '2026-08-10 16:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007221 -3.366947)'), GeomFromEWKT('SRID=4674;POINT (-39.007192 -3.366856)'))) / (select extract(epoch from '2026-08-10 16:51:17'::timestamp) - extract(epoch from '2026-08-10 16:51: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'), 48138, 'SRID=4674;POINT (-39.007173 -3.366777)', '2026-08-10 16:51:22', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007192 -3.366856)'), GeomFromEWKT('SRID=4674;POINT (-39.007173 -3.366777)'))) / (select extract(epoch from '2026-08-10 16:51:22'::timestamp) - extract(epoch from '2026-08-10 16:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007192 -3.366856)'), GeomFromEWKT('SRID=4674;POINT (-39.007173 -3.366777)'))) / (select extract(epoch from '2026-08-10 16:51:22'::timestamp) - extract(epoch from '2026-08-10 16:51: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'), 48138, 'SRID=4674;POINT (-39.007148 -3.366657)', '2026-08-10 16:51:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007173 -3.366777)'), GeomFromEWKT('SRID=4674;POINT (-39.007148 -3.366657)'))) / (select extract(epoch from '2026-08-10 16:51:29'::timestamp) - extract(epoch from '2026-08-10 16:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007173 -3.366777)'), GeomFromEWKT('SRID=4674;POINT (-39.007148 -3.366657)'))) / (select extract(epoch from '2026-08-10 16:51:29'::timestamp) - extract(epoch from '2026-08-10 16:51: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'), 48138, 'SRID=4674;POINT (-39.007128 -3.366531)', '2026-08-10 16:51:35', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007148 -3.366657)'), GeomFromEWKT('SRID=4674;POINT (-39.007128 -3.366531)'))) / (select extract(epoch from '2026-08-10 16:51:35'::timestamp) - extract(epoch from '2026-08-10 16:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007148 -3.366657)'), GeomFromEWKT('SRID=4674;POINT (-39.007128 -3.366531)'))) / (select extract(epoch from '2026-08-10 16:51:35'::timestamp) - extract(epoch from '2026-08-10 16:51: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'), 48138, 'SRID=4674;POINT (-39.007121 -3.366442)', '2026-08-10 16:51:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007128 -3.366531)'), GeomFromEWKT('SRID=4674;POINT (-39.007121 -3.366442)'))) / (select extract(epoch from '2026-08-10 16:51:39'::timestamp) - extract(epoch from '2026-08-10 16:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007128 -3.366531)'), GeomFromEWKT('SRID=4674;POINT (-39.007121 -3.366442)'))) / (select extract(epoch from '2026-08-10 16:51:39'::timestamp) - extract(epoch from '2026-08-10 16:51:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007114 -3.366383)', '2026-08-10 16:51:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007121 -3.366442)'), GeomFromEWKT('SRID=4674;POINT (-39.007114 -3.366383)'))) / (select extract(epoch from '2026-08-10 16:51:42'::timestamp) - extract(epoch from '2026-08-10 16:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007121 -3.366442)'), GeomFromEWKT('SRID=4674;POINT (-39.007114 -3.366383)'))) / (select extract(epoch from '2026-08-10 16:51:42'::timestamp) - extract(epoch from '2026-08-10 16:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00711 -3.366362)', '2026-08-10 16:51:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007114 -3.366383)'), GeomFromEWKT('SRID=4674;POINT (-39.00711 -3.366362)'))) / (select extract(epoch from '2026-08-10 16:51:43'::timestamp) - extract(epoch from '2026-08-10 16:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007114 -3.366383)'), GeomFromEWKT('SRID=4674;POINT (-39.00711 -3.366362)'))) / (select extract(epoch from '2026-08-10 16:51:43'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.007091 -3.366251)', '2026-08-10 16:51:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00711 -3.366362)'), GeomFromEWKT('SRID=4674;POINT (-39.007091 -3.366251)'))) / (select extract(epoch from '2026-08-10 16:51:48'::timestamp) - extract(epoch from '2026-08-10 16:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00711 -3.366362)'), GeomFromEWKT('SRID=4674;POINT (-39.007091 -3.366251)'))) / (select extract(epoch from '2026-08-10 16:51:48'::timestamp) - extract(epoch from '2026-08-10 16:51: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'), 48138, 'SRID=4674;POINT (-39.007075 -3.36615)', '2026-08-10 16:51:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007091 -3.366251)'), GeomFromEWKT('SRID=4674;POINT (-39.007075 -3.36615)'))) / (select extract(epoch from '2026-08-10 16:51:53'::timestamp) - extract(epoch from '2026-08-10 16:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007091 -3.366251)'), GeomFromEWKT('SRID=4674;POINT (-39.007075 -3.36615)'))) / (select extract(epoch from '2026-08-10 16:51:53'::timestamp) - extract(epoch from '2026-08-10 16:51: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'), 48138, 'SRID=4674;POINT (-39.007052 -3.366053)', '2026-08-10 16:51:58', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007075 -3.36615)'), GeomFromEWKT('SRID=4674;POINT (-39.007052 -3.366053)'))) / (select extract(epoch from '2026-08-10 16:51:58'::timestamp) - extract(epoch from '2026-08-10 16:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007075 -3.36615)'), GeomFromEWKT('SRID=4674;POINT (-39.007052 -3.366053)'))) / (select extract(epoch from '2026-08-10 16:51:58'::timestamp) - extract(epoch from '2026-08-10 16:51: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'), 48138, 'SRID=4674;POINT (-39.007009 -3.365958)', '2026-08-10 16:52:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007052 -3.366053)'), GeomFromEWKT('SRID=4674;POINT (-39.007009 -3.365958)'))) / (select extract(epoch from '2026-08-10 16:52:03'::timestamp) - extract(epoch from '2026-08-10 16:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007052 -3.366053)'), GeomFromEWKT('SRID=4674;POINT (-39.007009 -3.365958)'))) / (select extract(epoch from '2026-08-10 16:52:03'::timestamp) - extract(epoch from '2026-08-10 16:51: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'), 48138, 'SRID=4674;POINT (-39.006977 -3.365843)', '2026-08-10 16:52:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007009 -3.365958)'), GeomFromEWKT('SRID=4674;POINT (-39.006977 -3.365843)'))) / (select extract(epoch from '2026-08-10 16:52:09'::timestamp) - extract(epoch from '2026-08-10 16:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007009 -3.365958)'), GeomFromEWKT('SRID=4674;POINT (-39.006977 -3.365843)'))) / (select extract(epoch from '2026-08-10 16:52:09'::timestamp) - extract(epoch from '2026-08-10 16:52: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'), 48138, 'SRID=4674;POINT (-39.006965 -3.365767)', '2026-08-10 16:52:13', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006977 -3.365843)'), GeomFromEWKT('SRID=4674;POINT (-39.006965 -3.365767)'))) / (select extract(epoch from '2026-08-10 16:52:13'::timestamp) - extract(epoch from '2026-08-10 16:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006977 -3.365843)'), GeomFromEWKT('SRID=4674;POINT (-39.006965 -3.365767)'))) / (select extract(epoch from '2026-08-10 16:52:13'::timestamp) - extract(epoch from '2026-08-10 16:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006924 -3.36567)', '2026-08-10 16:52:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006965 -3.365767)'), GeomFromEWKT('SRID=4674;POINT (-39.006924 -3.36567)'))) / (select extract(epoch from '2026-08-10 16:52:18'::timestamp) - extract(epoch from '2026-08-10 16:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006965 -3.365767)'), GeomFromEWKT('SRID=4674;POINT (-39.006924 -3.36567)'))) / (select extract(epoch from '2026-08-10 16:52:18'::timestamp) - extract(epoch from '2026-08-10 16:52:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006878 -3.365581)', '2026-08-10 16:52:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006924 -3.36567)'), GeomFromEWKT('SRID=4674;POINT (-39.006878 -3.365581)'))) / (select extract(epoch from '2026-08-10 16:52:23'::timestamp) - extract(epoch from '2026-08-10 16:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006924 -3.36567)'), GeomFromEWKT('SRID=4674;POINT (-39.006878 -3.365581)'))) / (select extract(epoch from '2026-08-10 16:52:23'::timestamp) - extract(epoch from '2026-08-10 16:52:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00683 -3.365465)', '2026-08-10 16:52:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006878 -3.365581)'), GeomFromEWKT('SRID=4674;POINT (-39.00683 -3.365465)'))) / (select extract(epoch from '2026-08-10 16:52:29'::timestamp) - extract(epoch from '2026-08-10 16:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006878 -3.365581)'), GeomFromEWKT('SRID=4674;POINT (-39.00683 -3.365465)'))) / (select extract(epoch from '2026-08-10 16:52:29'::timestamp) - extract(epoch from '2026-08-10 16:52: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'), 48138, 'SRID=4674;POINT (-39.006816 -3.365397)', '2026-08-10 16:52:33', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00683 -3.365465)'), GeomFromEWKT('SRID=4674;POINT (-39.006816 -3.365397)'))) / (select extract(epoch from '2026-08-10 16:52:33'::timestamp) - extract(epoch from '2026-08-10 16:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00683 -3.365465)'), GeomFromEWKT('SRID=4674;POINT (-39.006816 -3.365397)'))) / (select extract(epoch from '2026-08-10 16:52:33'::timestamp) - extract(epoch from '2026-08-10 16:52: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'), 48138, 'SRID=4674;POINT (-39.006806 -3.365319)', '2026-08-10 16:52:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006816 -3.365397)'), GeomFromEWKT('SRID=4674;POINT (-39.006806 -3.365319)'))) / (select extract(epoch from '2026-08-10 16:52:37'::timestamp) - extract(epoch from '2026-08-10 16:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006816 -3.365397)'), GeomFromEWKT('SRID=4674;POINT (-39.006806 -3.365319)'))) / (select extract(epoch from '2026-08-10 16:52:37'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006802 -3.365301)', '2026-08-10 16:52:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006806 -3.365319)'), GeomFromEWKT('SRID=4674;POINT (-39.006802 -3.365301)'))) / (select extract(epoch from '2026-08-10 16:52:38'::timestamp) - extract(epoch from '2026-08-10 16:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006806 -3.365319)'), GeomFromEWKT('SRID=4674;POINT (-39.006802 -3.365301)'))) / (select extract(epoch from '2026-08-10 16:52:38'::timestamp) - extract(epoch from '2026-08-10 16:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006786 -3.365237)', '2026-08-10 16:52:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006802 -3.365301)'), GeomFromEWKT('SRID=4674;POINT (-39.006786 -3.365237)'))) / (select extract(epoch from '2026-08-10 16:52:41'::timestamp) - extract(epoch from '2026-08-10 16:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006802 -3.365301)'), GeomFromEWKT('SRID=4674;POINT (-39.006786 -3.365237)'))) / (select extract(epoch from '2026-08-10 16:52:41'::timestamp) - extract(epoch from '2026-08-10 16:52:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006779 -3.365219)', '2026-08-10 16:52:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006786 -3.365237)'), GeomFromEWKT('SRID=4674;POINT (-39.006779 -3.365219)'))) / (select extract(epoch from '2026-08-10 16:52:42'::timestamp) - extract(epoch from '2026-08-10 16:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006786 -3.365237)'), GeomFromEWKT('SRID=4674;POINT (-39.006779 -3.365219)'))) / (select extract(epoch from '2026-08-10 16:52:42'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006739 -3.365109)', '2026-08-10 16:52:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006779 -3.365219)'), GeomFromEWKT('SRID=4674;POINT (-39.006739 -3.365109)'))) / (select extract(epoch from '2026-08-10 16:52:48'::timestamp) - extract(epoch from '2026-08-10 16:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006779 -3.365219)'), GeomFromEWKT('SRID=4674;POINT (-39.006739 -3.365109)'))) / (select extract(epoch from '2026-08-10 16:52:48'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006701 -3.365009)', '2026-08-10 16:52:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006739 -3.365109)'), GeomFromEWKT('SRID=4674;POINT (-39.006701 -3.365009)'))) / (select extract(epoch from '2026-08-10 16:52:53'::timestamp) - extract(epoch from '2026-08-10 16:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006739 -3.365109)'), GeomFromEWKT('SRID=4674;POINT (-39.006701 -3.365009)'))) / (select extract(epoch from '2026-08-10 16:52:53'::timestamp) - extract(epoch from '2026-08-10 16:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006676 -3.364893)', '2026-08-10 16:52:58', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006701 -3.365009)'), GeomFromEWKT('SRID=4674;POINT (-39.006676 -3.364893)'))) / (select extract(epoch from '2026-08-10 16:52:58'::timestamp) - extract(epoch from '2026-08-10 16:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006701 -3.365009)'), GeomFromEWKT('SRID=4674;POINT (-39.006676 -3.364893)'))) / (select extract(epoch from '2026-08-10 16:52:58'::timestamp) - extract(epoch from '2026-08-10 16:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006658 -3.364858)', '2026-08-10 16:53:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006676 -3.364893)'), GeomFromEWKT('SRID=4674;POINT (-39.006658 -3.364858)'))) / (select extract(epoch from '2026-08-10 16:53:00'::timestamp) - extract(epoch from '2026-08-10 16:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006676 -3.364893)'), GeomFromEWKT('SRID=4674;POINT (-39.006658 -3.364858)'))) / (select extract(epoch from '2026-08-10 16:53:00'::timestamp) - extract(epoch from '2026-08-10 16:52: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'), 48138, 'SRID=4674;POINT (-39.006645 -3.364798)', '2026-08-10 16:53:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006658 -3.364858)'), GeomFromEWKT('SRID=4674;POINT (-39.006645 -3.364798)'))) / (select extract(epoch from '2026-08-10 16:53:03'::timestamp) - extract(epoch from '2026-08-10 16:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006658 -3.364858)'), GeomFromEWKT('SRID=4674;POINT (-39.006645 -3.364798)'))) / (select extract(epoch from '2026-08-10 16:53:03'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006616 -3.364716)', '2026-08-10 16:53:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006645 -3.364798)'), GeomFromEWKT('SRID=4674;POINT (-39.006616 -3.364716)'))) / (select extract(epoch from '2026-08-10 16:53:07'::timestamp) - extract(epoch from '2026-08-10 16:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006645 -3.364798)'), GeomFromEWKT('SRID=4674;POINT (-39.006616 -3.364716)'))) / (select extract(epoch from '2026-08-10 16:53:07'::timestamp) - extract(epoch from '2026-08-10 16:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006585 -3.364594)', '2026-08-10 16:53:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006616 -3.364716)'), GeomFromEWKT('SRID=4674;POINT (-39.006585 -3.364594)'))) / (select extract(epoch from '2026-08-10 16:53:13'::timestamp) - extract(epoch from '2026-08-10 16:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006616 -3.364716)'), GeomFromEWKT('SRID=4674;POINT (-39.006585 -3.364594)'))) / (select extract(epoch from '2026-08-10 16:53:13'::timestamp) - extract(epoch from '2026-08-10 16:53:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006546 -3.364473)', '2026-08-10 16:53:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006585 -3.364594)'), GeomFromEWKT('SRID=4674;POINT (-39.006546 -3.364473)'))) / (select extract(epoch from '2026-08-10 16:53:19'::timestamp) - extract(epoch from '2026-08-10 16:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006585 -3.364594)'), GeomFromEWKT('SRID=4674;POINT (-39.006546 -3.364473)'))) / (select extract(epoch from '2026-08-10 16:53:19'::timestamp) - extract(epoch from '2026-08-10 16:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006529 -3.364397)', '2026-08-10 16:53:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006546 -3.364473)'), GeomFromEWKT('SRID=4674;POINT (-39.006529 -3.364397)'))) / (select extract(epoch from '2026-08-10 16:53:23'::timestamp) - extract(epoch from '2026-08-10 16:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006546 -3.364473)'), GeomFromEWKT('SRID=4674;POINT (-39.006529 -3.364397)'))) / (select extract(epoch from '2026-08-10 16:53:23'::timestamp) - extract(epoch from '2026-08-10 16:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006512 -3.364309)', '2026-08-10 16:53:28', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006529 -3.364397)'), GeomFromEWKT('SRID=4674;POINT (-39.006512 -3.364309)'))) / (select extract(epoch from '2026-08-10 16:53:28'::timestamp) - extract(epoch from '2026-08-10 16:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006529 -3.364397)'), GeomFromEWKT('SRID=4674;POINT (-39.006512 -3.364309)'))) / (select extract(epoch from '2026-08-10 16:53:28'::timestamp) - extract(epoch from '2026-08-10 16:53: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'), 48138, 'SRID=4674;POINT (-39.006476 -3.364199)', '2026-08-10 16:53:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006512 -3.364309)'), GeomFromEWKT('SRID=4674;POINT (-39.006476 -3.364199)'))) / (select extract(epoch from '2026-08-10 16:53:34'::timestamp) - extract(epoch from '2026-08-10 16:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006512 -3.364309)'), GeomFromEWKT('SRID=4674;POINT (-39.006476 -3.364199)'))) / (select extract(epoch from '2026-08-10 16:53:34'::timestamp) - extract(epoch from '2026-08-10 16:53: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'), 48138, 'SRID=4674;POINT (-39.006433 -3.364064)', '2026-08-10 16:53:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006476 -3.364199)'), GeomFromEWKT('SRID=4674;POINT (-39.006433 -3.364064)'))) / (select extract(epoch from '2026-08-10 16:53:41'::timestamp) - extract(epoch from '2026-08-10 16:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006476 -3.364199)'), GeomFromEWKT('SRID=4674;POINT (-39.006433 -3.364064)'))) / (select extract(epoch from '2026-08-10 16:53:41'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006407 -3.36397)', '2026-08-10 16:53:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006433 -3.364064)'), GeomFromEWKT('SRID=4674;POINT (-39.006407 -3.36397)'))) / (select extract(epoch from '2026-08-10 16:53:46'::timestamp) - extract(epoch from '2026-08-10 16:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006433 -3.364064)'), GeomFromEWKT('SRID=4674;POINT (-39.006407 -3.36397)'))) / (select extract(epoch from '2026-08-10 16:53:46'::timestamp) - extract(epoch from '2026-08-10 16:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006389 -3.363938)', '2026-08-10 16:53:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006407 -3.36397)'), GeomFromEWKT('SRID=4674;POINT (-39.006389 -3.363938)'))) / (select extract(epoch from '2026-08-10 16:53:48'::timestamp) - extract(epoch from '2026-08-10 16:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006407 -3.36397)'), GeomFromEWKT('SRID=4674;POINT (-39.006389 -3.363938)'))) / (select extract(epoch from '2026-08-10 16:53:48'::timestamp) - extract(epoch from '2026-08-10 16:53: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'), 48138, 'SRID=4674;POINT (-39.006371 -3.363878)', '2026-08-10 16:53:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006389 -3.363938)'), GeomFromEWKT('SRID=4674;POINT (-39.006371 -3.363878)'))) / (select extract(epoch from '2026-08-10 16:53:51'::timestamp) - extract(epoch from '2026-08-10 16:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006389 -3.363938)'), GeomFromEWKT('SRID=4674;POINT (-39.006371 -3.363878)'))) / (select extract(epoch from '2026-08-10 16:53:51'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006339 -3.363784)', '2026-08-10 16:53:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006371 -3.363878)'), GeomFromEWKT('SRID=4674;POINT (-39.006339 -3.363784)'))) / (select extract(epoch from '2026-08-10 16:53:56'::timestamp) - extract(epoch from '2026-08-10 16:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006371 -3.363878)'), GeomFromEWKT('SRID=4674;POINT (-39.006339 -3.363784)'))) / (select extract(epoch from '2026-08-10 16:53:56'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006294 -3.36364)', '2026-08-10 16:54:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006339 -3.363784)'), GeomFromEWKT('SRID=4674;POINT (-39.006294 -3.36364)'))) / (select extract(epoch from '2026-08-10 16:54:03'::timestamp) - extract(epoch from '2026-08-10 16:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006339 -3.363784)'), GeomFromEWKT('SRID=4674;POINT (-39.006294 -3.36364)'))) / (select extract(epoch from '2026-08-10 16:54:03'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006282 -3.363539)', '2026-08-10 16:54:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006294 -3.36364)'), GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.363539)'))) / (select extract(epoch from '2026-08-10 16:54:08'::timestamp) - extract(epoch from '2026-08-10 16:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006294 -3.36364)'), GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.363539)'))) / (select extract(epoch from '2026-08-10 16:54:08'::timestamp) - extract(epoch from '2026-08-10 16:54:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006277 -3.363522)', '2026-08-10 16:54:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.363539)'), GeomFromEWKT('SRID=4674;POINT (-39.006277 -3.363522)'))) / (select extract(epoch from '2026-08-10 16:54:09'::timestamp) - extract(epoch from '2026-08-10 16:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.363539)'), GeomFromEWKT('SRID=4674;POINT (-39.006277 -3.363522)'))) / (select extract(epoch from '2026-08-10 16:54:09'::timestamp) - extract(epoch from '2026-08-10 16:54: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'), 48138, 'SRID=4674;POINT (-39.006275 -3.363485)', '2026-08-10 16:54:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006277 -3.363522)'), GeomFromEWKT('SRID=4674;POINT (-39.006275 -3.363485)'))) / (select extract(epoch from '2026-08-10 16:54:11'::timestamp) - extract(epoch from '2026-08-10 16:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006277 -3.363522)'), GeomFromEWKT('SRID=4674;POINT (-39.006275 -3.363485)'))) / (select extract(epoch from '2026-08-10 16:54:11'::timestamp) - extract(epoch from '2026-08-10 16:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006281 -3.363465)', '2026-08-10 16:54:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006275 -3.363485)'), GeomFromEWKT('SRID=4674;POINT (-39.006281 -3.363465)'))) / (select extract(epoch from '2026-08-10 16:54:12'::timestamp) - extract(epoch from '2026-08-10 16:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006275 -3.363485)'), GeomFromEWKT('SRID=4674;POINT (-39.006281 -3.363465)'))) / (select extract(epoch from '2026-08-10 16:54:12'::timestamp) - extract(epoch from '2026-08-10 16:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006282 -3.363449)', '2026-08-10 16:54:13', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006281 -3.363465)'), GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.363449)'))) / (select extract(epoch from '2026-08-10 16:54:13'::timestamp) - extract(epoch from '2026-08-10 16:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006281 -3.363465)'), GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.363449)'))) / (select extract(epoch from '2026-08-10 16:54:13'::timestamp) - extract(epoch from '2026-08-10 16:54: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'), 48138, 'SRID=4674;POINT (-39.006282 -3.36336)', '2026-08-10 16:54:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.363449)'), GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.36336)'))) / (select extract(epoch from '2026-08-10 16:54:18'::timestamp) - extract(epoch from '2026-08-10 16:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.363449)'), GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.36336)'))) / (select extract(epoch from '2026-08-10 16:54:18'::timestamp) - extract(epoch from '2026-08-10 16:54: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'), 48138, 'SRID=4674;POINT (-39.006279 -3.363261)', '2026-08-10 16:54:23', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.36336)'), GeomFromEWKT('SRID=4674;POINT (-39.006279 -3.363261)'))) / (select extract(epoch from '2026-08-10 16:54:23'::timestamp) - extract(epoch from '2026-08-10 16:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006282 -3.36336)'), GeomFromEWKT('SRID=4674;POINT (-39.006279 -3.363261)'))) / (select extract(epoch from '2026-08-10 16:54:23'::timestamp) - extract(epoch from '2026-08-10 16:54:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006243 -3.363089)', '2026-08-10 16:54:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006279 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.006243 -3.363089)'))) / (select extract(epoch from '2026-08-10 16:54:31'::timestamp) - extract(epoch from '2026-08-10 16:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006279 -3.363261)'), GeomFromEWKT('SRID=4674;POINT (-39.006243 -3.363089)'))) / (select extract(epoch from '2026-08-10 16:54:31'::timestamp) - extract(epoch from '2026-08-10 16:54: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'), 48138, 'SRID=4674;POINT (-39.006227 -3.362986)', '2026-08-10 16:54:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006243 -3.363089)'), GeomFromEWKT('SRID=4674;POINT (-39.006227 -3.362986)'))) / (select extract(epoch from '2026-08-10 16:54:36'::timestamp) - extract(epoch from '2026-08-10 16:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006243 -3.363089)'), GeomFromEWKT('SRID=4674;POINT (-39.006227 -3.362986)'))) / (select extract(epoch from '2026-08-10 16:54:36'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006225 -3.362925)', '2026-08-10 16:54:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006227 -3.362986)'), GeomFromEWKT('SRID=4674;POINT (-39.006225 -3.362925)'))) / (select extract(epoch from '2026-08-10 16:54:39'::timestamp) - extract(epoch from '2026-08-10 16:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006227 -3.362986)'), GeomFromEWKT('SRID=4674;POINT (-39.006225 -3.362925)'))) / (select extract(epoch from '2026-08-10 16:54:39'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006209 -3.362887)', '2026-08-10 16:54:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006225 -3.362925)'), GeomFromEWKT('SRID=4674;POINT (-39.006209 -3.362887)'))) / (select extract(epoch from '2026-08-10 16:54:41'::timestamp) - extract(epoch from '2026-08-10 16:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006225 -3.362925)'), GeomFromEWKT('SRID=4674;POINT (-39.006209 -3.362887)'))) / (select extract(epoch from '2026-08-10 16:54:41'::timestamp) - extract(epoch from '2026-08-10 16:54: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'), 48138, 'SRID=4674;POINT (-39.006199 -3.362784)', '2026-08-10 16:54:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006209 -3.362887)'), GeomFromEWKT('SRID=4674;POINT (-39.006199 -3.362784)'))) / (select extract(epoch from '2026-08-10 16:54:46'::timestamp) - extract(epoch from '2026-08-10 16:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006209 -3.362887)'), GeomFromEWKT('SRID=4674;POINT (-39.006199 -3.362784)'))) / (select extract(epoch from '2026-08-10 16:54:46'::timestamp) - extract(epoch from '2026-08-10 16:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006172 -3.362639)', '2026-08-10 16:54:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006199 -3.362784)'), GeomFromEWKT('SRID=4674;POINT (-39.006172 -3.362639)'))) / (select extract(epoch from '2026-08-10 16:54:53'::timestamp) - extract(epoch from '2026-08-10 16:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006199 -3.362784)'), GeomFromEWKT('SRID=4674;POINT (-39.006172 -3.362639)'))) / (select extract(epoch from '2026-08-10 16:54:53'::timestamp) - extract(epoch from '2026-08-10 16:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006156 -3.362539)', '2026-08-10 16:54:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006172 -3.362639)'), GeomFromEWKT('SRID=4674;POINT (-39.006156 -3.362539)'))) / (select extract(epoch from '2026-08-10 16:54:58'::timestamp) - extract(epoch from '2026-08-10 16:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006172 -3.362639)'), GeomFromEWKT('SRID=4674;POINT (-39.006156 -3.362539)'))) / (select extract(epoch from '2026-08-10 16:54:58'::timestamp) - extract(epoch from '2026-08-10 16:54: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'), 48138, 'SRID=4674;POINT (-39.006134 -3.362417)', '2026-08-10 16:55:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006156 -3.362539)'), GeomFromEWKT('SRID=4674;POINT (-39.006134 -3.362417)'))) / (select extract(epoch from '2026-08-10 16:55:04'::timestamp) - extract(epoch from '2026-08-10 16:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006156 -3.362539)'), GeomFromEWKT('SRID=4674;POINT (-39.006134 -3.362417)'))) / (select extract(epoch from '2026-08-10 16:55:04'::timestamp) - extract(epoch from '2026-08-10 16:54:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006113 -3.362315)', '2026-08-10 16:55:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006134 -3.362417)'), GeomFromEWKT('SRID=4674;POINT (-39.006113 -3.362315)'))) / (select extract(epoch from '2026-08-10 16:55:09'::timestamp) - extract(epoch from '2026-08-10 16:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006134 -3.362417)'), GeomFromEWKT('SRID=4674;POINT (-39.006113 -3.362315)'))) / (select extract(epoch from '2026-08-10 16:55:09'::timestamp) - extract(epoch from '2026-08-10 16:55:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006078 -3.362189)', '2026-08-10 16:55:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006113 -3.362315)'), GeomFromEWKT('SRID=4674;POINT (-39.006078 -3.362189)'))) / (select extract(epoch from '2026-08-10 16:55:16'::timestamp) - extract(epoch from '2026-08-10 16:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006113 -3.362315)'), GeomFromEWKT('SRID=4674;POINT (-39.006078 -3.362189)'))) / (select extract(epoch from '2026-08-10 16:55:16'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006071 -3.36217)', '2026-08-10 16:55:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006078 -3.362189)'), GeomFromEWKT('SRID=4674;POINT (-39.006071 -3.36217)'))) / (select extract(epoch from '2026-08-10 16:55:17'::timestamp) - extract(epoch from '2026-08-10 16:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006078 -3.362189)'), GeomFromEWKT('SRID=4674;POINT (-39.006071 -3.36217)'))) / (select extract(epoch from '2026-08-10 16:55:17'::timestamp) - extract(epoch from '2026-08-10 16:55: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'), 48138, 'SRID=4674;POINT (-39.006057 -3.362099)', '2026-08-10 16:55:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006071 -3.36217)'), GeomFromEWKT('SRID=4674;POINT (-39.006057 -3.362099)'))) / (select extract(epoch from '2026-08-10 16:55:22'::timestamp) - extract(epoch from '2026-08-10 16:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006071 -3.36217)'), GeomFromEWKT('SRID=4674;POINT (-39.006057 -3.362099)'))) / (select extract(epoch from '2026-08-10 16:55:22'::timestamp) - extract(epoch from '2026-08-10 16:55: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'), 48138, 'SRID=4674;POINT (-39.006055 -3.362059)', '2026-08-10 16:55:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006057 -3.362099)'), GeomFromEWKT('SRID=4674;POINT (-39.006055 -3.362059)'))) / (select extract(epoch from '2026-08-10 16:55:27'::timestamp) - extract(epoch from '2026-08-10 16:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006057 -3.362099)'), GeomFromEWKT('SRID=4674;POINT (-39.006055 -3.362059)'))) / (select extract(epoch from '2026-08-10 16:55:27'::timestamp) - extract(epoch from '2026-08-10 16:55: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'), 48138, 'SRID=4674;POINT (-39.00605 -3.362054)', '2026-08-10 16:55:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006055 -3.362059)'), GeomFromEWKT('SRID=4674;POINT (-39.00605 -3.362054)'))) / (select extract(epoch from '2026-08-10 16:55:28'::timestamp) - extract(epoch from '2026-08-10 16:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006055 -3.362059)'), GeomFromEWKT('SRID=4674;POINT (-39.00605 -3.362054)'))) / (select extract(epoch from '2026-08-10 16:55:28'::timestamp) - extract(epoch from '2026-08-10 16:55: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'), 48138, 'SRID=4674;POINT (-39.006071 -3.362024)', '2026-08-10 16:55:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00605 -3.362054)'), GeomFromEWKT('SRID=4674;POINT (-39.006071 -3.362024)'))) / (select extract(epoch from '2026-08-10 16:55:33'::timestamp) - extract(epoch from '2026-08-10 16:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00605 -3.362054)'), GeomFromEWKT('SRID=4674;POINT (-39.006071 -3.362024)'))) / (select extract(epoch from '2026-08-10 16:55:33'::timestamp) - extract(epoch from '2026-08-10 16:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006073 -3.362016)', '2026-08-10 16:55:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006071 -3.362024)'), GeomFromEWKT('SRID=4674;POINT (-39.006073 -3.362016)'))) / (select extract(epoch from '2026-08-10 16:55:34'::timestamp) - extract(epoch from '2026-08-10 16:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006071 -3.362024)'), GeomFromEWKT('SRID=4674;POINT (-39.006073 -3.362016)'))) / (select extract(epoch from '2026-08-10 16:55:34'::timestamp) - extract(epoch from '2026-08-10 16:55:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00608 -3.362006)', '2026-08-10 16:55:36', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006073 -3.362016)'), GeomFromEWKT('SRID=4674;POINT (-39.00608 -3.362006)'))) / (select extract(epoch from '2026-08-10 16:55:36'::timestamp) - extract(epoch from '2026-08-10 16:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006073 -3.362016)'), GeomFromEWKT('SRID=4674;POINT (-39.00608 -3.362006)'))) / (select extract(epoch from '2026-08-10 16:55:36'::timestamp) - extract(epoch from '2026-08-10 16:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006107 -3.362005)', '2026-08-10 16:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00608 -3.362006)'), GeomFromEWKT('SRID=4674;POINT (-39.006107 -3.362005)'))) / (select extract(epoch from '2026-08-10 16:55:38'::timestamp) - extract(epoch from '2026-08-10 16:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00608 -3.362006)'), GeomFromEWKT('SRID=4674;POINT (-39.006107 -3.362005)'))) / (select extract(epoch from '2026-08-10 16:55:38'::timestamp) - extract(epoch from '2026-08-10 16:55: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'), 48138, 'SRID=4674;POINT (-39.006151 -3.361993)', '2026-08-10 16:55:43', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006107 -3.362005)'), GeomFromEWKT('SRID=4674;POINT (-39.006151 -3.361993)'))) / (select extract(epoch from '2026-08-10 16:55:43'::timestamp) - extract(epoch from '2026-08-10 16:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006107 -3.362005)'), GeomFromEWKT('SRID=4674;POINT (-39.006151 -3.361993)'))) / (select extract(epoch from '2026-08-10 16:55:43'::timestamp) - extract(epoch from '2026-08-10 16:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006189 -3.361982)', '2026-08-10 16:55:48', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006151 -3.361993)'), GeomFromEWKT('SRID=4674;POINT (-39.006189 -3.361982)'))) / (select extract(epoch from '2026-08-10 16:55:48'::timestamp) - extract(epoch from '2026-08-10 16:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006151 -3.361993)'), GeomFromEWKT('SRID=4674;POINT (-39.006189 -3.361982)'))) / (select extract(epoch from '2026-08-10 16:55:48'::timestamp) - extract(epoch from '2026-08-10 16:55: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'), 48138, 'SRID=4674;POINT (-39.006236 -3.361955)', '2026-08-10 16:55:56', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006189 -3.361982)'), GeomFromEWKT('SRID=4674;POINT (-39.006236 -3.361955)'))) / (select extract(epoch from '2026-08-10 16:55:56'::timestamp) - extract(epoch from '2026-08-10 16:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006189 -3.361982)'), GeomFromEWKT('SRID=4674;POINT (-39.006236 -3.361955)'))) / (select extract(epoch from '2026-08-10 16:55:56'::timestamp) - extract(epoch from '2026-08-10 16:55: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'), 48138, 'SRID=4674;POINT (-39.006264 -3.361942)', '2026-08-10 16:56:00', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006236 -3.361955)'), GeomFromEWKT('SRID=4674;POINT (-39.006264 -3.361942)'))) / (select extract(epoch from '2026-08-10 16:56:00'::timestamp) - extract(epoch from '2026-08-10 16:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006236 -3.361955)'), GeomFromEWKT('SRID=4674;POINT (-39.006264 -3.361942)'))) / (select extract(epoch from '2026-08-10 16:56:00'::timestamp) - extract(epoch from '2026-08-10 16:55: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'), 48138, 'SRID=4674;POINT (-39.006279 -3.361933)', '2026-08-10 16:56:04', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006264 -3.361942)'), GeomFromEWKT('SRID=4674;POINT (-39.006279 -3.361933)'))) / (select extract(epoch from '2026-08-10 16:56:04'::timestamp) - extract(epoch from '2026-08-10 16:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006264 -3.361942)'), GeomFromEWKT('SRID=4674;POINT (-39.006279 -3.361933)'))) / (select extract(epoch from '2026-08-10 16:56:04'::timestamp) - extract(epoch from '2026-08-10 16:56:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006326 -3.361925)', '2026-08-10 16:56:11', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006279 -3.361933)'), GeomFromEWKT('SRID=4674;POINT (-39.006326 -3.361925)'))) / (select extract(epoch from '2026-08-10 16:56:11'::timestamp) - extract(epoch from '2026-08-10 16:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006279 -3.361933)'), GeomFromEWKT('SRID=4674;POINT (-39.006326 -3.361925)'))) / (select extract(epoch from '2026-08-10 16:56:11'::timestamp) - extract(epoch from '2026-08-10 16:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006384 -3.361898)', '2026-08-10 16:56:19', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006326 -3.361925)'), GeomFromEWKT('SRID=4674;POINT (-39.006384 -3.361898)'))) / (select extract(epoch from '2026-08-10 16:56:19'::timestamp) - extract(epoch from '2026-08-10 16:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006326 -3.361925)'), GeomFromEWKT('SRID=4674;POINT (-39.006384 -3.361898)'))) / (select extract(epoch from '2026-08-10 16:56:19'::timestamp) - extract(epoch from '2026-08-10 16:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006455 -3.361862)', '2026-08-10 16:56:29', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006384 -3.361898)'), GeomFromEWKT('SRID=4674;POINT (-39.006455 -3.361862)'))) / (select extract(epoch from '2026-08-10 16:56:29'::timestamp) - extract(epoch from '2026-08-10 16:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006384 -3.361898)'), GeomFromEWKT('SRID=4674;POINT (-39.006455 -3.361862)'))) / (select extract(epoch from '2026-08-10 16:56:29'::timestamp) - extract(epoch from '2026-08-10 16:56:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006508 -3.361838)', '2026-08-10 16:56:37', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006455 -3.361862)'), GeomFromEWKT('SRID=4674;POINT (-39.006508 -3.361838)'))) / (select extract(epoch from '2026-08-10 16:56:37'::timestamp) - extract(epoch from '2026-08-10 16:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006455 -3.361862)'), GeomFromEWKT('SRID=4674;POINT (-39.006508 -3.361838)'))) / (select extract(epoch from '2026-08-10 16:56:37'::timestamp) - extract(epoch from '2026-08-10 16:56:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006533 -3.361816)', '2026-08-10 16:56:43', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006508 -3.361838)'), GeomFromEWKT('SRID=4674;POINT (-39.006533 -3.361816)'))) / (select extract(epoch from '2026-08-10 16:56:43'::timestamp) - extract(epoch from '2026-08-10 16:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006508 -3.361838)'), GeomFromEWKT('SRID=4674;POINT (-39.006533 -3.361816)'))) / (select extract(epoch from '2026-08-10 16:56:43'::timestamp) - extract(epoch from '2026-08-10 16:56: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'), 48138, 'SRID=4674;POINT (-39.006575 -3.361799)', '2026-08-10 16:56:50', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006533 -3.361816)'), GeomFromEWKT('SRID=4674;POINT (-39.006575 -3.361799)'))) / (select extract(epoch from '2026-08-10 16:56:50'::timestamp) - extract(epoch from '2026-08-10 16:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006533 -3.361816)'), GeomFromEWKT('SRID=4674;POINT (-39.006575 -3.361799)'))) / (select extract(epoch from '2026-08-10 16:56:50'::timestamp) - extract(epoch from '2026-08-10 16:56: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'), 48138, 'SRID=4674;POINT (-39.006588 -3.361793)', '2026-08-10 16:56:52', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006575 -3.361799)'), GeomFromEWKT('SRID=4674;POINT (-39.006588 -3.361793)'))) / (select extract(epoch from '2026-08-10 16:56:52'::timestamp) - extract(epoch from '2026-08-10 16:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006575 -3.361799)'), GeomFromEWKT('SRID=4674;POINT (-39.006588 -3.361793)'))) / (select extract(epoch from '2026-08-10 16:56:52'::timestamp) - extract(epoch from '2026-08-10 16:56: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'), 48138, 'SRID=4674;POINT (-39.006606 -3.361782)', '2026-08-10 16:56:55', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006588 -3.361793)'), GeomFromEWKT('SRID=4674;POINT (-39.006606 -3.361782)'))) / (select extract(epoch from '2026-08-10 16:56:55'::timestamp) - extract(epoch from '2026-08-10 16:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006588 -3.361793)'), GeomFromEWKT('SRID=4674;POINT (-39.006606 -3.361782)'))) / (select extract(epoch from '2026-08-10 16:56:55'::timestamp) - extract(epoch from '2026-08-10 16:56: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'), 48138, 'SRID=4674;POINT (-39.006635 -3.361764)', '2026-08-10 16:57:00', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006606 -3.361782)'), GeomFromEWKT('SRID=4674;POINT (-39.006635 -3.361764)'))) / (select extract(epoch from '2026-08-10 16:57:00'::timestamp) - extract(epoch from '2026-08-10 16:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006606 -3.361782)'), GeomFromEWKT('SRID=4674;POINT (-39.006635 -3.361764)'))) / (select extract(epoch from '2026-08-10 16:57:00'::timestamp) - extract(epoch from '2026-08-10 16:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006647 -3.361761)', '2026-08-10 16:57:02', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006635 -3.361764)'), GeomFromEWKT('SRID=4674;POINT (-39.006647 -3.361761)'))) / (select extract(epoch from '2026-08-10 16:57:02'::timestamp) - extract(epoch from '2026-08-10 16:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006635 -3.361764)'), GeomFromEWKT('SRID=4674;POINT (-39.006647 -3.361761)'))) / (select extract(epoch from '2026-08-10 16:57:02'::timestamp) - extract(epoch from '2026-08-10 16:57: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'), 48138, 'SRID=4674;POINT (-39.006693 -3.361721)', '2026-08-10 16:57:10', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006647 -3.361761)'), GeomFromEWKT('SRID=4674;POINT (-39.006693 -3.361721)'))) / (select extract(epoch from '2026-08-10 16:57:10'::timestamp) - extract(epoch from '2026-08-10 16:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006647 -3.361761)'), GeomFromEWKT('SRID=4674;POINT (-39.006693 -3.361721)'))) / (select extract(epoch from '2026-08-10 16:57:10'::timestamp) - extract(epoch from '2026-08-10 16:57: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'), 48138, 'SRID=4674;POINT (-39.006742 -3.361693)', '2026-08-10 16:57:20', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006693 -3.361721)'), GeomFromEWKT('SRID=4674;POINT (-39.006742 -3.361693)'))) / (select extract(epoch from '2026-08-10 16:57:20'::timestamp) - extract(epoch from '2026-08-10 16:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006693 -3.361721)'), GeomFromEWKT('SRID=4674;POINT (-39.006742 -3.361693)'))) / (select extract(epoch from '2026-08-10 16:57:20'::timestamp) - extract(epoch from '2026-08-10 16:57: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'), 48138, 'SRID=4674;POINT (-39.006778 -3.361676)', '2026-08-10 16:57:30', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006742 -3.361693)'), GeomFromEWKT('SRID=4674;POINT (-39.006778 -3.361676)'))) / (select extract(epoch from '2026-08-10 16:57:30'::timestamp) - extract(epoch from '2026-08-10 16:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006742 -3.361693)'), GeomFromEWKT('SRID=4674;POINT (-39.006778 -3.361676)'))) / (select extract(epoch from '2026-08-10 16:57:30'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.006836 -3.36165)', '2026-08-10 16:57:38', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006778 -3.361676)'), GeomFromEWKT('SRID=4674;POINT (-39.006836 -3.36165)'))) / (select extract(epoch from '2026-08-10 16:57:38'::timestamp) - extract(epoch from '2026-08-10 16:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006778 -3.361676)'), GeomFromEWKT('SRID=4674;POINT (-39.006836 -3.36165)'))) / (select extract(epoch from '2026-08-10 16:57:38'::timestamp) - extract(epoch from '2026-08-10 16:57:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006856 -3.361624)', '2026-08-10 16:57:43', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006836 -3.36165)'), GeomFromEWKT('SRID=4674;POINT (-39.006856 -3.361624)'))) / (select extract(epoch from '2026-08-10 16:57:43'::timestamp) - extract(epoch from '2026-08-10 16:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006836 -3.36165)'), GeomFromEWKT('SRID=4674;POINT (-39.006856 -3.361624)'))) / (select extract(epoch from '2026-08-10 16:57:43'::timestamp) - extract(epoch from '2026-08-10 16:57: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'), 48138, 'SRID=4674;POINT (-39.006897 -3.361596)', '2026-08-10 16:57:50', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006856 -3.361624)'), GeomFromEWKT('SRID=4674;POINT (-39.006897 -3.361596)'))) / (select extract(epoch from '2026-08-10 16:57:50'::timestamp) - extract(epoch from '2026-08-10 16:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006856 -3.361624)'), GeomFromEWKT('SRID=4674;POINT (-39.006897 -3.361596)'))) / (select extract(epoch from '2026-08-10 16:57:50'::timestamp) - extract(epoch from '2026-08-10 16:57: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'), 48138, 'SRID=4674;POINT (-39.006906 -3.361595)', '2026-08-10 16:57:51', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006897 -3.361596)'), GeomFromEWKT('SRID=4674;POINT (-39.006906 -3.361595)'))) / (select extract(epoch from '2026-08-10 16:57:51'::timestamp) - extract(epoch from '2026-08-10 16:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006897 -3.361596)'), GeomFromEWKT('SRID=4674;POINT (-39.006906 -3.361595)'))) / (select extract(epoch from '2026-08-10 16:57:51'::timestamp) - extract(epoch from '2026-08-10 16:57: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'), 48138, 'SRID=4674;POINT (-39.006916 -3.361596)', '2026-08-10 16:57:54', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006906 -3.361595)'), GeomFromEWKT('SRID=4674;POINT (-39.006916 -3.361596)'))) / (select extract(epoch from '2026-08-10 16:57:54'::timestamp) - extract(epoch from '2026-08-10 16:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006906 -3.361595)'), GeomFromEWKT('SRID=4674;POINT (-39.006916 -3.361596)'))) / (select extract(epoch from '2026-08-10 16:57:54'::timestamp) - extract(epoch from '2026-08-10 16:57:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006943 -3.361596)', '2026-08-10 16:57:59', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006916 -3.361596)'), GeomFromEWKT('SRID=4674;POINT (-39.006943 -3.361596)'))) / (select extract(epoch from '2026-08-10 16:57:59'::timestamp) - extract(epoch from '2026-08-10 16:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006916 -3.361596)'), GeomFromEWKT('SRID=4674;POINT (-39.006943 -3.361596)'))) / (select extract(epoch from '2026-08-10 16:57:59'::timestamp) - extract(epoch from '2026-08-10 16:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.006979 -3.361579)', '2026-08-10 16:58:07', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006943 -3.361596)'), GeomFromEWKT('SRID=4674;POINT (-39.006979 -3.361579)'))) / (select extract(epoch from '2026-08-10 16:58:07'::timestamp) - extract(epoch from '2026-08-10 16:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006943 -3.361596)'), GeomFromEWKT('SRID=4674;POINT (-39.006979 -3.361579)'))) / (select extract(epoch from '2026-08-10 16:58:07'::timestamp) - extract(epoch from '2026-08-10 16:57:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007033 -3.361546)', '2026-08-10 16:58:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006979 -3.361579)'), GeomFromEWKT('SRID=4674;POINT (-39.007033 -3.361546)'))) / (select extract(epoch from '2026-08-10 16:58:16'::timestamp) - extract(epoch from '2026-08-10 16:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006979 -3.361579)'), GeomFromEWKT('SRID=4674;POINT (-39.007033 -3.361546)'))) / (select extract(epoch from '2026-08-10 16:58:16'::timestamp) - extract(epoch from '2026-08-10 16:58:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00705 -3.361535)', '2026-08-10 16:58:20', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007033 -3.361546)'), GeomFromEWKT('SRID=4674;POINT (-39.00705 -3.361535)'))) / (select extract(epoch from '2026-08-10 16:58:20'::timestamp) - extract(epoch from '2026-08-10 16:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007033 -3.361546)'), GeomFromEWKT('SRID=4674;POINT (-39.00705 -3.361535)'))) / (select extract(epoch from '2026-08-10 16:58:20'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.007082 -3.361526)', '2026-08-10 16:58:25', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00705 -3.361535)'), GeomFromEWKT('SRID=4674;POINT (-39.007082 -3.361526)'))) / (select extract(epoch from '2026-08-10 16:58:25'::timestamp) - extract(epoch from '2026-08-10 16:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00705 -3.361535)'), GeomFromEWKT('SRID=4674;POINT (-39.007082 -3.361526)'))) / (select extract(epoch from '2026-08-10 16:58:25'::timestamp) - extract(epoch from '2026-08-10 16:58: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'), 48138, 'SRID=4674;POINT (-39.007106 -3.361514)', '2026-08-10 16:58:32', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007082 -3.361526)'), GeomFromEWKT('SRID=4674;POINT (-39.007106 -3.361514)'))) / (select extract(epoch from '2026-08-10 16:58:32'::timestamp) - extract(epoch from '2026-08-10 16:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007082 -3.361526)'), GeomFromEWKT('SRID=4674;POINT (-39.007106 -3.361514)'))) / (select extract(epoch from '2026-08-10 16:58:32'::timestamp) - extract(epoch from '2026-08-10 16:58: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'), 48138, 'SRID=4674;POINT (-39.007156 -3.361498)', '2026-08-10 16:58:39', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007106 -3.361514)'), GeomFromEWKT('SRID=4674;POINT (-39.007156 -3.361498)'))) / (select extract(epoch from '2026-08-10 16:58:39'::timestamp) - extract(epoch from '2026-08-10 16:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007106 -3.361514)'), GeomFromEWKT('SRID=4674;POINT (-39.007156 -3.361498)'))) / (select extract(epoch from '2026-08-10 16:58:39'::timestamp) - extract(epoch from '2026-08-10 16:58: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'), 48138, 'SRID=4674;POINT (-39.007189 -3.361465)', '2026-08-10 16:58:48', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007156 -3.361498)'), GeomFromEWKT('SRID=4674;POINT (-39.007189 -3.361465)'))) / (select extract(epoch from '2026-08-10 16:58:48'::timestamp) - extract(epoch from '2026-08-10 16:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007156 -3.361498)'), GeomFromEWKT('SRID=4674;POINT (-39.007189 -3.361465)'))) / (select extract(epoch from '2026-08-10 16:58:48'::timestamp) - extract(epoch from '2026-08-10 16:58: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'), 48138, 'SRID=4674;POINT (-39.007212 -3.361469)', '2026-08-10 16:58:54', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007189 -3.361465)'), GeomFromEWKT('SRID=4674;POINT (-39.007212 -3.361469)'))) / (select extract(epoch from '2026-08-10 16:58:54'::timestamp) - extract(epoch from '2026-08-10 16:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007189 -3.361465)'), GeomFromEWKT('SRID=4674;POINT (-39.007212 -3.361469)'))) / (select extract(epoch from '2026-08-10 16:58:54'::timestamp) - extract(epoch from '2026-08-10 16:58: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'), 48138, 'SRID=4674;POINT (-39.007235 -3.361468)', '2026-08-10 16:58:59', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007212 -3.361469)'), GeomFromEWKT('SRID=4674;POINT (-39.007235 -3.361468)'))) / (select extract(epoch from '2026-08-10 16:58:59'::timestamp) - extract(epoch from '2026-08-10 16:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007212 -3.361469)'), GeomFromEWKT('SRID=4674;POINT (-39.007235 -3.361468)'))) / (select extract(epoch from '2026-08-10 16:58:59'::timestamp) - extract(epoch from '2026-08-10 16:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007283 -3.361447)', '2026-08-10 16:59:07', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007235 -3.361468)'), GeomFromEWKT('SRID=4674;POINT (-39.007283 -3.361447)'))) / (select extract(epoch from '2026-08-10 16:59:07'::timestamp) - extract(epoch from '2026-08-10 16:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007235 -3.361468)'), GeomFromEWKT('SRID=4674;POINT (-39.007283 -3.361447)'))) / (select extract(epoch from '2026-08-10 16:59:07'::timestamp) - extract(epoch from '2026-08-10 16:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007333 -3.361415)', '2026-08-10 16:59:17', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007283 -3.361447)'), GeomFromEWKT('SRID=4674;POINT (-39.007333 -3.361415)'))) / (select extract(epoch from '2026-08-10 16:59:17'::timestamp) - extract(epoch from '2026-08-10 16:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007283 -3.361447)'), GeomFromEWKT('SRID=4674;POINT (-39.007333 -3.361415)'))) / (select extract(epoch from '2026-08-10 16:59:17'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.00736 -3.3614)', '2026-08-10 16:59:25', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007333 -3.361415)'), GeomFromEWKT('SRID=4674;POINT (-39.00736 -3.3614)'))) / (select extract(epoch from '2026-08-10 16:59:25'::timestamp) - extract(epoch from '2026-08-10 16:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007333 -3.361415)'), GeomFromEWKT('SRID=4674;POINT (-39.00736 -3.3614)'))) / (select extract(epoch from '2026-08-10 16:59:25'::timestamp) - extract(epoch from '2026-08-10 16:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007382 -3.361392)', '2026-08-10 16:59:34', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00736 -3.3614)'), GeomFromEWKT('SRID=4674;POINT (-39.007382 -3.361392)'))) / (select extract(epoch from '2026-08-10 16:59:34'::timestamp) - extract(epoch from '2026-08-10 16:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00736 -3.3614)'), GeomFromEWKT('SRID=4674;POINT (-39.007382 -3.361392)'))) / (select extract(epoch from '2026-08-10 16:59:34'::timestamp) - extract(epoch from '2026-08-10 16:59: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'), 48138, 'SRID=4674;POINT (-39.00743 -3.361364)', '2026-08-10 16:59:44', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007382 -3.361392)'), GeomFromEWKT('SRID=4674;POINT (-39.00743 -3.361364)'))) / (select extract(epoch from '2026-08-10 16:59:44'::timestamp) - extract(epoch from '2026-08-10 16:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007382 -3.361392)'), GeomFromEWKT('SRID=4674;POINT (-39.00743 -3.361364)'))) / (select extract(epoch from '2026-08-10 16:59:44'::timestamp) - extract(epoch from '2026-08-10 16: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'), 48138, 'SRID=4674;POINT (-39.007482 -3.361339)', '2026-08-10 16:59:53', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00743 -3.361364)'), GeomFromEWKT('SRID=4674;POINT (-39.007482 -3.361339)'))) / (select extract(epoch from '2026-08-10 16:59:53'::timestamp) - extract(epoch from '2026-08-10 16:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00743 -3.361364)'), GeomFromEWKT('SRID=4674;POINT (-39.007482 -3.361339)'))) / (select extract(epoch from '2026-08-10 16:59:53'::timestamp) - extract(epoch from '2026-08-10 16:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007517 -3.361329)', '2026-08-10 16:59:59', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007482 -3.361339)'), GeomFromEWKT('SRID=4674;POINT (-39.007517 -3.361329)'))) / (select extract(epoch from '2026-08-10 16:59:59'::timestamp) - extract(epoch from '2026-08-10 16:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007482 -3.361339)'), GeomFromEWKT('SRID=4674;POINT (-39.007517 -3.361329)'))) / (select extract(epoch from '2026-08-10 16:59:59'::timestamp) - extract(epoch from '2026-08-10 16:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007548 -3.361318)', '2026-08-10 17:00:04', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007517 -3.361329)'), GeomFromEWKT('SRID=4674;POINT (-39.007548 -3.361318)'))) / (select extract(epoch from '2026-08-10 17:00:04'::timestamp) - extract(epoch from '2026-08-10 16:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007517 -3.361329)'), GeomFromEWKT('SRID=4674;POINT (-39.007548 -3.361318)'))) / (select extract(epoch from '2026-08-10 17:00:04'::timestamp) - extract(epoch from '2026-08-10 16:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007592 -3.361307)', '2026-08-10 17:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007548 -3.361318)'), GeomFromEWKT('SRID=4674;POINT (-39.007592 -3.361307)'))) / (select extract(epoch from '2026-08-10 17:00:12'::timestamp) - extract(epoch from '2026-08-10 17:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007548 -3.361318)'), GeomFromEWKT('SRID=4674;POINT (-39.007592 -3.361307)'))) / (select extract(epoch from '2026-08-10 17:00:12'::timestamp) - extract(epoch from '2026-08-10 17:00: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'), 48138, 'SRID=4674;POINT (-39.007641 -3.361308)', '2026-08-10 17:00:21', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007592 -3.361307)'), GeomFromEWKT('SRID=4674;POINT (-39.007641 -3.361308)'))) / (select extract(epoch from '2026-08-10 17:00:21'::timestamp) - extract(epoch from '2026-08-10 17:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007592 -3.361307)'), GeomFromEWKT('SRID=4674;POINT (-39.007641 -3.361308)'))) / (select extract(epoch from '2026-08-10 17:00:21'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.00768 -3.36129)', '2026-08-10 17:00:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007641 -3.361308)'), GeomFromEWKT('SRID=4674;POINT (-39.00768 -3.36129)'))) / (select extract(epoch from '2026-08-10 17:00:27'::timestamp) - extract(epoch from '2026-08-10 17:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007641 -3.361308)'), GeomFromEWKT('SRID=4674;POINT (-39.00768 -3.36129)'))) / (select extract(epoch from '2026-08-10 17:00:27'::timestamp) - extract(epoch from '2026-08-10 17:00: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'), 48138, 'SRID=4674;POINT (-39.007708 -3.361271)', '2026-08-10 17:00:34', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00768 -3.36129)'), GeomFromEWKT('SRID=4674;POINT (-39.007708 -3.361271)'))) / (select extract(epoch from '2026-08-10 17:00:34'::timestamp) - extract(epoch from '2026-08-10 17:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00768 -3.36129)'), GeomFromEWKT('SRID=4674;POINT (-39.007708 -3.361271)'))) / (select extract(epoch from '2026-08-10 17:00:34'::timestamp) - extract(epoch from '2026-08-10 17:00:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007751 -3.361262)', '2026-08-10 17:00:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007708 -3.361271)'), GeomFromEWKT('SRID=4674;POINT (-39.007751 -3.361262)'))) / (select extract(epoch from '2026-08-10 17:00:41'::timestamp) - extract(epoch from '2026-08-10 17:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007708 -3.361271)'), GeomFromEWKT('SRID=4674;POINT (-39.007751 -3.361262)'))) / (select extract(epoch from '2026-08-10 17:00:41'::timestamp) - extract(epoch from '2026-08-10 17:00: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'), 48138, 'SRID=4674;POINT (-39.007791 -3.361246)', '2026-08-10 17:00:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007751 -3.361262)'), GeomFromEWKT('SRID=4674;POINT (-39.007791 -3.361246)'))) / (select extract(epoch from '2026-08-10 17:00:50'::timestamp) - extract(epoch from '2026-08-10 17:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007751 -3.361262)'), GeomFromEWKT('SRID=4674;POINT (-39.007791 -3.361246)'))) / (select extract(epoch from '2026-08-10 17:00:50'::timestamp) - extract(epoch from '2026-08-10 17:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.007831 -3.361229)', '2026-08-10 17:00:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007791 -3.361246)'), GeomFromEWKT('SRID=4674;POINT (-39.007831 -3.361229)'))) / (select extract(epoch from '2026-08-10 17:00:58'::timestamp) - extract(epoch from '2026-08-10 17:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007791 -3.361246)'), GeomFromEWKT('SRID=4674;POINT (-39.007831 -3.361229)'))) / (select extract(epoch from '2026-08-10 17:00:58'::timestamp) - extract(epoch from '2026-08-10 17:00: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'), 48138, 'SRID=4674;POINT (-39.007889 -3.361224)', '2026-08-10 17:01:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007831 -3.361229)'), GeomFromEWKT('SRID=4674;POINT (-39.007889 -3.361224)'))) / (select extract(epoch from '2026-08-10 17:01:08'::timestamp) - extract(epoch from '2026-08-10 17:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007831 -3.361229)'), GeomFromEWKT('SRID=4674;POINT (-39.007889 -3.361224)'))) / (select extract(epoch from '2026-08-10 17:01:08'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.007932 -3.361213)', '2026-08-10 17:01:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007889 -3.361224)'), GeomFromEWKT('SRID=4674;POINT (-39.007932 -3.361213)'))) / (select extract(epoch from '2026-08-10 17:01:17'::timestamp) - extract(epoch from '2026-08-10 17:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007889 -3.361224)'), GeomFromEWKT('SRID=4674;POINT (-39.007932 -3.361213)'))) / (select extract(epoch from '2026-08-10 17:01:17'::timestamp) - extract(epoch from '2026-08-10 17:01: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'), 48138, 'SRID=4674;POINT (-39.007968 -3.361187)', '2026-08-10 17:01:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007932 -3.361213)'), GeomFromEWKT('SRID=4674;POINT (-39.007968 -3.361187)'))) / (select extract(epoch from '2026-08-10 17:01:25'::timestamp) - extract(epoch from '2026-08-10 17:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007932 -3.361213)'), GeomFromEWKT('SRID=4674;POINT (-39.007968 -3.361187)'))) / (select extract(epoch from '2026-08-10 17:01:25'::timestamp) - extract(epoch from '2026-08-10 17:01:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008008 -3.361154)', '2026-08-10 17:01:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007968 -3.361187)'), GeomFromEWKT('SRID=4674;POINT (-39.008008 -3.361154)'))) / (select extract(epoch from '2026-08-10 17:01:33'::timestamp) - extract(epoch from '2026-08-10 17:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007968 -3.361187)'), GeomFromEWKT('SRID=4674;POINT (-39.008008 -3.361154)'))) / (select extract(epoch from '2026-08-10 17:01:33'::timestamp) - extract(epoch from '2026-08-10 17:01:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008048 -3.361149)', '2026-08-10 17:01:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008008 -3.361154)'), GeomFromEWKT('SRID=4674;POINT (-39.008048 -3.361149)'))) / (select extract(epoch from '2026-08-10 17:01:41'::timestamp) - extract(epoch from '2026-08-10 17:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008008 -3.361154)'), GeomFromEWKT('SRID=4674;POINT (-39.008048 -3.361149)'))) / (select extract(epoch from '2026-08-10 17:01:41'::timestamp) - extract(epoch from '2026-08-10 17:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008101 -3.361125)', '2026-08-10 17:01:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008048 -3.361149)'), GeomFromEWKT('SRID=4674;POINT (-39.008101 -3.361125)'))) / (select extract(epoch from '2026-08-10 17:01:51'::timestamp) - extract(epoch from '2026-08-10 17:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008048 -3.361149)'), GeomFromEWKT('SRID=4674;POINT (-39.008101 -3.361125)'))) / (select extract(epoch from '2026-08-10 17:01:51'::timestamp) - extract(epoch from '2026-08-10 17:01: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'), 48138, 'SRID=4674;POINT (-39.008145 -3.361113)', '2026-08-10 17:01:59', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008101 -3.361125)'), GeomFromEWKT('SRID=4674;POINT (-39.008145 -3.361113)'))) / (select extract(epoch from '2026-08-10 17:01:59'::timestamp) - extract(epoch from '2026-08-10 17:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008101 -3.361125)'), GeomFromEWKT('SRID=4674;POINT (-39.008145 -3.361113)'))) / (select extract(epoch from '2026-08-10 17:01:59'::timestamp) - extract(epoch from '2026-08-10 17:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008171 -3.361097)', '2026-08-10 17:02:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008145 -3.361113)'), GeomFromEWKT('SRID=4674;POINT (-39.008171 -3.361097)'))) / (select extract(epoch from '2026-08-10 17:02:05'::timestamp) - extract(epoch from '2026-08-10 17:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008145 -3.361113)'), GeomFromEWKT('SRID=4674;POINT (-39.008171 -3.361097)'))) / (select extract(epoch from '2026-08-10 17:02:05'::timestamp) - extract(epoch from '2026-08-10 17:01:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008191 -3.361089)', '2026-08-10 17:02:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008171 -3.361097)'), GeomFromEWKT('SRID=4674;POINT (-39.008191 -3.361089)'))) / (select extract(epoch from '2026-08-10 17:02:07'::timestamp) - extract(epoch from '2026-08-10 17:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008171 -3.361097)'), GeomFromEWKT('SRID=4674;POINT (-39.008191 -3.361089)'))) / (select extract(epoch from '2026-08-10 17:02:07'::timestamp) - extract(epoch from '2026-08-10 17:02: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'), 48138, 'SRID=4674;POINT (-39.00822 -3.361071)', '2026-08-10 17:02:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008191 -3.361089)'), GeomFromEWKT('SRID=4674;POINT (-39.00822 -3.361071)'))) / (select extract(epoch from '2026-08-10 17:02:13'::timestamp) - extract(epoch from '2026-08-10 17:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008191 -3.361089)'), GeomFromEWKT('SRID=4674;POINT (-39.00822 -3.361071)'))) / (select extract(epoch from '2026-08-10 17:02:13'::timestamp) - extract(epoch from '2026-08-10 17:02: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'), 48138, 'SRID=4674;POINT (-39.008254 -3.361064)', '2026-08-10 17:02:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00822 -3.361071)'), GeomFromEWKT('SRID=4674;POINT (-39.008254 -3.361064)'))) / (select extract(epoch from '2026-08-10 17:02:20'::timestamp) - extract(epoch from '2026-08-10 17:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00822 -3.361071)'), GeomFromEWKT('SRID=4674;POINT (-39.008254 -3.361064)'))) / (select extract(epoch from '2026-08-10 17:02:20'::timestamp) - extract(epoch from '2026-08-10 17:02: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'), 48138, 'SRID=4674;POINT (-39.008294 -3.361051)', '2026-08-10 17:02:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008254 -3.361064)'), GeomFromEWKT('SRID=4674;POINT (-39.008294 -3.361051)'))) / (select extract(epoch from '2026-08-10 17:02:29'::timestamp) - extract(epoch from '2026-08-10 17:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008254 -3.361064)'), GeomFromEWKT('SRID=4674;POINT (-39.008294 -3.361051)'))) / (select extract(epoch from '2026-08-10 17:02:29'::timestamp) - extract(epoch from '2026-08-10 17:02: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'), 48138, 'SRID=4674;POINT (-39.008348 -3.36103)', '2026-08-10 17:02:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008294 -3.361051)'), GeomFromEWKT('SRID=4674;POINT (-39.008348 -3.36103)'))) / (select extract(epoch from '2026-08-10 17:02:39'::timestamp) - extract(epoch from '2026-08-10 17:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008294 -3.361051)'), GeomFromEWKT('SRID=4674;POINT (-39.008348 -3.36103)'))) / (select extract(epoch from '2026-08-10 17:02:39'::timestamp) - extract(epoch from '2026-08-10 17:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008386 -3.361011)', '2026-08-10 17:02:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008348 -3.36103)'), GeomFromEWKT('SRID=4674;POINT (-39.008386 -3.361011)'))) / (select extract(epoch from '2026-08-10 17:02:47'::timestamp) - extract(epoch from '2026-08-10 17:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008348 -3.36103)'), GeomFromEWKT('SRID=4674;POINT (-39.008386 -3.361011)'))) / (select extract(epoch from '2026-08-10 17:02:47'::timestamp) - extract(epoch from '2026-08-10 17:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008414 -3.360991)', '2026-08-10 17:02:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008386 -3.361011)'), GeomFromEWKT('SRID=4674;POINT (-39.008414 -3.360991)'))) / (select extract(epoch from '2026-08-10 17:02:54'::timestamp) - extract(epoch from '2026-08-10 17:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008386 -3.361011)'), GeomFromEWKT('SRID=4674;POINT (-39.008414 -3.360991)'))) / (select extract(epoch from '2026-08-10 17:02:54'::timestamp) - extract(epoch from '2026-08-10 17:02: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'), 48138, 'SRID=4674;POINT (-39.008437 -3.360976)', '2026-08-10 17:02:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008414 -3.360991)'), GeomFromEWKT('SRID=4674;POINT (-39.008437 -3.360976)'))) / (select extract(epoch from '2026-08-10 17:02:58'::timestamp) - extract(epoch from '2026-08-10 17:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008414 -3.360991)'), GeomFromEWKT('SRID=4674;POINT (-39.008437 -3.360976)'))) / (select extract(epoch from '2026-08-10 17:02:58'::timestamp) - extract(epoch from '2026-08-10 17:02: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'), 48138, 'SRID=4674;POINT (-39.008452 -3.360968)', '2026-08-10 17:03:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008437 -3.360976)'), GeomFromEWKT('SRID=4674;POINT (-39.008452 -3.360968)'))) / (select extract(epoch from '2026-08-10 17:03:01'::timestamp) - extract(epoch from '2026-08-10 17:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008437 -3.360976)'), GeomFromEWKT('SRID=4674;POINT (-39.008452 -3.360968)'))) / (select extract(epoch from '2026-08-10 17:03:01'::timestamp) - extract(epoch from '2026-08-10 17:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008485 -3.360951)', '2026-08-10 17:03:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008452 -3.360968)'), GeomFromEWKT('SRID=4674;POINT (-39.008485 -3.360951)'))) / (select extract(epoch from '2026-08-10 17:03:09'::timestamp) - extract(epoch from '2026-08-10 17:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008452 -3.360968)'), GeomFromEWKT('SRID=4674;POINT (-39.008485 -3.360951)'))) / (select extract(epoch from '2026-08-10 17:03:09'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.008528 -3.360928)', '2026-08-10 17:03:17', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008485 -3.360951)'), GeomFromEWKT('SRID=4674;POINT (-39.008528 -3.360928)'))) / (select extract(epoch from '2026-08-10 17:03:17'::timestamp) - extract(epoch from '2026-08-10 17:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008485 -3.360951)'), GeomFromEWKT('SRID=4674;POINT (-39.008528 -3.360928)'))) / (select extract(epoch from '2026-08-10 17:03:17'::timestamp) - extract(epoch from '2026-08-10 17:03: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'), 48138, 'SRID=4674;POINT (-39.008553 -3.360912)', '2026-08-10 17:03:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008528 -3.360928)'), GeomFromEWKT('SRID=4674;POINT (-39.008553 -3.360912)'))) / (select extract(epoch from '2026-08-10 17:03:22'::timestamp) - extract(epoch from '2026-08-10 17:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008528 -3.360928)'), GeomFromEWKT('SRID=4674;POINT (-39.008553 -3.360912)'))) / (select extract(epoch from '2026-08-10 17:03:22'::timestamp) - extract(epoch from '2026-08-10 17:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008575 -3.360899)', '2026-08-10 17:03:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008553 -3.360912)'), GeomFromEWKT('SRID=4674;POINT (-39.008575 -3.360899)'))) / (select extract(epoch from '2026-08-10 17:03:29'::timestamp) - extract(epoch from '2026-08-10 17:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008553 -3.360912)'), GeomFromEWKT('SRID=4674;POINT (-39.008575 -3.360899)'))) / (select extract(epoch from '2026-08-10 17:03:29'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.008584 -3.360902)', '2026-08-10 17:03:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008575 -3.360899)'), GeomFromEWKT('SRID=4674;POINT (-39.008584 -3.360902)'))) / (select extract(epoch from '2026-08-10 17:03:34'::timestamp) - extract(epoch from '2026-08-10 17:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008575 -3.360899)'), GeomFromEWKT('SRID=4674;POINT (-39.008584 -3.360902)'))) / (select extract(epoch from '2026-08-10 17:03:34'::timestamp) - extract(epoch from '2026-08-10 17:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008633 -3.360876)', '2026-08-10 17:03:42', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008584 -3.360902)'), GeomFromEWKT('SRID=4674;POINT (-39.008633 -3.360876)'))) / (select extract(epoch from '2026-08-10 17:03:42'::timestamp) - extract(epoch from '2026-08-10 17:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008584 -3.360902)'), GeomFromEWKT('SRID=4674;POINT (-39.008633 -3.360876)'))) / (select extract(epoch from '2026-08-10 17:03:42'::timestamp) - extract(epoch from '2026-08-10 17:03: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'), 48138, 'SRID=4674;POINT (-39.008688 -3.360858)', '2026-08-10 17:03:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008633 -3.360876)'), GeomFromEWKT('SRID=4674;POINT (-39.008688 -3.360858)'))) / (select extract(epoch from '2026-08-10 17:03:49'::timestamp) - extract(epoch from '2026-08-10 17:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008633 -3.360876)'), GeomFromEWKT('SRID=4674;POINT (-39.008688 -3.360858)'))) / (select extract(epoch from '2026-08-10 17:03:49'::timestamp) - extract(epoch from '2026-08-10 17:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.008725 -3.360829)', '2026-08-10 17:03:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008688 -3.360858)'), GeomFromEWKT('SRID=4674;POINT (-39.008725 -3.360829)'))) / (select extract(epoch from '2026-08-10 17:03:59'::timestamp) - extract(epoch from '2026-08-10 17:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008688 -3.360858)'), GeomFromEWKT('SRID=4674;POINT (-39.008725 -3.360829)'))) / (select extract(epoch from '2026-08-10 17:03:59'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.008778 -3.360812)', '2026-08-10 17:04:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008725 -3.360829)'), GeomFromEWKT('SRID=4674;POINT (-39.008778 -3.360812)'))) / (select extract(epoch from '2026-08-10 17:04:06'::timestamp) - extract(epoch from '2026-08-10 17:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008725 -3.360829)'), GeomFromEWKT('SRID=4674;POINT (-39.008778 -3.360812)'))) / (select extract(epoch from '2026-08-10 17:04:06'::timestamp) - extract(epoch from '2026-08-10 17:03: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'), 48138, 'SRID=4674;POINT (-39.008801 -3.360805)', '2026-08-10 17:04:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008778 -3.360812)'), GeomFromEWKT('SRID=4674;POINT (-39.008801 -3.360805)'))) / (select extract(epoch from '2026-08-10 17:04:12'::timestamp) - extract(epoch from '2026-08-10 17:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008778 -3.360812)'), GeomFromEWKT('SRID=4674;POINT (-39.008801 -3.360805)'))) / (select extract(epoch from '2026-08-10 17:04:12'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.008849 -3.360777)', '2026-08-10 17:04:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008801 -3.360805)'), GeomFromEWKT('SRID=4674;POINT (-39.008849 -3.360777)'))) / (select extract(epoch from '2026-08-10 17:04:21'::timestamp) - extract(epoch from '2026-08-10 17:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008801 -3.360805)'), GeomFromEWKT('SRID=4674;POINT (-39.008849 -3.360777)'))) / (select extract(epoch from '2026-08-10 17:04:21'::timestamp) - extract(epoch from '2026-08-10 17:04: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'), 48138, 'SRID=4674;POINT (-39.008885 -3.36077)', '2026-08-10 17:04:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008849 -3.360777)'), GeomFromEWKT('SRID=4674;POINT (-39.008885 -3.36077)'))) / (select extract(epoch from '2026-08-10 17:04:28'::timestamp) - extract(epoch from '2026-08-10 17:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008849 -3.360777)'), GeomFromEWKT('SRID=4674;POINT (-39.008885 -3.36077)'))) / (select extract(epoch from '2026-08-10 17:04:28'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.00892 -3.360753)', '2026-08-10 17:04:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008885 -3.36077)'), GeomFromEWKT('SRID=4674;POINT (-39.00892 -3.360753)'))) / (select extract(epoch from '2026-08-10 17:04:37'::timestamp) - extract(epoch from '2026-08-10 17:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008885 -3.36077)'), GeomFromEWKT('SRID=4674;POINT (-39.00892 -3.360753)'))) / (select extract(epoch from '2026-08-10 17:04:37'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.008963 -3.360732)', '2026-08-10 17:04:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00892 -3.360753)'), GeomFromEWKT('SRID=4674;POINT (-39.008963 -3.360732)'))) / (select extract(epoch from '2026-08-10 17:04:46'::timestamp) - extract(epoch from '2026-08-10 17:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00892 -3.360753)'), GeomFromEWKT('SRID=4674;POINT (-39.008963 -3.360732)'))) / (select extract(epoch from '2026-08-10 17:04:46'::timestamp) - extract(epoch from '2026-08-10 17:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00897 -3.360733)', '2026-08-10 17:04:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008963 -3.360732)'), GeomFromEWKT('SRID=4674;POINT (-39.00897 -3.360733)'))) / (select extract(epoch from '2026-08-10 17:04:47'::timestamp) - extract(epoch from '2026-08-10 17:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008963 -3.360732)'), GeomFromEWKT('SRID=4674;POINT (-39.00897 -3.360733)'))) / (select extract(epoch from '2026-08-10 17:04:47'::timestamp) - extract(epoch from '2026-08-10 17:04: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'), 48138, 'SRID=4674;POINT (-39.009006 -3.360722)', '2026-08-10 17:04:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00897 -3.360733)'), GeomFromEWKT('SRID=4674;POINT (-39.009006 -3.360722)'))) / (select extract(epoch from '2026-08-10 17:04:52'::timestamp) - extract(epoch from '2026-08-10 17:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00897 -3.360733)'), GeomFromEWKT('SRID=4674;POINT (-39.009006 -3.360722)'))) / (select extract(epoch from '2026-08-10 17:04:52'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.009043 -3.360702)', '2026-08-10 17:05:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009006 -3.360722)'), GeomFromEWKT('SRID=4674;POINT (-39.009043 -3.360702)'))) / (select extract(epoch from '2026-08-10 17:05:01'::timestamp) - extract(epoch from '2026-08-10 17:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009006 -3.360722)'), GeomFromEWKT('SRID=4674;POINT (-39.009043 -3.360702)'))) / (select extract(epoch from '2026-08-10 17:05:01'::timestamp) - extract(epoch from '2026-08-10 17:04: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'), 48138, 'SRID=4674;POINT (-39.009086 -3.360688)', '2026-08-10 17:05:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009043 -3.360702)'), GeomFromEWKT('SRID=4674;POINT (-39.009086 -3.360688)'))) / (select extract(epoch from '2026-08-10 17:05:09'::timestamp) - extract(epoch from '2026-08-10 17:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009043 -3.360702)'), GeomFromEWKT('SRID=4674;POINT (-39.009086 -3.360688)'))) / (select extract(epoch from '2026-08-10 17:05:09'::timestamp) - extract(epoch from '2026-08-10 17:05: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'), 48138, 'SRID=4674;POINT (-39.009116 -3.360672)', '2026-08-10 17:05:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009086 -3.360688)'), GeomFromEWKT('SRID=4674;POINT (-39.009116 -3.360672)'))) / (select extract(epoch from '2026-08-10 17:05:16'::timestamp) - extract(epoch from '2026-08-10 17:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009086 -3.360688)'), GeomFromEWKT('SRID=4674;POINT (-39.009116 -3.360672)'))) / (select extract(epoch from '2026-08-10 17:05:16'::timestamp) - extract(epoch from '2026-08-10 17:05: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'), 48138, 'SRID=4674;POINT (-39.009154 -3.360645)', '2026-08-10 17:05:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009116 -3.360672)'), GeomFromEWKT('SRID=4674;POINT (-39.009154 -3.360645)'))) / (select extract(epoch from '2026-08-10 17:05:23'::timestamp) - extract(epoch from '2026-08-10 17:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009116 -3.360672)'), GeomFromEWKT('SRID=4674;POINT (-39.009154 -3.360645)'))) / (select extract(epoch from '2026-08-10 17:05:23'::timestamp) - extract(epoch from '2026-08-10 17:05: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'), 48138, 'SRID=4674;POINT (-39.009171 -3.360641)', '2026-08-10 17:05:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009154 -3.360645)'), GeomFromEWKT('SRID=4674;POINT (-39.009171 -3.360641)'))) / (select extract(epoch from '2026-08-10 17:05:26'::timestamp) - extract(epoch from '2026-08-10 17:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009154 -3.360645)'), GeomFromEWKT('SRID=4674;POINT (-39.009171 -3.360641)'))) / (select extract(epoch from '2026-08-10 17:05:26'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.009194 -3.360634)', '2026-08-10 17:05:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009171 -3.360641)'), GeomFromEWKT('SRID=4674;POINT (-39.009194 -3.360634)'))) / (select extract(epoch from '2026-08-10 17:05:28'::timestamp) - extract(epoch from '2026-08-10 17:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009171 -3.360641)'), GeomFromEWKT('SRID=4674;POINT (-39.009194 -3.360634)'))) / (select extract(epoch from '2026-08-10 17:05:28'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.009218 -3.36063)', '2026-08-10 17:05:32', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009194 -3.360634)'), GeomFromEWKT('SRID=4674;POINT (-39.009218 -3.36063)'))) / (select extract(epoch from '2026-08-10 17:05:32'::timestamp) - extract(epoch from '2026-08-10 17:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009194 -3.360634)'), GeomFromEWKT('SRID=4674;POINT (-39.009218 -3.36063)'))) / (select extract(epoch from '2026-08-10 17:05:32'::timestamp) - extract(epoch from '2026-08-10 17:05: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'), 48138, 'SRID=4674;POINT (-39.009246 -3.360622)', '2026-08-10 17:05:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009218 -3.36063)'), GeomFromEWKT('SRID=4674;POINT (-39.009246 -3.360622)'))) / (select extract(epoch from '2026-08-10 17:05:36'::timestamp) - extract(epoch from '2026-08-10 17:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009218 -3.36063)'), GeomFromEWKT('SRID=4674;POINT (-39.009246 -3.360622)'))) / (select extract(epoch from '2026-08-10 17:05:36'::timestamp) - extract(epoch from '2026-08-10 17:05: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'), 48138, 'SRID=4674;POINT (-39.009261 -3.36062)', '2026-08-10 17:05:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009246 -3.360622)'), GeomFromEWKT('SRID=4674;POINT (-39.009261 -3.36062)'))) / (select extract(epoch from '2026-08-10 17:05:40'::timestamp) - extract(epoch from '2026-08-10 17:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009246 -3.360622)'), GeomFromEWKT('SRID=4674;POINT (-39.009261 -3.36062)'))) / (select extract(epoch from '2026-08-10 17:05:40'::timestamp) - extract(epoch from '2026-08-10 17:05: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'), 48138, 'SRID=4674;POINT (-39.009291 -3.360603)', '2026-08-10 17:05:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009261 -3.36062)'), GeomFromEWKT('SRID=4674;POINT (-39.009291 -3.360603)'))) / (select extract(epoch from '2026-08-10 17:05:48'::timestamp) - extract(epoch from '2026-08-10 17:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009261 -3.36062)'), GeomFromEWKT('SRID=4674;POINT (-39.009291 -3.360603)'))) / (select extract(epoch from '2026-08-10 17:05:48'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.009341 -3.360575)', '2026-08-10 17:06:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009291 -3.360603)'), GeomFromEWKT('SRID=4674;POINT (-39.009341 -3.360575)'))) / (select extract(epoch from '2026-08-10 17:06:00'::timestamp) - extract(epoch from '2026-08-10 17:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009291 -3.360603)'), GeomFromEWKT('SRID=4674;POINT (-39.009341 -3.360575)'))) / (select extract(epoch from '2026-08-10 17:06:00'::timestamp) - extract(epoch from '2026-08-10 17:05:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009364 -3.360551)', '2026-08-10 17:06:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009341 -3.360575)'), GeomFromEWKT('SRID=4674;POINT (-39.009364 -3.360551)'))) / (select extract(epoch from '2026-08-10 17:06:07'::timestamp) - extract(epoch from '2026-08-10 17:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009341 -3.360575)'), GeomFromEWKT('SRID=4674;POINT (-39.009364 -3.360551)'))) / (select extract(epoch from '2026-08-10 17:06:07'::timestamp) - extract(epoch from '2026-08-10 17:06: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'), 48138, 'SRID=4674;POINT (-39.009403 -3.360536)', '2026-08-10 17:06:15', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009364 -3.360551)'), GeomFromEWKT('SRID=4674;POINT (-39.009403 -3.360536)'))) / (select extract(epoch from '2026-08-10 17:06:15'::timestamp) - extract(epoch from '2026-08-10 17:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009364 -3.360551)'), GeomFromEWKT('SRID=4674;POINT (-39.009403 -3.360536)'))) / (select extract(epoch from '2026-08-10 17:06:15'::timestamp) - extract(epoch from '2026-08-10 17:06:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009436 -3.360522)', '2026-08-10 17:06:21', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009403 -3.360536)'), GeomFromEWKT('SRID=4674;POINT (-39.009436 -3.360522)'))) / (select extract(epoch from '2026-08-10 17:06:21'::timestamp) - extract(epoch from '2026-08-10 17:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009403 -3.360536)'), GeomFromEWKT('SRID=4674;POINT (-39.009436 -3.360522)'))) / (select extract(epoch from '2026-08-10 17:06:21'::timestamp) - extract(epoch from '2026-08-10 17:06: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'), 48138, 'SRID=4674;POINT (-39.009476 -3.360527)', '2026-08-10 17:06:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009436 -3.360522)'), GeomFromEWKT('SRID=4674;POINT (-39.009476 -3.360527)'))) / (select extract(epoch from '2026-08-10 17:06:26'::timestamp) - extract(epoch from '2026-08-10 17:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009436 -3.360522)'), GeomFromEWKT('SRID=4674;POINT (-39.009476 -3.360527)'))) / (select extract(epoch from '2026-08-10 17:06:26'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.009514 -3.360511)', '2026-08-10 17:06:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009476 -3.360527)'), GeomFromEWKT('SRID=4674;POINT (-39.009514 -3.360511)'))) / (select extract(epoch from '2026-08-10 17:06:32'::timestamp) - extract(epoch from '2026-08-10 17:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009476 -3.360527)'), GeomFromEWKT('SRID=4674;POINT (-39.009514 -3.360511)'))) / (select extract(epoch from '2026-08-10 17:06:32'::timestamp) - extract(epoch from '2026-08-10 17:06: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'), 48138, 'SRID=4674;POINT (-39.009524 -3.360496)', '2026-08-10 17:06:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009514 -3.360511)'), GeomFromEWKT('SRID=4674;POINT (-39.009524 -3.360496)'))) / (select extract(epoch from '2026-08-10 17:06:39'::timestamp) - extract(epoch from '2026-08-10 17:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009514 -3.360511)'), GeomFromEWKT('SRID=4674;POINT (-39.009524 -3.360496)'))) / (select extract(epoch from '2026-08-10 17:06:39'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.009551 -3.360477)', '2026-08-10 17:06:44', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009524 -3.360496)'), GeomFromEWKT('SRID=4674;POINT (-39.009551 -3.360477)'))) / (select extract(epoch from '2026-08-10 17:06:44'::timestamp) - extract(epoch from '2026-08-10 17:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009524 -3.360496)'), GeomFromEWKT('SRID=4674;POINT (-39.009551 -3.360477)'))) / (select extract(epoch from '2026-08-10 17:06:44'::timestamp) - extract(epoch from '2026-08-10 17:06:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009577 -3.360473)', '2026-08-10 17:06:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009551 -3.360477)'), GeomFromEWKT('SRID=4674;POINT (-39.009577 -3.360473)'))) / (select extract(epoch from '2026-08-10 17:06:46'::timestamp) - extract(epoch from '2026-08-10 17:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009551 -3.360477)'), GeomFromEWKT('SRID=4674;POINT (-39.009577 -3.360473)'))) / (select extract(epoch from '2026-08-10 17:06:46'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.009602 -3.360465)', '2026-08-10 17:06:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009577 -3.360473)'), GeomFromEWKT('SRID=4674;POINT (-39.009602 -3.360465)'))) / (select extract(epoch from '2026-08-10 17:06:53'::timestamp) - extract(epoch from '2026-08-10 17:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009577 -3.360473)'), GeomFromEWKT('SRID=4674;POINT (-39.009602 -3.360465)'))) / (select extract(epoch from '2026-08-10 17:06:53'::timestamp) - extract(epoch from '2026-08-10 17:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009649 -3.360444)', '2026-08-10 17:07:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009602 -3.360465)'), GeomFromEWKT('SRID=4674;POINT (-39.009649 -3.360444)'))) / (select extract(epoch from '2026-08-10 17:07:01'::timestamp) - extract(epoch from '2026-08-10 17:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009602 -3.360465)'), GeomFromEWKT('SRID=4674;POINT (-39.009649 -3.360444)'))) / (select extract(epoch from '2026-08-10 17:07:01'::timestamp) - extract(epoch from '2026-08-10 17:06: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'), 48138, 'SRID=4674;POINT (-39.009685 -3.360425)', '2026-08-10 17:07:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009649 -3.360444)'), GeomFromEWKT('SRID=4674;POINT (-39.009685 -3.360425)'))) / (select extract(epoch from '2026-08-10 17:07:08'::timestamp) - extract(epoch from '2026-08-10 17:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009649 -3.360444)'), GeomFromEWKT('SRID=4674;POINT (-39.009685 -3.360425)'))) / (select extract(epoch from '2026-08-10 17:07:08'::timestamp) - extract(epoch from '2026-08-10 17:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009728 -3.360398)', '2026-08-10 17:07:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009685 -3.360425)'), GeomFromEWKT('SRID=4674;POINT (-39.009728 -3.360398)'))) / (select extract(epoch from '2026-08-10 17:07:17'::timestamp) - extract(epoch from '2026-08-10 17:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009685 -3.360425)'), GeomFromEWKT('SRID=4674;POINT (-39.009728 -3.360398)'))) / (select extract(epoch from '2026-08-10 17:07:17'::timestamp) - extract(epoch from '2026-08-10 17:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009758 -3.360384)', '2026-08-10 17:07:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009728 -3.360398)'), GeomFromEWKT('SRID=4674;POINT (-39.009758 -3.360384)'))) / (select extract(epoch from '2026-08-10 17:07:23'::timestamp) - extract(epoch from '2026-08-10 17:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009728 -3.360398)'), GeomFromEWKT('SRID=4674;POINT (-39.009758 -3.360384)'))) / (select extract(epoch from '2026-08-10 17:07:23'::timestamp) - extract(epoch from '2026-08-10 17:07:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.00979 -3.360374)', '2026-08-10 17:07:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009758 -3.360384)'), GeomFromEWKT('SRID=4674;POINT (-39.00979 -3.360374)'))) / (select extract(epoch from '2026-08-10 17:07:31'::timestamp) - extract(epoch from '2026-08-10 17:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009758 -3.360384)'), GeomFromEWKT('SRID=4674;POINT (-39.00979 -3.360374)'))) / (select extract(epoch from '2026-08-10 17:07:31'::timestamp) - extract(epoch from '2026-08-10 17:07: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'), 48138, 'SRID=4674;POINT (-39.009831 -3.360347)', '2026-08-10 17:07:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00979 -3.360374)'), GeomFromEWKT('SRID=4674;POINT (-39.009831 -3.360347)'))) / (select extract(epoch from '2026-08-10 17:07:39'::timestamp) - extract(epoch from '2026-08-10 17:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00979 -3.360374)'), GeomFromEWKT('SRID=4674;POINT (-39.009831 -3.360347)'))) / (select extract(epoch from '2026-08-10 17:07:39'::timestamp) - extract(epoch from '2026-08-10 17:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009859 -3.360333)', '2026-08-10 17:07:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009831 -3.360347)'), GeomFromEWKT('SRID=4674;POINT (-39.009859 -3.360333)'))) / (select extract(epoch from '2026-08-10 17:07:45'::timestamp) - extract(epoch from '2026-08-10 17:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009831 -3.360347)'), GeomFromEWKT('SRID=4674;POINT (-39.009859 -3.360333)'))) / (select extract(epoch from '2026-08-10 17:07:45'::timestamp) - extract(epoch from '2026-08-10 17:07: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'), 48138, 'SRID=4674;POINT (-39.009904 -3.360321)', '2026-08-10 17:07:52', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009859 -3.360333)'), GeomFromEWKT('SRID=4674;POINT (-39.009904 -3.360321)'))) / (select extract(epoch from '2026-08-10 17:07:52'::timestamp) - extract(epoch from '2026-08-10 17:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009859 -3.360333)'), GeomFromEWKT('SRID=4674;POINT (-39.009904 -3.360321)'))) / (select extract(epoch from '2026-08-10 17:07:52'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.009935 -3.360299)', '2026-08-10 17:08:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009904 -3.360321)'), GeomFromEWKT('SRID=4674;POINT (-39.009935 -3.360299)'))) / (select extract(epoch from '2026-08-10 17:08:00'::timestamp) - extract(epoch from '2026-08-10 17:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009904 -3.360321)'), GeomFromEWKT('SRID=4674;POINT (-39.009935 -3.360299)'))) / (select extract(epoch from '2026-08-10 17:08:00'::timestamp) - extract(epoch from '2026-08-10 17:07:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.009951 -3.360283)', '2026-08-10 17:08:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009935 -3.360299)'), GeomFromEWKT('SRID=4674;POINT (-39.009951 -3.360283)'))) / (select extract(epoch from '2026-08-10 17:08:04'::timestamp) - extract(epoch from '2026-08-10 17:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009935 -3.360299)'), GeomFromEWKT('SRID=4674;POINT (-39.009951 -3.360283)'))) / (select extract(epoch from '2026-08-10 17:08:04'::timestamp) - extract(epoch from '2026-08-10 17:08: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'), 48138, 'SRID=4674;POINT (-39.009993 -3.360269)', '2026-08-10 17:08:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009951 -3.360283)'), GeomFromEWKT('SRID=4674;POINT (-39.009993 -3.360269)'))) / (select extract(epoch from '2026-08-10 17:08:11'::timestamp) - extract(epoch from '2026-08-10 17:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009951 -3.360283)'), GeomFromEWKT('SRID=4674;POINT (-39.009993 -3.360269)'))) / (select extract(epoch from '2026-08-10 17:08:11'::timestamp) - extract(epoch from '2026-08-10 17:08:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010052 -3.360251)', '2026-08-10 17:08:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009993 -3.360269)'), GeomFromEWKT('SRID=4674;POINT (-39.010052 -3.360251)'))) / (select extract(epoch from '2026-08-10 17:08:21'::timestamp) - extract(epoch from '2026-08-10 17:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009993 -3.360269)'), GeomFromEWKT('SRID=4674;POINT (-39.010052 -3.360251)'))) / (select extract(epoch from '2026-08-10 17:08:21'::timestamp) - extract(epoch from '2026-08-10 17:08:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010104 -3.360218)', '2026-08-10 17:08:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010052 -3.360251)'), GeomFromEWKT('SRID=4674;POINT (-39.010104 -3.360218)'))) / (select extract(epoch from '2026-08-10 17:08:30'::timestamp) - extract(epoch from '2026-08-10 17:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010052 -3.360251)'), GeomFromEWKT('SRID=4674;POINT (-39.010104 -3.360218)'))) / (select extract(epoch from '2026-08-10 17:08:30'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.010132 -3.360202)', '2026-08-10 17:08:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010104 -3.360218)'), GeomFromEWKT('SRID=4674;POINT (-39.010132 -3.360202)'))) / (select extract(epoch from '2026-08-10 17:08:36'::timestamp) - extract(epoch from '2026-08-10 17:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010104 -3.360218)'), GeomFromEWKT('SRID=4674;POINT (-39.010132 -3.360202)'))) / (select extract(epoch from '2026-08-10 17:08:36'::timestamp) - extract(epoch from '2026-08-10 17:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01018 -3.360189)', '2026-08-10 17:08:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010132 -3.360202)'), GeomFromEWKT('SRID=4674;POINT (-39.01018 -3.360189)'))) / (select extract(epoch from '2026-08-10 17:08:45'::timestamp) - extract(epoch from '2026-08-10 17:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010132 -3.360202)'), GeomFromEWKT('SRID=4674;POINT (-39.01018 -3.360189)'))) / (select extract(epoch from '2026-08-10 17:08:45'::timestamp) - extract(epoch from '2026-08-10 17:08: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'), 48138, 'SRID=4674;POINT (-39.010218 -3.360179)', '2026-08-10 17:08:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01018 -3.360189)'), GeomFromEWKT('SRID=4674;POINT (-39.010218 -3.360179)'))) / (select extract(epoch from '2026-08-10 17:08:54'::timestamp) - extract(epoch from '2026-08-10 17:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01018 -3.360189)'), GeomFromEWKT('SRID=4674;POINT (-39.010218 -3.360179)'))) / (select extract(epoch from '2026-08-10 17:08:54'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.010262 -3.36016)', '2026-08-10 17:09:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010218 -3.360179)'), GeomFromEWKT('SRID=4674;POINT (-39.010262 -3.36016)'))) / (select extract(epoch from '2026-08-10 17:09:03'::timestamp) - extract(epoch from '2026-08-10 17:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010218 -3.360179)'), GeomFromEWKT('SRID=4674;POINT (-39.010262 -3.36016)'))) / (select extract(epoch from '2026-08-10 17:09:03'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.010291 -3.360137)', '2026-08-10 17:09:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010262 -3.36016)'), GeomFromEWKT('SRID=4674;POINT (-39.010291 -3.360137)'))) / (select extract(epoch from '2026-08-10 17:09:11'::timestamp) - extract(epoch from '2026-08-10 17:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010262 -3.36016)'), GeomFromEWKT('SRID=4674;POINT (-39.010291 -3.360137)'))) / (select extract(epoch from '2026-08-10 17:09:11'::timestamp) - extract(epoch from '2026-08-10 17:09: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'), 48138, 'SRID=4674;POINT (-39.010328 -3.360125)', '2026-08-10 17:09:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010291 -3.360137)'), GeomFromEWKT('SRID=4674;POINT (-39.010328 -3.360125)'))) / (select extract(epoch from '2026-08-10 17:09:19'::timestamp) - extract(epoch from '2026-08-10 17:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010291 -3.360137)'), GeomFromEWKT('SRID=4674;POINT (-39.010328 -3.360125)'))) / (select extract(epoch from '2026-08-10 17:09:19'::timestamp) - extract(epoch from '2026-08-10 17:09: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'), 48138, 'SRID=4674;POINT (-39.010355 -3.36011)', '2026-08-10 17:09:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010328 -3.360125)'), GeomFromEWKT('SRID=4674;POINT (-39.010355 -3.36011)'))) / (select extract(epoch from '2026-08-10 17:09:26'::timestamp) - extract(epoch from '2026-08-10 17:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010328 -3.360125)'), GeomFromEWKT('SRID=4674;POINT (-39.010355 -3.36011)'))) / (select extract(epoch from '2026-08-10 17:09:26'::timestamp) - extract(epoch from '2026-08-10 17:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010397 -3.360092)', '2026-08-10 17:09:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010355 -3.36011)'), GeomFromEWKT('SRID=4674;POINT (-39.010397 -3.360092)'))) / (select extract(epoch from '2026-08-10 17:09:34'::timestamp) - extract(epoch from '2026-08-10 17:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010355 -3.36011)'), GeomFromEWKT('SRID=4674;POINT (-39.010397 -3.360092)'))) / (select extract(epoch from '2026-08-10 17:09:34'::timestamp) - extract(epoch from '2026-08-10 17:09: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'), 48138, 'SRID=4674;POINT (-39.010446 -3.360084)', '2026-08-10 17:09:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010397 -3.360092)'), GeomFromEWKT('SRID=4674;POINT (-39.010446 -3.360084)'))) / (select extract(epoch from '2026-08-10 17:09:41'::timestamp) - extract(epoch from '2026-08-10 17:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010397 -3.360092)'), GeomFromEWKT('SRID=4674;POINT (-39.010446 -3.360084)'))) / (select extract(epoch from '2026-08-10 17:09:41'::timestamp) - extract(epoch from '2026-08-10 17:09: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'), 48138, 'SRID=4674;POINT (-39.010477 -3.360068)', '2026-08-10 17:09:47', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010446 -3.360084)'), GeomFromEWKT('SRID=4674;POINT (-39.010477 -3.360068)'))) / (select extract(epoch from '2026-08-10 17:09:47'::timestamp) - extract(epoch from '2026-08-10 17:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010446 -3.360084)'), GeomFromEWKT('SRID=4674;POINT (-39.010477 -3.360068)'))) / (select extract(epoch from '2026-08-10 17:09:47'::timestamp) - extract(epoch from '2026-08-10 17:09: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'), 48138, 'SRID=4674;POINT (-39.010479 -3.360058)', '2026-08-10 17:09:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010477 -3.360068)'), GeomFromEWKT('SRID=4674;POINT (-39.010479 -3.360058)'))) / (select extract(epoch from '2026-08-10 17:09:53'::timestamp) - extract(epoch from '2026-08-10 17:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010477 -3.360068)'), GeomFromEWKT('SRID=4674;POINT (-39.010479 -3.360058)'))) / (select extract(epoch from '2026-08-10 17:09:53'::timestamp) - extract(epoch from '2026-08-10 17:09: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'), 48138, 'SRID=4674;POINT (-39.010502 -3.360039)', '2026-08-10 17:10:00', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010479 -3.360058)'), GeomFromEWKT('SRID=4674;POINT (-39.010502 -3.360039)'))) / (select extract(epoch from '2026-08-10 17:10:00'::timestamp) - extract(epoch from '2026-08-10 17:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010479 -3.360058)'), GeomFromEWKT('SRID=4674;POINT (-39.010502 -3.360039)'))) / (select extract(epoch from '2026-08-10 17:10:00'::timestamp) - extract(epoch from '2026-08-10 17:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010554 -3.360016)', '2026-08-10 17:10:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010502 -3.360039)'), GeomFromEWKT('SRID=4674;POINT (-39.010554 -3.360016)'))) / (select extract(epoch from '2026-08-10 17:10:08'::timestamp) - extract(epoch from '2026-08-10 17:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010502 -3.360039)'), GeomFromEWKT('SRID=4674;POINT (-39.010554 -3.360016)'))) / (select extract(epoch from '2026-08-10 17:10:08'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.010608 -3.359983)', '2026-08-10 17:10:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010554 -3.360016)'), GeomFromEWKT('SRID=4674;POINT (-39.010608 -3.359983)'))) / (select extract(epoch from '2026-08-10 17:10:19'::timestamp) - extract(epoch from '2026-08-10 17:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010554 -3.360016)'), GeomFromEWKT('SRID=4674;POINT (-39.010608 -3.359983)'))) / (select extract(epoch from '2026-08-10 17:10:19'::timestamp) - extract(epoch from '2026-08-10 17:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010638 -3.359971)', '2026-08-10 17:10:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010608 -3.359983)'), GeomFromEWKT('SRID=4674;POINT (-39.010638 -3.359971)'))) / (select extract(epoch from '2026-08-10 17:10:25'::timestamp) - extract(epoch from '2026-08-10 17:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010608 -3.359983)'), GeomFromEWKT('SRID=4674;POINT (-39.010638 -3.359971)'))) / (select extract(epoch from '2026-08-10 17:10:25'::timestamp) - extract(epoch from '2026-08-10 17:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010649 -3.359971)', '2026-08-10 17:10:26', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010638 -3.359971)'), GeomFromEWKT('SRID=4674;POINT (-39.010649 -3.359971)'))) / (select extract(epoch from '2026-08-10 17:10:26'::timestamp) - extract(epoch from '2026-08-10 17:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010638 -3.359971)'), GeomFromEWKT('SRID=4674;POINT (-39.010649 -3.359971)'))) / (select extract(epoch from '2026-08-10 17:10:26'::timestamp) - extract(epoch from '2026-08-10 17:10: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'), 48138, 'SRID=4674;POINT (-39.010694 -3.359956)', '2026-08-10 17:10:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010649 -3.359971)'), GeomFromEWKT('SRID=4674;POINT (-39.010694 -3.359956)'))) / (select extract(epoch from '2026-08-10 17:10:34'::timestamp) - extract(epoch from '2026-08-10 17:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010649 -3.359971)'), GeomFromEWKT('SRID=4674;POINT (-39.010694 -3.359956)'))) / (select extract(epoch from '2026-08-10 17:10:34'::timestamp) - extract(epoch from '2026-08-10 17:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010727 -3.359932)', '2026-08-10 17:10:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010694 -3.359956)'), GeomFromEWKT('SRID=4674;POINT (-39.010727 -3.359932)'))) / (select extract(epoch from '2026-08-10 17:10:43'::timestamp) - extract(epoch from '2026-08-10 17:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010694 -3.359956)'), GeomFromEWKT('SRID=4674;POINT (-39.010727 -3.359932)'))) / (select extract(epoch from '2026-08-10 17:10:43'::timestamp) - extract(epoch from '2026-08-10 17:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.010767 -3.359902)', '2026-08-10 17:10:52', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010727 -3.359932)'), GeomFromEWKT('SRID=4674;POINT (-39.010767 -3.359902)'))) / (select extract(epoch from '2026-08-10 17:10:52'::timestamp) - extract(epoch from '2026-08-10 17:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010727 -3.359932)'), GeomFromEWKT('SRID=4674;POINT (-39.010767 -3.359902)'))) / (select extract(epoch from '2026-08-10 17:10:52'::timestamp) - extract(epoch from '2026-08-10 17:10: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'), 48138, 'SRID=4674;POINT (-39.010799 -3.359876)', '2026-08-10 17:10:59', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010767 -3.359902)'), GeomFromEWKT('SRID=4674;POINT (-39.010799 -3.359876)'))) / (select extract(epoch from '2026-08-10 17:10:59'::timestamp) - extract(epoch from '2026-08-10 17:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010767 -3.359902)'), GeomFromEWKT('SRID=4674;POINT (-39.010799 -3.359876)'))) / (select extract(epoch from '2026-08-10 17:10:59'::timestamp) - extract(epoch from '2026-08-10 17:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01084 -3.359853)', '2026-08-10 17:11:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010799 -3.359876)'), GeomFromEWKT('SRID=4674;POINT (-39.01084 -3.359853)'))) / (select extract(epoch from '2026-08-10 17:11:08'::timestamp) - extract(epoch from '2026-08-10 17:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010799 -3.359876)'), GeomFromEWKT('SRID=4674;POINT (-39.01084 -3.359853)'))) / (select extract(epoch from '2026-08-10 17:11:08'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.010849 -3.359853)', '2026-08-10 17:11:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01084 -3.359853)'), GeomFromEWKT('SRID=4674;POINT (-39.010849 -3.359853)'))) / (select extract(epoch from '2026-08-10 17:11:09'::timestamp) - extract(epoch from '2026-08-10 17:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01084 -3.359853)'), GeomFromEWKT('SRID=4674;POINT (-39.010849 -3.359853)'))) / (select extract(epoch from '2026-08-10 17:11:09'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.010872 -3.359835)', '2026-08-10 17:11:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010849 -3.359853)'), GeomFromEWKT('SRID=4674;POINT (-39.010872 -3.359835)'))) / (select extract(epoch from '2026-08-10 17:11:14'::timestamp) - extract(epoch from '2026-08-10 17:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010849 -3.359853)'), GeomFromEWKT('SRID=4674;POINT (-39.010872 -3.359835)'))) / (select extract(epoch from '2026-08-10 17:11:14'::timestamp) - extract(epoch from '2026-08-10 17:11: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'), 48138, 'SRID=4674;POINT (-39.010898 -3.359824)', '2026-08-10 17:11:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010872 -3.359835)'), GeomFromEWKT('SRID=4674;POINT (-39.010898 -3.359824)'))) / (select extract(epoch from '2026-08-10 17:11:21'::timestamp) - extract(epoch from '2026-08-10 17:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010872 -3.359835)'), GeomFromEWKT('SRID=4674;POINT (-39.010898 -3.359824)'))) / (select extract(epoch from '2026-08-10 17:11:21'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.010925 -3.359809)', '2026-08-10 17:11:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010898 -3.359824)'), GeomFromEWKT('SRID=4674;POINT (-39.010925 -3.359809)'))) / (select extract(epoch from '2026-08-10 17:11:27'::timestamp) - extract(epoch from '2026-08-10 17:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010898 -3.359824)'), GeomFromEWKT('SRID=4674;POINT (-39.010925 -3.359809)'))) / (select extract(epoch from '2026-08-10 17:11:27'::timestamp) - extract(epoch from '2026-08-10 17:11: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'), 48138, 'SRID=4674;POINT (-39.010984 -3.359805)', '2026-08-10 17:11:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010925 -3.359809)'), GeomFromEWKT('SRID=4674;POINT (-39.010984 -3.359805)'))) / (select extract(epoch from '2026-08-10 17:11:38'::timestamp) - extract(epoch from '2026-08-10 17:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010925 -3.359809)'), GeomFromEWKT('SRID=4674;POINT (-39.010984 -3.359805)'))) / (select extract(epoch from '2026-08-10 17:11:38'::timestamp) - extract(epoch from '2026-08-10 17:11: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'), 48138, 'SRID=4674;POINT (-39.011027 -3.35979)', '2026-08-10 17:11:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010984 -3.359805)'), GeomFromEWKT('SRID=4674;POINT (-39.011027 -3.35979)'))) / (select extract(epoch from '2026-08-10 17:11:47'::timestamp) - extract(epoch from '2026-08-10 17:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010984 -3.359805)'), GeomFromEWKT('SRID=4674;POINT (-39.011027 -3.35979)'))) / (select extract(epoch from '2026-08-10 17:11:47'::timestamp) - extract(epoch from '2026-08-10 17:11: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'), 48138, 'SRID=4674;POINT (-39.011088 -3.359761)', '2026-08-10 17:11:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011027 -3.35979)'), GeomFromEWKT('SRID=4674;POINT (-39.011088 -3.359761)'))) / (select extract(epoch from '2026-08-10 17:11:57'::timestamp) - extract(epoch from '2026-08-10 17:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011027 -3.35979)'), GeomFromEWKT('SRID=4674;POINT (-39.011088 -3.359761)'))) / (select extract(epoch from '2026-08-10 17:11:57'::timestamp) - extract(epoch from '2026-08-10 17:11: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'), 48138, 'SRID=4674;POINT (-39.011129 -3.359737)', '2026-08-10 17:12:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011088 -3.359761)'), GeomFromEWKT('SRID=4674;POINT (-39.011129 -3.359737)'))) / (select extract(epoch from '2026-08-10 17:12:04'::timestamp) - extract(epoch from '2026-08-10 17:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011088 -3.359761)'), GeomFromEWKT('SRID=4674;POINT (-39.011129 -3.359737)'))) / (select extract(epoch from '2026-08-10 17:12:04'::timestamp) - extract(epoch from '2026-08-10 17:11: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'), 48138, 'SRID=4674;POINT (-39.011173 -3.359724)', '2026-08-10 17:12:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011129 -3.359737)'), GeomFromEWKT('SRID=4674;POINT (-39.011173 -3.359724)'))) / (select extract(epoch from '2026-08-10 17:12:11'::timestamp) - extract(epoch from '2026-08-10 17:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011129 -3.359737)'), GeomFromEWKT('SRID=4674;POINT (-39.011173 -3.359724)'))) / (select extract(epoch from '2026-08-10 17:12:11'::timestamp) - extract(epoch from '2026-08-10 17:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.0112 -3.359719)', '2026-08-10 17:12:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011173 -3.359724)'), GeomFromEWKT('SRID=4674;POINT (-39.0112 -3.359719)'))) / (select extract(epoch from '2026-08-10 17:12:19'::timestamp) - extract(epoch from '2026-08-10 17:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011173 -3.359724)'), GeomFromEWKT('SRID=4674;POINT (-39.0112 -3.359719)'))) / (select extract(epoch from '2026-08-10 17:12:19'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.011204 -3.359719)', '2026-08-10 17:12:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0112 -3.359719)'), GeomFromEWKT('SRID=4674;POINT (-39.011204 -3.359719)'))) / (select extract(epoch from '2026-08-10 17:12:21'::timestamp) - extract(epoch from '2026-08-10 17:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0112 -3.359719)'), GeomFromEWKT('SRID=4674;POINT (-39.011204 -3.359719)'))) / (select extract(epoch from '2026-08-10 17:12:21'::timestamp) - extract(epoch from '2026-08-10 17:12: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'), 48138, 'SRID=4674;POINT (-39.011223 -3.359712)', '2026-08-10 17:12:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011204 -3.359719)'), GeomFromEWKT('SRID=4674;POINT (-39.011223 -3.359712)'))) / (select extract(epoch from '2026-08-10 17:12:24'::timestamp) - extract(epoch from '2026-08-10 17:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011204 -3.359719)'), GeomFromEWKT('SRID=4674;POINT (-39.011223 -3.359712)'))) / (select extract(epoch from '2026-08-10 17:12:24'::timestamp) - extract(epoch from '2026-08-10 17:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011255 -3.359693)', '2026-08-10 17:12:31', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011223 -3.359712)'), GeomFromEWKT('SRID=4674;POINT (-39.011255 -3.359693)'))) / (select extract(epoch from '2026-08-10 17:12:31'::timestamp) - extract(epoch from '2026-08-10 17:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011223 -3.359712)'), GeomFromEWKT('SRID=4674;POINT (-39.011255 -3.359693)'))) / (select extract(epoch from '2026-08-10 17:12:31'::timestamp) - extract(epoch from '2026-08-10 17:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01131 -3.359656)', '2026-08-10 17:12:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011255 -3.359693)'), GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.359656)'))) / (select extract(epoch from '2026-08-10 17:12:42'::timestamp) - extract(epoch from '2026-08-10 17:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011255 -3.359693)'), GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.359656)'))) / (select extract(epoch from '2026-08-10 17:12:42'::timestamp) - extract(epoch from '2026-08-10 17:12: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'), 48138, 'SRID=4674;POINT (-39.011353 -3.359644)', '2026-08-10 17:12:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.359656)'), GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.359644)'))) / (select extract(epoch from '2026-08-10 17:12:48'::timestamp) - extract(epoch from '2026-08-10 17:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01131 -3.359656)'), GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.359644)'))) / (select extract(epoch from '2026-08-10 17:12:48'::timestamp) - extract(epoch from '2026-08-10 17:12: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'), 48138, 'SRID=4674;POINT (-39.011393 -3.359638)', '2026-08-10 17:12:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.359644)'), GeomFromEWKT('SRID=4674;POINT (-39.011393 -3.359638)'))) / (select extract(epoch from '2026-08-10 17:12:55'::timestamp) - extract(epoch from '2026-08-10 17:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011353 -3.359644)'), GeomFromEWKT('SRID=4674;POINT (-39.011393 -3.359638)'))) / (select extract(epoch from '2026-08-10 17:12:55'::timestamp) - extract(epoch from '2026-08-10 17:12: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'), 48138, 'SRID=4674;POINT (-39.011433 -3.359624)', '2026-08-10 17:13:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011393 -3.359638)'), GeomFromEWKT('SRID=4674;POINT (-39.011433 -3.359624)'))) / (select extract(epoch from '2026-08-10 17:13:04'::timestamp) - extract(epoch from '2026-08-10 17:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011393 -3.359638)'), GeomFromEWKT('SRID=4674;POINT (-39.011433 -3.359624)'))) / (select extract(epoch from '2026-08-10 17:13:04'::timestamp) - extract(epoch from '2026-08-10 17:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011462 -3.3596)', '2026-08-10 17:13:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011433 -3.359624)'), GeomFromEWKT('SRID=4674;POINT (-39.011462 -3.3596)'))) / (select extract(epoch from '2026-08-10 17:13:11'::timestamp) - extract(epoch from '2026-08-10 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011433 -3.359624)'), GeomFromEWKT('SRID=4674;POINT (-39.011462 -3.3596)'))) / (select extract(epoch from '2026-08-10 17:13:11'::timestamp) - extract(epoch from '2026-08-10 17:13: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'), 48138, 'SRID=4674;POINT (-39.011484 -3.359574)', '2026-08-10 17:13:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011462 -3.3596)'), GeomFromEWKT('SRID=4674;POINT (-39.011484 -3.359574)'))) / (select extract(epoch from '2026-08-10 17:13:17'::timestamp) - extract(epoch from '2026-08-10 17:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011462 -3.3596)'), GeomFromEWKT('SRID=4674;POINT (-39.011484 -3.359574)'))) / (select extract(epoch from '2026-08-10 17:13:17'::timestamp) - extract(epoch from '2026-08-10 17:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01153 -3.359539)', '2026-08-10 17:13:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011484 -3.359574)'), GeomFromEWKT('SRID=4674;POINT (-39.01153 -3.359539)'))) / (select extract(epoch from '2026-08-10 17:13:26'::timestamp) - extract(epoch from '2026-08-10 17:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011484 -3.359574)'), GeomFromEWKT('SRID=4674;POINT (-39.01153 -3.359539)'))) / (select extract(epoch from '2026-08-10 17:13:26'::timestamp) - extract(epoch from '2026-08-10 17:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011585 -3.359523)', '2026-08-10 17:13:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01153 -3.359539)'), GeomFromEWKT('SRID=4674;POINT (-39.011585 -3.359523)'))) / (select extract(epoch from '2026-08-10 17:13:34'::timestamp) - extract(epoch from '2026-08-10 17:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01153 -3.359539)'), GeomFromEWKT('SRID=4674;POINT (-39.011585 -3.359523)'))) / (select extract(epoch from '2026-08-10 17:13:34'::timestamp) - extract(epoch from '2026-08-10 17:13:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011633 -3.359509)', '2026-08-10 17:13:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011585 -3.359523)'), GeomFromEWKT('SRID=4674;POINT (-39.011633 -3.359509)'))) / (select extract(epoch from '2026-08-10 17:13:41'::timestamp) - extract(epoch from '2026-08-10 17:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011585 -3.359523)'), GeomFromEWKT('SRID=4674;POINT (-39.011633 -3.359509)'))) / (select extract(epoch from '2026-08-10 17:13:41'::timestamp) - extract(epoch from '2026-08-10 17:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011664 -3.359496)', '2026-08-10 17:13:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011633 -3.359509)'), GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.359496)'))) / (select extract(epoch from '2026-08-10 17:13:47'::timestamp) - extract(epoch from '2026-08-10 17:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011633 -3.359509)'), GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.359496)'))) / (select extract(epoch from '2026-08-10 17:13:47'::timestamp) - extract(epoch from '2026-08-10 17:13:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.011714 -3.359482)', '2026-08-10 17:13:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.359496)'), GeomFromEWKT('SRID=4674;POINT (-39.011714 -3.359482)'))) / (select extract(epoch from '2026-08-10 17:13:57'::timestamp) - extract(epoch from '2026-08-10 17:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011664 -3.359496)'), GeomFromEWKT('SRID=4674;POINT (-39.011714 -3.359482)'))) / (select extract(epoch from '2026-08-10 17:13:57'::timestamp) - extract(epoch from '2026-08-10 17:13: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'), 48138, 'SRID=4674;POINT (-39.011723 -3.359481)', '2026-08-10 17:13:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011714 -3.359482)'), GeomFromEWKT('SRID=4674;POINT (-39.011723 -3.359481)'))) / (select extract(epoch from '2026-08-10 17:13:58'::timestamp) - extract(epoch from '2026-08-10 17:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011714 -3.359482)'), GeomFromEWKT('SRID=4674;POINT (-39.011723 -3.359481)'))) / (select extract(epoch from '2026-08-10 17:13:58'::timestamp) - extract(epoch from '2026-08-10 17:13: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'), 48138, 'SRID=4674;POINT (-39.011755 -3.359466)', '2026-08-10 17:14:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011723 -3.359481)'), GeomFromEWKT('SRID=4674;POINT (-39.011755 -3.359466)'))) / (select extract(epoch from '2026-08-10 17:14:03'::timestamp) - extract(epoch from '2026-08-10 17:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011723 -3.359481)'), GeomFromEWKT('SRID=4674;POINT (-39.011755 -3.359466)'))) / (select extract(epoch from '2026-08-10 17:14:03'::timestamp) - extract(epoch from '2026-08-10 17:13: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'), 48138, 'SRID=4674;POINT (-39.011792 -3.35944)', '2026-08-10 17:14:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011755 -3.359466)'), GeomFromEWKT('SRID=4674;POINT (-39.011792 -3.35944)'))) / (select extract(epoch from '2026-08-10 17:14:10'::timestamp) - extract(epoch from '2026-08-10 17:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011755 -3.359466)'), GeomFromEWKT('SRID=4674;POINT (-39.011792 -3.35944)'))) / (select extract(epoch from '2026-08-10 17:14:10'::timestamp) - extract(epoch from '2026-08-10 17:14: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'), 48138, 'SRID=4674;POINT (-39.011821 -3.359412)', '2026-08-10 17:14:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011792 -3.35944)'), GeomFromEWKT('SRID=4674;POINT (-39.011821 -3.359412)'))) / (select extract(epoch from '2026-08-10 17:14:17'::timestamp) - extract(epoch from '2026-08-10 17:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011792 -3.35944)'), GeomFromEWKT('SRID=4674;POINT (-39.011821 -3.359412)'))) / (select extract(epoch from '2026-08-10 17:14:17'::timestamp) - extract(epoch from '2026-08-10 17:14: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'), 48138, 'SRID=4674;POINT (-39.011878 -3.359396)', '2026-08-10 17:14:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011821 -3.359412)'), GeomFromEWKT('SRID=4674;POINT (-39.011878 -3.359396)'))) / (select extract(epoch from '2026-08-10 17:14:27'::timestamp) - extract(epoch from '2026-08-10 17:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011821 -3.359412)'), GeomFromEWKT('SRID=4674;POINT (-39.011878 -3.359396)'))) / (select extract(epoch from '2026-08-10 17:14:27'::timestamp) - extract(epoch from '2026-08-10 17:14: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'), 48138, 'SRID=4674;POINT (-39.011922 -3.359376)', '2026-08-10 17:14:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011878 -3.359396)'), GeomFromEWKT('SRID=4674;POINT (-39.011922 -3.359376)'))) / (select extract(epoch from '2026-08-10 17:14:35'::timestamp) - extract(epoch from '2026-08-10 17:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011878 -3.359396)'), GeomFromEWKT('SRID=4674;POINT (-39.011922 -3.359376)'))) / (select extract(epoch from '2026-08-10 17:14:35'::timestamp) - extract(epoch from '2026-08-10 17:14: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'), 48138, 'SRID=4674;POINT (-39.011966 -3.35936)', '2026-08-10 17:14:43', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011922 -3.359376)'), GeomFromEWKT('SRID=4674;POINT (-39.011966 -3.35936)'))) / (select extract(epoch from '2026-08-10 17:14:43'::timestamp) - extract(epoch from '2026-08-10 17:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011922 -3.359376)'), GeomFromEWKT('SRID=4674;POINT (-39.011966 -3.35936)'))) / (select extract(epoch from '2026-08-10 17:14:43'::timestamp) - extract(epoch from '2026-08-10 17:14: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'), 48138, 'SRID=4674;POINT (-39.012024 -3.359324)', '2026-08-10 17:14:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011966 -3.35936)'), GeomFromEWKT('SRID=4674;POINT (-39.012024 -3.359324)'))) / (select extract(epoch from '2026-08-10 17:14:53'::timestamp) - extract(epoch from '2026-08-10 17:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011966 -3.35936)'), GeomFromEWKT('SRID=4674;POINT (-39.012024 -3.359324)'))) / (select extract(epoch from '2026-08-10 17:14:53'::timestamp) - extract(epoch from '2026-08-10 17:14: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'), 48138, 'SRID=4674;POINT (-39.01208 -3.359287)', '2026-08-10 17:15:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012024 -3.359324)'), GeomFromEWKT('SRID=4674;POINT (-39.01208 -3.359287)'))) / (select extract(epoch from '2026-08-10 17:15:03'::timestamp) - extract(epoch from '2026-08-10 17:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012024 -3.359324)'), GeomFromEWKT('SRID=4674;POINT (-39.01208 -3.359287)'))) / (select extract(epoch from '2026-08-10 17:15:03'::timestamp) - extract(epoch from '2026-08-10 17:14: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'), 48138, 'SRID=4674;POINT (-39.012148 -3.359282)', '2026-08-10 17:15:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01208 -3.359287)'), GeomFromEWKT('SRID=4674;POINT (-39.012148 -3.359282)'))) / (select extract(epoch from '2026-08-10 17:15:15'::timestamp) - extract(epoch from '2026-08-10 17:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01208 -3.359287)'), GeomFromEWKT('SRID=4674;POINT (-39.012148 -3.359282)'))) / (select extract(epoch from '2026-08-10 17:15:15'::timestamp) - extract(epoch from '2026-08-10 17:15:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012187 -3.359257)', '2026-08-10 17:15:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012148 -3.359282)'), GeomFromEWKT('SRID=4674;POINT (-39.012187 -3.359257)'))) / (select extract(epoch from '2026-08-10 17:15:22'::timestamp) - extract(epoch from '2026-08-10 17:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012148 -3.359282)'), GeomFromEWKT('SRID=4674;POINT (-39.012187 -3.359257)'))) / (select extract(epoch from '2026-08-10 17:15:22'::timestamp) - extract(epoch from '2026-08-10 17:15: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'), 48138, 'SRID=4674;POINT (-39.012236 -3.359243)', '2026-08-10 17:15:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012187 -3.359257)'), GeomFromEWKT('SRID=4674;POINT (-39.012236 -3.359243)'))) / (select extract(epoch from '2026-08-10 17:15:29'::timestamp) - extract(epoch from '2026-08-10 17:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012187 -3.359257)'), GeomFromEWKT('SRID=4674;POINT (-39.012236 -3.359243)'))) / (select extract(epoch from '2026-08-10 17:15:29'::timestamp) - extract(epoch from '2026-08-10 17:15: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'), 48138, 'SRID=4674;POINT (-39.01228 -3.359231)', '2026-08-10 17:15:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012236 -3.359243)'), GeomFromEWKT('SRID=4674;POINT (-39.01228 -3.359231)'))) / (select extract(epoch from '2026-08-10 17:15:36'::timestamp) - extract(epoch from '2026-08-10 17:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012236 -3.359243)'), GeomFromEWKT('SRID=4674;POINT (-39.01228 -3.359231)'))) / (select extract(epoch from '2026-08-10 17:15:36'::timestamp) - extract(epoch from '2026-08-10 17:15: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'), 48138, 'SRID=4674;POINT (-39.012346 -3.3592)', '2026-08-10 17:15:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01228 -3.359231)'), GeomFromEWKT('SRID=4674;POINT (-39.012346 -3.3592)'))) / (select extract(epoch from '2026-08-10 17:15:49'::timestamp) - extract(epoch from '2026-08-10 17:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01228 -3.359231)'), GeomFromEWKT('SRID=4674;POINT (-39.012346 -3.3592)'))) / (select extract(epoch from '2026-08-10 17:15:49'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.012402 -3.359176)', '2026-08-10 17:15:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012346 -3.3592)'), GeomFromEWKT('SRID=4674;POINT (-39.012402 -3.359176)'))) / (select extract(epoch from '2026-08-10 17:15:58'::timestamp) - extract(epoch from '2026-08-10 17:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012346 -3.3592)'), GeomFromEWKT('SRID=4674;POINT (-39.012402 -3.359176)'))) / (select extract(epoch from '2026-08-10 17:15:58'::timestamp) - extract(epoch from '2026-08-10 17:15: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'), 48138, 'SRID=4674;POINT (-39.012442 -3.359169)', '2026-08-10 17:16:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012402 -3.359176)'), GeomFromEWKT('SRID=4674;POINT (-39.012442 -3.359169)'))) / (select extract(epoch from '2026-08-10 17:16:06'::timestamp) - extract(epoch from '2026-08-10 17:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012402 -3.359176)'), GeomFromEWKT('SRID=4674;POINT (-39.012442 -3.359169)'))) / (select extract(epoch from '2026-08-10 17:16:06'::timestamp) - extract(epoch from '2026-08-10 17:15: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'), 48138, 'SRID=4674;POINT (-39.012482 -3.359156)', '2026-08-10 17:16:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012442 -3.359169)'), GeomFromEWKT('SRID=4674;POINT (-39.012482 -3.359156)'))) / (select extract(epoch from '2026-08-10 17:16:13'::timestamp) - extract(epoch from '2026-08-10 17:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012442 -3.359169)'), GeomFromEWKT('SRID=4674;POINT (-39.012482 -3.359156)'))) / (select extract(epoch from '2026-08-10 17:16:13'::timestamp) - extract(epoch from '2026-08-10 17:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01251 -3.359149)', '2026-08-10 17:16:17', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012482 -3.359156)'), GeomFromEWKT('SRID=4674;POINT (-39.01251 -3.359149)'))) / (select extract(epoch from '2026-08-10 17:16:17'::timestamp) - extract(epoch from '2026-08-10 17:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012482 -3.359156)'), GeomFromEWKT('SRID=4674;POINT (-39.01251 -3.359149)'))) / (select extract(epoch from '2026-08-10 17:16:17'::timestamp) - extract(epoch from '2026-08-10 17:16: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'), 48138, 'SRID=4674;POINT (-39.012562 -3.359129)', '2026-08-10 17:16:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01251 -3.359149)'), GeomFromEWKT('SRID=4674;POINT (-39.012562 -3.359129)'))) / (select extract(epoch from '2026-08-10 17:16:26'::timestamp) - extract(epoch from '2026-08-10 17:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01251 -3.359149)'), GeomFromEWKT('SRID=4674;POINT (-39.012562 -3.359129)'))) / (select extract(epoch from '2026-08-10 17:16:26'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.012606 -3.359104)', '2026-08-10 17:16:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012562 -3.359129)'), GeomFromEWKT('SRID=4674;POINT (-39.012606 -3.359104)'))) / (select extract(epoch from '2026-08-10 17:16:35'::timestamp) - extract(epoch from '2026-08-10 17:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012562 -3.359129)'), GeomFromEWKT('SRID=4674;POINT (-39.012606 -3.359104)'))) / (select extract(epoch from '2026-08-10 17:16:35'::timestamp) - extract(epoch from '2026-08-10 17:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012659 -3.359072)', '2026-08-10 17:16:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012606 -3.359104)'), GeomFromEWKT('SRID=4674;POINT (-39.012659 -3.359072)'))) / (select extract(epoch from '2026-08-10 17:16:48'::timestamp) - extract(epoch from '2026-08-10 17:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012606 -3.359104)'), GeomFromEWKT('SRID=4674;POINT (-39.012659 -3.359072)'))) / (select extract(epoch from '2026-08-10 17:16:48'::timestamp) - extract(epoch from '2026-08-10 17:16: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'), 48138, 'SRID=4674;POINT (-39.012692 -3.359049)', '2026-08-10 17:16:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012659 -3.359072)'), GeomFromEWKT('SRID=4674;POINT (-39.012692 -3.359049)'))) / (select extract(epoch from '2026-08-10 17:16:56'::timestamp) - extract(epoch from '2026-08-10 17:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012659 -3.359072)'), GeomFromEWKT('SRID=4674;POINT (-39.012692 -3.359049)'))) / (select extract(epoch from '2026-08-10 17:16:56'::timestamp) - extract(epoch from '2026-08-10 17:16: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'), 48138, 'SRID=4674;POINT (-39.012749 -3.359024)', '2026-08-10 17:17:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012692 -3.359049)'), GeomFromEWKT('SRID=4674;POINT (-39.012749 -3.359024)'))) / (select extract(epoch from '2026-08-10 17:17:06'::timestamp) - extract(epoch from '2026-08-10 17:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012692 -3.359049)'), GeomFromEWKT('SRID=4674;POINT (-39.012749 -3.359024)'))) / (select extract(epoch from '2026-08-10 17:17:06'::timestamp) - extract(epoch from '2026-08-10 17:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012792 -3.359004)', '2026-08-10 17:17:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012749 -3.359024)'), GeomFromEWKT('SRID=4674;POINT (-39.012792 -3.359004)'))) / (select extract(epoch from '2026-08-10 17:17:13'::timestamp) - extract(epoch from '2026-08-10 17:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012749 -3.359024)'), GeomFromEWKT('SRID=4674;POINT (-39.012792 -3.359004)'))) / (select extract(epoch from '2026-08-10 17:17:13'::timestamp) - extract(epoch from '2026-08-10 17:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012823 -3.358988)', '2026-08-10 17:17:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012792 -3.359004)'), GeomFromEWKT('SRID=4674;POINT (-39.012823 -3.358988)'))) / (select extract(epoch from '2026-08-10 17:17:20'::timestamp) - extract(epoch from '2026-08-10 17:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012792 -3.359004)'), GeomFromEWKT('SRID=4674;POINT (-39.012823 -3.358988)'))) / (select extract(epoch from '2026-08-10 17:17:20'::timestamp) - extract(epoch from '2026-08-10 17:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.012859 -3.358976)', '2026-08-10 17:17:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012823 -3.358988)'), GeomFromEWKT('SRID=4674;POINT (-39.012859 -3.358976)'))) / (select extract(epoch from '2026-08-10 17:17:28'::timestamp) - extract(epoch from '2026-08-10 17:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012823 -3.358988)'), GeomFromEWKT('SRID=4674;POINT (-39.012859 -3.358976)'))) / (select extract(epoch from '2026-08-10 17:17:28'::timestamp) - extract(epoch from '2026-08-10 17:17: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'), 48138, 'SRID=4674;POINT (-39.012911 -3.358971)', '2026-08-10 17:17:37', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012859 -3.358976)'), GeomFromEWKT('SRID=4674;POINT (-39.012911 -3.358971)'))) / (select extract(epoch from '2026-08-10 17:17:37'::timestamp) - extract(epoch from '2026-08-10 17:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012859 -3.358976)'), GeomFromEWKT('SRID=4674;POINT (-39.012911 -3.358971)'))) / (select extract(epoch from '2026-08-10 17:17:37'::timestamp) - extract(epoch from '2026-08-10 17:17: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'), 48138, 'SRID=4674;POINT (-39.012944 -3.358952)', '2026-08-10 17:17:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012911 -3.358971)'), GeomFromEWKT('SRID=4674;POINT (-39.012944 -3.358952)'))) / (select extract(epoch from '2026-08-10 17:17:42'::timestamp) - extract(epoch from '2026-08-10 17:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012911 -3.358971)'), GeomFromEWKT('SRID=4674;POINT (-39.012944 -3.358952)'))) / (select extract(epoch from '2026-08-10 17:17:42'::timestamp) - extract(epoch from '2026-08-10 17:17: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'), 48138, 'SRID=4674;POINT (-39.01298 -3.358927)', '2026-08-10 17:17:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012944 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.01298 -3.358927)'))) / (select extract(epoch from '2026-08-10 17:17:49'::timestamp) - extract(epoch from '2026-08-10 17:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012944 -3.358952)'), GeomFromEWKT('SRID=4674;POINT (-39.01298 -3.358927)'))) / (select extract(epoch from '2026-08-10 17:17:49'::timestamp) - extract(epoch from '2026-08-10 17:17: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'), 48138, 'SRID=4674;POINT (-39.013018 -3.358899)', '2026-08-10 17:17:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01298 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.013018 -3.358899)'))) / (select extract(epoch from '2026-08-10 17:17:56'::timestamp) - extract(epoch from '2026-08-10 17:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01298 -3.358927)'), GeomFromEWKT('SRID=4674;POINT (-39.013018 -3.358899)'))) / (select extract(epoch from '2026-08-10 17:17:56'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.013035 -3.358889)', '2026-08-10 17:18:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013018 -3.358899)'), GeomFromEWKT('SRID=4674;POINT (-39.013035 -3.358889)'))) / (select extract(epoch from '2026-08-10 17:18:01'::timestamp) - extract(epoch from '2026-08-10 17:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013018 -3.358899)'), GeomFromEWKT('SRID=4674;POINT (-39.013035 -3.358889)'))) / (select extract(epoch from '2026-08-10 17:18:01'::timestamp) - extract(epoch from '2026-08-10 17:17: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'), 48138, 'SRID=4674;POINT (-39.01308 -3.358887)', '2026-08-10 17:18:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013035 -3.358889)'), GeomFromEWKT('SRID=4674;POINT (-39.01308 -3.358887)'))) / (select extract(epoch from '2026-08-10 17:18:08'::timestamp) - extract(epoch from '2026-08-10 17:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013035 -3.358889)'), GeomFromEWKT('SRID=4674;POINT (-39.01308 -3.358887)'))) / (select extract(epoch from '2026-08-10 17:18:08'::timestamp) - extract(epoch from '2026-08-10 17:18: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'), 48138, 'SRID=4674;POINT (-39.013097 -3.358882)', '2026-08-10 17:18:10', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01308 -3.358887)'), GeomFromEWKT('SRID=4674;POINT (-39.013097 -3.358882)'))) / (select extract(epoch from '2026-08-10 17:18:10'::timestamp) - extract(epoch from '2026-08-10 17:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01308 -3.358887)'), GeomFromEWKT('SRID=4674;POINT (-39.013097 -3.358882)'))) / (select extract(epoch from '2026-08-10 17:18:10'::timestamp) - extract(epoch from '2026-08-10 17:18: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'), 48138, 'SRID=4674;POINT (-39.0131 -3.358873)', '2026-08-10 17:18:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013097 -3.358882)'), GeomFromEWKT('SRID=4674;POINT (-39.0131 -3.358873)'))) / (select extract(epoch from '2026-08-10 17:18:13'::timestamp) - extract(epoch from '2026-08-10 17:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013097 -3.358882)'), GeomFromEWKT('SRID=4674;POINT (-39.0131 -3.358873)'))) / (select extract(epoch from '2026-08-10 17:18:13'::timestamp) - extract(epoch from '2026-08-10 17:18: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'), 48138, 'SRID=4674;POINT (-39.013144 -3.358843)', '2026-08-10 17:18:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0131 -3.358873)'), GeomFromEWKT('SRID=4674;POINT (-39.013144 -3.358843)'))) / (select extract(epoch from '2026-08-10 17:18:22'::timestamp) - extract(epoch from '2026-08-10 17:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0131 -3.358873)'), GeomFromEWKT('SRID=4674;POINT (-39.013144 -3.358843)'))) / (select extract(epoch from '2026-08-10 17:18:22'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.013177 -3.358817)', '2026-08-10 17:18:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013144 -3.358843)'), GeomFromEWKT('SRID=4674;POINT (-39.013177 -3.358817)'))) / (select extract(epoch from '2026-08-10 17:18:30'::timestamp) - extract(epoch from '2026-08-10 17:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013144 -3.358843)'), GeomFromEWKT('SRID=4674;POINT (-39.013177 -3.358817)'))) / (select extract(epoch from '2026-08-10 17:18:30'::timestamp) - extract(epoch from '2026-08-10 17:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01322 -3.358795)', '2026-08-10 17:18:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013177 -3.358817)'), GeomFromEWKT('SRID=4674;POINT (-39.01322 -3.358795)'))) / (select extract(epoch from '2026-08-10 17:18:39'::timestamp) - extract(epoch from '2026-08-10 17:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013177 -3.358817)'), GeomFromEWKT('SRID=4674;POINT (-39.01322 -3.358795)'))) / (select extract(epoch from '2026-08-10 17:18:39'::timestamp) - extract(epoch from '2026-08-10 17:18: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'), 48138, 'SRID=4674;POINT (-39.01326 -3.35877)', '2026-08-10 17:18:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01322 -3.358795)'), GeomFromEWKT('SRID=4674;POINT (-39.01326 -3.35877)'))) / (select extract(epoch from '2026-08-10 17:18:48'::timestamp) - extract(epoch from '2026-08-10 17:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01322 -3.358795)'), GeomFromEWKT('SRID=4674;POINT (-39.01326 -3.35877)'))) / (select extract(epoch from '2026-08-10 17:18:48'::timestamp) - extract(epoch from '2026-08-10 17:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01332 -3.358755)', '2026-08-10 17:18:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01326 -3.35877)'), GeomFromEWKT('SRID=4674;POINT (-39.01332 -3.358755)'))) / (select extract(epoch from '2026-08-10 17:18:58'::timestamp) - extract(epoch from '2026-08-10 17:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01326 -3.35877)'), GeomFromEWKT('SRID=4674;POINT (-39.01332 -3.358755)'))) / (select extract(epoch from '2026-08-10 17:18:58'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.013375 -3.358725)', '2026-08-10 17:19:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01332 -3.358755)'), GeomFromEWKT('SRID=4674;POINT (-39.013375 -3.358725)'))) / (select extract(epoch from '2026-08-10 17:19:07'::timestamp) - extract(epoch from '2026-08-10 17:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01332 -3.358755)'), GeomFromEWKT('SRID=4674;POINT (-39.013375 -3.358725)'))) / (select extract(epoch from '2026-08-10 17:19:07'::timestamp) - extract(epoch from '2026-08-10 17:18:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013432 -3.358698)', '2026-08-10 17:19:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013375 -3.358725)'), GeomFromEWKT('SRID=4674;POINT (-39.013432 -3.358698)'))) / (select extract(epoch from '2026-08-10 17:19:17'::timestamp) - extract(epoch from '2026-08-10 17:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013375 -3.358725)'), GeomFromEWKT('SRID=4674;POINT (-39.013432 -3.358698)'))) / (select extract(epoch from '2026-08-10 17:19:17'::timestamp) - extract(epoch from '2026-08-10 17:19: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'), 48138, 'SRID=4674;POINT (-39.01347 -3.358681)', '2026-08-10 17:19:24', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013432 -3.358698)'), GeomFromEWKT('SRID=4674;POINT (-39.01347 -3.358681)'))) / (select extract(epoch from '2026-08-10 17:19:24'::timestamp) - extract(epoch from '2026-08-10 17:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013432 -3.358698)'), GeomFromEWKT('SRID=4674;POINT (-39.01347 -3.358681)'))) / (select extract(epoch from '2026-08-10 17:19:24'::timestamp) - extract(epoch from '2026-08-10 17:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013508 -3.35867)', '2026-08-10 17:19:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01347 -3.358681)'), GeomFromEWKT('SRID=4674;POINT (-39.013508 -3.35867)'))) / (select extract(epoch from '2026-08-10 17:19:32'::timestamp) - extract(epoch from '2026-08-10 17:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01347 -3.358681)'), GeomFromEWKT('SRID=4674;POINT (-39.013508 -3.35867)'))) / (select extract(epoch from '2026-08-10 17:19:32'::timestamp) - extract(epoch from '2026-08-10 17:19: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'), 48138, 'SRID=4674;POINT (-39.013544 -3.35866)', '2026-08-10 17:19:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013508 -3.35867)'), GeomFromEWKT('SRID=4674;POINT (-39.013544 -3.35866)'))) / (select extract(epoch from '2026-08-10 17:19:39'::timestamp) - extract(epoch from '2026-08-10 17:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013508 -3.35867)'), GeomFromEWKT('SRID=4674;POINT (-39.013544 -3.35866)'))) / (select extract(epoch from '2026-08-10 17:19:39'::timestamp) - extract(epoch from '2026-08-10 17:19: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'), 48138, 'SRID=4674;POINT (-39.01359 -3.358654)', '2026-08-10 17:19:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013544 -3.35866)'), GeomFromEWKT('SRID=4674;POINT (-39.01359 -3.358654)'))) / (select extract(epoch from '2026-08-10 17:19:44'::timestamp) - extract(epoch from '2026-08-10 17:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013544 -3.35866)'), GeomFromEWKT('SRID=4674;POINT (-39.01359 -3.358654)'))) / (select extract(epoch from '2026-08-10 17:19:44'::timestamp) - extract(epoch from '2026-08-10 17:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013647 -3.358624)', '2026-08-10 17:19:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01359 -3.358654)'), GeomFromEWKT('SRID=4674;POINT (-39.013647 -3.358624)'))) / (select extract(epoch from '2026-08-10 17:19:55'::timestamp) - extract(epoch from '2026-08-10 17:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01359 -3.358654)'), GeomFromEWKT('SRID=4674;POINT (-39.013647 -3.358624)'))) / (select extract(epoch from '2026-08-10 17:19:55'::timestamp) - extract(epoch from '2026-08-10 17:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013694 -3.358606)', '2026-08-10 17:20:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013647 -3.358624)'), GeomFromEWKT('SRID=4674;POINT (-39.013694 -3.358606)'))) / (select extract(epoch from '2026-08-10 17:20:04'::timestamp) - extract(epoch from '2026-08-10 17:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013647 -3.358624)'), GeomFromEWKT('SRID=4674;POINT (-39.013694 -3.358606)'))) / (select extract(epoch from '2026-08-10 17:20:04'::timestamp) - extract(epoch from '2026-08-10 17:19: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'), 48138, 'SRID=4674;POINT (-39.013722 -3.35859)', '2026-08-10 17:20:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013694 -3.358606)'), GeomFromEWKT('SRID=4674;POINT (-39.013722 -3.35859)'))) / (select extract(epoch from '2026-08-10 17:20:10'::timestamp) - extract(epoch from '2026-08-10 17:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013694 -3.358606)'), GeomFromEWKT('SRID=4674;POINT (-39.013722 -3.35859)'))) / (select extract(epoch from '2026-08-10 17:20:10'::timestamp) - extract(epoch from '2026-08-10 17:20: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'), 48138, 'SRID=4674;POINT (-39.01378 -3.358567)', '2026-08-10 17:20:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013722 -3.35859)'), GeomFromEWKT('SRID=4674;POINT (-39.01378 -3.358567)'))) / (select extract(epoch from '2026-08-10 17:20:20'::timestamp) - extract(epoch from '2026-08-10 17:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013722 -3.35859)'), GeomFromEWKT('SRID=4674;POINT (-39.01378 -3.358567)'))) / (select extract(epoch from '2026-08-10 17:20:20'::timestamp) - extract(epoch from '2026-08-10 17:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013823 -3.358544)', '2026-08-10 17:20:29', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01378 -3.358567)'), GeomFromEWKT('SRID=4674;POINT (-39.013823 -3.358544)'))) / (select extract(epoch from '2026-08-10 17:20:29'::timestamp) - extract(epoch from '2026-08-10 17:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01378 -3.358567)'), GeomFromEWKT('SRID=4674;POINT (-39.013823 -3.358544)'))) / (select extract(epoch from '2026-08-10 17:20:29'::timestamp) - extract(epoch from '2026-08-10 17:20: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'), 48138, 'SRID=4674;POINT (-39.013872 -3.358517)', '2026-08-10 17:20:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013823 -3.358544)'), GeomFromEWKT('SRID=4674;POINT (-39.013872 -3.358517)'))) / (select extract(epoch from '2026-08-10 17:20:39'::timestamp) - extract(epoch from '2026-08-10 17:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013823 -3.358544)'), GeomFromEWKT('SRID=4674;POINT (-39.013872 -3.358517)'))) / (select extract(epoch from '2026-08-10 17:20:39'::timestamp) - extract(epoch from '2026-08-10 17:20:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.013917 -3.358517)', '2026-08-10 17:20:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013872 -3.358517)'), GeomFromEWKT('SRID=4674;POINT (-39.013917 -3.358517)'))) / (select extract(epoch from '2026-08-10 17:20:46'::timestamp) - extract(epoch from '2026-08-10 17:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013872 -3.358517)'), GeomFromEWKT('SRID=4674;POINT (-39.013917 -3.358517)'))) / (select extract(epoch from '2026-08-10 17:20:46'::timestamp) - extract(epoch from '2026-08-10 17:20: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'), 48138, 'SRID=4674;POINT (-39.013964 -3.358519)', '2026-08-10 17:20:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013917 -3.358517)'), GeomFromEWKT('SRID=4674;POINT (-39.013964 -3.358519)'))) / (select extract(epoch from '2026-08-10 17:20:54'::timestamp) - extract(epoch from '2026-08-10 17:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013917 -3.358517)'), GeomFromEWKT('SRID=4674;POINT (-39.013964 -3.358519)'))) / (select extract(epoch from '2026-08-10 17:20:54'::timestamp) - extract(epoch from '2026-08-10 17:20: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'), 48138, 'SRID=4674;POINT (-39.013993 -3.358508)', '2026-08-10 17:21:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013964 -3.358519)'), GeomFromEWKT('SRID=4674;POINT (-39.013993 -3.358508)'))) / (select extract(epoch from '2026-08-10 17:21:00'::timestamp) - extract(epoch from '2026-08-10 17:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013964 -3.358519)'), GeomFromEWKT('SRID=4674;POINT (-39.013993 -3.358508)'))) / (select extract(epoch from '2026-08-10 17:21:00'::timestamp) - extract(epoch from '2026-08-10 17:20: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'), 48138, 'SRID=4674;POINT (-39.014034 -3.358487)', '2026-08-10 17:21:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013993 -3.358508)'), GeomFromEWKT('SRID=4674;POINT (-39.014034 -3.358487)'))) / (select extract(epoch from '2026-08-10 17:21:08'::timestamp) - extract(epoch from '2026-08-10 17:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013993 -3.358508)'), GeomFromEWKT('SRID=4674;POINT (-39.014034 -3.358487)'))) / (select extract(epoch from '2026-08-10 17:21:08'::timestamp) - extract(epoch from '2026-08-10 17:21: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'), 48138, 'SRID=4674;POINT (-39.01408 -3.358454)', '2026-08-10 17:21:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014034 -3.358487)'), GeomFromEWKT('SRID=4674;POINT (-39.01408 -3.358454)'))) / (select extract(epoch from '2026-08-10 17:21:17'::timestamp) - extract(epoch from '2026-08-10 17:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014034 -3.358487)'), GeomFromEWKT('SRID=4674;POINT (-39.01408 -3.358454)'))) / (select extract(epoch from '2026-08-10 17:21:17'::timestamp) - extract(epoch from '2026-08-10 17:21:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014124 -3.358434)', '2026-08-10 17:21:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01408 -3.358454)'), GeomFromEWKT('SRID=4674;POINT (-39.014124 -3.358434)'))) / (select extract(epoch from '2026-08-10 17:21:27'::timestamp) - extract(epoch from '2026-08-10 17:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01408 -3.358454)'), GeomFromEWKT('SRID=4674;POINT (-39.014124 -3.358434)'))) / (select extract(epoch from '2026-08-10 17:21:27'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.014163 -3.358419)', '2026-08-10 17:21:33', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014124 -3.358434)'), GeomFromEWKT('SRID=4674;POINT (-39.014163 -3.358419)'))) / (select extract(epoch from '2026-08-10 17:21:33'::timestamp) - extract(epoch from '2026-08-10 17:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014124 -3.358434)'), GeomFromEWKT('SRID=4674;POINT (-39.014163 -3.358419)'))) / (select extract(epoch from '2026-08-10 17:21:33'::timestamp) - extract(epoch from '2026-08-10 17:21: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'), 48138, 'SRID=4674;POINT (-39.014204 -3.358397)', '2026-08-10 17:21:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014163 -3.358419)'), GeomFromEWKT('SRID=4674;POINT (-39.014204 -3.358397)'))) / (select extract(epoch from '2026-08-10 17:21:40'::timestamp) - extract(epoch from '2026-08-10 17:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014163 -3.358419)'), GeomFromEWKT('SRID=4674;POINT (-39.014204 -3.358397)'))) / (select extract(epoch from '2026-08-10 17:21:40'::timestamp) - extract(epoch from '2026-08-10 17:21: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'), 48138, 'SRID=4674;POINT (-39.014244 -3.358371)', '2026-08-10 17:21:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014204 -3.358397)'), GeomFromEWKT('SRID=4674;POINT (-39.014244 -3.358371)'))) / (select extract(epoch from '2026-08-10 17:21:50'::timestamp) - extract(epoch from '2026-08-10 17:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014204 -3.358397)'), GeomFromEWKT('SRID=4674;POINT (-39.014244 -3.358371)'))) / (select extract(epoch from '2026-08-10 17:21:50'::timestamp) - extract(epoch from '2026-08-10 17:21: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'), 48138, 'SRID=4674;POINT (-39.014292 -3.358347)', '2026-08-10 17:21:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014244 -3.358371)'), GeomFromEWKT('SRID=4674;POINT (-39.014292 -3.358347)'))) / (select extract(epoch from '2026-08-10 17:21:59'::timestamp) - extract(epoch from '2026-08-10 17:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014244 -3.358371)'), GeomFromEWKT('SRID=4674;POINT (-39.014292 -3.358347)'))) / (select extract(epoch from '2026-08-10 17:21:59'::timestamp) - extract(epoch from '2026-08-10 17:21:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014351 -3.358306)', '2026-08-10 17:22:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014292 -3.358347)'), GeomFromEWKT('SRID=4674;POINT (-39.014351 -3.358306)'))) / (select extract(epoch from '2026-08-10 17:22:11'::timestamp) - extract(epoch from '2026-08-10 17:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014292 -3.358347)'), GeomFromEWKT('SRID=4674;POINT (-39.014351 -3.358306)'))) / (select extract(epoch from '2026-08-10 17:22:11'::timestamp) - extract(epoch from '2026-08-10 17:21: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'), 48138, 'SRID=4674;POINT (-39.014383 -3.358309)', '2026-08-10 17:22:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014351 -3.358306)'), GeomFromEWKT('SRID=4674;POINT (-39.014383 -3.358309)'))) / (select extract(epoch from '2026-08-10 17:22:18'::timestamp) - extract(epoch from '2026-08-10 17:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014351 -3.358306)'), GeomFromEWKT('SRID=4674;POINT (-39.014383 -3.358309)'))) / (select extract(epoch from '2026-08-10 17:22:18'::timestamp) - extract(epoch from '2026-08-10 17:22: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'), 48138, 'SRID=4674;POINT (-39.014436 -3.358287)', '2026-08-10 17:22:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014383 -3.358309)'), GeomFromEWKT('SRID=4674;POINT (-39.014436 -3.358287)'))) / (select extract(epoch from '2026-08-10 17:22:27'::timestamp) - extract(epoch from '2026-08-10 17:22:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014383 -3.358309)'), GeomFromEWKT('SRID=4674;POINT (-39.014436 -3.358287)'))) / (select extract(epoch from '2026-08-10 17:22:27'::timestamp) - extract(epoch from '2026-08-10 17:22:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014468 -3.358276)', '2026-08-10 17:22:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014436 -3.358287)'), GeomFromEWKT('SRID=4674;POINT (-39.014468 -3.358276)'))) / (select extract(epoch from '2026-08-10 17:22:35'::timestamp) - extract(epoch from '2026-08-10 17:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014436 -3.358287)'), GeomFromEWKT('SRID=4674;POINT (-39.014468 -3.358276)'))) / (select extract(epoch from '2026-08-10 17:22:35'::timestamp) - extract(epoch from '2026-08-10 17:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01452 -3.358251)', '2026-08-10 17:22:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014468 -3.358276)'), GeomFromEWKT('SRID=4674;POINT (-39.01452 -3.358251)'))) / (select extract(epoch from '2026-08-10 17:22:44'::timestamp) - extract(epoch from '2026-08-10 17:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014468 -3.358276)'), GeomFromEWKT('SRID=4674;POINT (-39.01452 -3.358251)'))) / (select extract(epoch from '2026-08-10 17:22:44'::timestamp) - extract(epoch from '2026-08-10 17:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01457 -3.358218)', '2026-08-10 17:22:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01452 -3.358251)'), GeomFromEWKT('SRID=4674;POINT (-39.01457 -3.358218)'))) / (select extract(epoch from '2026-08-10 17:22:56'::timestamp) - extract(epoch from '2026-08-10 17:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01452 -3.358251)'), GeomFromEWKT('SRID=4674;POINT (-39.01457 -3.358218)'))) / (select extract(epoch from '2026-08-10 17:22:56'::timestamp) - extract(epoch from '2026-08-10 17:22: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'), 48138, 'SRID=4674;POINT (-39.014625 -3.358196)', '2026-08-10 17:23:06', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01457 -3.358218)'), GeomFromEWKT('SRID=4674;POINT (-39.014625 -3.358196)'))) / (select extract(epoch from '2026-08-10 17:23:06'::timestamp) - extract(epoch from '2026-08-10 17:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01457 -3.358218)'), GeomFromEWKT('SRID=4674;POINT (-39.014625 -3.358196)'))) / (select extract(epoch from '2026-08-10 17:23:06'::timestamp) - extract(epoch from '2026-08-10 17:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.014686 -3.358182)', '2026-08-10 17:23:14', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014625 -3.358196)'), GeomFromEWKT('SRID=4674;POINT (-39.014686 -3.358182)'))) / (select extract(epoch from '2026-08-10 17:23:14'::timestamp) - extract(epoch from '2026-08-10 17:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014625 -3.358196)'), GeomFromEWKT('SRID=4674;POINT (-39.014686 -3.358182)'))) / (select extract(epoch from '2026-08-10 17:23:14'::timestamp) - extract(epoch from '2026-08-10 17:23: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'), 48138, 'SRID=4674;POINT (-39.014714 -3.358169)', '2026-08-10 17:23:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014686 -3.358182)'), GeomFromEWKT('SRID=4674;POINT (-39.014714 -3.358169)'))) / (select extract(epoch from '2026-08-10 17:23:20'::timestamp) - extract(epoch from '2026-08-10 17:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014686 -3.358182)'), GeomFromEWKT('SRID=4674;POINT (-39.014714 -3.358169)'))) / (select extract(epoch from '2026-08-10 17:23:20'::timestamp) - extract(epoch from '2026-08-10 17:23: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'), 48138, 'SRID=4674;POINT (-39.014733 -3.358163)', '2026-08-10 17:23:25', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014714 -3.358169)'), GeomFromEWKT('SRID=4674;POINT (-39.014733 -3.358163)'))) / (select extract(epoch from '2026-08-10 17:23:25'::timestamp) - extract(epoch from '2026-08-10 17:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014714 -3.358169)'), GeomFromEWKT('SRID=4674;POINT (-39.014733 -3.358163)'))) / (select extract(epoch from '2026-08-10 17:23:25'::timestamp) - extract(epoch from '2026-08-10 17:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01477 -3.358138)', '2026-08-10 17:23:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014733 -3.358163)'), GeomFromEWKT('SRID=4674;POINT (-39.01477 -3.358138)'))) / (select extract(epoch from '2026-08-10 17:23:32'::timestamp) - extract(epoch from '2026-08-10 17:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014733 -3.358163)'), GeomFromEWKT('SRID=4674;POINT (-39.01477 -3.358138)'))) / (select extract(epoch from '2026-08-10 17:23:32'::timestamp) - extract(epoch from '2026-08-10 17:23: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'), 48138, 'SRID=4674;POINT (-39.014814 -3.358132)', '2026-08-10 17:23:41', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01477 -3.358138)'), GeomFromEWKT('SRID=4674;POINT (-39.014814 -3.358132)'))) / (select extract(epoch from '2026-08-10 17:23:41'::timestamp) - extract(epoch from '2026-08-10 17:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01477 -3.358138)'), GeomFromEWKT('SRID=4674;POINT (-39.014814 -3.358132)'))) / (select extract(epoch from '2026-08-10 17:23:41'::timestamp) - extract(epoch from '2026-08-10 17:23: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'), 48138, 'SRID=4674;POINT (-39.014874 -3.35812)', '2026-08-10 17:23:50', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014814 -3.358132)'), GeomFromEWKT('SRID=4674;POINT (-39.014874 -3.35812)'))) / (select extract(epoch from '2026-08-10 17:23:50'::timestamp) - extract(epoch from '2026-08-10 17:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014814 -3.358132)'), GeomFromEWKT('SRID=4674;POINT (-39.014874 -3.35812)'))) / (select extract(epoch from '2026-08-10 17:23:50'::timestamp) - extract(epoch from '2026-08-10 17:23: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'), 48138, 'SRID=4674;POINT (-39.014938 -3.358094)', '2026-08-10 17:24:00', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014874 -3.35812)'), GeomFromEWKT('SRID=4674;POINT (-39.014938 -3.358094)'))) / (select extract(epoch from '2026-08-10 17:24:00'::timestamp) - extract(epoch from '2026-08-10 17:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014874 -3.35812)'), GeomFromEWKT('SRID=4674;POINT (-39.014938 -3.358094)'))) / (select extract(epoch from '2026-08-10 17:24:00'::timestamp) - extract(epoch from '2026-08-10 17:23: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'), 48138, 'SRID=4674;POINT (-39.014977 -3.358067)', '2026-08-10 17:24:09', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014938 -3.358094)'), GeomFromEWKT('SRID=4674;POINT (-39.014977 -3.358067)'))) / (select extract(epoch from '2026-08-10 17:24:09'::timestamp) - extract(epoch from '2026-08-10 17:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014938 -3.358094)'), GeomFromEWKT('SRID=4674;POINT (-39.014977 -3.358067)'))) / (select extract(epoch from '2026-08-10 17:24:09'::timestamp) - extract(epoch from '2026-08-10 17:24: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'), 48138, 'SRID=4674;POINT (-39.015006 -3.358049)', '2026-08-10 17:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014977 -3.358067)'), GeomFromEWKT('SRID=4674;POINT (-39.015006 -3.358049)'))) / (select extract(epoch from '2026-08-10 17:24:17'::timestamp) - extract(epoch from '2026-08-10 17:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014977 -3.358067)'), GeomFromEWKT('SRID=4674;POINT (-39.015006 -3.358049)'))) / (select extract(epoch from '2026-08-10 17:24:17'::timestamp) - extract(epoch from '2026-08-10 17:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015049 -3.358019)', '2026-08-10 17:24:26', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015006 -3.358049)'), GeomFromEWKT('SRID=4674;POINT (-39.015049 -3.358019)'))) / (select extract(epoch from '2026-08-10 17:24:26'::timestamp) - extract(epoch from '2026-08-10 17:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015006 -3.358049)'), GeomFromEWKT('SRID=4674;POINT (-39.015049 -3.358019)'))) / (select extract(epoch from '2026-08-10 17:24:26'::timestamp) - extract(epoch from '2026-08-10 17:24: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'), 48138, 'SRID=4674;POINT (-39.015085 -3.358004)', '2026-08-10 17:24:33', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015049 -3.358019)'), GeomFromEWKT('SRID=4674;POINT (-39.015085 -3.358004)'))) / (select extract(epoch from '2026-08-10 17:24:33'::timestamp) - extract(epoch from '2026-08-10 17:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015049 -3.358019)'), GeomFromEWKT('SRID=4674;POINT (-39.015085 -3.358004)'))) / (select extract(epoch from '2026-08-10 17:24:33'::timestamp) - extract(epoch from '2026-08-10 17:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015133 -3.35798)', '2026-08-10 17:24:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015085 -3.358004)'), GeomFromEWKT('SRID=4674;POINT (-39.015133 -3.35798)'))) / (select extract(epoch from '2026-08-10 17:24:43'::timestamp) - extract(epoch from '2026-08-10 17:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015085 -3.358004)'), GeomFromEWKT('SRID=4674;POINT (-39.015133 -3.35798)'))) / (select extract(epoch from '2026-08-10 17:24:43'::timestamp) - extract(epoch from '2026-08-10 17:24: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'), 48138, 'SRID=4674;POINT (-39.015177 -3.357958)', '2026-08-10 17:24:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015133 -3.35798)'), GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.357958)'))) / (select extract(epoch from '2026-08-10 17:24:52'::timestamp) - extract(epoch from '2026-08-10 17:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015133 -3.35798)'), GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.357958)'))) / (select extract(epoch from '2026-08-10 17:24:52'::timestamp) - extract(epoch from '2026-08-10 17:24: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'), 48138, 'SRID=4674;POINT (-39.015229 -3.35792)', '2026-08-10 17:25:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.357958)'), GeomFromEWKT('SRID=4674;POINT (-39.015229 -3.35792)'))) / (select extract(epoch from '2026-08-10 17:25:01'::timestamp) - extract(epoch from '2026-08-10 17:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.357958)'), GeomFromEWKT('SRID=4674;POINT (-39.015229 -3.35792)'))) / (select extract(epoch from '2026-08-10 17:25:01'::timestamp) - extract(epoch from '2026-08-10 17:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01529 -3.357903)', '2026-08-10 17:25:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015229 -3.35792)'), GeomFromEWKT('SRID=4674;POINT (-39.01529 -3.357903)'))) / (select extract(epoch from '2026-08-10 17:25:11'::timestamp) - extract(epoch from '2026-08-10 17:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015229 -3.35792)'), GeomFromEWKT('SRID=4674;POINT (-39.01529 -3.357903)'))) / (select extract(epoch from '2026-08-10 17:25:11'::timestamp) - extract(epoch from '2026-08-10 17:25:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015321 -3.357887)', '2026-08-10 17:25:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01529 -3.357903)'), GeomFromEWKT('SRID=4674;POINT (-39.015321 -3.357887)'))) / (select extract(epoch from '2026-08-10 17:25:17'::timestamp) - extract(epoch from '2026-08-10 17:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01529 -3.357903)'), GeomFromEWKT('SRID=4674;POINT (-39.015321 -3.357887)'))) / (select extract(epoch from '2026-08-10 17:25:17'::timestamp) - extract(epoch from '2026-08-10 17:25: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'), 48138, 'SRID=4674;POINT (-39.015353 -3.357879)', '2026-08-10 17:25:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015321 -3.357887)'), GeomFromEWKT('SRID=4674;POINT (-39.015353 -3.357879)'))) / (select extract(epoch from '2026-08-10 17:25:26'::timestamp) - extract(epoch from '2026-08-10 17:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015321 -3.357887)'), GeomFromEWKT('SRID=4674;POINT (-39.015353 -3.357879)'))) / (select extract(epoch from '2026-08-10 17:25:26'::timestamp) - extract(epoch from '2026-08-10 17:25: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'), 48138, 'SRID=4674;POINT (-39.01539 -3.357868)', '2026-08-10 17:25:33', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015353 -3.357879)'), GeomFromEWKT('SRID=4674;POINT (-39.01539 -3.357868)'))) / (select extract(epoch from '2026-08-10 17:25:33'::timestamp) - extract(epoch from '2026-08-10 17:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015353 -3.357879)'), GeomFromEWKT('SRID=4674;POINT (-39.01539 -3.357868)'))) / (select extract(epoch from '2026-08-10 17:25:33'::timestamp) - extract(epoch from '2026-08-10 17:25: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'), 48138, 'SRID=4674;POINT (-39.015451 -3.357835)', '2026-08-10 17:25:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01539 -3.357868)'), GeomFromEWKT('SRID=4674;POINT (-39.015451 -3.357835)'))) / (select extract(epoch from '2026-08-10 17:25:44'::timestamp) - extract(epoch from '2026-08-10 17:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01539 -3.357868)'), GeomFromEWKT('SRID=4674;POINT (-39.015451 -3.357835)'))) / (select extract(epoch from '2026-08-10 17:25:44'::timestamp) - extract(epoch from '2026-08-10 17:25: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'), 48138, 'SRID=4674;POINT (-39.015498 -3.357805)', '2026-08-10 17:25:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015451 -3.357835)'), GeomFromEWKT('SRID=4674;POINT (-39.015498 -3.357805)'))) / (select extract(epoch from '2026-08-10 17:25:53'::timestamp) - extract(epoch from '2026-08-10 17:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015451 -3.357835)'), GeomFromEWKT('SRID=4674;POINT (-39.015498 -3.357805)'))) / (select extract(epoch from '2026-08-10 17:25:53'::timestamp) - extract(epoch from '2026-08-10 17:25: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'), 48138, 'SRID=4674;POINT (-39.015528 -3.357787)', '2026-08-10 17:26:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015498 -3.357805)'), GeomFromEWKT('SRID=4674;POINT (-39.015528 -3.357787)'))) / (select extract(epoch from '2026-08-10 17:26:00'::timestamp) - extract(epoch from '2026-08-10 17:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015498 -3.357805)'), GeomFromEWKT('SRID=4674;POINT (-39.015528 -3.357787)'))) / (select extract(epoch from '2026-08-10 17:26:00'::timestamp) - extract(epoch from '2026-08-10 17:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015579 -3.357771)', '2026-08-10 17:26:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015528 -3.357787)'), GeomFromEWKT('SRID=4674;POINT (-39.015579 -3.357771)'))) / (select extract(epoch from '2026-08-10 17:26:08'::timestamp) - extract(epoch from '2026-08-10 17:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015528 -3.357787)'), GeomFromEWKT('SRID=4674;POINT (-39.015579 -3.357771)'))) / (select extract(epoch from '2026-08-10 17:26:08'::timestamp) - extract(epoch from '2026-08-10 17:26:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.01562 -3.357758)', '2026-08-10 17:26:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015579 -3.357771)'), GeomFromEWKT('SRID=4674;POINT (-39.01562 -3.357758)'))) / (select extract(epoch from '2026-08-10 17:26:15'::timestamp) - extract(epoch from '2026-08-10 17:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015579 -3.357771)'), GeomFromEWKT('SRID=4674;POINT (-39.01562 -3.357758)'))) / (select extract(epoch from '2026-08-10 17:26:15'::timestamp) - extract(epoch from '2026-08-10 17:26: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'), 48138, 'SRID=4674;POINT (-39.015674 -3.357748)', '2026-08-10 17:26:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01562 -3.357758)'), GeomFromEWKT('SRID=4674;POINT (-39.015674 -3.357748)'))) / (select extract(epoch from '2026-08-10 17:26:25'::timestamp) - extract(epoch from '2026-08-10 17:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01562 -3.357758)'), GeomFromEWKT('SRID=4674;POINT (-39.015674 -3.357748)'))) / (select extract(epoch from '2026-08-10 17:26:25'::timestamp) - extract(epoch from '2026-08-10 17:26: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'), 48138, 'SRID=4674;POINT (-39.015727 -3.357738)', '2026-08-10 17:26:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015674 -3.357748)'), GeomFromEWKT('SRID=4674;POINT (-39.015727 -3.357738)'))) / (select extract(epoch from '2026-08-10 17:26:34'::timestamp) - extract(epoch from '2026-08-10 17:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015674 -3.357748)'), GeomFromEWKT('SRID=4674;POINT (-39.015727 -3.357738)'))) / (select extract(epoch from '2026-08-10 17:26:34'::timestamp) - extract(epoch from '2026-08-10 17:26: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'), 48138, 'SRID=4674;POINT (-39.015776 -3.357697)', '2026-08-10 17:26:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015727 -3.357738)'), GeomFromEWKT('SRID=4674;POINT (-39.015776 -3.357697)'))) / (select extract(epoch from '2026-08-10 17:26:46'::timestamp) - extract(epoch from '2026-08-10 17:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015727 -3.357738)'), GeomFromEWKT('SRID=4674;POINT (-39.015776 -3.357697)'))) / (select extract(epoch from '2026-08-10 17:26:46'::timestamp) - extract(epoch from '2026-08-10 17:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015833 -3.357667)', '2026-08-10 17:26:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015776 -3.357697)'), GeomFromEWKT('SRID=4674;POINT (-39.015833 -3.357667)'))) / (select extract(epoch from '2026-08-10 17:26:56'::timestamp) - extract(epoch from '2026-08-10 17:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015776 -3.357697)'), GeomFromEWKT('SRID=4674;POINT (-39.015833 -3.357667)'))) / (select extract(epoch from '2026-08-10 17:26:56'::timestamp) - extract(epoch from '2026-08-10 17:26: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'), 48138, 'SRID=4674;POINT (-39.015853 -3.35767)', '2026-08-10 17:27:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015833 -3.357667)'), GeomFromEWKT('SRID=4674;POINT (-39.015853 -3.35767)'))) / (select extract(epoch from '2026-08-10 17:27:00'::timestamp) - extract(epoch from '2026-08-10 17:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015833 -3.357667)'), GeomFromEWKT('SRID=4674;POINT (-39.015853 -3.35767)'))) / (select extract(epoch from '2026-08-10 17:27:00'::timestamp) - extract(epoch from '2026-08-10 17:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015868 -3.357674)', '2026-08-10 17:27:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015853 -3.35767)'), GeomFromEWKT('SRID=4674;POINT (-39.015868 -3.357674)'))) / (select extract(epoch from '2026-08-10 17:27:01'::timestamp) - extract(epoch from '2026-08-10 17:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015853 -3.35767)'), GeomFromEWKT('SRID=4674;POINT (-39.015868 -3.357674)'))) / (select extract(epoch from '2026-08-10 17:27:01'::timestamp) - extract(epoch from '2026-08-10 17:27:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.015878 -3.35767)', '2026-08-10 17:27:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015868 -3.357674)'), GeomFromEWKT('SRID=4674;POINT (-39.015878 -3.35767)'))) / (select extract(epoch from '2026-08-10 17:27:02'::timestamp) - extract(epoch from '2026-08-10 17:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015868 -3.357674)'), GeomFromEWKT('SRID=4674;POINT (-39.015878 -3.35767)'))) / (select extract(epoch from '2026-08-10 17:27:02'::timestamp) - extract(epoch from '2026-08-10 17:27: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'), 48138, 'SRID=4674;POINT (-39.015894 -3.357662)', '2026-08-10 17:27:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015878 -3.35767)'), GeomFromEWKT('SRID=4674;POINT (-39.015894 -3.357662)'))) / (select extract(epoch from '2026-08-10 17:27:05'::timestamp) - extract(epoch from '2026-08-10 17:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015878 -3.35767)'), GeomFromEWKT('SRID=4674;POINT (-39.015894 -3.357662)'))) / (select extract(epoch from '2026-08-10 17:27:05'::timestamp) - extract(epoch from '2026-08-10 17:27: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'), 48138, 'SRID=4674;POINT (-39.015931 -3.357642)', '2026-08-10 17:27:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015894 -3.357662)'), GeomFromEWKT('SRID=4674;POINT (-39.015931 -3.357642)'))) / (select extract(epoch from '2026-08-10 17:27:13'::timestamp) - extract(epoch from '2026-08-10 17:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015894 -3.357662)'), GeomFromEWKT('SRID=4674;POINT (-39.015931 -3.357642)'))) / (select extract(epoch from '2026-08-10 17:27:13'::timestamp) - extract(epoch from '2026-08-10 17:27: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'), 48138, 'SRID=4674;POINT (-39.015957 -3.357632)', '2026-08-10 17:27:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015931 -3.357642)'), GeomFromEWKT('SRID=4674;POINT (-39.015957 -3.357632)'))) / (select extract(epoch from '2026-08-10 17:27:19'::timestamp) - extract(epoch from '2026-08-10 17:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015931 -3.357642)'), GeomFromEWKT('SRID=4674;POINT (-39.015957 -3.357632)'))) / (select extract(epoch from '2026-08-10 17:27:19'::timestamp) - extract(epoch from '2026-08-10 17:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016004 -3.357614)', '2026-08-10 17:27:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015957 -3.357632)'), GeomFromEWKT('SRID=4674;POINT (-39.016004 -3.357614)'))) / (select extract(epoch from '2026-08-10 17:27:29'::timestamp) - extract(epoch from '2026-08-10 17:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015957 -3.357632)'), GeomFromEWKT('SRID=4674;POINT (-39.016004 -3.357614)'))) / (select extract(epoch from '2026-08-10 17:27:29'::timestamp) - extract(epoch from '2026-08-10 17:27: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'), 48138, 'SRID=4674;POINT (-39.016017 -3.357613)', '2026-08-10 17:27:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016004 -3.357614)'), GeomFromEWKT('SRID=4674;POINT (-39.016017 -3.357613)'))) / (select extract(epoch from '2026-08-10 17:27:30'::timestamp) - extract(epoch from '2026-08-10 17:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016004 -3.357614)'), GeomFromEWKT('SRID=4674;POINT (-39.016017 -3.357613)'))) / (select extract(epoch from '2026-08-10 17:27:30'::timestamp) - extract(epoch from '2026-08-10 17:27: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'), 48138, 'SRID=4674;POINT (-39.016041 -3.357607)', '2026-08-10 17:27:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016017 -3.357613)'), GeomFromEWKT('SRID=4674;POINT (-39.016041 -3.357607)'))) / (select extract(epoch from '2026-08-10 17:27:35'::timestamp) - extract(epoch from '2026-08-10 17:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016017 -3.357613)'), GeomFromEWKT('SRID=4674;POINT (-39.016041 -3.357607)'))) / (select extract(epoch from '2026-08-10 17:27:35'::timestamp) - extract(epoch from '2026-08-10 17:27: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'), 48138, 'SRID=4674;POINT (-39.01608 -3.357594)', '2026-08-10 17:27:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016041 -3.357607)'), GeomFromEWKT('SRID=4674;POINT (-39.01608 -3.357594)'))) / (select extract(epoch from '2026-08-10 17:27:42'::timestamp) - extract(epoch from '2026-08-10 17:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016041 -3.357607)'), GeomFromEWKT('SRID=4674;POINT (-39.01608 -3.357594)'))) / (select extract(epoch from '2026-08-10 17:27:42'::timestamp) - extract(epoch from '2026-08-10 17:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016121 -3.357594)', '2026-08-10 17:27:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01608 -3.357594)'), GeomFromEWKT('SRID=4674;POINT (-39.016121 -3.357594)'))) / (select extract(epoch from '2026-08-10 17:27:50'::timestamp) - extract(epoch from '2026-08-10 17:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01608 -3.357594)'), GeomFromEWKT('SRID=4674;POINT (-39.016121 -3.357594)'))) / (select extract(epoch from '2026-08-10 17:27:50'::timestamp) - extract(epoch from '2026-08-10 17:27: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'), 48138, 'SRID=4674;POINT (-39.016165 -3.357574)', '2026-08-10 17:28:02', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016121 -3.357594)'), GeomFromEWKT('SRID=4674;POINT (-39.016165 -3.357574)'))) / (select extract(epoch from '2026-08-10 17:28:02'::timestamp) - extract(epoch from '2026-08-10 17:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016121 -3.357594)'), GeomFromEWKT('SRID=4674;POINT (-39.016165 -3.357574)'))) / (select extract(epoch from '2026-08-10 17:28:02'::timestamp) - extract(epoch from '2026-08-10 17:27: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'), 48138, 'SRID=4674;POINT (-39.016218 -3.35755)', '2026-08-10 17:28:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016165 -3.357574)'), GeomFromEWKT('SRID=4674;POINT (-39.016218 -3.35755)'))) / (select extract(epoch from '2026-08-10 17:28:12'::timestamp) - extract(epoch from '2026-08-10 17:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016165 -3.357574)'), GeomFromEWKT('SRID=4674;POINT (-39.016218 -3.35755)'))) / (select extract(epoch from '2026-08-10 17:28:12'::timestamp) - extract(epoch from '2026-08-10 17:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016275 -3.357525)', '2026-08-10 17:28:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016218 -3.35755)'), GeomFromEWKT('SRID=4674;POINT (-39.016275 -3.357525)'))) / (select extract(epoch from '2026-08-10 17:28:20'::timestamp) - extract(epoch from '2026-08-10 17:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016218 -3.35755)'), GeomFromEWKT('SRID=4674;POINT (-39.016275 -3.357525)'))) / (select extract(epoch from '2026-08-10 17:28:20'::timestamp) - extract(epoch from '2026-08-10 17:28: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'), 48138, 'SRID=4674;POINT (-39.016323 -3.357505)', '2026-08-10 17:28:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016275 -3.357525)'), GeomFromEWKT('SRID=4674;POINT (-39.016323 -3.357505)'))) / (select extract(epoch from '2026-08-10 17:28:30'::timestamp) - extract(epoch from '2026-08-10 17:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016275 -3.357525)'), GeomFromEWKT('SRID=4674;POINT (-39.016323 -3.357505)'))) / (select extract(epoch from '2026-08-10 17:28:30'::timestamp) - extract(epoch from '2026-08-10 17:28: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'), 48138, 'SRID=4674;POINT (-39.016373 -3.357492)', '2026-08-10 17:28:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016323 -3.357505)'), GeomFromEWKT('SRID=4674;POINT (-39.016373 -3.357492)'))) / (select extract(epoch from '2026-08-10 17:28:39'::timestamp) - extract(epoch from '2026-08-10 17:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016323 -3.357505)'), GeomFromEWKT('SRID=4674;POINT (-39.016373 -3.357492)'))) / (select extract(epoch from '2026-08-10 17:28:39'::timestamp) - extract(epoch from '2026-08-10 17:28: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'), 48138, 'SRID=4674;POINT (-39.01642 -3.35747)', '2026-08-10 17:28:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016373 -3.357492)'), GeomFromEWKT('SRID=4674;POINT (-39.01642 -3.35747)'))) / (select extract(epoch from '2026-08-10 17:28:47'::timestamp) - extract(epoch from '2026-08-10 17:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016373 -3.357492)'), GeomFromEWKT('SRID=4674;POINT (-39.01642 -3.35747)'))) / (select extract(epoch from '2026-08-10 17:28:47'::timestamp) - extract(epoch from '2026-08-10 17:28: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'), 48138, 'SRID=4674;POINT (-39.016459 -3.35744)', '2026-08-10 17:28:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01642 -3.35747)'), GeomFromEWKT('SRID=4674;POINT (-39.016459 -3.35744)'))) / (select extract(epoch from '2026-08-10 17:28:55'::timestamp) - extract(epoch from '2026-08-10 17:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01642 -3.35747)'), GeomFromEWKT('SRID=4674;POINT (-39.016459 -3.35744)'))) / (select extract(epoch from '2026-08-10 17:28:55'::timestamp) - extract(epoch from '2026-08-10 17:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016497 -3.357421)', '2026-08-10 17:29:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016459 -3.35744)'), GeomFromEWKT('SRID=4674;POINT (-39.016497 -3.357421)'))) / (select extract(epoch from '2026-08-10 17:29:03'::timestamp) - extract(epoch from '2026-08-10 17:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016459 -3.35744)'), GeomFromEWKT('SRID=4674;POINT (-39.016497 -3.357421)'))) / (select extract(epoch from '2026-08-10 17:29:03'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.016546 -3.357405)', '2026-08-10 17:29:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016497 -3.357421)'), GeomFromEWKT('SRID=4674;POINT (-39.016546 -3.357405)'))) / (select extract(epoch from '2026-08-10 17:29:11'::timestamp) - extract(epoch from '2026-08-10 17:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016497 -3.357421)'), GeomFromEWKT('SRID=4674;POINT (-39.016546 -3.357405)'))) / (select extract(epoch from '2026-08-10 17:29:11'::timestamp) - extract(epoch from '2026-08-10 17:29:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016599 -3.357395)', '2026-08-10 17:29:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016546 -3.357405)'), GeomFromEWKT('SRID=4674;POINT (-39.016599 -3.357395)'))) / (select extract(epoch from '2026-08-10 17:29:19'::timestamp) - extract(epoch from '2026-08-10 17:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016546 -3.357405)'), GeomFromEWKT('SRID=4674;POINT (-39.016599 -3.357395)'))) / (select extract(epoch from '2026-08-10 17:29:19'::timestamp) - extract(epoch from '2026-08-10 17:29: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'), 48138, 'SRID=4674;POINT (-39.016661 -3.357371)', '2026-08-10 17:29:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016599 -3.357395)'), GeomFromEWKT('SRID=4674;POINT (-39.016661 -3.357371)'))) / (select extract(epoch from '2026-08-10 17:29:30'::timestamp) - extract(epoch from '2026-08-10 17:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016599 -3.357395)'), GeomFromEWKT('SRID=4674;POINT (-39.016661 -3.357371)'))) / (select extract(epoch from '2026-08-10 17:29:30'::timestamp) - extract(epoch from '2026-08-10 17:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016705 -3.35736)', '2026-08-10 17:29:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016661 -3.357371)'), GeomFromEWKT('SRID=4674;POINT (-39.016705 -3.35736)'))) / (select extract(epoch from '2026-08-10 17:29:38'::timestamp) - extract(epoch from '2026-08-10 17:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016661 -3.357371)'), GeomFromEWKT('SRID=4674;POINT (-39.016705 -3.35736)'))) / (select extract(epoch from '2026-08-10 17:29:38'::timestamp) - extract(epoch from '2026-08-10 17:29: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'), 48138, 'SRID=4674;POINT (-39.016741 -3.357358)', '2026-08-10 17:29:44', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016705 -3.35736)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.357358)'))) / (select extract(epoch from '2026-08-10 17:29:44'::timestamp) - extract(epoch from '2026-08-10 17:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016705 -3.35736)'), GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.357358)'))) / (select extract(epoch from '2026-08-10 17:29:44'::timestamp) - extract(epoch from '2026-08-10 17:29: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'), 48138, 'SRID=4674;POINT (-39.016789 -3.357339)', '2026-08-10 17:29:53', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.357358)'), GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.357339)'))) / (select extract(epoch from '2026-08-10 17:29:53'::timestamp) - extract(epoch from '2026-08-10 17:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016741 -3.357358)'), GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.357339)'))) / (select extract(epoch from '2026-08-10 17:29:53'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.016845 -3.357311)', '2026-08-10 17:30:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.357339)'), GeomFromEWKT('SRID=4674;POINT (-39.016845 -3.357311)'))) / (select extract(epoch from '2026-08-10 17:30:03'::timestamp) - extract(epoch from '2026-08-10 17:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016789 -3.357339)'), GeomFromEWKT('SRID=4674;POINT (-39.016845 -3.357311)'))) / (select extract(epoch from '2026-08-10 17:30:03'::timestamp) - extract(epoch from '2026-08-10 17:29: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'), 48138, 'SRID=4674;POINT (-39.016897 -3.357282)', '2026-08-10 17:30:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016845 -3.357311)'), GeomFromEWKT('SRID=4674;POINT (-39.016897 -3.357282)'))) / (select extract(epoch from '2026-08-10 17:30:15'::timestamp) - extract(epoch from '2026-08-10 17:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016845 -3.357311)'), GeomFromEWKT('SRID=4674;POINT (-39.016897 -3.357282)'))) / (select extract(epoch from '2026-08-10 17:30:15'::timestamp) - extract(epoch from '2026-08-10 17:30:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.016967 -3.357258)', '2026-08-10 17:30:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016897 -3.357282)'), GeomFromEWKT('SRID=4674;POINT (-39.016967 -3.357258)'))) / (select extract(epoch from '2026-08-10 17:30:28'::timestamp) - extract(epoch from '2026-08-10 17:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016897 -3.357282)'), GeomFromEWKT('SRID=4674;POINT (-39.016967 -3.357258)'))) / (select extract(epoch from '2026-08-10 17:30:28'::timestamp) - extract(epoch from '2026-08-10 17:30: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'), 48138, 'SRID=4674;POINT (-39.017034 -3.35724)', '2026-08-10 17:30:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016967 -3.357258)'), GeomFromEWKT('SRID=4674;POINT (-39.017034 -3.35724)'))) / (select extract(epoch from '2026-08-10 17:30:39'::timestamp) - extract(epoch from '2026-08-10 17:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016967 -3.357258)'), GeomFromEWKT('SRID=4674;POINT (-39.017034 -3.35724)'))) / (select extract(epoch from '2026-08-10 17:30:39'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.017095 -3.357216)', '2026-08-10 17:30:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017034 -3.35724)'), GeomFromEWKT('SRID=4674;POINT (-39.017095 -3.357216)'))) / (select extract(epoch from '2026-08-10 17:30:50'::timestamp) - extract(epoch from '2026-08-10 17:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017034 -3.35724)'), GeomFromEWKT('SRID=4674;POINT (-39.017095 -3.357216)'))) / (select extract(epoch from '2026-08-10 17:30:50'::timestamp) - extract(epoch from '2026-08-10 17:30: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'), 48138, 'SRID=4674;POINT (-39.017164 -3.3572)', '2026-08-10 17:31:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017095 -3.357216)'), GeomFromEWKT('SRID=4674;POINT (-39.017164 -3.3572)'))) / (select extract(epoch from '2026-08-10 17:31:03'::timestamp) - extract(epoch from '2026-08-10 17:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017095 -3.357216)'), GeomFromEWKT('SRID=4674;POINT (-39.017164 -3.3572)'))) / (select extract(epoch from '2026-08-10 17:31:03'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.017215 -3.357179)', '2026-08-10 17:31:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017164 -3.3572)'), GeomFromEWKT('SRID=4674;POINT (-39.017215 -3.357179)'))) / (select extract(epoch from '2026-08-10 17:31:15'::timestamp) - extract(epoch from '2026-08-10 17:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017164 -3.3572)'), GeomFromEWKT('SRID=4674;POINT (-39.017215 -3.357179)'))) / (select extract(epoch from '2026-08-10 17:31:15'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.01729 -3.357153)', '2026-08-10 17:31:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017215 -3.357179)'), GeomFromEWKT('SRID=4674;POINT (-39.01729 -3.357153)'))) / (select extract(epoch from '2026-08-10 17:31:28'::timestamp) - extract(epoch from '2026-08-10 17:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017215 -3.357179)'), GeomFromEWKT('SRID=4674;POINT (-39.01729 -3.357153)'))) / (select extract(epoch from '2026-08-10 17:31:28'::timestamp) - extract(epoch from '2026-08-10 17:31: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'), 48138, 'SRID=4674;POINT (-39.017352 -3.357109)', '2026-08-10 17:31:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01729 -3.357153)'), GeomFromEWKT('SRID=4674;POINT (-39.017352 -3.357109)'))) / (select extract(epoch from '2026-08-10 17:31:40'::timestamp) - extract(epoch from '2026-08-10 17:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01729 -3.357153)'), GeomFromEWKT('SRID=4674;POINT (-39.017352 -3.357109)'))) / (select extract(epoch from '2026-08-10 17:31:40'::timestamp) - extract(epoch from '2026-08-10 17:31:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017366 -3.357099)', '2026-08-10 17:31:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017352 -3.357109)'), GeomFromEWKT('SRID=4674;POINT (-39.017366 -3.357099)'))) / (select extract(epoch from '2026-08-10 17:31:43'::timestamp) - extract(epoch from '2026-08-10 17:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017352 -3.357109)'), GeomFromEWKT('SRID=4674;POINT (-39.017366 -3.357099)'))) / (select extract(epoch from '2026-08-10 17:31:43'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.017383 -3.357092)', '2026-08-10 17:31:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017366 -3.357099)'), GeomFromEWKT('SRID=4674;POINT (-39.017383 -3.357092)'))) / (select extract(epoch from '2026-08-10 17:31:46'::timestamp) - extract(epoch from '2026-08-10 17:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017366 -3.357099)'), GeomFromEWKT('SRID=4674;POINT (-39.017383 -3.357092)'))) / (select extract(epoch from '2026-08-10 17:31:46'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.017409 -3.357077)', '2026-08-10 17:31:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017383 -3.357092)'), GeomFromEWKT('SRID=4674;POINT (-39.017409 -3.357077)'))) / (select extract(epoch from '2026-08-10 17:31:51'::timestamp) - extract(epoch from '2026-08-10 17:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017383 -3.357092)'), GeomFromEWKT('SRID=4674;POINT (-39.017409 -3.357077)'))) / (select extract(epoch from '2026-08-10 17:31:51'::timestamp) - extract(epoch from '2026-08-10 17:31: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'), 48138, 'SRID=4674;POINT (-39.017429 -3.35706)', '2026-08-10 17:31:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017409 -3.357077)'), GeomFromEWKT('SRID=4674;POINT (-39.017429 -3.35706)'))) / (select extract(epoch from '2026-08-10 17:31:57'::timestamp) - extract(epoch from '2026-08-10 17:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017409 -3.357077)'), GeomFromEWKT('SRID=4674;POINT (-39.017429 -3.35706)'))) / (select extract(epoch from '2026-08-10 17:31:57'::timestamp) - extract(epoch from '2026-08-10 17:31: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'), 48138, 'SRID=4674;POINT (-39.017486 -3.357038)', '2026-08-10 17:32:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017429 -3.35706)'), GeomFromEWKT('SRID=4674;POINT (-39.017486 -3.357038)'))) / (select extract(epoch from '2026-08-10 17:32:06'::timestamp) - extract(epoch from '2026-08-10 17:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017429 -3.35706)'), GeomFromEWKT('SRID=4674;POINT (-39.017486 -3.357038)'))) / (select extract(epoch from '2026-08-10 17:32:06'::timestamp) - extract(epoch from '2026-08-10 17:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017547 -3.357029)', '2026-08-10 17:32:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017486 -3.357038)'), GeomFromEWKT('SRID=4674;POINT (-39.017547 -3.357029)'))) / (select extract(epoch from '2026-08-10 17:32:17'::timestamp) - extract(epoch from '2026-08-10 17:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017486 -3.357038)'), GeomFromEWKT('SRID=4674;POINT (-39.017547 -3.357029)'))) / (select extract(epoch from '2026-08-10 17:32:17'::timestamp) - extract(epoch from '2026-08-10 17:32: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'), 48138, 'SRID=4674;POINT (-39.017603 -3.356984)', '2026-08-10 17:32:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017547 -3.357029)'), GeomFromEWKT('SRID=4674;POINT (-39.017603 -3.356984)'))) / (select extract(epoch from '2026-08-10 17:32:31'::timestamp) - extract(epoch from '2026-08-10 17:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017547 -3.357029)'), GeomFromEWKT('SRID=4674;POINT (-39.017603 -3.356984)'))) / (select extract(epoch from '2026-08-10 17:32:31'::timestamp) - extract(epoch from '2026-08-10 17:32:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017643 -3.356959)', '2026-08-10 17:32:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017603 -3.356984)'), GeomFromEWKT('SRID=4674;POINT (-39.017643 -3.356959)'))) / (select extract(epoch from '2026-08-10 17:32:42'::timestamp) - extract(epoch from '2026-08-10 17:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017603 -3.356984)'), GeomFromEWKT('SRID=4674;POINT (-39.017643 -3.356959)'))) / (select extract(epoch from '2026-08-10 17:32:42'::timestamp) - extract(epoch from '2026-08-10 17:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017707 -3.356923)', '2026-08-10 17:32:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017643 -3.356959)'), GeomFromEWKT('SRID=4674;POINT (-39.017707 -3.356923)'))) / (select extract(epoch from '2026-08-10 17:32:52'::timestamp) - extract(epoch from '2026-08-10 17:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017643 -3.356959)'), GeomFromEWKT('SRID=4674;POINT (-39.017707 -3.356923)'))) / (select extract(epoch from '2026-08-10 17:32:52'::timestamp) - extract(epoch from '2026-08-10 17:32:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017759 -3.356918)', '2026-08-10 17:33:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017707 -3.356923)'), GeomFromEWKT('SRID=4674;POINT (-39.017759 -3.356918)'))) / (select extract(epoch from '2026-08-10 17:33:00'::timestamp) - extract(epoch from '2026-08-10 17:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017707 -3.356923)'), GeomFromEWKT('SRID=4674;POINT (-39.017759 -3.356918)'))) / (select extract(epoch from '2026-08-10 17:33:00'::timestamp) - extract(epoch from '2026-08-10 17:32: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'), 48138, 'SRID=4674;POINT (-39.017803 -3.356914)', '2026-08-10 17:33:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017759 -3.356918)'), GeomFromEWKT('SRID=4674;POINT (-39.017803 -3.356914)'))) / (select extract(epoch from '2026-08-10 17:33:05'::timestamp) - extract(epoch from '2026-08-10 17:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017759 -3.356918)'), GeomFromEWKT('SRID=4674;POINT (-39.017803 -3.356914)'))) / (select extract(epoch from '2026-08-10 17:33:05'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.017853 -3.356886)', '2026-08-10 17:33:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017803 -3.356914)'), GeomFromEWKT('SRID=4674;POINT (-39.017853 -3.356886)'))) / (select extract(epoch from '2026-08-10 17:33:14'::timestamp) - extract(epoch from '2026-08-10 17:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017803 -3.356914)'), GeomFromEWKT('SRID=4674;POINT (-39.017853 -3.356886)'))) / (select extract(epoch from '2026-08-10 17:33:14'::timestamp) - extract(epoch from '2026-08-10 17:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017915 -3.356855)', '2026-08-10 17:33:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017853 -3.356886)'), GeomFromEWKT('SRID=4674;POINT (-39.017915 -3.356855)'))) / (select extract(epoch from '2026-08-10 17:33:25'::timestamp) - extract(epoch from '2026-08-10 17:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017853 -3.356886)'), GeomFromEWKT('SRID=4674;POINT (-39.017915 -3.356855)'))) / (select extract(epoch from '2026-08-10 17:33:25'::timestamp) - extract(epoch from '2026-08-10 17:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.017955 -3.356834)', '2026-08-10 17:33:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017915 -3.356855)'), GeomFromEWKT('SRID=4674;POINT (-39.017955 -3.356834)'))) / (select extract(epoch from '2026-08-10 17:33:34'::timestamp) - extract(epoch from '2026-08-10 17:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017915 -3.356855)'), GeomFromEWKT('SRID=4674;POINT (-39.017955 -3.356834)'))) / (select extract(epoch from '2026-08-10 17:33:34'::timestamp) - extract(epoch from '2026-08-10 17:33: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'), 48138, 'SRID=4674;POINT (-39.01801 -3.356823)', '2026-08-10 17:33:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017955 -3.356834)'), GeomFromEWKT('SRID=4674;POINT (-39.01801 -3.356823)'))) / (select extract(epoch from '2026-08-10 17:33:43'::timestamp) - extract(epoch from '2026-08-10 17:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017955 -3.356834)'), GeomFromEWKT('SRID=4674;POINT (-39.01801 -3.356823)'))) / (select extract(epoch from '2026-08-10 17:33:43'::timestamp) - extract(epoch from '2026-08-10 17:33: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'), 48138, 'SRID=4674;POINT (-39.018057 -3.35682)', '2026-08-10 17:33:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01801 -3.356823)'), GeomFromEWKT('SRID=4674;POINT (-39.018057 -3.35682)'))) / (select extract(epoch from '2026-08-10 17:33:53'::timestamp) - extract(epoch from '2026-08-10 17:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01801 -3.356823)'), GeomFromEWKT('SRID=4674;POINT (-39.018057 -3.35682)'))) / (select extract(epoch from '2026-08-10 17:33:53'::timestamp) - extract(epoch from '2026-08-10 17:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018105 -3.356792)', '2026-08-10 17:34:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018057 -3.35682)'), GeomFromEWKT('SRID=4674;POINT (-39.018105 -3.356792)'))) / (select extract(epoch from '2026-08-10 17:34:02'::timestamp) - extract(epoch from '2026-08-10 17:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018057 -3.35682)'), GeomFromEWKT('SRID=4674;POINT (-39.018105 -3.356792)'))) / (select extract(epoch from '2026-08-10 17:34:02'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.018157 -3.356774)', '2026-08-10 17:34:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018105 -3.356792)'), GeomFromEWKT('SRID=4674;POINT (-39.018157 -3.356774)'))) / (select extract(epoch from '2026-08-10 17:34:12'::timestamp) - extract(epoch from '2026-08-10 17:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018105 -3.356792)'), GeomFromEWKT('SRID=4674;POINT (-39.018157 -3.356774)'))) / (select extract(epoch from '2026-08-10 17:34:12'::timestamp) - extract(epoch from '2026-08-10 17:34: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'), 48138, 'SRID=4674;POINT (-39.018212 -3.356741)', '2026-08-10 17:34:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018157 -3.356774)'), GeomFromEWKT('SRID=4674;POINT (-39.018212 -3.356741)'))) / (select extract(epoch from '2026-08-10 17:34:25'::timestamp) - extract(epoch from '2026-08-10 17:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018157 -3.356774)'), GeomFromEWKT('SRID=4674;POINT (-39.018212 -3.356741)'))) / (select extract(epoch from '2026-08-10 17:34:25'::timestamp) - extract(epoch from '2026-08-10 17:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018279 -3.356725)', '2026-08-10 17:34:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018212 -3.356741)'), GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.356725)'))) / (select extract(epoch from '2026-08-10 17:34:37'::timestamp) - extract(epoch from '2026-08-10 17:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018212 -3.356741)'), GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.356725)'))) / (select extract(epoch from '2026-08-10 17:34:37'::timestamp) - extract(epoch from '2026-08-10 17:34: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'), 48138, 'SRID=4674;POINT (-39.018325 -3.356689)', '2026-08-10 17:34:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.356725)'), GeomFromEWKT('SRID=4674;POINT (-39.018325 -3.356689)'))) / (select extract(epoch from '2026-08-10 17:34:45'::timestamp) - extract(epoch from '2026-08-10 17:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018279 -3.356725)'), GeomFromEWKT('SRID=4674;POINT (-39.018325 -3.356689)'))) / (select extract(epoch from '2026-08-10 17:34:45'::timestamp) - extract(epoch from '2026-08-10 17:34: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'), 48138, 'SRID=4674;POINT (-39.018351 -3.356669)', '2026-08-10 17:34:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018325 -3.356689)'), GeomFromEWKT('SRID=4674;POINT (-39.018351 -3.356669)'))) / (select extract(epoch from '2026-08-10 17:34:53'::timestamp) - extract(epoch from '2026-08-10 17:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018325 -3.356689)'), GeomFromEWKT('SRID=4674;POINT (-39.018351 -3.356669)'))) / (select extract(epoch from '2026-08-10 17:34:53'::timestamp) - extract(epoch from '2026-08-10 17:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018393 -3.356664)', '2026-08-10 17:34:59', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018351 -3.356669)'), GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.356664)'))) / (select extract(epoch from '2026-08-10 17:34:59'::timestamp) - extract(epoch from '2026-08-10 17:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018351 -3.356669)'), GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.356664)'))) / (select extract(epoch from '2026-08-10 17:34:59'::timestamp) - extract(epoch from '2026-08-10 17:34: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'), 48138, 'SRID=4674;POINT (-39.018414 -3.356651)', '2026-08-10 17:35:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.356664)'), GeomFromEWKT('SRID=4674;POINT (-39.018414 -3.356651)'))) / (select extract(epoch from '2026-08-10 17:35:03'::timestamp) - extract(epoch from '2026-08-10 17:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018393 -3.356664)'), GeomFromEWKT('SRID=4674;POINT (-39.018414 -3.356651)'))) / (select extract(epoch from '2026-08-10 17:35:03'::timestamp) - extract(epoch from '2026-08-10 17:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018426 -3.356645)', '2026-08-10 17:35:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018414 -3.356651)'), GeomFromEWKT('SRID=4674;POINT (-39.018426 -3.356645)'))) / (select extract(epoch from '2026-08-10 17:35:05'::timestamp) - extract(epoch from '2026-08-10 17:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018414 -3.356651)'), GeomFromEWKT('SRID=4674;POINT (-39.018426 -3.356645)'))) / (select extract(epoch from '2026-08-10 17:35:05'::timestamp) - extract(epoch from '2026-08-10 17:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018478 -3.356608)', '2026-08-10 17:35:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018426 -3.356645)'), GeomFromEWKT('SRID=4674;POINT (-39.018478 -3.356608)'))) / (select extract(epoch from '2026-08-10 17:35:15'::timestamp) - extract(epoch from '2026-08-10 17:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018426 -3.356645)'), GeomFromEWKT('SRID=4674;POINT (-39.018478 -3.356608)'))) / (select extract(epoch from '2026-08-10 17:35:15'::timestamp) - extract(epoch from '2026-08-10 17:35: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'), 48138, 'SRID=4674;POINT (-39.018504 -3.356588)', '2026-08-10 17:35:21', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018478 -3.356608)'), GeomFromEWKT('SRID=4674;POINT (-39.018504 -3.356588)'))) / (select extract(epoch from '2026-08-10 17:35:21'::timestamp) - extract(epoch from '2026-08-10 17:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018478 -3.356608)'), GeomFromEWKT('SRID=4674;POINT (-39.018504 -3.356588)'))) / (select extract(epoch from '2026-08-10 17:35:21'::timestamp) - extract(epoch from '2026-08-10 17:35: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'), 48138, 'SRID=4674;POINT (-39.018552 -3.356555)', '2026-08-10 17:35:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018504 -3.356588)'), GeomFromEWKT('SRID=4674;POINT (-39.018552 -3.356555)'))) / (select extract(epoch from '2026-08-10 17:35:32'::timestamp) - extract(epoch from '2026-08-10 17:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018504 -3.356588)'), GeomFromEWKT('SRID=4674;POINT (-39.018552 -3.356555)'))) / (select extract(epoch from '2026-08-10 17:35:32'::timestamp) - extract(epoch from '2026-08-10 17:35: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'), 48138, 'SRID=4674;POINT (-39.018597 -3.356542)', '2026-08-10 17:35:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018552 -3.356555)'), GeomFromEWKT('SRID=4674;POINT (-39.018597 -3.356542)'))) / (select extract(epoch from '2026-08-10 17:35:40'::timestamp) - extract(epoch from '2026-08-10 17:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018552 -3.356555)'), GeomFromEWKT('SRID=4674;POINT (-39.018597 -3.356542)'))) / (select extract(epoch from '2026-08-10 17:35:40'::timestamp) - extract(epoch from '2026-08-10 17:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018643 -3.35652)', '2026-08-10 17:35:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018597 -3.356542)'), GeomFromEWKT('SRID=4674;POINT (-39.018643 -3.35652)'))) / (select extract(epoch from '2026-08-10 17:35:48'::timestamp) - extract(epoch from '2026-08-10 17:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018597 -3.356542)'), GeomFromEWKT('SRID=4674;POINT (-39.018643 -3.35652)'))) / (select extract(epoch from '2026-08-10 17:35:48'::timestamp) - extract(epoch from '2026-08-10 17:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018676 -3.356501)', '2026-08-10 17:35:55', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018643 -3.35652)'), GeomFromEWKT('SRID=4674;POINT (-39.018676 -3.356501)'))) / (select extract(epoch from '2026-08-10 17:35:55'::timestamp) - extract(epoch from '2026-08-10 17:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018643 -3.35652)'), GeomFromEWKT('SRID=4674;POINT (-39.018676 -3.356501)'))) / (select extract(epoch from '2026-08-10 17:35:55'::timestamp) - extract(epoch from '2026-08-10 17:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018731 -3.356444)', '2026-08-10 17:36:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018676 -3.356501)'), GeomFromEWKT('SRID=4674;POINT (-39.018731 -3.356444)'))) / (select extract(epoch from '2026-08-10 17:36:09'::timestamp) - extract(epoch from '2026-08-10 17:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018676 -3.356501)'), GeomFromEWKT('SRID=4674;POINT (-39.018731 -3.356444)'))) / (select extract(epoch from '2026-08-10 17:36:09'::timestamp) - extract(epoch from '2026-08-10 17:35:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018769 -3.356424)', '2026-08-10 17:36:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018731 -3.356444)'), GeomFromEWKT('SRID=4674;POINT (-39.018769 -3.356424)'))) / (select extract(epoch from '2026-08-10 17:36:17'::timestamp) - extract(epoch from '2026-08-10 17:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018731 -3.356444)'), GeomFromEWKT('SRID=4674;POINT (-39.018769 -3.356424)'))) / (select extract(epoch from '2026-08-10 17:36:17'::timestamp) - extract(epoch from '2026-08-10 17:36: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'), 48138, 'SRID=4674;POINT (-39.018778 -3.356425)', '2026-08-10 17:36:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018769 -3.356424)'), GeomFromEWKT('SRID=4674;POINT (-39.018778 -3.356425)'))) / (select extract(epoch from '2026-08-10 17:36:18'::timestamp) - extract(epoch from '2026-08-10 17:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018769 -3.356424)'), GeomFromEWKT('SRID=4674;POINT (-39.018778 -3.356425)'))) / (select extract(epoch from '2026-08-10 17:36:18'::timestamp) - extract(epoch from '2026-08-10 17:36: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'), 48138, 'SRID=4674;POINT (-39.018798 -3.356416)', '2026-08-10 17:36:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018778 -3.356425)'), GeomFromEWKT('SRID=4674;POINT (-39.018798 -3.356416)'))) / (select extract(epoch from '2026-08-10 17:36:21'::timestamp) - extract(epoch from '2026-08-10 17:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018778 -3.356425)'), GeomFromEWKT('SRID=4674;POINT (-39.018798 -3.356416)'))) / (select extract(epoch from '2026-08-10 17:36:21'::timestamp) - extract(epoch from '2026-08-10 17: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'), 48138, 'SRID=4674;POINT (-39.018831 -3.356399)', '2026-08-10 17:36:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018798 -3.356416)'), GeomFromEWKT('SRID=4674;POINT (-39.018831 -3.356399)'))) / (select extract(epoch from '2026-08-10 17:36:27'::timestamp) - extract(epoch from '2026-08-10 17:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018798 -3.356416)'), GeomFromEWKT('SRID=4674;POINT (-39.018831 -3.356399)'))) / (select extract(epoch from '2026-08-10 17:36:27'::timestamp) - extract(epoch from '2026-08-10 17:36: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'), 48138, 'SRID=4674;POINT (-39.018889 -3.356375)', '2026-08-10 17:36:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018831 -3.356399)'), GeomFromEWKT('SRID=4674;POINT (-39.018889 -3.356375)'))) / (select extract(epoch from '2026-08-10 17:36:38'::timestamp) - extract(epoch from '2026-08-10 17:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018831 -3.356399)'), GeomFromEWKT('SRID=4674;POINT (-39.018889 -3.356375)'))) / (select extract(epoch from '2026-08-10 17:36:38'::timestamp) - extract(epoch from '2026-08-10 17:36:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.018938 -3.356351)', '2026-08-10 17:36:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018889 -3.356375)'), GeomFromEWKT('SRID=4674;POINT (-39.018938 -3.356351)'))) / (select extract(epoch from '2026-08-10 17:36:46'::timestamp) - extract(epoch from '2026-08-10 17:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018889 -3.356375)'), GeomFromEWKT('SRID=4674;POINT (-39.018938 -3.356351)'))) / (select extract(epoch from '2026-08-10 17:36:46'::timestamp) - extract(epoch from '2026-08-10 17:36: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'), 48138, 'SRID=4674;POINT (-39.018956 -3.356332)', '2026-08-10 17:36:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018938 -3.356351)'), GeomFromEWKT('SRID=4674;POINT (-39.018956 -3.356332)'))) / (select extract(epoch from '2026-08-10 17:36:50'::timestamp) - extract(epoch from '2026-08-10 17:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018938 -3.356351)'), GeomFromEWKT('SRID=4674;POINT (-39.018956 -3.356332)'))) / (select extract(epoch from '2026-08-10 17:36:50'::timestamp) - extract(epoch from '2026-08-10 17:36: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'), 48138, 'SRID=4674;POINT (-39.01896 -3.35633)', '2026-08-10 17:36:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018956 -3.356332)'), GeomFromEWKT('SRID=4674;POINT (-39.01896 -3.35633)'))) / (select extract(epoch from '2026-08-10 17:36:51'::timestamp) - extract(epoch from '2026-08-10 17:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018956 -3.356332)'), GeomFromEWKT('SRID=4674;POINT (-39.01896 -3.35633)'))) / (select extract(epoch from '2026-08-10 17:36:51'::timestamp) - extract(epoch from '2026-08-10 17:36: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'), 48138, 'SRID=4674;POINT (-39.018999 -3.356306)', '2026-08-10 17:37:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01896 -3.35633)'), GeomFromEWKT('SRID=4674;POINT (-39.018999 -3.356306)'))) / (select extract(epoch from '2026-08-10 17:37:02'::timestamp) - extract(epoch from '2026-08-10 17:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01896 -3.35633)'), GeomFromEWKT('SRID=4674;POINT (-39.018999 -3.356306)'))) / (select extract(epoch from '2026-08-10 17:37:02'::timestamp) - extract(epoch from '2026-08-10 17:36: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'), 48138, 'SRID=4674;POINT (-39.019042 -3.356277)', '2026-08-10 17:37:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018999 -3.356306)'), GeomFromEWKT('SRID=4674;POINT (-39.019042 -3.356277)'))) / (select extract(epoch from '2026-08-10 17:37:11'::timestamp) - extract(epoch from '2026-08-10 17:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018999 -3.356306)'), GeomFromEWKT('SRID=4674;POINT (-39.019042 -3.356277)'))) / (select extract(epoch from '2026-08-10 17:37:11'::timestamp) - extract(epoch from '2026-08-10 17:37: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'), 48138, 'SRID=4674;POINT (-39.019064 -3.356266)', '2026-08-10 17:37:17', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019042 -3.356277)'), GeomFromEWKT('SRID=4674;POINT (-39.019064 -3.356266)'))) / (select extract(epoch from '2026-08-10 17:37:17'::timestamp) - extract(epoch from '2026-08-10 17:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019042 -3.356277)'), GeomFromEWKT('SRID=4674;POINT (-39.019064 -3.356266)'))) / (select extract(epoch from '2026-08-10 17:37:17'::timestamp) - extract(epoch from '2026-08-10 17:37:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48138, 'SRID=4674;POINT (-39.019084 -3.356266)', '2026-08-10 17:37:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019064 -3.356266)'), GeomFromEWKT('SRID=4674;POINT (-39.019084 -3.356266)'))) / (select extract(epoch from '2026-08-10 17:37:19'::timestamp) - extract(epoch from '2026-08-10 17:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019064 -3.356266)'), GeomFromEWKT('SRID=4674;POINT (-39.019084 -3.356266)'))) / (select extract(epoch from '2026-08-10 17:37:19'::timestamp) - extract(epoch from '2026-08-10 17:37: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'), 48138, 'SRID=4674;POINT (-39.019135 -3.356247)', '2026-08-10 17:37:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019084 -3.356266)'), GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.356247)'))) / (select extract(epoch from '2026-08-10 17:37:27'::timestamp) - extract(epoch from '2026-08-10 17:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019084 -3.356266)'), GeomFromEWKT('SRID=4674;POINT (-39.019135 -3.356247)'))) / (select extract(epoch from '2026-08-10 17:37:27'::timestamp) - extract(epoch from '2026-08-10 17:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
