 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.769134 -3.39101)', '2026-07-17 15:58:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769068 -3.390896)'), GeomFromEWKT('SRID=4674;POINT (-38.769134 -3.39101)'))) / (select extract(epoch from '2026-07-17 15:58:26'::timestamp) - extract(epoch from '2026-07-17 15:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769068 -3.390896)'), GeomFromEWKT('SRID=4674;POINT (-38.769134 -3.39101)'))) / (select extract(epoch from '2026-07-17 15:58:26'::timestamp) - extract(epoch from '2026-07-17 15:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.769205 -3.391121)', '2026-07-17 15:58:31', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769134 -3.39101)'), GeomFromEWKT('SRID=4674;POINT (-38.769205 -3.391121)'))) / (select extract(epoch from '2026-07-17 15:58:31'::timestamp) - extract(epoch from '2026-07-17 15:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769134 -3.39101)'), GeomFromEWKT('SRID=4674;POINT (-38.769205 -3.391121)'))) / (select extract(epoch from '2026-07-17 15:58:31'::timestamp) - extract(epoch from '2026-07-17 15:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.769285 -3.391279)', '2026-07-17 15:58:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769205 -3.391121)'), GeomFromEWKT('SRID=4674;POINT (-38.769285 -3.391279)'))) / (select extract(epoch from '2026-07-17 15:58:38'::timestamp) - extract(epoch from '2026-07-17 15:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769205 -3.391121)'), GeomFromEWKT('SRID=4674;POINT (-38.769285 -3.391279)'))) / (select extract(epoch from '2026-07-17 15:58:38'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47317, 'SRID=4674;POINT (-38.769348 -3.391442)', '2026-07-17 15:58:45', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769285 -3.391279)'), GeomFromEWKT('SRID=4674;POINT (-38.769348 -3.391442)'))) / (select extract(epoch from '2026-07-17 15:58:45'::timestamp) - extract(epoch from '2026-07-17 15:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769285 -3.391279)'), GeomFromEWKT('SRID=4674;POINT (-38.769348 -3.391442)'))) / (select extract(epoch from '2026-07-17 15:58:45'::timestamp) - extract(epoch from '2026-07-17 15:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.76941 -3.391589)', '2026-07-17 15:58:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769348 -3.391442)'), GeomFromEWKT('SRID=4674;POINT (-38.76941 -3.391589)'))) / (select extract(epoch from '2026-07-17 15:58:51'::timestamp) - extract(epoch from '2026-07-17 15:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769348 -3.391442)'), GeomFromEWKT('SRID=4674;POINT (-38.76941 -3.391589)'))) / (select extract(epoch from '2026-07-17 15:58:51'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47317, 'SRID=4674;POINT (-38.769471 -3.391709)', '2026-07-17 15:58:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76941 -3.391589)'), GeomFromEWKT('SRID=4674;POINT (-38.769471 -3.391709)'))) / (select extract(epoch from '2026-07-17 15:58:56'::timestamp) - extract(epoch from '2026-07-17 15:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.76941 -3.391589)'), GeomFromEWKT('SRID=4674;POINT (-38.769471 -3.391709)'))) / (select extract(epoch from '2026-07-17 15:58:56'::timestamp) - extract(epoch from '2026-07-17 15:58: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'), 47317, 'SRID=4674;POINT (-38.769524 -3.391822)', '2026-07-17 15:59:01', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769471 -3.391709)'), GeomFromEWKT('SRID=4674;POINT (-38.769524 -3.391822)'))) / (select extract(epoch from '2026-07-17 15:59:01'::timestamp) - extract(epoch from '2026-07-17 15:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769471 -3.391709)'), GeomFromEWKT('SRID=4674;POINT (-38.769524 -3.391822)'))) / (select extract(epoch from '2026-07-17 15:59:01'::timestamp) - extract(epoch from '2026-07-17 15:58:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.769578 -3.391937)', '2026-07-17 15:59:06', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769524 -3.391822)'), GeomFromEWKT('SRID=4674;POINT (-38.769578 -3.391937)'))) / (select extract(epoch from '2026-07-17 15:59:06'::timestamp) - extract(epoch from '2026-07-17 15:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769524 -3.391822)'), GeomFromEWKT('SRID=4674;POINT (-38.769578 -3.391937)'))) / (select extract(epoch from '2026-07-17 15:59:06'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47317, 'SRID=4674;POINT (-38.769634 -3.392097)', '2026-07-17 15:59:13', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769578 -3.391937)'), GeomFromEWKT('SRID=4674;POINT (-38.769634 -3.392097)'))) / (select extract(epoch from '2026-07-17 15:59:13'::timestamp) - extract(epoch from '2026-07-17 15:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769578 -3.391937)'), GeomFromEWKT('SRID=4674;POINT (-38.769634 -3.392097)'))) / (select extract(epoch from '2026-07-17 15:59:13'::timestamp) - extract(epoch from '2026-07-17 15:59:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.7697 -3.392256)', '2026-07-17 15:59:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769634 -3.392097)'), GeomFromEWKT('SRID=4674;POINT (-38.7697 -3.392256)'))) / (select extract(epoch from '2026-07-17 15:59:20'::timestamp) - extract(epoch from '2026-07-17 15:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769634 -3.392097)'), GeomFromEWKT('SRID=4674;POINT (-38.7697 -3.392256)'))) / (select extract(epoch from '2026-07-17 15:59:20'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47317, 'SRID=4674;POINT (-38.769771 -3.392411)', '2026-07-17 15:59:27', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7697 -3.392256)'), GeomFromEWKT('SRID=4674;POINT (-38.769771 -3.392411)'))) / (select extract(epoch from '2026-07-17 15:59:27'::timestamp) - extract(epoch from '2026-07-17 15:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7697 -3.392256)'), GeomFromEWKT('SRID=4674;POINT (-38.769771 -3.392411)'))) / (select extract(epoch from '2026-07-17 15:59:27'::timestamp) - extract(epoch from '2026-07-17 15:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.769828 -3.392535)', '2026-07-17 15:59:33', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769771 -3.392411)'), GeomFromEWKT('SRID=4674;POINT (-38.769828 -3.392535)'))) / (select extract(epoch from '2026-07-17 15:59:33'::timestamp) - extract(epoch from '2026-07-17 15:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769771 -3.392411)'), GeomFromEWKT('SRID=4674;POINT (-38.769828 -3.392535)'))) / (select extract(epoch from '2026-07-17 15:59:33'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47317, 'SRID=4674;POINT (-38.769891 -3.392688)', '2026-07-17 15:59:40', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769828 -3.392535)'), GeomFromEWKT('SRID=4674;POINT (-38.769891 -3.392688)'))) / (select extract(epoch from '2026-07-17 15:59:40'::timestamp) - extract(epoch from '2026-07-17 15:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769828 -3.392535)'), GeomFromEWKT('SRID=4674;POINT (-38.769891 -3.392688)'))) / (select extract(epoch from '2026-07-17 15:59:40'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47317, 'SRID=4674;POINT (-38.769935 -3.392797)', '2026-07-17 15:59:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769891 -3.392688)'), GeomFromEWKT('SRID=4674;POINT (-38.769935 -3.392797)'))) / (select extract(epoch from '2026-07-17 15:59:45'::timestamp) - extract(epoch from '2026-07-17 15:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769891 -3.392688)'), GeomFromEWKT('SRID=4674;POINT (-38.769935 -3.392797)'))) / (select extract(epoch from '2026-07-17 15:59:45'::timestamp) - extract(epoch from '2026-07-17 15:59:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.770014 -3.39298)', '2026-07-17 15:59:53', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769935 -3.392797)'), GeomFromEWKT('SRID=4674;POINT (-38.770014 -3.39298)'))) / (select extract(epoch from '2026-07-17 15:59:53'::timestamp) - extract(epoch from '2026-07-17 15:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.769935 -3.392797)'), GeomFromEWKT('SRID=4674;POINT (-38.770014 -3.39298)'))) / (select extract(epoch from '2026-07-17 15:59:53'::timestamp) - extract(epoch from '2026-07-17 15:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.770062 -3.393098)', '2026-07-17 15:59:58', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770014 -3.39298)'), GeomFromEWKT('SRID=4674;POINT (-38.770062 -3.393098)'))) / (select extract(epoch from '2026-07-17 15:59:58'::timestamp) - extract(epoch from '2026-07-17 15:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770014 -3.39298)'), GeomFromEWKT('SRID=4674;POINT (-38.770062 -3.393098)'))) / (select extract(epoch from '2026-07-17 15:59:58'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47317, 'SRID=4674;POINT (-38.770122 -3.393234)', '2026-07-17 16:00:04', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770062 -3.393098)'), GeomFromEWKT('SRID=4674;POINT (-38.770122 -3.393234)'))) / (select extract(epoch from '2026-07-17 16:00:04'::timestamp) - extract(epoch from '2026-07-17 15:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770062 -3.393098)'), GeomFromEWKT('SRID=4674;POINT (-38.770122 -3.393234)'))) / (select extract(epoch from '2026-07-17 16:00:04'::timestamp) - extract(epoch from '2026-07-17 15:59: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'), 47317, 'SRID=4674;POINT (-38.770183 -3.39335)', '2026-07-17 16:00:09', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770122 -3.393234)'), GeomFromEWKT('SRID=4674;POINT (-38.770183 -3.39335)'))) / (select extract(epoch from '2026-07-17 16:00:09'::timestamp) - extract(epoch from '2026-07-17 16:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770122 -3.393234)'), GeomFromEWKT('SRID=4674;POINT (-38.770183 -3.39335)'))) / (select extract(epoch from '2026-07-17 16:00:09'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.77022 -3.393479)', '2026-07-17 16:00:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770183 -3.39335)'), GeomFromEWKT('SRID=4674;POINT (-38.77022 -3.393479)'))) / (select extract(epoch from '2026-07-17 16:00:15'::timestamp) - extract(epoch from '2026-07-17 16:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770183 -3.39335)'), GeomFromEWKT('SRID=4674;POINT (-38.77022 -3.393479)'))) / (select extract(epoch from '2026-07-17 16:00:15'::timestamp) - extract(epoch from '2026-07-17 16:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.770258 -3.393604)', '2026-07-17 16:00:21', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77022 -3.393479)'), GeomFromEWKT('SRID=4674;POINT (-38.770258 -3.393604)'))) / (select extract(epoch from '2026-07-17 16:00:21'::timestamp) - extract(epoch from '2026-07-17 16:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77022 -3.393479)'), GeomFromEWKT('SRID=4674;POINT (-38.770258 -3.393604)'))) / (select extract(epoch from '2026-07-17 16:00:21'::timestamp) - extract(epoch from '2026-07-17 16:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.770316 -3.393761)', '2026-07-17 16:00:28', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770258 -3.393604)'), GeomFromEWKT('SRID=4674;POINT (-38.770316 -3.393761)'))) / (select extract(epoch from '2026-07-17 16:00:28'::timestamp) - extract(epoch from '2026-07-17 16:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770258 -3.393604)'), GeomFromEWKT('SRID=4674;POINT (-38.770316 -3.393761)'))) / (select extract(epoch from '2026-07-17 16:00:28'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.770373 -3.393914)', '2026-07-17 16:00:35', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770316 -3.393761)'), GeomFromEWKT('SRID=4674;POINT (-38.770373 -3.393914)'))) / (select extract(epoch from '2026-07-17 16:00:35'::timestamp) - extract(epoch from '2026-07-17 16:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770316 -3.393761)'), GeomFromEWKT('SRID=4674;POINT (-38.770373 -3.393914)'))) / (select extract(epoch from '2026-07-17 16:00:35'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47317, 'SRID=4674;POINT (-38.770424 -3.394038)', '2026-07-17 16:00:40', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770373 -3.393914)'), GeomFromEWKT('SRID=4674;POINT (-38.770424 -3.394038)'))) / (select extract(epoch from '2026-07-17 16:00:40'::timestamp) - extract(epoch from '2026-07-17 16:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770373 -3.393914)'), GeomFromEWKT('SRID=4674;POINT (-38.770424 -3.394038)'))) / (select extract(epoch from '2026-07-17 16:00:40'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47317, 'SRID=4674;POINT (-38.770477 -3.394153)', '2026-07-17 16:00:45', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770424 -3.394038)'), GeomFromEWKT('SRID=4674;POINT (-38.770477 -3.394153)'))) / (select extract(epoch from '2026-07-17 16:00:45'::timestamp) - extract(epoch from '2026-07-17 16:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770424 -3.394038)'), GeomFromEWKT('SRID=4674;POINT (-38.770477 -3.394153)'))) / (select extract(epoch from '2026-07-17 16:00:45'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47317, 'SRID=4674;POINT (-38.770545 -3.394338)', '2026-07-17 16:00:53', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770477 -3.394153)'), GeomFromEWKT('SRID=4674;POINT (-38.770545 -3.394338)'))) / (select extract(epoch from '2026-07-17 16:00:53'::timestamp) - extract(epoch from '2026-07-17 16:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770477 -3.394153)'), GeomFromEWKT('SRID=4674;POINT (-38.770545 -3.394338)'))) / (select extract(epoch from '2026-07-17 16:00:53'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47317, 'SRID=4674;POINT (-38.770556 -3.394364)', '2026-07-17 16:00:54', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770545 -3.394338)'), GeomFromEWKT('SRID=4674;POINT (-38.770556 -3.394364)'))) / (select extract(epoch from '2026-07-17 16:00:54'::timestamp) - extract(epoch from '2026-07-17 16:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770545 -3.394338)'), GeomFromEWKT('SRID=4674;POINT (-38.770556 -3.394364)'))) / (select extract(epoch from '2026-07-17 16:00:54'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47317, 'SRID=4674;POINT (-38.770615 -3.394477)', '2026-07-17 16:00:59', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770556 -3.394364)'), GeomFromEWKT('SRID=4674;POINT (-38.770615 -3.394477)'))) / (select extract(epoch from '2026-07-17 16:00:59'::timestamp) - extract(epoch from '2026-07-17 16:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770556 -3.394364)'), GeomFromEWKT('SRID=4674;POINT (-38.770615 -3.394477)'))) / (select extract(epoch from '2026-07-17 16:00:59'::timestamp) - extract(epoch from '2026-07-17 16:00: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'), 47317, 'SRID=4674;POINT (-38.770678 -3.394637)', '2026-07-17 16:01:06', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770615 -3.394477)'), GeomFromEWKT('SRID=4674;POINT (-38.770678 -3.394637)'))) / (select extract(epoch from '2026-07-17 16:01:06'::timestamp) - extract(epoch from '2026-07-17 16:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770615 -3.394477)'), GeomFromEWKT('SRID=4674;POINT (-38.770678 -3.394637)'))) / (select extract(epoch from '2026-07-17 16:01:06'::timestamp) - extract(epoch from '2026-07-17 16:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.770746 -3.394802)', '2026-07-17 16:01:13', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770678 -3.394637)'), GeomFromEWKT('SRID=4674;POINT (-38.770746 -3.394802)'))) / (select extract(epoch from '2026-07-17 16:01:13'::timestamp) - extract(epoch from '2026-07-17 16:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770678 -3.394637)'), GeomFromEWKT('SRID=4674;POINT (-38.770746 -3.394802)'))) / (select extract(epoch from '2026-07-17 16:01:13'::timestamp) - extract(epoch from '2026-07-17 16:01:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.770815 -3.394962)', '2026-07-17 16:01:20', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770746 -3.394802)'), GeomFromEWKT('SRID=4674;POINT (-38.770815 -3.394962)'))) / (select extract(epoch from '2026-07-17 16:01:20'::timestamp) - extract(epoch from '2026-07-17 16:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770746 -3.394802)'), GeomFromEWKT('SRID=4674;POINT (-38.770815 -3.394962)'))) / (select extract(epoch from '2026-07-17 16:01:20'::timestamp) - extract(epoch from '2026-07-17 16:01:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.770873 -3.395123)', '2026-07-17 16:01:27', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770815 -3.394962)'), GeomFromEWKT('SRID=4674;POINT (-38.770873 -3.395123)'))) / (select extract(epoch from '2026-07-17 16:01:27'::timestamp) - extract(epoch from '2026-07-17 16:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770815 -3.394962)'), GeomFromEWKT('SRID=4674;POINT (-38.770873 -3.395123)'))) / (select extract(epoch from '2026-07-17 16:01:27'::timestamp) - extract(epoch from '2026-07-17 16:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.770926 -3.39526)', '2026-07-17 16:01:33', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770873 -3.395123)'), GeomFromEWKT('SRID=4674;POINT (-38.770926 -3.39526)'))) / (select extract(epoch from '2026-07-17 16:01:33'::timestamp) - extract(epoch from '2026-07-17 16:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770873 -3.395123)'), GeomFromEWKT('SRID=4674;POINT (-38.770926 -3.39526)'))) / (select extract(epoch from '2026-07-17 16:01:33'::timestamp) - extract(epoch from '2026-07-17 16:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.770967 -3.395373)', '2026-07-17 16:01:38', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770926 -3.39526)'), GeomFromEWKT('SRID=4674;POINT (-38.770967 -3.395373)'))) / (select extract(epoch from '2026-07-17 16:01:38'::timestamp) - extract(epoch from '2026-07-17 16:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770926 -3.39526)'), GeomFromEWKT('SRID=4674;POINT (-38.770967 -3.395373)'))) / (select extract(epoch from '2026-07-17 16:01:38'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.771024 -3.395501)', '2026-07-17 16:01:44', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770967 -3.395373)'), GeomFromEWKT('SRID=4674;POINT (-38.771024 -3.395501)'))) / (select extract(epoch from '2026-07-17 16:01:44'::timestamp) - extract(epoch from '2026-07-17 16:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.770967 -3.395373)'), GeomFromEWKT('SRID=4674;POINT (-38.771024 -3.395501)'))) / (select extract(epoch from '2026-07-17 16:01:44'::timestamp) - extract(epoch from '2026-07-17 16:01: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'), 47317, 'SRID=4674;POINT (-38.771088 -3.395659)', '2026-07-17 16:01:51', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771024 -3.395501)'), GeomFromEWKT('SRID=4674;POINT (-38.771088 -3.395659)'))) / (select extract(epoch from '2026-07-17 16:01:51'::timestamp) - extract(epoch from '2026-07-17 16:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771024 -3.395501)'), GeomFromEWKT('SRID=4674;POINT (-38.771088 -3.395659)'))) / (select extract(epoch from '2026-07-17 16:01:51'::timestamp) - extract(epoch from '2026-07-17 16:01: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'), 47317, 'SRID=4674;POINT (-38.771166 -3.395822)', '2026-07-17 16:01:58', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771088 -3.395659)'), GeomFromEWKT('SRID=4674;POINT (-38.771166 -3.395822)'))) / (select extract(epoch from '2026-07-17 16:01:58'::timestamp) - extract(epoch from '2026-07-17 16:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771088 -3.395659)'), GeomFromEWKT('SRID=4674;POINT (-38.771166 -3.395822)'))) / (select extract(epoch from '2026-07-17 16:01:58'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.771171 -3.395841)', '2026-07-17 16:01:59', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771166 -3.395822)'), GeomFromEWKT('SRID=4674;POINT (-38.771171 -3.395841)'))) / (select extract(epoch from '2026-07-17 16:01:59'::timestamp) - extract(epoch from '2026-07-17 16:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771166 -3.395822)'), GeomFromEWKT('SRID=4674;POINT (-38.771171 -3.395841)'))) / (select extract(epoch from '2026-07-17 16:01:59'::timestamp) - extract(epoch from '2026-07-17 16:01: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'), 47317, 'SRID=4674;POINT (-38.771216 -3.395969)', '2026-07-17 16:02:05', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771171 -3.395841)'), GeomFromEWKT('SRID=4674;POINT (-38.771216 -3.395969)'))) / (select extract(epoch from '2026-07-17 16:02:05'::timestamp) - extract(epoch from '2026-07-17 16:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771171 -3.395841)'), GeomFromEWKT('SRID=4674;POINT (-38.771216 -3.395969)'))) / (select extract(epoch from '2026-07-17 16:02:05'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.771269 -3.396108)', '2026-07-17 16:02:11', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771216 -3.395969)'), GeomFromEWKT('SRID=4674;POINT (-38.771269 -3.396108)'))) / (select extract(epoch from '2026-07-17 16:02:11'::timestamp) - extract(epoch from '2026-07-17 16:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771216 -3.395969)'), GeomFromEWKT('SRID=4674;POINT (-38.771269 -3.396108)'))) / (select extract(epoch from '2026-07-17 16:02:11'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.771307 -3.396197)', '2026-07-17 16:02:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771269 -3.396108)'), GeomFromEWKT('SRID=4674;POINT (-38.771307 -3.396197)'))) / (select extract(epoch from '2026-07-17 16:02:15'::timestamp) - extract(epoch from '2026-07-17 16:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771269 -3.396108)'), GeomFromEWKT('SRID=4674;POINT (-38.771307 -3.396197)'))) / (select extract(epoch from '2026-07-17 16:02:15'::timestamp) - extract(epoch from '2026-07-17 16:02: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'), 47317, 'SRID=4674;POINT (-38.771314 -3.396234)', '2026-07-17 16:02:17', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771307 -3.396197)'), GeomFromEWKT('SRID=4674;POINT (-38.771314 -3.396234)'))) / (select extract(epoch from '2026-07-17 16:02:17'::timestamp) - extract(epoch from '2026-07-17 16:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771307 -3.396197)'), GeomFromEWKT('SRID=4674;POINT (-38.771314 -3.396234)'))) / (select extract(epoch from '2026-07-17 16:02:17'::timestamp) - extract(epoch from '2026-07-17 16:02:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.771372 -3.396361)', '2026-07-17 16:02:23', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771314 -3.396234)'), GeomFromEWKT('SRID=4674;POINT (-38.771372 -3.396361)'))) / (select extract(epoch from '2026-07-17 16:02:23'::timestamp) - extract(epoch from '2026-07-17 16:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771314 -3.396234)'), GeomFromEWKT('SRID=4674;POINT (-38.771372 -3.396361)'))) / (select extract(epoch from '2026-07-17 16:02:23'::timestamp) - extract(epoch from '2026-07-17 16:02: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'), 47317, 'SRID=4674;POINT (-38.771434 -3.396494)', '2026-07-17 16:02:29', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771372 -3.396361)'), GeomFromEWKT('SRID=4674;POINT (-38.771434 -3.396494)'))) / (select extract(epoch from '2026-07-17 16:02:29'::timestamp) - extract(epoch from '2026-07-17 16:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771372 -3.396361)'), GeomFromEWKT('SRID=4674;POINT (-38.771434 -3.396494)'))) / (select extract(epoch from '2026-07-17 16:02:29'::timestamp) - extract(epoch from '2026-07-17 16:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.771505 -3.39663)', '2026-07-17 16:02:35', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771434 -3.396494)'), GeomFromEWKT('SRID=4674;POINT (-38.771505 -3.39663)'))) / (select extract(epoch from '2026-07-17 16:02:35'::timestamp) - extract(epoch from '2026-07-17 16:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771434 -3.396494)'), GeomFromEWKT('SRID=4674;POINT (-38.771505 -3.39663)'))) / (select extract(epoch from '2026-07-17 16:02:35'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.771545 -3.396719)', '2026-07-17 16:02:39', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771505 -3.39663)'), GeomFromEWKT('SRID=4674;POINT (-38.771545 -3.396719)'))) / (select extract(epoch from '2026-07-17 16:02:39'::timestamp) - extract(epoch from '2026-07-17 16:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771505 -3.39663)'), GeomFromEWKT('SRID=4674;POINT (-38.771545 -3.396719)'))) / (select extract(epoch from '2026-07-17 16:02:39'::timestamp) - extract(epoch from '2026-07-17 16:02: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'), 47317, 'SRID=4674;POINT (-38.771622 -3.396878)', '2026-07-17 16:02:46', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771545 -3.396719)'), GeomFromEWKT('SRID=4674;POINT (-38.771622 -3.396878)'))) / (select extract(epoch from '2026-07-17 16:02:46'::timestamp) - extract(epoch from '2026-07-17 16:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771545 -3.396719)'), GeomFromEWKT('SRID=4674;POINT (-38.771622 -3.396878)'))) / (select extract(epoch from '2026-07-17 16:02:46'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.771678 -3.397013)', '2026-07-17 16:02:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771622 -3.396878)'), GeomFromEWKT('SRID=4674;POINT (-38.771678 -3.397013)'))) / (select extract(epoch from '2026-07-17 16:02:52'::timestamp) - extract(epoch from '2026-07-17 16:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771622 -3.396878)'), GeomFromEWKT('SRID=4674;POINT (-38.771678 -3.397013)'))) / (select extract(epoch from '2026-07-17 16:02:52'::timestamp) - extract(epoch from '2026-07-17 16:02: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'), 47317, 'SRID=4674;POINT (-38.771741 -3.39715)', '2026-07-17 16:02:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771678 -3.397013)'), GeomFromEWKT('SRID=4674;POINT (-38.771741 -3.39715)'))) / (select extract(epoch from '2026-07-17 16:02:58'::timestamp) - extract(epoch from '2026-07-17 16:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771678 -3.397013)'), GeomFromEWKT('SRID=4674;POINT (-38.771741 -3.39715)'))) / (select extract(epoch from '2026-07-17 16:02:58'::timestamp) - extract(epoch from '2026-07-17 16:02: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'), 47317, 'SRID=4674;POINT (-38.771756 -3.397259)', '2026-07-17 16:03:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771741 -3.39715)'), GeomFromEWKT('SRID=4674;POINT (-38.771756 -3.397259)'))) / (select extract(epoch from '2026-07-17 16:03:03'::timestamp) - extract(epoch from '2026-07-17 16:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771741 -3.39715)'), GeomFromEWKT('SRID=4674;POINT (-38.771756 -3.397259)'))) / (select extract(epoch from '2026-07-17 16:03:03'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.77177 -3.397399)', '2026-07-17 16:03:10', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771756 -3.397259)'), GeomFromEWKT('SRID=4674;POINT (-38.77177 -3.397399)'))) / (select extract(epoch from '2026-07-17 16:03:10'::timestamp) - extract(epoch from '2026-07-17 16:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771756 -3.397259)'), GeomFromEWKT('SRID=4674;POINT (-38.77177 -3.397399)'))) / (select extract(epoch from '2026-07-17 16:03:10'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47317, 'SRID=4674;POINT (-38.771818 -3.397532)', '2026-07-17 16:03:16', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77177 -3.397399)'), GeomFromEWKT('SRID=4674;POINT (-38.771818 -3.397532)'))) / (select extract(epoch from '2026-07-17 16:03:16'::timestamp) - extract(epoch from '2026-07-17 16:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77177 -3.397399)'), GeomFromEWKT('SRID=4674;POINT (-38.771818 -3.397532)'))) / (select extract(epoch from '2026-07-17 16:03:16'::timestamp) - extract(epoch from '2026-07-17 16:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.771866 -3.397656)', '2026-07-17 16:03:21', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771818 -3.397532)'), GeomFromEWKT('SRID=4674;POINT (-38.771866 -3.397656)'))) / (select extract(epoch from '2026-07-17 16:03:21'::timestamp) - extract(epoch from '2026-07-17 16:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771818 -3.397532)'), GeomFromEWKT('SRID=4674;POINT (-38.771866 -3.397656)'))) / (select extract(epoch from '2026-07-17 16:03:21'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47317, 'SRID=4674;POINT (-38.771929 -3.397803)', '2026-07-17 16:03:27', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771866 -3.397656)'), GeomFromEWKT('SRID=4674;POINT (-38.771929 -3.397803)'))) / (select extract(epoch from '2026-07-17 16:03:27'::timestamp) - extract(epoch from '2026-07-17 16:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771866 -3.397656)'), GeomFromEWKT('SRID=4674;POINT (-38.771929 -3.397803)'))) / (select extract(epoch from '2026-07-17 16:03:27'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47317, 'SRID=4674;POINT (-38.771972 -3.39796)', '2026-07-17 16:03:34', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771929 -3.397803)'), GeomFromEWKT('SRID=4674;POINT (-38.771972 -3.39796)'))) / (select extract(epoch from '2026-07-17 16:03:34'::timestamp) - extract(epoch from '2026-07-17 16:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771929 -3.397803)'), GeomFromEWKT('SRID=4674;POINT (-38.771972 -3.39796)'))) / (select extract(epoch from '2026-07-17 16:03:34'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47317, 'SRID=4674;POINT (-38.772031 -3.398115)', '2026-07-17 16:03:41', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771972 -3.39796)'), GeomFromEWKT('SRID=4674;POINT (-38.772031 -3.398115)'))) / (select extract(epoch from '2026-07-17 16:03:41'::timestamp) - extract(epoch from '2026-07-17 16:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.771972 -3.39796)'), GeomFromEWKT('SRID=4674;POINT (-38.772031 -3.398115)'))) / (select extract(epoch from '2026-07-17 16:03:41'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.772082 -3.398224)', '2026-07-17 16:03:46', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772031 -3.398115)'), GeomFromEWKT('SRID=4674;POINT (-38.772082 -3.398224)'))) / (select extract(epoch from '2026-07-17 16:03:46'::timestamp) - extract(epoch from '2026-07-17 16:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772031 -3.398115)'), GeomFromEWKT('SRID=4674;POINT (-38.772082 -3.398224)'))) / (select extract(epoch from '2026-07-17 16:03:46'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47317, 'SRID=4674;POINT (-38.772151 -3.398364)', '2026-07-17 16:03:52', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772082 -3.398224)'), GeomFromEWKT('SRID=4674;POINT (-38.772151 -3.398364)'))) / (select extract(epoch from '2026-07-17 16:03:52'::timestamp) - extract(epoch from '2026-07-17 16:03:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772082 -3.398224)'), GeomFromEWKT('SRID=4674;POINT (-38.772151 -3.398364)'))) / (select extract(epoch from '2026-07-17 16:03:52'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47317, 'SRID=4674;POINT (-38.772183 -3.398475)', '2026-07-17 16:03:57', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772151 -3.398364)'), GeomFromEWKT('SRID=4674;POINT (-38.772183 -3.398475)'))) / (select extract(epoch from '2026-07-17 16:03:57'::timestamp) - extract(epoch from '2026-07-17 16:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772151 -3.398364)'), GeomFromEWKT('SRID=4674;POINT (-38.772183 -3.398475)'))) / (select extract(epoch from '2026-07-17 16:03:57'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47317, 'SRID=4674;POINT (-38.772224 -3.398616)', '2026-07-17 16:04:03', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772183 -3.398475)'), GeomFromEWKT('SRID=4674;POINT (-38.772224 -3.398616)'))) / (select extract(epoch from '2026-07-17 16:04:03'::timestamp) - extract(epoch from '2026-07-17 16:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772183 -3.398475)'), GeomFromEWKT('SRID=4674;POINT (-38.772224 -3.398616)'))) / (select extract(epoch from '2026-07-17 16:04:03'::timestamp) - extract(epoch from '2026-07-17 16:03: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'), 47317, 'SRID=4674;POINT (-38.772271 -3.398749)', '2026-07-17 16:04:09', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772224 -3.398616)'), GeomFromEWKT('SRID=4674;POINT (-38.772271 -3.398749)'))) / (select extract(epoch from '2026-07-17 16:04:09'::timestamp) - extract(epoch from '2026-07-17 16:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772224 -3.398616)'), GeomFromEWKT('SRID=4674;POINT (-38.772271 -3.398749)'))) / (select extract(epoch from '2026-07-17 16:04:09'::timestamp) - extract(epoch from '2026-07-17 16:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.772324 -3.39891)', '2026-07-17 16:04:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772271 -3.398749)'), GeomFromEWKT('SRID=4674;POINT (-38.772324 -3.39891)'))) / (select extract(epoch from '2026-07-17 16:04:16'::timestamp) - extract(epoch from '2026-07-17 16:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772271 -3.398749)'), GeomFromEWKT('SRID=4674;POINT (-38.772324 -3.39891)'))) / (select extract(epoch from '2026-07-17 16:04:16'::timestamp) - extract(epoch from '2026-07-17 16:04: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'), 47317, 'SRID=4674;POINT (-38.772377 -3.399074)', '2026-07-17 16:04:23', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772324 -3.39891)'), GeomFromEWKT('SRID=4674;POINT (-38.772377 -3.399074)'))) / (select extract(epoch from '2026-07-17 16:04:23'::timestamp) - extract(epoch from '2026-07-17 16:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772324 -3.39891)'), GeomFromEWKT('SRID=4674;POINT (-38.772377 -3.399074)'))) / (select extract(epoch from '2026-07-17 16:04:23'::timestamp) - extract(epoch from '2026-07-17 16:04: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'), 47317, 'SRID=4674;POINT (-38.772436 -3.399229)', '2026-07-17 16:04:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772377 -3.399074)'), GeomFromEWKT('SRID=4674;POINT (-38.772436 -3.399229)'))) / (select extract(epoch from '2026-07-17 16:04:30'::timestamp) - extract(epoch from '2026-07-17 16:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772377 -3.399074)'), GeomFromEWKT('SRID=4674;POINT (-38.772436 -3.399229)'))) / (select extract(epoch from '2026-07-17 16:04:30'::timestamp) - extract(epoch from '2026-07-17 16:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.772472 -3.399355)', '2026-07-17 16:04:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772436 -3.399229)'), GeomFromEWKT('SRID=4674;POINT (-38.772472 -3.399355)'))) / (select extract(epoch from '2026-07-17 16:04:36'::timestamp) - extract(epoch from '2026-07-17 16:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772436 -3.399229)'), GeomFromEWKT('SRID=4674;POINT (-38.772472 -3.399355)'))) / (select extract(epoch from '2026-07-17 16:04:36'::timestamp) - extract(epoch from '2026-07-17 16:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.772529 -3.399505)', '2026-07-17 16:04:43', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772472 -3.399355)'), GeomFromEWKT('SRID=4674;POINT (-38.772529 -3.399505)'))) / (select extract(epoch from '2026-07-17 16:04:43'::timestamp) - extract(epoch from '2026-07-17 16:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772472 -3.399355)'), GeomFromEWKT('SRID=4674;POINT (-38.772529 -3.399505)'))) / (select extract(epoch from '2026-07-17 16:04:43'::timestamp) - extract(epoch from '2026-07-17 16:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.772583 -3.399666)', '2026-07-17 16:04:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772529 -3.399505)'), GeomFromEWKT('SRID=4674;POINT (-38.772583 -3.399666)'))) / (select extract(epoch from '2026-07-17 16:04:50'::timestamp) - extract(epoch from '2026-07-17 16:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772529 -3.399505)'), GeomFromEWKT('SRID=4674;POINT (-38.772583 -3.399666)'))) / (select extract(epoch from '2026-07-17 16:04:50'::timestamp) - extract(epoch from '2026-07-17 16:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.772632 -3.399779)', '2026-07-17 16:04:55', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772583 -3.399666)'), GeomFromEWKT('SRID=4674;POINT (-38.772632 -3.399779)'))) / (select extract(epoch from '2026-07-17 16:04:55'::timestamp) - extract(epoch from '2026-07-17 16:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772583 -3.399666)'), GeomFromEWKT('SRID=4674;POINT (-38.772632 -3.399779)'))) / (select extract(epoch from '2026-07-17 16:04:55'::timestamp) - extract(epoch from '2026-07-17 16:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.772705 -3.399944)', '2026-07-17 16:05:02', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772632 -3.399779)'), GeomFromEWKT('SRID=4674;POINT (-38.772705 -3.399944)'))) / (select extract(epoch from '2026-07-17 16:05:02'::timestamp) - extract(epoch from '2026-07-17 16:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772632 -3.399779)'), GeomFromEWKT('SRID=4674;POINT (-38.772705 -3.399944)'))) / (select extract(epoch from '2026-07-17 16:05:02'::timestamp) - extract(epoch from '2026-07-17 16:04: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'), 47317, 'SRID=4674;POINT (-38.772777 -3.400103)', '2026-07-17 16:05:09', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772705 -3.399944)'), GeomFromEWKT('SRID=4674;POINT (-38.772777 -3.400103)'))) / (select extract(epoch from '2026-07-17 16:05:09'::timestamp) - extract(epoch from '2026-07-17 16:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772705 -3.399944)'), GeomFromEWKT('SRID=4674;POINT (-38.772777 -3.400103)'))) / (select extract(epoch from '2026-07-17 16:05:09'::timestamp) - extract(epoch from '2026-07-17 16:05: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'), 47317, 'SRID=4674;POINT (-38.772844 -3.40025)', '2026-07-17 16:05:15', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772777 -3.400103)'), GeomFromEWKT('SRID=4674;POINT (-38.772844 -3.40025)'))) / (select extract(epoch from '2026-07-17 16:05:15'::timestamp) - extract(epoch from '2026-07-17 16:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772777 -3.400103)'), GeomFromEWKT('SRID=4674;POINT (-38.772844 -3.40025)'))) / (select extract(epoch from '2026-07-17 16:05:15'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.772901 -3.400387)', '2026-07-17 16:05:21', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772844 -3.40025)'), GeomFromEWKT('SRID=4674;POINT (-38.772901 -3.400387)'))) / (select extract(epoch from '2026-07-17 16:05:21'::timestamp) - extract(epoch from '2026-07-17 16:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772844 -3.40025)'), GeomFromEWKT('SRID=4674;POINT (-38.772901 -3.400387)'))) / (select extract(epoch from '2026-07-17 16:05:21'::timestamp) - extract(epoch from '2026-07-17 16:05: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'), 47317, 'SRID=4674;POINT (-38.772945 -3.400524)', '2026-07-17 16:05:27', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772901 -3.400387)'), GeomFromEWKT('SRID=4674;POINT (-38.772945 -3.400524)'))) / (select extract(epoch from '2026-07-17 16:05:27'::timestamp) - extract(epoch from '2026-07-17 16:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772901 -3.400387)'), GeomFromEWKT('SRID=4674;POINT (-38.772945 -3.400524)'))) / (select extract(epoch from '2026-07-17 16:05:27'::timestamp) - extract(epoch from '2026-07-17 16:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.772999 -3.40065)', '2026-07-17 16:05:33', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772945 -3.400524)'), GeomFromEWKT('SRID=4674;POINT (-38.772999 -3.40065)'))) / (select extract(epoch from '2026-07-17 16:05:33'::timestamp) - extract(epoch from '2026-07-17 16:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772945 -3.400524)'), GeomFromEWKT('SRID=4674;POINT (-38.772999 -3.40065)'))) / (select extract(epoch from '2026-07-17 16:05:33'::timestamp) - extract(epoch from '2026-07-17 16:05: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'), 47317, 'SRID=4674;POINT (-38.773046 -3.400794)', '2026-07-17 16:05:39', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772999 -3.40065)'), GeomFromEWKT('SRID=4674;POINT (-38.773046 -3.400794)'))) / (select extract(epoch from '2026-07-17 16:05:39'::timestamp) - extract(epoch from '2026-07-17 16:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.772999 -3.40065)'), GeomFromEWKT('SRID=4674;POINT (-38.773046 -3.400794)'))) / (select extract(epoch from '2026-07-17 16:05:39'::timestamp) - extract(epoch from '2026-07-17 16:05:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.773102 -3.40096)', '2026-07-17 16:05:46', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773046 -3.400794)'), GeomFromEWKT('SRID=4674;POINT (-38.773102 -3.40096)'))) / (select extract(epoch from '2026-07-17 16:05:46'::timestamp) - extract(epoch from '2026-07-17 16:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773046 -3.400794)'), GeomFromEWKT('SRID=4674;POINT (-38.773102 -3.40096)'))) / (select extract(epoch from '2026-07-17 16:05:46'::timestamp) - extract(epoch from '2026-07-17 16:05: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'), 47317, 'SRID=4674;POINT (-38.773148 -3.401101)', '2026-07-17 16:05:52', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773102 -3.40096)'), GeomFromEWKT('SRID=4674;POINT (-38.773148 -3.401101)'))) / (select extract(epoch from '2026-07-17 16:05:52'::timestamp) - extract(epoch from '2026-07-17 16:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773102 -3.40096)'), GeomFromEWKT('SRID=4674;POINT (-38.773148 -3.401101)'))) / (select extract(epoch from '2026-07-17 16:05:52'::timestamp) - extract(epoch from '2026-07-17 16:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.773193 -3.401242)', '2026-07-17 16:05:58', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773148 -3.401101)'), GeomFromEWKT('SRID=4674;POINT (-38.773193 -3.401242)'))) / (select extract(epoch from '2026-07-17 16:05:58'::timestamp) - extract(epoch from '2026-07-17 16:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773148 -3.401101)'), GeomFromEWKT('SRID=4674;POINT (-38.773193 -3.401242)'))) / (select extract(epoch from '2026-07-17 16:05:58'::timestamp) - extract(epoch from '2026-07-17 16:05: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'), 47317, 'SRID=4674;POINT (-38.773232 -3.401382)', '2026-07-17 16:06:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773193 -3.401242)'), GeomFromEWKT('SRID=4674;POINT (-38.773232 -3.401382)'))) / (select extract(epoch from '2026-07-17 16:06:04'::timestamp) - extract(epoch from '2026-07-17 16:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773193 -3.401242)'), GeomFromEWKT('SRID=4674;POINT (-38.773232 -3.401382)'))) / (select extract(epoch from '2026-07-17 16:06:04'::timestamp) - extract(epoch from '2026-07-17 16:05: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'), 47317, 'SRID=4674;POINT (-38.773281 -3.401544)', '2026-07-17 16:06:11', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773232 -3.401382)'), GeomFromEWKT('SRID=4674;POINT (-38.773281 -3.401544)'))) / (select extract(epoch from '2026-07-17 16:06:11'::timestamp) - extract(epoch from '2026-07-17 16:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773232 -3.401382)'), GeomFromEWKT('SRID=4674;POINT (-38.773281 -3.401544)'))) / (select extract(epoch from '2026-07-17 16:06:11'::timestamp) - extract(epoch from '2026-07-17 16:06: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'), 47317, 'SRID=4674;POINT (-38.773343 -3.401707)', '2026-07-17 16:06:18', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773281 -3.401544)'), GeomFromEWKT('SRID=4674;POINT (-38.773343 -3.401707)'))) / (select extract(epoch from '2026-07-17 16:06:18'::timestamp) - extract(epoch from '2026-07-17 16:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773281 -3.401544)'), GeomFromEWKT('SRID=4674;POINT (-38.773343 -3.401707)'))) / (select extract(epoch from '2026-07-17 16:06:18'::timestamp) - extract(epoch from '2026-07-17 16:06:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.773413 -3.401887)', '2026-07-17 16:06:26', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773343 -3.401707)'), GeomFromEWKT('SRID=4674;POINT (-38.773413 -3.401887)'))) / (select extract(epoch from '2026-07-17 16:06:26'::timestamp) - extract(epoch from '2026-07-17 16:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773343 -3.401707)'), GeomFromEWKT('SRID=4674;POINT (-38.773413 -3.401887)'))) / (select extract(epoch from '2026-07-17 16:06:26'::timestamp) - extract(epoch from '2026-07-17 16:06: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'), 47317, 'SRID=4674;POINT (-38.773425 -3.401913)', '2026-07-17 16:06:27', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773413 -3.401887)'), GeomFromEWKT('SRID=4674;POINT (-38.773425 -3.401913)'))) / (select extract(epoch from '2026-07-17 16:06:27'::timestamp) - extract(epoch from '2026-07-17 16:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773413 -3.401887)'), GeomFromEWKT('SRID=4674;POINT (-38.773425 -3.401913)'))) / (select extract(epoch from '2026-07-17 16:06:27'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.773475 -3.402043)', '2026-07-17 16:06:33', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773425 -3.401913)'), GeomFromEWKT('SRID=4674;POINT (-38.773475 -3.402043)'))) / (select extract(epoch from '2026-07-17 16:06:33'::timestamp) - extract(epoch from '2026-07-17 16:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773425 -3.401913)'), GeomFromEWKT('SRID=4674;POINT (-38.773475 -3.402043)'))) / (select extract(epoch from '2026-07-17 16:06:33'::timestamp) - extract(epoch from '2026-07-17 16:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.7735 -3.402157)', '2026-07-17 16:06:38', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773475 -3.402043)'), GeomFromEWKT('SRID=4674;POINT (-38.7735 -3.402157)'))) / (select extract(epoch from '2026-07-17 16:06:38'::timestamp) - extract(epoch from '2026-07-17 16:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773475 -3.402043)'), GeomFromEWKT('SRID=4674;POINT (-38.7735 -3.402157)'))) / (select extract(epoch from '2026-07-17 16:06:38'::timestamp) - extract(epoch from '2026-07-17 16:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.773558 -3.402306)', '2026-07-17 16:06:44', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7735 -3.402157)'), GeomFromEWKT('SRID=4674;POINT (-38.773558 -3.402306)'))) / (select extract(epoch from '2026-07-17 16:06:44'::timestamp) - extract(epoch from '2026-07-17 16:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7735 -3.402157)'), GeomFromEWKT('SRID=4674;POINT (-38.773558 -3.402306)'))) / (select extract(epoch from '2026-07-17 16:06:44'::timestamp) - extract(epoch from '2026-07-17 16:06: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'), 47317, 'SRID=4674;POINT (-38.773619 -3.402477)', '2026-07-17 16:06:51', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773558 -3.402306)'), GeomFromEWKT('SRID=4674;POINT (-38.773619 -3.402477)'))) / (select extract(epoch from '2026-07-17 16:06:51'::timestamp) - extract(epoch from '2026-07-17 16:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773558 -3.402306)'), GeomFromEWKT('SRID=4674;POINT (-38.773619 -3.402477)'))) / (select extract(epoch from '2026-07-17 16:06:51'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.773679 -3.402648)', '2026-07-17 16:06:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773619 -3.402477)'), GeomFromEWKT('SRID=4674;POINT (-38.773679 -3.402648)'))) / (select extract(epoch from '2026-07-17 16:06:58'::timestamp) - extract(epoch from '2026-07-17 16:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773619 -3.402477)'), GeomFromEWKT('SRID=4674;POINT (-38.773679 -3.402648)'))) / (select extract(epoch from '2026-07-17 16:06:58'::timestamp) - extract(epoch from '2026-07-17 16:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.773741 -3.40284)', '2026-07-17 16:07:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773679 -3.402648)'), GeomFromEWKT('SRID=4674;POINT (-38.773741 -3.40284)'))) / (select extract(epoch from '2026-07-17 16:07:06'::timestamp) - extract(epoch from '2026-07-17 16:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773679 -3.402648)'), GeomFromEWKT('SRID=4674;POINT (-38.773741 -3.40284)'))) / (select extract(epoch from '2026-07-17 16:07:06'::timestamp) - extract(epoch from '2026-07-17 16:06: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'), 47317, 'SRID=4674;POINT (-38.773791 -3.402982)', '2026-07-17 16:07:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773741 -3.40284)'), GeomFromEWKT('SRID=4674;POINT (-38.773791 -3.402982)'))) / (select extract(epoch from '2026-07-17 16:07:12'::timestamp) - extract(epoch from '2026-07-17 16:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773741 -3.40284)'), GeomFromEWKT('SRID=4674;POINT (-38.773791 -3.402982)'))) / (select extract(epoch from '2026-07-17 16:07:12'::timestamp) - extract(epoch from '2026-07-17 16:07: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'), 47317, 'SRID=4674;POINT (-38.773837 -3.403126)', '2026-07-17 16:07:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773791 -3.402982)'), GeomFromEWKT('SRID=4674;POINT (-38.773837 -3.403126)'))) / (select extract(epoch from '2026-07-17 16:07:18'::timestamp) - extract(epoch from '2026-07-17 16:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773791 -3.402982)'), GeomFromEWKT('SRID=4674;POINT (-38.773837 -3.403126)'))) / (select extract(epoch from '2026-07-17 16:07:18'::timestamp) - extract(epoch from '2026-07-17 16:07: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'), 47317, 'SRID=4674;POINT (-38.773888 -3.403264)', '2026-07-17 16:07:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773837 -3.403126)'), GeomFromEWKT('SRID=4674;POINT (-38.773888 -3.403264)'))) / (select extract(epoch from '2026-07-17 16:07:24'::timestamp) - extract(epoch from '2026-07-17 16:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773837 -3.403126)'), GeomFromEWKT('SRID=4674;POINT (-38.773888 -3.403264)'))) / (select extract(epoch from '2026-07-17 16:07:24'::timestamp) - extract(epoch from '2026-07-17 16:07: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'), 47317, 'SRID=4674;POINT (-38.773938 -3.403426)', '2026-07-17 16:07:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773888 -3.403264)'), GeomFromEWKT('SRID=4674;POINT (-38.773938 -3.403426)'))) / (select extract(epoch from '2026-07-17 16:07:31'::timestamp) - extract(epoch from '2026-07-17 16:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773888 -3.403264)'), GeomFromEWKT('SRID=4674;POINT (-38.773938 -3.403426)'))) / (select extract(epoch from '2026-07-17 16:07:31'::timestamp) - extract(epoch from '2026-07-17 16:07: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'), 47317, 'SRID=4674;POINT (-38.77396 -3.40355)', '2026-07-17 16:07:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773938 -3.403426)'), GeomFromEWKT('SRID=4674;POINT (-38.77396 -3.40355)'))) / (select extract(epoch from '2026-07-17 16:07:36'::timestamp) - extract(epoch from '2026-07-17 16:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.773938 -3.403426)'), GeomFromEWKT('SRID=4674;POINT (-38.77396 -3.40355)'))) / (select extract(epoch from '2026-07-17 16:07:36'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.774006 -3.403706)', '2026-07-17 16:07:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77396 -3.40355)'), GeomFromEWKT('SRID=4674;POINT (-38.774006 -3.403706)'))) / (select extract(epoch from '2026-07-17 16:07:43'::timestamp) - extract(epoch from '2026-07-17 16:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77396 -3.40355)'), GeomFromEWKT('SRID=4674;POINT (-38.774006 -3.403706)'))) / (select extract(epoch from '2026-07-17 16:07:43'::timestamp) - extract(epoch from '2026-07-17 16:07: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'), 47317, 'SRID=4674;POINT (-38.774064 -3.403848)', '2026-07-17 16:07:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774006 -3.403706)'), GeomFromEWKT('SRID=4674;POINT (-38.774064 -3.403848)'))) / (select extract(epoch from '2026-07-17 16:07:49'::timestamp) - extract(epoch from '2026-07-17 16:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774006 -3.403706)'), GeomFromEWKT('SRID=4674;POINT (-38.774064 -3.403848)'))) / (select extract(epoch from '2026-07-17 16:07:49'::timestamp) - extract(epoch from '2026-07-17 16:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.774098 -3.403994)', '2026-07-17 16:07:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774064 -3.403848)'), GeomFromEWKT('SRID=4674;POINT (-38.774098 -3.403994)'))) / (select extract(epoch from '2026-07-17 16:07:55'::timestamp) - extract(epoch from '2026-07-17 16:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774064 -3.403848)'), GeomFromEWKT('SRID=4674;POINT (-38.774098 -3.403994)'))) / (select extract(epoch from '2026-07-17 16:07:55'::timestamp) - extract(epoch from '2026-07-17 16:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.774144 -3.404166)', '2026-07-17 16:08:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774098 -3.403994)'), GeomFromEWKT('SRID=4674;POINT (-38.774144 -3.404166)'))) / (select extract(epoch from '2026-07-17 16:08:02'::timestamp) - extract(epoch from '2026-07-17 16:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774098 -3.403994)'), GeomFromEWKT('SRID=4674;POINT (-38.774144 -3.404166)'))) / (select extract(epoch from '2026-07-17 16:08:02'::timestamp) - extract(epoch from '2026-07-17 16:07:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.774208 -3.404319)', '2026-07-17 16:08:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774144 -3.404166)'), GeomFromEWKT('SRID=4674;POINT (-38.774208 -3.404319)'))) / (select extract(epoch from '2026-07-17 16:08:08'::timestamp) - extract(epoch from '2026-07-17 16:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774144 -3.404166)'), GeomFromEWKT('SRID=4674;POINT (-38.774208 -3.404319)'))) / (select extract(epoch from '2026-07-17 16:08:08'::timestamp) - extract(epoch from '2026-07-17 16:08: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'), 47317, 'SRID=4674;POINT (-38.774267 -3.404442)', '2026-07-17 16:08:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774208 -3.404319)'), GeomFromEWKT('SRID=4674;POINT (-38.774267 -3.404442)'))) / (select extract(epoch from '2026-07-17 16:08:13'::timestamp) - extract(epoch from '2026-07-17 16:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774208 -3.404319)'), GeomFromEWKT('SRID=4674;POINT (-38.774267 -3.404442)'))) / (select extract(epoch from '2026-07-17 16:08:13'::timestamp) - extract(epoch from '2026-07-17 16:08: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'), 47317, 'SRID=4674;POINT (-38.774318 -3.40459)', '2026-07-17 16:08:19', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774267 -3.404442)'), GeomFromEWKT('SRID=4674;POINT (-38.774318 -3.40459)'))) / (select extract(epoch from '2026-07-17 16:08:19'::timestamp) - extract(epoch from '2026-07-17 16:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774267 -3.404442)'), GeomFromEWKT('SRID=4674;POINT (-38.774318 -3.40459)'))) / (select extract(epoch from '2026-07-17 16:08:19'::timestamp) - extract(epoch from '2026-07-17 16:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.77436 -3.40469)', '2026-07-17 16:08:24', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774318 -3.40459)'), GeomFromEWKT('SRID=4674;POINT (-38.77436 -3.40469)'))) / (select extract(epoch from '2026-07-17 16:08:24'::timestamp) - extract(epoch from '2026-07-17 16:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774318 -3.40459)'), GeomFromEWKT('SRID=4674;POINT (-38.77436 -3.40469)'))) / (select extract(epoch from '2026-07-17 16:08:24'::timestamp) - extract(epoch from '2026-07-17 16:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.774401 -3.404827)', '2026-07-17 16:08:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77436 -3.40469)'), GeomFromEWKT('SRID=4674;POINT (-38.774401 -3.404827)'))) / (select extract(epoch from '2026-07-17 16:08:31'::timestamp) - extract(epoch from '2026-07-17 16:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77436 -3.40469)'), GeomFromEWKT('SRID=4674;POINT (-38.774401 -3.404827)'))) / (select extract(epoch from '2026-07-17 16:08:31'::timestamp) - extract(epoch from '2026-07-17 16:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.774445 -3.404977)', '2026-07-17 16:08:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774401 -3.404827)'), GeomFromEWKT('SRID=4674;POINT (-38.774445 -3.404977)'))) / (select extract(epoch from '2026-07-17 16:08:39'::timestamp) - extract(epoch from '2026-07-17 16:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774401 -3.404827)'), GeomFromEWKT('SRID=4674;POINT (-38.774445 -3.404977)'))) / (select extract(epoch from '2026-07-17 16:08:39'::timestamp) - extract(epoch from '2026-07-17 16:08: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'), 47317, 'SRID=4674;POINT (-38.774521 -3.405132)', '2026-07-17 16:08:46', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774445 -3.404977)'), GeomFromEWKT('SRID=4674;POINT (-38.774521 -3.405132)'))) / (select extract(epoch from '2026-07-17 16:08:46'::timestamp) - extract(epoch from '2026-07-17 16:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774445 -3.404977)'), GeomFromEWKT('SRID=4674;POINT (-38.774521 -3.405132)'))) / (select extract(epoch from '2026-07-17 16:08:46'::timestamp) - extract(epoch from '2026-07-17 16:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.774617 -3.405247)', '2026-07-17 16:08:52', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774521 -3.405132)'), GeomFromEWKT('SRID=4674;POINT (-38.774617 -3.405247)'))) / (select extract(epoch from '2026-07-17 16:08:52'::timestamp) - extract(epoch from '2026-07-17 16:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774521 -3.405132)'), GeomFromEWKT('SRID=4674;POINT (-38.774617 -3.405247)'))) / (select extract(epoch from '2026-07-17 16:08:52'::timestamp) - extract(epoch from '2026-07-17 16:08:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.774718 -3.405356)', '2026-07-17 16:08:58', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774617 -3.405247)'), GeomFromEWKT('SRID=4674;POINT (-38.774718 -3.405356)'))) / (select extract(epoch from '2026-07-17 16:08:58'::timestamp) - extract(epoch from '2026-07-17 16:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774617 -3.405247)'), GeomFromEWKT('SRID=4674;POINT (-38.774718 -3.405356)'))) / (select extract(epoch from '2026-07-17 16:08:58'::timestamp) - extract(epoch from '2026-07-17 16:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.774842 -3.405489)', '2026-07-17 16:09:06', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774718 -3.405356)'), GeomFromEWKT('SRID=4674;POINT (-38.774842 -3.405489)'))) / (select extract(epoch from '2026-07-17 16:09:06'::timestamp) - extract(epoch from '2026-07-17 16:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774718 -3.405356)'), GeomFromEWKT('SRID=4674;POINT (-38.774842 -3.405489)'))) / (select extract(epoch from '2026-07-17 16:09:06'::timestamp) - extract(epoch from '2026-07-17 16:08:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.774912 -3.405596)', '2026-07-17 16:09:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774842 -3.405489)'), GeomFromEWKT('SRID=4674;POINT (-38.774912 -3.405596)'))) / (select extract(epoch from '2026-07-17 16:09:12'::timestamp) - extract(epoch from '2026-07-17 16:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774842 -3.405489)'), GeomFromEWKT('SRID=4674;POINT (-38.774912 -3.405596)'))) / (select extract(epoch from '2026-07-17 16:09:12'::timestamp) - extract(epoch from '2026-07-17 16:09: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'), 47317, 'SRID=4674;POINT (-38.774992 -3.40571)', '2026-07-17 16:09:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774912 -3.405596)'), GeomFromEWKT('SRID=4674;POINT (-38.774992 -3.40571)'))) / (select extract(epoch from '2026-07-17 16:09:18'::timestamp) - extract(epoch from '2026-07-17 16:09:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774912 -3.405596)'), GeomFromEWKT('SRID=4674;POINT (-38.774992 -3.40571)'))) / (select extract(epoch from '2026-07-17 16:09:18'::timestamp) - extract(epoch from '2026-07-17 16:09:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.775044 -3.405807)', '2026-07-17 16:09:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774992 -3.40571)'), GeomFromEWKT('SRID=4674;POINT (-38.775044 -3.405807)'))) / (select extract(epoch from '2026-07-17 16:09:23'::timestamp) - extract(epoch from '2026-07-17 16:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.774992 -3.40571)'), GeomFromEWKT('SRID=4674;POINT (-38.775044 -3.405807)'))) / (select extract(epoch from '2026-07-17 16:09:23'::timestamp) - extract(epoch from '2026-07-17 16:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.775111 -3.405924)', '2026-07-17 16:09:29', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775044 -3.405807)'), GeomFromEWKT('SRID=4674;POINT (-38.775111 -3.405924)'))) / (select extract(epoch from '2026-07-17 16:09:29'::timestamp) - extract(epoch from '2026-07-17 16:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775044 -3.405807)'), GeomFromEWKT('SRID=4674;POINT (-38.775111 -3.405924)'))) / (select extract(epoch from '2026-07-17 16:09:29'::timestamp) - extract(epoch from '2026-07-17 16:09: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'), 47317, 'SRID=4674;POINT (-38.775187 -3.406057)', '2026-07-17 16:09:36', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775111 -3.405924)'), GeomFromEWKT('SRID=4674;POINT (-38.775187 -3.406057)'))) / (select extract(epoch from '2026-07-17 16:09:36'::timestamp) - extract(epoch from '2026-07-17 16:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775111 -3.405924)'), GeomFromEWKT('SRID=4674;POINT (-38.775187 -3.406057)'))) / (select extract(epoch from '2026-07-17 16:09:36'::timestamp) - extract(epoch from '2026-07-17 16:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.775246 -3.406163)', '2026-07-17 16:09:42', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775187 -3.406057)'), GeomFromEWKT('SRID=4674;POINT (-38.775246 -3.406163)'))) / (select extract(epoch from '2026-07-17 16:09:42'::timestamp) - extract(epoch from '2026-07-17 16:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775187 -3.406057)'), GeomFromEWKT('SRID=4674;POINT (-38.775246 -3.406163)'))) / (select extract(epoch from '2026-07-17 16:09:42'::timestamp) - extract(epoch from '2026-07-17 16:09:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.775321 -3.406316)', '2026-07-17 16:09:50', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775246 -3.406163)'), GeomFromEWKT('SRID=4674;POINT (-38.775321 -3.406316)'))) / (select extract(epoch from '2026-07-17 16:09:50'::timestamp) - extract(epoch from '2026-07-17 16:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775246 -3.406163)'), GeomFromEWKT('SRID=4674;POINT (-38.775321 -3.406316)'))) / (select extract(epoch from '2026-07-17 16:09:50'::timestamp) - extract(epoch from '2026-07-17 16:09:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.775381 -3.406439)', '2026-07-17 16:09:56', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775321 -3.406316)'), GeomFromEWKT('SRID=4674;POINT (-38.775381 -3.406439)'))) / (select extract(epoch from '2026-07-17 16:09:56'::timestamp) - extract(epoch from '2026-07-17 16:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775321 -3.406316)'), GeomFromEWKT('SRID=4674;POINT (-38.775381 -3.406439)'))) / (select extract(epoch from '2026-07-17 16:09:56'::timestamp) - extract(epoch from '2026-07-17 16:09: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'), 47317, 'SRID=4674;POINT (-38.775426 -3.406557)', '2026-07-17 16:10:02', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775381 -3.406439)'), GeomFromEWKT('SRID=4674;POINT (-38.775426 -3.406557)'))) / (select extract(epoch from '2026-07-17 16:10:02'::timestamp) - extract(epoch from '2026-07-17 16:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775381 -3.406439)'), GeomFromEWKT('SRID=4674;POINT (-38.775426 -3.406557)'))) / (select extract(epoch from '2026-07-17 16:10:02'::timestamp) - extract(epoch from '2026-07-17 16:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.775471 -3.406701)', '2026-07-17 16:10:09', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775426 -3.406557)'), GeomFromEWKT('SRID=4674;POINT (-38.775471 -3.406701)'))) / (select extract(epoch from '2026-07-17 16:10:09'::timestamp) - extract(epoch from '2026-07-17 16:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775426 -3.406557)'), GeomFromEWKT('SRID=4674;POINT (-38.775471 -3.406701)'))) / (select extract(epoch from '2026-07-17 16:10:09'::timestamp) - extract(epoch from '2026-07-17 16:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.775505 -3.406807)', '2026-07-17 16:10:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775471 -3.406701)'), GeomFromEWKT('SRID=4674;POINT (-38.775505 -3.406807)'))) / (select extract(epoch from '2026-07-17 16:10:15'::timestamp) - extract(epoch from '2026-07-17 16:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775471 -3.406701)'), GeomFromEWKT('SRID=4674;POINT (-38.775505 -3.406807)'))) / (select extract(epoch from '2026-07-17 16:10:15'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47317, 'SRID=4674;POINT (-38.77555 -3.406891)', '2026-07-17 16:10:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775505 -3.406807)'), GeomFromEWKT('SRID=4674;POINT (-38.77555 -3.406891)'))) / (select extract(epoch from '2026-07-17 16:10:21'::timestamp) - extract(epoch from '2026-07-17 16:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775505 -3.406807)'), GeomFromEWKT('SRID=4674;POINT (-38.77555 -3.406891)'))) / (select extract(epoch from '2026-07-17 16:10:21'::timestamp) - extract(epoch from '2026-07-17 16:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.775553 -3.406907)', '2026-07-17 16:10:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77555 -3.406891)'), GeomFromEWKT('SRID=4674;POINT (-38.775553 -3.406907)'))) / (select extract(epoch from '2026-07-17 16:10:22'::timestamp) - extract(epoch from '2026-07-17 16:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77555 -3.406891)'), GeomFromEWKT('SRID=4674;POINT (-38.775553 -3.406907)'))) / (select extract(epoch from '2026-07-17 16:10:22'::timestamp) - extract(epoch from '2026-07-17 16:10:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.775577 -3.406967)', '2026-07-17 16:10:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775553 -3.406907)'), GeomFromEWKT('SRID=4674;POINT (-38.775577 -3.406967)'))) / (select extract(epoch from '2026-07-17 16:10:26'::timestamp) - extract(epoch from '2026-07-17 16:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775553 -3.406907)'), GeomFromEWKT('SRID=4674;POINT (-38.775577 -3.406967)'))) / (select extract(epoch from '2026-07-17 16:10:26'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47317, 'SRID=4674;POINT (-38.77558 -3.406982)', '2026-07-17 16:10:27', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775577 -3.406967)'), GeomFromEWKT('SRID=4674;POINT (-38.77558 -3.406982)'))) / (select extract(epoch from '2026-07-17 16:10:27'::timestamp) - extract(epoch from '2026-07-17 16:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775577 -3.406967)'), GeomFromEWKT('SRID=4674;POINT (-38.77558 -3.406982)'))) / (select extract(epoch from '2026-07-17 16:10:27'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.77559 -3.407025)', '2026-07-17 16:10:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77558 -3.406982)'), GeomFromEWKT('SRID=4674;POINT (-38.77559 -3.407025)'))) / (select extract(epoch from '2026-07-17 16:10:30'::timestamp) - extract(epoch from '2026-07-17 16:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77558 -3.406982)'), GeomFromEWKT('SRID=4674;POINT (-38.77559 -3.407025)'))) / (select extract(epoch from '2026-07-17 16:10:30'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47317, 'SRID=4674;POINT (-38.775602 -3.40704)', '2026-07-17 16:10:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77559 -3.407025)'), GeomFromEWKT('SRID=4674;POINT (-38.775602 -3.40704)'))) / (select extract(epoch from '2026-07-17 16:10:31'::timestamp) - extract(epoch from '2026-07-17 16:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77559 -3.407025)'), GeomFromEWKT('SRID=4674;POINT (-38.775602 -3.40704)'))) / (select extract(epoch from '2026-07-17 16:10:31'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47317, 'SRID=4674;POINT (-38.775634 -3.407133)', '2026-07-17 16:10:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775602 -3.40704)'), GeomFromEWKT('SRID=4674;POINT (-38.775634 -3.407133)'))) / (select extract(epoch from '2026-07-17 16:10:36'::timestamp) - extract(epoch from '2026-07-17 16:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775602 -3.40704)'), GeomFromEWKT('SRID=4674;POINT (-38.775634 -3.407133)'))) / (select extract(epoch from '2026-07-17 16:10:36'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47317, 'SRID=4674;POINT (-38.775688 -3.40727)', '2026-07-17 16:10:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775634 -3.407133)'), GeomFromEWKT('SRID=4674;POINT (-38.775688 -3.40727)'))) / (select extract(epoch from '2026-07-17 16:10:43'::timestamp) - extract(epoch from '2026-07-17 16:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775634 -3.407133)'), GeomFromEWKT('SRID=4674;POINT (-38.775688 -3.40727)'))) / (select extract(epoch from '2026-07-17 16:10:43'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47317, 'SRID=4674;POINT (-38.775724 -3.407365)', '2026-07-17 16:10:48', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775688 -3.40727)'), GeomFromEWKT('SRID=4674;POINT (-38.775724 -3.407365)'))) / (select extract(epoch from '2026-07-17 16:10:48'::timestamp) - extract(epoch from '2026-07-17 16:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775688 -3.40727)'), GeomFromEWKT('SRID=4674;POINT (-38.775724 -3.407365)'))) / (select extract(epoch from '2026-07-17 16:10:48'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.775784 -3.407477)', '2026-07-17 16:10:54', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775724 -3.407365)'), GeomFromEWKT('SRID=4674;POINT (-38.775784 -3.407477)'))) / (select extract(epoch from '2026-07-17 16:10:54'::timestamp) - extract(epoch from '2026-07-17 16:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775724 -3.407365)'), GeomFromEWKT('SRID=4674;POINT (-38.775784 -3.407477)'))) / (select extract(epoch from '2026-07-17 16:10:54'::timestamp) - extract(epoch from '2026-07-17 16:10: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'), 47317, 'SRID=4674;POINT (-38.775834 -3.40759)', '2026-07-17 16:11:00', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775784 -3.407477)'), GeomFromEWKT('SRID=4674;POINT (-38.775834 -3.40759)'))) / (select extract(epoch from '2026-07-17 16:11:00'::timestamp) - extract(epoch from '2026-07-17 16:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775784 -3.407477)'), GeomFromEWKT('SRID=4674;POINT (-38.775834 -3.40759)'))) / (select extract(epoch from '2026-07-17 16:11:00'::timestamp) - extract(epoch from '2026-07-17 16:10:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.775887 -3.407709)', '2026-07-17 16:11:06', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775834 -3.40759)'), GeomFromEWKT('SRID=4674;POINT (-38.775887 -3.407709)'))) / (select extract(epoch from '2026-07-17 16:11:06'::timestamp) - extract(epoch from '2026-07-17 16:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775834 -3.40759)'), GeomFromEWKT('SRID=4674;POINT (-38.775887 -3.407709)'))) / (select extract(epoch from '2026-07-17 16:11:06'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47317, 'SRID=4674;POINT (-38.775944 -3.407828)', '2026-07-17 16:11:12', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775887 -3.407709)'), GeomFromEWKT('SRID=4674;POINT (-38.775944 -3.407828)'))) / (select extract(epoch from '2026-07-17 16:11:12'::timestamp) - extract(epoch from '2026-07-17 16:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775887 -3.407709)'), GeomFromEWKT('SRID=4674;POINT (-38.775944 -3.407828)'))) / (select extract(epoch from '2026-07-17 16:11:12'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47317, 'SRID=4674;POINT (-38.77599 -3.407937)', '2026-07-17 16:11:18', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775944 -3.407828)'), GeomFromEWKT('SRID=4674;POINT (-38.77599 -3.407937)'))) / (select extract(epoch from '2026-07-17 16:11:18'::timestamp) - extract(epoch from '2026-07-17 16:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.775944 -3.407828)'), GeomFromEWKT('SRID=4674;POINT (-38.77599 -3.407937)'))) / (select extract(epoch from '2026-07-17 16:11:18'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47317, 'SRID=4674;POINT (-38.776038 -3.40802)', '2026-07-17 16:11:24', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77599 -3.407937)'), GeomFromEWKT('SRID=4674;POINT (-38.776038 -3.40802)'))) / (select extract(epoch from '2026-07-17 16:11:24'::timestamp) - extract(epoch from '2026-07-17 16:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77599 -3.407937)'), GeomFromEWKT('SRID=4674;POINT (-38.776038 -3.40802)'))) / (select extract(epoch from '2026-07-17 16:11:24'::timestamp) - extract(epoch from '2026-07-17 16:11:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.77608 -3.408088)', '2026-07-17 16:11:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776038 -3.40802)'), GeomFromEWKT('SRID=4674;POINT (-38.77608 -3.408088)'))) / (select extract(epoch from '2026-07-17 16:11:30'::timestamp) - extract(epoch from '2026-07-17 16:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776038 -3.40802)'), GeomFromEWKT('SRID=4674;POINT (-38.77608 -3.408088)'))) / (select extract(epoch from '2026-07-17 16:11:30'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47317, 'SRID=4674;POINT (-38.776088 -3.408099)', '2026-07-17 16:11:31', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77608 -3.408088)'), GeomFromEWKT('SRID=4674;POINT (-38.776088 -3.408099)'))) / (select extract(epoch from '2026-07-17 16:11:31'::timestamp) - extract(epoch from '2026-07-17 16:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77608 -3.408088)'), GeomFromEWKT('SRID=4674;POINT (-38.776088 -3.408099)'))) / (select extract(epoch from '2026-07-17 16:11:31'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47317, 'SRID=4674;POINT (-38.776096 -3.408123)', '2026-07-17 16:11:33', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776088 -3.408099)'), GeomFromEWKT('SRID=4674;POINT (-38.776096 -3.408123)'))) / (select extract(epoch from '2026-07-17 16:11:33'::timestamp) - extract(epoch from '2026-07-17 16:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776088 -3.408099)'), GeomFromEWKT('SRID=4674;POINT (-38.776096 -3.408123)'))) / (select extract(epoch from '2026-07-17 16:11:33'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47317, 'SRID=4674;POINT (-38.776123 -3.40817)', '2026-07-17 16:11:37', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776096 -3.408123)'), GeomFromEWKT('SRID=4674;POINT (-38.776123 -3.40817)'))) / (select extract(epoch from '2026-07-17 16:11:37'::timestamp) - extract(epoch from '2026-07-17 16:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776096 -3.408123)'), GeomFromEWKT('SRID=4674;POINT (-38.776123 -3.40817)'))) / (select extract(epoch from '2026-07-17 16:11:37'::timestamp) - extract(epoch from '2026-07-17 16:11: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'), 47317, 'SRID=4674;POINT (-38.776166 -3.408273)', '2026-07-17 16:11:44', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776123 -3.40817)'), GeomFromEWKT('SRID=4674;POINT (-38.776166 -3.408273)'))) / (select extract(epoch from '2026-07-17 16:11:44'::timestamp) - extract(epoch from '2026-07-17 16:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776123 -3.40817)'), GeomFromEWKT('SRID=4674;POINT (-38.776166 -3.408273)'))) / (select extract(epoch from '2026-07-17 16:11:44'::timestamp) - extract(epoch from '2026-07-17 16:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.77625 -3.408415)', '2026-07-17 16:11:52', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776166 -3.408273)'), GeomFromEWKT('SRID=4674;POINT (-38.77625 -3.408415)'))) / (select extract(epoch from '2026-07-17 16:11:52'::timestamp) - extract(epoch from '2026-07-17 16:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776166 -3.408273)'), GeomFromEWKT('SRID=4674;POINT (-38.77625 -3.408415)'))) / (select extract(epoch from '2026-07-17 16:11:52'::timestamp) - extract(epoch from '2026-07-17 16:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.776306 -3.40853)', '2026-07-17 16:11:58', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77625 -3.408415)'), GeomFromEWKT('SRID=4674;POINT (-38.776306 -3.40853)'))) / (select extract(epoch from '2026-07-17 16:11:58'::timestamp) - extract(epoch from '2026-07-17 16:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77625 -3.408415)'), GeomFromEWKT('SRID=4674;POINT (-38.776306 -3.40853)'))) / (select extract(epoch from '2026-07-17 16:11:58'::timestamp) - extract(epoch from '2026-07-17 16:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.776365 -3.408652)', '2026-07-17 16:12:04', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776306 -3.40853)'), GeomFromEWKT('SRID=4674;POINT (-38.776365 -3.408652)'))) / (select extract(epoch from '2026-07-17 16:12:04'::timestamp) - extract(epoch from '2026-07-17 16:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776306 -3.40853)'), GeomFromEWKT('SRID=4674;POINT (-38.776365 -3.408652)'))) / (select extract(epoch from '2026-07-17 16:12:04'::timestamp) - extract(epoch from '2026-07-17 16:11:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.776411 -3.408724)', '2026-07-17 16:12:08', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776365 -3.408652)'), GeomFromEWKT('SRID=4674;POINT (-38.776411 -3.408724)'))) / (select extract(epoch from '2026-07-17 16:12:08'::timestamp) - extract(epoch from '2026-07-17 16:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776365 -3.408652)'), GeomFromEWKT('SRID=4674;POINT (-38.776411 -3.408724)'))) / (select extract(epoch from '2026-07-17 16:12:08'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.776484 -3.408827)', '2026-07-17 16:12:13', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776411 -3.408724)'), GeomFromEWKT('SRID=4674;POINT (-38.776484 -3.408827)'))) / (select extract(epoch from '2026-07-17 16:12:13'::timestamp) - extract(epoch from '2026-07-17 16:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776411 -3.408724)'), GeomFromEWKT('SRID=4674;POINT (-38.776484 -3.408827)'))) / (select extract(epoch from '2026-07-17 16:12:13'::timestamp) - extract(epoch from '2026-07-17 16:12: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'), 47317, 'SRID=4674;POINT (-38.776568 -3.408949)', '2026-07-17 16:12:19', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776484 -3.408827)'), GeomFromEWKT('SRID=4674;POINT (-38.776568 -3.408949)'))) / (select extract(epoch from '2026-07-17 16:12:19'::timestamp) - extract(epoch from '2026-07-17 16:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776484 -3.408827)'), GeomFromEWKT('SRID=4674;POINT (-38.776568 -3.408949)'))) / (select extract(epoch from '2026-07-17 16:12:19'::timestamp) - extract(epoch from '2026-07-17 16:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.776652 -3.409056)', '2026-07-17 16:12:25', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776568 -3.408949)'), GeomFromEWKT('SRID=4674;POINT (-38.776652 -3.409056)'))) / (select extract(epoch from '2026-07-17 16:12:25'::timestamp) - extract(epoch from '2026-07-17 16:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776568 -3.408949)'), GeomFromEWKT('SRID=4674;POINT (-38.776652 -3.409056)'))) / (select extract(epoch from '2026-07-17 16:12:25'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.77668 -3.409104)', '2026-07-17 16:12:28', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776652 -3.409056)'), GeomFromEWKT('SRID=4674;POINT (-38.77668 -3.409104)'))) / (select extract(epoch from '2026-07-17 16:12:28'::timestamp) - extract(epoch from '2026-07-17 16:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776652 -3.409056)'), GeomFromEWKT('SRID=4674;POINT (-38.77668 -3.409104)'))) / (select extract(epoch from '2026-07-17 16:12:28'::timestamp) - extract(epoch from '2026-07-17 16:12: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'), 47317, 'SRID=4674;POINT (-38.776688 -3.409126)', '2026-07-17 16:12:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77668 -3.409104)'), GeomFromEWKT('SRID=4674;POINT (-38.776688 -3.409126)'))) / (select extract(epoch from '2026-07-17 16:12:30'::timestamp) - extract(epoch from '2026-07-17 16:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77668 -3.409104)'), GeomFromEWKT('SRID=4674;POINT (-38.776688 -3.409126)'))) / (select extract(epoch from '2026-07-17 16:12:30'::timestamp) - extract(epoch from '2026-07-17 16:12:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.776732 -3.40921)', '2026-07-17 16:12:37', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776688 -3.409126)'), GeomFromEWKT('SRID=4674;POINT (-38.776732 -3.40921)'))) / (select extract(epoch from '2026-07-17 16:12:37'::timestamp) - extract(epoch from '2026-07-17 16:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776688 -3.409126)'), GeomFromEWKT('SRID=4674;POINT (-38.776732 -3.40921)'))) / (select extract(epoch from '2026-07-17 16:12:37'::timestamp) - extract(epoch from '2026-07-17 16:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.776778 -3.409275)', '2026-07-17 16:12:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776732 -3.40921)'), GeomFromEWKT('SRID=4674;POINT (-38.776778 -3.409275)'))) / (select extract(epoch from '2026-07-17 16:12:42'::timestamp) - extract(epoch from '2026-07-17 16:12:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776732 -3.40921)'), GeomFromEWKT('SRID=4674;POINT (-38.776778 -3.409275)'))) / (select extract(epoch from '2026-07-17 16:12:42'::timestamp) - extract(epoch from '2026-07-17 16:12:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.776828 -3.409357)', '2026-07-17 16:12:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776778 -3.409275)'), GeomFromEWKT('SRID=4674;POINT (-38.776828 -3.409357)'))) / (select extract(epoch from '2026-07-17 16:12:48'::timestamp) - extract(epoch from '2026-07-17 16:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776778 -3.409275)'), GeomFromEWKT('SRID=4674;POINT (-38.776828 -3.409357)'))) / (select extract(epoch from '2026-07-17 16:12:48'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.776867 -3.409431)', '2026-07-17 16:12:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776828 -3.409357)'), GeomFromEWKT('SRID=4674;POINT (-38.776867 -3.409431)'))) / (select extract(epoch from '2026-07-17 16:12:55'::timestamp) - extract(epoch from '2026-07-17 16:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776828 -3.409357)'), GeomFromEWKT('SRID=4674;POINT (-38.776867 -3.409431)'))) / (select extract(epoch from '2026-07-17 16:12:55'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.776914 -3.409518)', '2026-07-17 16:13:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776867 -3.409431)'), GeomFromEWKT('SRID=4674;POINT (-38.776914 -3.409518)'))) / (select extract(epoch from '2026-07-17 16:13:04'::timestamp) - extract(epoch from '2026-07-17 16:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776867 -3.409431)'), GeomFromEWKT('SRID=4674;POINT (-38.776914 -3.409518)'))) / (select extract(epoch from '2026-07-17 16:13:04'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.776974 -3.40962)', '2026-07-17 16:13:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776914 -3.409518)'), GeomFromEWKT('SRID=4674;POINT (-38.776974 -3.40962)'))) / (select extract(epoch from '2026-07-17 16:13:11'::timestamp) - extract(epoch from '2026-07-17 16:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776914 -3.409518)'), GeomFromEWKT('SRID=4674;POINT (-38.776974 -3.40962)'))) / (select extract(epoch from '2026-07-17 16:13:11'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.777015 -3.409716)', '2026-07-17 16:13:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776974 -3.40962)'), GeomFromEWKT('SRID=4674;POINT (-38.777015 -3.409716)'))) / (select extract(epoch from '2026-07-17 16:13:17'::timestamp) - extract(epoch from '2026-07-17 16:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.776974 -3.40962)'), GeomFromEWKT('SRID=4674;POINT (-38.777015 -3.409716)'))) / (select extract(epoch from '2026-07-17 16:13:17'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.777042 -3.409791)', '2026-07-17 16:13:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777015 -3.409716)'), GeomFromEWKT('SRID=4674;POINT (-38.777042 -3.409791)'))) / (select extract(epoch from '2026-07-17 16:13:23'::timestamp) - extract(epoch from '2026-07-17 16:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777015 -3.409716)'), GeomFromEWKT('SRID=4674;POINT (-38.777042 -3.409791)'))) / (select extract(epoch from '2026-07-17 16:13:23'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.777064 -3.409826)', '2026-07-17 16:13:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777042 -3.409791)'), GeomFromEWKT('SRID=4674;POINT (-38.777064 -3.409826)'))) / (select extract(epoch from '2026-07-17 16:13:27'::timestamp) - extract(epoch from '2026-07-17 16:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777042 -3.409791)'), GeomFromEWKT('SRID=4674;POINT (-38.777064 -3.409826)'))) / (select extract(epoch from '2026-07-17 16:13:27'::timestamp) - extract(epoch from '2026-07-17 16:13: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'), 47317, 'SRID=4674;POINT (-38.77708 -3.409848)', '2026-07-17 16:13:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777064 -3.409826)'), GeomFromEWKT('SRID=4674;POINT (-38.77708 -3.409848)'))) / (select extract(epoch from '2026-07-17 16:13:30'::timestamp) - extract(epoch from '2026-07-17 16:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777064 -3.409826)'), GeomFromEWKT('SRID=4674;POINT (-38.77708 -3.409848)'))) / (select extract(epoch from '2026-07-17 16:13:30'::timestamp) - extract(epoch from '2026-07-17 16:13: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'), 47317, 'SRID=4674;POINT (-38.777098 -3.409897)', '2026-07-17 16:13:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77708 -3.409848)'), GeomFromEWKT('SRID=4674;POINT (-38.777098 -3.409897)'))) / (select extract(epoch from '2026-07-17 16:13:39'::timestamp) - extract(epoch from '2026-07-17 16:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77708 -3.409848)'), GeomFromEWKT('SRID=4674;POINT (-38.777098 -3.409897)'))) / (select extract(epoch from '2026-07-17 16:13:39'::timestamp) - extract(epoch from '2026-07-17 16:13: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'), 47317, 'SRID=4674;POINT (-38.77713 -3.409931)', '2026-07-17 16:13:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777098 -3.409897)'), GeomFromEWKT('SRID=4674;POINT (-38.77713 -3.409931)'))) / (select extract(epoch from '2026-07-17 16:13:47'::timestamp) - extract(epoch from '2026-07-17 16:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777098 -3.409897)'), GeomFromEWKT('SRID=4674;POINT (-38.77713 -3.409931)'))) / (select extract(epoch from '2026-07-17 16:13:47'::timestamp) - extract(epoch from '2026-07-17 16:13: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'), 47317, 'SRID=4674;POINT (-38.777178 -3.410014)', '2026-07-17 16:13:57', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77713 -3.409931)'), GeomFromEWKT('SRID=4674;POINT (-38.777178 -3.410014)'))) / (select extract(epoch from '2026-07-17 16:13:57'::timestamp) - extract(epoch from '2026-07-17 16:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77713 -3.409931)'), GeomFromEWKT('SRID=4674;POINT (-38.777178 -3.410014)'))) / (select extract(epoch from '2026-07-17 16:13:57'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.777223 -3.410117)', '2026-07-17 16:14:03', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777178 -3.410014)'), GeomFromEWKT('SRID=4674;POINT (-38.777223 -3.410117)'))) / (select extract(epoch from '2026-07-17 16:14:03'::timestamp) - extract(epoch from '2026-07-17 16:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777178 -3.410014)'), GeomFromEWKT('SRID=4674;POINT (-38.777223 -3.410117)'))) / (select extract(epoch from '2026-07-17 16:14:03'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.777306 -3.410257)', '2026-07-17 16:14:11', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777223 -3.410117)'), GeomFromEWKT('SRID=4674;POINT (-38.777306 -3.410257)'))) / (select extract(epoch from '2026-07-17 16:14:11'::timestamp) - extract(epoch from '2026-07-17 16:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777223 -3.410117)'), GeomFromEWKT('SRID=4674;POINT (-38.777306 -3.410257)'))) / (select extract(epoch from '2026-07-17 16:14:11'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.777356 -3.410367)', '2026-07-17 16:14:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777306 -3.410257)'), GeomFromEWKT('SRID=4674;POINT (-38.777356 -3.410367)'))) / (select extract(epoch from '2026-07-17 16:14:18'::timestamp) - extract(epoch from '2026-07-17 16:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777306 -3.410257)'), GeomFromEWKT('SRID=4674;POINT (-38.777356 -3.410367)'))) / (select extract(epoch from '2026-07-17 16:14:18'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47317, 'SRID=4674;POINT (-38.777393 -3.410441)', '2026-07-17 16:14:24', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777356 -3.410367)'), GeomFromEWKT('SRID=4674;POINT (-38.777393 -3.410441)'))) / (select extract(epoch from '2026-07-17 16:14:24'::timestamp) - extract(epoch from '2026-07-17 16:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777356 -3.410367)'), GeomFromEWKT('SRID=4674;POINT (-38.777393 -3.410441)'))) / (select extract(epoch from '2026-07-17 16:14:24'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47317, 'SRID=4674;POINT (-38.777401 -3.41045)', '2026-07-17 16:14:25', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777393 -3.410441)'), GeomFromEWKT('SRID=4674;POINT (-38.777401 -3.41045)'))) / (select extract(epoch from '2026-07-17 16:14:25'::timestamp) - extract(epoch from '2026-07-17 16:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777393 -3.410441)'), GeomFromEWKT('SRID=4674;POINT (-38.777401 -3.41045)'))) / (select extract(epoch from '2026-07-17 16:14:25'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47317, 'SRID=4674;POINT (-38.777411 -3.410476)', '2026-07-17 16:14:28', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777401 -3.41045)'), GeomFromEWKT('SRID=4674;POINT (-38.777411 -3.410476)'))) / (select extract(epoch from '2026-07-17 16:14:28'::timestamp) - extract(epoch from '2026-07-17 16:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777401 -3.41045)'), GeomFromEWKT('SRID=4674;POINT (-38.777411 -3.410476)'))) / (select extract(epoch from '2026-07-17 16:14:28'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47317, 'SRID=4674;POINT (-38.777424 -3.410492)', '2026-07-17 16:14:30', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777411 -3.410476)'), GeomFromEWKT('SRID=4674;POINT (-38.777424 -3.410492)'))) / (select extract(epoch from '2026-07-17 16:14:30'::timestamp) - extract(epoch from '2026-07-17 16:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777411 -3.410476)'), GeomFromEWKT('SRID=4674;POINT (-38.777424 -3.410492)'))) / (select extract(epoch from '2026-07-17 16:14:30'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47317, 'SRID=4674;POINT (-38.777448 -3.410514)', '2026-07-17 16:14:32', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777424 -3.410492)'), GeomFromEWKT('SRID=4674;POINT (-38.777448 -3.410514)'))) / (select extract(epoch from '2026-07-17 16:14:32'::timestamp) - extract(epoch from '2026-07-17 16:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777424 -3.410492)'), GeomFromEWKT('SRID=4674;POINT (-38.777448 -3.410514)'))) / (select extract(epoch from '2026-07-17 16:14:32'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47317, 'SRID=4674;POINT (-38.777453 -3.410539)', '2026-07-17 16:14:34', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777448 -3.410514)'), GeomFromEWKT('SRID=4674;POINT (-38.777453 -3.410539)'))) / (select extract(epoch from '2026-07-17 16:14:34'::timestamp) - extract(epoch from '2026-07-17 16:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777448 -3.410514)'), GeomFromEWKT('SRID=4674;POINT (-38.777453 -3.410539)'))) / (select extract(epoch from '2026-07-17 16:14:34'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47317, 'SRID=4674;POINT (-38.777504 -3.410632)', '2026-07-17 16:14:40', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777453 -3.410539)'), GeomFromEWKT('SRID=4674;POINT (-38.777504 -3.410632)'))) / (select extract(epoch from '2026-07-17 16:14:40'::timestamp) - extract(epoch from '2026-07-17 16:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777453 -3.410539)'), GeomFromEWKT('SRID=4674;POINT (-38.777504 -3.410632)'))) / (select extract(epoch from '2026-07-17 16:14:40'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47317, 'SRID=4674;POINT (-38.777549 -3.410727)', '2026-07-17 16:14:46', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777504 -3.410632)'), GeomFromEWKT('SRID=4674;POINT (-38.777549 -3.410727)'))) / (select extract(epoch from '2026-07-17 16:14:46'::timestamp) - extract(epoch from '2026-07-17 16:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777504 -3.410632)'), GeomFromEWKT('SRID=4674;POINT (-38.777549 -3.410727)'))) / (select extract(epoch from '2026-07-17 16:14:46'::timestamp) - extract(epoch from '2026-07-17 16:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.777629 -3.410854)', '2026-07-17 16:14:53', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777549 -3.410727)'), GeomFromEWKT('SRID=4674;POINT (-38.777629 -3.410854)'))) / (select extract(epoch from '2026-07-17 16:14:53'::timestamp) - extract(epoch from '2026-07-17 16:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777549 -3.410727)'), GeomFromEWKT('SRID=4674;POINT (-38.777629 -3.410854)'))) / (select extract(epoch from '2026-07-17 16:14:53'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47317, 'SRID=4674;POINT (-38.777646 -3.410902)', '2026-07-17 16:14:57', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777629 -3.410854)'), GeomFromEWKT('SRID=4674;POINT (-38.777646 -3.410902)'))) / (select extract(epoch from '2026-07-17 16:14:57'::timestamp) - extract(epoch from '2026-07-17 16:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777629 -3.410854)'), GeomFromEWKT('SRID=4674;POINT (-38.777646 -3.410902)'))) / (select extract(epoch from '2026-07-17 16:14:57'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.777653 -3.410911)', '2026-07-17 16:14:58', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777646 -3.410902)'), GeomFromEWKT('SRID=4674;POINT (-38.777653 -3.410911)'))) / (select extract(epoch from '2026-07-17 16:14:58'::timestamp) - extract(epoch from '2026-07-17 16:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777646 -3.410902)'), GeomFromEWKT('SRID=4674;POINT (-38.777653 -3.410911)'))) / (select extract(epoch from '2026-07-17 16:14:58'::timestamp) - extract(epoch from '2026-07-17 16:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.777656 -3.410922)', '2026-07-17 16:14:59', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777653 -3.410911)'), GeomFromEWKT('SRID=4674;POINT (-38.777656 -3.410922)'))) / (select extract(epoch from '2026-07-17 16:14:59'::timestamp) - extract(epoch from '2026-07-17 16:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777653 -3.410911)'), GeomFromEWKT('SRID=4674;POINT (-38.777656 -3.410922)'))) / (select extract(epoch from '2026-07-17 16:14:59'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47317, 'SRID=4674;POINT (-38.777673 -3.410962)', '2026-07-17 16:15:03', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777656 -3.410922)'), GeomFromEWKT('SRID=4674;POINT (-38.777673 -3.410962)'))) / (select extract(epoch from '2026-07-17 16:15:03'::timestamp) - extract(epoch from '2026-07-17 16:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777656 -3.410922)'), GeomFromEWKT('SRID=4674;POINT (-38.777673 -3.410962)'))) / (select extract(epoch from '2026-07-17 16:15:03'::timestamp) - extract(epoch from '2026-07-17 16:14: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'), 47317, 'SRID=4674;POINT (-38.777693 -3.411034)', '2026-07-17 16:15:10', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777673 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-38.777693 -3.411034)'))) / (select extract(epoch from '2026-07-17 16:15:10'::timestamp) - extract(epoch from '2026-07-17 16:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777673 -3.410962)'), GeomFromEWKT('SRID=4674;POINT (-38.777693 -3.411034)'))) / (select extract(epoch from '2026-07-17 16:15:10'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.77771 -3.411071)', '2026-07-17 16:15:17', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777693 -3.411034)'), GeomFromEWKT('SRID=4674;POINT (-38.77771 -3.411071)'))) / (select extract(epoch from '2026-07-17 16:15:17'::timestamp) - extract(epoch from '2026-07-17 16:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777693 -3.411034)'), GeomFromEWKT('SRID=4674;POINT (-38.77771 -3.411071)'))) / (select extract(epoch from '2026-07-17 16:15:17'::timestamp) - extract(epoch from '2026-07-17 16:15: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'), 47317, 'SRID=4674;POINT (-38.777743 -3.411098)', '2026-07-17 16:15:28', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77771 -3.411071)'), GeomFromEWKT('SRID=4674;POINT (-38.777743 -3.411098)'))) / (select extract(epoch from '2026-07-17 16:15:28'::timestamp) - extract(epoch from '2026-07-17 16:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77771 -3.411071)'), GeomFromEWKT('SRID=4674;POINT (-38.777743 -3.411098)'))) / (select extract(epoch from '2026-07-17 16:15:28'::timestamp) - extract(epoch from '2026-07-17 16:15:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.777782 -3.411123)', '2026-07-17 16:15:39', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777743 -3.411098)'), GeomFromEWKT('SRID=4674;POINT (-38.777782 -3.411123)'))) / (select extract(epoch from '2026-07-17 16:15:39'::timestamp) - extract(epoch from '2026-07-17 16:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777743 -3.411098)'), GeomFromEWKT('SRID=4674;POINT (-38.777782 -3.411123)'))) / (select extract(epoch from '2026-07-17 16:15:39'::timestamp) - extract(epoch from '2026-07-17 16:15: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'), 47317, 'SRID=4674;POINT (-38.777809 -3.411238)', '2026-07-17 16:15:48', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777782 -3.411123)'), GeomFromEWKT('SRID=4674;POINT (-38.777809 -3.411238)'))) / (select extract(epoch from '2026-07-17 16:15:48'::timestamp) - extract(epoch from '2026-07-17 16:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777782 -3.411123)'), GeomFromEWKT('SRID=4674;POINT (-38.777809 -3.411238)'))) / (select extract(epoch from '2026-07-17 16:15:48'::timestamp) - extract(epoch from '2026-07-17 16:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.77784 -3.411368)', '2026-07-17 16:15:55', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777809 -3.411238)'), GeomFromEWKT('SRID=4674;POINT (-38.77784 -3.411368)'))) / (select extract(epoch from '2026-07-17 16:15:55'::timestamp) - extract(epoch from '2026-07-17 16:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777809 -3.411238)'), GeomFromEWKT('SRID=4674;POINT (-38.77784 -3.411368)'))) / (select extract(epoch from '2026-07-17 16:15:55'::timestamp) - extract(epoch from '2026-07-17 16:15: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'), 47317, 'SRID=4674;POINT (-38.777907 -3.411492)', '2026-07-17 16:16:01', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77784 -3.411368)'), GeomFromEWKT('SRID=4674;POINT (-38.777907 -3.411492)'))) / (select extract(epoch from '2026-07-17 16:16:01'::timestamp) - extract(epoch from '2026-07-17 16:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77784 -3.411368)'), GeomFromEWKT('SRID=4674;POINT (-38.777907 -3.411492)'))) / (select extract(epoch from '2026-07-17 16:16:01'::timestamp) - extract(epoch from '2026-07-17 16:15: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'), 47317, 'SRID=4674;POINT (-38.777957 -3.411599)', '2026-07-17 16:16:06', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777907 -3.411492)'), GeomFromEWKT('SRID=4674;POINT (-38.777957 -3.411599)'))) / (select extract(epoch from '2026-07-17 16:16:06'::timestamp) - extract(epoch from '2026-07-17 16:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777907 -3.411492)'), GeomFromEWKT('SRID=4674;POINT (-38.777957 -3.411599)'))) / (select extract(epoch from '2026-07-17 16:16:06'::timestamp) - extract(epoch from '2026-07-17 16:16: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'), 47317, 'SRID=4674;POINT (-38.778026 -3.411714)', '2026-07-17 16:16:11', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777957 -3.411599)'), GeomFromEWKT('SRID=4674;POINT (-38.778026 -3.411714)'))) / (select extract(epoch from '2026-07-17 16:16:11'::timestamp) - extract(epoch from '2026-07-17 16:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.777957 -3.411599)'), GeomFromEWKT('SRID=4674;POINT (-38.778026 -3.411714)'))) / (select extract(epoch from '2026-07-17 16:16:11'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.77808 -3.411819)', '2026-07-17 16:16:16', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778026 -3.411714)'), GeomFromEWKT('SRID=4674;POINT (-38.77808 -3.411819)'))) / (select extract(epoch from '2026-07-17 16:16:16'::timestamp) - extract(epoch from '2026-07-17 16:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778026 -3.411714)'), GeomFromEWKT('SRID=4674;POINT (-38.77808 -3.411819)'))) / (select extract(epoch from '2026-07-17 16:16:16'::timestamp) - extract(epoch from '2026-07-17 16:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.778131 -3.411943)', '2026-07-17 16:16:22', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77808 -3.411819)'), GeomFromEWKT('SRID=4674;POINT (-38.778131 -3.411943)'))) / (select extract(epoch from '2026-07-17 16:16:22'::timestamp) - extract(epoch from '2026-07-17 16:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77808 -3.411819)'), GeomFromEWKT('SRID=4674;POINT (-38.778131 -3.411943)'))) / (select extract(epoch from '2026-07-17 16:16:22'::timestamp) - extract(epoch from '2026-07-17 16:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.778172 -3.412071)', '2026-07-17 16:16:28', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778131 -3.411943)'), GeomFromEWKT('SRID=4674;POINT (-38.778172 -3.412071)'))) / (select extract(epoch from '2026-07-17 16:16:28'::timestamp) - extract(epoch from '2026-07-17 16:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778131 -3.411943)'), GeomFromEWKT('SRID=4674;POINT (-38.778172 -3.412071)'))) / (select extract(epoch from '2026-07-17 16:16:28'::timestamp) - extract(epoch from '2026-07-17 16:16: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'), 47317, 'SRID=4674;POINT (-38.77824 -3.412218)', '2026-07-17 16:16:35', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778172 -3.412071)'), GeomFromEWKT('SRID=4674;POINT (-38.77824 -3.412218)'))) / (select extract(epoch from '2026-07-17 16:16:35'::timestamp) - extract(epoch from '2026-07-17 16:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778172 -3.412071)'), GeomFromEWKT('SRID=4674;POINT (-38.77824 -3.412218)'))) / (select extract(epoch from '2026-07-17 16:16:35'::timestamp) - extract(epoch from '2026-07-17 16:16: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'), 47317, 'SRID=4674;POINT (-38.778277 -3.412323)', '2026-07-17 16:16:40', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77824 -3.412218)'), GeomFromEWKT('SRID=4674;POINT (-38.778277 -3.412323)'))) / (select extract(epoch from '2026-07-17 16:16:40'::timestamp) - extract(epoch from '2026-07-17 16:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77824 -3.412218)'), GeomFromEWKT('SRID=4674;POINT (-38.778277 -3.412323)'))) / (select extract(epoch from '2026-07-17 16:16:40'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.778314 -3.412477)', '2026-07-17 16:16:48', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778277 -3.412323)'), GeomFromEWKT('SRID=4674;POINT (-38.778314 -3.412477)'))) / (select extract(epoch from '2026-07-17 16:16:48'::timestamp) - extract(epoch from '2026-07-17 16:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778277 -3.412323)'), GeomFromEWKT('SRID=4674;POINT (-38.778314 -3.412477)'))) / (select extract(epoch from '2026-07-17 16:16:48'::timestamp) - extract(epoch from '2026-07-17 16:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.778372 -3.412586)', '2026-07-17 16:16:53', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778314 -3.412477)'), GeomFromEWKT('SRID=4674;POINT (-38.778372 -3.412586)'))) / (select extract(epoch from '2026-07-17 16:16:53'::timestamp) - extract(epoch from '2026-07-17 16:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778314 -3.412477)'), GeomFromEWKT('SRID=4674;POINT (-38.778372 -3.412586)'))) / (select extract(epoch from '2026-07-17 16:16:53'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.778435 -3.412744)', '2026-07-17 16:17:00', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778372 -3.412586)'), GeomFromEWKT('SRID=4674;POINT (-38.778435 -3.412744)'))) / (select extract(epoch from '2026-07-17 16:17:00'::timestamp) - extract(epoch from '2026-07-17 16:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778372 -3.412586)'), GeomFromEWKT('SRID=4674;POINT (-38.778435 -3.412744)'))) / (select extract(epoch from '2026-07-17 16:17:00'::timestamp) - extract(epoch from '2026-07-17 16:16: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'), 47317, 'SRID=4674;POINT (-38.778488 -3.412861)', '2026-07-17 16:17:05', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778435 -3.412744)'), GeomFromEWKT('SRID=4674;POINT (-38.778488 -3.412861)'))) / (select extract(epoch from '2026-07-17 16:17:05'::timestamp) - extract(epoch from '2026-07-17 16:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778435 -3.412744)'), GeomFromEWKT('SRID=4674;POINT (-38.778488 -3.412861)'))) / (select extract(epoch from '2026-07-17 16:17:05'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47317, 'SRID=4674;POINT (-38.778556 -3.412984)', '2026-07-17 16:17:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778488 -3.412861)'), GeomFromEWKT('SRID=4674;POINT (-38.778556 -3.412984)'))) / (select extract(epoch from '2026-07-17 16:17:10'::timestamp) - extract(epoch from '2026-07-17 16:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778488 -3.412861)'), GeomFromEWKT('SRID=4674;POINT (-38.778556 -3.412984)'))) / (select extract(epoch from '2026-07-17 16:17:10'::timestamp) - extract(epoch from '2026-07-17 16:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.778622 -3.413144)', '2026-07-17 16:17:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778556 -3.412984)'), GeomFromEWKT('SRID=4674;POINT (-38.778622 -3.413144)'))) / (select extract(epoch from '2026-07-17 16:17:17'::timestamp) - extract(epoch from '2026-07-17 16:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778556 -3.412984)'), GeomFromEWKT('SRID=4674;POINT (-38.778622 -3.413144)'))) / (select extract(epoch from '2026-07-17 16:17:17'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47317, 'SRID=4674;POINT (-38.778652 -3.413318)', '2026-07-17 16:17:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778622 -3.413144)'), GeomFromEWKT('SRID=4674;POINT (-38.778652 -3.413318)'))) / (select extract(epoch from '2026-07-17 16:17:25'::timestamp) - extract(epoch from '2026-07-17 16:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778622 -3.413144)'), GeomFromEWKT('SRID=4674;POINT (-38.778652 -3.413318)'))) / (select extract(epoch from '2026-07-17 16:17:25'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47317, 'SRID=4674;POINT (-38.778705 -3.413443)', '2026-07-17 16:17:31', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778652 -3.413318)'), GeomFromEWKT('SRID=4674;POINT (-38.778705 -3.413443)'))) / (select extract(epoch from '2026-07-17 16:17:31'::timestamp) - extract(epoch from '2026-07-17 16:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778652 -3.413318)'), GeomFromEWKT('SRID=4674;POINT (-38.778705 -3.413443)'))) / (select extract(epoch from '2026-07-17 16:17:31'::timestamp) - extract(epoch from '2026-07-17 16:17:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.778757 -3.413587)', '2026-07-17 16:17:37', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778705 -3.413443)'), GeomFromEWKT('SRID=4674;POINT (-38.778757 -3.413587)'))) / (select extract(epoch from '2026-07-17 16:17:37'::timestamp) - extract(epoch from '2026-07-17 16:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778705 -3.413443)'), GeomFromEWKT('SRID=4674;POINT (-38.778757 -3.413587)'))) / (select extract(epoch from '2026-07-17 16:17:37'::timestamp) - extract(epoch from '2026-07-17 16:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.778796 -3.413728)', '2026-07-17 16:17:43', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778757 -3.413587)'), GeomFromEWKT('SRID=4674;POINT (-38.778796 -3.413728)'))) / (select extract(epoch from '2026-07-17 16:17:43'::timestamp) - extract(epoch from '2026-07-17 16:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778757 -3.413587)'), GeomFromEWKT('SRID=4674;POINT (-38.778796 -3.413728)'))) / (select extract(epoch from '2026-07-17 16:17:43'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.778845 -3.413875)', '2026-07-17 16:17:49', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778796 -3.413728)'), GeomFromEWKT('SRID=4674;POINT (-38.778845 -3.413875)'))) / (select extract(epoch from '2026-07-17 16:17:49'::timestamp) - extract(epoch from '2026-07-17 16:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778796 -3.413728)'), GeomFromEWKT('SRID=4674;POINT (-38.778845 -3.413875)'))) / (select extract(epoch from '2026-07-17 16:17:49'::timestamp) - extract(epoch from '2026-07-17 16:17: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'), 47317, 'SRID=4674;POINT (-38.778909 -3.41405)', '2026-07-17 16:17:56', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778845 -3.413875)'), GeomFromEWKT('SRID=4674;POINT (-38.778909 -3.41405)'))) / (select extract(epoch from '2026-07-17 16:17:56'::timestamp) - extract(epoch from '2026-07-17 16:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778845 -3.413875)'), GeomFromEWKT('SRID=4674;POINT (-38.778909 -3.41405)'))) / (select extract(epoch from '2026-07-17 16:17:56'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.77896 -3.414196)', '2026-07-17 16:18:02', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778909 -3.41405)'), GeomFromEWKT('SRID=4674;POINT (-38.77896 -3.414196)'))) / (select extract(epoch from '2026-07-17 16:18:02'::timestamp) - extract(epoch from '2026-07-17 16:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.778909 -3.41405)'), GeomFromEWKT('SRID=4674;POINT (-38.77896 -3.414196)'))) / (select extract(epoch from '2026-07-17 16:18:02'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.77901 -3.414337)', '2026-07-17 16:18:08', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77896 -3.414196)'), GeomFromEWKT('SRID=4674;POINT (-38.77901 -3.414337)'))) / (select extract(epoch from '2026-07-17 16:18:08'::timestamp) - extract(epoch from '2026-07-17 16:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77896 -3.414196)'), GeomFromEWKT('SRID=4674;POINT (-38.77901 -3.414337)'))) / (select extract(epoch from '2026-07-17 16:18:08'::timestamp) - extract(epoch from '2026-07-17 16:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.779069 -3.41451)', '2026-07-17 16:18:15', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77901 -3.414337)'), GeomFromEWKT('SRID=4674;POINT (-38.779069 -3.41451)'))) / (select extract(epoch from '2026-07-17 16:18:15'::timestamp) - extract(epoch from '2026-07-17 16:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77901 -3.414337)'), GeomFromEWKT('SRID=4674;POINT (-38.779069 -3.41451)'))) / (select extract(epoch from '2026-07-17 16:18:15'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.779107 -3.414646)', '2026-07-17 16:18:20', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779069 -3.41451)'), GeomFromEWKT('SRID=4674;POINT (-38.779107 -3.414646)'))) / (select extract(epoch from '2026-07-17 16:18:20'::timestamp) - extract(epoch from '2026-07-17 16:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779069 -3.41451)'), GeomFromEWKT('SRID=4674;POINT (-38.779107 -3.414646)'))) / (select extract(epoch from '2026-07-17 16:18:20'::timestamp) - extract(epoch from '2026-07-17 16:18: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'), 47317, 'SRID=4674;POINT (-38.779158 -3.4148)', '2026-07-17 16:18:26', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779107 -3.414646)'), GeomFromEWKT('SRID=4674;POINT (-38.779158 -3.4148)'))) / (select extract(epoch from '2026-07-17 16:18:26'::timestamp) - extract(epoch from '2026-07-17 16:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779107 -3.414646)'), GeomFromEWKT('SRID=4674;POINT (-38.779158 -3.4148)'))) / (select extract(epoch from '2026-07-17 16:18:26'::timestamp) - extract(epoch from '2026-07-17 16:18: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'), 47317, 'SRID=4674;POINT (-38.779216 -3.414975)', '2026-07-17 16:18:33', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779158 -3.4148)'), GeomFromEWKT('SRID=4674;POINT (-38.779216 -3.414975)'))) / (select extract(epoch from '2026-07-17 16:18:33'::timestamp) - extract(epoch from '2026-07-17 16:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779158 -3.4148)'), GeomFromEWKT('SRID=4674;POINT (-38.779216 -3.414975)'))) / (select extract(epoch from '2026-07-17 16:18:33'::timestamp) - extract(epoch from '2026-07-17 16:18: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'), 47317, 'SRID=4674;POINT (-38.779251 -3.41509)', '2026-07-17 16:18:38', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779216 -3.414975)'), GeomFromEWKT('SRID=4674;POINT (-38.779251 -3.41509)'))) / (select extract(epoch from '2026-07-17 16:18:38'::timestamp) - extract(epoch from '2026-07-17 16:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779216 -3.414975)'), GeomFromEWKT('SRID=4674;POINT (-38.779251 -3.41509)'))) / (select extract(epoch from '2026-07-17 16:18:38'::timestamp) - extract(epoch from '2026-07-17 16:18: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'), 47317, 'SRID=4674;POINT (-38.779317 -3.415256)', '2026-07-17 16:18:45', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779251 -3.41509)'), GeomFromEWKT('SRID=4674;POINT (-38.779317 -3.415256)'))) / (select extract(epoch from '2026-07-17 16:18:45'::timestamp) - extract(epoch from '2026-07-17 16:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779251 -3.41509)'), GeomFromEWKT('SRID=4674;POINT (-38.779317 -3.415256)'))) / (select extract(epoch from '2026-07-17 16:18:45'::timestamp) - extract(epoch from '2026-07-17 16:18: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'), 47317, 'SRID=4674;POINT (-38.779387 -3.415422)', '2026-07-17 16:18:52', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779317 -3.415256)'), GeomFromEWKT('SRID=4674;POINT (-38.779387 -3.415422)'))) / (select extract(epoch from '2026-07-17 16:18:52'::timestamp) - extract(epoch from '2026-07-17 16:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779317 -3.415256)'), GeomFromEWKT('SRID=4674;POINT (-38.779387 -3.415422)'))) / (select extract(epoch from '2026-07-17 16:18:52'::timestamp) - extract(epoch from '2026-07-17 16:18: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'), 47317, 'SRID=4674;POINT (-38.779454 -3.415594)', '2026-07-17 16:18:59', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779387 -3.415422)'), GeomFromEWKT('SRID=4674;POINT (-38.779454 -3.415594)'))) / (select extract(epoch from '2026-07-17 16:18:59'::timestamp) - extract(epoch from '2026-07-17 16:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779387 -3.415422)'), GeomFromEWKT('SRID=4674;POINT (-38.779454 -3.415594)'))) / (select extract(epoch from '2026-07-17 16:18:59'::timestamp) - extract(epoch from '2026-07-17 16:18: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'), 47317, 'SRID=4674;POINT (-38.779507 -3.415761)', '2026-07-17 16:19:06', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779454 -3.415594)'), GeomFromEWKT('SRID=4674;POINT (-38.779507 -3.415761)'))) / (select extract(epoch from '2026-07-17 16:19:06'::timestamp) - extract(epoch from '2026-07-17 16:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779454 -3.415594)'), GeomFromEWKT('SRID=4674;POINT (-38.779507 -3.415761)'))) / (select extract(epoch from '2026-07-17 16:19:06'::timestamp) - extract(epoch from '2026-07-17 16:18: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'), 47317, 'SRID=4674;POINT (-38.779551 -3.415913)', '2026-07-17 16:19:12', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779507 -3.415761)'), GeomFromEWKT('SRID=4674;POINT (-38.779551 -3.415913)'))) / (select extract(epoch from '2026-07-17 16:19:12'::timestamp) - extract(epoch from '2026-07-17 16:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779507 -3.415761)'), GeomFromEWKT('SRID=4674;POINT (-38.779551 -3.415913)'))) / (select extract(epoch from '2026-07-17 16:19:12'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47317, 'SRID=4674;POINT (-38.779601 -3.416053)', '2026-07-17 16:19:18', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779551 -3.415913)'), GeomFromEWKT('SRID=4674;POINT (-38.779601 -3.416053)'))) / (select extract(epoch from '2026-07-17 16:19:18'::timestamp) - extract(epoch from '2026-07-17 16:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779551 -3.415913)'), GeomFromEWKT('SRID=4674;POINT (-38.779601 -3.416053)'))) / (select extract(epoch from '2026-07-17 16:19:18'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47317, 'SRID=4674;POINT (-38.779678 -3.416212)', '2026-07-17 16:19:25', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779601 -3.416053)'), GeomFromEWKT('SRID=4674;POINT (-38.779678 -3.416212)'))) / (select extract(epoch from '2026-07-17 16:19:25'::timestamp) - extract(epoch from '2026-07-17 16:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779601 -3.416053)'), GeomFromEWKT('SRID=4674;POINT (-38.779678 -3.416212)'))) / (select extract(epoch from '2026-07-17 16:19:25'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47317, 'SRID=4674;POINT (-38.77971 -3.416332)', '2026-07-17 16:19:30', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779678 -3.416212)'), GeomFromEWKT('SRID=4674;POINT (-38.77971 -3.416332)'))) / (select extract(epoch from '2026-07-17 16:19:30'::timestamp) - extract(epoch from '2026-07-17 16:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779678 -3.416212)'), GeomFromEWKT('SRID=4674;POINT (-38.77971 -3.416332)'))) / (select extract(epoch from '2026-07-17 16:19:30'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47317, 'SRID=4674;POINT (-38.779756 -3.416477)', '2026-07-17 16:19:36', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77971 -3.416332)'), GeomFromEWKT('SRID=4674;POINT (-38.779756 -3.416477)'))) / (select extract(epoch from '2026-07-17 16:19:36'::timestamp) - extract(epoch from '2026-07-17 16:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.77971 -3.416332)'), GeomFromEWKT('SRID=4674;POINT (-38.779756 -3.416477)'))) / (select extract(epoch from '2026-07-17 16:19:36'::timestamp) - extract(epoch from '2026-07-17 16:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.779805 -3.416593)', '2026-07-17 16:19:41', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779756 -3.416477)'), GeomFromEWKT('SRID=4674;POINT (-38.779805 -3.416593)'))) / (select extract(epoch from '2026-07-17 16:19:41'::timestamp) - extract(epoch from '2026-07-17 16:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779756 -3.416477)'), GeomFromEWKT('SRID=4674;POINT (-38.779805 -3.416593)'))) / (select extract(epoch from '2026-07-17 16:19:41'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47317, 'SRID=4674;POINT (-38.779903 -3.416765)', '2026-07-17 16:19:48', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779805 -3.416593)'), GeomFromEWKT('SRID=4674;POINT (-38.779903 -3.416765)'))) / (select extract(epoch from '2026-07-17 16:19:48'::timestamp) - extract(epoch from '2026-07-17 16:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779805 -3.416593)'), GeomFromEWKT('SRID=4674;POINT (-38.779903 -3.416765)'))) / (select extract(epoch from '2026-07-17 16:19:48'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47317, 'SRID=4674;POINT (-38.779918 -3.416791)', '2026-07-17 16:19:49', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779903 -3.416765)'), GeomFromEWKT('SRID=4674;POINT (-38.779918 -3.416791)'))) / (select extract(epoch from '2026-07-17 16:19:49'::timestamp) - extract(epoch from '2026-07-17 16:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779903 -3.416765)'), GeomFromEWKT('SRID=4674;POINT (-38.779918 -3.416791)'))) / (select extract(epoch from '2026-07-17 16:19:49'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47317, 'SRID=4674;POINT (-38.779992 -3.416934)', '2026-07-17 16:19:54', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779918 -3.416791)'), GeomFromEWKT('SRID=4674;POINT (-38.779992 -3.416934)'))) / (select extract(epoch from '2026-07-17 16:19:54'::timestamp) - extract(epoch from '2026-07-17 16:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779918 -3.416791)'), GeomFromEWKT('SRID=4674;POINT (-38.779992 -3.416934)'))) / (select extract(epoch from '2026-07-17 16:19:54'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47317, 'SRID=4674;POINT (-38.780075 -3.417105)', '2026-07-17 16:20:01', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779992 -3.416934)'), GeomFromEWKT('SRID=4674;POINT (-38.780075 -3.417105)'))) / (select extract(epoch from '2026-07-17 16:20:01'::timestamp) - extract(epoch from '2026-07-17 16:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.779992 -3.416934)'), GeomFromEWKT('SRID=4674;POINT (-38.780075 -3.417105)'))) / (select extract(epoch from '2026-07-17 16:20:01'::timestamp) - extract(epoch from '2026-07-17 16:19: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'), 47317, 'SRID=4674;POINT (-38.780087 -3.417132)', '2026-07-17 16:20:02', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780075 -3.417105)'), GeomFromEWKT('SRID=4674;POINT (-38.780087 -3.417132)'))) / (select extract(epoch from '2026-07-17 16:20:02'::timestamp) - extract(epoch from '2026-07-17 16:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780075 -3.417105)'), GeomFromEWKT('SRID=4674;POINT (-38.780087 -3.417132)'))) / (select extract(epoch from '2026-07-17 16:20:02'::timestamp) - extract(epoch from '2026-07-17 16:20: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'), 47317, 'SRID=4674;POINT (-38.780121 -3.417249)', '2026-07-17 16:20:07', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780087 -3.417132)'), GeomFromEWKT('SRID=4674;POINT (-38.780121 -3.417249)'))) / (select extract(epoch from '2026-07-17 16:20:07'::timestamp) - extract(epoch from '2026-07-17 16:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780087 -3.417132)'), GeomFromEWKT('SRID=4674;POINT (-38.780121 -3.417249)'))) / (select extract(epoch from '2026-07-17 16:20:07'::timestamp) - extract(epoch from '2026-07-17 16:20: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'), 47317, 'SRID=4674;POINT (-38.780178 -3.417383)', '2026-07-17 16:20:13', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780121 -3.417249)'), GeomFromEWKT('SRID=4674;POINT (-38.780178 -3.417383)'))) / (select extract(epoch from '2026-07-17 16:20:13'::timestamp) - extract(epoch from '2026-07-17 16:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780121 -3.417249)'), GeomFromEWKT('SRID=4674;POINT (-38.780178 -3.417383)'))) / (select extract(epoch from '2026-07-17 16:20:13'::timestamp) - extract(epoch from '2026-07-17 16:20: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'), 47317, 'SRID=4674;POINT (-38.780217 -3.417513)', '2026-07-17 16:20:18', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780178 -3.417383)'), GeomFromEWKT('SRID=4674;POINT (-38.780217 -3.417513)'))) / (select extract(epoch from '2026-07-17 16:20:18'::timestamp) - extract(epoch from '2026-07-17 16:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780178 -3.417383)'), GeomFromEWKT('SRID=4674;POINT (-38.780217 -3.417513)'))) / (select extract(epoch from '2026-07-17 16:20:18'::timestamp) - extract(epoch from '2026-07-17 16:20: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'), 47317, 'SRID=4674;POINT (-38.780244 -3.417659)', '2026-07-17 16:20:24', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780217 -3.417513)'), GeomFromEWKT('SRID=4674;POINT (-38.780244 -3.417659)'))) / (select extract(epoch from '2026-07-17 16:20:24'::timestamp) - extract(epoch from '2026-07-17 16:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780217 -3.417513)'), GeomFromEWKT('SRID=4674;POINT (-38.780244 -3.417659)'))) / (select extract(epoch from '2026-07-17 16:20:24'::timestamp) - extract(epoch from '2026-07-17 16:20: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'), 47317, 'SRID=4674;POINT (-38.780283 -3.41778)', '2026-07-17 16:20:29', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780244 -3.417659)'), GeomFromEWKT('SRID=4674;POINT (-38.780283 -3.41778)'))) / (select extract(epoch from '2026-07-17 16:20:29'::timestamp) - extract(epoch from '2026-07-17 16:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780244 -3.417659)'), GeomFromEWKT('SRID=4674;POINT (-38.780283 -3.41778)'))) / (select extract(epoch from '2026-07-17 16:20:29'::timestamp) - extract(epoch from '2026-07-17 16:20: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'), 47317, 'SRID=4674;POINT (-38.780349 -3.417909)', '2026-07-17 16:20:34', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780283 -3.41778)'), GeomFromEWKT('SRID=4674;POINT (-38.780349 -3.417909)'))) / (select extract(epoch from '2026-07-17 16:20:34'::timestamp) - extract(epoch from '2026-07-17 16:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780283 -3.41778)'), GeomFromEWKT('SRID=4674;POINT (-38.780349 -3.417909)'))) / (select extract(epoch from '2026-07-17 16:20:34'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.780407 -3.418034)', '2026-07-17 16:20:39', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780349 -3.417909)'), GeomFromEWKT('SRID=4674;POINT (-38.780407 -3.418034)'))) / (select extract(epoch from '2026-07-17 16:20:39'::timestamp) - extract(epoch from '2026-07-17 16:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780349 -3.417909)'), GeomFromEWKT('SRID=4674;POINT (-38.780407 -3.418034)'))) / (select extract(epoch from '2026-07-17 16:20:39'::timestamp) - extract(epoch from '2026-07-17 16:20: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'), 47317, 'SRID=4674;POINT (-38.780455 -3.418176)', '2026-07-17 16:20:45', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780407 -3.418034)'), GeomFromEWKT('SRID=4674;POINT (-38.780455 -3.418176)'))) / (select extract(epoch from '2026-07-17 16:20:45'::timestamp) - extract(epoch from '2026-07-17 16:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780407 -3.418034)'), GeomFromEWKT('SRID=4674;POINT (-38.780455 -3.418176)'))) / (select extract(epoch from '2026-07-17 16:20:45'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.780523 -3.418349)', '2026-07-17 16:20:52', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780455 -3.418176)'), GeomFromEWKT('SRID=4674;POINT (-38.780523 -3.418349)'))) / (select extract(epoch from '2026-07-17 16:20:52'::timestamp) - extract(epoch from '2026-07-17 16:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780455 -3.418176)'), GeomFromEWKT('SRID=4674;POINT (-38.780523 -3.418349)'))) / (select extract(epoch from '2026-07-17 16:20:52'::timestamp) - extract(epoch from '2026-07-17 16:20: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'), 47317, 'SRID=4674;POINT (-38.780595 -3.418485)', '2026-07-17 16:20:58', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780523 -3.418349)'), GeomFromEWKT('SRID=4674;POINT (-38.780595 -3.418485)'))) / (select extract(epoch from '2026-07-17 16:20:58'::timestamp) - extract(epoch from '2026-07-17 16:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780523 -3.418349)'), GeomFromEWKT('SRID=4674;POINT (-38.780595 -3.418485)'))) / (select extract(epoch from '2026-07-17 16:20:58'::timestamp) - extract(epoch from '2026-07-17 16:20: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'), 47317, 'SRID=4674;POINT (-38.78067 -3.418667)', '2026-07-17 16:21:05', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780595 -3.418485)'), GeomFromEWKT('SRID=4674;POINT (-38.78067 -3.418667)'))) / (select extract(epoch from '2026-07-17 16:21:05'::timestamp) - extract(epoch from '2026-07-17 16:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780595 -3.418485)'), GeomFromEWKT('SRID=4674;POINT (-38.78067 -3.418667)'))) / (select extract(epoch from '2026-07-17 16:21:05'::timestamp) - extract(epoch from '2026-07-17 16:20: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'), 47317, 'SRID=4674;POINT (-38.780733 -3.41882)', '2026-07-17 16:21:11', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78067 -3.418667)'), GeomFromEWKT('SRID=4674;POINT (-38.780733 -3.41882)'))) / (select extract(epoch from '2026-07-17 16:21:11'::timestamp) - extract(epoch from '2026-07-17 16:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78067 -3.418667)'), GeomFromEWKT('SRID=4674;POINT (-38.780733 -3.41882)'))) / (select extract(epoch from '2026-07-17 16:21:11'::timestamp) - extract(epoch from '2026-07-17 16:21: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'), 47317, 'SRID=4674;POINT (-38.780782 -3.418939)', '2026-07-17 16:21:16', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780733 -3.41882)'), GeomFromEWKT('SRID=4674;POINT (-38.780782 -3.418939)'))) / (select extract(epoch from '2026-07-17 16:21:16'::timestamp) - extract(epoch from '2026-07-17 16:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780733 -3.41882)'), GeomFromEWKT('SRID=4674;POINT (-38.780782 -3.418939)'))) / (select extract(epoch from '2026-07-17 16:21:16'::timestamp) - extract(epoch from '2026-07-17 16:21: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'), 47317, 'SRID=4674;POINT (-38.780863 -3.419095)', '2026-07-17 16:21:23', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780782 -3.418939)'), GeomFromEWKT('SRID=4674;POINT (-38.780863 -3.419095)'))) / (select extract(epoch from '2026-07-17 16:21:23'::timestamp) - extract(epoch from '2026-07-17 16:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780782 -3.418939)'), GeomFromEWKT('SRID=4674;POINT (-38.780863 -3.419095)'))) / (select extract(epoch from '2026-07-17 16:21:23'::timestamp) - extract(epoch from '2026-07-17 16:21: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'), 47317, 'SRID=4674;POINT (-38.780921 -3.419226)', '2026-07-17 16:21:29', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780863 -3.419095)'), GeomFromEWKT('SRID=4674;POINT (-38.780921 -3.419226)'))) / (select extract(epoch from '2026-07-17 16:21:29'::timestamp) - extract(epoch from '2026-07-17 16:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780863 -3.419095)'), GeomFromEWKT('SRID=4674;POINT (-38.780921 -3.419226)'))) / (select extract(epoch from '2026-07-17 16:21:29'::timestamp) - extract(epoch from '2026-07-17 16:21: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'), 47317, 'SRID=4674;POINT (-38.780979 -3.419393)', '2026-07-17 16:21:36', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780921 -3.419226)'), GeomFromEWKT('SRID=4674;POINT (-38.780979 -3.419393)'))) / (select extract(epoch from '2026-07-17 16:21:36'::timestamp) - extract(epoch from '2026-07-17 16:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780921 -3.419226)'), GeomFromEWKT('SRID=4674;POINT (-38.780979 -3.419393)'))) / (select extract(epoch from '2026-07-17 16:21:36'::timestamp) - extract(epoch from '2026-07-17 16:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.781027 -3.419522)', '2026-07-17 16:21:42', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780979 -3.419393)'), GeomFromEWKT('SRID=4674;POINT (-38.781027 -3.419522)'))) / (select extract(epoch from '2026-07-17 16:21:42'::timestamp) - extract(epoch from '2026-07-17 16:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.780979 -3.419393)'), GeomFromEWKT('SRID=4674;POINT (-38.781027 -3.419522)'))) / (select extract(epoch from '2026-07-17 16:21:42'::timestamp) - extract(epoch from '2026-07-17 16:21: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'), 47317, 'SRID=4674;POINT (-38.781066 -3.419661)', '2026-07-17 16:21:48', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781027 -3.419522)'), GeomFromEWKT('SRID=4674;POINT (-38.781066 -3.419661)'))) / (select extract(epoch from '2026-07-17 16:21:48'::timestamp) - extract(epoch from '2026-07-17 16:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781027 -3.419522)'), GeomFromEWKT('SRID=4674;POINT (-38.781066 -3.419661)'))) / (select extract(epoch from '2026-07-17 16:21:48'::timestamp) - extract(epoch from '2026-07-17 16:21: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'), 47317, 'SRID=4674;POINT (-38.781106 -3.419784)', '2026-07-17 16:21:53', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781066 -3.419661)'), GeomFromEWKT('SRID=4674;POINT (-38.781106 -3.419784)'))) / (select extract(epoch from '2026-07-17 16:21:53'::timestamp) - extract(epoch from '2026-07-17 16:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781066 -3.419661)'), GeomFromEWKT('SRID=4674;POINT (-38.781106 -3.419784)'))) / (select extract(epoch from '2026-07-17 16:21:53'::timestamp) - extract(epoch from '2026-07-17 16:21: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'), 47317, 'SRID=4674;POINT (-38.781157 -3.419929)', '2026-07-17 16:21:59', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781106 -3.419784)'), GeomFromEWKT('SRID=4674;POINT (-38.781157 -3.419929)'))) / (select extract(epoch from '2026-07-17 16:21:59'::timestamp) - extract(epoch from '2026-07-17 16:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781106 -3.419784)'), GeomFromEWKT('SRID=4674;POINT (-38.781157 -3.419929)'))) / (select extract(epoch from '2026-07-17 16:21:59'::timestamp) - extract(epoch from '2026-07-17 16:21: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'), 47317, 'SRID=4674;POINT (-38.781206 -3.420079)', '2026-07-17 16:22:05', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781157 -3.419929)'), GeomFromEWKT('SRID=4674;POINT (-38.781206 -3.420079)'))) / (select extract(epoch from '2026-07-17 16:22:05'::timestamp) - extract(epoch from '2026-07-17 16:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781157 -3.419929)'), GeomFromEWKT('SRID=4674;POINT (-38.781206 -3.420079)'))) / (select extract(epoch from '2026-07-17 16:22:05'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.781282 -3.420257)', '2026-07-17 16:22:12', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781206 -3.420079)'), GeomFromEWKT('SRID=4674;POINT (-38.781282 -3.420257)'))) / (select extract(epoch from '2026-07-17 16:22:12'::timestamp) - extract(epoch from '2026-07-17 16:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781206 -3.420079)'), GeomFromEWKT('SRID=4674;POINT (-38.781282 -3.420257)'))) / (select extract(epoch from '2026-07-17 16:22:12'::timestamp) - extract(epoch from '2026-07-17 16:22: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'), 47317, 'SRID=4674;POINT (-38.781293 -3.42028)', '2026-07-17 16:22:13', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781282 -3.420257)'), GeomFromEWKT('SRID=4674;POINT (-38.781293 -3.42028)'))) / (select extract(epoch from '2026-07-17 16:22:13'::timestamp) - extract(epoch from '2026-07-17 16:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781282 -3.420257)'), GeomFromEWKT('SRID=4674;POINT (-38.781293 -3.42028)'))) / (select extract(epoch from '2026-07-17 16:22:13'::timestamp) - extract(epoch from '2026-07-17 16:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.781359 -3.420451)', '2026-07-17 16:22:20', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781293 -3.42028)'), GeomFromEWKT('SRID=4674;POINT (-38.781359 -3.420451)'))) / (select extract(epoch from '2026-07-17 16:22:20'::timestamp) - extract(epoch from '2026-07-17 16:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781293 -3.42028)'), GeomFromEWKT('SRID=4674;POINT (-38.781359 -3.420451)'))) / (select extract(epoch from '2026-07-17 16:22:20'::timestamp) - extract(epoch from '2026-07-17 16:22: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'), 47317, 'SRID=4674;POINT (-38.781417 -3.420612)', '2026-07-17 16:22:27', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781359 -3.420451)'), GeomFromEWKT('SRID=4674;POINT (-38.781417 -3.420612)'))) / (select extract(epoch from '2026-07-17 16:22:27'::timestamp) - extract(epoch from '2026-07-17 16:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781359 -3.420451)'), GeomFromEWKT('SRID=4674;POINT (-38.781417 -3.420612)'))) / (select extract(epoch from '2026-07-17 16:22:27'::timestamp) - extract(epoch from '2026-07-17 16:22: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'), 47317, 'SRID=4674;POINT (-38.781478 -3.420752)', '2026-07-17 16:22:33', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781417 -3.420612)'), GeomFromEWKT('SRID=4674;POINT (-38.781478 -3.420752)'))) / (select extract(epoch from '2026-07-17 16:22:33'::timestamp) - extract(epoch from '2026-07-17 16:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781417 -3.420612)'), GeomFromEWKT('SRID=4674;POINT (-38.781478 -3.420752)'))) / (select extract(epoch from '2026-07-17 16:22:33'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.781536 -3.420923)', '2026-07-17 16:22:40', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781478 -3.420752)'), GeomFromEWKT('SRID=4674;POINT (-38.781536 -3.420923)'))) / (select extract(epoch from '2026-07-17 16:22:40'::timestamp) - extract(epoch from '2026-07-17 16:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781478 -3.420752)'), GeomFromEWKT('SRID=4674;POINT (-38.781536 -3.420923)'))) / (select extract(epoch from '2026-07-17 16:22:40'::timestamp) - extract(epoch from '2026-07-17 16:22: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'), 47317, 'SRID=4674;POINT (-38.781589 -3.421094)', '2026-07-17 16:22:47', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781536 -3.420923)'), GeomFromEWKT('SRID=4674;POINT (-38.781589 -3.421094)'))) / (select extract(epoch from '2026-07-17 16:22:47'::timestamp) - extract(epoch from '2026-07-17 16:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781536 -3.420923)'), GeomFromEWKT('SRID=4674;POINT (-38.781589 -3.421094)'))) / (select extract(epoch from '2026-07-17 16:22:47'::timestamp) - extract(epoch from '2026-07-17 16:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.781631 -3.421233)', '2026-07-17 16:22:53', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781589 -3.421094)'), GeomFromEWKT('SRID=4674;POINT (-38.781631 -3.421233)'))) / (select extract(epoch from '2026-07-17 16:22:53'::timestamp) - extract(epoch from '2026-07-17 16:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781589 -3.421094)'), GeomFromEWKT('SRID=4674;POINT (-38.781631 -3.421233)'))) / (select extract(epoch from '2026-07-17 16:22:53'::timestamp) - extract(epoch from '2026-07-17 16:22: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'), 47317, 'SRID=4674;POINT (-38.781689 -3.421381)', '2026-07-17 16:22:59', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781631 -3.421233)'), GeomFromEWKT('SRID=4674;POINT (-38.781689 -3.421381)'))) / (select extract(epoch from '2026-07-17 16:22:59'::timestamp) - extract(epoch from '2026-07-17 16:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781631 -3.421233)'), GeomFromEWKT('SRID=4674;POINT (-38.781689 -3.421381)'))) / (select extract(epoch from '2026-07-17 16:22:59'::timestamp) - extract(epoch from '2026-07-17 16:22: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'), 47317, 'SRID=4674;POINT (-38.781749 -3.421548)', '2026-07-17 16:23:06', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781689 -3.421381)'), GeomFromEWKT('SRID=4674;POINT (-38.781749 -3.421548)'))) / (select extract(epoch from '2026-07-17 16:23:06'::timestamp) - extract(epoch from '2026-07-17 16:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781689 -3.421381)'), GeomFromEWKT('SRID=4674;POINT (-38.781749 -3.421548)'))) / (select extract(epoch from '2026-07-17 16:23:06'::timestamp) - extract(epoch from '2026-07-17 16:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.781813 -3.421693)', '2026-07-17 16:23:12', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781749 -3.421548)'), GeomFromEWKT('SRID=4674;POINT (-38.781813 -3.421693)'))) / (select extract(epoch from '2026-07-17 16:23:12'::timestamp) - extract(epoch from '2026-07-17 16:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781749 -3.421548)'), GeomFromEWKT('SRID=4674;POINT (-38.781813 -3.421693)'))) / (select extract(epoch from '2026-07-17 16:23:12'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.781876 -3.42186)', '2026-07-17 16:23:19', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781813 -3.421693)'), GeomFromEWKT('SRID=4674;POINT (-38.781876 -3.42186)'))) / (select extract(epoch from '2026-07-17 16:23:19'::timestamp) - extract(epoch from '2026-07-17 16:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781813 -3.421693)'), GeomFromEWKT('SRID=4674;POINT (-38.781876 -3.42186)'))) / (select extract(epoch from '2026-07-17 16:23:19'::timestamp) - extract(epoch from '2026-07-17 16:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.781929 -3.421973)', '2026-07-17 16:23:24', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781876 -3.42186)'), GeomFromEWKT('SRID=4674;POINT (-38.781929 -3.421973)'))) / (select extract(epoch from '2026-07-17 16:23:24'::timestamp) - extract(epoch from '2026-07-17 16:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781876 -3.42186)'), GeomFromEWKT('SRID=4674;POINT (-38.781929 -3.421973)'))) / (select extract(epoch from '2026-07-17 16:23:24'::timestamp) - extract(epoch from '2026-07-17 16:23: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'), 47317, 'SRID=4674;POINT (-38.78202 -3.422135)', '2026-07-17 16:23:31', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781929 -3.421973)'), GeomFromEWKT('SRID=4674;POINT (-38.78202 -3.422135)'))) / (select extract(epoch from '2026-07-17 16:23:31'::timestamp) - extract(epoch from '2026-07-17 16:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.781929 -3.421973)'), GeomFromEWKT('SRID=4674;POINT (-38.78202 -3.422135)'))) / (select extract(epoch from '2026-07-17 16:23:31'::timestamp) - extract(epoch from '2026-07-17 16:23: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'), 47317, 'SRID=4674;POINT (-38.78204 -3.422184)', '2026-07-17 16:23:33', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78202 -3.422135)'), GeomFromEWKT('SRID=4674;POINT (-38.78204 -3.422184)'))) / (select extract(epoch from '2026-07-17 16:23:33'::timestamp) - extract(epoch from '2026-07-17 16:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78202 -3.422135)'), GeomFromEWKT('SRID=4674;POINT (-38.78204 -3.422184)'))) / (select extract(epoch from '2026-07-17 16:23:33'::timestamp) - extract(epoch from '2026-07-17 16:23: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'), 47317, 'SRID=4674;POINT (-38.782133 -3.422344)', '2026-07-17 16:23:40', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78204 -3.422184)'), GeomFromEWKT('SRID=4674;POINT (-38.782133 -3.422344)'))) / (select extract(epoch from '2026-07-17 16:23:40'::timestamp) - extract(epoch from '2026-07-17 16:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78204 -3.422184)'), GeomFromEWKT('SRID=4674;POINT (-38.782133 -3.422344)'))) / (select extract(epoch from '2026-07-17 16:23:40'::timestamp) - extract(epoch from '2026-07-17 16:23: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'), 47317, 'SRID=4674;POINT (-38.782204 -3.422483)', '2026-07-17 16:23:46', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782133 -3.422344)'), GeomFromEWKT('SRID=4674;POINT (-38.782204 -3.422483)'))) / (select extract(epoch from '2026-07-17 16:23:46'::timestamp) - extract(epoch from '2026-07-17 16:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782133 -3.422344)'), GeomFromEWKT('SRID=4674;POINT (-38.782204 -3.422483)'))) / (select extract(epoch from '2026-07-17 16:23:46'::timestamp) - extract(epoch from '2026-07-17 16:23: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'), 47317, 'SRID=4674;POINT (-38.782284 -3.422606)', '2026-07-17 16:23:52', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782204 -3.422483)'), GeomFromEWKT('SRID=4674;POINT (-38.782284 -3.422606)'))) / (select extract(epoch from '2026-07-17 16:23:52'::timestamp) - extract(epoch from '2026-07-17 16:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782204 -3.422483)'), GeomFromEWKT('SRID=4674;POINT (-38.782284 -3.422606)'))) / (select extract(epoch from '2026-07-17 16:23:52'::timestamp) - extract(epoch from '2026-07-17 16:23: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'), 47317, 'SRID=4674;POINT (-38.782358 -3.42274)', '2026-07-17 16:23:58', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782284 -3.422606)'), GeomFromEWKT('SRID=4674;POINT (-38.782358 -3.42274)'))) / (select extract(epoch from '2026-07-17 16:23:58'::timestamp) - extract(epoch from '2026-07-17 16:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782284 -3.422606)'), GeomFromEWKT('SRID=4674;POINT (-38.782358 -3.42274)'))) / (select extract(epoch from '2026-07-17 16:23:58'::timestamp) - extract(epoch from '2026-07-17 16:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.782439 -3.422873)', '2026-07-17 16:24:04', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782358 -3.42274)'), GeomFromEWKT('SRID=4674;POINT (-38.782439 -3.422873)'))) / (select extract(epoch from '2026-07-17 16:24:04'::timestamp) - extract(epoch from '2026-07-17 16:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782358 -3.42274)'), GeomFromEWKT('SRID=4674;POINT (-38.782439 -3.422873)'))) / (select extract(epoch from '2026-07-17 16:24:04'::timestamp) - extract(epoch from '2026-07-17 16:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.782488 -3.423017)', '2026-07-17 16:24:10', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782439 -3.422873)'), GeomFromEWKT('SRID=4674;POINT (-38.782488 -3.423017)'))) / (select extract(epoch from '2026-07-17 16:24:10'::timestamp) - extract(epoch from '2026-07-17 16:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782439 -3.422873)'), GeomFromEWKT('SRID=4674;POINT (-38.782488 -3.423017)'))) / (select extract(epoch from '2026-07-17 16:24:10'::timestamp) - extract(epoch from '2026-07-17 16:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.782539 -3.423147)', '2026-07-17 16:24:15', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782488 -3.423017)'), GeomFromEWKT('SRID=4674;POINT (-38.782539 -3.423147)'))) / (select extract(epoch from '2026-07-17 16:24:15'::timestamp) - extract(epoch from '2026-07-17 16:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782488 -3.423017)'), GeomFromEWKT('SRID=4674;POINT (-38.782539 -3.423147)'))) / (select extract(epoch from '2026-07-17 16:24:15'::timestamp) - extract(epoch from '2026-07-17 16:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.782592 -3.42327)', '2026-07-17 16:24:20', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782539 -3.423147)'), GeomFromEWKT('SRID=4674;POINT (-38.782592 -3.42327)'))) / (select extract(epoch from '2026-07-17 16:24:20'::timestamp) - extract(epoch from '2026-07-17 16:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782539 -3.423147)'), GeomFromEWKT('SRID=4674;POINT (-38.782592 -3.42327)'))) / (select extract(epoch from '2026-07-17 16:24:20'::timestamp) - extract(epoch from '2026-07-17 16:24:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.782635 -3.423443)', '2026-07-17 16:24:27', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782592 -3.42327)'), GeomFromEWKT('SRID=4674;POINT (-38.782635 -3.423443)'))) / (select extract(epoch from '2026-07-17 16:24:27'::timestamp) - extract(epoch from '2026-07-17 16:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782592 -3.42327)'), GeomFromEWKT('SRID=4674;POINT (-38.782635 -3.423443)'))) / (select extract(epoch from '2026-07-17 16:24:27'::timestamp) - extract(epoch from '2026-07-17 16:24: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'), 47317, 'SRID=4674;POINT (-38.782678 -3.423597)', '2026-07-17 16:24:33', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782635 -3.423443)'), GeomFromEWKT('SRID=4674;POINT (-38.782678 -3.423597)'))) / (select extract(epoch from '2026-07-17 16:24:33'::timestamp) - extract(epoch from '2026-07-17 16:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782635 -3.423443)'), GeomFromEWKT('SRID=4674;POINT (-38.782678 -3.423597)'))) / (select extract(epoch from '2026-07-17 16:24:33'::timestamp) - extract(epoch from '2026-07-17 16:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.782711 -3.423711)', '2026-07-17 16:24:38', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782678 -3.423597)'), GeomFromEWKT('SRID=4674;POINT (-38.782711 -3.423711)'))) / (select extract(epoch from '2026-07-17 16:24:38'::timestamp) - extract(epoch from '2026-07-17 16:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782678 -3.423597)'), GeomFromEWKT('SRID=4674;POINT (-38.782711 -3.423711)'))) / (select extract(epoch from '2026-07-17 16:24:38'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.782764 -3.423856)', '2026-07-17 16:24:44', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782711 -3.423711)'), GeomFromEWKT('SRID=4674;POINT (-38.782764 -3.423856)'))) / (select extract(epoch from '2026-07-17 16:24:44'::timestamp) - extract(epoch from '2026-07-17 16:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782711 -3.423711)'), GeomFromEWKT('SRID=4674;POINT (-38.782764 -3.423856)'))) / (select extract(epoch from '2026-07-17 16:24:44'::timestamp) - extract(epoch from '2026-07-17 16:24: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'), 47317, 'SRID=4674;POINT (-38.782837 -3.424024)', '2026-07-17 16:24:51', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782764 -3.423856)'), GeomFromEWKT('SRID=4674;POINT (-38.782837 -3.424024)'))) / (select extract(epoch from '2026-07-17 16:24:51'::timestamp) - extract(epoch from '2026-07-17 16:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782764 -3.423856)'), GeomFromEWKT('SRID=4674;POINT (-38.782837 -3.424024)'))) / (select extract(epoch from '2026-07-17 16:24:51'::timestamp) - extract(epoch from '2026-07-17 16:24: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'), 47317, 'SRID=4674;POINT (-38.782894 -3.42419)', '2026-07-17 16:24:58', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782837 -3.424024)'), GeomFromEWKT('SRID=4674;POINT (-38.782894 -3.42419)'))) / (select extract(epoch from '2026-07-17 16:24:58'::timestamp) - extract(epoch from '2026-07-17 16:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782837 -3.424024)'), GeomFromEWKT('SRID=4674;POINT (-38.782894 -3.42419)'))) / (select extract(epoch from '2026-07-17 16:24:58'::timestamp) - extract(epoch from '2026-07-17 16:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.782974 -3.424333)', '2026-07-17 16:25:04', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782894 -3.42419)'), GeomFromEWKT('SRID=4674;POINT (-38.782974 -3.424333)'))) / (select extract(epoch from '2026-07-17 16:25:04'::timestamp) - extract(epoch from '2026-07-17 16:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782894 -3.42419)'), GeomFromEWKT('SRID=4674;POINT (-38.782974 -3.424333)'))) / (select extract(epoch from '2026-07-17 16:25:04'::timestamp) - extract(epoch from '2026-07-17 16:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.783044 -3.4245)', '2026-07-17 16:25:11', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782974 -3.424333)'), GeomFromEWKT('SRID=4674;POINT (-38.783044 -3.4245)'))) / (select extract(epoch from '2026-07-17 16:25:11'::timestamp) - extract(epoch from '2026-07-17 16:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.782974 -3.424333)'), GeomFromEWKT('SRID=4674;POINT (-38.783044 -3.4245)'))) / (select extract(epoch from '2026-07-17 16:25:11'::timestamp) - extract(epoch from '2026-07-17 16:25: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'), 47317, 'SRID=4674;POINT (-38.783098 -3.424643)', '2026-07-17 16:25:17', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783044 -3.4245)'), GeomFromEWKT('SRID=4674;POINT (-38.783098 -3.424643)'))) / (select extract(epoch from '2026-07-17 16:25:17'::timestamp) - extract(epoch from '2026-07-17 16:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783044 -3.4245)'), GeomFromEWKT('SRID=4674;POINT (-38.783098 -3.424643)'))) / (select extract(epoch from '2026-07-17 16:25:17'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.783163 -3.424819)', '2026-07-17 16:25:24', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783098 -3.424643)'), GeomFromEWKT('SRID=4674;POINT (-38.783163 -3.424819)'))) / (select extract(epoch from '2026-07-17 16:25:24'::timestamp) - extract(epoch from '2026-07-17 16:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783098 -3.424643)'), GeomFromEWKT('SRID=4674;POINT (-38.783163 -3.424819)'))) / (select extract(epoch from '2026-07-17 16:25:24'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.78317 -3.424842)', '2026-07-17 16:25:25', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783163 -3.424819)'), GeomFromEWKT('SRID=4674;POINT (-38.78317 -3.424842)'))) / (select extract(epoch from '2026-07-17 16:25:25'::timestamp) - extract(epoch from '2026-07-17 16:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783163 -3.424819)'), GeomFromEWKT('SRID=4674;POINT (-38.78317 -3.424842)'))) / (select extract(epoch from '2026-07-17 16:25:25'::timestamp) - extract(epoch from '2026-07-17 16:25: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'), 47317, 'SRID=4674;POINT (-38.783227 -3.42499)', '2026-07-17 16:25:31', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78317 -3.424842)'), GeomFromEWKT('SRID=4674;POINT (-38.783227 -3.42499)'))) / (select extract(epoch from '2026-07-17 16:25:31'::timestamp) - extract(epoch from '2026-07-17 16:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78317 -3.424842)'), GeomFromEWKT('SRID=4674;POINT (-38.783227 -3.42499)'))) / (select extract(epoch from '2026-07-17 16:25:31'::timestamp) - extract(epoch from '2026-07-17 16:25: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'), 47317, 'SRID=4674;POINT (-38.78327 -3.425103)', '2026-07-17 16:25:36', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783227 -3.42499)'), GeomFromEWKT('SRID=4674;POINT (-38.78327 -3.425103)'))) / (select extract(epoch from '2026-07-17 16:25:36'::timestamp) - extract(epoch from '2026-07-17 16:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783227 -3.42499)'), GeomFromEWKT('SRID=4674;POINT (-38.78327 -3.425103)'))) / (select extract(epoch from '2026-07-17 16:25:36'::timestamp) - extract(epoch from '2026-07-17 16:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.783331 -3.425236)', '2026-07-17 16:25:42', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78327 -3.425103)'), GeomFromEWKT('SRID=4674;POINT (-38.783331 -3.425236)'))) / (select extract(epoch from '2026-07-17 16:25:42'::timestamp) - extract(epoch from '2026-07-17 16:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78327 -3.425103)'), GeomFromEWKT('SRID=4674;POINT (-38.783331 -3.425236)'))) / (select extract(epoch from '2026-07-17 16:25:42'::timestamp) - extract(epoch from '2026-07-17 16:25:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.7834 -3.425372)', '2026-07-17 16:25:48', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783331 -3.425236)'), GeomFromEWKT('SRID=4674;POINT (-38.7834 -3.425372)'))) / (select extract(epoch from '2026-07-17 16:25:48'::timestamp) - extract(epoch from '2026-07-17 16:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783331 -3.425236)'), GeomFromEWKT('SRID=4674;POINT (-38.7834 -3.425372)'))) / (select extract(epoch from '2026-07-17 16:25:48'::timestamp) - extract(epoch from '2026-07-17 16:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.783442 -3.425491)', '2026-07-17 16:25:53', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7834 -3.425372)'), GeomFromEWKT('SRID=4674;POINT (-38.783442 -3.425491)'))) / (select extract(epoch from '2026-07-17 16:25:53'::timestamp) - extract(epoch from '2026-07-17 16:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7834 -3.425372)'), GeomFromEWKT('SRID=4674;POINT (-38.783442 -3.425491)'))) / (select extract(epoch from '2026-07-17 16:25:53'::timestamp) - extract(epoch from '2026-07-17 16:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.783501 -3.425628)', '2026-07-17 16:25:59', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783442 -3.425491)'), GeomFromEWKT('SRID=4674;POINT (-38.783501 -3.425628)'))) / (select extract(epoch from '2026-07-17 16:25:59'::timestamp) - extract(epoch from '2026-07-17 16:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783442 -3.425491)'), GeomFromEWKT('SRID=4674;POINT (-38.783501 -3.425628)'))) / (select extract(epoch from '2026-07-17 16:25:59'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.783553 -3.42574)', '2026-07-17 16:26:04', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783501 -3.425628)'), GeomFromEWKT('SRID=4674;POINT (-38.783553 -3.42574)'))) / (select extract(epoch from '2026-07-17 16:26:04'::timestamp) - extract(epoch from '2026-07-17 16:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783501 -3.425628)'), GeomFromEWKT('SRID=4674;POINT (-38.783553 -3.42574)'))) / (select extract(epoch from '2026-07-17 16:26:04'::timestamp) - extract(epoch from '2026-07-17 16:25: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'), 47317, 'SRID=4674;POINT (-38.78363 -3.425872)', '2026-07-17 16:26:10', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783553 -3.42574)'), GeomFromEWKT('SRID=4674;POINT (-38.78363 -3.425872)'))) / (select extract(epoch from '2026-07-17 16:26:10'::timestamp) - extract(epoch from '2026-07-17 16:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783553 -3.42574)'), GeomFromEWKT('SRID=4674;POINT (-38.78363 -3.425872)'))) / (select extract(epoch from '2026-07-17 16:26:10'::timestamp) - extract(epoch from '2026-07-17 16:26: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'), 47317, 'SRID=4674;POINT (-38.78368 -3.425985)', '2026-07-17 16:26:15', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78363 -3.425872)'), GeomFromEWKT('SRID=4674;POINT (-38.78368 -3.425985)'))) / (select extract(epoch from '2026-07-17 16:26:15'::timestamp) - extract(epoch from '2026-07-17 16:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78363 -3.425872)'), GeomFromEWKT('SRID=4674;POINT (-38.78368 -3.425985)'))) / (select extract(epoch from '2026-07-17 16:26:15'::timestamp) - extract(epoch from '2026-07-17 16:26: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'), 47317, 'SRID=4674;POINT (-38.783738 -3.426122)', '2026-07-17 16:26:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78368 -3.425985)'), GeomFromEWKT('SRID=4674;POINT (-38.783738 -3.426122)'))) / (select extract(epoch from '2026-07-17 16:26:21'::timestamp) - extract(epoch from '2026-07-17 16:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78368 -3.425985)'), GeomFromEWKT('SRID=4674;POINT (-38.783738 -3.426122)'))) / (select extract(epoch from '2026-07-17 16:26:21'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.783828 -3.426289)', '2026-07-17 16:26:28', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783738 -3.426122)'), GeomFromEWKT('SRID=4674;POINT (-38.783828 -3.426289)'))) / (select extract(epoch from '2026-07-17 16:26:28'::timestamp) - extract(epoch from '2026-07-17 16:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783738 -3.426122)'), GeomFromEWKT('SRID=4674;POINT (-38.783828 -3.426289)'))) / (select extract(epoch from '2026-07-17 16:26:28'::timestamp) - extract(epoch from '2026-07-17 16:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.78389 -3.426431)', '2026-07-17 16:26:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783828 -3.426289)'), GeomFromEWKT('SRID=4674;POINT (-38.78389 -3.426431)'))) / (select extract(epoch from '2026-07-17 16:26:34'::timestamp) - extract(epoch from '2026-07-17 16:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783828 -3.426289)'), GeomFromEWKT('SRID=4674;POINT (-38.78389 -3.426431)'))) / (select extract(epoch from '2026-07-17 16:26:34'::timestamp) - extract(epoch from '2026-07-17 16:26: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'), 47317, 'SRID=4674;POINT (-38.783949 -3.426556)', '2026-07-17 16:26:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78389 -3.426431)'), GeomFromEWKT('SRID=4674;POINT (-38.783949 -3.426556)'))) / (select extract(epoch from '2026-07-17 16:26:39'::timestamp) - extract(epoch from '2026-07-17 16:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78389 -3.426431)'), GeomFromEWKT('SRID=4674;POINT (-38.783949 -3.426556)'))) / (select extract(epoch from '2026-07-17 16:26:39'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.78402 -3.426727)', '2026-07-17 16:26:46', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783949 -3.426556)'), GeomFromEWKT('SRID=4674;POINT (-38.78402 -3.426727)'))) / (select extract(epoch from '2026-07-17 16:26:46'::timestamp) - extract(epoch from '2026-07-17 16:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.783949 -3.426556)'), GeomFromEWKT('SRID=4674;POINT (-38.78402 -3.426727)'))) / (select extract(epoch from '2026-07-17 16:26:46'::timestamp) - extract(epoch from '2026-07-17 16:26: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'), 47317, 'SRID=4674;POINT (-38.784071 -3.426885)', '2026-07-17 16:26:52', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78402 -3.426727)'), GeomFromEWKT('SRID=4674;POINT (-38.784071 -3.426885)'))) / (select extract(epoch from '2026-07-17 16:26:52'::timestamp) - extract(epoch from '2026-07-17 16:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78402 -3.426727)'), GeomFromEWKT('SRID=4674;POINT (-38.784071 -3.426885)'))) / (select extract(epoch from '2026-07-17 16:26:52'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.78415 -3.427068)', '2026-07-17 16:27:00', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784071 -3.426885)'), GeomFromEWKT('SRID=4674;POINT (-38.78415 -3.427068)'))) / (select extract(epoch from '2026-07-17 16:27:00'::timestamp) - extract(epoch from '2026-07-17 16:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784071 -3.426885)'), GeomFromEWKT('SRID=4674;POINT (-38.78415 -3.427068)'))) / (select extract(epoch from '2026-07-17 16:27:00'::timestamp) - extract(epoch from '2026-07-17 16:26: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'), 47317, 'SRID=4674;POINT (-38.784222 -3.427202)', '2026-07-17 16:27:06', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78415 -3.427068)'), GeomFromEWKT('SRID=4674;POINT (-38.784222 -3.427202)'))) / (select extract(epoch from '2026-07-17 16:27:06'::timestamp) - extract(epoch from '2026-07-17 16:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78415 -3.427068)'), GeomFromEWKT('SRID=4674;POINT (-38.784222 -3.427202)'))) / (select extract(epoch from '2026-07-17 16:27:06'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.784318 -3.427328)', '2026-07-17 16:27:12', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784222 -3.427202)'), GeomFromEWKT('SRID=4674;POINT (-38.784318 -3.427328)'))) / (select extract(epoch from '2026-07-17 16:27:12'::timestamp) - extract(epoch from '2026-07-17 16:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784222 -3.427202)'), GeomFromEWKT('SRID=4674;POINT (-38.784318 -3.427328)'))) / (select extract(epoch from '2026-07-17 16:27:12'::timestamp) - extract(epoch from '2026-07-17 16:27: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'), 47317, 'SRID=4674;POINT (-38.7844 -3.42746)', '2026-07-17 16:27:18', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784318 -3.427328)'), GeomFromEWKT('SRID=4674;POINT (-38.7844 -3.42746)'))) / (select extract(epoch from '2026-07-17 16:27:18'::timestamp) - extract(epoch from '2026-07-17 16:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784318 -3.427328)'), GeomFromEWKT('SRID=4674;POINT (-38.7844 -3.42746)'))) / (select extract(epoch from '2026-07-17 16:27:18'::timestamp) - extract(epoch from '2026-07-17 16:27:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.784474 -3.427587)', '2026-07-17 16:27:24', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7844 -3.42746)'), GeomFromEWKT('SRID=4674;POINT (-38.784474 -3.427587)'))) / (select extract(epoch from '2026-07-17 16:27:24'::timestamp) - extract(epoch from '2026-07-17 16:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7844 -3.42746)'), GeomFromEWKT('SRID=4674;POINT (-38.784474 -3.427587)'))) / (select extract(epoch from '2026-07-17 16:27:24'::timestamp) - extract(epoch from '2026-07-17 16:27: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'), 47317, 'SRID=4674;POINT (-38.784541 -3.427711)', '2026-07-17 16:27:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784474 -3.427587)'), GeomFromEWKT('SRID=4674;POINT (-38.784541 -3.427711)'))) / (select extract(epoch from '2026-07-17 16:27:30'::timestamp) - extract(epoch from '2026-07-17 16:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784474 -3.427587)'), GeomFromEWKT('SRID=4674;POINT (-38.784541 -3.427711)'))) / (select extract(epoch from '2026-07-17 16:27:30'::timestamp) - extract(epoch from '2026-07-17 16:27: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'), 47317, 'SRID=4674;POINT (-38.784621 -3.427888)', '2026-07-17 16:27:38', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784541 -3.427711)'), GeomFromEWKT('SRID=4674;POINT (-38.784621 -3.427888)'))) / (select extract(epoch from '2026-07-17 16:27:38'::timestamp) - extract(epoch from '2026-07-17 16:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784541 -3.427711)'), GeomFromEWKT('SRID=4674;POINT (-38.784621 -3.427888)'))) / (select extract(epoch from '2026-07-17 16:27:38'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.784721 -3.42801)', '2026-07-17 16:27:44', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784621 -3.427888)'), GeomFromEWKT('SRID=4674;POINT (-38.784721 -3.42801)'))) / (select extract(epoch from '2026-07-17 16:27:44'::timestamp) - extract(epoch from '2026-07-17 16:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784621 -3.427888)'), GeomFromEWKT('SRID=4674;POINT (-38.784721 -3.42801)'))) / (select extract(epoch from '2026-07-17 16:27:44'::timestamp) - extract(epoch from '2026-07-17 16:27: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'), 47317, 'SRID=4674;POINT (-38.78485 -3.428134)', '2026-07-17 16:27:50', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784721 -3.42801)'), GeomFromEWKT('SRID=4674;POINT (-38.78485 -3.428134)'))) / (select extract(epoch from '2026-07-17 16:27:50'::timestamp) - extract(epoch from '2026-07-17 16:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784721 -3.42801)'), GeomFromEWKT('SRID=4674;POINT (-38.78485 -3.428134)'))) / (select extract(epoch from '2026-07-17 16:27:50'::timestamp) - extract(epoch from '2026-07-17 16:27:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.784945 -3.428281)', '2026-07-17 16:27:57', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78485 -3.428134)'), GeomFromEWKT('SRID=4674;POINT (-38.784945 -3.428281)'))) / (select extract(epoch from '2026-07-17 16:27:57'::timestamp) - extract(epoch from '2026-07-17 16:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78485 -3.428134)'), GeomFromEWKT('SRID=4674;POINT (-38.784945 -3.428281)'))) / (select extract(epoch from '2026-07-17 16:27:57'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.785027 -3.428448)', '2026-07-17 16:28:04', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784945 -3.428281)'), GeomFromEWKT('SRID=4674;POINT (-38.785027 -3.428448)'))) / (select extract(epoch from '2026-07-17 16:28:04'::timestamp) - extract(epoch from '2026-07-17 16:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.784945 -3.428281)'), GeomFromEWKT('SRID=4674;POINT (-38.785027 -3.428448)'))) / (select extract(epoch from '2026-07-17 16:28:04'::timestamp) - extract(epoch from '2026-07-17 16:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.785086 -3.428581)', '2026-07-17 16:28:10', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785027 -3.428448)'), GeomFromEWKT('SRID=4674;POINT (-38.785086 -3.428581)'))) / (select extract(epoch from '2026-07-17 16:28:10'::timestamp) - extract(epoch from '2026-07-17 16:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785027 -3.428448)'), GeomFromEWKT('SRID=4674;POINT (-38.785086 -3.428581)'))) / (select extract(epoch from '2026-07-17 16:28:10'::timestamp) - extract(epoch from '2026-07-17 16:28: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'), 47317, 'SRID=4674;POINT (-38.785161 -3.428747)', '2026-07-17 16:28:17', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785086 -3.428581)'), GeomFromEWKT('SRID=4674;POINT (-38.785161 -3.428747)'))) / (select extract(epoch from '2026-07-17 16:28:17'::timestamp) - extract(epoch from '2026-07-17 16:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785086 -3.428581)'), GeomFromEWKT('SRID=4674;POINT (-38.785161 -3.428747)'))) / (select extract(epoch from '2026-07-17 16:28:17'::timestamp) - extract(epoch from '2026-07-17 16:28: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'), 47317, 'SRID=4674;POINT (-38.785232 -3.428905)', '2026-07-17 16:28:24', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785161 -3.428747)'), GeomFromEWKT('SRID=4674;POINT (-38.785232 -3.428905)'))) / (select extract(epoch from '2026-07-17 16:28:24'::timestamp) - extract(epoch from '2026-07-17 16:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785161 -3.428747)'), GeomFromEWKT('SRID=4674;POINT (-38.785232 -3.428905)'))) / (select extract(epoch from '2026-07-17 16:28:24'::timestamp) - extract(epoch from '2026-07-17 16:28: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'), 47317, 'SRID=4674;POINT (-38.7853 -3.429072)', '2026-07-17 16:28:31', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785232 -3.428905)'), GeomFromEWKT('SRID=4674;POINT (-38.7853 -3.429072)'))) / (select extract(epoch from '2026-07-17 16:28:31'::timestamp) - extract(epoch from '2026-07-17 16:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785232 -3.428905)'), GeomFromEWKT('SRID=4674;POINT (-38.7853 -3.429072)'))) / (select extract(epoch from '2026-07-17 16:28:31'::timestamp) - extract(epoch from '2026-07-17 16:28: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'), 47317, 'SRID=4674;POINT (-38.785365 -3.429221)', '2026-07-17 16:28:38', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7853 -3.429072)'), GeomFromEWKT('SRID=4674;POINT (-38.785365 -3.429221)'))) / (select extract(epoch from '2026-07-17 16:28:38'::timestamp) - extract(epoch from '2026-07-17 16:28:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.7853 -3.429072)'), GeomFromEWKT('SRID=4674;POINT (-38.785365 -3.429221)'))) / (select extract(epoch from '2026-07-17 16:28:38'::timestamp) - extract(epoch from '2026-07-17 16:28: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'), 47317, 'SRID=4674;POINT (-38.78544 -3.429368)', '2026-07-17 16:28:45', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785365 -3.429221)'), GeomFromEWKT('SRID=4674;POINT (-38.78544 -3.429368)'))) / (select extract(epoch from '2026-07-17 16:28:45'::timestamp) - extract(epoch from '2026-07-17 16:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785365 -3.429221)'), GeomFromEWKT('SRID=4674;POINT (-38.78544 -3.429368)'))) / (select extract(epoch from '2026-07-17 16:28:45'::timestamp) - extract(epoch from '2026-07-17 16:28: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'), 47317, 'SRID=4674;POINT (-38.785505 -3.429538)', '2026-07-17 16:28:52', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78544 -3.429368)'), GeomFromEWKT('SRID=4674;POINT (-38.785505 -3.429538)'))) / (select extract(epoch from '2026-07-17 16:28:52'::timestamp) - extract(epoch from '2026-07-17 16:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78544 -3.429368)'), GeomFromEWKT('SRID=4674;POINT (-38.785505 -3.429538)'))) / (select extract(epoch from '2026-07-17 16:28:52'::timestamp) - extract(epoch from '2026-07-17 16:28:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.785578 -3.429711)', '2026-07-17 16:28:59', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785505 -3.429538)'), GeomFromEWKT('SRID=4674;POINT (-38.785578 -3.429711)'))) / (select extract(epoch from '2026-07-17 16:28:59'::timestamp) - extract(epoch from '2026-07-17 16:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785505 -3.429538)'), GeomFromEWKT('SRID=4674;POINT (-38.785578 -3.429711)'))) / (select extract(epoch from '2026-07-17 16:28:59'::timestamp) - extract(epoch from '2026-07-17 16:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.785594 -3.429737)', '2026-07-17 16:29:00', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785578 -3.429711)'), GeomFromEWKT('SRID=4674;POINT (-38.785594 -3.429737)'))) / (select extract(epoch from '2026-07-17 16:29:00'::timestamp) - extract(epoch from '2026-07-17 16:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785578 -3.429711)'), GeomFromEWKT('SRID=4674;POINT (-38.785594 -3.429737)'))) / (select extract(epoch from '2026-07-17 16:29:00'::timestamp) - extract(epoch from '2026-07-17 16:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.78569 -3.429902)', '2026-07-17 16:29:07', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785594 -3.429737)'), GeomFromEWKT('SRID=4674;POINT (-38.78569 -3.429902)'))) / (select extract(epoch from '2026-07-17 16:29:07'::timestamp) - extract(epoch from '2026-07-17 16:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785594 -3.429737)'), GeomFromEWKT('SRID=4674;POINT (-38.78569 -3.429902)'))) / (select extract(epoch from '2026-07-17 16:29:07'::timestamp) - extract(epoch from '2026-07-17 16:29: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'), 47317, 'SRID=4674;POINT (-38.785779 -3.430066)', '2026-07-17 16:29:14', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78569 -3.429902)'), GeomFromEWKT('SRID=4674;POINT (-38.785779 -3.430066)'))) / (select extract(epoch from '2026-07-17 16:29:14'::timestamp) - extract(epoch from '2026-07-17 16:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78569 -3.429902)'), GeomFromEWKT('SRID=4674;POINT (-38.785779 -3.430066)'))) / (select extract(epoch from '2026-07-17 16:29:14'::timestamp) - extract(epoch from '2026-07-17 16:29: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'), 47317, 'SRID=4674;POINT (-38.785855 -3.430227)', '2026-07-17 16:29:21', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785779 -3.430066)'), GeomFromEWKT('SRID=4674;POINT (-38.785855 -3.430227)'))) / (select extract(epoch from '2026-07-17 16:29:21'::timestamp) - extract(epoch from '2026-07-17 16:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785779 -3.430066)'), GeomFromEWKT('SRID=4674;POINT (-38.785855 -3.430227)'))) / (select extract(epoch from '2026-07-17 16:29:21'::timestamp) - extract(epoch from '2026-07-17 16:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.785922 -3.43036)', '2026-07-17 16:29:27', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785855 -3.430227)'), GeomFromEWKT('SRID=4674;POINT (-38.785922 -3.43036)'))) / (select extract(epoch from '2026-07-17 16:29:27'::timestamp) - extract(epoch from '2026-07-17 16:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785855 -3.430227)'), GeomFromEWKT('SRID=4674;POINT (-38.785922 -3.43036)'))) / (select extract(epoch from '2026-07-17 16:29:27'::timestamp) - extract(epoch from '2026-07-17 16:29: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'), 47317, 'SRID=4674;POINT (-38.785978 -3.430513)', '2026-07-17 16:29:34', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785922 -3.43036)'), GeomFromEWKT('SRID=4674;POINT (-38.785978 -3.430513)'))) / (select extract(epoch from '2026-07-17 16:29:34'::timestamp) - extract(epoch from '2026-07-17 16:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785922 -3.43036)'), GeomFromEWKT('SRID=4674;POINT (-38.785978 -3.430513)'))) / (select extract(epoch from '2026-07-17 16:29:34'::timestamp) - extract(epoch from '2026-07-17 16:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.786029 -3.430656)', '2026-07-17 16:29:40', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785978 -3.430513)'), GeomFromEWKT('SRID=4674;POINT (-38.786029 -3.430656)'))) / (select extract(epoch from '2026-07-17 16:29:40'::timestamp) - extract(epoch from '2026-07-17 16:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.785978 -3.430513)'), GeomFromEWKT('SRID=4674;POINT (-38.786029 -3.430656)'))) / (select extract(epoch from '2026-07-17 16:29:40'::timestamp) - extract(epoch from '2026-07-17 16:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.786105 -3.43082)', '2026-07-17 16:29:47', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786029 -3.430656)'), GeomFromEWKT('SRID=4674;POINT (-38.786105 -3.43082)'))) / (select extract(epoch from '2026-07-17 16:29:47'::timestamp) - extract(epoch from '2026-07-17 16:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786029 -3.430656)'), GeomFromEWKT('SRID=4674;POINT (-38.786105 -3.43082)'))) / (select extract(epoch from '2026-07-17 16:29:47'::timestamp) - extract(epoch from '2026-07-17 16:29: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'), 47317, 'SRID=4674;POINT (-38.786178 -3.430997)', '2026-07-17 16:29:54', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786105 -3.43082)'), GeomFromEWKT('SRID=4674;POINT (-38.786178 -3.430997)'))) / (select extract(epoch from '2026-07-17 16:29:54'::timestamp) - extract(epoch from '2026-07-17 16:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786105 -3.43082)'), GeomFromEWKT('SRID=4674;POINT (-38.786178 -3.430997)'))) / (select extract(epoch from '2026-07-17 16:29:54'::timestamp) - extract(epoch from '2026-07-17 16:29: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'), 47317, 'SRID=4674;POINT (-38.78619 -3.43102)', '2026-07-17 16:29:55', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786178 -3.430997)'), GeomFromEWKT('SRID=4674;POINT (-38.78619 -3.43102)'))) / (select extract(epoch from '2026-07-17 16:29:55'::timestamp) - extract(epoch from '2026-07-17 16:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786178 -3.430997)'), GeomFromEWKT('SRID=4674;POINT (-38.78619 -3.43102)'))) / (select extract(epoch from '2026-07-17 16:29:55'::timestamp) - extract(epoch from '2026-07-17 16:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.786251 -3.431168)', '2026-07-17 16:30:01', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78619 -3.43102)'), GeomFromEWKT('SRID=4674;POINT (-38.786251 -3.431168)'))) / (select extract(epoch from '2026-07-17 16:30:01'::timestamp) - extract(epoch from '2026-07-17 16:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78619 -3.43102)'), GeomFromEWKT('SRID=4674;POINT (-38.786251 -3.431168)'))) / (select extract(epoch from '2026-07-17 16:30:01'::timestamp) - extract(epoch from '2026-07-17 16:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.786318 -3.43131)', '2026-07-17 16:30:07', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786251 -3.431168)'), GeomFromEWKT('SRID=4674;POINT (-38.786318 -3.43131)'))) / (select extract(epoch from '2026-07-17 16:30:07'::timestamp) - extract(epoch from '2026-07-17 16:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786251 -3.431168)'), GeomFromEWKT('SRID=4674;POINT (-38.786318 -3.43131)'))) / (select extract(epoch from '2026-07-17 16:30:07'::timestamp) - extract(epoch from '2026-07-17 16:30: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'), 47317, 'SRID=4674;POINT (-38.786357 -3.431428)', '2026-07-17 16:30:12', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786318 -3.43131)'), GeomFromEWKT('SRID=4674;POINT (-38.786357 -3.431428)'))) / (select extract(epoch from '2026-07-17 16:30:12'::timestamp) - extract(epoch from '2026-07-17 16:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786318 -3.43131)'), GeomFromEWKT('SRID=4674;POINT (-38.786357 -3.431428)'))) / (select extract(epoch from '2026-07-17 16:30:12'::timestamp) - extract(epoch from '2026-07-17 16:30: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'), 47317, 'SRID=4674;POINT (-38.786406 -3.431563)', '2026-07-17 16:30:18', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786357 -3.431428)'), GeomFromEWKT('SRID=4674;POINT (-38.786406 -3.431563)'))) / (select extract(epoch from '2026-07-17 16:30:18'::timestamp) - extract(epoch from '2026-07-17 16:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786357 -3.431428)'), GeomFromEWKT('SRID=4674;POINT (-38.786406 -3.431563)'))) / (select extract(epoch from '2026-07-17 16:30:18'::timestamp) - extract(epoch from '2026-07-17 16:30: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'), 47317, 'SRID=4674;POINT (-38.786467 -3.431739)', '2026-07-17 16:30:25', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786406 -3.431563)'), GeomFromEWKT('SRID=4674;POINT (-38.786467 -3.431739)'))) / (select extract(epoch from '2026-07-17 16:30:25'::timestamp) - extract(epoch from '2026-07-17 16:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786406 -3.431563)'), GeomFromEWKT('SRID=4674;POINT (-38.786467 -3.431739)'))) / (select extract(epoch from '2026-07-17 16:30:25'::timestamp) - extract(epoch from '2026-07-17 16:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.786519 -3.431885)', '2026-07-17 16:30:31', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786467 -3.431739)'), GeomFromEWKT('SRID=4674;POINT (-38.786519 -3.431885)'))) / (select extract(epoch from '2026-07-17 16:30:31'::timestamp) - extract(epoch from '2026-07-17 16:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786467 -3.431739)'), GeomFromEWKT('SRID=4674;POINT (-38.786519 -3.431885)'))) / (select extract(epoch from '2026-07-17 16:30:31'::timestamp) - extract(epoch from '2026-07-17 16:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.786608 -3.432005)', '2026-07-17 16:30:37', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786519 -3.431885)'), GeomFromEWKT('SRID=4674;POINT (-38.786608 -3.432005)'))) / (select extract(epoch from '2026-07-17 16:30:37'::timestamp) - extract(epoch from '2026-07-17 16:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786519 -3.431885)'), GeomFromEWKT('SRID=4674;POINT (-38.786608 -3.432005)'))) / (select extract(epoch from '2026-07-17 16:30:37'::timestamp) - extract(epoch from '2026-07-17 16:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.786678 -3.432123)', '2026-07-17 16:30:42', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786608 -3.432005)'), GeomFromEWKT('SRID=4674;POINT (-38.786678 -3.432123)'))) / (select extract(epoch from '2026-07-17 16:30:42'::timestamp) - extract(epoch from '2026-07-17 16:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786608 -3.432005)'), GeomFromEWKT('SRID=4674;POINT (-38.786678 -3.432123)'))) / (select extract(epoch from '2026-07-17 16:30:42'::timestamp) - extract(epoch from '2026-07-17 16:30: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'), 47317, 'SRID=4674;POINT (-38.786723 -3.432261)', '2026-07-17 16:30:48', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786678 -3.432123)'), GeomFromEWKT('SRID=4674;POINT (-38.786723 -3.432261)'))) / (select extract(epoch from '2026-07-17 16:30:48'::timestamp) - extract(epoch from '2026-07-17 16:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786678 -3.432123)'), GeomFromEWKT('SRID=4674;POINT (-38.786723 -3.432261)'))) / (select extract(epoch from '2026-07-17 16:30:48'::timestamp) - extract(epoch from '2026-07-17 16:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.786833 -3.432435)', '2026-07-17 16:30:56', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786723 -3.432261)'), GeomFromEWKT('SRID=4674;POINT (-38.786833 -3.432435)'))) / (select extract(epoch from '2026-07-17 16:30:56'::timestamp) - extract(epoch from '2026-07-17 16:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786723 -3.432261)'), GeomFromEWKT('SRID=4674;POINT (-38.786833 -3.432435)'))) / (select extract(epoch from '2026-07-17 16:30:56'::timestamp) - extract(epoch from '2026-07-17 16:30: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'), 47317, 'SRID=4674;POINT (-38.786881 -3.432551)', '2026-07-17 16:31:01', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786833 -3.432435)'), GeomFromEWKT('SRID=4674;POINT (-38.786881 -3.432551)'))) / (select extract(epoch from '2026-07-17 16:31:01'::timestamp) - extract(epoch from '2026-07-17 16:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786833 -3.432435)'), GeomFromEWKT('SRID=4674;POINT (-38.786881 -3.432551)'))) / (select extract(epoch from '2026-07-17 16:31:01'::timestamp) - extract(epoch from '2026-07-17 16:30:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.786919 -3.43266)', '2026-07-17 16:31:06', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786881 -3.432551)'), GeomFromEWKT('SRID=4674;POINT (-38.786919 -3.43266)'))) / (select extract(epoch from '2026-07-17 16:31:06'::timestamp) - extract(epoch from '2026-07-17 16:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786881 -3.432551)'), GeomFromEWKT('SRID=4674;POINT (-38.786919 -3.43266)'))) / (select extract(epoch from '2026-07-17 16:31:06'::timestamp) - extract(epoch from '2026-07-17 16:31: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'), 47317, 'SRID=4674;POINT (-38.786965 -3.432801)', '2026-07-17 16:31:12', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786919 -3.43266)'), GeomFromEWKT('SRID=4674;POINT (-38.786965 -3.432801)'))) / (select extract(epoch from '2026-07-17 16:31:12'::timestamp) - extract(epoch from '2026-07-17 16:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786919 -3.43266)'), GeomFromEWKT('SRID=4674;POINT (-38.786965 -3.432801)'))) / (select extract(epoch from '2026-07-17 16:31:12'::timestamp) - extract(epoch from '2026-07-17 16:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.787011 -3.432926)', '2026-07-17 16:31:17', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786965 -3.432801)'), GeomFromEWKT('SRID=4674;POINT (-38.787011 -3.432926)'))) / (select extract(epoch from '2026-07-17 16:31:17'::timestamp) - extract(epoch from '2026-07-17 16:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.786965 -3.432801)'), GeomFromEWKT('SRID=4674;POINT (-38.787011 -3.432926)'))) / (select extract(epoch from '2026-07-17 16:31:17'::timestamp) - extract(epoch from '2026-07-17 16:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.78706 -3.433075)', '2026-07-17 16:31:23', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787011 -3.432926)'), GeomFromEWKT('SRID=4674;POINT (-38.78706 -3.433075)'))) / (select extract(epoch from '2026-07-17 16:31:23'::timestamp) - extract(epoch from '2026-07-17 16:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787011 -3.432926)'), GeomFromEWKT('SRID=4674;POINT (-38.78706 -3.433075)'))) / (select extract(epoch from '2026-07-17 16:31:23'::timestamp) - extract(epoch from '2026-07-17 16:31: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'), 47317, 'SRID=4674;POINT (-38.787108 -3.433222)', '2026-07-17 16:31:29', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78706 -3.433075)'), GeomFromEWKT('SRID=4674;POINT (-38.787108 -3.433222)'))) / (select extract(epoch from '2026-07-17 16:31:29'::timestamp) - extract(epoch from '2026-07-17 16:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78706 -3.433075)'), GeomFromEWKT('SRID=4674;POINT (-38.787108 -3.433222)'))) / (select extract(epoch from '2026-07-17 16:31:29'::timestamp) - extract(epoch from '2026-07-17 16:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.787175 -3.433383)', '2026-07-17 16:31:36', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787108 -3.433222)'), GeomFromEWKT('SRID=4674;POINT (-38.787175 -3.433383)'))) / (select extract(epoch from '2026-07-17 16:31:36'::timestamp) - extract(epoch from '2026-07-17 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787108 -3.433222)'), GeomFromEWKT('SRID=4674;POINT (-38.787175 -3.433383)'))) / (select extract(epoch from '2026-07-17 16:31:36'::timestamp) - extract(epoch from '2026-07-17 16:31:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.787226 -3.433532)', '2026-07-17 16:31:42', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787175 -3.433383)'), GeomFromEWKT('SRID=4674;POINT (-38.787226 -3.433532)'))) / (select extract(epoch from '2026-07-17 16:31:42'::timestamp) - extract(epoch from '2026-07-17 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787175 -3.433383)'), GeomFromEWKT('SRID=4674;POINT (-38.787226 -3.433532)'))) / (select extract(epoch from '2026-07-17 16:31:42'::timestamp) - extract(epoch from '2026-07-17 16:31: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'), 47317, 'SRID=4674;POINT (-38.787266 -3.433646)', '2026-07-17 16:31:47', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787226 -3.433532)'), GeomFromEWKT('SRID=4674;POINT (-38.787266 -3.433646)'))) / (select extract(epoch from '2026-07-17 16:31:47'::timestamp) - extract(epoch from '2026-07-17 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787226 -3.433532)'), GeomFromEWKT('SRID=4674;POINT (-38.787266 -3.433646)'))) / (select extract(epoch from '2026-07-17 16:31:47'::timestamp) - extract(epoch from '2026-07-17 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.787322 -3.433768)', '2026-07-17 16:31:52', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787266 -3.433646)'), GeomFromEWKT('SRID=4674;POINT (-38.787322 -3.433768)'))) / (select extract(epoch from '2026-07-17 16:31:52'::timestamp) - extract(epoch from '2026-07-17 16:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787266 -3.433646)'), GeomFromEWKT('SRID=4674;POINT (-38.787322 -3.433768)'))) / (select extract(epoch from '2026-07-17 16:31:52'::timestamp) - extract(epoch from '2026-07-17 16:31: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'), 47317, 'SRID=4674;POINT (-38.787369 -3.433889)', '2026-07-17 16:31:57', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787322 -3.433768)'), GeomFromEWKT('SRID=4674;POINT (-38.787369 -3.433889)'))) / (select extract(epoch from '2026-07-17 16:31:57'::timestamp) - extract(epoch from '2026-07-17 16:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787322 -3.433768)'), GeomFromEWKT('SRID=4674;POINT (-38.787369 -3.433889)'))) / (select extract(epoch from '2026-07-17 16:31:57'::timestamp) - extract(epoch from '2026-07-17 16:31: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'), 47317, 'SRID=4674;POINT (-38.787455 -3.434049)', '2026-07-17 16:32:04', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787369 -3.433889)'), GeomFromEWKT('SRID=4674;POINT (-38.787455 -3.434049)'))) / (select extract(epoch from '2026-07-17 16:32:04'::timestamp) - extract(epoch from '2026-07-17 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787369 -3.433889)'), GeomFromEWKT('SRID=4674;POINT (-38.787455 -3.434049)'))) / (select extract(epoch from '2026-07-17 16:32:04'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.787515 -3.434216)', '2026-07-17 16:32:11', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787455 -3.434049)'), GeomFromEWKT('SRID=4674;POINT (-38.787515 -3.434216)'))) / (select extract(epoch from '2026-07-17 16:32:11'::timestamp) - extract(epoch from '2026-07-17 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787455 -3.434049)'), GeomFromEWKT('SRID=4674;POINT (-38.787515 -3.434216)'))) / (select extract(epoch from '2026-07-17 16:32:11'::timestamp) - extract(epoch from '2026-07-17 16:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.787533 -3.43432)', '2026-07-17 16:32:16', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787515 -3.434216)'), GeomFromEWKT('SRID=4674;POINT (-38.787533 -3.43432)'))) / (select extract(epoch from '2026-07-17 16:32:16'::timestamp) - extract(epoch from '2026-07-17 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787515 -3.434216)'), GeomFromEWKT('SRID=4674;POINT (-38.787533 -3.43432)'))) / (select extract(epoch from '2026-07-17 16:32:16'::timestamp) - extract(epoch from '2026-07-17 16:32: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'), 47317, 'SRID=4674;POINT (-38.787566 -3.434474)', '2026-07-17 16:32:22', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787533 -3.43432)'), GeomFromEWKT('SRID=4674;POINT (-38.787566 -3.434474)'))) / (select extract(epoch from '2026-07-17 16:32:22'::timestamp) - extract(epoch from '2026-07-17 16:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787533 -3.43432)'), GeomFromEWKT('SRID=4674;POINT (-38.787566 -3.434474)'))) / (select extract(epoch from '2026-07-17 16:32:22'::timestamp) - extract(epoch from '2026-07-17 16:32: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'), 47317, 'SRID=4674;POINT (-38.787627 -3.434644)', '2026-07-17 16:32:29', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787566 -3.434474)'), GeomFromEWKT('SRID=4674;POINT (-38.787627 -3.434644)'))) / (select extract(epoch from '2026-07-17 16:32:29'::timestamp) - extract(epoch from '2026-07-17 16:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787566 -3.434474)'), GeomFromEWKT('SRID=4674;POINT (-38.787627 -3.434644)'))) / (select extract(epoch from '2026-07-17 16:32:29'::timestamp) - extract(epoch from '2026-07-17 16:32: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'), 47317, 'SRID=4674;POINT (-38.787688 -3.434781)', '2026-07-17 16:32:35', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787627 -3.434644)'), GeomFromEWKT('SRID=4674;POINT (-38.787688 -3.434781)'))) / (select extract(epoch from '2026-07-17 16:32:35'::timestamp) - extract(epoch from '2026-07-17 16:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787627 -3.434644)'), GeomFromEWKT('SRID=4674;POINT (-38.787688 -3.434781)'))) / (select extract(epoch from '2026-07-17 16:32:35'::timestamp) - extract(epoch from '2026-07-17 16:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.78778 -3.434961)', '2026-07-17 16:32:43', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787688 -3.434781)'), GeomFromEWKT('SRID=4674;POINT (-38.78778 -3.434961)'))) / (select extract(epoch from '2026-07-17 16:32:43'::timestamp) - extract(epoch from '2026-07-17 16:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787688 -3.434781)'), GeomFromEWKT('SRID=4674;POINT (-38.78778 -3.434961)'))) / (select extract(epoch from '2026-07-17 16:32:43'::timestamp) - extract(epoch from '2026-07-17 16:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.787852 -3.435117)', '2026-07-17 16:32:49', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78778 -3.434961)'), GeomFromEWKT('SRID=4674;POINT (-38.787852 -3.435117)'))) / (select extract(epoch from '2026-07-17 16:32:49'::timestamp) - extract(epoch from '2026-07-17 16:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78778 -3.434961)'), GeomFromEWKT('SRID=4674;POINT (-38.787852 -3.435117)'))) / (select extract(epoch from '2026-07-17 16:32:49'::timestamp) - extract(epoch from '2026-07-17 16:32: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'), 47317, 'SRID=4674;POINT (-38.787902 -3.435237)', '2026-07-17 16:32:54', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787852 -3.435117)'), GeomFromEWKT('SRID=4674;POINT (-38.787902 -3.435237)'))) / (select extract(epoch from '2026-07-17 16:32:54'::timestamp) - extract(epoch from '2026-07-17 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787852 -3.435117)'), GeomFromEWKT('SRID=4674;POINT (-38.787902 -3.435237)'))) / (select extract(epoch from '2026-07-17 16:32:54'::timestamp) - extract(epoch from '2026-07-17 16:32: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'), 47317, 'SRID=4674;POINT (-38.787975 -3.435405)', '2026-07-17 16:33:01', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787902 -3.435237)'), GeomFromEWKT('SRID=4674;POINT (-38.787975 -3.435405)'))) / (select extract(epoch from '2026-07-17 16:33:01'::timestamp) - extract(epoch from '2026-07-17 16:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787902 -3.435237)'), GeomFromEWKT('SRID=4674;POINT (-38.787975 -3.435405)'))) / (select extract(epoch from '2026-07-17 16:33:01'::timestamp) - extract(epoch from '2026-07-17 16:32: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'), 47317, 'SRID=4674;POINT (-38.788 -3.435455)', '2026-07-17 16:33:03', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787975 -3.435405)'), GeomFromEWKT('SRID=4674;POINT (-38.788 -3.435455)'))) / (select extract(epoch from '2026-07-17 16:33:03'::timestamp) - extract(epoch from '2026-07-17 16:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.787975 -3.435405)'), GeomFromEWKT('SRID=4674;POINT (-38.788 -3.435455)'))) / (select extract(epoch from '2026-07-17 16:33:03'::timestamp) - extract(epoch from '2026-07-17 16:33: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'), 47317, 'SRID=4674;POINT (-38.788039 -3.435567)', '2026-07-17 16:33:08', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788 -3.435455)'), GeomFromEWKT('SRID=4674;POINT (-38.788039 -3.435567)'))) / (select extract(epoch from '2026-07-17 16:33:08'::timestamp) - extract(epoch from '2026-07-17 16:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788 -3.435455)'), GeomFromEWKT('SRID=4674;POINT (-38.788039 -3.435567)'))) / (select extract(epoch from '2026-07-17 16:33:08'::timestamp) - extract(epoch from '2026-07-17 16:33:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.788089 -3.435705)', '2026-07-17 16:33:14', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788039 -3.435567)'), GeomFromEWKT('SRID=4674;POINT (-38.788089 -3.435705)'))) / (select extract(epoch from '2026-07-17 16:33:14'::timestamp) - extract(epoch from '2026-07-17 16:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788039 -3.435567)'), GeomFromEWKT('SRID=4674;POINT (-38.788089 -3.435705)'))) / (select extract(epoch from '2026-07-17 16:33:14'::timestamp) - extract(epoch from '2026-07-17 16:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.788141 -3.435849)', '2026-07-17 16:33:20', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788089 -3.435705)'), GeomFromEWKT('SRID=4674;POINT (-38.788141 -3.435849)'))) / (select extract(epoch from '2026-07-17 16:33:20'::timestamp) - extract(epoch from '2026-07-17 16:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788089 -3.435705)'), GeomFromEWKT('SRID=4674;POINT (-38.788141 -3.435849)'))) / (select extract(epoch from '2026-07-17 16:33:20'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.78823 -3.436032)', '2026-07-17 16:33:28', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788141 -3.435849)'), GeomFromEWKT('SRID=4674;POINT (-38.78823 -3.436032)'))) / (select extract(epoch from '2026-07-17 16:33:28'::timestamp) - extract(epoch from '2026-07-17 16:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788141 -3.435849)'), GeomFromEWKT('SRID=4674;POINT (-38.78823 -3.436032)'))) / (select extract(epoch from '2026-07-17 16:33:28'::timestamp) - extract(epoch from '2026-07-17 16:33: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'), 47317, 'SRID=4674;POINT (-38.788244 -3.436052)', '2026-07-17 16:33:29', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78823 -3.436032)'), GeomFromEWKT('SRID=4674;POINT (-38.788244 -3.436052)'))) / (select extract(epoch from '2026-07-17 16:33:29'::timestamp) - extract(epoch from '2026-07-17 16:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78823 -3.436032)'), GeomFromEWKT('SRID=4674;POINT (-38.788244 -3.436052)'))) / (select extract(epoch from '2026-07-17 16:33:29'::timestamp) - extract(epoch from '2026-07-17 16:33:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.788341 -3.43621)', '2026-07-17 16:33:36', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788244 -3.436052)'), GeomFromEWKT('SRID=4674;POINT (-38.788341 -3.43621)'))) / (select extract(epoch from '2026-07-17 16:33:36'::timestamp) - extract(epoch from '2026-07-17 16:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788244 -3.436052)'), GeomFromEWKT('SRID=4674;POINT (-38.788341 -3.43621)'))) / (select extract(epoch from '2026-07-17 16:33:36'::timestamp) - extract(epoch from '2026-07-17 16:33: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'), 47317, 'SRID=4674;POINT (-38.788358 -3.436234)', '2026-07-17 16:33:37', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788341 -3.43621)'), GeomFromEWKT('SRID=4674;POINT (-38.788358 -3.436234)'))) / (select extract(epoch from '2026-07-17 16:33:37'::timestamp) - extract(epoch from '2026-07-17 16:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788341 -3.43621)'), GeomFromEWKT('SRID=4674;POINT (-38.788358 -3.436234)'))) / (select extract(epoch from '2026-07-17 16:33:37'::timestamp) - extract(epoch from '2026-07-17 16:33:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.788396 -3.436348)', '2026-07-17 16:33:42', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788358 -3.436234)'), GeomFromEWKT('SRID=4674;POINT (-38.788396 -3.436348)'))) / (select extract(epoch from '2026-07-17 16:33:42'::timestamp) - extract(epoch from '2026-07-17 16:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788358 -3.436234)'), GeomFromEWKT('SRID=4674;POINT (-38.788396 -3.436348)'))) / (select extract(epoch from '2026-07-17 16:33:42'::timestamp) - extract(epoch from '2026-07-17 16:33: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'), 47317, 'SRID=4674;POINT (-38.788463 -3.436519)', '2026-07-17 16:33:49', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788396 -3.436348)'), GeomFromEWKT('SRID=4674;POINT (-38.788463 -3.436519)'))) / (select extract(epoch from '2026-07-17 16:33:49'::timestamp) - extract(epoch from '2026-07-17 16:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788396 -3.436348)'), GeomFromEWKT('SRID=4674;POINT (-38.788463 -3.436519)'))) / (select extract(epoch from '2026-07-17 16:33:49'::timestamp) - extract(epoch from '2026-07-17 16:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.788525 -3.436665)', '2026-07-17 16:33:55', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788463 -3.436519)'), GeomFromEWKT('SRID=4674;POINT (-38.788525 -3.436665)'))) / (select extract(epoch from '2026-07-17 16:33:55'::timestamp) - extract(epoch from '2026-07-17 16:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788463 -3.436519)'), GeomFromEWKT('SRID=4674;POINT (-38.788525 -3.436665)'))) / (select extract(epoch from '2026-07-17 16:33:55'::timestamp) - extract(epoch from '2026-07-17 16:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.788566 -3.436814)', '2026-07-17 16:34:01', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788525 -3.436665)'), GeomFromEWKT('SRID=4674;POINT (-38.788566 -3.436814)'))) / (select extract(epoch from '2026-07-17 16:34:01'::timestamp) - extract(epoch from '2026-07-17 16:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788525 -3.436665)'), GeomFromEWKT('SRID=4674;POINT (-38.788566 -3.436814)'))) / (select extract(epoch from '2026-07-17 16:34:01'::timestamp) - extract(epoch from '2026-07-17 16:33: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'), 47317, 'SRID=4674;POINT (-38.788611 -3.436938)', '2026-07-17 16:34:06', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788566 -3.436814)'), GeomFromEWKT('SRID=4674;POINT (-38.788611 -3.436938)'))) / (select extract(epoch from '2026-07-17 16:34:06'::timestamp) - extract(epoch from '2026-07-17 16:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788566 -3.436814)'), GeomFromEWKT('SRID=4674;POINT (-38.788611 -3.436938)'))) / (select extract(epoch from '2026-07-17 16:34:06'::timestamp) - extract(epoch from '2026-07-17 16:34: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'), 47317, 'SRID=4674;POINT (-38.788672 -3.437101)', '2026-07-17 16:34:13', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788611 -3.436938)'), GeomFromEWKT('SRID=4674;POINT (-38.788672 -3.437101)'))) / (select extract(epoch from '2026-07-17 16:34:13'::timestamp) - extract(epoch from '2026-07-17 16:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788611 -3.436938)'), GeomFromEWKT('SRID=4674;POINT (-38.788672 -3.437101)'))) / (select extract(epoch from '2026-07-17 16:34:13'::timestamp) - extract(epoch from '2026-07-17 16:34: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'), 47317, 'SRID=4674;POINT (-38.788688 -3.437195)', '2026-07-17 16:34:17', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788672 -3.437101)'), GeomFromEWKT('SRID=4674;POINT (-38.788688 -3.437195)'))) / (select extract(epoch from '2026-07-17 16:34:17'::timestamp) - extract(epoch from '2026-07-17 16:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788672 -3.437101)'), GeomFromEWKT('SRID=4674;POINT (-38.788688 -3.437195)'))) / (select extract(epoch from '2026-07-17 16:34:17'::timestamp) - extract(epoch from '2026-07-17 16:34: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'), 47317, 'SRID=4674;POINT (-38.788701 -3.437219)', '2026-07-17 16:34:18', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788688 -3.437195)'), GeomFromEWKT('SRID=4674;POINT (-38.788701 -3.437219)'))) / (select extract(epoch from '2026-07-17 16:34:18'::timestamp) - extract(epoch from '2026-07-17 16:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788688 -3.437195)'), GeomFromEWKT('SRID=4674;POINT (-38.788701 -3.437219)'))) / (select extract(epoch from '2026-07-17 16:34:18'::timestamp) - extract(epoch from '2026-07-17 16:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.788745 -3.437343)', '2026-07-17 16:34:23', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788701 -3.437219)'), GeomFromEWKT('SRID=4674;POINT (-38.788745 -3.437343)'))) / (select extract(epoch from '2026-07-17 16:34:23'::timestamp) - extract(epoch from '2026-07-17 16:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788701 -3.437219)'), GeomFromEWKT('SRID=4674;POINT (-38.788745 -3.437343)'))) / (select extract(epoch from '2026-07-17 16:34:23'::timestamp) - extract(epoch from '2026-07-17 16:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.788792 -3.437506)', '2026-07-17 16:34:29', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788745 -3.437343)'), GeomFromEWKT('SRID=4674;POINT (-38.788792 -3.437506)'))) / (select extract(epoch from '2026-07-17 16:34:29'::timestamp) - extract(epoch from '2026-07-17 16:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788745 -3.437343)'), GeomFromEWKT('SRID=4674;POINT (-38.788792 -3.437506)'))) / (select extract(epoch from '2026-07-17 16:34:29'::timestamp) - extract(epoch from '2026-07-17 16:34: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'), 47317, 'SRID=4674;POINT (-38.788809 -3.437647)', '2026-07-17 16:34:35', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788792 -3.437506)'), GeomFromEWKT('SRID=4674;POINT (-38.788809 -3.437647)'))) / (select extract(epoch from '2026-07-17 16:34:35'::timestamp) - extract(epoch from '2026-07-17 16:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788792 -3.437506)'), GeomFromEWKT('SRID=4674;POINT (-38.788809 -3.437647)'))) / (select extract(epoch from '2026-07-17 16:34:35'::timestamp) - extract(epoch from '2026-07-17 16:34: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'), 47317, 'SRID=4674;POINT (-38.788842 -3.437789)', '2026-07-17 16:34:41', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788809 -3.437647)'), GeomFromEWKT('SRID=4674;POINT (-38.788842 -3.437789)'))) / (select extract(epoch from '2026-07-17 16:34:41'::timestamp) - extract(epoch from '2026-07-17 16:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788809 -3.437647)'), GeomFromEWKT('SRID=4674;POINT (-38.788842 -3.437789)'))) / (select extract(epoch from '2026-07-17 16:34:41'::timestamp) - extract(epoch from '2026-07-17 16:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.788875 -3.437928)', '2026-07-17 16:34:47', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788842 -3.437789)'), GeomFromEWKT('SRID=4674;POINT (-38.788875 -3.437928)'))) / (select extract(epoch from '2026-07-17 16:34:47'::timestamp) - extract(epoch from '2026-07-17 16:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788842 -3.437789)'), GeomFromEWKT('SRID=4674;POINT (-38.788875 -3.437928)'))) / (select extract(epoch from '2026-07-17 16:34:47'::timestamp) - extract(epoch from '2026-07-17 16:34: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'), 47317, 'SRID=4674;POINT (-38.788959 -3.438099)', '2026-07-17 16:34:54', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788875 -3.437928)'), GeomFromEWKT('SRID=4674;POINT (-38.788959 -3.438099)'))) / (select extract(epoch from '2026-07-17 16:34:54'::timestamp) - extract(epoch from '2026-07-17 16:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788875 -3.437928)'), GeomFromEWKT('SRID=4674;POINT (-38.788959 -3.438099)'))) / (select extract(epoch from '2026-07-17 16:34:54'::timestamp) - extract(epoch from '2026-07-17 16:34: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'), 47317, 'SRID=4674;POINT (-38.788973 -3.438122)', '2026-07-17 16:34:55', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788959 -3.438099)'), GeomFromEWKT('SRID=4674;POINT (-38.788973 -3.438122)'))) / (select extract(epoch from '2026-07-17 16:34:55'::timestamp) - extract(epoch from '2026-07-17 16:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788959 -3.438099)'), GeomFromEWKT('SRID=4674;POINT (-38.788973 -3.438122)'))) / (select extract(epoch from '2026-07-17 16:34:55'::timestamp) - extract(epoch from '2026-07-17 16:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.789029 -3.438273)', '2026-07-17 16:35:01', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788973 -3.438122)'), GeomFromEWKT('SRID=4674;POINT (-38.789029 -3.438273)'))) / (select extract(epoch from '2026-07-17 16:35:01'::timestamp) - extract(epoch from '2026-07-17 16:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.788973 -3.438122)'), GeomFromEWKT('SRID=4674;POINT (-38.789029 -3.438273)'))) / (select extract(epoch from '2026-07-17 16:35:01'::timestamp) - extract(epoch from '2026-07-17 16:34: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'), 47317, 'SRID=4674;POINT (-38.789082 -3.438458)', '2026-07-17 16:35:08', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789029 -3.438273)'), GeomFromEWKT('SRID=4674;POINT (-38.789082 -3.438458)'))) / (select extract(epoch from '2026-07-17 16:35:08'::timestamp) - extract(epoch from '2026-07-17 16:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789029 -3.438273)'), GeomFromEWKT('SRID=4674;POINT (-38.789082 -3.438458)'))) / (select extract(epoch from '2026-07-17 16:35:08'::timestamp) - extract(epoch from '2026-07-17 16:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.789107 -3.438571)', '2026-07-17 16:35:13', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789082 -3.438458)'), GeomFromEWKT('SRID=4674;POINT (-38.789107 -3.438571)'))) / (select extract(epoch from '2026-07-17 16:35:13'::timestamp) - extract(epoch from '2026-07-17 16:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789082 -3.438458)'), GeomFromEWKT('SRID=4674;POINT (-38.789107 -3.438571)'))) / (select extract(epoch from '2026-07-17 16:35:13'::timestamp) - extract(epoch from '2026-07-17 16:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.789125 -3.438685)', '2026-07-17 16:35:18', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789107 -3.438571)'), GeomFromEWKT('SRID=4674;POINT (-38.789125 -3.438685)'))) / (select extract(epoch from '2026-07-17 16:35:18'::timestamp) - extract(epoch from '2026-07-17 16:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789107 -3.438571)'), GeomFromEWKT('SRID=4674;POINT (-38.789125 -3.438685)'))) / (select extract(epoch from '2026-07-17 16:35:18'::timestamp) - extract(epoch from '2026-07-17 16:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.789181 -3.438882)', '2026-07-17 16:35:26', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789125 -3.438685)'), GeomFromEWKT('SRID=4674;POINT (-38.789181 -3.438882)'))) / (select extract(epoch from '2026-07-17 16:35:26'::timestamp) - extract(epoch from '2026-07-17 16:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789125 -3.438685)'), GeomFromEWKT('SRID=4674;POINT (-38.789181 -3.438882)'))) / (select extract(epoch from '2026-07-17 16:35:26'::timestamp) - extract(epoch from '2026-07-17 16:35: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'), 47317, 'SRID=4674;POINT (-38.789248 -3.439054)', '2026-07-17 16:35:33', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789181 -3.438882)'), GeomFromEWKT('SRID=4674;POINT (-38.789248 -3.439054)'))) / (select extract(epoch from '2026-07-17 16:35:33'::timestamp) - extract(epoch from '2026-07-17 16:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789181 -3.438882)'), GeomFromEWKT('SRID=4674;POINT (-38.789248 -3.439054)'))) / (select extract(epoch from '2026-07-17 16:35:33'::timestamp) - extract(epoch from '2026-07-17 16:35: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'), 47317, 'SRID=4674;POINT (-38.789273 -3.439104)', '2026-07-17 16:35:35', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789248 -3.439054)'), GeomFromEWKT('SRID=4674;POINT (-38.789273 -3.439104)'))) / (select extract(epoch from '2026-07-17 16:35:35'::timestamp) - extract(epoch from '2026-07-17 16:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789248 -3.439054)'), GeomFromEWKT('SRID=4674;POINT (-38.789273 -3.439104)'))) / (select extract(epoch from '2026-07-17 16:35:35'::timestamp) - extract(epoch from '2026-07-17 16:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.789313 -3.43922)', '2026-07-17 16:35:40', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789273 -3.439104)'), GeomFromEWKT('SRID=4674;POINT (-38.789313 -3.43922)'))) / (select extract(epoch from '2026-07-17 16:35:40'::timestamp) - extract(epoch from '2026-07-17 16:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789273 -3.439104)'), GeomFromEWKT('SRID=4674;POINT (-38.789313 -3.43922)'))) / (select extract(epoch from '2026-07-17 16:35:40'::timestamp) - extract(epoch from '2026-07-17 16:35: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'), 47317, 'SRID=4674;POINT (-38.789336 -3.439333)', '2026-07-17 16:35:45', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789313 -3.43922)'), GeomFromEWKT('SRID=4674;POINT (-38.789336 -3.439333)'))) / (select extract(epoch from '2026-07-17 16:35:45'::timestamp) - extract(epoch from '2026-07-17 16:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789313 -3.43922)'), GeomFromEWKT('SRID=4674;POINT (-38.789336 -3.439333)'))) / (select extract(epoch from '2026-07-17 16:35:45'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.78938 -3.439532)', '2026-07-17 16:35:53', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789336 -3.439333)'), GeomFromEWKT('SRID=4674;POINT (-38.78938 -3.439532)'))) / (select extract(epoch from '2026-07-17 16:35:53'::timestamp) - extract(epoch from '2026-07-17 16:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789336 -3.439333)'), GeomFromEWKT('SRID=4674;POINT (-38.78938 -3.439532)'))) / (select extract(epoch from '2026-07-17 16:35:53'::timestamp) - extract(epoch from '2026-07-17 16:35: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'), 47317, 'SRID=4674;POINT (-38.789417 -3.439658)', '2026-07-17 16:35:58', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78938 -3.439532)'), GeomFromEWKT('SRID=4674;POINT (-38.789417 -3.439658)'))) / (select extract(epoch from '2026-07-17 16:35:58'::timestamp) - extract(epoch from '2026-07-17 16:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78938 -3.439532)'), GeomFromEWKT('SRID=4674;POINT (-38.789417 -3.439658)'))) / (select extract(epoch from '2026-07-17 16:35:58'::timestamp) - extract(epoch from '2026-07-17 16:35:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.789455 -3.439785)', '2026-07-17 16:36:03', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789417 -3.439658)'), GeomFromEWKT('SRID=4674;POINT (-38.789455 -3.439785)'))) / (select extract(epoch from '2026-07-17 16:36:03'::timestamp) - extract(epoch from '2026-07-17 16:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789417 -3.439658)'), GeomFromEWKT('SRID=4674;POINT (-38.789455 -3.439785)'))) / (select extract(epoch from '2026-07-17 16:36:03'::timestamp) - extract(epoch from '2026-07-17 16:35: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'), 47317, 'SRID=4674;POINT (-38.789521 -3.439952)', '2026-07-17 16:36:10', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789455 -3.439785)'), GeomFromEWKT('SRID=4674;POINT (-38.789521 -3.439952)'))) / (select extract(epoch from '2026-07-17 16:36:10'::timestamp) - extract(epoch from '2026-07-17 16:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789455 -3.439785)'), GeomFromEWKT('SRID=4674;POINT (-38.789521 -3.439952)'))) / (select extract(epoch from '2026-07-17 16:36:10'::timestamp) - extract(epoch from '2026-07-17 16:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.789604 -3.440106)', '2026-07-17 16:36:17', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789521 -3.439952)'), GeomFromEWKT('SRID=4674;POINT (-38.789604 -3.440106)'))) / (select extract(epoch from '2026-07-17 16:36:17'::timestamp) - extract(epoch from '2026-07-17 16:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789521 -3.439952)'), GeomFromEWKT('SRID=4674;POINT (-38.789604 -3.440106)'))) / (select extract(epoch from '2026-07-17 16:36:17'::timestamp) - extract(epoch from '2026-07-17 16:36: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'), 47317, 'SRID=4674;POINT (-38.789685 -3.440275)', '2026-07-17 16:36:24', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789604 -3.440106)'), GeomFromEWKT('SRID=4674;POINT (-38.789685 -3.440275)'))) / (select extract(epoch from '2026-07-17 16:36:24'::timestamp) - extract(epoch from '2026-07-17 16:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789604 -3.440106)'), GeomFromEWKT('SRID=4674;POINT (-38.789685 -3.440275)'))) / (select extract(epoch from '2026-07-17 16:36:24'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.789709 -3.440319)', '2026-07-17 16:36:26', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789685 -3.440275)'), GeomFromEWKT('SRID=4674;POINT (-38.789709 -3.440319)'))) / (select extract(epoch from '2026-07-17 16:36:26'::timestamp) - extract(epoch from '2026-07-17 16:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789685 -3.440275)'), GeomFromEWKT('SRID=4674;POINT (-38.789709 -3.440319)'))) / (select extract(epoch from '2026-07-17 16:36:26'::timestamp) - extract(epoch from '2026-07-17 16:36: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'), 47317, 'SRID=4674;POINT (-38.78973 -3.440382)', '2026-07-17 16:36:29', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789709 -3.440319)'), GeomFromEWKT('SRID=4674;POINT (-38.78973 -3.440382)'))) / (select extract(epoch from '2026-07-17 16:36:29'::timestamp) - extract(epoch from '2026-07-17 16:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789709 -3.440319)'), GeomFromEWKT('SRID=4674;POINT (-38.78973 -3.440382)'))) / (select extract(epoch from '2026-07-17 16:36:29'::timestamp) - extract(epoch from '2026-07-17 16:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.789773 -3.440465)', '2026-07-17 16:36:33', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78973 -3.440382)'), GeomFromEWKT('SRID=4674;POINT (-38.789773 -3.440465)'))) / (select extract(epoch from '2026-07-17 16:36:33'::timestamp) - extract(epoch from '2026-07-17 16:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.78973 -3.440382)'), GeomFromEWKT('SRID=4674;POINT (-38.789773 -3.440465)'))) / (select extract(epoch from '2026-07-17 16:36:33'::timestamp) - extract(epoch from '2026-07-17 16:36: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'), 47317, 'SRID=4674;POINT (-38.789827 -3.440555)', '2026-07-17 16:36:37', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789773 -3.440465)'), GeomFromEWKT('SRID=4674;POINT (-38.789827 -3.440555)'))) / (select extract(epoch from '2026-07-17 16:36:37'::timestamp) - extract(epoch from '2026-07-17 16:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789773 -3.440465)'), GeomFromEWKT('SRID=4674;POINT (-38.789827 -3.440555)'))) / (select extract(epoch from '2026-07-17 16:36:37'::timestamp) - extract(epoch from '2026-07-17 16:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.789884 -3.440712)', '2026-07-17 16:36:43', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789827 -3.440555)'), GeomFromEWKT('SRID=4674;POINT (-38.789884 -3.440712)'))) / (select extract(epoch from '2026-07-17 16:36:43'::timestamp) - extract(epoch from '2026-07-17 16:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789827 -3.440555)'), GeomFromEWKT('SRID=4674;POINT (-38.789884 -3.440712)'))) / (select extract(epoch from '2026-07-17 16:36:43'::timestamp) - extract(epoch from '2026-07-17 16:36: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'), 47317, 'SRID=4674;POINT (-38.789917 -3.440877)', '2026-07-17 16:36:50', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789884 -3.440712)'), GeomFromEWKT('SRID=4674;POINT (-38.789917 -3.440877)'))) / (select extract(epoch from '2026-07-17 16:36:50'::timestamp) - extract(epoch from '2026-07-17 16:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789884 -3.440712)'), GeomFromEWKT('SRID=4674;POINT (-38.789917 -3.440877)'))) / (select extract(epoch from '2026-07-17 16:36:50'::timestamp) - extract(epoch from '2026-07-17 16:36: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'), 47317, 'SRID=4674;POINT (-38.789992 -3.441036)', '2026-07-17 16:36:57', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789917 -3.440877)'), GeomFromEWKT('SRID=4674;POINT (-38.789992 -3.441036)'))) / (select extract(epoch from '2026-07-17 16:36:57'::timestamp) - extract(epoch from '2026-07-17 16:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789917 -3.440877)'), GeomFromEWKT('SRID=4674;POINT (-38.789992 -3.441036)'))) / (select extract(epoch from '2026-07-17 16:36:57'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.790085 -3.44117)', '2026-07-17 16:37:03', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789992 -3.441036)'), GeomFromEWKT('SRID=4674;POINT (-38.790085 -3.44117)'))) / (select extract(epoch from '2026-07-17 16:37:03'::timestamp) - extract(epoch from '2026-07-17 16:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.789992 -3.441036)'), GeomFromEWKT('SRID=4674;POINT (-38.790085 -3.44117)'))) / (select extract(epoch from '2026-07-17 16:37:03'::timestamp) - extract(epoch from '2026-07-17 16:36:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.790163 -3.441343)', '2026-07-17 16:37:10', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790085 -3.44117)'), GeomFromEWKT('SRID=4674;POINT (-38.790163 -3.441343)'))) / (select extract(epoch from '2026-07-17 16:37:10'::timestamp) - extract(epoch from '2026-07-17 16:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790085 -3.44117)'), GeomFromEWKT('SRID=4674;POINT (-38.790163 -3.441343)'))) / (select extract(epoch from '2026-07-17 16:37:10'::timestamp) - extract(epoch from '2026-07-17 16:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.790171 -3.441367)', '2026-07-17 16:37:11', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790163 -3.441343)'), GeomFromEWKT('SRID=4674;POINT (-38.790171 -3.441367)'))) / (select extract(epoch from '2026-07-17 16:37:11'::timestamp) - extract(epoch from '2026-07-17 16:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790163 -3.441343)'), GeomFromEWKT('SRID=4674;POINT (-38.790171 -3.441367)'))) / (select extract(epoch from '2026-07-17 16:37:11'::timestamp) - extract(epoch from '2026-07-17 16:37: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'), 47317, 'SRID=4674;POINT (-38.79023 -3.441509)', '2026-07-17 16:37:17', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790171 -3.441367)'), GeomFromEWKT('SRID=4674;POINT (-38.79023 -3.441509)'))) / (select extract(epoch from '2026-07-17 16:37:17'::timestamp) - extract(epoch from '2026-07-17 16:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790171 -3.441367)'), GeomFromEWKT('SRID=4674;POINT (-38.79023 -3.441509)'))) / (select extract(epoch from '2026-07-17 16:37:17'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.790308 -3.441686)', '2026-07-17 16:37:24', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79023 -3.441509)'), GeomFromEWKT('SRID=4674;POINT (-38.790308 -3.441686)'))) / (select extract(epoch from '2026-07-17 16:37:24'::timestamp) - extract(epoch from '2026-07-17 16:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79023 -3.441509)'), GeomFromEWKT('SRID=4674;POINT (-38.790308 -3.441686)'))) / (select extract(epoch from '2026-07-17 16:37:24'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47317, 'SRID=4674;POINT (-38.790363 -3.441805)', '2026-07-17 16:37:29', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790308 -3.441686)'), GeomFromEWKT('SRID=4674;POINT (-38.790363 -3.441805)'))) / (select extract(epoch from '2026-07-17 16:37:29'::timestamp) - extract(epoch from '2026-07-17 16:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790308 -3.441686)'), GeomFromEWKT('SRID=4674;POINT (-38.790363 -3.441805)'))) / (select extract(epoch from '2026-07-17 16:37:29'::timestamp) - extract(epoch from '2026-07-17 16:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.790431 -3.441939)', '2026-07-17 16:37:35', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790363 -3.441805)'), GeomFromEWKT('SRID=4674;POINT (-38.790431 -3.441939)'))) / (select extract(epoch from '2026-07-17 16:37:35'::timestamp) - extract(epoch from '2026-07-17 16:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790363 -3.441805)'), GeomFromEWKT('SRID=4674;POINT (-38.790431 -3.441939)'))) / (select extract(epoch from '2026-07-17 16:37:35'::timestamp) - extract(epoch from '2026-07-17 16:37: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'), 47317, 'SRID=4674;POINT (-38.790496 -3.442086)', '2026-07-17 16:37:41', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790431 -3.441939)'), GeomFromEWKT('SRID=4674;POINT (-38.790496 -3.442086)'))) / (select extract(epoch from '2026-07-17 16:37:41'::timestamp) - extract(epoch from '2026-07-17 16:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790431 -3.441939)'), GeomFromEWKT('SRID=4674;POINT (-38.790496 -3.442086)'))) / (select extract(epoch from '2026-07-17 16:37:41'::timestamp) - extract(epoch from '2026-07-17 16:37: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'), 47317, 'SRID=4674;POINT (-38.790549 -3.442208)', '2026-07-17 16:37:46', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790496 -3.442086)'), GeomFromEWKT('SRID=4674;POINT (-38.790549 -3.442208)'))) / (select extract(epoch from '2026-07-17 16:37:46'::timestamp) - extract(epoch from '2026-07-17 16:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790496 -3.442086)'), GeomFromEWKT('SRID=4674;POINT (-38.790549 -3.442208)'))) / (select extract(epoch from '2026-07-17 16:37:46'::timestamp) - extract(epoch from '2026-07-17 16:37:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.790603 -3.442324)', '2026-07-17 16:37:51', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790549 -3.442208)'), GeomFromEWKT('SRID=4674;POINT (-38.790603 -3.442324)'))) / (select extract(epoch from '2026-07-17 16:37:51'::timestamp) - extract(epoch from '2026-07-17 16:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790549 -3.442208)'), GeomFromEWKT('SRID=4674;POINT (-38.790603 -3.442324)'))) / (select extract(epoch from '2026-07-17 16:37:51'::timestamp) - extract(epoch from '2026-07-17 16:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.790658 -3.442442)', '2026-07-17 16:37:56', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790603 -3.442324)'), GeomFromEWKT('SRID=4674;POINT (-38.790658 -3.442442)'))) / (select extract(epoch from '2026-07-17 16:37:56'::timestamp) - extract(epoch from '2026-07-17 16:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790603 -3.442324)'), GeomFromEWKT('SRID=4674;POINT (-38.790658 -3.442442)'))) / (select extract(epoch from '2026-07-17 16:37:56'::timestamp) - extract(epoch from '2026-07-17 16:37:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.790712 -3.442596)', '2026-07-17 16:38:02', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790658 -3.442442)'), GeomFromEWKT('SRID=4674;POINT (-38.790712 -3.442596)'))) / (select extract(epoch from '2026-07-17 16:38:02'::timestamp) - extract(epoch from '2026-07-17 16:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790658 -3.442442)'), GeomFromEWKT('SRID=4674;POINT (-38.790712 -3.442596)'))) / (select extract(epoch from '2026-07-17 16:38:02'::timestamp) - extract(epoch from '2026-07-17 16:37: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'), 47317, 'SRID=4674;POINT (-38.790749 -3.442719)', '2026-07-17 16:38:07', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790712 -3.442596)'), GeomFromEWKT('SRID=4674;POINT (-38.790749 -3.442719)'))) / (select extract(epoch from '2026-07-17 16:38:07'::timestamp) - extract(epoch from '2026-07-17 16:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790712 -3.442596)'), GeomFromEWKT('SRID=4674;POINT (-38.790749 -3.442719)'))) / (select extract(epoch from '2026-07-17 16:38:07'::timestamp) - extract(epoch from '2026-07-17 16:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.79079 -3.442842)', '2026-07-17 16:38:12', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790749 -3.442719)'), GeomFromEWKT('SRID=4674;POINT (-38.79079 -3.442842)'))) / (select extract(epoch from '2026-07-17 16:38:12'::timestamp) - extract(epoch from '2026-07-17 16:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790749 -3.442719)'), GeomFromEWKT('SRID=4674;POINT (-38.79079 -3.442842)'))) / (select extract(epoch from '2026-07-17 16:38:12'::timestamp) - extract(epoch from '2026-07-17 16:38: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'), 47317, 'SRID=4674;POINT (-38.790855 -3.443016)', '2026-07-17 16:38:19', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79079 -3.442842)'), GeomFromEWKT('SRID=4674;POINT (-38.790855 -3.443016)'))) / (select extract(epoch from '2026-07-17 16:38:19'::timestamp) - extract(epoch from '2026-07-17 16:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79079 -3.442842)'), GeomFromEWKT('SRID=4674;POINT (-38.790855 -3.443016)'))) / (select extract(epoch from '2026-07-17 16:38:19'::timestamp) - extract(epoch from '2026-07-17 16:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.790863 -3.443039)', '2026-07-17 16:38:20', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790855 -3.443016)'), GeomFromEWKT('SRID=4674;POINT (-38.790863 -3.443039)'))) / (select extract(epoch from '2026-07-17 16:38:20'::timestamp) - extract(epoch from '2026-07-17 16:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790855 -3.443016)'), GeomFromEWKT('SRID=4674;POINT (-38.790863 -3.443039)'))) / (select extract(epoch from '2026-07-17 16:38:20'::timestamp) - extract(epoch from '2026-07-17 16:38: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'), 47317, 'SRID=4674;POINT (-38.79092 -3.443191)', '2026-07-17 16:38:26', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790863 -3.443039)'), GeomFromEWKT('SRID=4674;POINT (-38.79092 -3.443191)'))) / (select extract(epoch from '2026-07-17 16:38:26'::timestamp) - extract(epoch from '2026-07-17 16:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790863 -3.443039)'), GeomFromEWKT('SRID=4674;POINT (-38.79092 -3.443191)'))) / (select extract(epoch from '2026-07-17 16:38:26'::timestamp) - extract(epoch from '2026-07-17 16:38:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.790984 -3.443366)', '2026-07-17 16:38:33', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79092 -3.443191)'), GeomFromEWKT('SRID=4674;POINT (-38.790984 -3.443366)'))) / (select extract(epoch from '2026-07-17 16:38:33'::timestamp) - extract(epoch from '2026-07-17 16:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79092 -3.443191)'), GeomFromEWKT('SRID=4674;POINT (-38.790984 -3.443366)'))) / (select extract(epoch from '2026-07-17 16:38:33'::timestamp) - extract(epoch from '2026-07-17 16:38: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'), 47317, 'SRID=4674;POINT (-38.790995 -3.443389)', '2026-07-17 16:38:34', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790984 -3.443366)'), GeomFromEWKT('SRID=4674;POINT (-38.790995 -3.443389)'))) / (select extract(epoch from '2026-07-17 16:38:34'::timestamp) - extract(epoch from '2026-07-17 16:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790984 -3.443366)'), GeomFromEWKT('SRID=4674;POINT (-38.790995 -3.443389)'))) / (select extract(epoch from '2026-07-17 16:38:34'::timestamp) - extract(epoch from '2026-07-17 16:38: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'), 47317, 'SRID=4674;POINT (-38.791029 -3.443512)', '2026-07-17 16:38:39', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790995 -3.443389)'), GeomFromEWKT('SRID=4674;POINT (-38.791029 -3.443512)'))) / (select extract(epoch from '2026-07-17 16:38:39'::timestamp) - extract(epoch from '2026-07-17 16:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.790995 -3.443389)'), GeomFromEWKT('SRID=4674;POINT (-38.791029 -3.443512)'))) / (select extract(epoch from '2026-07-17 16:38:39'::timestamp) - extract(epoch from '2026-07-17 16:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.791083 -3.443627)', '2026-07-17 16:38:44', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791029 -3.443512)'), GeomFromEWKT('SRID=4674;POINT (-38.791083 -3.443627)'))) / (select extract(epoch from '2026-07-17 16:38:44'::timestamp) - extract(epoch from '2026-07-17 16:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791029 -3.443512)'), GeomFromEWKT('SRID=4674;POINT (-38.791083 -3.443627)'))) / (select extract(epoch from '2026-07-17 16:38:44'::timestamp) - extract(epoch from '2026-07-17 16:38:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.79114 -3.443739)', '2026-07-17 16:38:49', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791083 -3.443627)'), GeomFromEWKT('SRID=4674;POINT (-38.79114 -3.443739)'))) / (select extract(epoch from '2026-07-17 16:38:49'::timestamp) - extract(epoch from '2026-07-17 16:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791083 -3.443627)'), GeomFromEWKT('SRID=4674;POINT (-38.79114 -3.443739)'))) / (select extract(epoch from '2026-07-17 16:38:49'::timestamp) - extract(epoch from '2026-07-17 16:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.79122 -3.443863)', '2026-07-17 16:38:55', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79114 -3.443739)'), GeomFromEWKT('SRID=4674;POINT (-38.79122 -3.443863)'))) / (select extract(epoch from '2026-07-17 16:38:55'::timestamp) - extract(epoch from '2026-07-17 16:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79114 -3.443739)'), GeomFromEWKT('SRID=4674;POINT (-38.79122 -3.443863)'))) / (select extract(epoch from '2026-07-17 16:38:55'::timestamp) - extract(epoch from '2026-07-17 16:38: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'), 47317, 'SRID=4674;POINT (-38.791309 -3.444023)', '2026-07-17 16:39:02', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79122 -3.443863)'), GeomFromEWKT('SRID=4674;POINT (-38.791309 -3.444023)'))) / (select extract(epoch from '2026-07-17 16:39:02'::timestamp) - extract(epoch from '2026-07-17 16:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79122 -3.443863)'), GeomFromEWKT('SRID=4674;POINT (-38.791309 -3.444023)'))) / (select extract(epoch from '2026-07-17 16:39:02'::timestamp) - extract(epoch from '2026-07-17 16:38: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'), 47317, 'SRID=4674;POINT (-38.791355 -3.444141)', '2026-07-17 16:39:07', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791309 -3.444023)'), GeomFromEWKT('SRID=4674;POINT (-38.791355 -3.444141)'))) / (select extract(epoch from '2026-07-17 16:39:07'::timestamp) - extract(epoch from '2026-07-17 16:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791309 -3.444023)'), GeomFromEWKT('SRID=4674;POINT (-38.791355 -3.444141)'))) / (select extract(epoch from '2026-07-17 16:39:07'::timestamp) - extract(epoch from '2026-07-17 16:39: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'), 47317, 'SRID=4674;POINT (-38.791416 -3.444303)', '2026-07-17 16:39:14', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791355 -3.444141)'), GeomFromEWKT('SRID=4674;POINT (-38.791416 -3.444303)'))) / (select extract(epoch from '2026-07-17 16:39:14'::timestamp) - extract(epoch from '2026-07-17 16:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791355 -3.444141)'), GeomFromEWKT('SRID=4674;POINT (-38.791416 -3.444303)'))) / (select extract(epoch from '2026-07-17 16:39:14'::timestamp) - extract(epoch from '2026-07-17 16:39: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'), 47317, 'SRID=4674;POINT (-38.791459 -3.444446)', '2026-07-17 16:39:20', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791416 -3.444303)'), GeomFromEWKT('SRID=4674;POINT (-38.791459 -3.444446)'))) / (select extract(epoch from '2026-07-17 16:39:20'::timestamp) - extract(epoch from '2026-07-17 16:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791416 -3.444303)'), GeomFromEWKT('SRID=4674;POINT (-38.791459 -3.444446)'))) / (select extract(epoch from '2026-07-17 16:39:20'::timestamp) - extract(epoch from '2026-07-17 16:39: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'), 47317, 'SRID=4674;POINT (-38.79151 -3.444577)', '2026-07-17 16:39:26', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791459 -3.444446)'), GeomFromEWKT('SRID=4674;POINT (-38.79151 -3.444577)'))) / (select extract(epoch from '2026-07-17 16:39:26'::timestamp) - extract(epoch from '2026-07-17 16:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791459 -3.444446)'), GeomFromEWKT('SRID=4674;POINT (-38.79151 -3.444577)'))) / (select extract(epoch from '2026-07-17 16:39:26'::timestamp) - extract(epoch from '2026-07-17 16:39:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.791537 -3.444701)', '2026-07-17 16:39:31', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79151 -3.444577)'), GeomFromEWKT('SRID=4674;POINT (-38.791537 -3.444701)'))) / (select extract(epoch from '2026-07-17 16:39:31'::timestamp) - extract(epoch from '2026-07-17 16:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79151 -3.444577)'), GeomFromEWKT('SRID=4674;POINT (-38.791537 -3.444701)'))) / (select extract(epoch from '2026-07-17 16:39:31'::timestamp) - extract(epoch from '2026-07-17 16:39: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'), 47317, 'SRID=4674;POINT (-38.791591 -3.444828)', '2026-07-17 16:39:37', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791537 -3.444701)'), GeomFromEWKT('SRID=4674;POINT (-38.791591 -3.444828)'))) / (select extract(epoch from '2026-07-17 16:39:37'::timestamp) - extract(epoch from '2026-07-17 16:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791537 -3.444701)'), GeomFromEWKT('SRID=4674;POINT (-38.791591 -3.444828)'))) / (select extract(epoch from '2026-07-17 16:39:37'::timestamp) - extract(epoch from '2026-07-17 16:39: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'), 47317, 'SRID=4674;POINT (-38.791652 -3.44497)', '2026-07-17 16:39:43', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791591 -3.444828)'), GeomFromEWKT('SRID=4674;POINT (-38.791652 -3.44497)'))) / (select extract(epoch from '2026-07-17 16:39:43'::timestamp) - extract(epoch from '2026-07-17 16:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791591 -3.444828)'), GeomFromEWKT('SRID=4674;POINT (-38.791652 -3.44497)'))) / (select extract(epoch from '2026-07-17 16:39:43'::timestamp) - extract(epoch from '2026-07-17 16:39: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'), 47317, 'SRID=4674;POINT (-38.791707 -3.445108)', '2026-07-17 16:39:49', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791652 -3.44497)'), GeomFromEWKT('SRID=4674;POINT (-38.791707 -3.445108)'))) / (select extract(epoch from '2026-07-17 16:39:49'::timestamp) - extract(epoch from '2026-07-17 16:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791652 -3.44497)'), GeomFromEWKT('SRID=4674;POINT (-38.791707 -3.445108)'))) / (select extract(epoch from '2026-07-17 16:39:49'::timestamp) - extract(epoch from '2026-07-17 16:39: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'), 47317, 'SRID=4674;POINT (-38.791774 -3.445273)', '2026-07-17 16:39:56', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791707 -3.445108)'), GeomFromEWKT('SRID=4674;POINT (-38.791774 -3.445273)'))) / (select extract(epoch from '2026-07-17 16:39:56'::timestamp) - extract(epoch from '2026-07-17 16:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791707 -3.445108)'), GeomFromEWKT('SRID=4674;POINT (-38.791774 -3.445273)'))) / (select extract(epoch from '2026-07-17 16:39:56'::timestamp) - extract(epoch from '2026-07-17 16:39: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'), 47317, 'SRID=4674;POINT (-38.791873 -3.445432)', '2026-07-17 16:40:03', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791774 -3.445273)'), GeomFromEWKT('SRID=4674;POINT (-38.791873 -3.445432)'))) / (select extract(epoch from '2026-07-17 16:40:03'::timestamp) - extract(epoch from '2026-07-17 16:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791774 -3.445273)'), GeomFromEWKT('SRID=4674;POINT (-38.791873 -3.445432)'))) / (select extract(epoch from '2026-07-17 16:40:03'::timestamp) - extract(epoch from '2026-07-17 16:39: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'), 47317, 'SRID=4674;POINT (-38.791966 -3.445588)', '2026-07-17 16:40:10', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791873 -3.445432)'), GeomFromEWKT('SRID=4674;POINT (-38.791966 -3.445588)'))) / (select extract(epoch from '2026-07-17 16:40:10'::timestamp) - extract(epoch from '2026-07-17 16:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791873 -3.445432)'), GeomFromEWKT('SRID=4674;POINT (-38.791966 -3.445588)'))) / (select extract(epoch from '2026-07-17 16:40:10'::timestamp) - extract(epoch from '2026-07-17 16:40: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'), 47317, 'SRID=4674;POINT (-38.792023 -3.445712)', '2026-07-17 16:40:16', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791966 -3.445588)'), GeomFromEWKT('SRID=4674;POINT (-38.792023 -3.445712)'))) / (select extract(epoch from '2026-07-17 16:40:16'::timestamp) - extract(epoch from '2026-07-17 16:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.791966 -3.445588)'), GeomFromEWKT('SRID=4674;POINT (-38.792023 -3.445712)'))) / (select extract(epoch from '2026-07-17 16:40:16'::timestamp) - extract(epoch from '2026-07-17 16:40: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'), 47317, 'SRID=4674;POINT (-38.792083 -3.445852)', '2026-07-17 16:40:22', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792023 -3.445712)'), GeomFromEWKT('SRID=4674;POINT (-38.792083 -3.445852)'))) / (select extract(epoch from '2026-07-17 16:40:22'::timestamp) - extract(epoch from '2026-07-17 16:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792023 -3.445712)'), GeomFromEWKT('SRID=4674;POINT (-38.792083 -3.445852)'))) / (select extract(epoch from '2026-07-17 16:40:22'::timestamp) - extract(epoch from '2026-07-17 16:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.792167 -3.44602)', '2026-07-17 16:40:29', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792083 -3.445852)'), GeomFromEWKT('SRID=4674;POINT (-38.792167 -3.44602)'))) / (select extract(epoch from '2026-07-17 16:40:29'::timestamp) - extract(epoch from '2026-07-17 16:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792083 -3.445852)'), GeomFromEWKT('SRID=4674;POINT (-38.792167 -3.44602)'))) / (select extract(epoch from '2026-07-17 16:40:29'::timestamp) - extract(epoch from '2026-07-17 16:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.792255 -3.446182)', '2026-07-17 16:40:36', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792167 -3.44602)'), GeomFromEWKT('SRID=4674;POINT (-38.792255 -3.446182)'))) / (select extract(epoch from '2026-07-17 16:40:36'::timestamp) - extract(epoch from '2026-07-17 16:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792167 -3.44602)'), GeomFromEWKT('SRID=4674;POINT (-38.792255 -3.446182)'))) / (select extract(epoch from '2026-07-17 16:40:36'::timestamp) - extract(epoch from '2026-07-17 16:40: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'), 47317, 'SRID=4674;POINT (-38.792268 -3.446205)', '2026-07-17 16:40:37', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792255 -3.446182)'), GeomFromEWKT('SRID=4674;POINT (-38.792268 -3.446205)'))) / (select extract(epoch from '2026-07-17 16:40:37'::timestamp) - extract(epoch from '2026-07-17 16:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792255 -3.446182)'), GeomFromEWKT('SRID=4674;POINT (-38.792268 -3.446205)'))) / (select extract(epoch from '2026-07-17 16:40:37'::timestamp) - extract(epoch from '2026-07-17 16:40: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'), 47317, 'SRID=4674;POINT (-38.792355 -3.446368)', '2026-07-17 16:40:44', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792268 -3.446205)'), GeomFromEWKT('SRID=4674;POINT (-38.792355 -3.446368)'))) / (select extract(epoch from '2026-07-17 16:40:44'::timestamp) - extract(epoch from '2026-07-17 16:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792268 -3.446205)'), GeomFromEWKT('SRID=4674;POINT (-38.792355 -3.446368)'))) / (select extract(epoch from '2026-07-17 16:40:44'::timestamp) - extract(epoch from '2026-07-17 16:40: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'), 47317, 'SRID=4674;POINT (-38.792365 -3.446391)', '2026-07-17 16:40:45', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792355 -3.446368)'), GeomFromEWKT('SRID=4674;POINT (-38.792365 -3.446391)'))) / (select extract(epoch from '2026-07-17 16:40:45'::timestamp) - extract(epoch from '2026-07-17 16:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792355 -3.446368)'), GeomFromEWKT('SRID=4674;POINT (-38.792365 -3.446391)'))) / (select extract(epoch from '2026-07-17 16:40:45'::timestamp) - extract(epoch from '2026-07-17 16:40:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.792438 -3.44654)', '2026-07-17 16:40:52', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792365 -3.446391)'), GeomFromEWKT('SRID=4674;POINT (-38.792438 -3.44654)'))) / (select extract(epoch from '2026-07-17 16:40:52'::timestamp) - extract(epoch from '2026-07-17 16:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792365 -3.446391)'), GeomFromEWKT('SRID=4674;POINT (-38.792438 -3.44654)'))) / (select extract(epoch from '2026-07-17 16:40:52'::timestamp) - extract(epoch from '2026-07-17 16:40:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.792519 -3.446698)', '2026-07-17 16:40:59', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792438 -3.44654)'), GeomFromEWKT('SRID=4674;POINT (-38.792519 -3.446698)'))) / (select extract(epoch from '2026-07-17 16:40:59'::timestamp) - extract(epoch from '2026-07-17 16:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792438 -3.44654)'), GeomFromEWKT('SRID=4674;POINT (-38.792519 -3.446698)'))) / (select extract(epoch from '2026-07-17 16:40:59'::timestamp) - extract(epoch from '2026-07-17 16:40: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'), 47317, 'SRID=4674;POINT (-38.79258 -3.446813)', '2026-07-17 16:41:04', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792519 -3.446698)'), GeomFromEWKT('SRID=4674;POINT (-38.79258 -3.446813)'))) / (select extract(epoch from '2026-07-17 16:41:04'::timestamp) - extract(epoch from '2026-07-17 16:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792519 -3.446698)'), GeomFromEWKT('SRID=4674;POINT (-38.79258 -3.446813)'))) / (select extract(epoch from '2026-07-17 16:41:04'::timestamp) - extract(epoch from '2026-07-17 16:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.792649 -3.446977)', '2026-07-17 16:41:11', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79258 -3.446813)'), GeomFromEWKT('SRID=4674;POINT (-38.792649 -3.446977)'))) / (select extract(epoch from '2026-07-17 16:41:11'::timestamp) - extract(epoch from '2026-07-17 16:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79258 -3.446813)'), GeomFromEWKT('SRID=4674;POINT (-38.792649 -3.446977)'))) / (select extract(epoch from '2026-07-17 16:41:11'::timestamp) - extract(epoch from '2026-07-17 16:41: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'), 47317, 'SRID=4674;POINT (-38.792677 -3.447107)', '2026-07-17 16:41:16', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792649 -3.446977)'), GeomFromEWKT('SRID=4674;POINT (-38.792677 -3.447107)'))) / (select extract(epoch from '2026-07-17 16:41:16'::timestamp) - extract(epoch from '2026-07-17 16:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792649 -3.446977)'), GeomFromEWKT('SRID=4674;POINT (-38.792677 -3.447107)'))) / (select extract(epoch from '2026-07-17 16:41:16'::timestamp) - extract(epoch from '2026-07-17 16:41: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'), 47317, 'SRID=4674;POINT (-38.792702 -3.447218)', '2026-07-17 16:41:21', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792677 -3.447107)'), GeomFromEWKT('SRID=4674;POINT (-38.792702 -3.447218)'))) / (select extract(epoch from '2026-07-17 16:41:21'::timestamp) - extract(epoch from '2026-07-17 16:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792677 -3.447107)'), GeomFromEWKT('SRID=4674;POINT (-38.792702 -3.447218)'))) / (select extract(epoch from '2026-07-17 16:41:21'::timestamp) - extract(epoch from '2026-07-17 16:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.792755 -3.447361)', '2026-07-17 16:41:27', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792702 -3.447218)'), GeomFromEWKT('SRID=4674;POINT (-38.792755 -3.447361)'))) / (select extract(epoch from '2026-07-17 16:41:27'::timestamp) - extract(epoch from '2026-07-17 16:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792702 -3.447218)'), GeomFromEWKT('SRID=4674;POINT (-38.792755 -3.447361)'))) / (select extract(epoch from '2026-07-17 16:41:27'::timestamp) - extract(epoch from '2026-07-17 16:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.792822 -3.447523)', '2026-07-17 16:41:34', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792755 -3.447361)'), GeomFromEWKT('SRID=4674;POINT (-38.792822 -3.447523)'))) / (select extract(epoch from '2026-07-17 16:41:34'::timestamp) - extract(epoch from '2026-07-17 16:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792755 -3.447361)'), GeomFromEWKT('SRID=4674;POINT (-38.792822 -3.447523)'))) / (select extract(epoch from '2026-07-17 16:41:34'::timestamp) - extract(epoch from '2026-07-17 16:41: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'), 47317, 'SRID=4674;POINT (-38.792894 -3.447667)', '2026-07-17 16:41:40', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792822 -3.447523)'), GeomFromEWKT('SRID=4674;POINT (-38.792894 -3.447667)'))) / (select extract(epoch from '2026-07-17 16:41:40'::timestamp) - extract(epoch from '2026-07-17 16:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792822 -3.447523)'), GeomFromEWKT('SRID=4674;POINT (-38.792894 -3.447667)'))) / (select extract(epoch from '2026-07-17 16:41:40'::timestamp) - extract(epoch from '2026-07-17 16:41: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'), 47317, 'SRID=4674;POINT (-38.792949 -3.447831)', '2026-07-17 16:41:46', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792894 -3.447667)'), GeomFromEWKT('SRID=4674;POINT (-38.792949 -3.447831)'))) / (select extract(epoch from '2026-07-17 16:41:46'::timestamp) - extract(epoch from '2026-07-17 16:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792894 -3.447667)'), GeomFromEWKT('SRID=4674;POINT (-38.792949 -3.447831)'))) / (select extract(epoch from '2026-07-17 16:41:46'::timestamp) - extract(epoch from '2026-07-17 16:41: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'), 47317, 'SRID=4674;POINT (-38.792995 -3.44797)', '2026-07-17 16:41:52', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792949 -3.447831)'), GeomFromEWKT('SRID=4674;POINT (-38.792995 -3.44797)'))) / (select extract(epoch from '2026-07-17 16:41:52'::timestamp) - extract(epoch from '2026-07-17 16:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792949 -3.447831)'), GeomFromEWKT('SRID=4674;POINT (-38.792995 -3.44797)'))) / (select extract(epoch from '2026-07-17 16:41:52'::timestamp) - extract(epoch from '2026-07-17 16:41:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.793049 -3.44808)', '2026-07-17 16:41:57', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792995 -3.44797)'), GeomFromEWKT('SRID=4674;POINT (-38.793049 -3.44808)'))) / (select extract(epoch from '2026-07-17 16:41:57'::timestamp) - extract(epoch from '2026-07-17 16:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.792995 -3.44797)'), GeomFromEWKT('SRID=4674;POINT (-38.793049 -3.44808)'))) / (select extract(epoch from '2026-07-17 16:41:57'::timestamp) - extract(epoch from '2026-07-17 16:41: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'), 47317, 'SRID=4674;POINT (-38.793119 -3.448266)', '2026-07-17 16:42:05', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793049 -3.44808)'), GeomFromEWKT('SRID=4674;POINT (-38.793119 -3.448266)'))) / (select extract(epoch from '2026-07-17 16:42:05'::timestamp) - extract(epoch from '2026-07-17 16:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793049 -3.44808)'), GeomFromEWKT('SRID=4674;POINT (-38.793119 -3.448266)'))) / (select extract(epoch from '2026-07-17 16:42:05'::timestamp) - extract(epoch from '2026-07-17 16:41: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'), 47317, 'SRID=4674;POINT (-38.793159 -3.448395)', '2026-07-17 16:42:10', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793119 -3.448266)'), GeomFromEWKT('SRID=4674;POINT (-38.793159 -3.448395)'))) / (select extract(epoch from '2026-07-17 16:42:10'::timestamp) - extract(epoch from '2026-07-17 16:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793119 -3.448266)'), GeomFromEWKT('SRID=4674;POINT (-38.793159 -3.448395)'))) / (select extract(epoch from '2026-07-17 16:42:10'::timestamp) - extract(epoch from '2026-07-17 16:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.793226 -3.448528)', '2026-07-17 16:42:16', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793159 -3.448395)'), GeomFromEWKT('SRID=4674;POINT (-38.793226 -3.448528)'))) / (select extract(epoch from '2026-07-17 16:42:16'::timestamp) - extract(epoch from '2026-07-17 16:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793159 -3.448395)'), GeomFromEWKT('SRID=4674;POINT (-38.793226 -3.448528)'))) / (select extract(epoch from '2026-07-17 16:42:16'::timestamp) - extract(epoch from '2026-07-17 16:42: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'), 47317, 'SRID=4674;POINT (-38.793285 -3.448672)', '2026-07-17 16:42:22', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793226 -3.448528)'), GeomFromEWKT('SRID=4674;POINT (-38.793285 -3.448672)'))) / (select extract(epoch from '2026-07-17 16:42:22'::timestamp) - extract(epoch from '2026-07-17 16:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793226 -3.448528)'), GeomFromEWKT('SRID=4674;POINT (-38.793285 -3.448672)'))) / (select extract(epoch from '2026-07-17 16:42:22'::timestamp) - extract(epoch from '2026-07-17 16:42: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'), 47317, 'SRID=4674;POINT (-38.793338 -3.448781)', '2026-07-17 16:42:27', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793285 -3.448672)'), GeomFromEWKT('SRID=4674;POINT (-38.793338 -3.448781)'))) / (select extract(epoch from '2026-07-17 16:42:27'::timestamp) - extract(epoch from '2026-07-17 16:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793285 -3.448672)'), GeomFromEWKT('SRID=4674;POINT (-38.793338 -3.448781)'))) / (select extract(epoch from '2026-07-17 16:42:27'::timestamp) - extract(epoch from '2026-07-17 16:42: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'), 47317, 'SRID=4674;POINT (-38.793407 -3.448922)', '2026-07-17 16:42:33', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793338 -3.448781)'), GeomFromEWKT('SRID=4674;POINT (-38.793407 -3.448922)'))) / (select extract(epoch from '2026-07-17 16:42:33'::timestamp) - extract(epoch from '2026-07-17 16:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793338 -3.448781)'), GeomFromEWKT('SRID=4674;POINT (-38.793407 -3.448922)'))) / (select extract(epoch from '2026-07-17 16:42:33'::timestamp) - extract(epoch from '2026-07-17 16:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.793438 -3.449049)', '2026-07-17 16:42:38', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793407 -3.448922)'), GeomFromEWKT('SRID=4674;POINT (-38.793438 -3.449049)'))) / (select extract(epoch from '2026-07-17 16:42:38'::timestamp) - extract(epoch from '2026-07-17 16:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793407 -3.448922)'), GeomFromEWKT('SRID=4674;POINT (-38.793438 -3.449049)'))) / (select extract(epoch from '2026-07-17 16:42:38'::timestamp) - extract(epoch from '2026-07-17 16:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.793491 -3.449188)', '2026-07-17 16:42:44', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793438 -3.449049)'), GeomFromEWKT('SRID=4674;POINT (-38.793491 -3.449188)'))) / (select extract(epoch from '2026-07-17 16:42:44'::timestamp) - extract(epoch from '2026-07-17 16:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793438 -3.449049)'), GeomFromEWKT('SRID=4674;POINT (-38.793491 -3.449188)'))) / (select extract(epoch from '2026-07-17 16:42:44'::timestamp) - extract(epoch from '2026-07-17 16:42: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'), 47317, 'SRID=4674;POINT (-38.793556 -3.449354)', '2026-07-17 16:42:51', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793491 -3.449188)'), GeomFromEWKT('SRID=4674;POINT (-38.793556 -3.449354)'))) / (select extract(epoch from '2026-07-17 16:42:51'::timestamp) - extract(epoch from '2026-07-17 16:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793491 -3.449188)'), GeomFromEWKT('SRID=4674;POINT (-38.793556 -3.449354)'))) / (select extract(epoch from '2026-07-17 16:42:51'::timestamp) - extract(epoch from '2026-07-17 16:42: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'), 47317, 'SRID=4674;POINT (-38.793602 -3.449506)', '2026-07-17 16:42:57', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793556 -3.449354)'), GeomFromEWKT('SRID=4674;POINT (-38.793602 -3.449506)'))) / (select extract(epoch from '2026-07-17 16:42:57'::timestamp) - extract(epoch from '2026-07-17 16:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793556 -3.449354)'), GeomFromEWKT('SRID=4674;POINT (-38.793602 -3.449506)'))) / (select extract(epoch from '2026-07-17 16:42:57'::timestamp) - extract(epoch from '2026-07-17 16:42: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'), 47317, 'SRID=4674;POINT (-38.793659 -3.449644)', '2026-07-17 16:43:03', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793602 -3.449506)'), GeomFromEWKT('SRID=4674;POINT (-38.793659 -3.449644)'))) / (select extract(epoch from '2026-07-17 16:43:03'::timestamp) - extract(epoch from '2026-07-17 16:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793602 -3.449506)'), GeomFromEWKT('SRID=4674;POINT (-38.793659 -3.449644)'))) / (select extract(epoch from '2026-07-17 16:43:03'::timestamp) - extract(epoch from '2026-07-17 16:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.793729 -3.449773)', '2026-07-17 16:43:09', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793659 -3.449644)'), GeomFromEWKT('SRID=4674;POINT (-38.793729 -3.449773)'))) / (select extract(epoch from '2026-07-17 16:43:09'::timestamp) - extract(epoch from '2026-07-17 16:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793659 -3.449644)'), GeomFromEWKT('SRID=4674;POINT (-38.793729 -3.449773)'))) / (select extract(epoch from '2026-07-17 16:43:09'::timestamp) - extract(epoch from '2026-07-17 16:43: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'), 47317, 'SRID=4674;POINT (-38.793788 -3.449934)', '2026-07-17 16:43:16', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793729 -3.449773)'), GeomFromEWKT('SRID=4674;POINT (-38.793788 -3.449934)'))) / (select extract(epoch from '2026-07-17 16:43:16'::timestamp) - extract(epoch from '2026-07-17 16:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793729 -3.449773)'), GeomFromEWKT('SRID=4674;POINT (-38.793788 -3.449934)'))) / (select extract(epoch from '2026-07-17 16:43:16'::timestamp) - extract(epoch from '2026-07-17 16:43: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'), 47317, 'SRID=4674;POINT (-38.793815 -3.450058)', '2026-07-17 16:43:21', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793788 -3.449934)'), GeomFromEWKT('SRID=4674;POINT (-38.793815 -3.450058)'))) / (select extract(epoch from '2026-07-17 16:43:21'::timestamp) - extract(epoch from '2026-07-17 16:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793788 -3.449934)'), GeomFromEWKT('SRID=4674;POINT (-38.793815 -3.450058)'))) / (select extract(epoch from '2026-07-17 16:43:21'::timestamp) - extract(epoch from '2026-07-17 16:43: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'), 47317, 'SRID=4674;POINT (-38.793863 -3.450185)', '2026-07-17 16:43:26', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793815 -3.450058)'), GeomFromEWKT('SRID=4674;POINT (-38.793863 -3.450185)'))) / (select extract(epoch from '2026-07-17 16:43:26'::timestamp) - extract(epoch from '2026-07-17 16:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793815 -3.450058)'), GeomFromEWKT('SRID=4674;POINT (-38.793863 -3.450185)'))) / (select extract(epoch from '2026-07-17 16:43:26'::timestamp) - extract(epoch from '2026-07-17 16:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.793918 -3.450297)', '2026-07-17 16:43:31', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793863 -3.450185)'), GeomFromEWKT('SRID=4674;POINT (-38.793918 -3.450297)'))) / (select extract(epoch from '2026-07-17 16:43:31'::timestamp) - extract(epoch from '2026-07-17 16:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793863 -3.450185)'), GeomFromEWKT('SRID=4674;POINT (-38.793918 -3.450297)'))) / (select extract(epoch from '2026-07-17 16:43:31'::timestamp) - extract(epoch from '2026-07-17 16:43: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'), 47317, 'SRID=4674;POINT (-38.793992 -3.450467)', '2026-07-17 16:43:38', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793918 -3.450297)'), GeomFromEWKT('SRID=4674;POINT (-38.793992 -3.450467)'))) / (select extract(epoch from '2026-07-17 16:43:38'::timestamp) - extract(epoch from '2026-07-17 16:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793918 -3.450297)'), GeomFromEWKT('SRID=4674;POINT (-38.793992 -3.450467)'))) / (select extract(epoch from '2026-07-17 16:43:38'::timestamp) - extract(epoch from '2026-07-17 16:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.794002 -3.450489)', '2026-07-17 16:43:39', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793992 -3.450467)'), GeomFromEWKT('SRID=4674;POINT (-38.794002 -3.450489)'))) / (select extract(epoch from '2026-07-17 16:43:39'::timestamp) - extract(epoch from '2026-07-17 16:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.793992 -3.450467)'), GeomFromEWKT('SRID=4674;POINT (-38.794002 -3.450489)'))) / (select extract(epoch from '2026-07-17 16:43:39'::timestamp) - extract(epoch from '2026-07-17 16:43: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'), 47317, 'SRID=4674;POINT (-38.794059 -3.45063)', '2026-07-17 16:43:45', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794002 -3.450489)'), GeomFromEWKT('SRID=4674;POINT (-38.794059 -3.45063)'))) / (select extract(epoch from '2026-07-17 16:43:45'::timestamp) - extract(epoch from '2026-07-17 16:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.794002 -3.450489)'), GeomFromEWKT('SRID=4674;POINT (-38.794059 -3.45063)'))) / (select extract(epoch from '2026-07-17 16:43:45'::timestamp) - extract(epoch from '2026-07-17 16:43:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
