 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483122 -3.457183)', '2026-07-18 15:14:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4831 -3.457126)'), GeomFromEWKT('SRID=4674;POINT (-38.483122 -3.457183)'))) / (select extract(epoch from '2026-07-18 15:14:42'::timestamp) - extract(epoch from '2026-07-18 15:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4831 -3.457126)'), GeomFromEWKT('SRID=4674;POINT (-38.483122 -3.457183)'))) / (select extract(epoch from '2026-07-18 15:14:42'::timestamp) - extract(epoch from '2026-07-18 15:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483158 -3.457287)', '2026-07-18 15:14:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483122 -3.457183)'), GeomFromEWKT('SRID=4674;POINT (-38.483158 -3.457287)'))) / (select extract(epoch from '2026-07-18 15:14:48'::timestamp) - extract(epoch from '2026-07-18 15:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483122 -3.457183)'), GeomFromEWKT('SRID=4674;POINT (-38.483158 -3.457287)'))) / (select extract(epoch from '2026-07-18 15:14:48'::timestamp) - extract(epoch from '2026-07-18 15:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483195 -3.457383)', '2026-07-18 15:14:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483158 -3.457287)'), GeomFromEWKT('SRID=4674;POINT (-38.483195 -3.457383)'))) / (select extract(epoch from '2026-07-18 15:14:54'::timestamp) - extract(epoch from '2026-07-18 15:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483158 -3.457287)'), GeomFromEWKT('SRID=4674;POINT (-38.483195 -3.457383)'))) / (select extract(epoch from '2026-07-18 15:14:54'::timestamp) - extract(epoch from '2026-07-18 15:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483246 -3.457475)', '2026-07-18 15:15:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483195 -3.457383)'), GeomFromEWKT('SRID=4674;POINT (-38.483246 -3.457475)'))) / (select extract(epoch from '2026-07-18 15:15:00'::timestamp) - extract(epoch from '2026-07-18 15:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483195 -3.457383)'), GeomFromEWKT('SRID=4674;POINT (-38.483246 -3.457475)'))) / (select extract(epoch from '2026-07-18 15:15:00'::timestamp) - extract(epoch from '2026-07-18 15:14:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483315 -3.457561)', '2026-07-18 15:15:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483246 -3.457475)'), GeomFromEWKT('SRID=4674;POINT (-38.483315 -3.457561)'))) / (select extract(epoch from '2026-07-18 15:15:06'::timestamp) - extract(epoch from '2026-07-18 15:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483246 -3.457475)'), GeomFromEWKT('SRID=4674;POINT (-38.483315 -3.457561)'))) / (select extract(epoch from '2026-07-18 15:15:06'::timestamp) - extract(epoch from '2026-07-18 15:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483328 -3.457577)', '2026-07-18 15:15:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483315 -3.457561)'), GeomFromEWKT('SRID=4674;POINT (-38.483328 -3.457577)'))) / (select extract(epoch from '2026-07-18 15:15:07'::timestamp) - extract(epoch from '2026-07-18 15:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483315 -3.457561)'), GeomFromEWKT('SRID=4674;POINT (-38.483328 -3.457577)'))) / (select extract(epoch from '2026-07-18 15:15:07'::timestamp) - extract(epoch from '2026-07-18 15:15:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483351 -3.457605)', '2026-07-18 15:15:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483328 -3.457577)'), GeomFromEWKT('SRID=4674;POINT (-38.483351 -3.457605)'))) / (select extract(epoch from '2026-07-18 15:15:09'::timestamp) - extract(epoch from '2026-07-18 15:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483328 -3.457577)'), GeomFromEWKT('SRID=4674;POINT (-38.483351 -3.457605)'))) / (select extract(epoch from '2026-07-18 15:15:09'::timestamp) - extract(epoch from '2026-07-18 15:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483361 -3.457627)', '2026-07-18 15:15:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483351 -3.457605)'), GeomFromEWKT('SRID=4674;POINT (-38.483361 -3.457627)'))) / (select extract(epoch from '2026-07-18 15:15:11'::timestamp) - extract(epoch from '2026-07-18 15:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483351 -3.457605)'), GeomFromEWKT('SRID=4674;POINT (-38.483361 -3.457627)'))) / (select extract(epoch from '2026-07-18 15:15:11'::timestamp) - extract(epoch from '2026-07-18 15:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483391 -3.45768)', '2026-07-18 15:15:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483361 -3.457627)'), GeomFromEWKT('SRID=4674;POINT (-38.483391 -3.45768)'))) / (select extract(epoch from '2026-07-18 15:15:14'::timestamp) - extract(epoch from '2026-07-18 15:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483361 -3.457627)'), GeomFromEWKT('SRID=4674;POINT (-38.483391 -3.45768)'))) / (select extract(epoch from '2026-07-18 15:15:14'::timestamp) - extract(epoch from '2026-07-18 15:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483417 -3.457732)', '2026-07-18 15:15:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483391 -3.45768)'), GeomFromEWKT('SRID=4674;POINT (-38.483417 -3.457732)'))) / (select extract(epoch from '2026-07-18 15:15:16'::timestamp) - extract(epoch from '2026-07-18 15:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483391 -3.45768)'), GeomFromEWKT('SRID=4674;POINT (-38.483417 -3.457732)'))) / (select extract(epoch from '2026-07-18 15:15:16'::timestamp) - extract(epoch from '2026-07-18 15:15:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483437 -3.457791)', '2026-07-18 15:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483417 -3.457732)'), GeomFromEWKT('SRID=4674;POINT (-38.483437 -3.457791)'))) / (select extract(epoch from '2026-07-18 15:15:19'::timestamp) - extract(epoch from '2026-07-18 15:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483417 -3.457732)'), GeomFromEWKT('SRID=4674;POINT (-38.483437 -3.457791)'))) / (select extract(epoch from '2026-07-18 15:15:19'::timestamp) - extract(epoch from '2026-07-18 15:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483481 -3.457885)', '2026-07-18 15:15:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483437 -3.457791)'), GeomFromEWKT('SRID=4674;POINT (-38.483481 -3.457885)'))) / (select extract(epoch from '2026-07-18 15:15:25'::timestamp) - extract(epoch from '2026-07-18 15:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483437 -3.457791)'), GeomFromEWKT('SRID=4674;POINT (-38.483481 -3.457885)'))) / (select extract(epoch from '2026-07-18 15:15:25'::timestamp) - extract(epoch from '2026-07-18 15:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483537 -3.458009)', '2026-07-18 15:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483481 -3.457885)'), GeomFromEWKT('SRID=4674;POINT (-38.483537 -3.458009)'))) / (select extract(epoch from '2026-07-18 15:15:33'::timestamp) - extract(epoch from '2026-07-18 15:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483481 -3.457885)'), GeomFromEWKT('SRID=4674;POINT (-38.483537 -3.458009)'))) / (select extract(epoch from '2026-07-18 15:15:33'::timestamp) - extract(epoch from '2026-07-18 15:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483576 -3.458073)', '2026-07-18 15:15:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483537 -3.458009)'), GeomFromEWKT('SRID=4674;POINT (-38.483576 -3.458073)'))) / (select extract(epoch from '2026-07-18 15:15:37'::timestamp) - extract(epoch from '2026-07-18 15:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483537 -3.458009)'), GeomFromEWKT('SRID=4674;POINT (-38.483576 -3.458073)'))) / (select extract(epoch from '2026-07-18 15:15:37'::timestamp) - extract(epoch from '2026-07-18 15:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483574 -3.458086)', '2026-07-18 15:15:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483576 -3.458073)'), GeomFromEWKT('SRID=4674;POINT (-38.483574 -3.458086)'))) / (select extract(epoch from '2026-07-18 15:15:38'::timestamp) - extract(epoch from '2026-07-18 15:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483576 -3.458073)'), GeomFromEWKT('SRID=4674;POINT (-38.483574 -3.458086)'))) / (select extract(epoch from '2026-07-18 15:15:38'::timestamp) - extract(epoch from '2026-07-18 15:15:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483573 -3.458119)', '2026-07-18 15:15:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483574 -3.458086)'), GeomFromEWKT('SRID=4674;POINT (-38.483573 -3.458119)'))) / (select extract(epoch from '2026-07-18 15:15:40'::timestamp) - extract(epoch from '2026-07-18 15:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483574 -3.458086)'), GeomFromEWKT('SRID=4674;POINT (-38.483573 -3.458119)'))) / (select extract(epoch from '2026-07-18 15:15:40'::timestamp) - extract(epoch from '2026-07-18 15:15:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483577 -3.45813)', '2026-07-18 15:15:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483573 -3.458119)'), GeomFromEWKT('SRID=4674;POINT (-38.483577 -3.45813)'))) / (select extract(epoch from '2026-07-18 15:15:41'::timestamp) - extract(epoch from '2026-07-18 15:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483573 -3.458119)'), GeomFromEWKT('SRID=4674;POINT (-38.483577 -3.45813)'))) / (select extract(epoch from '2026-07-18 15:15:41'::timestamp) - extract(epoch from '2026-07-18 15:15:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483587 -3.45815)', '2026-07-18 15:15:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483577 -3.45813)'), GeomFromEWKT('SRID=4674;POINT (-38.483587 -3.45815)'))) / (select extract(epoch from '2026-07-18 15:15:42'::timestamp) - extract(epoch from '2026-07-18 15:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483577 -3.45813)'), GeomFromEWKT('SRID=4674;POINT (-38.483587 -3.45815)'))) / (select extract(epoch from '2026-07-18 15:15:42'::timestamp) - extract(epoch from '2026-07-18 15:15:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483601 -3.45818)', '2026-07-18 15:15:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483587 -3.45815)'), GeomFromEWKT('SRID=4674;POINT (-38.483601 -3.45818)'))) / (select extract(epoch from '2026-07-18 15:15:44'::timestamp) - extract(epoch from '2026-07-18 15:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483587 -3.45815)'), GeomFromEWKT('SRID=4674;POINT (-38.483601 -3.45818)'))) / (select extract(epoch from '2026-07-18 15:15:44'::timestamp) - extract(epoch from '2026-07-18 15:15:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483607 -3.458195)', '2026-07-18 15:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483601 -3.45818)'), GeomFromEWKT('SRID=4674;POINT (-38.483607 -3.458195)'))) / (select extract(epoch from '2026-07-18 15:15:45'::timestamp) - extract(epoch from '2026-07-18 15:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483601 -3.45818)'), GeomFromEWKT('SRID=4674;POINT (-38.483607 -3.458195)'))) / (select extract(epoch from '2026-07-18 15:15:45'::timestamp) - extract(epoch from '2026-07-18 15:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483646 -3.45828)', '2026-07-18 15:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483607 -3.458195)'), GeomFromEWKT('SRID=4674;POINT (-38.483646 -3.45828)'))) / (select extract(epoch from '2026-07-18 15:15:50'::timestamp) - extract(epoch from '2026-07-18 15:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483607 -3.458195)'), GeomFromEWKT('SRID=4674;POINT (-38.483646 -3.45828)'))) / (select extract(epoch from '2026-07-18 15:15:50'::timestamp) - extract(epoch from '2026-07-18 15:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483673 -3.458343)', '2026-07-18 15:15:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483646 -3.45828)'), GeomFromEWKT('SRID=4674;POINT (-38.483673 -3.458343)'))) / (select extract(epoch from '2026-07-18 15:15:54'::timestamp) - extract(epoch from '2026-07-18 15:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483646 -3.45828)'), GeomFromEWKT('SRID=4674;POINT (-38.483673 -3.458343)'))) / (select extract(epoch from '2026-07-18 15:15:54'::timestamp) - extract(epoch from '2026-07-18 15:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48374 -3.458458)', '2026-07-18 15:16:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483673 -3.458343)'), GeomFromEWKT('SRID=4674;POINT (-38.48374 -3.458458)'))) / (select extract(epoch from '2026-07-18 15:16:01'::timestamp) - extract(epoch from '2026-07-18 15:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483673 -3.458343)'), GeomFromEWKT('SRID=4674;POINT (-38.48374 -3.458458)'))) / (select extract(epoch from '2026-07-18 15:16:01'::timestamp) - extract(epoch from '2026-07-18 15:15:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483763 -3.458507)', '2026-07-18 15:16:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48374 -3.458458)'), GeomFromEWKT('SRID=4674;POINT (-38.483763 -3.458507)'))) / (select extract(epoch from '2026-07-18 15:16:04'::timestamp) - extract(epoch from '2026-07-18 15:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48374 -3.458458)'), GeomFromEWKT('SRID=4674;POINT (-38.483763 -3.458507)'))) / (select extract(epoch from '2026-07-18 15:16:04'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.483768 -3.458548)', '2026-07-18 15:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483763 -3.458507)'), GeomFromEWKT('SRID=4674;POINT (-38.483768 -3.458548)'))) / (select extract(epoch from '2026-07-18 15:16:06'::timestamp) - extract(epoch from '2026-07-18 15:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483763 -3.458507)'), GeomFromEWKT('SRID=4674;POINT (-38.483768 -3.458548)'))) / (select extract(epoch from '2026-07-18 15:16:06'::timestamp) - extract(epoch from '2026-07-18 15:16:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48378 -3.458579)', '2026-07-18 15:16:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483768 -3.458548)'), GeomFromEWKT('SRID=4674;POINT (-38.48378 -3.458579)'))) / (select extract(epoch from '2026-07-18 15:16:09'::timestamp) - extract(epoch from '2026-07-18 15:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483768 -3.458548)'), GeomFromEWKT('SRID=4674;POINT (-38.48378 -3.458579)'))) / (select extract(epoch from '2026-07-18 15:16:09'::timestamp) - extract(epoch from '2026-07-18 15:16:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483823 -3.458653)', '2026-07-18 15:16:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48378 -3.458579)'), GeomFromEWKT('SRID=4674;POINT (-38.483823 -3.458653)'))) / (select extract(epoch from '2026-07-18 15:16:14'::timestamp) - extract(epoch from '2026-07-18 15:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48378 -3.458579)'), GeomFromEWKT('SRID=4674;POINT (-38.483823 -3.458653)'))) / (select extract(epoch from '2026-07-18 15:16:14'::timestamp) - extract(epoch from '2026-07-18 15:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48389 -3.45875)', '2026-07-18 15:16:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483823 -3.458653)'), GeomFromEWKT('SRID=4674;POINT (-38.48389 -3.45875)'))) / (select extract(epoch from '2026-07-18 15:16:20'::timestamp) - extract(epoch from '2026-07-18 15:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483823 -3.458653)'), GeomFromEWKT('SRID=4674;POINT (-38.48389 -3.45875)'))) / (select extract(epoch from '2026-07-18 15:16:20'::timestamp) - extract(epoch from '2026-07-18 15:16:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483942 -3.458843)', '2026-07-18 15:16:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48389 -3.45875)'), GeomFromEWKT('SRID=4674;POINT (-38.483942 -3.458843)'))) / (select extract(epoch from '2026-07-18 15:16:26'::timestamp) - extract(epoch from '2026-07-18 15:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48389 -3.45875)'), GeomFromEWKT('SRID=4674;POINT (-38.483942 -3.458843)'))) / (select extract(epoch from '2026-07-18 15:16:26'::timestamp) - extract(epoch from '2026-07-18 15:16:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483968 -3.458866)', '2026-07-18 15:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483942 -3.458843)'), GeomFromEWKT('SRID=4674;POINT (-38.483968 -3.458866)'))) / (select extract(epoch from '2026-07-18 15:16:28'::timestamp) - extract(epoch from '2026-07-18 15:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483942 -3.458843)'), GeomFromEWKT('SRID=4674;POINT (-38.483968 -3.458866)'))) / (select extract(epoch from '2026-07-18 15:16:28'::timestamp) - extract(epoch from '2026-07-18 15:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483983 -3.458895)', '2026-07-18 15:16:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483968 -3.458866)'), GeomFromEWKT('SRID=4674;POINT (-38.483983 -3.458895)'))) / (select extract(epoch from '2026-07-18 15:16:30'::timestamp) - extract(epoch from '2026-07-18 15:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483968 -3.458866)'), GeomFromEWKT('SRID=4674;POINT (-38.483983 -3.458895)'))) / (select extract(epoch from '2026-07-18 15:16:30'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.483994 -3.458917)', '2026-07-18 15:16:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483983 -3.458895)'), GeomFromEWKT('SRID=4674;POINT (-38.483994 -3.458917)'))) / (select extract(epoch from '2026-07-18 15:16:31'::timestamp) - extract(epoch from '2026-07-18 15:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483983 -3.458895)'), GeomFromEWKT('SRID=4674;POINT (-38.483994 -3.458917)'))) / (select extract(epoch from '2026-07-18 15:16:31'::timestamp) - extract(epoch from '2026-07-18 15:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484038 -3.458993)', '2026-07-18 15:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483994 -3.458917)'), GeomFromEWKT('SRID=4674;POINT (-38.484038 -3.458993)'))) / (select extract(epoch from '2026-07-18 15:16:35'::timestamp) - extract(epoch from '2026-07-18 15:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483994 -3.458917)'), GeomFromEWKT('SRID=4674;POINT (-38.484038 -3.458993)'))) / (select extract(epoch from '2026-07-18 15:16:35'::timestamp) - extract(epoch from '2026-07-18 15:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484115 -3.459135)', '2026-07-18 15:16:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484038 -3.458993)'), GeomFromEWKT('SRID=4674;POINT (-38.484115 -3.459135)'))) / (select extract(epoch from '2026-07-18 15:16:43'::timestamp) - extract(epoch from '2026-07-18 15:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484038 -3.458993)'), GeomFromEWKT('SRID=4674;POINT (-38.484115 -3.459135)'))) / (select extract(epoch from '2026-07-18 15:16:43'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.484168 -3.459225)', '2026-07-18 15:16:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484115 -3.459135)'), GeomFromEWKT('SRID=4674;POINT (-38.484168 -3.459225)'))) / (select extract(epoch from '2026-07-18 15:16:48'::timestamp) - extract(epoch from '2026-07-18 15:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484115 -3.459135)'), GeomFromEWKT('SRID=4674;POINT (-38.484168 -3.459225)'))) / (select extract(epoch from '2026-07-18 15:16:48'::timestamp) - extract(epoch from '2026-07-18 15:16:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48423 -3.459343)', '2026-07-18 15:16:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484168 -3.459225)'), GeomFromEWKT('SRID=4674;POINT (-38.48423 -3.459343)'))) / (select extract(epoch from '2026-07-18 15:16:55'::timestamp) - extract(epoch from '2026-07-18 15:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484168 -3.459225)'), GeomFromEWKT('SRID=4674;POINT (-38.48423 -3.459343)'))) / (select extract(epoch from '2026-07-18 15:16:55'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.484238 -3.459359)', '2026-07-18 15:16:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48423 -3.459343)'), GeomFromEWKT('SRID=4674;POINT (-38.484238 -3.459359)'))) / (select extract(epoch from '2026-07-18 15:16:56'::timestamp) - extract(epoch from '2026-07-18 15:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48423 -3.459343)'), GeomFromEWKT('SRID=4674;POINT (-38.484238 -3.459359)'))) / (select extract(epoch from '2026-07-18 15:16:56'::timestamp) - extract(epoch from '2026-07-18 15:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484275 -3.459404)', '2026-07-18 15:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484238 -3.459359)'), GeomFromEWKT('SRID=4674;POINT (-38.484275 -3.459404)'))) / (select extract(epoch from '2026-07-18 15:16:59'::timestamp) - extract(epoch from '2026-07-18 15:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484238 -3.459359)'), GeomFromEWKT('SRID=4674;POINT (-38.484275 -3.459404)'))) / (select extract(epoch from '2026-07-18 15:16:59'::timestamp) - extract(epoch from '2026-07-18 15:16:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484287 -3.459429)', '2026-07-18 15:17:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484275 -3.459404)'), GeomFromEWKT('SRID=4674;POINT (-38.484287 -3.459429)'))) / (select extract(epoch from '2026-07-18 15:17:01'::timestamp) - extract(epoch from '2026-07-18 15:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484275 -3.459404)'), GeomFromEWKT('SRID=4674;POINT (-38.484287 -3.459429)'))) / (select extract(epoch from '2026-07-18 15:17:01'::timestamp) - extract(epoch from '2026-07-18 15:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484329 -3.459481)', '2026-07-18 15:17:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484287 -3.459429)'), GeomFromEWKT('SRID=4674;POINT (-38.484329 -3.459481)'))) / (select extract(epoch from '2026-07-18 15:17:04'::timestamp) - extract(epoch from '2026-07-18 15:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484287 -3.459429)'), GeomFromEWKT('SRID=4674;POINT (-38.484329 -3.459481)'))) / (select extract(epoch from '2026-07-18 15:17:04'::timestamp) - extract(epoch from '2026-07-18 15:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484345 -3.459514)', '2026-07-18 15:17:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484329 -3.459481)'), GeomFromEWKT('SRID=4674;POINT (-38.484345 -3.459514)'))) / (select extract(epoch from '2026-07-18 15:17:06'::timestamp) - extract(epoch from '2026-07-18 15:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484329 -3.459481)'), GeomFromEWKT('SRID=4674;POINT (-38.484345 -3.459514)'))) / (select extract(epoch from '2026-07-18 15:17:06'::timestamp) - extract(epoch from '2026-07-18 15:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484356 -3.459543)', '2026-07-18 15:17:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484345 -3.459514)'), GeomFromEWKT('SRID=4674;POINT (-38.484356 -3.459543)'))) / (select extract(epoch from '2026-07-18 15:17:08'::timestamp) - extract(epoch from '2026-07-18 15:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484345 -3.459514)'), GeomFromEWKT('SRID=4674;POINT (-38.484356 -3.459543)'))) / (select extract(epoch from '2026-07-18 15:17:08'::timestamp) - extract(epoch from '2026-07-18 15:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484403 -3.459628)', '2026-07-18 15:17:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484356 -3.459543)'), GeomFromEWKT('SRID=4674;POINT (-38.484403 -3.459628)'))) / (select extract(epoch from '2026-07-18 15:17:13'::timestamp) - extract(epoch from '2026-07-18 15:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484356 -3.459543)'), GeomFromEWKT('SRID=4674;POINT (-38.484403 -3.459628)'))) / (select extract(epoch from '2026-07-18 15:17:13'::timestamp) - extract(epoch from '2026-07-18 15:17:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484448 -3.459721)', '2026-07-18 15:17:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484403 -3.459628)'), GeomFromEWKT('SRID=4674;POINT (-38.484448 -3.459721)'))) / (select extract(epoch from '2026-07-18 15:17:19'::timestamp) - extract(epoch from '2026-07-18 15:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484403 -3.459628)'), GeomFromEWKT('SRID=4674;POINT (-38.484448 -3.459721)'))) / (select extract(epoch from '2026-07-18 15:17:19'::timestamp) - extract(epoch from '2026-07-18 15:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484505 -3.459811)', '2026-07-18 15:17:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484448 -3.459721)'), GeomFromEWKT('SRID=4674;POINT (-38.484505 -3.459811)'))) / (select extract(epoch from '2026-07-18 15:17:25'::timestamp) - extract(epoch from '2026-07-18 15:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484448 -3.459721)'), GeomFromEWKT('SRID=4674;POINT (-38.484505 -3.459811)'))) / (select extract(epoch from '2026-07-18 15:17:25'::timestamp) - extract(epoch from '2026-07-18 15:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484526 -3.459841)', '2026-07-18 15:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484505 -3.459811)'), GeomFromEWKT('SRID=4674;POINT (-38.484526 -3.459841)'))) / (select extract(epoch from '2026-07-18 15:17:27'::timestamp) - extract(epoch from '2026-07-18 15:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484505 -3.459811)'), GeomFromEWKT('SRID=4674;POINT (-38.484526 -3.459841)'))) / (select extract(epoch from '2026-07-18 15:17:27'::timestamp) - extract(epoch from '2026-07-18 15:17:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484536 -3.459876)', '2026-07-18 15:17:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484526 -3.459841)'), GeomFromEWKT('SRID=4674;POINT (-38.484536 -3.459876)'))) / (select extract(epoch from '2026-07-18 15:17:29'::timestamp) - extract(epoch from '2026-07-18 15:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484526 -3.459841)'), GeomFromEWKT('SRID=4674;POINT (-38.484536 -3.459876)'))) / (select extract(epoch from '2026-07-18 15:17:29'::timestamp) - extract(epoch from '2026-07-18 15:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484568 -3.459926)', '2026-07-18 15:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484536 -3.459876)'), GeomFromEWKT('SRID=4674;POINT (-38.484568 -3.459926)'))) / (select extract(epoch from '2026-07-18 15:17:32'::timestamp) - extract(epoch from '2026-07-18 15:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484536 -3.459876)'), GeomFromEWKT('SRID=4674;POINT (-38.484568 -3.459926)'))) / (select extract(epoch from '2026-07-18 15:17:32'::timestamp) - extract(epoch from '2026-07-18 15:17:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484595 -3.459983)', '2026-07-18 15:17:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484568 -3.459926)'), GeomFromEWKT('SRID=4674;POINT (-38.484595 -3.459983)'))) / (select extract(epoch from '2026-07-18 15:17:35'::timestamp) - extract(epoch from '2026-07-18 15:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484568 -3.459926)'), GeomFromEWKT('SRID=4674;POINT (-38.484595 -3.459983)'))) / (select extract(epoch from '2026-07-18 15:17:35'::timestamp) - extract(epoch from '2026-07-18 15:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484644 -3.460065)', '2026-07-18 15:17:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484595 -3.459983)'), GeomFromEWKT('SRID=4674;POINT (-38.484644 -3.460065)'))) / (select extract(epoch from '2026-07-18 15:17:40'::timestamp) - extract(epoch from '2026-07-18 15:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484595 -3.459983)'), GeomFromEWKT('SRID=4674;POINT (-38.484644 -3.460065)'))) / (select extract(epoch from '2026-07-18 15:17:40'::timestamp) - extract(epoch from '2026-07-18 15:17:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484694 -3.460153)', '2026-07-18 15:17:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484644 -3.460065)'), GeomFromEWKT('SRID=4674;POINT (-38.484694 -3.460153)'))) / (select extract(epoch from '2026-07-18 15:17:45'::timestamp) - extract(epoch from '2026-07-18 15:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484644 -3.460065)'), GeomFromEWKT('SRID=4674;POINT (-38.484694 -3.460153)'))) / (select extract(epoch from '2026-07-18 15:17:45'::timestamp) - extract(epoch from '2026-07-18 15:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484714 -3.460221)', '2026-07-18 15:17:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484694 -3.460153)'), GeomFromEWKT('SRID=4674;POINT (-38.484714 -3.460221)'))) / (select extract(epoch from '2026-07-18 15:17:49'::timestamp) - extract(epoch from '2026-07-18 15:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484694 -3.460153)'), GeomFromEWKT('SRID=4674;POINT (-38.484714 -3.460221)'))) / (select extract(epoch from '2026-07-18 15:17:49'::timestamp) - extract(epoch from '2026-07-18 15:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484724 -3.460237)', '2026-07-18 15:17:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484714 -3.460221)'), GeomFromEWKT('SRID=4674;POINT (-38.484724 -3.460237)'))) / (select extract(epoch from '2026-07-18 15:17:50'::timestamp) - extract(epoch from '2026-07-18 15:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484714 -3.460221)'), GeomFromEWKT('SRID=4674;POINT (-38.484724 -3.460237)'))) / (select extract(epoch from '2026-07-18 15:17:50'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.484739 -3.460282)', '2026-07-18 15:17:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484724 -3.460237)'), GeomFromEWKT('SRID=4674;POINT (-38.484739 -3.460282)'))) / (select extract(epoch from '2026-07-18 15:17:53'::timestamp) - extract(epoch from '2026-07-18 15:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484724 -3.460237)'), GeomFromEWKT('SRID=4674;POINT (-38.484739 -3.460282)'))) / (select extract(epoch from '2026-07-18 15:17:53'::timestamp) - extract(epoch from '2026-07-18 15:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484748 -3.460293)', '2026-07-18 15:17:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484739 -3.460282)'), GeomFromEWKT('SRID=4674;POINT (-38.484748 -3.460293)'))) / (select extract(epoch from '2026-07-18 15:17:54'::timestamp) - extract(epoch from '2026-07-18 15:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484739 -3.460282)'), GeomFromEWKT('SRID=4674;POINT (-38.484748 -3.460293)'))) / (select extract(epoch from '2026-07-18 15:17:54'::timestamp) - extract(epoch from '2026-07-18 15:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4848 -3.460382)', '2026-07-18 15:18:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484748 -3.460293)'), GeomFromEWKT('SRID=4674;POINT (-38.4848 -3.460382)'))) / (select extract(epoch from '2026-07-18 15:18:01'::timestamp) - extract(epoch from '2026-07-18 15:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484748 -3.460293)'), GeomFromEWKT('SRID=4674;POINT (-38.4848 -3.460382)'))) / (select extract(epoch from '2026-07-18 15:18:01'::timestamp) - extract(epoch from '2026-07-18 15:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484855 -3.460481)', '2026-07-18 15:18:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4848 -3.460382)'), GeomFromEWKT('SRID=4674;POINT (-38.484855 -3.460481)'))) / (select extract(epoch from '2026-07-18 15:18:07'::timestamp) - extract(epoch from '2026-07-18 15:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4848 -3.460382)'), GeomFromEWKT('SRID=4674;POINT (-38.484855 -3.460481)'))) / (select extract(epoch from '2026-07-18 15:18:07'::timestamp) - extract(epoch from '2026-07-18 15:18:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484866 -3.460533)', '2026-07-18 15:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484855 -3.460481)'), GeomFromEWKT('SRID=4674;POINT (-38.484866 -3.460533)'))) / (select extract(epoch from '2026-07-18 15:18:10'::timestamp) - extract(epoch from '2026-07-18 15:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484855 -3.460481)'), GeomFromEWKT('SRID=4674;POINT (-38.484866 -3.460533)'))) / (select extract(epoch from '2026-07-18 15:18:10'::timestamp) - extract(epoch from '2026-07-18 15:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48489 -3.460567)', '2026-07-18 15:18:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484866 -3.460533)'), GeomFromEWKT('SRID=4674;POINT (-38.48489 -3.460567)'))) / (select extract(epoch from '2026-07-18 15:18:12'::timestamp) - extract(epoch from '2026-07-18 15:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484866 -3.460533)'), GeomFromEWKT('SRID=4674;POINT (-38.48489 -3.460567)'))) / (select extract(epoch from '2026-07-18 15:18:12'::timestamp) - extract(epoch from '2026-07-18 15:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484909 -3.460593)', '2026-07-18 15:18:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48489 -3.460567)'), GeomFromEWKT('SRID=4674;POINT (-38.484909 -3.460593)'))) / (select extract(epoch from '2026-07-18 15:18:14'::timestamp) - extract(epoch from '2026-07-18 15:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48489 -3.460567)'), GeomFromEWKT('SRID=4674;POINT (-38.484909 -3.460593)'))) / (select extract(epoch from '2026-07-18 15:18:14'::timestamp) - extract(epoch from '2026-07-18 15:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484926 -3.460648)', '2026-07-18 15:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484909 -3.460593)'), GeomFromEWKT('SRID=4674;POINT (-38.484926 -3.460648)'))) / (select extract(epoch from '2026-07-18 15:18:17'::timestamp) - extract(epoch from '2026-07-18 15:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484909 -3.460593)'), GeomFromEWKT('SRID=4674;POINT (-38.484926 -3.460648)'))) / (select extract(epoch from '2026-07-18 15:18:17'::timestamp) - extract(epoch from '2026-07-18 15:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.484971 -3.460738)', '2026-07-18 15:18:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484926 -3.460648)'), GeomFromEWKT('SRID=4674;POINT (-38.484971 -3.460738)'))) / (select extract(epoch from '2026-07-18 15:18:22'::timestamp) - extract(epoch from '2026-07-18 15:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484926 -3.460648)'), GeomFromEWKT('SRID=4674;POINT (-38.484971 -3.460738)'))) / (select extract(epoch from '2026-07-18 15:18:22'::timestamp) - extract(epoch from '2026-07-18 15:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485028 -3.460861)', '2026-07-18 15:18:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484971 -3.460738)'), GeomFromEWKT('SRID=4674;POINT (-38.485028 -3.460861)'))) / (select extract(epoch from '2026-07-18 15:18:29'::timestamp) - extract(epoch from '2026-07-18 15:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.484971 -3.460738)'), GeomFromEWKT('SRID=4674;POINT (-38.485028 -3.460861)'))) / (select extract(epoch from '2026-07-18 15:18:29'::timestamp) - extract(epoch from '2026-07-18 15:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48507 -3.460943)', '2026-07-18 15:18:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485028 -3.460861)'), GeomFromEWKT('SRID=4674;POINT (-38.48507 -3.460943)'))) / (select extract(epoch from '2026-07-18 15:18:34'::timestamp) - extract(epoch from '2026-07-18 15:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485028 -3.460861)'), GeomFromEWKT('SRID=4674;POINT (-38.48507 -3.460943)'))) / (select extract(epoch from '2026-07-18 15:18:34'::timestamp) - extract(epoch from '2026-07-18 15:18:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485113 -3.461038)', '2026-07-18 15:18:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48507 -3.460943)'), GeomFromEWKT('SRID=4674;POINT (-38.485113 -3.461038)'))) / (select extract(epoch from '2026-07-18 15:18:40'::timestamp) - extract(epoch from '2026-07-18 15:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48507 -3.460943)'), GeomFromEWKT('SRID=4674;POINT (-38.485113 -3.461038)'))) / (select extract(epoch from '2026-07-18 15:18:40'::timestamp) - extract(epoch from '2026-07-18 15:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485125 -3.461077)', '2026-07-18 15:18:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485113 -3.461038)'), GeomFromEWKT('SRID=4674;POINT (-38.485125 -3.461077)'))) / (select extract(epoch from '2026-07-18 15:18:43'::timestamp) - extract(epoch from '2026-07-18 15:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485113 -3.461038)'), GeomFromEWKT('SRID=4674;POINT (-38.485125 -3.461077)'))) / (select extract(epoch from '2026-07-18 15:18:43'::timestamp) - extract(epoch from '2026-07-18 15:18:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485141 -3.461111)', '2026-07-18 15:18:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485125 -3.461077)'), GeomFromEWKT('SRID=4674;POINT (-38.485141 -3.461111)'))) / (select extract(epoch from '2026-07-18 15:18:45'::timestamp) - extract(epoch from '2026-07-18 15:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485125 -3.461077)'), GeomFromEWKT('SRID=4674;POINT (-38.485141 -3.461111)'))) / (select extract(epoch from '2026-07-18 15:18:45'::timestamp) - extract(epoch from '2026-07-18 15:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485161 -3.461142)', '2026-07-18 15:18:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485141 -3.461111)'), GeomFromEWKT('SRID=4674;POINT (-38.485161 -3.461142)'))) / (select extract(epoch from '2026-07-18 15:18:47'::timestamp) - extract(epoch from '2026-07-18 15:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485141 -3.461111)'), GeomFromEWKT('SRID=4674;POINT (-38.485161 -3.461142)'))) / (select extract(epoch from '2026-07-18 15:18:47'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.485175 -3.461194)', '2026-07-18 15:18:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485161 -3.461142)'), GeomFromEWKT('SRID=4674;POINT (-38.485175 -3.461194)'))) / (select extract(epoch from '2026-07-18 15:18:50'::timestamp) - extract(epoch from '2026-07-18 15:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485161 -3.461142)'), GeomFromEWKT('SRID=4674;POINT (-38.485175 -3.461194)'))) / (select extract(epoch from '2026-07-18 15:18:50'::timestamp) - extract(epoch from '2026-07-18 15:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485233 -3.461313)', '2026-07-18 15:18:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485175 -3.461194)'), GeomFromEWKT('SRID=4674;POINT (-38.485233 -3.461313)'))) / (select extract(epoch from '2026-07-18 15:18:57'::timestamp) - extract(epoch from '2026-07-18 15:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485175 -3.461194)'), GeomFromEWKT('SRID=4674;POINT (-38.485233 -3.461313)'))) / (select extract(epoch from '2026-07-18 15:18:57'::timestamp) - extract(epoch from '2026-07-18 15:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485297 -3.461421)', '2026-07-18 15:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485233 -3.461313)'), GeomFromEWKT('SRID=4674;POINT (-38.485297 -3.461421)'))) / (select extract(epoch from '2026-07-18 15:19:03'::timestamp) - extract(epoch from '2026-07-18 15:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485233 -3.461313)'), GeomFromEWKT('SRID=4674;POINT (-38.485297 -3.461421)'))) / (select extract(epoch from '2026-07-18 15:19:03'::timestamp) - extract(epoch from '2026-07-18 15:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485345 -3.461506)', '2026-07-18 15:19:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485297 -3.461421)'), GeomFromEWKT('SRID=4674;POINT (-38.485345 -3.461506)'))) / (select extract(epoch from '2026-07-18 15:19:08'::timestamp) - extract(epoch from '2026-07-18 15:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485297 -3.461421)'), GeomFromEWKT('SRID=4674;POINT (-38.485345 -3.461506)'))) / (select extract(epoch from '2026-07-18 15:19:08'::timestamp) - extract(epoch from '2026-07-18 15:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485352 -3.461524)', '2026-07-18 15:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485345 -3.461506)'), GeomFromEWKT('SRID=4674;POINT (-38.485352 -3.461524)'))) / (select extract(epoch from '2026-07-18 15:19:09'::timestamp) - extract(epoch from '2026-07-18 15:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485345 -3.461506)'), GeomFromEWKT('SRID=4674;POINT (-38.485352 -3.461524)'))) / (select extract(epoch from '2026-07-18 15:19:09'::timestamp) - extract(epoch from '2026-07-18 15:19:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485353 -3.46157)', '2026-07-18 15:19:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485352 -3.461524)'), GeomFromEWKT('SRID=4674;POINT (-38.485353 -3.46157)'))) / (select extract(epoch from '2026-07-18 15:19:12'::timestamp) - extract(epoch from '2026-07-18 15:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485352 -3.461524)'), GeomFromEWKT('SRID=4674;POINT (-38.485353 -3.46157)'))) / (select extract(epoch from '2026-07-18 15:19:12'::timestamp) - extract(epoch from '2026-07-18 15:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485397 -3.461641)', '2026-07-18 15:19:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485353 -3.46157)'), GeomFromEWKT('SRID=4674;POINT (-38.485397 -3.461641)'))) / (select extract(epoch from '2026-07-18 15:19:16'::timestamp) - extract(epoch from '2026-07-18 15:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485353 -3.46157)'), GeomFromEWKT('SRID=4674;POINT (-38.485397 -3.461641)'))) / (select extract(epoch from '2026-07-18 15:19:16'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.485426 -3.461701)', '2026-07-18 15:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485397 -3.461641)'), GeomFromEWKT('SRID=4674;POINT (-38.485426 -3.461701)'))) / (select extract(epoch from '2026-07-18 15:19:20'::timestamp) - extract(epoch from '2026-07-18 15:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485397 -3.461641)'), GeomFromEWKT('SRID=4674;POINT (-38.485426 -3.461701)'))) / (select extract(epoch from '2026-07-18 15:19:20'::timestamp) - extract(epoch from '2026-07-18 15:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485438 -3.461718)', '2026-07-18 15:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485426 -3.461701)'), GeomFromEWKT('SRID=4674;POINT (-38.485438 -3.461718)'))) / (select extract(epoch from '2026-07-18 15:19:21'::timestamp) - extract(epoch from '2026-07-18 15:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485426 -3.461701)'), GeomFromEWKT('SRID=4674;POINT (-38.485438 -3.461718)'))) / (select extract(epoch from '2026-07-18 15:19:21'::timestamp) - extract(epoch from '2026-07-18 15:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485471 -3.461773)', '2026-07-18 15:19:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485438 -3.461718)'), GeomFromEWKT('SRID=4674;POINT (-38.485471 -3.461773)'))) / (select extract(epoch from '2026-07-18 15:19:24'::timestamp) - extract(epoch from '2026-07-18 15:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485438 -3.461718)'), GeomFromEWKT('SRID=4674;POINT (-38.485471 -3.461773)'))) / (select extract(epoch from '2026-07-18 15:19:24'::timestamp) - extract(epoch from '2026-07-18 15:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485524 -3.461844)', '2026-07-18 15:19:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485471 -3.461773)'), GeomFromEWKT('SRID=4674;POINT (-38.485524 -3.461844)'))) / (select extract(epoch from '2026-07-18 15:19:29'::timestamp) - extract(epoch from '2026-07-18 15:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485471 -3.461773)'), GeomFromEWKT('SRID=4674;POINT (-38.485524 -3.461844)'))) / (select extract(epoch from '2026-07-18 15:19:29'::timestamp) - extract(epoch from '2026-07-18 15:19:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485583 -3.461911)', '2026-07-18 15:19:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485524 -3.461844)'), GeomFromEWKT('SRID=4674;POINT (-38.485583 -3.461911)'))) / (select extract(epoch from '2026-07-18 15:19:34'::timestamp) - extract(epoch from '2026-07-18 15:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485524 -3.461844)'), GeomFromEWKT('SRID=4674;POINT (-38.485583 -3.461911)'))) / (select extract(epoch from '2026-07-18 15:19:34'::timestamp) - extract(epoch from '2026-07-18 15:19:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485634 -3.461996)', '2026-07-18 15:19:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485583 -3.461911)'), GeomFromEWKT('SRID=4674;POINT (-38.485634 -3.461996)'))) / (select extract(epoch from '2026-07-18 15:19:39'::timestamp) - extract(epoch from '2026-07-18 15:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485583 -3.461911)'), GeomFromEWKT('SRID=4674;POINT (-38.485634 -3.461996)'))) / (select extract(epoch from '2026-07-18 15:19:39'::timestamp) - extract(epoch from '2026-07-18 15:19:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485684 -3.462091)', '2026-07-18 15:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485634 -3.461996)'), GeomFromEWKT('SRID=4674;POINT (-38.485684 -3.462091)'))) / (select extract(epoch from '2026-07-18 15:19:45'::timestamp) - extract(epoch from '2026-07-18 15:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485634 -3.461996)'), GeomFromEWKT('SRID=4674;POINT (-38.485684 -3.462091)'))) / (select extract(epoch from '2026-07-18 15:19:45'::timestamp) - extract(epoch from '2026-07-18 15:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485734 -3.46219)', '2026-07-18 15:19:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485684 -3.462091)'), GeomFromEWKT('SRID=4674;POINT (-38.485734 -3.46219)'))) / (select extract(epoch from '2026-07-18 15:19:51'::timestamp) - extract(epoch from '2026-07-18 15:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485684 -3.462091)'), GeomFromEWKT('SRID=4674;POINT (-38.485734 -3.46219)'))) / (select extract(epoch from '2026-07-18 15:19:51'::timestamp) - extract(epoch from '2026-07-18 15:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485749 -3.462222)', '2026-07-18 15:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485734 -3.46219)'), GeomFromEWKT('SRID=4674;POINT (-38.485749 -3.462222)'))) / (select extract(epoch from '2026-07-18 15:19:53'::timestamp) - extract(epoch from '2026-07-18 15:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485734 -3.46219)'), GeomFromEWKT('SRID=4674;POINT (-38.485749 -3.462222)'))) / (select extract(epoch from '2026-07-18 15:19:53'::timestamp) - extract(epoch from '2026-07-18 15:19:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485767 -3.462272)', '2026-07-18 15:19:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485749 -3.462222)'), GeomFromEWKT('SRID=4674;POINT (-38.485767 -3.462272)'))) / (select extract(epoch from '2026-07-18 15:19:56'::timestamp) - extract(epoch from '2026-07-18 15:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485749 -3.462222)'), GeomFromEWKT('SRID=4674;POINT (-38.485767 -3.462272)'))) / (select extract(epoch from '2026-07-18 15:19:56'::timestamp) - extract(epoch from '2026-07-18 15:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48581 -3.462346)', '2026-07-18 15:20:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485767 -3.462272)'), GeomFromEWKT('SRID=4674;POINT (-38.48581 -3.462346)'))) / (select extract(epoch from '2026-07-18 15:20:01'::timestamp) - extract(epoch from '2026-07-18 15:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485767 -3.462272)'), GeomFromEWKT('SRID=4674;POINT (-38.48581 -3.462346)'))) / (select extract(epoch from '2026-07-18 15:20:01'::timestamp) - extract(epoch from '2026-07-18 15:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48583 -3.462383)', '2026-07-18 15:20:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48581 -3.462346)'), GeomFromEWKT('SRID=4674;POINT (-38.48583 -3.462383)'))) / (select extract(epoch from '2026-07-18 15:20:04'::timestamp) - extract(epoch from '2026-07-18 15:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48581 -3.462346)'), GeomFromEWKT('SRID=4674;POINT (-38.48583 -3.462383)'))) / (select extract(epoch from '2026-07-18 15:20:04'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.485853 -3.462426)', '2026-07-18 15:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48583 -3.462383)'), GeomFromEWKT('SRID=4674;POINT (-38.485853 -3.462426)'))) / (select extract(epoch from '2026-07-18 15:20:07'::timestamp) - extract(epoch from '2026-07-18 15:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48583 -3.462383)'), GeomFromEWKT('SRID=4674;POINT (-38.485853 -3.462426)'))) / (select extract(epoch from '2026-07-18 15:20:07'::timestamp) - extract(epoch from '2026-07-18 15:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485874 -3.462456)', '2026-07-18 15:20:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485853 -3.462426)'), GeomFromEWKT('SRID=4674;POINT (-38.485874 -3.462456)'))) / (select extract(epoch from '2026-07-18 15:20:09'::timestamp) - extract(epoch from '2026-07-18 15:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485853 -3.462426)'), GeomFromEWKT('SRID=4674;POINT (-38.485874 -3.462456)'))) / (select extract(epoch from '2026-07-18 15:20:09'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.485882 -3.462484)', '2026-07-18 15:20:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485874 -3.462456)'), GeomFromEWKT('SRID=4674;POINT (-38.485882 -3.462484)'))) / (select extract(epoch from '2026-07-18 15:20:11'::timestamp) - extract(epoch from '2026-07-18 15:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485874 -3.462456)'), GeomFromEWKT('SRID=4674;POINT (-38.485882 -3.462484)'))) / (select extract(epoch from '2026-07-18 15:20:11'::timestamp) - extract(epoch from '2026-07-18 15:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485892 -3.462494)', '2026-07-18 15:20:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485882 -3.462484)'), GeomFromEWKT('SRID=4674;POINT (-38.485892 -3.462494)'))) / (select extract(epoch from '2026-07-18 15:20:12'::timestamp) - extract(epoch from '2026-07-18 15:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485882 -3.462484)'), GeomFromEWKT('SRID=4674;POINT (-38.485892 -3.462494)'))) / (select extract(epoch from '2026-07-18 15:20:12'::timestamp) - extract(epoch from '2026-07-18 15:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485934 -3.462557)', '2026-07-18 15:20:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485892 -3.462494)'), GeomFromEWKT('SRID=4674;POINT (-38.485934 -3.462557)'))) / (select extract(epoch from '2026-07-18 15:20:16'::timestamp) - extract(epoch from '2026-07-18 15:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485892 -3.462494)'), GeomFromEWKT('SRID=4674;POINT (-38.485934 -3.462557)'))) / (select extract(epoch from '2026-07-18 15:20:16'::timestamp) - extract(epoch from '2026-07-18 15:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.485974 -3.462666)', '2026-07-18 15:20:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485934 -3.462557)'), GeomFromEWKT('SRID=4674;POINT (-38.485974 -3.462666)'))) / (select extract(epoch from '2026-07-18 15:20:23'::timestamp) - extract(epoch from '2026-07-18 15:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485934 -3.462557)'), GeomFromEWKT('SRID=4674;POINT (-38.485974 -3.462666)'))) / (select extract(epoch from '2026-07-18 15:20:23'::timestamp) - extract(epoch from '2026-07-18 15:20:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48601 -3.462731)', '2026-07-18 15:20:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485974 -3.462666)'), GeomFromEWKT('SRID=4674;POINT (-38.48601 -3.462731)'))) / (select extract(epoch from '2026-07-18 15:20:27'::timestamp) - extract(epoch from '2026-07-18 15:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.485974 -3.462666)'), GeomFromEWKT('SRID=4674;POINT (-38.48601 -3.462731)'))) / (select extract(epoch from '2026-07-18 15:20:27'::timestamp) - extract(epoch from '2026-07-18 15:20:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486014 -3.462746)', '2026-07-18 15:20:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48601 -3.462731)'), GeomFromEWKT('SRID=4674;POINT (-38.486014 -3.462746)'))) / (select extract(epoch from '2026-07-18 15:20:28'::timestamp) - extract(epoch from '2026-07-18 15:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48601 -3.462731)'), GeomFromEWKT('SRID=4674;POINT (-38.486014 -3.462746)'))) / (select extract(epoch from '2026-07-18 15:20:28'::timestamp) - extract(epoch from '2026-07-18 15:20:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486021 -3.462762)', '2026-07-18 15:20:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486014 -3.462746)'), GeomFromEWKT('SRID=4674;POINT (-38.486021 -3.462762)'))) / (select extract(epoch from '2026-07-18 15:20:29'::timestamp) - extract(epoch from '2026-07-18 15:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486014 -3.462746)'), GeomFromEWKT('SRID=4674;POINT (-38.486021 -3.462762)'))) / (select extract(epoch from '2026-07-18 15:20:29'::timestamp) - extract(epoch from '2026-07-18 15:20:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486069 -3.462832)', '2026-07-18 15:20:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486021 -3.462762)'), GeomFromEWKT('SRID=4674;POINT (-38.486069 -3.462832)'))) / (select extract(epoch from '2026-07-18 15:20:33'::timestamp) - extract(epoch from '2026-07-18 15:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486021 -3.462762)'), GeomFromEWKT('SRID=4674;POINT (-38.486069 -3.462832)'))) / (select extract(epoch from '2026-07-18 15:20:33'::timestamp) - extract(epoch from '2026-07-18 15:20:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486121 -3.462921)', '2026-07-18 15:20:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486069 -3.462832)'), GeomFromEWKT('SRID=4674;POINT (-38.486121 -3.462921)'))) / (select extract(epoch from '2026-07-18 15:20:39'::timestamp) - extract(epoch from '2026-07-18 15:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486069 -3.462832)'), GeomFromEWKT('SRID=4674;POINT (-38.486121 -3.462921)'))) / (select extract(epoch from '2026-07-18 15:20:39'::timestamp) - extract(epoch from '2026-07-18 15:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486144 -3.462969)', '2026-07-18 15:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486121 -3.462921)'), GeomFromEWKT('SRID=4674;POINT (-38.486144 -3.462969)'))) / (select extract(epoch from '2026-07-18 15:20:42'::timestamp) - extract(epoch from '2026-07-18 15:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486121 -3.462921)'), GeomFromEWKT('SRID=4674;POINT (-38.486144 -3.462969)'))) / (select extract(epoch from '2026-07-18 15:20:42'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.486147 -3.462983)', '2026-07-18 15:20:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486144 -3.462969)'), GeomFromEWKT('SRID=4674;POINT (-38.486147 -3.462983)'))) / (select extract(epoch from '2026-07-18 15:20:43'::timestamp) - extract(epoch from '2026-07-18 15:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486144 -3.462969)'), GeomFromEWKT('SRID=4674;POINT (-38.486147 -3.462983)'))) / (select extract(epoch from '2026-07-18 15:20:43'::timestamp) - extract(epoch from '2026-07-18 15:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486188 -3.463059)', '2026-07-18 15:20:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486147 -3.462983)'), GeomFromEWKT('SRID=4674;POINT (-38.486188 -3.463059)'))) / (select extract(epoch from '2026-07-18 15:20:47'::timestamp) - extract(epoch from '2026-07-18 15:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486147 -3.462983)'), GeomFromEWKT('SRID=4674;POINT (-38.486188 -3.463059)'))) / (select extract(epoch from '2026-07-18 15:20:47'::timestamp) - extract(epoch from '2026-07-18 15:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486217 -3.463134)', '2026-07-18 15:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486188 -3.463059)'), GeomFromEWKT('SRID=4674;POINT (-38.486217 -3.463134)'))) / (select extract(epoch from '2026-07-18 15:20:52'::timestamp) - extract(epoch from '2026-07-18 15:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486188 -3.463059)'), GeomFromEWKT('SRID=4674;POINT (-38.486217 -3.463134)'))) / (select extract(epoch from '2026-07-18 15:20:52'::timestamp) - extract(epoch from '2026-07-18 15:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48627 -3.46324)', '2026-07-18 15:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486217 -3.463134)'), GeomFromEWKT('SRID=4674;POINT (-38.48627 -3.46324)'))) / (select extract(epoch from '2026-07-18 15:20:59'::timestamp) - extract(epoch from '2026-07-18 15:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486217 -3.463134)'), GeomFromEWKT('SRID=4674;POINT (-38.48627 -3.46324)'))) / (select extract(epoch from '2026-07-18 15:20:59'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.486282 -3.463257)', '2026-07-18 15:21:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48627 -3.46324)'), GeomFromEWKT('SRID=4674;POINT (-38.486282 -3.463257)'))) / (select extract(epoch from '2026-07-18 15:21:00'::timestamp) - extract(epoch from '2026-07-18 15:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48627 -3.46324)'), GeomFromEWKT('SRID=4674;POINT (-38.486282 -3.463257)'))) / (select extract(epoch from '2026-07-18 15:21:00'::timestamp) - extract(epoch from '2026-07-18 15:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486307 -3.463298)', '2026-07-18 15:21:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486282 -3.463257)'), GeomFromEWKT('SRID=4674;POINT (-38.486307 -3.463298)'))) / (select extract(epoch from '2026-07-18 15:21:03'::timestamp) - extract(epoch from '2026-07-18 15:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486282 -3.463257)'), GeomFromEWKT('SRID=4674;POINT (-38.486307 -3.463298)'))) / (select extract(epoch from '2026-07-18 15:21:03'::timestamp) - extract(epoch from '2026-07-18 15:21:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486318 -3.463313)', '2026-07-18 15:21:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486307 -3.463298)'), GeomFromEWKT('SRID=4674;POINT (-38.486318 -3.463313)'))) / (select extract(epoch from '2026-07-18 15:21:04'::timestamp) - extract(epoch from '2026-07-18 15:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486307 -3.463298)'), GeomFromEWKT('SRID=4674;POINT (-38.486318 -3.463313)'))) / (select extract(epoch from '2026-07-18 15:21:04'::timestamp) - extract(epoch from '2026-07-18 15:21:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486358 -3.46338)', '2026-07-18 15:21:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486318 -3.463313)'), GeomFromEWKT('SRID=4674;POINT (-38.486358 -3.46338)'))) / (select extract(epoch from '2026-07-18 15:21:08'::timestamp) - extract(epoch from '2026-07-18 15:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486318 -3.463313)'), GeomFromEWKT('SRID=4674;POINT (-38.486358 -3.46338)'))) / (select extract(epoch from '2026-07-18 15:21:08'::timestamp) - extract(epoch from '2026-07-18 15:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48641 -3.463471)', '2026-07-18 15:21:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486358 -3.46338)'), GeomFromEWKT('SRID=4674;POINT (-38.48641 -3.463471)'))) / (select extract(epoch from '2026-07-18 15:21:13'::timestamp) - extract(epoch from '2026-07-18 15:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486358 -3.46338)'), GeomFromEWKT('SRID=4674;POINT (-38.48641 -3.463471)'))) / (select extract(epoch from '2026-07-18 15:21:13'::timestamp) - extract(epoch from '2026-07-18 15:21:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486445 -3.463568)', '2026-07-18 15:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48641 -3.463471)'), GeomFromEWKT('SRID=4674;POINT (-38.486445 -3.463568)'))) / (select extract(epoch from '2026-07-18 15:21:18'::timestamp) - extract(epoch from '2026-07-18 15:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48641 -3.463471)'), GeomFromEWKT('SRID=4674;POINT (-38.486445 -3.463568)'))) / (select extract(epoch from '2026-07-18 15:21:18'::timestamp) - extract(epoch from '2026-07-18 15:21:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486479 -3.463683)', '2026-07-18 15:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486445 -3.463568)'), GeomFromEWKT('SRID=4674;POINT (-38.486479 -3.463683)'))) / (select extract(epoch from '2026-07-18 15:21:24'::timestamp) - extract(epoch from '2026-07-18 15:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486445 -3.463568)'), GeomFromEWKT('SRID=4674;POINT (-38.486479 -3.463683)'))) / (select extract(epoch from '2026-07-18 15:21:24'::timestamp) - extract(epoch from '2026-07-18 15:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486511 -3.463795)', '2026-07-18 15:21:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486479 -3.463683)'), GeomFromEWKT('SRID=4674;POINT (-38.486511 -3.463795)'))) / (select extract(epoch from '2026-07-18 15:21:30'::timestamp) - extract(epoch from '2026-07-18 15:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486479 -3.463683)'), GeomFromEWKT('SRID=4674;POINT (-38.486511 -3.463795)'))) / (select extract(epoch from '2026-07-18 15:21:30'::timestamp) - extract(epoch from '2026-07-18 15:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48654 -3.463921)', '2026-07-18 15:21:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486511 -3.463795)'), GeomFromEWKT('SRID=4674;POINT (-38.48654 -3.463921)'))) / (select extract(epoch from '2026-07-18 15:21:37'::timestamp) - extract(epoch from '2026-07-18 15:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486511 -3.463795)'), GeomFromEWKT('SRID=4674;POINT (-38.48654 -3.463921)'))) / (select extract(epoch from '2026-07-18 15:21:37'::timestamp) - extract(epoch from '2026-07-18 15:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486574 -3.464006)', '2026-07-18 15:21:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48654 -3.463921)'), GeomFromEWKT('SRID=4674;POINT (-38.486574 -3.464006)'))) / (select extract(epoch from '2026-07-18 15:21:42'::timestamp) - extract(epoch from '2026-07-18 15:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48654 -3.463921)'), GeomFromEWKT('SRID=4674;POINT (-38.486574 -3.464006)'))) / (select extract(epoch from '2026-07-18 15:21:42'::timestamp) - extract(epoch from '2026-07-18 15:21:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486607 -3.464088)', '2026-07-18 15:21:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486574 -3.464006)'), GeomFromEWKT('SRID=4674;POINT (-38.486607 -3.464088)'))) / (select extract(epoch from '2026-07-18 15:21:47'::timestamp) - extract(epoch from '2026-07-18 15:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486574 -3.464006)'), GeomFromEWKT('SRID=4674;POINT (-38.486607 -3.464088)'))) / (select extract(epoch from '2026-07-18 15:21:47'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.48664 -3.464153)', '2026-07-18 15:21:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486607 -3.464088)'), GeomFromEWKT('SRID=4674;POINT (-38.48664 -3.464153)'))) / (select extract(epoch from '2026-07-18 15:21:51'::timestamp) - extract(epoch from '2026-07-18 15:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486607 -3.464088)'), GeomFromEWKT('SRID=4674;POINT (-38.48664 -3.464153)'))) / (select extract(epoch from '2026-07-18 15:21:51'::timestamp) - extract(epoch from '2026-07-18 15:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4867 -3.464252)', '2026-07-18 15:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48664 -3.464153)'), GeomFromEWKT('SRID=4674;POINT (-38.4867 -3.464252)'))) / (select extract(epoch from '2026-07-18 15:21:56'::timestamp) - extract(epoch from '2026-07-18 15:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48664 -3.464153)'), GeomFromEWKT('SRID=4674;POINT (-38.4867 -3.464252)'))) / (select extract(epoch from '2026-07-18 15:21:56'::timestamp) - extract(epoch from '2026-07-18 15:21:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486735 -3.464316)', '2026-07-18 15:22:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4867 -3.464252)'), GeomFromEWKT('SRID=4674;POINT (-38.486735 -3.464316)'))) / (select extract(epoch from '2026-07-18 15:22:00'::timestamp) - extract(epoch from '2026-07-18 15:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4867 -3.464252)'), GeomFromEWKT('SRID=4674;POINT (-38.486735 -3.464316)'))) / (select extract(epoch from '2026-07-18 15:22:00'::timestamp) - extract(epoch from '2026-07-18 15:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486751 -3.464332)', '2026-07-18 15:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486735 -3.464316)'), GeomFromEWKT('SRID=4674;POINT (-38.486751 -3.464332)'))) / (select extract(epoch from '2026-07-18 15:22:01'::timestamp) - extract(epoch from '2026-07-18 15:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486735 -3.464316)'), GeomFromEWKT('SRID=4674;POINT (-38.486751 -3.464332)'))) / (select extract(epoch from '2026-07-18 15:22:01'::timestamp) - extract(epoch from '2026-07-18 15:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486785 -3.464399)', '2026-07-18 15:22:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486751 -3.464332)'), GeomFromEWKT('SRID=4674;POINT (-38.486785 -3.464399)'))) / (select extract(epoch from '2026-07-18 15:22:05'::timestamp) - extract(epoch from '2026-07-18 15:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486751 -3.464332)'), GeomFromEWKT('SRID=4674;POINT (-38.486785 -3.464399)'))) / (select extract(epoch from '2026-07-18 15:22:05'::timestamp) - extract(epoch from '2026-07-18 15:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486845 -3.464495)', '2026-07-18 15:22:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486785 -3.464399)'), GeomFromEWKT('SRID=4674;POINT (-38.486845 -3.464495)'))) / (select extract(epoch from '2026-07-18 15:22:11'::timestamp) - extract(epoch from '2026-07-18 15:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486785 -3.464399)'), GeomFromEWKT('SRID=4674;POINT (-38.486845 -3.464495)'))) / (select extract(epoch from '2026-07-18 15:22:11'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.486891 -3.464589)', '2026-07-18 15:22:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486845 -3.464495)'), GeomFromEWKT('SRID=4674;POINT (-38.486891 -3.464589)'))) / (select extract(epoch from '2026-07-18 15:22:17'::timestamp) - extract(epoch from '2026-07-18 15:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486845 -3.464495)'), GeomFromEWKT('SRID=4674;POINT (-38.486891 -3.464589)'))) / (select extract(epoch from '2026-07-18 15:22:17'::timestamp) - extract(epoch from '2026-07-18 15:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486922 -3.464645)', '2026-07-18 15:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486891 -3.464589)'), GeomFromEWKT('SRID=4674;POINT (-38.486922 -3.464645)'))) / (select extract(epoch from '2026-07-18 15:22:20'::timestamp) - extract(epoch from '2026-07-18 15:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486891 -3.464589)'), GeomFromEWKT('SRID=4674;POINT (-38.486922 -3.464645)'))) / (select extract(epoch from '2026-07-18 15:22:20'::timestamp) - extract(epoch from '2026-07-18 15:22:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486932 -3.464678)', '2026-07-18 15:22:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486922 -3.464645)'), GeomFromEWKT('SRID=4674;POINT (-38.486932 -3.464678)'))) / (select extract(epoch from '2026-07-18 15:22:22'::timestamp) - extract(epoch from '2026-07-18 15:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486922 -3.464645)'), GeomFromEWKT('SRID=4674;POINT (-38.486932 -3.464678)'))) / (select extract(epoch from '2026-07-18 15:22:22'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.486955 -3.464727)', '2026-07-18 15:22:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486932 -3.464678)'), GeomFromEWKT('SRID=4674;POINT (-38.486955 -3.464727)'))) / (select extract(epoch from '2026-07-18 15:22:25'::timestamp) - extract(epoch from '2026-07-18 15:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486932 -3.464678)'), GeomFromEWKT('SRID=4674;POINT (-38.486955 -3.464727)'))) / (select extract(epoch from '2026-07-18 15:22:25'::timestamp) - extract(epoch from '2026-07-18 15:22:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486984 -3.464761)', '2026-07-18 15:22:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486955 -3.464727)'), GeomFromEWKT('SRID=4674;POINT (-38.486984 -3.464761)'))) / (select extract(epoch from '2026-07-18 15:22:27'::timestamp) - extract(epoch from '2026-07-18 15:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486955 -3.464727)'), GeomFromEWKT('SRID=4674;POINT (-38.486984 -3.464761)'))) / (select extract(epoch from '2026-07-18 15:22:27'::timestamp) - extract(epoch from '2026-07-18 15:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.486989 -3.46478)', '2026-07-18 15:22:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486984 -3.464761)'), GeomFromEWKT('SRID=4674;POINT (-38.486989 -3.46478)'))) / (select extract(epoch from '2026-07-18 15:22:28'::timestamp) - extract(epoch from '2026-07-18 15:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486984 -3.464761)'), GeomFromEWKT('SRID=4674;POINT (-38.486989 -3.46478)'))) / (select extract(epoch from '2026-07-18 15:22:28'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.486996 -3.464813)', '2026-07-18 15:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486989 -3.46478)'), GeomFromEWKT('SRID=4674;POINT (-38.486996 -3.464813)'))) / (select extract(epoch from '2026-07-18 15:22:30'::timestamp) - extract(epoch from '2026-07-18 15:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486989 -3.46478)'), GeomFromEWKT('SRID=4674;POINT (-38.486996 -3.464813)'))) / (select extract(epoch from '2026-07-18 15:22:30'::timestamp) - extract(epoch from '2026-07-18 15:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487007 -3.464823)', '2026-07-18 15:22:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486996 -3.464813)'), GeomFromEWKT('SRID=4674;POINT (-38.487007 -3.464823)'))) / (select extract(epoch from '2026-07-18 15:22:31'::timestamp) - extract(epoch from '2026-07-18 15:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.486996 -3.464813)'), GeomFromEWKT('SRID=4674;POINT (-38.487007 -3.464823)'))) / (select extract(epoch from '2026-07-18 15:22:31'::timestamp) - extract(epoch from '2026-07-18 15:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487048 -3.464896)', '2026-07-18 15:22:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487007 -3.464823)'), GeomFromEWKT('SRID=4674;POINT (-38.487048 -3.464896)'))) / (select extract(epoch from '2026-07-18 15:22:36'::timestamp) - extract(epoch from '2026-07-18 15:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487007 -3.464823)'), GeomFromEWKT('SRID=4674;POINT (-38.487048 -3.464896)'))) / (select extract(epoch from '2026-07-18 15:22:36'::timestamp) - extract(epoch from '2026-07-18 15:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487058 -3.464913)', '2026-07-18 15:22:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487048 -3.464896)'), GeomFromEWKT('SRID=4674;POINT (-38.487058 -3.464913)'))) / (select extract(epoch from '2026-07-18 15:22:37'::timestamp) - extract(epoch from '2026-07-18 15:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487048 -3.464896)'), GeomFromEWKT('SRID=4674;POINT (-38.487058 -3.464913)'))) / (select extract(epoch from '2026-07-18 15:22:37'::timestamp) - extract(epoch from '2026-07-18 15:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487098 -3.464967)', '2026-07-18 15:22:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487058 -3.464913)'), GeomFromEWKT('SRID=4674;POINT (-38.487098 -3.464967)'))) / (select extract(epoch from '2026-07-18 15:22:40'::timestamp) - extract(epoch from '2026-07-18 15:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487058 -3.464913)'), GeomFromEWKT('SRID=4674;POINT (-38.487098 -3.464967)'))) / (select extract(epoch from '2026-07-18 15:22:40'::timestamp) - extract(epoch from '2026-07-18 15:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487137 -3.465044)', '2026-07-18 15:22:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487098 -3.464967)'), GeomFromEWKT('SRID=4674;POINT (-38.487137 -3.465044)'))) / (select extract(epoch from '2026-07-18 15:22:45'::timestamp) - extract(epoch from '2026-07-18 15:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487098 -3.464967)'), GeomFromEWKT('SRID=4674;POINT (-38.487137 -3.465044)'))) / (select extract(epoch from '2026-07-18 15:22:45'::timestamp) - extract(epoch from '2026-07-18 15:22:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487187 -3.465113)', '2026-07-18 15:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487137 -3.465044)'), GeomFromEWKT('SRID=4674;POINT (-38.487187 -3.465113)'))) / (select extract(epoch from '2026-07-18 15:22:50'::timestamp) - extract(epoch from '2026-07-18 15:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487137 -3.465044)'), GeomFromEWKT('SRID=4674;POINT (-38.487187 -3.465113)'))) / (select extract(epoch from '2026-07-18 15:22:50'::timestamp) - extract(epoch from '2026-07-18 15:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487239 -3.465189)', '2026-07-18 15:22:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487187 -3.465113)'), GeomFromEWKT('SRID=4674;POINT (-38.487239 -3.465189)'))) / (select extract(epoch from '2026-07-18 15:22:55'::timestamp) - extract(epoch from '2026-07-18 15:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487187 -3.465113)'), GeomFromEWKT('SRID=4674;POINT (-38.487239 -3.465189)'))) / (select extract(epoch from '2026-07-18 15:22:55'::timestamp) - extract(epoch from '2026-07-18 15:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487249 -3.465237)', '2026-07-18 15:22:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487239 -3.465189)'), GeomFromEWKT('SRID=4674;POINT (-38.487249 -3.465237)'))) / (select extract(epoch from '2026-07-18 15:22:58'::timestamp) - extract(epoch from '2026-07-18 15:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487239 -3.465189)'), GeomFromEWKT('SRID=4674;POINT (-38.487249 -3.465237)'))) / (select extract(epoch from '2026-07-18 15:22:58'::timestamp) - extract(epoch from '2026-07-18 15:22:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487258 -3.465253)', '2026-07-18 15:22:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487249 -3.465237)'), GeomFromEWKT('SRID=4674;POINT (-38.487258 -3.465253)'))) / (select extract(epoch from '2026-07-18 15:22:59'::timestamp) - extract(epoch from '2026-07-18 15:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487249 -3.465237)'), GeomFromEWKT('SRID=4674;POINT (-38.487258 -3.465253)'))) / (select extract(epoch from '2026-07-18 15:22:59'::timestamp) - extract(epoch from '2026-07-18 15:22:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48729 -3.465307)', '2026-07-18 15:23:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487258 -3.465253)'), GeomFromEWKT('SRID=4674;POINT (-38.48729 -3.465307)'))) / (select extract(epoch from '2026-07-18 15:23:02'::timestamp) - extract(epoch from '2026-07-18 15:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487258 -3.465253)'), GeomFromEWKT('SRID=4674;POINT (-38.48729 -3.465307)'))) / (select extract(epoch from '2026-07-18 15:23:02'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.487289 -3.465327)', '2026-07-18 15:23:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48729 -3.465307)'), GeomFromEWKT('SRID=4674;POINT (-38.487289 -3.465327)'))) / (select extract(epoch from '2026-07-18 15:23:03'::timestamp) - extract(epoch from '2026-07-18 15:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48729 -3.465307)'), GeomFromEWKT('SRID=4674;POINT (-38.487289 -3.465327)'))) / (select extract(epoch from '2026-07-18 15:23:03'::timestamp) - extract(epoch from '2026-07-18 15:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487294 -3.465356)', '2026-07-18 15:23:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487289 -3.465327)'), GeomFromEWKT('SRID=4674;POINT (-38.487294 -3.465356)'))) / (select extract(epoch from '2026-07-18 15:23:05'::timestamp) - extract(epoch from '2026-07-18 15:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487289 -3.465327)'), GeomFromEWKT('SRID=4674;POINT (-38.487294 -3.465356)'))) / (select extract(epoch from '2026-07-18 15:23:05'::timestamp) - extract(epoch from '2026-07-18 15:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487293 -3.46538)', '2026-07-18 15:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487294 -3.465356)'), GeomFromEWKT('SRID=4674;POINT (-38.487293 -3.46538)'))) / (select extract(epoch from '2026-07-18 15:23:07'::timestamp) - extract(epoch from '2026-07-18 15:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487294 -3.465356)'), GeomFromEWKT('SRID=4674;POINT (-38.487293 -3.46538)'))) / (select extract(epoch from '2026-07-18 15:23:07'::timestamp) - extract(epoch from '2026-07-18 15:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48733 -3.465447)', '2026-07-18 15:23:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487293 -3.46538)'), GeomFromEWKT('SRID=4674;POINT (-38.48733 -3.465447)'))) / (select extract(epoch from '2026-07-18 15:23:11'::timestamp) - extract(epoch from '2026-07-18 15:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487293 -3.46538)'), GeomFromEWKT('SRID=4674;POINT (-38.48733 -3.465447)'))) / (select extract(epoch from '2026-07-18 15:23:11'::timestamp) - extract(epoch from '2026-07-18 15:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487348 -3.465476)', '2026-07-18 15:23:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48733 -3.465447)'), GeomFromEWKT('SRID=4674;POINT (-38.487348 -3.465476)'))) / (select extract(epoch from '2026-07-18 15:23:13'::timestamp) - extract(epoch from '2026-07-18 15:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48733 -3.465447)'), GeomFromEWKT('SRID=4674;POINT (-38.487348 -3.465476)'))) / (select extract(epoch from '2026-07-18 15:23:13'::timestamp) - extract(epoch from '2026-07-18 15:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487361 -3.465513)', '2026-07-18 15:23:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487348 -3.465476)'), GeomFromEWKT('SRID=4674;POINT (-38.487361 -3.465513)'))) / (select extract(epoch from '2026-07-18 15:23:15'::timestamp) - extract(epoch from '2026-07-18 15:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487348 -3.465476)'), GeomFromEWKT('SRID=4674;POINT (-38.487361 -3.465513)'))) / (select extract(epoch from '2026-07-18 15:23:15'::timestamp) - extract(epoch from '2026-07-18 15:23:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487382 -3.465551)', '2026-07-18 15:23:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487361 -3.465513)'), GeomFromEWKT('SRID=4674;POINT (-38.487382 -3.465551)'))) / (select extract(epoch from '2026-07-18 15:23:17'::timestamp) - extract(epoch from '2026-07-18 15:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487361 -3.465513)'), GeomFromEWKT('SRID=4674;POINT (-38.487382 -3.465551)'))) / (select extract(epoch from '2026-07-18 15:23:17'::timestamp) - extract(epoch from '2026-07-18 15:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487399 -3.465591)', '2026-07-18 15:23:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487382 -3.465551)'), GeomFromEWKT('SRID=4674;POINT (-38.487399 -3.465591)'))) / (select extract(epoch from '2026-07-18 15:23:19'::timestamp) - extract(epoch from '2026-07-18 15:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487382 -3.465551)'), GeomFromEWKT('SRID=4674;POINT (-38.487399 -3.465591)'))) / (select extract(epoch from '2026-07-18 15:23:19'::timestamp) - extract(epoch from '2026-07-18 15:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487431 -3.46572)', '2026-07-18 15:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487399 -3.465591)'), GeomFromEWKT('SRID=4674;POINT (-38.487431 -3.46572)'))) / (select extract(epoch from '2026-07-18 15:23:26'::timestamp) - extract(epoch from '2026-07-18 15:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487399 -3.465591)'), GeomFromEWKT('SRID=4674;POINT (-38.487431 -3.46572)'))) / (select extract(epoch from '2026-07-18 15:23:26'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.487441 -3.465784)', '2026-07-18 15:23:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487431 -3.46572)'), GeomFromEWKT('SRID=4674;POINT (-38.487441 -3.465784)'))) / (select extract(epoch from '2026-07-18 15:23:30'::timestamp) - extract(epoch from '2026-07-18 15:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487431 -3.46572)'), GeomFromEWKT('SRID=4674;POINT (-38.487441 -3.465784)'))) / (select extract(epoch from '2026-07-18 15:23:30'::timestamp) - extract(epoch from '2026-07-18 15:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487482 -3.465891)', '2026-07-18 15:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487441 -3.465784)'), GeomFromEWKT('SRID=4674;POINT (-38.487482 -3.465891)'))) / (select extract(epoch from '2026-07-18 15:23:36'::timestamp) - extract(epoch from '2026-07-18 15:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487441 -3.465784)'), GeomFromEWKT('SRID=4674;POINT (-38.487482 -3.465891)'))) / (select extract(epoch from '2026-07-18 15:23:36'::timestamp) - extract(epoch from '2026-07-18 15:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487522 -3.465963)', '2026-07-18 15:23:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487482 -3.465891)'), GeomFromEWKT('SRID=4674;POINT (-38.487522 -3.465963)'))) / (select extract(epoch from '2026-07-18 15:23:40'::timestamp) - extract(epoch from '2026-07-18 15:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487482 -3.465891)'), GeomFromEWKT('SRID=4674;POINT (-38.487522 -3.465963)'))) / (select extract(epoch from '2026-07-18 15:23:40'::timestamp) - extract(epoch from '2026-07-18 15:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487529 -3.465999)', '2026-07-18 15:23:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487522 -3.465963)'), GeomFromEWKT('SRID=4674;POINT (-38.487529 -3.465999)'))) / (select extract(epoch from '2026-07-18 15:23:42'::timestamp) - extract(epoch from '2026-07-18 15:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487522 -3.465963)'), GeomFromEWKT('SRID=4674;POINT (-38.487529 -3.465999)'))) / (select extract(epoch from '2026-07-18 15:23:42'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.487567 -3.466046)', '2026-07-18 15:23:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487529 -3.465999)'), GeomFromEWKT('SRID=4674;POINT (-38.487567 -3.466046)'))) / (select extract(epoch from '2026-07-18 15:23:45'::timestamp) - extract(epoch from '2026-07-18 15:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487529 -3.465999)'), GeomFromEWKT('SRID=4674;POINT (-38.487567 -3.466046)'))) / (select extract(epoch from '2026-07-18 15:23:45'::timestamp) - extract(epoch from '2026-07-18 15:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487598 -3.466118)', '2026-07-18 15:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487567 -3.466046)'), GeomFromEWKT('SRID=4674;POINT (-38.487598 -3.466118)'))) / (select extract(epoch from '2026-07-18 15:23:50'::timestamp) - extract(epoch from '2026-07-18 15:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487567 -3.466046)'), GeomFromEWKT('SRID=4674;POINT (-38.487598 -3.466118)'))) / (select extract(epoch from '2026-07-18 15:23:50'::timestamp) - extract(epoch from '2026-07-18 15:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487643 -3.466215)', '2026-07-18 15:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487598 -3.466118)'), GeomFromEWKT('SRID=4674;POINT (-38.487643 -3.466215)'))) / (select extract(epoch from '2026-07-18 15:23:56'::timestamp) - extract(epoch from '2026-07-18 15:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487598 -3.466118)'), GeomFromEWKT('SRID=4674;POINT (-38.487643 -3.466215)'))) / (select extract(epoch from '2026-07-18 15:23:56'::timestamp) - extract(epoch from '2026-07-18 15:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487647 -3.46623)', '2026-07-18 15:23:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487643 -3.466215)'), GeomFromEWKT('SRID=4674;POINT (-38.487647 -3.46623)'))) / (select extract(epoch from '2026-07-18 15:23:57'::timestamp) - extract(epoch from '2026-07-18 15:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487643 -3.466215)'), GeomFromEWKT('SRID=4674;POINT (-38.487647 -3.46623)'))) / (select extract(epoch from '2026-07-18 15:23:57'::timestamp) - extract(epoch from '2026-07-18 15:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487677 -3.466274)', '2026-07-18 15:24:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487647 -3.46623)'), GeomFromEWKT('SRID=4674;POINT (-38.487677 -3.466274)'))) / (select extract(epoch from '2026-07-18 15:24:00'::timestamp) - extract(epoch from '2026-07-18 15:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487647 -3.46623)'), GeomFromEWKT('SRID=4674;POINT (-38.487677 -3.466274)'))) / (select extract(epoch from '2026-07-18 15:24:00'::timestamp) - extract(epoch from '2026-07-18 15:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487719 -3.466365)', '2026-07-18 15:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487677 -3.466274)'), GeomFromEWKT('SRID=4674;POINT (-38.487719 -3.466365)'))) / (select extract(epoch from '2026-07-18 15:24:06'::timestamp) - extract(epoch from '2026-07-18 15:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487677 -3.466274)'), GeomFromEWKT('SRID=4674;POINT (-38.487719 -3.466365)'))) / (select extract(epoch from '2026-07-18 15:24:06'::timestamp) - extract(epoch from '2026-07-18 15:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487781 -3.466474)', '2026-07-18 15:24:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487719 -3.466365)'), GeomFromEWKT('SRID=4674;POINT (-38.487781 -3.466474)'))) / (select extract(epoch from '2026-07-18 15:24:13'::timestamp) - extract(epoch from '2026-07-18 15:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487719 -3.466365)'), GeomFromEWKT('SRID=4674;POINT (-38.487781 -3.466474)'))) / (select extract(epoch from '2026-07-18 15:24:13'::timestamp) - extract(epoch from '2026-07-18 15:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487837 -3.466556)', '2026-07-18 15:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487781 -3.466474)'), GeomFromEWKT('SRID=4674;POINT (-38.487837 -3.466556)'))) / (select extract(epoch from '2026-07-18 15:24:18'::timestamp) - extract(epoch from '2026-07-18 15:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487781 -3.466474)'), GeomFromEWKT('SRID=4674;POINT (-38.487837 -3.466556)'))) / (select extract(epoch from '2026-07-18 15:24:18'::timestamp) - extract(epoch from '2026-07-18 15:24:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487898 -3.466646)', '2026-07-18 15:24:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487837 -3.466556)'), GeomFromEWKT('SRID=4674;POINT (-38.487898 -3.466646)'))) / (select extract(epoch from '2026-07-18 15:24:23'::timestamp) - extract(epoch from '2026-07-18 15:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487837 -3.466556)'), GeomFromEWKT('SRID=4674;POINT (-38.487898 -3.466646)'))) / (select extract(epoch from '2026-07-18 15:24:23'::timestamp) - extract(epoch from '2026-07-18 15:24:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487905 -3.466662)', '2026-07-18 15:24:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487898 -3.466646)'), GeomFromEWKT('SRID=4674;POINT (-38.487905 -3.466662)'))) / (select extract(epoch from '2026-07-18 15:24:24'::timestamp) - extract(epoch from '2026-07-18 15:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487898 -3.466646)'), GeomFromEWKT('SRID=4674;POINT (-38.487905 -3.466662)'))) / (select extract(epoch from '2026-07-18 15:24:24'::timestamp) - extract(epoch from '2026-07-18 15:24:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487934 -3.466725)', '2026-07-18 15:24:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487905 -3.466662)'), GeomFromEWKT('SRID=4674;POINT (-38.487934 -3.466725)'))) / (select extract(epoch from '2026-07-18 15:24:28'::timestamp) - extract(epoch from '2026-07-18 15:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487905 -3.466662)'), GeomFromEWKT('SRID=4674;POINT (-38.487934 -3.466725)'))) / (select extract(epoch from '2026-07-18 15:24:28'::timestamp) - extract(epoch from '2026-07-18 15:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.487972 -3.466821)', '2026-07-18 15:24:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487934 -3.466725)'), GeomFromEWKT('SRID=4674;POINT (-38.487972 -3.466821)'))) / (select extract(epoch from '2026-07-18 15:24:34'::timestamp) - extract(epoch from '2026-07-18 15:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487934 -3.466725)'), GeomFromEWKT('SRID=4674;POINT (-38.487972 -3.466821)'))) / (select extract(epoch from '2026-07-18 15:24:34'::timestamp) - extract(epoch from '2026-07-18 15:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488012 -3.466905)', '2026-07-18 15:24:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487972 -3.466821)'), GeomFromEWKT('SRID=4674;POINT (-38.488012 -3.466905)'))) / (select extract(epoch from '2026-07-18 15:24:39'::timestamp) - extract(epoch from '2026-07-18 15:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.487972 -3.466821)'), GeomFromEWKT('SRID=4674;POINT (-38.488012 -3.466905)'))) / (select extract(epoch from '2026-07-18 15:24:39'::timestamp) - extract(epoch from '2026-07-18 15:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488016 -3.466927)', '2026-07-18 15:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488012 -3.466905)'), GeomFromEWKT('SRID=4674;POINT (-38.488016 -3.466927)'))) / (select extract(epoch from '2026-07-18 15:24:40'::timestamp) - extract(epoch from '2026-07-18 15:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488012 -3.466905)'), GeomFromEWKT('SRID=4674;POINT (-38.488016 -3.466927)'))) / (select extract(epoch from '2026-07-18 15:24:40'::timestamp) - extract(epoch from '2026-07-18 15:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488037 -3.466965)', '2026-07-18 15:24:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488016 -3.466927)'), GeomFromEWKT('SRID=4674;POINT (-38.488037 -3.466965)'))) / (select extract(epoch from '2026-07-18 15:24:42'::timestamp) - extract(epoch from '2026-07-18 15:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488016 -3.466927)'), GeomFromEWKT('SRID=4674;POINT (-38.488037 -3.466965)'))) / (select extract(epoch from '2026-07-18 15:24:42'::timestamp) - extract(epoch from '2026-07-18 15:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488049 -3.466994)', '2026-07-18 15:24:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488037 -3.466965)'), GeomFromEWKT('SRID=4674;POINT (-38.488049 -3.466994)'))) / (select extract(epoch from '2026-07-18 15:24:44'::timestamp) - extract(epoch from '2026-07-18 15:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488037 -3.466965)'), GeomFromEWKT('SRID=4674;POINT (-38.488049 -3.466994)'))) / (select extract(epoch from '2026-07-18 15:24:44'::timestamp) - extract(epoch from '2026-07-18 15:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488091 -3.467059)', '2026-07-18 15:24:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488049 -3.466994)'), GeomFromEWKT('SRID=4674;POINT (-38.488091 -3.467059)'))) / (select extract(epoch from '2026-07-18 15:24:48'::timestamp) - extract(epoch from '2026-07-18 15:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488049 -3.466994)'), GeomFromEWKT('SRID=4674;POINT (-38.488091 -3.467059)'))) / (select extract(epoch from '2026-07-18 15:24:48'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.488137 -3.467186)', '2026-07-18 15:24:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488091 -3.467059)'), GeomFromEWKT('SRID=4674;POINT (-38.488137 -3.467186)'))) / (select extract(epoch from '2026-07-18 15:24:55'::timestamp) - extract(epoch from '2026-07-18 15:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488091 -3.467059)'), GeomFromEWKT('SRID=4674;POINT (-38.488137 -3.467186)'))) / (select extract(epoch from '2026-07-18 15:24:55'::timestamp) - extract(epoch from '2026-07-18 15:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488179 -3.467295)', '2026-07-18 15:25:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488137 -3.467186)'), GeomFromEWKT('SRID=4674;POINT (-38.488179 -3.467295)'))) / (select extract(epoch from '2026-07-18 15:25:01'::timestamp) - extract(epoch from '2026-07-18 15:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488137 -3.467186)'), GeomFromEWKT('SRID=4674;POINT (-38.488179 -3.467295)'))) / (select extract(epoch from '2026-07-18 15:25:01'::timestamp) - extract(epoch from '2026-07-18 15:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488199 -3.467408)', '2026-07-18 15:25:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488179 -3.467295)'), GeomFromEWKT('SRID=4674;POINT (-38.488199 -3.467408)'))) / (select extract(epoch from '2026-07-18 15:25:07'::timestamp) - extract(epoch from '2026-07-18 15:25:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488179 -3.467295)'), GeomFromEWKT('SRID=4674;POINT (-38.488199 -3.467408)'))) / (select extract(epoch from '2026-07-18 15:25:07'::timestamp) - extract(epoch from '2026-07-18 15:25:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488224 -3.467483)', '2026-07-18 15:25:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488199 -3.467408)'), GeomFromEWKT('SRID=4674;POINT (-38.488224 -3.467483)'))) / (select extract(epoch from '2026-07-18 15:25:11'::timestamp) - extract(epoch from '2026-07-18 15:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488199 -3.467408)'), GeomFromEWKT('SRID=4674;POINT (-38.488224 -3.467483)'))) / (select extract(epoch from '2026-07-18 15:25:11'::timestamp) - extract(epoch from '2026-07-18 15:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488229 -3.467502)', '2026-07-18 15:25:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488224 -3.467483)'), GeomFromEWKT('SRID=4674;POINT (-38.488229 -3.467502)'))) / (select extract(epoch from '2026-07-18 15:25:12'::timestamp) - extract(epoch from '2026-07-18 15:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488224 -3.467483)'), GeomFromEWKT('SRID=4674;POINT (-38.488229 -3.467502)'))) / (select extract(epoch from '2026-07-18 15:25:12'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.488258 -3.467575)', '2026-07-18 15:25:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488229 -3.467502)'), GeomFromEWKT('SRID=4674;POINT (-38.488258 -3.467575)'))) / (select extract(epoch from '2026-07-18 15:25:16'::timestamp) - extract(epoch from '2026-07-18 15:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488229 -3.467502)'), GeomFromEWKT('SRID=4674;POINT (-38.488258 -3.467575)'))) / (select extract(epoch from '2026-07-18 15:25:16'::timestamp) - extract(epoch from '2026-07-18 15:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488265 -3.467615)', '2026-07-18 15:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488258 -3.467575)'), GeomFromEWKT('SRID=4674;POINT (-38.488265 -3.467615)'))) / (select extract(epoch from '2026-07-18 15:25:18'::timestamp) - extract(epoch from '2026-07-18 15:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488258 -3.467575)'), GeomFromEWKT('SRID=4674;POINT (-38.488265 -3.467615)'))) / (select extract(epoch from '2026-07-18 15:25:18'::timestamp) - extract(epoch from '2026-07-18 15:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488275 -3.46763)', '2026-07-18 15:25:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488265 -3.467615)'), GeomFromEWKT('SRID=4674;POINT (-38.488275 -3.46763)'))) / (select extract(epoch from '2026-07-18 15:25:19'::timestamp) - extract(epoch from '2026-07-18 15:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488265 -3.467615)'), GeomFromEWKT('SRID=4674;POINT (-38.488275 -3.46763)'))) / (select extract(epoch from '2026-07-18 15:25:19'::timestamp) - extract(epoch from '2026-07-18 15:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488278 -3.467643)', '2026-07-18 15:25:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488275 -3.46763)'), GeomFromEWKT('SRID=4674;POINT (-38.488278 -3.467643)'))) / (select extract(epoch from '2026-07-18 15:25:20'::timestamp) - extract(epoch from '2026-07-18 15:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488275 -3.46763)'), GeomFromEWKT('SRID=4674;POINT (-38.488278 -3.467643)'))) / (select extract(epoch from '2026-07-18 15:25:20'::timestamp) - extract(epoch from '2026-07-18 15:25:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488299 -3.467695)', '2026-07-18 15:25:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488278 -3.467643)'), GeomFromEWKT('SRID=4674;POINT (-38.488299 -3.467695)'))) / (select extract(epoch from '2026-07-18 15:25:24'::timestamp) - extract(epoch from '2026-07-18 15:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488278 -3.467643)'), GeomFromEWKT('SRID=4674;POINT (-38.488299 -3.467695)'))) / (select extract(epoch from '2026-07-18 15:25:24'::timestamp) - extract(epoch from '2026-07-18 15:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488339 -3.467768)', '2026-07-18 15:25:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488299 -3.467695)'), GeomFromEWKT('SRID=4674;POINT (-38.488339 -3.467768)'))) / (select extract(epoch from '2026-07-18 15:25:29'::timestamp) - extract(epoch from '2026-07-18 15:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488299 -3.467695)'), GeomFromEWKT('SRID=4674;POINT (-38.488339 -3.467768)'))) / (select extract(epoch from '2026-07-18 15:25:29'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.488347 -3.467784)', '2026-07-18 15:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488339 -3.467768)'), GeomFromEWKT('SRID=4674;POINT (-38.488347 -3.467784)'))) / (select extract(epoch from '2026-07-18 15:25:30'::timestamp) - extract(epoch from '2026-07-18 15:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488339 -3.467768)'), GeomFromEWKT('SRID=4674;POINT (-38.488347 -3.467784)'))) / (select extract(epoch from '2026-07-18 15:25:30'::timestamp) - extract(epoch from '2026-07-18 15:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488362 -3.467834)', '2026-07-18 15:25:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488347 -3.467784)'), GeomFromEWKT('SRID=4674;POINT (-38.488362 -3.467834)'))) / (select extract(epoch from '2026-07-18 15:25:33'::timestamp) - extract(epoch from '2026-07-18 15:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488347 -3.467784)'), GeomFromEWKT('SRID=4674;POINT (-38.488362 -3.467834)'))) / (select extract(epoch from '2026-07-18 15:25:33'::timestamp) - extract(epoch from '2026-07-18 15:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488383 -3.467875)', '2026-07-18 15:25:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488362 -3.467834)'), GeomFromEWKT('SRID=4674;POINT (-38.488383 -3.467875)'))) / (select extract(epoch from '2026-07-18 15:25:35'::timestamp) - extract(epoch from '2026-07-18 15:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488362 -3.467834)'), GeomFromEWKT('SRID=4674;POINT (-38.488383 -3.467875)'))) / (select extract(epoch from '2026-07-18 15:25:35'::timestamp) - extract(epoch from '2026-07-18 15:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488417 -3.467939)', '2026-07-18 15:25:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488383 -3.467875)'), GeomFromEWKT('SRID=4674;POINT (-38.488417 -3.467939)'))) / (select extract(epoch from '2026-07-18 15:25:40'::timestamp) - extract(epoch from '2026-07-18 15:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488383 -3.467875)'), GeomFromEWKT('SRID=4674;POINT (-38.488417 -3.467939)'))) / (select extract(epoch from '2026-07-18 15:25:40'::timestamp) - extract(epoch from '2026-07-18 15:25:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488431 -3.46796)', '2026-07-18 15:25:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488417 -3.467939)'), GeomFromEWKT('SRID=4674;POINT (-38.488431 -3.46796)'))) / (select extract(epoch from '2026-07-18 15:25:42'::timestamp) - extract(epoch from '2026-07-18 15:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488417 -3.467939)'), GeomFromEWKT('SRID=4674;POINT (-38.488431 -3.46796)'))) / (select extract(epoch from '2026-07-18 15:25:42'::timestamp) - extract(epoch from '2026-07-18 15:25:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488457 -3.467996)', '2026-07-18 15:25:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488431 -3.46796)'), GeomFromEWKT('SRID=4674;POINT (-38.488457 -3.467996)'))) / (select extract(epoch from '2026-07-18 15:25:45'::timestamp) - extract(epoch from '2026-07-18 15:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488431 -3.46796)'), GeomFromEWKT('SRID=4674;POINT (-38.488457 -3.467996)'))) / (select extract(epoch from '2026-07-18 15:25:45'::timestamp) - extract(epoch from '2026-07-18 15:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48846 -3.468011)', '2026-07-18 15:25:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488457 -3.467996)'), GeomFromEWKT('SRID=4674;POINT (-38.48846 -3.468011)'))) / (select extract(epoch from '2026-07-18 15:25:46'::timestamp) - extract(epoch from '2026-07-18 15:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488457 -3.467996)'), GeomFromEWKT('SRID=4674;POINT (-38.48846 -3.468011)'))) / (select extract(epoch from '2026-07-18 15:25:46'::timestamp) - extract(epoch from '2026-07-18 15:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488477 -3.468047)', '2026-07-18 15:25:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48846 -3.468011)'), GeomFromEWKT('SRID=4674;POINT (-38.488477 -3.468047)'))) / (select extract(epoch from '2026-07-18 15:25:48'::timestamp) - extract(epoch from '2026-07-18 15:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48846 -3.468011)'), GeomFromEWKT('SRID=4674;POINT (-38.488477 -3.468047)'))) / (select extract(epoch from '2026-07-18 15:25:48'::timestamp) - extract(epoch from '2026-07-18 15:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488497 -3.468062)', '2026-07-18 15:25:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488477 -3.468047)'), GeomFromEWKT('SRID=4674;POINT (-38.488497 -3.468062)'))) / (select extract(epoch from '2026-07-18 15:25:49'::timestamp) - extract(epoch from '2026-07-18 15:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488477 -3.468047)'), GeomFromEWKT('SRID=4674;POINT (-38.488497 -3.468062)'))) / (select extract(epoch from '2026-07-18 15:25:49'::timestamp) - extract(epoch from '2026-07-18 15:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488523 -3.468095)', '2026-07-18 15:25:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488497 -3.468062)'), GeomFromEWKT('SRID=4674;POINT (-38.488523 -3.468095)'))) / (select extract(epoch from '2026-07-18 15:25:51'::timestamp) - extract(epoch from '2026-07-18 15:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488497 -3.468062)'), GeomFromEWKT('SRID=4674;POINT (-38.488523 -3.468095)'))) / (select extract(epoch from '2026-07-18 15:25:51'::timestamp) - extract(epoch from '2026-07-18 15:25:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488526 -3.46811)', '2026-07-18 15:25:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488523 -3.468095)'), GeomFromEWKT('SRID=4674;POINT (-38.488526 -3.46811)'))) / (select extract(epoch from '2026-07-18 15:25:52'::timestamp) - extract(epoch from '2026-07-18 15:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488523 -3.468095)'), GeomFromEWKT('SRID=4674;POINT (-38.488526 -3.46811)'))) / (select extract(epoch from '2026-07-18 15:25:52'::timestamp) - extract(epoch from '2026-07-18 15:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488554 -3.468218)', '2026-07-18 15:26:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488526 -3.46811)'), GeomFromEWKT('SRID=4674;POINT (-38.488554 -3.468218)'))) / (select extract(epoch from '2026-07-18 15:26:01'::timestamp) - extract(epoch from '2026-07-18 15:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488526 -3.46811)'), GeomFromEWKT('SRID=4674;POINT (-38.488554 -3.468218)'))) / (select extract(epoch from '2026-07-18 15:26:01'::timestamp) - extract(epoch from '2026-07-18 15:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488561 -3.468232)', '2026-07-18 15:26:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488554 -3.468218)'), GeomFromEWKT('SRID=4674;POINT (-38.488561 -3.468232)'))) / (select extract(epoch from '2026-07-18 15:26:02'::timestamp) - extract(epoch from '2026-07-18 15:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488554 -3.468218)'), GeomFromEWKT('SRID=4674;POINT (-38.488561 -3.468232)'))) / (select extract(epoch from '2026-07-18 15:26:02'::timestamp) - extract(epoch from '2026-07-18 15:26:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488602 -3.468269)', '2026-07-18 15:26:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488561 -3.468232)'), GeomFromEWKT('SRID=4674;POINT (-38.488602 -3.468269)'))) / (select extract(epoch from '2026-07-18 15:26:05'::timestamp) - extract(epoch from '2026-07-18 15:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488561 -3.468232)'), GeomFromEWKT('SRID=4674;POINT (-38.488602 -3.468269)'))) / (select extract(epoch from '2026-07-18 15:26:05'::timestamp) - extract(epoch from '2026-07-18 15:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48866 -3.468381)', '2026-07-18 15:26:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488602 -3.468269)'), GeomFromEWKT('SRID=4674;POINT (-38.48866 -3.468381)'))) / (select extract(epoch from '2026-07-18 15:26:12'::timestamp) - extract(epoch from '2026-07-18 15:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488602 -3.468269)'), GeomFromEWKT('SRID=4674;POINT (-38.48866 -3.468381)'))) / (select extract(epoch from '2026-07-18 15:26:12'::timestamp) - extract(epoch from '2026-07-18 15:26:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488671 -3.468416)', '2026-07-18 15:26:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48866 -3.468381)'), GeomFromEWKT('SRID=4674;POINT (-38.488671 -3.468416)'))) / (select extract(epoch from '2026-07-18 15:26:14'::timestamp) - extract(epoch from '2026-07-18 15:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48866 -3.468381)'), GeomFromEWKT('SRID=4674;POINT (-38.488671 -3.468416)'))) / (select extract(epoch from '2026-07-18 15:26:14'::timestamp) - extract(epoch from '2026-07-18 15:26:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488704 -3.46848)', '2026-07-18 15:26:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488671 -3.468416)'), GeomFromEWKT('SRID=4674;POINT (-38.488704 -3.46848)'))) / (select extract(epoch from '2026-07-18 15:26:18'::timestamp) - extract(epoch from '2026-07-18 15:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488671 -3.468416)'), GeomFromEWKT('SRID=4674;POINT (-38.488704 -3.46848)'))) / (select extract(epoch from '2026-07-18 15:26:18'::timestamp) - extract(epoch from '2026-07-18 15:26:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488727 -3.468529)', '2026-07-18 15:26:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488704 -3.46848)'), GeomFromEWKT('SRID=4674;POINT (-38.488727 -3.468529)'))) / (select extract(epoch from '2026-07-18 15:26:21'::timestamp) - extract(epoch from '2026-07-18 15:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488704 -3.46848)'), GeomFromEWKT('SRID=4674;POINT (-38.488727 -3.468529)'))) / (select extract(epoch from '2026-07-18 15:26:21'::timestamp) - extract(epoch from '2026-07-18 15:26:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488736 -3.468562)', '2026-07-18 15:26:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488727 -3.468529)'), GeomFromEWKT('SRID=4674;POINT (-38.488736 -3.468562)'))) / (select extract(epoch from '2026-07-18 15:26:23'::timestamp) - extract(epoch from '2026-07-18 15:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488727 -3.468529)'), GeomFromEWKT('SRID=4674;POINT (-38.488736 -3.468562)'))) / (select extract(epoch from '2026-07-18 15:26:23'::timestamp) - extract(epoch from '2026-07-18 15:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48878 -3.468645)', '2026-07-18 15:26:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488736 -3.468562)'), GeomFromEWKT('SRID=4674;POINT (-38.48878 -3.468645)'))) / (select extract(epoch from '2026-07-18 15:26:28'::timestamp) - extract(epoch from '2026-07-18 15:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488736 -3.468562)'), GeomFromEWKT('SRID=4674;POINT (-38.48878 -3.468645)'))) / (select extract(epoch from '2026-07-18 15:26:28'::timestamp) - extract(epoch from '2026-07-18 15:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488822 -3.468719)', '2026-07-18 15:26:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48878 -3.468645)'), GeomFromEWKT('SRID=4674;POINT (-38.488822 -3.468719)'))) / (select extract(epoch from '2026-07-18 15:26:33'::timestamp) - extract(epoch from '2026-07-18 15:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48878 -3.468645)'), GeomFromEWKT('SRID=4674;POINT (-38.488822 -3.468719)'))) / (select extract(epoch from '2026-07-18 15:26:33'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.488865 -3.468798)', '2026-07-18 15:26:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488822 -3.468719)'), GeomFromEWKT('SRID=4674;POINT (-38.488865 -3.468798)'))) / (select extract(epoch from '2026-07-18 15:26:38'::timestamp) - extract(epoch from '2026-07-18 15:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488822 -3.468719)'), GeomFromEWKT('SRID=4674;POINT (-38.488865 -3.468798)'))) / (select extract(epoch from '2026-07-18 15:26:38'::timestamp) - extract(epoch from '2026-07-18 15:26:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488881 -3.468831)', '2026-07-18 15:26:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488865 -3.468798)'), GeomFromEWKT('SRID=4674;POINT (-38.488881 -3.468831)'))) / (select extract(epoch from '2026-07-18 15:26:40'::timestamp) - extract(epoch from '2026-07-18 15:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488865 -3.468798)'), GeomFromEWKT('SRID=4674;POINT (-38.488881 -3.468831)'))) / (select extract(epoch from '2026-07-18 15:26:40'::timestamp) - extract(epoch from '2026-07-18 15:26:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488901 -3.468863)', '2026-07-18 15:26:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488881 -3.468831)'), GeomFromEWKT('SRID=4674;POINT (-38.488901 -3.468863)'))) / (select extract(epoch from '2026-07-18 15:26:42'::timestamp) - extract(epoch from '2026-07-18 15:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488881 -3.468831)'), GeomFromEWKT('SRID=4674;POINT (-38.488901 -3.468863)'))) / (select extract(epoch from '2026-07-18 15:26:42'::timestamp) - extract(epoch from '2026-07-18 15:26:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488939 -3.468962)', '2026-07-18 15:26:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488901 -3.468863)'), GeomFromEWKT('SRID=4674;POINT (-38.488939 -3.468962)'))) / (select extract(epoch from '2026-07-18 15:26:47'::timestamp) - extract(epoch from '2026-07-18 15:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488901 -3.468863)'), GeomFromEWKT('SRID=4674;POINT (-38.488939 -3.468962)'))) / (select extract(epoch from '2026-07-18 15:26:47'::timestamp) - extract(epoch from '2026-07-18 15:26:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488958 -3.469005)', '2026-07-18 15:26:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488939 -3.468962)'), GeomFromEWKT('SRID=4674;POINT (-38.488958 -3.469005)'))) / (select extract(epoch from '2026-07-18 15:26:49'::timestamp) - extract(epoch from '2026-07-18 15:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488939 -3.468962)'), GeomFromEWKT('SRID=4674;POINT (-38.488958 -3.469005)'))) / (select extract(epoch from '2026-07-18 15:26:49'::timestamp) - extract(epoch from '2026-07-18 15:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.488959 -3.469041)', '2026-07-18 15:26:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488958 -3.469005)'), GeomFromEWKT('SRID=4674;POINT (-38.488959 -3.469041)'))) / (select extract(epoch from '2026-07-18 15:26:51'::timestamp) - extract(epoch from '2026-07-18 15:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488958 -3.469005)'), GeomFromEWKT('SRID=4674;POINT (-38.488959 -3.469041)'))) / (select extract(epoch from '2026-07-18 15:26:51'::timestamp) - extract(epoch from '2026-07-18 15:26:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489001 -3.469114)', '2026-07-18 15:26:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488959 -3.469041)'), GeomFromEWKT('SRID=4674;POINT (-38.489001 -3.469114)'))) / (select extract(epoch from '2026-07-18 15:26:55'::timestamp) - extract(epoch from '2026-07-18 15:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.488959 -3.469041)'), GeomFromEWKT('SRID=4674;POINT (-38.489001 -3.469114)'))) / (select extract(epoch from '2026-07-18 15:26:55'::timestamp) - extract(epoch from '2026-07-18 15:26:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489004 -3.469152)', '2026-07-18 15:26:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489001 -3.469114)'), GeomFromEWKT('SRID=4674;POINT (-38.489004 -3.469152)'))) / (select extract(epoch from '2026-07-18 15:26:57'::timestamp) - extract(epoch from '2026-07-18 15:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489001 -3.469114)'), GeomFromEWKT('SRID=4674;POINT (-38.489004 -3.469152)'))) / (select extract(epoch from '2026-07-18 15:26:57'::timestamp) - extract(epoch from '2026-07-18 15:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489042 -3.469206)', '2026-07-18 15:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489004 -3.469152)'), GeomFromEWKT('SRID=4674;POINT (-38.489042 -3.469206)'))) / (select extract(epoch from '2026-07-18 15:27:00'::timestamp) - extract(epoch from '2026-07-18 15:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489004 -3.469152)'), GeomFromEWKT('SRID=4674;POINT (-38.489042 -3.469206)'))) / (select extract(epoch from '2026-07-18 15:27:00'::timestamp) - extract(epoch from '2026-07-18 15:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489068 -3.469271)', '2026-07-18 15:27:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489042 -3.469206)'), GeomFromEWKT('SRID=4674;POINT (-38.489068 -3.469271)'))) / (select extract(epoch from '2026-07-18 15:27:04'::timestamp) - extract(epoch from '2026-07-18 15:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489042 -3.469206)'), GeomFromEWKT('SRID=4674;POINT (-38.489068 -3.469271)'))) / (select extract(epoch from '2026-07-18 15:27:04'::timestamp) - extract(epoch from '2026-07-18 15:27:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489068 -3.469289)', '2026-07-18 15:27:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489068 -3.469271)'), GeomFromEWKT('SRID=4674;POINT (-38.489068 -3.469289)'))) / (select extract(epoch from '2026-07-18 15:27:05'::timestamp) - extract(epoch from '2026-07-18 15:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489068 -3.469271)'), GeomFromEWKT('SRID=4674;POINT (-38.489068 -3.469289)'))) / (select extract(epoch from '2026-07-18 15:27:05'::timestamp) - extract(epoch from '2026-07-18 15:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489075 -3.469308)', '2026-07-18 15:27:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489068 -3.469289)'), GeomFromEWKT('SRID=4674;POINT (-38.489075 -3.469308)'))) / (select extract(epoch from '2026-07-18 15:27:06'::timestamp) - extract(epoch from '2026-07-18 15:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489068 -3.469289)'), GeomFromEWKT('SRID=4674;POINT (-38.489075 -3.469308)'))) / (select extract(epoch from '2026-07-18 15:27:06'::timestamp) - extract(epoch from '2026-07-18 15:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489093 -3.469333)', '2026-07-18 15:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489075 -3.469308)'), GeomFromEWKT('SRID=4674;POINT (-38.489093 -3.469333)'))) / (select extract(epoch from '2026-07-18 15:27:08'::timestamp) - extract(epoch from '2026-07-18 15:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489075 -3.469308)'), GeomFromEWKT('SRID=4674;POINT (-38.489093 -3.469333)'))) / (select extract(epoch from '2026-07-18 15:27:08'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.489138 -3.469396)', '2026-07-18 15:27:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489093 -3.469333)'), GeomFromEWKT('SRID=4674;POINT (-38.489138 -3.469396)'))) / (select extract(epoch from '2026-07-18 15:27:13'::timestamp) - extract(epoch from '2026-07-18 15:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489093 -3.469333)'), GeomFromEWKT('SRID=4674;POINT (-38.489138 -3.469396)'))) / (select extract(epoch from '2026-07-18 15:27:13'::timestamp) - extract(epoch from '2026-07-18 15:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489145 -3.469414)', '2026-07-18 15:27:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489138 -3.469396)'), GeomFromEWKT('SRID=4674;POINT (-38.489145 -3.469414)'))) / (select extract(epoch from '2026-07-18 15:27:14'::timestamp) - extract(epoch from '2026-07-18 15:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489138 -3.469396)'), GeomFromEWKT('SRID=4674;POINT (-38.489145 -3.469414)'))) / (select extract(epoch from '2026-07-18 15:27:14'::timestamp) - extract(epoch from '2026-07-18 15:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4892 -3.46954)', '2026-07-18 15:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489145 -3.469414)'), GeomFromEWKT('SRID=4674;POINT (-38.4892 -3.46954)'))) / (select extract(epoch from '2026-07-18 15:27:21'::timestamp) - extract(epoch from '2026-07-18 15:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489145 -3.469414)'), GeomFromEWKT('SRID=4674;POINT (-38.4892 -3.46954)'))) / (select extract(epoch from '2026-07-18 15:27:21'::timestamp) - extract(epoch from '2026-07-18 15:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489232 -3.469653)', '2026-07-18 15:27:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4892 -3.46954)'), GeomFromEWKT('SRID=4674;POINT (-38.489232 -3.469653)'))) / (select extract(epoch from '2026-07-18 15:27:27'::timestamp) - extract(epoch from '2026-07-18 15:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4892 -3.46954)'), GeomFromEWKT('SRID=4674;POINT (-38.489232 -3.469653)'))) / (select extract(epoch from '2026-07-18 15:27:27'::timestamp) - extract(epoch from '2026-07-18 15:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489264 -3.469781)', '2026-07-18 15:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489232 -3.469653)'), GeomFromEWKT('SRID=4674;POINT (-38.489264 -3.469781)'))) / (select extract(epoch from '2026-07-18 15:27:34'::timestamp) - extract(epoch from '2026-07-18 15:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489232 -3.469653)'), GeomFromEWKT('SRID=4674;POINT (-38.489264 -3.469781)'))) / (select extract(epoch from '2026-07-18 15:27:34'::timestamp) - extract(epoch from '2026-07-18 15:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489292 -3.469851)', '2026-07-18 15:27:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489264 -3.469781)'), GeomFromEWKT('SRID=4674;POINT (-38.489292 -3.469851)'))) / (select extract(epoch from '2026-07-18 15:27:38'::timestamp) - extract(epoch from '2026-07-18 15:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489264 -3.469781)'), GeomFromEWKT('SRID=4674;POINT (-38.489292 -3.469851)'))) / (select extract(epoch from '2026-07-18 15:27:38'::timestamp) - extract(epoch from '2026-07-18 15:27:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489305 -3.469884)', '2026-07-18 15:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489292 -3.469851)'), GeomFromEWKT('SRID=4674;POINT (-38.489305 -3.469884)'))) / (select extract(epoch from '2026-07-18 15:27:40'::timestamp) - extract(epoch from '2026-07-18 15:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489292 -3.469851)'), GeomFromEWKT('SRID=4674;POINT (-38.489305 -3.469884)'))) / (select extract(epoch from '2026-07-18 15:27:40'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.489332 -3.469964)', '2026-07-18 15:27:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489305 -3.469884)'), GeomFromEWKT('SRID=4674;POINT (-38.489332 -3.469964)'))) / (select extract(epoch from '2026-07-18 15:27:45'::timestamp) - extract(epoch from '2026-07-18 15:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489305 -3.469884)'), GeomFromEWKT('SRID=4674;POINT (-38.489332 -3.469964)'))) / (select extract(epoch from '2026-07-18 15:27:45'::timestamp) - extract(epoch from '2026-07-18 15:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489374 -3.47006)', '2026-07-18 15:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489332 -3.469964)'), GeomFromEWKT('SRID=4674;POINT (-38.489374 -3.47006)'))) / (select extract(epoch from '2026-07-18 15:27:51'::timestamp) - extract(epoch from '2026-07-18 15:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489332 -3.469964)'), GeomFromEWKT('SRID=4674;POINT (-38.489374 -3.47006)'))) / (select extract(epoch from '2026-07-18 15:27:51'::timestamp) - extract(epoch from '2026-07-18 15:27:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489411 -3.470165)', '2026-07-18 15:27:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489374 -3.47006)'), GeomFromEWKT('SRID=4674;POINT (-38.489411 -3.470165)'))) / (select extract(epoch from '2026-07-18 15:27:57'::timestamp) - extract(epoch from '2026-07-18 15:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489374 -3.47006)'), GeomFromEWKT('SRID=4674;POINT (-38.489411 -3.470165)'))) / (select extract(epoch from '2026-07-18 15:27:57'::timestamp) - extract(epoch from '2026-07-18 15:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48943 -3.470196)', '2026-07-18 15:27:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489411 -3.470165)'), GeomFromEWKT('SRID=4674;POINT (-38.48943 -3.470196)'))) / (select extract(epoch from '2026-07-18 15:27:59'::timestamp) - extract(epoch from '2026-07-18 15:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489411 -3.470165)'), GeomFromEWKT('SRID=4674;POINT (-38.48943 -3.470196)'))) / (select extract(epoch from '2026-07-18 15:27:59'::timestamp) - extract(epoch from '2026-07-18 15:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489446 -3.470229)', '2026-07-18 15:28:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48943 -3.470196)'), GeomFromEWKT('SRID=4674;POINT (-38.489446 -3.470229)'))) / (select extract(epoch from '2026-07-18 15:28:01'::timestamp) - extract(epoch from '2026-07-18 15:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48943 -3.470196)'), GeomFromEWKT('SRID=4674;POINT (-38.489446 -3.470229)'))) / (select extract(epoch from '2026-07-18 15:28:01'::timestamp) - extract(epoch from '2026-07-18 15:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489456 -3.470242)', '2026-07-18 15:28:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489446 -3.470229)'), GeomFromEWKT('SRID=4674;POINT (-38.489456 -3.470242)'))) / (select extract(epoch from '2026-07-18 15:28:02'::timestamp) - extract(epoch from '2026-07-18 15:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489446 -3.470229)'), GeomFromEWKT('SRID=4674;POINT (-38.489456 -3.470242)'))) / (select extract(epoch from '2026-07-18 15:28:02'::timestamp) - extract(epoch from '2026-07-18 15:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489502 -3.470329)', '2026-07-18 15:28:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489456 -3.470242)'), GeomFromEWKT('SRID=4674;POINT (-38.489502 -3.470329)'))) / (select extract(epoch from '2026-07-18 15:28:07'::timestamp) - extract(epoch from '2026-07-18 15:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489456 -3.470242)'), GeomFromEWKT('SRID=4674;POINT (-38.489502 -3.470329)'))) / (select extract(epoch from '2026-07-18 15:28:07'::timestamp) - extract(epoch from '2026-07-18 15:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489564 -3.470429)', '2026-07-18 15:28:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489502 -3.470329)'), GeomFromEWKT('SRID=4674;POINT (-38.489564 -3.470429)'))) / (select extract(epoch from '2026-07-18 15:28:12'::timestamp) - extract(epoch from '2026-07-18 15:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489502 -3.470329)'), GeomFromEWKT('SRID=4674;POINT (-38.489564 -3.470429)'))) / (select extract(epoch from '2026-07-18 15:28:12'::timestamp) - extract(epoch from '2026-07-18 15:28:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489568 -3.470447)', '2026-07-18 15:28:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489564 -3.470429)'), GeomFromEWKT('SRID=4674;POINT (-38.489568 -3.470447)'))) / (select extract(epoch from '2026-07-18 15:28:13'::timestamp) - extract(epoch from '2026-07-18 15:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489564 -3.470429)'), GeomFromEWKT('SRID=4674;POINT (-38.489568 -3.470447)'))) / (select extract(epoch from '2026-07-18 15:28:13'::timestamp) - extract(epoch from '2026-07-18 15:28:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489579 -3.470498)', '2026-07-18 15:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489568 -3.470447)'), GeomFromEWKT('SRID=4674;POINT (-38.489579 -3.470498)'))) / (select extract(epoch from '2026-07-18 15:28:16'::timestamp) - extract(epoch from '2026-07-18 15:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489568 -3.470447)'), GeomFromEWKT('SRID=4674;POINT (-38.489579 -3.470498)'))) / (select extract(epoch from '2026-07-18 15:28:16'::timestamp) - extract(epoch from '2026-07-18 15:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489609 -3.470595)', '2026-07-18 15:28:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489579 -3.470498)'), GeomFromEWKT('SRID=4674;POINT (-38.489609 -3.470595)'))) / (select extract(epoch from '2026-07-18 15:28:22'::timestamp) - extract(epoch from '2026-07-18 15:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489579 -3.470498)'), GeomFromEWKT('SRID=4674;POINT (-38.489609 -3.470595)'))) / (select extract(epoch from '2026-07-18 15:28:22'::timestamp) - extract(epoch from '2026-07-18 15:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489645 -3.4707)', '2026-07-18 15:28:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489609 -3.470595)'), GeomFromEWKT('SRID=4674;POINT (-38.489645 -3.4707)'))) / (select extract(epoch from '2026-07-18 15:28:28'::timestamp) - extract(epoch from '2026-07-18 15:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489609 -3.470595)'), GeomFromEWKT('SRID=4674;POINT (-38.489645 -3.4707)'))) / (select extract(epoch from '2026-07-18 15:28:28'::timestamp) - extract(epoch from '2026-07-18 15:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489682 -3.470765)', '2026-07-18 15:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489645 -3.4707)'), GeomFromEWKT('SRID=4674;POINT (-38.489682 -3.470765)'))) / (select extract(epoch from '2026-07-18 15:28:32'::timestamp) - extract(epoch from '2026-07-18 15:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489645 -3.4707)'), GeomFromEWKT('SRID=4674;POINT (-38.489682 -3.470765)'))) / (select extract(epoch from '2026-07-18 15:28:32'::timestamp) - extract(epoch from '2026-07-18 15:28:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489684 -3.470783)', '2026-07-18 15:28:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489682 -3.470765)'), GeomFromEWKT('SRID=4674;POINT (-38.489684 -3.470783)'))) / (select extract(epoch from '2026-07-18 15:28:33'::timestamp) - extract(epoch from '2026-07-18 15:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489682 -3.470765)'), GeomFromEWKT('SRID=4674;POINT (-38.489684 -3.470783)'))) / (select extract(epoch from '2026-07-18 15:28:33'::timestamp) - extract(epoch from '2026-07-18 15:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489694 -3.4708)', '2026-07-18 15:28:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489684 -3.470783)'), GeomFromEWKT('SRID=4674;POINT (-38.489694 -3.4708)'))) / (select extract(epoch from '2026-07-18 15:28:34'::timestamp) - extract(epoch from '2026-07-18 15:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489684 -3.470783)'), GeomFromEWKT('SRID=4674;POINT (-38.489694 -3.4708)'))) / (select extract(epoch from '2026-07-18 15:28:34'::timestamp) - extract(epoch from '2026-07-18 15:28:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489713 -3.470827)', '2026-07-18 15:28:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489694 -3.4708)'), GeomFromEWKT('SRID=4674;POINT (-38.489713 -3.470827)'))) / (select extract(epoch from '2026-07-18 15:28:36'::timestamp) - extract(epoch from '2026-07-18 15:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489694 -3.4708)'), GeomFromEWKT('SRID=4674;POINT (-38.489713 -3.470827)'))) / (select extract(epoch from '2026-07-18 15:28:36'::timestamp) - extract(epoch from '2026-07-18 15:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489719 -3.470846)', '2026-07-18 15:28:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489713 -3.470827)'), GeomFromEWKT('SRID=4674;POINT (-38.489719 -3.470846)'))) / (select extract(epoch from '2026-07-18 15:28:37'::timestamp) - extract(epoch from '2026-07-18 15:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489713 -3.470827)'), GeomFromEWKT('SRID=4674;POINT (-38.489719 -3.470846)'))) / (select extract(epoch from '2026-07-18 15:28:37'::timestamp) - extract(epoch from '2026-07-18 15:28:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489755 -3.470951)', '2026-07-18 15:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489719 -3.470846)'), GeomFromEWKT('SRID=4674;POINT (-38.489755 -3.470951)'))) / (select extract(epoch from '2026-07-18 15:28:43'::timestamp) - extract(epoch from '2026-07-18 15:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489719 -3.470846)'), GeomFromEWKT('SRID=4674;POINT (-38.489755 -3.470951)'))) / (select extract(epoch from '2026-07-18 15:28:43'::timestamp) - extract(epoch from '2026-07-18 15:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489773 -3.471005)', '2026-07-18 15:28:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489755 -3.470951)'), GeomFromEWKT('SRID=4674;POINT (-38.489773 -3.471005)'))) / (select extract(epoch from '2026-07-18 15:28:46'::timestamp) - extract(epoch from '2026-07-18 15:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489755 -3.470951)'), GeomFromEWKT('SRID=4674;POINT (-38.489773 -3.471005)'))) / (select extract(epoch from '2026-07-18 15:28:46'::timestamp) - extract(epoch from '2026-07-18 15:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489788 -3.47104)', '2026-07-18 15:28:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489773 -3.471005)'), GeomFromEWKT('SRID=4674;POINT (-38.489788 -3.47104)'))) / (select extract(epoch from '2026-07-18 15:28:48'::timestamp) - extract(epoch from '2026-07-18 15:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489773 -3.471005)'), GeomFromEWKT('SRID=4674;POINT (-38.489788 -3.47104)'))) / (select extract(epoch from '2026-07-18 15:28:48'::timestamp) - extract(epoch from '2026-07-18 15:28:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489818 -3.471101)', '2026-07-18 15:28:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489788 -3.47104)'), GeomFromEWKT('SRID=4674;POINT (-38.489818 -3.471101)'))) / (select extract(epoch from '2026-07-18 15:28:52'::timestamp) - extract(epoch from '2026-07-18 15:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489788 -3.47104)'), GeomFromEWKT('SRID=4674;POINT (-38.489818 -3.471101)'))) / (select extract(epoch from '2026-07-18 15:28:52'::timestamp) - extract(epoch from '2026-07-18 15:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489825 -3.471137)', '2026-07-18 15:28:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489818 -3.471101)'), GeomFromEWKT('SRID=4674;POINT (-38.489825 -3.471137)'))) / (select extract(epoch from '2026-07-18 15:28:54'::timestamp) - extract(epoch from '2026-07-18 15:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489818 -3.471101)'), GeomFromEWKT('SRID=4674;POINT (-38.489825 -3.471137)'))) / (select extract(epoch from '2026-07-18 15:28:54'::timestamp) - extract(epoch from '2026-07-18 15:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489863 -3.471228)', '2026-07-18 15:28:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489825 -3.471137)'), GeomFromEWKT('SRID=4674;POINT (-38.489863 -3.471228)'))) / (select extract(epoch from '2026-07-18 15:28:59'::timestamp) - extract(epoch from '2026-07-18 15:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489825 -3.471137)'), GeomFromEWKT('SRID=4674;POINT (-38.489863 -3.471228)'))) / (select extract(epoch from '2026-07-18 15:28:59'::timestamp) - extract(epoch from '2026-07-18 15:28:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489904 -3.471314)', '2026-07-18 15:29:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489863 -3.471228)'), GeomFromEWKT('SRID=4674;POINT (-38.489904 -3.471314)'))) / (select extract(epoch from '2026-07-18 15:29:04'::timestamp) - extract(epoch from '2026-07-18 15:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489863 -3.471228)'), GeomFromEWKT('SRID=4674;POINT (-38.489904 -3.471314)'))) / (select extract(epoch from '2026-07-18 15:29:04'::timestamp) - extract(epoch from '2026-07-18 15:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.489933 -3.471398)', '2026-07-18 15:29:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489904 -3.471314)'), GeomFromEWKT('SRID=4674;POINT (-38.489933 -3.471398)'))) / (select extract(epoch from '2026-07-18 15:29:09'::timestamp) - extract(epoch from '2026-07-18 15:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489904 -3.471314)'), GeomFromEWKT('SRID=4674;POINT (-38.489933 -3.471398)'))) / (select extract(epoch from '2026-07-18 15:29:09'::timestamp) - extract(epoch from '2026-07-18 15:29:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48996 -3.471463)', '2026-07-18 15:29:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489933 -3.471398)'), GeomFromEWKT('SRID=4674;POINT (-38.48996 -3.471463)'))) / (select extract(epoch from '2026-07-18 15:29:13'::timestamp) - extract(epoch from '2026-07-18 15:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.489933 -3.471398)'), GeomFromEWKT('SRID=4674;POINT (-38.48996 -3.471463)'))) / (select extract(epoch from '2026-07-18 15:29:13'::timestamp) - extract(epoch from '2026-07-18 15:29:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490006 -3.471559)', '2026-07-18 15:29:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48996 -3.471463)'), GeomFromEWKT('SRID=4674;POINT (-38.490006 -3.471559)'))) / (select extract(epoch from '2026-07-18 15:29:19'::timestamp) - extract(epoch from '2026-07-18 15:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48996 -3.471463)'), GeomFromEWKT('SRID=4674;POINT (-38.490006 -3.471559)'))) / (select extract(epoch from '2026-07-18 15:29:19'::timestamp) - extract(epoch from '2026-07-18 15:29:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490021 -3.471615)', '2026-07-18 15:29:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490006 -3.471559)'), GeomFromEWKT('SRID=4674;POINT (-38.490021 -3.471615)'))) / (select extract(epoch from '2026-07-18 15:29:22'::timestamp) - extract(epoch from '2026-07-18 15:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490006 -3.471559)'), GeomFromEWKT('SRID=4674;POINT (-38.490021 -3.471615)'))) / (select extract(epoch from '2026-07-18 15:29:22'::timestamp) - extract(epoch from '2026-07-18 15:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490032 -3.47163)', '2026-07-18 15:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490021 -3.471615)'), GeomFromEWKT('SRID=4674;POINT (-38.490032 -3.47163)'))) / (select extract(epoch from '2026-07-18 15:29:23'::timestamp) - extract(epoch from '2026-07-18 15:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490021 -3.471615)'), GeomFromEWKT('SRID=4674;POINT (-38.490032 -3.47163)'))) / (select extract(epoch from '2026-07-18 15:29:23'::timestamp) - extract(epoch from '2026-07-18 15:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490069 -3.471725)', '2026-07-18 15:29:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490032 -3.47163)'), GeomFromEWKT('SRID=4674;POINT (-38.490069 -3.471725)'))) / (select extract(epoch from '2026-07-18 15:29:28'::timestamp) - extract(epoch from '2026-07-18 15:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490032 -3.47163)'), GeomFromEWKT('SRID=4674;POINT (-38.490069 -3.471725)'))) / (select extract(epoch from '2026-07-18 15:29:28'::timestamp) - extract(epoch from '2026-07-18 15:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490113 -3.471826)', '2026-07-18 15:29:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490069 -3.471725)'), GeomFromEWKT('SRID=4674;POINT (-38.490113 -3.471826)'))) / (select extract(epoch from '2026-07-18 15:29:34'::timestamp) - extract(epoch from '2026-07-18 15:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490069 -3.471725)'), GeomFromEWKT('SRID=4674;POINT (-38.490113 -3.471826)'))) / (select extract(epoch from '2026-07-18 15:29:34'::timestamp) - extract(epoch from '2026-07-18 15:29:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490135 -3.471869)', '2026-07-18 15:29:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490113 -3.471826)'), GeomFromEWKT('SRID=4674;POINT (-38.490135 -3.471869)'))) / (select extract(epoch from '2026-07-18 15:29:37'::timestamp) - extract(epoch from '2026-07-18 15:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490113 -3.471826)'), GeomFromEWKT('SRID=4674;POINT (-38.490135 -3.471869)'))) / (select extract(epoch from '2026-07-18 15:29:37'::timestamp) - extract(epoch from '2026-07-18 15:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490152 -3.471905)', '2026-07-18 15:29:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490135 -3.471869)'), GeomFromEWKT('SRID=4674;POINT (-38.490152 -3.471905)'))) / (select extract(epoch from '2026-07-18 15:29:39'::timestamp) - extract(epoch from '2026-07-18 15:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490135 -3.471869)'), GeomFromEWKT('SRID=4674;POINT (-38.490152 -3.471905)'))) / (select extract(epoch from '2026-07-18 15:29:39'::timestamp) - extract(epoch from '2026-07-18 15:29:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490197 -3.471997)', '2026-07-18 15:29:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490152 -3.471905)'), GeomFromEWKT('SRID=4674;POINT (-38.490197 -3.471997)'))) / (select extract(epoch from '2026-07-18 15:29:45'::timestamp) - extract(epoch from '2026-07-18 15:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490152 -3.471905)'), GeomFromEWKT('SRID=4674;POINT (-38.490197 -3.471997)'))) / (select extract(epoch from '2026-07-18 15:29:45'::timestamp) - extract(epoch from '2026-07-18 15:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490224 -3.472096)', '2026-07-18 15:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490197 -3.471997)'), GeomFromEWKT('SRID=4674;POINT (-38.490224 -3.472096)'))) / (select extract(epoch from '2026-07-18 15:29:51'::timestamp) - extract(epoch from '2026-07-18 15:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490197 -3.471997)'), GeomFromEWKT('SRID=4674;POINT (-38.490224 -3.472096)'))) / (select extract(epoch from '2026-07-18 15:29:51'::timestamp) - extract(epoch from '2026-07-18 15:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490258 -3.472149)', '2026-07-18 15:29:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490224 -3.472096)'), GeomFromEWKT('SRID=4674;POINT (-38.490258 -3.472149)'))) / (select extract(epoch from '2026-07-18 15:29:54'::timestamp) - extract(epoch from '2026-07-18 15:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490224 -3.472096)'), GeomFromEWKT('SRID=4674;POINT (-38.490258 -3.472149)'))) / (select extract(epoch from '2026-07-18 15:29:54'::timestamp) - extract(epoch from '2026-07-18 15:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490268 -3.47218)', '2026-07-18 15:29:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490258 -3.472149)'), GeomFromEWKT('SRID=4674;POINT (-38.490268 -3.47218)'))) / (select extract(epoch from '2026-07-18 15:29:56'::timestamp) - extract(epoch from '2026-07-18 15:29:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490258 -3.472149)'), GeomFromEWKT('SRID=4674;POINT (-38.490268 -3.47218)'))) / (select extract(epoch from '2026-07-18 15:29:56'::timestamp) - extract(epoch from '2026-07-18 15:29:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490279 -3.472193)', '2026-07-18 15:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490268 -3.47218)'), GeomFromEWKT('SRID=4674;POINT (-38.490279 -3.472193)'))) / (select extract(epoch from '2026-07-18 15:29:57'::timestamp) - extract(epoch from '2026-07-18 15:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490268 -3.47218)'), GeomFromEWKT('SRID=4674;POINT (-38.490279 -3.472193)'))) / (select extract(epoch from '2026-07-18 15:29:57'::timestamp) - extract(epoch from '2026-07-18 15:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490301 -3.472243)', '2026-07-18 15:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490279 -3.472193)'), GeomFromEWKT('SRID=4674;POINT (-38.490301 -3.472243)'))) / (select extract(epoch from '2026-07-18 15:30:00'::timestamp) - extract(epoch from '2026-07-18 15:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490279 -3.472193)'), GeomFromEWKT('SRID=4674;POINT (-38.490301 -3.472243)'))) / (select extract(epoch from '2026-07-18 15:30:00'::timestamp) - extract(epoch from '2026-07-18 15:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490346 -3.472324)', '2026-07-18 15:30:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490301 -3.472243)'), GeomFromEWKT('SRID=4674;POINT (-38.490346 -3.472324)'))) / (select extract(epoch from '2026-07-18 15:30:05'::timestamp) - extract(epoch from '2026-07-18 15:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490301 -3.472243)'), GeomFromEWKT('SRID=4674;POINT (-38.490346 -3.472324)'))) / (select extract(epoch from '2026-07-18 15:30:05'::timestamp) - extract(epoch from '2026-07-18 15:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490373 -3.472394)', '2026-07-18 15:30:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490346 -3.472324)'), GeomFromEWKT('SRID=4674;POINT (-38.490373 -3.472394)'))) / (select extract(epoch from '2026-07-18 15:30:09'::timestamp) - extract(epoch from '2026-07-18 15:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490346 -3.472324)'), GeomFromEWKT('SRID=4674;POINT (-38.490373 -3.472394)'))) / (select extract(epoch from '2026-07-18 15:30:09'::timestamp) - extract(epoch from '2026-07-18 15:30:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490391 -3.472411)', '2026-07-18 15:30:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490373 -3.472394)'), GeomFromEWKT('SRID=4674;POINT (-38.490391 -3.472411)'))) / (select extract(epoch from '2026-07-18 15:30:10'::timestamp) - extract(epoch from '2026-07-18 15:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490373 -3.472394)'), GeomFromEWKT('SRID=4674;POINT (-38.490391 -3.472411)'))) / (select extract(epoch from '2026-07-18 15:30:10'::timestamp) - extract(epoch from '2026-07-18 15:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490423 -3.472463)', '2026-07-18 15:30:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490391 -3.472411)'), GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.472463)'))) / (select extract(epoch from '2026-07-18 15:30:13'::timestamp) - extract(epoch from '2026-07-18 15:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490391 -3.472411)'), GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.472463)'))) / (select extract(epoch from '2026-07-18 15:30:13'::timestamp) - extract(epoch from '2026-07-18 15:30:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490423 -3.472481)', '2026-07-18 15:30:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.472463)'), GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.472481)'))) / (select extract(epoch from '2026-07-18 15:30:14'::timestamp) - extract(epoch from '2026-07-18 15:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.472463)'), GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.472481)'))) / (select extract(epoch from '2026-07-18 15:30:14'::timestamp) - extract(epoch from '2026-07-18 15:30:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490432 -3.472497)', '2026-07-18 15:30:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.472481)'), GeomFromEWKT('SRID=4674;POINT (-38.490432 -3.472497)'))) / (select extract(epoch from '2026-07-18 15:30:15'::timestamp) - extract(epoch from '2026-07-18 15:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490423 -3.472481)'), GeomFromEWKT('SRID=4674;POINT (-38.490432 -3.472497)'))) / (select extract(epoch from '2026-07-18 15:30:15'::timestamp) - extract(epoch from '2026-07-18 15:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490469 -3.472552)', '2026-07-18 15:30:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490432 -3.472497)'), GeomFromEWKT('SRID=4674;POINT (-38.490469 -3.472552)'))) / (select extract(epoch from '2026-07-18 15:30:18'::timestamp) - extract(epoch from '2026-07-18 15:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490432 -3.472497)'), GeomFromEWKT('SRID=4674;POINT (-38.490469 -3.472552)'))) / (select extract(epoch from '2026-07-18 15:30:18'::timestamp) - extract(epoch from '2026-07-18 15:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490501 -3.472649)', '2026-07-18 15:30:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490469 -3.472552)'), GeomFromEWKT('SRID=4674;POINT (-38.490501 -3.472649)'))) / (select extract(epoch from '2026-07-18 15:30:23'::timestamp) - extract(epoch from '2026-07-18 15:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490469 -3.472552)'), GeomFromEWKT('SRID=4674;POINT (-38.490501 -3.472649)'))) / (select extract(epoch from '2026-07-18 15:30:23'::timestamp) - extract(epoch from '2026-07-18 15:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490535 -3.472733)', '2026-07-18 15:30:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490501 -3.472649)'), GeomFromEWKT('SRID=4674;POINT (-38.490535 -3.472733)'))) / (select extract(epoch from '2026-07-18 15:30:28'::timestamp) - extract(epoch from '2026-07-18 15:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490501 -3.472649)'), GeomFromEWKT('SRID=4674;POINT (-38.490535 -3.472733)'))) / (select extract(epoch from '2026-07-18 15:30:28'::timestamp) - extract(epoch from '2026-07-18 15:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490548 -3.472747)', '2026-07-18 15:30:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490535 -3.472733)'), GeomFromEWKT('SRID=4674;POINT (-38.490548 -3.472747)'))) / (select extract(epoch from '2026-07-18 15:30:29'::timestamp) - extract(epoch from '2026-07-18 15:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490535 -3.472733)'), GeomFromEWKT('SRID=4674;POINT (-38.490548 -3.472747)'))) / (select extract(epoch from '2026-07-18 15:30:29'::timestamp) - extract(epoch from '2026-07-18 15:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490588 -3.472825)', '2026-07-18 15:30:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490548 -3.472747)'), GeomFromEWKT('SRID=4674;POINT (-38.490588 -3.472825)'))) / (select extract(epoch from '2026-07-18 15:30:34'::timestamp) - extract(epoch from '2026-07-18 15:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490548 -3.472747)'), GeomFromEWKT('SRID=4674;POINT (-38.490588 -3.472825)'))) / (select extract(epoch from '2026-07-18 15:30:34'::timestamp) - extract(epoch from '2026-07-18 15:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490604 -3.472843)', '2026-07-18 15:30:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490588 -3.472825)'), GeomFromEWKT('SRID=4674;POINT (-38.490604 -3.472843)'))) / (select extract(epoch from '2026-07-18 15:30:35'::timestamp) - extract(epoch from '2026-07-18 15:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490588 -3.472825)'), GeomFromEWKT('SRID=4674;POINT (-38.490604 -3.472843)'))) / (select extract(epoch from '2026-07-18 15:30:35'::timestamp) - extract(epoch from '2026-07-18 15:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490639 -3.472893)', '2026-07-18 15:30:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490604 -3.472843)'), GeomFromEWKT('SRID=4674;POINT (-38.490639 -3.472893)'))) / (select extract(epoch from '2026-07-18 15:30:39'::timestamp) - extract(epoch from '2026-07-18 15:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490604 -3.472843)'), GeomFromEWKT('SRID=4674;POINT (-38.490639 -3.472893)'))) / (select extract(epoch from '2026-07-18 15:30:39'::timestamp) - extract(epoch from '2026-07-18 15:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490691 -3.472978)', '2026-07-18 15:30:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490639 -3.472893)'), GeomFromEWKT('SRID=4674;POINT (-38.490691 -3.472978)'))) / (select extract(epoch from '2026-07-18 15:30:44'::timestamp) - extract(epoch from '2026-07-18 15:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490639 -3.472893)'), GeomFromEWKT('SRID=4674;POINT (-38.490691 -3.472978)'))) / (select extract(epoch from '2026-07-18 15:30:44'::timestamp) - extract(epoch from '2026-07-18 15:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490725 -3.473076)', '2026-07-18 15:30:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490691 -3.472978)'), GeomFromEWKT('SRID=4674;POINT (-38.490725 -3.473076)'))) / (select extract(epoch from '2026-07-18 15:30:49'::timestamp) - extract(epoch from '2026-07-18 15:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490691 -3.472978)'), GeomFromEWKT('SRID=4674;POINT (-38.490725 -3.473076)'))) / (select extract(epoch from '2026-07-18 15:30:49'::timestamp) - extract(epoch from '2026-07-18 15:30:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490747 -3.473124)', '2026-07-18 15:30:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490725 -3.473076)'), GeomFromEWKT('SRID=4674;POINT (-38.490747 -3.473124)'))) / (select extract(epoch from '2026-07-18 15:30:52'::timestamp) - extract(epoch from '2026-07-18 15:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490725 -3.473076)'), GeomFromEWKT('SRID=4674;POINT (-38.490747 -3.473124)'))) / (select extract(epoch from '2026-07-18 15:30:52'::timestamp) - extract(epoch from '2026-07-18 15:30:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490751 -3.473156)', '2026-07-18 15:30:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490747 -3.473124)'), GeomFromEWKT('SRID=4674;POINT (-38.490751 -3.473156)'))) / (select extract(epoch from '2026-07-18 15:30:54'::timestamp) - extract(epoch from '2026-07-18 15:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490747 -3.473124)'), GeomFromEWKT('SRID=4674;POINT (-38.490751 -3.473156)'))) / (select extract(epoch from '2026-07-18 15:30:54'::timestamp) - extract(epoch from '2026-07-18 15:30:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490759 -3.473171)', '2026-07-18 15:30:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490751 -3.473156)'), GeomFromEWKT('SRID=4674;POINT (-38.490759 -3.473171)'))) / (select extract(epoch from '2026-07-18 15:30:55'::timestamp) - extract(epoch from '2026-07-18 15:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490751 -3.473156)'), GeomFromEWKT('SRID=4674;POINT (-38.490759 -3.473171)'))) / (select extract(epoch from '2026-07-18 15:30:55'::timestamp) - extract(epoch from '2026-07-18 15:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49081 -3.4733)', '2026-07-18 15:31:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490759 -3.473171)'), GeomFromEWKT('SRID=4674;POINT (-38.49081 -3.4733)'))) / (select extract(epoch from '2026-07-18 15:31:02'::timestamp) - extract(epoch from '2026-07-18 15:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490759 -3.473171)'), GeomFromEWKT('SRID=4674;POINT (-38.49081 -3.4733)'))) / (select extract(epoch from '2026-07-18 15:31:02'::timestamp) - extract(epoch from '2026-07-18 15:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490868 -3.47342)', '2026-07-18 15:31:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49081 -3.4733)'), GeomFromEWKT('SRID=4674;POINT (-38.490868 -3.47342)'))) / (select extract(epoch from '2026-07-18 15:31:08'::timestamp) - extract(epoch from '2026-07-18 15:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49081 -3.4733)'), GeomFromEWKT('SRID=4674;POINT (-38.490868 -3.47342)'))) / (select extract(epoch from '2026-07-18 15:31:08'::timestamp) - extract(epoch from '2026-07-18 15:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490874 -3.47346)', '2026-07-18 15:31:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490868 -3.47342)'), GeomFromEWKT('SRID=4674;POINT (-38.490874 -3.47346)'))) / (select extract(epoch from '2026-07-18 15:31:10'::timestamp) - extract(epoch from '2026-07-18 15:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490868 -3.47342)'), GeomFromEWKT('SRID=4674;POINT (-38.490874 -3.47346)'))) / (select extract(epoch from '2026-07-18 15:31:10'::timestamp) - extract(epoch from '2026-07-18 15:31:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490896 -3.473523)', '2026-07-18 15:31:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490874 -3.47346)'), GeomFromEWKT('SRID=4674;POINT (-38.490896 -3.473523)'))) / (select extract(epoch from '2026-07-18 15:31:13'::timestamp) - extract(epoch from '2026-07-18 15:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490874 -3.47346)'), GeomFromEWKT('SRID=4674;POINT (-38.490896 -3.473523)'))) / (select extract(epoch from '2026-07-18 15:31:13'::timestamp) - extract(epoch from '2026-07-18 15:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490901 -3.473558)', '2026-07-18 15:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490896 -3.473523)'), GeomFromEWKT('SRID=4674;POINT (-38.490901 -3.473558)'))) / (select extract(epoch from '2026-07-18 15:31:15'::timestamp) - extract(epoch from '2026-07-18 15:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490896 -3.473523)'), GeomFromEWKT('SRID=4674;POINT (-38.490901 -3.473558)'))) / (select extract(epoch from '2026-07-18 15:31:15'::timestamp) - extract(epoch from '2026-07-18 15:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490921 -3.473613)', '2026-07-18 15:31:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490901 -3.473558)'), GeomFromEWKT('SRID=4674;POINT (-38.490921 -3.473613)'))) / (select extract(epoch from '2026-07-18 15:31:18'::timestamp) - extract(epoch from '2026-07-18 15:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490901 -3.473558)'), GeomFromEWKT('SRID=4674;POINT (-38.490921 -3.473613)'))) / (select extract(epoch from '2026-07-18 15:31:18'::timestamp) - extract(epoch from '2026-07-18 15:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490975 -3.473761)', '2026-07-18 15:31:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490921 -3.473613)'), GeomFromEWKT('SRID=4674;POINT (-38.490975 -3.473761)'))) / (select extract(epoch from '2026-07-18 15:31:26'::timestamp) - extract(epoch from '2026-07-18 15:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490921 -3.473613)'), GeomFromEWKT('SRID=4674;POINT (-38.490975 -3.473761)'))) / (select extract(epoch from '2026-07-18 15:31:26'::timestamp) - extract(epoch from '2026-07-18 15:31:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.490996 -3.473858)', '2026-07-18 15:31:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490975 -3.473761)'), GeomFromEWKT('SRID=4674;POINT (-38.490996 -3.473858)'))) / (select extract(epoch from '2026-07-18 15:31:31'::timestamp) - extract(epoch from '2026-07-18 15:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490975 -3.473761)'), GeomFromEWKT('SRID=4674;POINT (-38.490996 -3.473858)'))) / (select extract(epoch from '2026-07-18 15:31:31'::timestamp) - extract(epoch from '2026-07-18 15:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491018 -3.473968)', '2026-07-18 15:31:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490996 -3.473858)'), GeomFromEWKT('SRID=4674;POINT (-38.491018 -3.473968)'))) / (select extract(epoch from '2026-07-18 15:31:37'::timestamp) - extract(epoch from '2026-07-18 15:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.490996 -3.473858)'), GeomFromEWKT('SRID=4674;POINT (-38.491018 -3.473968)'))) / (select extract(epoch from '2026-07-18 15:31:37'::timestamp) - extract(epoch from '2026-07-18 15:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491054 -3.474061)', '2026-07-18 15:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491018 -3.473968)'), GeomFromEWKT('SRID=4674;POINT (-38.491054 -3.474061)'))) / (select extract(epoch from '2026-07-18 15:31:42'::timestamp) - extract(epoch from '2026-07-18 15:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491018 -3.473968)'), GeomFromEWKT('SRID=4674;POINT (-38.491054 -3.474061)'))) / (select extract(epoch from '2026-07-18 15:31:42'::timestamp) - extract(epoch from '2026-07-18 15:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491061 -3.474096)', '2026-07-18 15:31:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491054 -3.474061)'), GeomFromEWKT('SRID=4674;POINT (-38.491061 -3.474096)'))) / (select extract(epoch from '2026-07-18 15:31:44'::timestamp) - extract(epoch from '2026-07-18 15:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491054 -3.474061)'), GeomFromEWKT('SRID=4674;POINT (-38.491061 -3.474096)'))) / (select extract(epoch from '2026-07-18 15:31:44'::timestamp) - extract(epoch from '2026-07-18 15:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491091 -3.474134)', '2026-07-18 15:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491061 -3.474096)'), GeomFromEWKT('SRID=4674;POINT (-38.491091 -3.474134)'))) / (select extract(epoch from '2026-07-18 15:31:46'::timestamp) - extract(epoch from '2026-07-18 15:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491061 -3.474096)'), GeomFromEWKT('SRID=4674;POINT (-38.491091 -3.474134)'))) / (select extract(epoch from '2026-07-18 15:31:46'::timestamp) - extract(epoch from '2026-07-18 15:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491117 -3.474232)', '2026-07-18 15:31:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491091 -3.474134)'), GeomFromEWKT('SRID=4674;POINT (-38.491117 -3.474232)'))) / (select extract(epoch from '2026-07-18 15:31:52'::timestamp) - extract(epoch from '2026-07-18 15:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491091 -3.474134)'), GeomFromEWKT('SRID=4674;POINT (-38.491117 -3.474232)'))) / (select extract(epoch from '2026-07-18 15:31:52'::timestamp) - extract(epoch from '2026-07-18 15:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491148 -3.474333)', '2026-07-18 15:31:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491117 -3.474232)'), GeomFromEWKT('SRID=4674;POINT (-38.491148 -3.474333)'))) / (select extract(epoch from '2026-07-18 15:31:58'::timestamp) - extract(epoch from '2026-07-18 15:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491117 -3.474232)'), GeomFromEWKT('SRID=4674;POINT (-38.491148 -3.474333)'))) / (select extract(epoch from '2026-07-18 15:31:58'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.491149 -3.474351)', '2026-07-18 15:31:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491148 -3.474333)'), GeomFromEWKT('SRID=4674;POINT (-38.491149 -3.474351)'))) / (select extract(epoch from '2026-07-18 15:31:59'::timestamp) - extract(epoch from '2026-07-18 15:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491148 -3.474333)'), GeomFromEWKT('SRID=4674;POINT (-38.491149 -3.474351)'))) / (select extract(epoch from '2026-07-18 15:31:59'::timestamp) - extract(epoch from '2026-07-18 15:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491173 -3.474408)', '2026-07-18 15:32:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491149 -3.474351)'), GeomFromEWKT('SRID=4674;POINT (-38.491173 -3.474408)'))) / (select extract(epoch from '2026-07-18 15:32:02'::timestamp) - extract(epoch from '2026-07-18 15:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491149 -3.474351)'), GeomFromEWKT('SRID=4674;POINT (-38.491173 -3.474408)'))) / (select extract(epoch from '2026-07-18 15:32:02'::timestamp) - extract(epoch from '2026-07-18 15:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491205 -3.474545)', '2026-07-18 15:32:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491173 -3.474408)'), GeomFromEWKT('SRID=4674;POINT (-38.491205 -3.474545)'))) / (select extract(epoch from '2026-07-18 15:32:09'::timestamp) - extract(epoch from '2026-07-18 15:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491173 -3.474408)'), GeomFromEWKT('SRID=4674;POINT (-38.491205 -3.474545)'))) / (select extract(epoch from '2026-07-18 15:32:09'::timestamp) - extract(epoch from '2026-07-18 15:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49124 -3.474646)', '2026-07-18 15:32:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491205 -3.474545)'), GeomFromEWKT('SRID=4674;POINT (-38.49124 -3.474646)'))) / (select extract(epoch from '2026-07-18 15:32:15'::timestamp) - extract(epoch from '2026-07-18 15:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491205 -3.474545)'), GeomFromEWKT('SRID=4674;POINT (-38.49124 -3.474646)'))) / (select extract(epoch from '2026-07-18 15:32:15'::timestamp) - extract(epoch from '2026-07-18 15:32:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491288 -3.474735)', '2026-07-18 15:32:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49124 -3.474646)'), GeomFromEWKT('SRID=4674;POINT (-38.491288 -3.474735)'))) / (select extract(epoch from '2026-07-18 15:32:20'::timestamp) - extract(epoch from '2026-07-18 15:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49124 -3.474646)'), GeomFromEWKT('SRID=4674;POINT (-38.491288 -3.474735)'))) / (select extract(epoch from '2026-07-18 15:32:20'::timestamp) - extract(epoch from '2026-07-18 15:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491293 -3.474752)', '2026-07-18 15:32:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491288 -3.474735)'), GeomFromEWKT('SRID=4674;POINT (-38.491293 -3.474752)'))) / (select extract(epoch from '2026-07-18 15:32:21'::timestamp) - extract(epoch from '2026-07-18 15:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491288 -3.474735)'), GeomFromEWKT('SRID=4674;POINT (-38.491293 -3.474752)'))) / (select extract(epoch from '2026-07-18 15:32:21'::timestamp) - extract(epoch from '2026-07-18 15:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491331 -3.474838)', '2026-07-18 15:32:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491293 -3.474752)'), GeomFromEWKT('SRID=4674;POINT (-38.491331 -3.474838)'))) / (select extract(epoch from '2026-07-18 15:32:27'::timestamp) - extract(epoch from '2026-07-18 15:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491293 -3.474752)'), GeomFromEWKT('SRID=4674;POINT (-38.491331 -3.474838)'))) / (select extract(epoch from '2026-07-18 15:32:27'::timestamp) - extract(epoch from '2026-07-18 15:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49134 -3.474887)', '2026-07-18 15:32:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491331 -3.474838)'), GeomFromEWKT('SRID=4674;POINT (-38.49134 -3.474887)'))) / (select extract(epoch from '2026-07-18 15:32:30'::timestamp) - extract(epoch from '2026-07-18 15:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491331 -3.474838)'), GeomFromEWKT('SRID=4674;POINT (-38.49134 -3.474887)'))) / (select extract(epoch from '2026-07-18 15:32:30'::timestamp) - extract(epoch from '2026-07-18 15:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491356 -3.474917)', '2026-07-18 15:32:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49134 -3.474887)'), GeomFromEWKT('SRID=4674;POINT (-38.491356 -3.474917)'))) / (select extract(epoch from '2026-07-18 15:32:32'::timestamp) - extract(epoch from '2026-07-18 15:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49134 -3.474887)'), GeomFromEWKT('SRID=4674;POINT (-38.491356 -3.474917)'))) / (select extract(epoch from '2026-07-18 15:32:32'::timestamp) - extract(epoch from '2026-07-18 15:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491402 -3.475015)', '2026-07-18 15:32:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491356 -3.474917)'), GeomFromEWKT('SRID=4674;POINT (-38.491402 -3.475015)'))) / (select extract(epoch from '2026-07-18 15:32:38'::timestamp) - extract(epoch from '2026-07-18 15:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491356 -3.474917)'), GeomFromEWKT('SRID=4674;POINT (-38.491402 -3.475015)'))) / (select extract(epoch from '2026-07-18 15:32:38'::timestamp) - extract(epoch from '2026-07-18 15:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491442 -3.475105)', '2026-07-18 15:32:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491402 -3.475015)'), GeomFromEWKT('SRID=4674;POINT (-38.491442 -3.475105)'))) / (select extract(epoch from '2026-07-18 15:32:43'::timestamp) - extract(epoch from '2026-07-18 15:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491402 -3.475015)'), GeomFromEWKT('SRID=4674;POINT (-38.491442 -3.475105)'))) / (select extract(epoch from '2026-07-18 15:32:43'::timestamp) - extract(epoch from '2026-07-18 15:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491455 -3.475155)', '2026-07-18 15:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491442 -3.475105)'), GeomFromEWKT('SRID=4674;POINT (-38.491455 -3.475155)'))) / (select extract(epoch from '2026-07-18 15:32:46'::timestamp) - extract(epoch from '2026-07-18 15:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491442 -3.475105)'), GeomFromEWKT('SRID=4674;POINT (-38.491455 -3.475155)'))) / (select extract(epoch from '2026-07-18 15:32:46'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.491473 -3.475195)', '2026-07-18 15:32:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491455 -3.475155)'), GeomFromEWKT('SRID=4674;POINT (-38.491473 -3.475195)'))) / (select extract(epoch from '2026-07-18 15:32:48'::timestamp) - extract(epoch from '2026-07-18 15:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491455 -3.475155)'), GeomFromEWKT('SRID=4674;POINT (-38.491473 -3.475195)'))) / (select extract(epoch from '2026-07-18 15:32:48'::timestamp) - extract(epoch from '2026-07-18 15:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491507 -3.475271)', '2026-07-18 15:32:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491473 -3.475195)'), GeomFromEWKT('SRID=4674;POINT (-38.491507 -3.475271)'))) / (select extract(epoch from '2026-07-18 15:32:53'::timestamp) - extract(epoch from '2026-07-18 15:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491473 -3.475195)'), GeomFromEWKT('SRID=4674;POINT (-38.491507 -3.475271)'))) / (select extract(epoch from '2026-07-18 15:32:53'::timestamp) - extract(epoch from '2026-07-18 15:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491532 -3.475354)', '2026-07-18 15:32:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491507 -3.475271)'), GeomFromEWKT('SRID=4674;POINT (-38.491532 -3.475354)'))) / (select extract(epoch from '2026-07-18 15:32:58'::timestamp) - extract(epoch from '2026-07-18 15:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491507 -3.475271)'), GeomFromEWKT('SRID=4674;POINT (-38.491532 -3.475354)'))) / (select extract(epoch from '2026-07-18 15:32:58'::timestamp) - extract(epoch from '2026-07-18 15:32:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491563 -3.475458)', '2026-07-18 15:33:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491532 -3.475354)'), GeomFromEWKT('SRID=4674;POINT (-38.491563 -3.475458)'))) / (select extract(epoch from '2026-07-18 15:33:04'::timestamp) - extract(epoch from '2026-07-18 15:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491532 -3.475354)'), GeomFromEWKT('SRID=4674;POINT (-38.491563 -3.475458)'))) / (select extract(epoch from '2026-07-18 15:33:04'::timestamp) - extract(epoch from '2026-07-18 15:32:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491576 -3.475501)', '2026-07-18 15:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491563 -3.475458)'), GeomFromEWKT('SRID=4674;POINT (-38.491576 -3.475501)'))) / (select extract(epoch from '2026-07-18 15:33:06'::timestamp) - extract(epoch from '2026-07-18 15:33:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491563 -3.475458)'), GeomFromEWKT('SRID=4674;POINT (-38.491576 -3.475501)'))) / (select extract(epoch from '2026-07-18 15:33:06'::timestamp) - extract(epoch from '2026-07-18 15:33:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491601 -3.475532)', '2026-07-18 15:33:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491576 -3.475501)'), GeomFromEWKT('SRID=4674;POINT (-38.491601 -3.475532)'))) / (select extract(epoch from '2026-07-18 15:33:08'::timestamp) - extract(epoch from '2026-07-18 15:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491576 -3.475501)'), GeomFromEWKT('SRID=4674;POINT (-38.491601 -3.475532)'))) / (select extract(epoch from '2026-07-18 15:33:08'::timestamp) - extract(epoch from '2026-07-18 15:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49161 -3.475581)', '2026-07-18 15:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491601 -3.475532)'), GeomFromEWKT('SRID=4674;POINT (-38.49161 -3.475581)'))) / (select extract(epoch from '2026-07-18 15:33:11'::timestamp) - extract(epoch from '2026-07-18 15:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491601 -3.475532)'), GeomFromEWKT('SRID=4674;POINT (-38.49161 -3.475581)'))) / (select extract(epoch from '2026-07-18 15:33:11'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.491623 -3.475598)', '2026-07-18 15:33:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49161 -3.475581)'), GeomFromEWKT('SRID=4674;POINT (-38.491623 -3.475598)'))) / (select extract(epoch from '2026-07-18 15:33:12'::timestamp) - extract(epoch from '2026-07-18 15:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49161 -3.475581)'), GeomFromEWKT('SRID=4674;POINT (-38.491623 -3.475598)'))) / (select extract(epoch from '2026-07-18 15:33:12'::timestamp) - extract(epoch from '2026-07-18 15:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491624 -3.475612)', '2026-07-18 15:33:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491623 -3.475598)'), GeomFromEWKT('SRID=4674;POINT (-38.491624 -3.475612)'))) / (select extract(epoch from '2026-07-18 15:33:13'::timestamp) - extract(epoch from '2026-07-18 15:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491623 -3.475598)'), GeomFromEWKT('SRID=4674;POINT (-38.491624 -3.475612)'))) / (select extract(epoch from '2026-07-18 15:33:13'::timestamp) - extract(epoch from '2026-07-18 15:33:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491625 -3.475644)', '2026-07-18 15:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491624 -3.475612)'), GeomFromEWKT('SRID=4674;POINT (-38.491625 -3.475644)'))) / (select extract(epoch from '2026-07-18 15:33:15'::timestamp) - extract(epoch from '2026-07-18 15:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491624 -3.475612)'), GeomFromEWKT('SRID=4674;POINT (-38.491625 -3.475644)'))) / (select extract(epoch from '2026-07-18 15:33:15'::timestamp) - extract(epoch from '2026-07-18 15:33:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491659 -3.475712)', '2026-07-18 15:33:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491625 -3.475644)'), GeomFromEWKT('SRID=4674;POINT (-38.491659 -3.475712)'))) / (select extract(epoch from '2026-07-18 15:33:20'::timestamp) - extract(epoch from '2026-07-18 15:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491625 -3.475644)'), GeomFromEWKT('SRID=4674;POINT (-38.491659 -3.475712)'))) / (select extract(epoch from '2026-07-18 15:33:20'::timestamp) - extract(epoch from '2026-07-18 15:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491703 -3.475789)', '2026-07-18 15:33:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491659 -3.475712)'), GeomFromEWKT('SRID=4674;POINT (-38.491703 -3.475789)'))) / (select extract(epoch from '2026-07-18 15:33:25'::timestamp) - extract(epoch from '2026-07-18 15:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491659 -3.475712)'), GeomFromEWKT('SRID=4674;POINT (-38.491703 -3.475789)'))) / (select extract(epoch from '2026-07-18 15:33:25'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.491743 -3.47588)', '2026-07-18 15:33:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491703 -3.475789)'), GeomFromEWKT('SRID=4674;POINT (-38.491743 -3.47588)'))) / (select extract(epoch from '2026-07-18 15:33:31'::timestamp) - extract(epoch from '2026-07-18 15:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491703 -3.475789)'), GeomFromEWKT('SRID=4674;POINT (-38.491743 -3.47588)'))) / (select extract(epoch from '2026-07-18 15:33:31'::timestamp) - extract(epoch from '2026-07-18 15:33:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491791 -3.475984)', '2026-07-18 15:33:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491743 -3.47588)'), GeomFromEWKT('SRID=4674;POINT (-38.491791 -3.475984)'))) / (select extract(epoch from '2026-07-18 15:33:37'::timestamp) - extract(epoch from '2026-07-18 15:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491743 -3.47588)'), GeomFromEWKT('SRID=4674;POINT (-38.491791 -3.475984)'))) / (select extract(epoch from '2026-07-18 15:33:37'::timestamp) - extract(epoch from '2026-07-18 15:33:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491833 -3.476099)', '2026-07-18 15:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491791 -3.475984)'), GeomFromEWKT('SRID=4674;POINT (-38.491833 -3.476099)'))) / (select extract(epoch from '2026-07-18 15:33:43'::timestamp) - extract(epoch from '2026-07-18 15:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491791 -3.475984)'), GeomFromEWKT('SRID=4674;POINT (-38.491833 -3.476099)'))) / (select extract(epoch from '2026-07-18 15:33:43'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.491862 -3.476203)', '2026-07-18 15:33:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491833 -3.476099)'), GeomFromEWKT('SRID=4674;POINT (-38.491862 -3.476203)'))) / (select extract(epoch from '2026-07-18 15:33:49'::timestamp) - extract(epoch from '2026-07-18 15:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491833 -3.476099)'), GeomFromEWKT('SRID=4674;POINT (-38.491862 -3.476203)'))) / (select extract(epoch from '2026-07-18 15:33:49'::timestamp) - extract(epoch from '2026-07-18 15:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491915 -3.476311)', '2026-07-18 15:33:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491862 -3.476203)'), GeomFromEWKT('SRID=4674;POINT (-38.491915 -3.476311)'))) / (select extract(epoch from '2026-07-18 15:33:56'::timestamp) - extract(epoch from '2026-07-18 15:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491862 -3.476203)'), GeomFromEWKT('SRID=4674;POINT (-38.491915 -3.476311)'))) / (select extract(epoch from '2026-07-18 15:33:56'::timestamp) - extract(epoch from '2026-07-18 15:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491953 -3.476412)', '2026-07-18 15:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491915 -3.476311)'), GeomFromEWKT('SRID=4674;POINT (-38.491953 -3.476412)'))) / (select extract(epoch from '2026-07-18 15:34:02'::timestamp) - extract(epoch from '2026-07-18 15:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491915 -3.476311)'), GeomFromEWKT('SRID=4674;POINT (-38.491953 -3.476412)'))) / (select extract(epoch from '2026-07-18 15:34:02'::timestamp) - extract(epoch from '2026-07-18 15:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49197 -3.476448)', '2026-07-18 15:34:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491953 -3.476412)'), GeomFromEWKT('SRID=4674;POINT (-38.49197 -3.476448)'))) / (select extract(epoch from '2026-07-18 15:34:04'::timestamp) - extract(epoch from '2026-07-18 15:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491953 -3.476412)'), GeomFromEWKT('SRID=4674;POINT (-38.49197 -3.476448)'))) / (select extract(epoch from '2026-07-18 15:34:04'::timestamp) - extract(epoch from '2026-07-18 15:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491972 -3.476485)', '2026-07-18 15:34:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49197 -3.476448)'), GeomFromEWKT('SRID=4674;POINT (-38.491972 -3.476485)'))) / (select extract(epoch from '2026-07-18 15:34:06'::timestamp) - extract(epoch from '2026-07-18 15:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49197 -3.476448)'), GeomFromEWKT('SRID=4674;POINT (-38.491972 -3.476485)'))) / (select extract(epoch from '2026-07-18 15:34:06'::timestamp) - extract(epoch from '2026-07-18 15:34:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.491982 -3.476504)', '2026-07-18 15:34:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491972 -3.476485)'), GeomFromEWKT('SRID=4674;POINT (-38.491982 -3.476504)'))) / (select extract(epoch from '2026-07-18 15:34:07'::timestamp) - extract(epoch from '2026-07-18 15:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491972 -3.476485)'), GeomFromEWKT('SRID=4674;POINT (-38.491982 -3.476504)'))) / (select extract(epoch from '2026-07-18 15:34:07'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.491999 -3.476611)', '2026-07-18 15:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491982 -3.476504)'), GeomFromEWKT('SRID=4674;POINT (-38.491999 -3.476611)'))) / (select extract(epoch from '2026-07-18 15:34:12'::timestamp) - extract(epoch from '2026-07-18 15:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491982 -3.476504)'), GeomFromEWKT('SRID=4674;POINT (-38.491999 -3.476611)'))) / (select extract(epoch from '2026-07-18 15:34:12'::timestamp) - extract(epoch from '2026-07-18 15:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492028 -3.476703)', '2026-07-18 15:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491999 -3.476611)'), GeomFromEWKT('SRID=4674;POINT (-38.492028 -3.476703)'))) / (select extract(epoch from '2026-07-18 15:34:17'::timestamp) - extract(epoch from '2026-07-18 15:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.491999 -3.476611)'), GeomFromEWKT('SRID=4674;POINT (-38.492028 -3.476703)'))) / (select extract(epoch from '2026-07-18 15:34:17'::timestamp) - extract(epoch from '2026-07-18 15:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492039 -3.47674)', '2026-07-18 15:34:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492028 -3.476703)'), GeomFromEWKT('SRID=4674;POINT (-38.492039 -3.47674)'))) / (select extract(epoch from '2026-07-18 15:34:19'::timestamp) - extract(epoch from '2026-07-18 15:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492028 -3.476703)'), GeomFromEWKT('SRID=4674;POINT (-38.492039 -3.47674)'))) / (select extract(epoch from '2026-07-18 15:34:19'::timestamp) - extract(epoch from '2026-07-18 15:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492056 -3.476776)', '2026-07-18 15:34:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492039 -3.47674)'), GeomFromEWKT('SRID=4674;POINT (-38.492056 -3.476776)'))) / (select extract(epoch from '2026-07-18 15:34:21'::timestamp) - extract(epoch from '2026-07-18 15:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492039 -3.47674)'), GeomFromEWKT('SRID=4674;POINT (-38.492056 -3.476776)'))) / (select extract(epoch from '2026-07-18 15:34:21'::timestamp) - extract(epoch from '2026-07-18 15:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492059 -3.476796)', '2026-07-18 15:34:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492056 -3.476776)'), GeomFromEWKT('SRID=4674;POINT (-38.492059 -3.476796)'))) / (select extract(epoch from '2026-07-18 15:34:22'::timestamp) - extract(epoch from '2026-07-18 15:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492056 -3.476776)'), GeomFromEWKT('SRID=4674;POINT (-38.492059 -3.476796)'))) / (select extract(epoch from '2026-07-18 15:34:22'::timestamp) - extract(epoch from '2026-07-18 15:34:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492068 -3.476812)', '2026-07-18 15:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492059 -3.476796)'), GeomFromEWKT('SRID=4674;POINT (-38.492068 -3.476812)'))) / (select extract(epoch from '2026-07-18 15:34:23'::timestamp) - extract(epoch from '2026-07-18 15:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492059 -3.476796)'), GeomFromEWKT('SRID=4674;POINT (-38.492068 -3.476812)'))) / (select extract(epoch from '2026-07-18 15:34:23'::timestamp) - extract(epoch from '2026-07-18 15:34:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492084 -3.476863)', '2026-07-18 15:34:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492068 -3.476812)'), GeomFromEWKT('SRID=4674;POINT (-38.492084 -3.476863)'))) / (select extract(epoch from '2026-07-18 15:34:26'::timestamp) - extract(epoch from '2026-07-18 15:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492068 -3.476812)'), GeomFromEWKT('SRID=4674;POINT (-38.492084 -3.476863)'))) / (select extract(epoch from '2026-07-18 15:34:26'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.492112 -3.476977)', '2026-07-18 15:34:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492084 -3.476863)'), GeomFromEWKT('SRID=4674;POINT (-38.492112 -3.476977)'))) / (select extract(epoch from '2026-07-18 15:34:32'::timestamp) - extract(epoch from '2026-07-18 15:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492084 -3.476863)'), GeomFromEWKT('SRID=4674;POINT (-38.492112 -3.476977)'))) / (select extract(epoch from '2026-07-18 15:34:32'::timestamp) - extract(epoch from '2026-07-18 15:34:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492156 -3.47709)', '2026-07-18 15:34:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492112 -3.476977)'), GeomFromEWKT('SRID=4674;POINT (-38.492156 -3.47709)'))) / (select extract(epoch from '2026-07-18 15:34:39'::timestamp) - extract(epoch from '2026-07-18 15:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492112 -3.476977)'), GeomFromEWKT('SRID=4674;POINT (-38.492156 -3.47709)'))) / (select extract(epoch from '2026-07-18 15:34:39'::timestamp) - extract(epoch from '2026-07-18 15:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492194 -3.477245)', '2026-07-18 15:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492156 -3.47709)'), GeomFromEWKT('SRID=4674;POINT (-38.492194 -3.477245)'))) / (select extract(epoch from '2026-07-18 15:34:47'::timestamp) - extract(epoch from '2026-07-18 15:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492156 -3.47709)'), GeomFromEWKT('SRID=4674;POINT (-38.492194 -3.477245)'))) / (select extract(epoch from '2026-07-18 15:34:47'::timestamp) - extract(epoch from '2026-07-18 15:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492224 -3.477327)', '2026-07-18 15:34:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492194 -3.477245)'), GeomFromEWKT('SRID=4674;POINT (-38.492224 -3.477327)'))) / (select extract(epoch from '2026-07-18 15:34:52'::timestamp) - extract(epoch from '2026-07-18 15:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492194 -3.477245)'), GeomFromEWKT('SRID=4674;POINT (-38.492224 -3.477327)'))) / (select extract(epoch from '2026-07-18 15:34:52'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.492264 -3.477429)', '2026-07-18 15:34:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492224 -3.477327)'), GeomFromEWKT('SRID=4674;POINT (-38.492264 -3.477429)'))) / (select extract(epoch from '2026-07-18 15:34:58'::timestamp) - extract(epoch from '2026-07-18 15:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492224 -3.477327)'), GeomFromEWKT('SRID=4674;POINT (-38.492264 -3.477429)'))) / (select extract(epoch from '2026-07-18 15:34:58'::timestamp) - extract(epoch from '2026-07-18 15:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492298 -3.477521)', '2026-07-18 15:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492264 -3.477429)'), GeomFromEWKT('SRID=4674;POINT (-38.492298 -3.477521)'))) / (select extract(epoch from '2026-07-18 15:35:03'::timestamp) - extract(epoch from '2026-07-18 15:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492264 -3.477429)'), GeomFromEWKT('SRID=4674;POINT (-38.492298 -3.477521)'))) / (select extract(epoch from '2026-07-18 15:35:03'::timestamp) - extract(epoch from '2026-07-18 15:34:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492321 -3.477612)', '2026-07-18 15:35:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492298 -3.477521)'), GeomFromEWKT('SRID=4674;POINT (-38.492321 -3.477612)'))) / (select extract(epoch from '2026-07-18 15:35:08'::timestamp) - extract(epoch from '2026-07-18 15:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492298 -3.477521)'), GeomFromEWKT('SRID=4674;POINT (-38.492321 -3.477612)'))) / (select extract(epoch from '2026-07-18 15:35:08'::timestamp) - extract(epoch from '2026-07-18 15:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492358 -3.477702)', '2026-07-18 15:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492321 -3.477612)'), GeomFromEWKT('SRID=4674;POINT (-38.492358 -3.477702)'))) / (select extract(epoch from '2026-07-18 15:35:13'::timestamp) - extract(epoch from '2026-07-18 15:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492321 -3.477612)'), GeomFromEWKT('SRID=4674;POINT (-38.492358 -3.477702)'))) / (select extract(epoch from '2026-07-18 15:35:13'::timestamp) - extract(epoch from '2026-07-18 15:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492387 -3.477788)', '2026-07-18 15:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492358 -3.477702)'), GeomFromEWKT('SRID=4674;POINT (-38.492387 -3.477788)'))) / (select extract(epoch from '2026-07-18 15:35:18'::timestamp) - extract(epoch from '2026-07-18 15:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492358 -3.477702)'), GeomFromEWKT('SRID=4674;POINT (-38.492387 -3.477788)'))) / (select extract(epoch from '2026-07-18 15:35:18'::timestamp) - extract(epoch from '2026-07-18 15:35:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492428 -3.477893)', '2026-07-18 15:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492387 -3.477788)'), GeomFromEWKT('SRID=4674;POINT (-38.492428 -3.477893)'))) / (select extract(epoch from '2026-07-18 15:35:24'::timestamp) - extract(epoch from '2026-07-18 15:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492387 -3.477788)'), GeomFromEWKT('SRID=4674;POINT (-38.492428 -3.477893)'))) / (select extract(epoch from '2026-07-18 15:35:24'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.492437 -3.477911)', '2026-07-18 15:35:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492428 -3.477893)'), GeomFromEWKT('SRID=4674;POINT (-38.492437 -3.477911)'))) / (select extract(epoch from '2026-07-18 15:35:25'::timestamp) - extract(epoch from '2026-07-18 15:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492428 -3.477893)'), GeomFromEWKT('SRID=4674;POINT (-38.492437 -3.477911)'))) / (select extract(epoch from '2026-07-18 15:35:25'::timestamp) - extract(epoch from '2026-07-18 15:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492472 -3.477975)', '2026-07-18 15:35:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492437 -3.477911)'), GeomFromEWKT('SRID=4674;POINT (-38.492472 -3.477975)'))) / (select extract(epoch from '2026-07-18 15:35:29'::timestamp) - extract(epoch from '2026-07-18 15:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492437 -3.477911)'), GeomFromEWKT('SRID=4674;POINT (-38.492472 -3.477975)'))) / (select extract(epoch from '2026-07-18 15:35:29'::timestamp) - extract(epoch from '2026-07-18 15:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492512 -3.478087)', '2026-07-18 15:35:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492472 -3.477975)'), GeomFromEWKT('SRID=4674;POINT (-38.492512 -3.478087)'))) / (select extract(epoch from '2026-07-18 15:35:36'::timestamp) - extract(epoch from '2026-07-18 15:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492472 -3.477975)'), GeomFromEWKT('SRID=4674;POINT (-38.492512 -3.478087)'))) / (select extract(epoch from '2026-07-18 15:35:36'::timestamp) - extract(epoch from '2026-07-18 15:35:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492521 -3.478124)', '2026-07-18 15:35:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492512 -3.478087)'), GeomFromEWKT('SRID=4674;POINT (-38.492521 -3.478124)'))) / (select extract(epoch from '2026-07-18 15:35:38'::timestamp) - extract(epoch from '2026-07-18 15:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492512 -3.478087)'), GeomFromEWKT('SRID=4674;POINT (-38.492521 -3.478124)'))) / (select extract(epoch from '2026-07-18 15:35:38'::timestamp) - extract(epoch from '2026-07-18 15:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492549 -3.478163)', '2026-07-18 15:35:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492521 -3.478124)'), GeomFromEWKT('SRID=4674;POINT (-38.492549 -3.478163)'))) / (select extract(epoch from '2026-07-18 15:35:40'::timestamp) - extract(epoch from '2026-07-18 15:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492521 -3.478124)'), GeomFromEWKT('SRID=4674;POINT (-38.492549 -3.478163)'))) / (select extract(epoch from '2026-07-18 15:35:40'::timestamp) - extract(epoch from '2026-07-18 15:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492551 -3.478183)', '2026-07-18 15:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492549 -3.478163)'), GeomFromEWKT('SRID=4674;POINT (-38.492551 -3.478183)'))) / (select extract(epoch from '2026-07-18 15:35:41'::timestamp) - extract(epoch from '2026-07-18 15:35:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492549 -3.478163)'), GeomFromEWKT('SRID=4674;POINT (-38.492551 -3.478183)'))) / (select extract(epoch from '2026-07-18 15:35:41'::timestamp) - extract(epoch from '2026-07-18 15:35:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492548 -3.478216)', '2026-07-18 15:35:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492551 -3.478183)'), GeomFromEWKT('SRID=4674;POINT (-38.492548 -3.478216)'))) / (select extract(epoch from '2026-07-18 15:35:43'::timestamp) - extract(epoch from '2026-07-18 15:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492551 -3.478183)'), GeomFromEWKT('SRID=4674;POINT (-38.492548 -3.478216)'))) / (select extract(epoch from '2026-07-18 15:35:43'::timestamp) - extract(epoch from '2026-07-18 15:35:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492559 -3.478231)', '2026-07-18 15:35:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492548 -3.478216)'), GeomFromEWKT('SRID=4674;POINT (-38.492559 -3.478231)'))) / (select extract(epoch from '2026-07-18 15:35:44'::timestamp) - extract(epoch from '2026-07-18 15:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492548 -3.478216)'), GeomFromEWKT('SRID=4674;POINT (-38.492559 -3.478231)'))) / (select extract(epoch from '2026-07-18 15:35:44'::timestamp) - extract(epoch from '2026-07-18 15:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4926 -3.478325)', '2026-07-18 15:35:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492559 -3.478231)'), GeomFromEWKT('SRID=4674;POINT (-38.4926 -3.478325)'))) / (select extract(epoch from '2026-07-18 15:35:50'::timestamp) - extract(epoch from '2026-07-18 15:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492559 -3.478231)'), GeomFromEWKT('SRID=4674;POINT (-38.4926 -3.478325)'))) / (select extract(epoch from '2026-07-18 15:35:50'::timestamp) - extract(epoch from '2026-07-18 15:35:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492608 -3.478337)', '2026-07-18 15:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4926 -3.478325)'), GeomFromEWKT('SRID=4674;POINT (-38.492608 -3.478337)'))) / (select extract(epoch from '2026-07-18 15:35:51'::timestamp) - extract(epoch from '2026-07-18 15:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4926 -3.478325)'), GeomFromEWKT('SRID=4674;POINT (-38.492608 -3.478337)'))) / (select extract(epoch from '2026-07-18 15:35:51'::timestamp) - extract(epoch from '2026-07-18 15:35:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492621 -3.478388)', '2026-07-18 15:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492608 -3.478337)'), GeomFromEWKT('SRID=4674;POINT (-38.492621 -3.478388)'))) / (select extract(epoch from '2026-07-18 15:35:54'::timestamp) - extract(epoch from '2026-07-18 15:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492608 -3.478337)'), GeomFromEWKT('SRID=4674;POINT (-38.492621 -3.478388)'))) / (select extract(epoch from '2026-07-18 15:35:54'::timestamp) - extract(epoch from '2026-07-18 15:35:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492636 -3.478404)', '2026-07-18 15:35:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492621 -3.478388)'), GeomFromEWKT('SRID=4674;POINT (-38.492636 -3.478404)'))) / (select extract(epoch from '2026-07-18 15:35:55'::timestamp) - extract(epoch from '2026-07-18 15:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492621 -3.478388)'), GeomFromEWKT('SRID=4674;POINT (-38.492636 -3.478404)'))) / (select extract(epoch from '2026-07-18 15:35:55'::timestamp) - extract(epoch from '2026-07-18 15:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492659 -3.478441)', '2026-07-18 15:35:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492636 -3.478404)'), GeomFromEWKT('SRID=4674;POINT (-38.492659 -3.478441)'))) / (select extract(epoch from '2026-07-18 15:35:57'::timestamp) - extract(epoch from '2026-07-18 15:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492636 -3.478404)'), GeomFromEWKT('SRID=4674;POINT (-38.492659 -3.478441)'))) / (select extract(epoch from '2026-07-18 15:35:57'::timestamp) - extract(epoch from '2026-07-18 15:35:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492663 -3.478479)', '2026-07-18 15:35:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492659 -3.478441)'), GeomFromEWKT('SRID=4674;POINT (-38.492663 -3.478479)'))) / (select extract(epoch from '2026-07-18 15:35:59'::timestamp) - extract(epoch from '2026-07-18 15:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492659 -3.478441)'), GeomFromEWKT('SRID=4674;POINT (-38.492663 -3.478479)'))) / (select extract(epoch from '2026-07-18 15:35:59'::timestamp) - extract(epoch from '2026-07-18 15:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492667 -3.478498)', '2026-07-18 15:36:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492663 -3.478479)'), GeomFromEWKT('SRID=4674;POINT (-38.492667 -3.478498)'))) / (select extract(epoch from '2026-07-18 15:36:00'::timestamp) - extract(epoch from '2026-07-18 15:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492663 -3.478479)'), GeomFromEWKT('SRID=4674;POINT (-38.492667 -3.478498)'))) / (select extract(epoch from '2026-07-18 15:36:00'::timestamp) - extract(epoch from '2026-07-18 15:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492702 -3.478554)', '2026-07-18 15:36:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492667 -3.478498)'), GeomFromEWKT('SRID=4674;POINT (-38.492702 -3.478554)'))) / (select extract(epoch from '2026-07-18 15:36:03'::timestamp) - extract(epoch from '2026-07-18 15:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492667 -3.478498)'), GeomFromEWKT('SRID=4674;POINT (-38.492702 -3.478554)'))) / (select extract(epoch from '2026-07-18 15:36:03'::timestamp) - extract(epoch from '2026-07-18 15:36:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4927 -3.478586)', '2026-07-18 15:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492702 -3.478554)'), GeomFromEWKT('SRID=4674;POINT (-38.4927 -3.478586)'))) / (select extract(epoch from '2026-07-18 15:36:05'::timestamp) - extract(epoch from '2026-07-18 15:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492702 -3.478554)'), GeomFromEWKT('SRID=4674;POINT (-38.4927 -3.478586)'))) / (select extract(epoch from '2026-07-18 15:36:05'::timestamp) - extract(epoch from '2026-07-18 15:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492722 -3.478616)', '2026-07-18 15:36:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4927 -3.478586)'), GeomFromEWKT('SRID=4674;POINT (-38.492722 -3.478616)'))) / (select extract(epoch from '2026-07-18 15:36:07'::timestamp) - extract(epoch from '2026-07-18 15:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4927 -3.478586)'), GeomFromEWKT('SRID=4674;POINT (-38.492722 -3.478616)'))) / (select extract(epoch from '2026-07-18 15:36:07'::timestamp) - extract(epoch from '2026-07-18 15:36:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492758 -3.478718)', '2026-07-18 15:36:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492722 -3.478616)'), GeomFromEWKT('SRID=4674;POINT (-38.492758 -3.478718)'))) / (select extract(epoch from '2026-07-18 15:36:13'::timestamp) - extract(epoch from '2026-07-18 15:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492722 -3.478616)'), GeomFromEWKT('SRID=4674;POINT (-38.492758 -3.478718)'))) / (select extract(epoch from '2026-07-18 15:36:13'::timestamp) - extract(epoch from '2026-07-18 15:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492798 -3.478851)', '2026-07-18 15:36:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492758 -3.478718)'), GeomFromEWKT('SRID=4674;POINT (-38.492798 -3.478851)'))) / (select extract(epoch from '2026-07-18 15:36:21'::timestamp) - extract(epoch from '2026-07-18 15:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492758 -3.478718)'), GeomFromEWKT('SRID=4674;POINT (-38.492798 -3.478851)'))) / (select extract(epoch from '2026-07-18 15:36:21'::timestamp) - extract(epoch from '2026-07-18 15:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492838 -3.478957)', '2026-07-18 15:36:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492798 -3.478851)'), GeomFromEWKT('SRID=4674;POINT (-38.492838 -3.478957)'))) / (select extract(epoch from '2026-07-18 15:36:27'::timestamp) - extract(epoch from '2026-07-18 15:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492798 -3.478851)'), GeomFromEWKT('SRID=4674;POINT (-38.492838 -3.478957)'))) / (select extract(epoch from '2026-07-18 15:36:27'::timestamp) - extract(epoch from '2026-07-18 15:36:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492872 -3.479021)', '2026-07-18 15:36:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492838 -3.478957)'), GeomFromEWKT('SRID=4674;POINT (-38.492872 -3.479021)'))) / (select extract(epoch from '2026-07-18 15:36:31'::timestamp) - extract(epoch from '2026-07-18 15:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492838 -3.478957)'), GeomFromEWKT('SRID=4674;POINT (-38.492872 -3.479021)'))) / (select extract(epoch from '2026-07-18 15:36:31'::timestamp) - extract(epoch from '2026-07-18 15:36:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492901 -3.479092)', '2026-07-18 15:36:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492872 -3.479021)'), GeomFromEWKT('SRID=4674;POINT (-38.492901 -3.479092)'))) / (select extract(epoch from '2026-07-18 15:36:36'::timestamp) - extract(epoch from '2026-07-18 15:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492872 -3.479021)'), GeomFromEWKT('SRID=4674;POINT (-38.492901 -3.479092)'))) / (select extract(epoch from '2026-07-18 15:36:36'::timestamp) - extract(epoch from '2026-07-18 15:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492942 -3.479179)', '2026-07-18 15:36:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492901 -3.479092)'), GeomFromEWKT('SRID=4674;POINT (-38.492942 -3.479179)'))) / (select extract(epoch from '2026-07-18 15:36:41'::timestamp) - extract(epoch from '2026-07-18 15:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492901 -3.479092)'), GeomFromEWKT('SRID=4674;POINT (-38.492942 -3.479179)'))) / (select extract(epoch from '2026-07-18 15:36:41'::timestamp) - extract(epoch from '2026-07-18 15:36:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492946 -3.479197)', '2026-07-18 15:36:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492942 -3.479179)'), GeomFromEWKT('SRID=4674;POINT (-38.492946 -3.479197)'))) / (select extract(epoch from '2026-07-18 15:36:42'::timestamp) - extract(epoch from '2026-07-18 15:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492942 -3.479179)'), GeomFromEWKT('SRID=4674;POINT (-38.492946 -3.479197)'))) / (select extract(epoch from '2026-07-18 15:36:42'::timestamp) - extract(epoch from '2026-07-18 15:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.492991 -3.479272)', '2026-07-18 15:36:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492946 -3.479197)'), GeomFromEWKT('SRID=4674;POINT (-38.492991 -3.479272)'))) / (select extract(epoch from '2026-07-18 15:36:46'::timestamp) - extract(epoch from '2026-07-18 15:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492946 -3.479197)'), GeomFromEWKT('SRID=4674;POINT (-38.492991 -3.479272)'))) / (select extract(epoch from '2026-07-18 15:36:46'::timestamp) - extract(epoch from '2026-07-18 15:36:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493004 -3.479312)', '2026-07-18 15:36:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492991 -3.479272)'), GeomFromEWKT('SRID=4674;POINT (-38.493004 -3.479312)'))) / (select extract(epoch from '2026-07-18 15:36:48'::timestamp) - extract(epoch from '2026-07-18 15:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.492991 -3.479272)'), GeomFromEWKT('SRID=4674;POINT (-38.493004 -3.479312)'))) / (select extract(epoch from '2026-07-18 15:36:48'::timestamp) - extract(epoch from '2026-07-18 15:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493031 -3.479365)', '2026-07-18 15:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493004 -3.479312)'), GeomFromEWKT('SRID=4674;POINT (-38.493031 -3.479365)'))) / (select extract(epoch from '2026-07-18 15:36:51'::timestamp) - extract(epoch from '2026-07-18 15:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493004 -3.479312)'), GeomFromEWKT('SRID=4674;POINT (-38.493031 -3.479365)'))) / (select extract(epoch from '2026-07-18 15:36:51'::timestamp) - extract(epoch from '2026-07-18 15:36:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49306 -3.479465)', '2026-07-18 15:36:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493031 -3.479365)'), GeomFromEWKT('SRID=4674;POINT (-38.49306 -3.479465)'))) / (select extract(epoch from '2026-07-18 15:36:57'::timestamp) - extract(epoch from '2026-07-18 15:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493031 -3.479365)'), GeomFromEWKT('SRID=4674;POINT (-38.49306 -3.479465)'))) / (select extract(epoch from '2026-07-18 15:36:57'::timestamp) - extract(epoch from '2026-07-18 15:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493088 -3.479549)', '2026-07-18 15:37:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49306 -3.479465)'), GeomFromEWKT('SRID=4674;POINT (-38.493088 -3.479549)'))) / (select extract(epoch from '2026-07-18 15:37:02'::timestamp) - extract(epoch from '2026-07-18 15:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49306 -3.479465)'), GeomFromEWKT('SRID=4674;POINT (-38.493088 -3.479549)'))) / (select extract(epoch from '2026-07-18 15:37:02'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.493101 -3.479566)', '2026-07-18 15:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493088 -3.479549)'), GeomFromEWKT('SRID=4674;POINT (-38.493101 -3.479566)'))) / (select extract(epoch from '2026-07-18 15:37:03'::timestamp) - extract(epoch from '2026-07-18 15:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493088 -3.479549)'), GeomFromEWKT('SRID=4674;POINT (-38.493101 -3.479566)'))) / (select extract(epoch from '2026-07-18 15:37:03'::timestamp) - extract(epoch from '2026-07-18 15:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493136 -3.479624)', '2026-07-18 15:37:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493101 -3.479566)'), GeomFromEWKT('SRID=4674;POINT (-38.493136 -3.479624)'))) / (select extract(epoch from '2026-07-18 15:37:06'::timestamp) - extract(epoch from '2026-07-18 15:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493101 -3.479566)'), GeomFromEWKT('SRID=4674;POINT (-38.493136 -3.479624)'))) / (select extract(epoch from '2026-07-18 15:37:06'::timestamp) - extract(epoch from '2026-07-18 15:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493182 -3.479715)', '2026-07-18 15:37:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493136 -3.479624)'), GeomFromEWKT('SRID=4674;POINT (-38.493182 -3.479715)'))) / (select extract(epoch from '2026-07-18 15:37:11'::timestamp) - extract(epoch from '2026-07-18 15:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493136 -3.479624)'), GeomFromEWKT('SRID=4674;POINT (-38.493182 -3.479715)'))) / (select extract(epoch from '2026-07-18 15:37:11'::timestamp) - extract(epoch from '2026-07-18 15:37:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493222 -3.479812)', '2026-07-18 15:37:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493182 -3.479715)'), GeomFromEWKT('SRID=4674;POINT (-38.493222 -3.479812)'))) / (select extract(epoch from '2026-07-18 15:37:17'::timestamp) - extract(epoch from '2026-07-18 15:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493182 -3.479715)'), GeomFromEWKT('SRID=4674;POINT (-38.493222 -3.479812)'))) / (select extract(epoch from '2026-07-18 15:37:17'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.49325 -3.479914)', '2026-07-18 15:37:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493222 -3.479812)'), GeomFromEWKT('SRID=4674;POINT (-38.49325 -3.479914)'))) / (select extract(epoch from '2026-07-18 15:37:23'::timestamp) - extract(epoch from '2026-07-18 15:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493222 -3.479812)'), GeomFromEWKT('SRID=4674;POINT (-38.49325 -3.479914)'))) / (select extract(epoch from '2026-07-18 15:37:23'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.493287 -3.479996)', '2026-07-18 15:37:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49325 -3.479914)'), GeomFromEWKT('SRID=4674;POINT (-38.493287 -3.479996)'))) / (select extract(epoch from '2026-07-18 15:37:28'::timestamp) - extract(epoch from '2026-07-18 15:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49325 -3.479914)'), GeomFromEWKT('SRID=4674;POINT (-38.493287 -3.479996)'))) / (select extract(epoch from '2026-07-18 15:37:28'::timestamp) - extract(epoch from '2026-07-18 15:37:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49332 -3.480102)', '2026-07-18 15:37:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493287 -3.479996)'), GeomFromEWKT('SRID=4674;POINT (-38.49332 -3.480102)'))) / (select extract(epoch from '2026-07-18 15:37:34'::timestamp) - extract(epoch from '2026-07-18 15:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493287 -3.479996)'), GeomFromEWKT('SRID=4674;POINT (-38.49332 -3.480102)'))) / (select extract(epoch from '2026-07-18 15:37:34'::timestamp) - extract(epoch from '2026-07-18 15:37:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493329 -3.480153)', '2026-07-18 15:37:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49332 -3.480102)'), GeomFromEWKT('SRID=4674;POINT (-38.493329 -3.480153)'))) / (select extract(epoch from '2026-07-18 15:37:37'::timestamp) - extract(epoch from '2026-07-18 15:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49332 -3.480102)'), GeomFromEWKT('SRID=4674;POINT (-38.493329 -3.480153)'))) / (select extract(epoch from '2026-07-18 15:37:37'::timestamp) - extract(epoch from '2026-07-18 15:37:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493345 -3.480179)', '2026-07-18 15:37:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493329 -3.480153)'), GeomFromEWKT('SRID=4674;POINT (-38.493345 -3.480179)'))) / (select extract(epoch from '2026-07-18 15:37:39'::timestamp) - extract(epoch from '2026-07-18 15:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493329 -3.480153)'), GeomFromEWKT('SRID=4674;POINT (-38.493345 -3.480179)'))) / (select extract(epoch from '2026-07-18 15:37:39'::timestamp) - extract(epoch from '2026-07-18 15:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493406 -3.480289)', '2026-07-18 15:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493345 -3.480179)'), GeomFromEWKT('SRID=4674;POINT (-38.493406 -3.480289)'))) / (select extract(epoch from '2026-07-18 15:37:46'::timestamp) - extract(epoch from '2026-07-18 15:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493345 -3.480179)'), GeomFromEWKT('SRID=4674;POINT (-38.493406 -3.480289)'))) / (select extract(epoch from '2026-07-18 15:37:46'::timestamp) - extract(epoch from '2026-07-18 15:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493459 -3.480417)', '2026-07-18 15:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493406 -3.480289)'), GeomFromEWKT('SRID=4674;POINT (-38.493459 -3.480417)'))) / (select extract(epoch from '2026-07-18 15:37:52'::timestamp) - extract(epoch from '2026-07-18 15:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493406 -3.480289)'), GeomFromEWKT('SRID=4674;POINT (-38.493459 -3.480417)'))) / (select extract(epoch from '2026-07-18 15:37:52'::timestamp) - extract(epoch from '2026-07-18 15:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49346 -3.480434)', '2026-07-18 15:37:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493459 -3.480417)'), GeomFromEWKT('SRID=4674;POINT (-38.49346 -3.480434)'))) / (select extract(epoch from '2026-07-18 15:37:53'::timestamp) - extract(epoch from '2026-07-18 15:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493459 -3.480417)'), GeomFromEWKT('SRID=4674;POINT (-38.49346 -3.480434)'))) / (select extract(epoch from '2026-07-18 15:37:53'::timestamp) - extract(epoch from '2026-07-18 15:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493465 -3.480471)', '2026-07-18 15:37:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49346 -3.480434)'), GeomFromEWKT('SRID=4674;POINT (-38.493465 -3.480471)'))) / (select extract(epoch from '2026-07-18 15:37:55'::timestamp) - extract(epoch from '2026-07-18 15:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49346 -3.480434)'), GeomFromEWKT('SRID=4674;POINT (-38.493465 -3.480471)'))) / (select extract(epoch from '2026-07-18 15:37:55'::timestamp) - extract(epoch from '2026-07-18 15:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493478 -3.480489)', '2026-07-18 15:37:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493465 -3.480471)'), GeomFromEWKT('SRID=4674;POINT (-38.493478 -3.480489)'))) / (select extract(epoch from '2026-07-18 15:37:56'::timestamp) - extract(epoch from '2026-07-18 15:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493465 -3.480471)'), GeomFromEWKT('SRID=4674;POINT (-38.493478 -3.480489)'))) / (select extract(epoch from '2026-07-18 15:37:56'::timestamp) - extract(epoch from '2026-07-18 15:37:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493491 -3.48057)', '2026-07-18 15:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493478 -3.480489)'), GeomFromEWKT('SRID=4674;POINT (-38.493491 -3.48057)'))) / (select extract(epoch from '2026-07-18 15:38:01'::timestamp) - extract(epoch from '2026-07-18 15:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493478 -3.480489)'), GeomFromEWKT('SRID=4674;POINT (-38.493491 -3.48057)'))) / (select extract(epoch from '2026-07-18 15:38:01'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.493492 -3.480579)', '2026-07-18 15:38:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493491 -3.48057)'), GeomFromEWKT('SRID=4674;POINT (-38.493492 -3.480579)'))) / (select extract(epoch from '2026-07-18 15:38:02'::timestamp) - extract(epoch from '2026-07-18 15:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493491 -3.48057)'), GeomFromEWKT('SRID=4674;POINT (-38.493492 -3.480579)'))) / (select extract(epoch from '2026-07-18 15:38:02'::timestamp) - extract(epoch from '2026-07-18 15:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493515 -3.480625)', '2026-07-18 15:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493492 -3.480579)'), GeomFromEWKT('SRID=4674;POINT (-38.493515 -3.480625)'))) / (select extract(epoch from '2026-07-18 15:38:06'::timestamp) - extract(epoch from '2026-07-18 15:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493492 -3.480579)'), GeomFromEWKT('SRID=4674;POINT (-38.493515 -3.480625)'))) / (select extract(epoch from '2026-07-18 15:38:06'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.49352 -3.480655)', '2026-07-18 15:38:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493515 -3.480625)'), GeomFromEWKT('SRID=4674;POINT (-38.49352 -3.480655)'))) / (select extract(epoch from '2026-07-18 15:38:08'::timestamp) - extract(epoch from '2026-07-18 15:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493515 -3.480625)'), GeomFromEWKT('SRID=4674;POINT (-38.49352 -3.480655)'))) / (select extract(epoch from '2026-07-18 15:38:08'::timestamp) - extract(epoch from '2026-07-18 15:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493548 -3.480711)', '2026-07-18 15:38:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49352 -3.480655)'), GeomFromEWKT('SRID=4674;POINT (-38.493548 -3.480711)'))) / (select extract(epoch from '2026-07-18 15:38:12'::timestamp) - extract(epoch from '2026-07-18 15:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49352 -3.480655)'), GeomFromEWKT('SRID=4674;POINT (-38.493548 -3.480711)'))) / (select extract(epoch from '2026-07-18 15:38:12'::timestamp) - extract(epoch from '2026-07-18 15:38:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4936 -3.48082)', '2026-07-18 15:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493548 -3.480711)'), GeomFromEWKT('SRID=4674;POINT (-38.4936 -3.48082)'))) / (select extract(epoch from '2026-07-18 15:38:19'::timestamp) - extract(epoch from '2026-07-18 15:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493548 -3.480711)'), GeomFromEWKT('SRID=4674;POINT (-38.4936 -3.48082)'))) / (select extract(epoch from '2026-07-18 15:38:19'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.493631 -3.480923)', '2026-07-18 15:38:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4936 -3.48082)'), GeomFromEWKT('SRID=4674;POINT (-38.493631 -3.480923)'))) / (select extract(epoch from '2026-07-18 15:38:24'::timestamp) - extract(epoch from '2026-07-18 15:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4936 -3.48082)'), GeomFromEWKT('SRID=4674;POINT (-38.493631 -3.480923)'))) / (select extract(epoch from '2026-07-18 15:38:24'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.493656 -3.481042)', '2026-07-18 15:38:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493631 -3.480923)'), GeomFromEWKT('SRID=4674;POINT (-38.493656 -3.481042)'))) / (select extract(epoch from '2026-07-18 15:38:30'::timestamp) - extract(epoch from '2026-07-18 15:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493631 -3.480923)'), GeomFromEWKT('SRID=4674;POINT (-38.493656 -3.481042)'))) / (select extract(epoch from '2026-07-18 15:38:30'::timestamp) - extract(epoch from '2026-07-18 15:38:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493675 -3.481071)', '2026-07-18 15:38:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493656 -3.481042)'), GeomFromEWKT('SRID=4674;POINT (-38.493675 -3.481071)'))) / (select extract(epoch from '2026-07-18 15:38:32'::timestamp) - extract(epoch from '2026-07-18 15:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493656 -3.481042)'), GeomFromEWKT('SRID=4674;POINT (-38.493675 -3.481071)'))) / (select extract(epoch from '2026-07-18 15:38:32'::timestamp) - extract(epoch from '2026-07-18 15:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493677 -3.481106)', '2026-07-18 15:38:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493675 -3.481071)'), GeomFromEWKT('SRID=4674;POINT (-38.493677 -3.481106)'))) / (select extract(epoch from '2026-07-18 15:38:34'::timestamp) - extract(epoch from '2026-07-18 15:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493675 -3.481071)'), GeomFromEWKT('SRID=4674;POINT (-38.493677 -3.481106)'))) / (select extract(epoch from '2026-07-18 15:38:34'::timestamp) - extract(epoch from '2026-07-18 15:38:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493706 -3.481202)', '2026-07-18 15:38:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493677 -3.481106)'), GeomFromEWKT('SRID=4674;POINT (-38.493706 -3.481202)'))) / (select extract(epoch from '2026-07-18 15:38:39'::timestamp) - extract(epoch from '2026-07-18 15:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493677 -3.481106)'), GeomFromEWKT('SRID=4674;POINT (-38.493706 -3.481202)'))) / (select extract(epoch from '2026-07-18 15:38:39'::timestamp) - extract(epoch from '2026-07-18 15:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493732 -3.481308)', '2026-07-18 15:38:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493706 -3.481202)'), GeomFromEWKT('SRID=4674;POINT (-38.493732 -3.481308)'))) / (select extract(epoch from '2026-07-18 15:38:45'::timestamp) - extract(epoch from '2026-07-18 15:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493706 -3.481202)'), GeomFromEWKT('SRID=4674;POINT (-38.493732 -3.481308)'))) / (select extract(epoch from '2026-07-18 15:38:45'::timestamp) - extract(epoch from '2026-07-18 15:38:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493762 -3.481394)', '2026-07-18 15:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493732 -3.481308)'), GeomFromEWKT('SRID=4674;POINT (-38.493762 -3.481394)'))) / (select extract(epoch from '2026-07-18 15:38:50'::timestamp) - extract(epoch from '2026-07-18 15:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493732 -3.481308)'), GeomFromEWKT('SRID=4674;POINT (-38.493762 -3.481394)'))) / (select extract(epoch from '2026-07-18 15:38:50'::timestamp) - extract(epoch from '2026-07-18 15:38:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493795 -3.481491)', '2026-07-18 15:38:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493762 -3.481394)'), GeomFromEWKT('SRID=4674;POINT (-38.493795 -3.481491)'))) / (select extract(epoch from '2026-07-18 15:38:56'::timestamp) - extract(epoch from '2026-07-18 15:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493762 -3.481394)'), GeomFromEWKT('SRID=4674;POINT (-38.493795 -3.481491)'))) / (select extract(epoch from '2026-07-18 15:38:56'::timestamp) - extract(epoch from '2026-07-18 15:38:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493825 -3.481574)', '2026-07-18 15:39:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493795 -3.481491)'), GeomFromEWKT('SRID=4674;POINT (-38.493825 -3.481574)'))) / (select extract(epoch from '2026-07-18 15:39:02'::timestamp) - extract(epoch from '2026-07-18 15:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493795 -3.481491)'), GeomFromEWKT('SRID=4674;POINT (-38.493825 -3.481574)'))) / (select extract(epoch from '2026-07-18 15:39:02'::timestamp) - extract(epoch from '2026-07-18 15:38:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49388 -3.481711)', '2026-07-18 15:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493825 -3.481574)'), GeomFromEWKT('SRID=4674;POINT (-38.49388 -3.481711)'))) / (select extract(epoch from '2026-07-18 15:39:10'::timestamp) - extract(epoch from '2026-07-18 15:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493825 -3.481574)'), GeomFromEWKT('SRID=4674;POINT (-38.49388 -3.481711)'))) / (select extract(epoch from '2026-07-18 15:39:10'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.493892 -3.48175)', '2026-07-18 15:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49388 -3.481711)'), GeomFromEWKT('SRID=4674;POINT (-38.493892 -3.48175)'))) / (select extract(epoch from '2026-07-18 15:39:12'::timestamp) - extract(epoch from '2026-07-18 15:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49388 -3.481711)'), GeomFromEWKT('SRID=4674;POINT (-38.493892 -3.48175)'))) / (select extract(epoch from '2026-07-18 15:39:12'::timestamp) - extract(epoch from '2026-07-18 15:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493897 -3.48179)', '2026-07-18 15:39:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493892 -3.48175)'), GeomFromEWKT('SRID=4674;POINT (-38.493897 -3.48179)'))) / (select extract(epoch from '2026-07-18 15:39:14'::timestamp) - extract(epoch from '2026-07-18 15:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493892 -3.48175)'), GeomFromEWKT('SRID=4674;POINT (-38.493897 -3.48179)'))) / (select extract(epoch from '2026-07-18 15:39:14'::timestamp) - extract(epoch from '2026-07-18 15:39:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493908 -3.481809)', '2026-07-18 15:39:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493897 -3.48179)'), GeomFromEWKT('SRID=4674;POINT (-38.493908 -3.481809)'))) / (select extract(epoch from '2026-07-18 15:39:15'::timestamp) - extract(epoch from '2026-07-18 15:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493897 -3.48179)'), GeomFromEWKT('SRID=4674;POINT (-38.493908 -3.481809)'))) / (select extract(epoch from '2026-07-18 15:39:15'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.493938 -3.481908)', '2026-07-18 15:39:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493908 -3.481809)'), GeomFromEWKT('SRID=4674;POINT (-38.493938 -3.481908)'))) / (select extract(epoch from '2026-07-18 15:39:20'::timestamp) - extract(epoch from '2026-07-18 15:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493908 -3.481809)'), GeomFromEWKT('SRID=4674;POINT (-38.493938 -3.481908)'))) / (select extract(epoch from '2026-07-18 15:39:20'::timestamp) - extract(epoch from '2026-07-18 15:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.493965 -3.481993)', '2026-07-18 15:39:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493938 -3.481908)'), GeomFromEWKT('SRID=4674;POINT (-38.493965 -3.481993)'))) / (select extract(epoch from '2026-07-18 15:39:25'::timestamp) - extract(epoch from '2026-07-18 15:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493938 -3.481908)'), GeomFromEWKT('SRID=4674;POINT (-38.493965 -3.481993)'))) / (select extract(epoch from '2026-07-18 15:39:25'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.49399 -3.482127)', '2026-07-18 15:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493965 -3.481993)'), GeomFromEWKT('SRID=4674;POINT (-38.49399 -3.482127)'))) / (select extract(epoch from '2026-07-18 15:39:32'::timestamp) - extract(epoch from '2026-07-18 15:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.493965 -3.481993)'), GeomFromEWKT('SRID=4674;POINT (-38.49399 -3.482127)'))) / (select extract(epoch from '2026-07-18 15:39:32'::timestamp) - extract(epoch from '2026-07-18 15:39:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494029 -3.482209)', '2026-07-18 15:39:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49399 -3.482127)'), GeomFromEWKT('SRID=4674;POINT (-38.494029 -3.482209)'))) / (select extract(epoch from '2026-07-18 15:39:37'::timestamp) - extract(epoch from '2026-07-18 15:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49399 -3.482127)'), GeomFromEWKT('SRID=4674;POINT (-38.494029 -3.482209)'))) / (select extract(epoch from '2026-07-18 15:39:37'::timestamp) - extract(epoch from '2026-07-18 15:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494054 -3.482247)', '2026-07-18 15:39:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494029 -3.482209)'), GeomFromEWKT('SRID=4674;POINT (-38.494054 -3.482247)'))) / (select extract(epoch from '2026-07-18 15:39:39'::timestamp) - extract(epoch from '2026-07-18 15:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494029 -3.482209)'), GeomFromEWKT('SRID=4674;POINT (-38.494054 -3.482247)'))) / (select extract(epoch from '2026-07-18 15:39:39'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.494057 -3.48228)', '2026-07-18 15:39:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494054 -3.482247)'), GeomFromEWKT('SRID=4674;POINT (-38.494057 -3.48228)'))) / (select extract(epoch from '2026-07-18 15:39:41'::timestamp) - extract(epoch from '2026-07-18 15:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494054 -3.482247)'), GeomFromEWKT('SRID=4674;POINT (-38.494057 -3.48228)'))) / (select extract(epoch from '2026-07-18 15:39:41'::timestamp) - extract(epoch from '2026-07-18 15:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494093 -3.482351)', '2026-07-18 15:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494057 -3.48228)'), GeomFromEWKT('SRID=4674;POINT (-38.494093 -3.482351)'))) / (select extract(epoch from '2026-07-18 15:39:45'::timestamp) - extract(epoch from '2026-07-18 15:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494057 -3.48228)'), GeomFromEWKT('SRID=4674;POINT (-38.494093 -3.482351)'))) / (select extract(epoch from '2026-07-18 15:39:45'::timestamp) - extract(epoch from '2026-07-18 15:39:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494116 -3.482431)', '2026-07-18 15:39:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494093 -3.482351)'), GeomFromEWKT('SRID=4674;POINT (-38.494116 -3.482431)'))) / (select extract(epoch from '2026-07-18 15:39:50'::timestamp) - extract(epoch from '2026-07-18 15:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494093 -3.482351)'), GeomFromEWKT('SRID=4674;POINT (-38.494116 -3.482431)'))) / (select extract(epoch from '2026-07-18 15:39:50'::timestamp) - extract(epoch from '2026-07-18 15:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494139 -3.482513)', '2026-07-18 15:39:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494116 -3.482431)'), GeomFromEWKT('SRID=4674;POINT (-38.494139 -3.482513)'))) / (select extract(epoch from '2026-07-18 15:39:55'::timestamp) - extract(epoch from '2026-07-18 15:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494116 -3.482431)'), GeomFromEWKT('SRID=4674;POINT (-38.494139 -3.482513)'))) / (select extract(epoch from '2026-07-18 15:39:55'::timestamp) - extract(epoch from '2026-07-18 15:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494181 -3.482605)', '2026-07-18 15:40:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494139 -3.482513)'), GeomFromEWKT('SRID=4674;POINT (-38.494181 -3.482605)'))) / (select extract(epoch from '2026-07-18 15:40:01'::timestamp) - extract(epoch from '2026-07-18 15:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494139 -3.482513)'), GeomFromEWKT('SRID=4674;POINT (-38.494181 -3.482605)'))) / (select extract(epoch from '2026-07-18 15:40:01'::timestamp) - extract(epoch from '2026-07-18 15:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494222 -3.48269)', '2026-07-18 15:40:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494181 -3.482605)'), GeomFromEWKT('SRID=4674;POINT (-38.494222 -3.48269)'))) / (select extract(epoch from '2026-07-18 15:40:06'::timestamp) - extract(epoch from '2026-07-18 15:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494181 -3.482605)'), GeomFromEWKT('SRID=4674;POINT (-38.494222 -3.48269)'))) / (select extract(epoch from '2026-07-18 15:40:06'::timestamp) - extract(epoch from '2026-07-18 15:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494268 -3.4828)', '2026-07-18 15:40:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494222 -3.48269)'), GeomFromEWKT('SRID=4674;POINT (-38.494268 -3.4828)'))) / (select extract(epoch from '2026-07-18 15:40:12'::timestamp) - extract(epoch from '2026-07-18 15:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494222 -3.48269)'), GeomFromEWKT('SRID=4674;POINT (-38.494268 -3.4828)'))) / (select extract(epoch from '2026-07-18 15:40:12'::timestamp) - extract(epoch from '2026-07-18 15:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494323 -3.48292)', '2026-07-18 15:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494268 -3.4828)'), GeomFromEWKT('SRID=4674;POINT (-38.494323 -3.48292)'))) / (select extract(epoch from '2026-07-18 15:40:19'::timestamp) - extract(epoch from '2026-07-18 15:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494268 -3.4828)'), GeomFromEWKT('SRID=4674;POINT (-38.494323 -3.48292)'))) / (select extract(epoch from '2026-07-18 15:40:19'::timestamp) - extract(epoch from '2026-07-18 15:40:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494363 -3.483006)', '2026-07-18 15:40:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494323 -3.48292)'), GeomFromEWKT('SRID=4674;POINT (-38.494363 -3.483006)'))) / (select extract(epoch from '2026-07-18 15:40:24'::timestamp) - extract(epoch from '2026-07-18 15:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494323 -3.48292)'), GeomFromEWKT('SRID=4674;POINT (-38.494363 -3.483006)'))) / (select extract(epoch from '2026-07-18 15:40:24'::timestamp) - extract(epoch from '2026-07-18 15:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49439 -3.483097)', '2026-07-18 15:40:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494363 -3.483006)'), GeomFromEWKT('SRID=4674;POINT (-38.49439 -3.483097)'))) / (select extract(epoch from '2026-07-18 15:40:29'::timestamp) - extract(epoch from '2026-07-18 15:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494363 -3.483006)'), GeomFromEWKT('SRID=4674;POINT (-38.49439 -3.483097)'))) / (select extract(epoch from '2026-07-18 15:40:29'::timestamp) - extract(epoch from '2026-07-18 15:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494443 -3.483202)', '2026-07-18 15:40:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49439 -3.483097)'), GeomFromEWKT('SRID=4674;POINT (-38.494443 -3.483202)'))) / (select extract(epoch from '2026-07-18 15:40:35'::timestamp) - extract(epoch from '2026-07-18 15:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49439 -3.483097)'), GeomFromEWKT('SRID=4674;POINT (-38.494443 -3.483202)'))) / (select extract(epoch from '2026-07-18 15:40:35'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.494487 -3.483341)', '2026-07-18 15:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494443 -3.483202)'), GeomFromEWKT('SRID=4674;POINT (-38.494487 -3.483341)'))) / (select extract(epoch from '2026-07-18 15:40:42'::timestamp) - extract(epoch from '2026-07-18 15:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494443 -3.483202)'), GeomFromEWKT('SRID=4674;POINT (-38.494487 -3.483341)'))) / (select extract(epoch from '2026-07-18 15:40:42'::timestamp) - extract(epoch from '2026-07-18 15:40:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494496 -3.483357)', '2026-07-18 15:40:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494487 -3.483341)'), GeomFromEWKT('SRID=4674;POINT (-38.494496 -3.483357)'))) / (select extract(epoch from '2026-07-18 15:40:43'::timestamp) - extract(epoch from '2026-07-18 15:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494487 -3.483341)'), GeomFromEWKT('SRID=4674;POINT (-38.494496 -3.483357)'))) / (select extract(epoch from '2026-07-18 15:40:43'::timestamp) - extract(epoch from '2026-07-18 15:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494517 -3.483395)', '2026-07-18 15:40:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494496 -3.483357)'), GeomFromEWKT('SRID=4674;POINT (-38.494517 -3.483395)'))) / (select extract(epoch from '2026-07-18 15:40:45'::timestamp) - extract(epoch from '2026-07-18 15:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494496 -3.483357)'), GeomFromEWKT('SRID=4674;POINT (-38.494517 -3.483395)'))) / (select extract(epoch from '2026-07-18 15:40:45'::timestamp) - extract(epoch from '2026-07-18 15:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494531 -3.483447)', '2026-07-18 15:40:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494517 -3.483395)'), GeomFromEWKT('SRID=4674;POINT (-38.494531 -3.483447)'))) / (select extract(epoch from '2026-07-18 15:40:48'::timestamp) - extract(epoch from '2026-07-18 15:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494517 -3.483395)'), GeomFromEWKT('SRID=4674;POINT (-38.494531 -3.483447)'))) / (select extract(epoch from '2026-07-18 15:40:48'::timestamp) - extract(epoch from '2026-07-18 15:40:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494569 -3.483535)', '2026-07-18 15:40:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494531 -3.483447)'), GeomFromEWKT('SRID=4674;POINT (-38.494569 -3.483535)'))) / (select extract(epoch from '2026-07-18 15:40:53'::timestamp) - extract(epoch from '2026-07-18 15:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494531 -3.483447)'), GeomFromEWKT('SRID=4674;POINT (-38.494569 -3.483535)'))) / (select extract(epoch from '2026-07-18 15:40:53'::timestamp) - extract(epoch from '2026-07-18 15:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494613 -3.483677)', '2026-07-18 15:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494569 -3.483535)'), GeomFromEWKT('SRID=4674;POINT (-38.494613 -3.483677)'))) / (select extract(epoch from '2026-07-18 15:41:00'::timestamp) - extract(epoch from '2026-07-18 15:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494569 -3.483535)'), GeomFromEWKT('SRID=4674;POINT (-38.494613 -3.483677)'))) / (select extract(epoch from '2026-07-18 15:41:00'::timestamp) - extract(epoch from '2026-07-18 15:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494649 -3.483787)', '2026-07-18 15:41:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494613 -3.483677)'), GeomFromEWKT('SRID=4674;POINT (-38.494649 -3.483787)'))) / (select extract(epoch from '2026-07-18 15:41:06'::timestamp) - extract(epoch from '2026-07-18 15:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494613 -3.483677)'), GeomFromEWKT('SRID=4674;POINT (-38.494649 -3.483787)'))) / (select extract(epoch from '2026-07-18 15:41:06'::timestamp) - extract(epoch from '2026-07-18 15:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494676 -3.483831)', '2026-07-18 15:41:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494649 -3.483787)'), GeomFromEWKT('SRID=4674;POINT (-38.494676 -3.483831)'))) / (select extract(epoch from '2026-07-18 15:41:08'::timestamp) - extract(epoch from '2026-07-18 15:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494649 -3.483787)'), GeomFromEWKT('SRID=4674;POINT (-38.494676 -3.483831)'))) / (select extract(epoch from '2026-07-18 15:41:08'::timestamp) - extract(epoch from '2026-07-18 15:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494677 -3.483864)', '2026-07-18 15:41:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494676 -3.483831)'), GeomFromEWKT('SRID=4674;POINT (-38.494677 -3.483864)'))) / (select extract(epoch from '2026-07-18 15:41:10'::timestamp) - extract(epoch from '2026-07-18 15:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494676 -3.483831)'), GeomFromEWKT('SRID=4674;POINT (-38.494677 -3.483864)'))) / (select extract(epoch from '2026-07-18 15:41:10'::timestamp) - extract(epoch from '2026-07-18 15:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494677 -3.48388)', '2026-07-18 15:41:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494677 -3.483864)'), GeomFromEWKT('SRID=4674;POINT (-38.494677 -3.48388)'))) / (select extract(epoch from '2026-07-18 15:41:11'::timestamp) - extract(epoch from '2026-07-18 15:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494677 -3.483864)'), GeomFromEWKT('SRID=4674;POINT (-38.494677 -3.48388)'))) / (select extract(epoch from '2026-07-18 15:41:11'::timestamp) - extract(epoch from '2026-07-18 15:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494694 -3.483914)', '2026-07-18 15:41:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494677 -3.48388)'), GeomFromEWKT('SRID=4674;POINT (-38.494694 -3.483914)'))) / (select extract(epoch from '2026-07-18 15:41:13'::timestamp) - extract(epoch from '2026-07-18 15:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494677 -3.48388)'), GeomFromEWKT('SRID=4674;POINT (-38.494694 -3.483914)'))) / (select extract(epoch from '2026-07-18 15:41:13'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.494709 -3.48393)', '2026-07-18 15:41:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494694 -3.483914)'), GeomFromEWKT('SRID=4674;POINT (-38.494709 -3.48393)'))) / (select extract(epoch from '2026-07-18 15:41:14'::timestamp) - extract(epoch from '2026-07-18 15:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494694 -3.483914)'), GeomFromEWKT('SRID=4674;POINT (-38.494709 -3.48393)'))) / (select extract(epoch from '2026-07-18 15:41:14'::timestamp) - extract(epoch from '2026-07-18 15:41:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494724 -3.483961)', '2026-07-18 15:41:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494709 -3.48393)'), GeomFromEWKT('SRID=4674;POINT (-38.494724 -3.483961)'))) / (select extract(epoch from '2026-07-18 15:41:16'::timestamp) - extract(epoch from '2026-07-18 15:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494709 -3.48393)'), GeomFromEWKT('SRID=4674;POINT (-38.494724 -3.483961)'))) / (select extract(epoch from '2026-07-18 15:41:16'::timestamp) - extract(epoch from '2026-07-18 15:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494734 -3.483991)', '2026-07-18 15:41:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494724 -3.483961)'), GeomFromEWKT('SRID=4674;POINT (-38.494734 -3.483991)'))) / (select extract(epoch from '2026-07-18 15:41:18'::timestamp) - extract(epoch from '2026-07-18 15:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494724 -3.483961)'), GeomFromEWKT('SRID=4674;POINT (-38.494734 -3.483991)'))) / (select extract(epoch from '2026-07-18 15:41:18'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.494779 -3.484086)', '2026-07-18 15:41:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494734 -3.483991)'), GeomFromEWKT('SRID=4674;POINT (-38.494779 -3.484086)'))) / (select extract(epoch from '2026-07-18 15:41:23'::timestamp) - extract(epoch from '2026-07-18 15:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494734 -3.483991)'), GeomFromEWKT('SRID=4674;POINT (-38.494779 -3.484086)'))) / (select extract(epoch from '2026-07-18 15:41:23'::timestamp) - extract(epoch from '2026-07-18 15:41:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494829 -3.484213)', '2026-07-18 15:41:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494779 -3.484086)'), GeomFromEWKT('SRID=4674;POINT (-38.494829 -3.484213)'))) / (select extract(epoch from '2026-07-18 15:41:30'::timestamp) - extract(epoch from '2026-07-18 15:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494779 -3.484086)'), GeomFromEWKT('SRID=4674;POINT (-38.494829 -3.484213)'))) / (select extract(epoch from '2026-07-18 15:41:30'::timestamp) - extract(epoch from '2026-07-18 15:41:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494848 -3.48428)', '2026-07-18 15:41:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494829 -3.484213)'), GeomFromEWKT('SRID=4674;POINT (-38.494848 -3.48428)'))) / (select extract(epoch from '2026-07-18 15:41:34'::timestamp) - extract(epoch from '2026-07-18 15:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494829 -3.484213)'), GeomFromEWKT('SRID=4674;POINT (-38.494848 -3.48428)'))) / (select extract(epoch from '2026-07-18 15:41:34'::timestamp) - extract(epoch from '2026-07-18 15:41:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494858 -3.484294)', '2026-07-18 15:41:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494848 -3.48428)'), GeomFromEWKT('SRID=4674;POINT (-38.494858 -3.484294)'))) / (select extract(epoch from '2026-07-18 15:41:35'::timestamp) - extract(epoch from '2026-07-18 15:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494848 -3.48428)'), GeomFromEWKT('SRID=4674;POINT (-38.494858 -3.484294)'))) / (select extract(epoch from '2026-07-18 15:41:35'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.494874 -3.484332)', '2026-07-18 15:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494858 -3.484294)'), GeomFromEWKT('SRID=4674;POINT (-38.494874 -3.484332)'))) / (select extract(epoch from '2026-07-18 15:41:37'::timestamp) - extract(epoch from '2026-07-18 15:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494858 -3.484294)'), GeomFromEWKT('SRID=4674;POINT (-38.494874 -3.484332)'))) / (select extract(epoch from '2026-07-18 15:41:37'::timestamp) - extract(epoch from '2026-07-18 15:41:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494903 -3.484363)', '2026-07-18 15:41:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494874 -3.484332)'), GeomFromEWKT('SRID=4674;POINT (-38.494903 -3.484363)'))) / (select extract(epoch from '2026-07-18 15:41:39'::timestamp) - extract(epoch from '2026-07-18 15:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494874 -3.484332)'), GeomFromEWKT('SRID=4674;POINT (-38.494903 -3.484363)'))) / (select extract(epoch from '2026-07-18 15:41:39'::timestamp) - extract(epoch from '2026-07-18 15:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494926 -3.484398)', '2026-07-18 15:41:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494903 -3.484363)'), GeomFromEWKT('SRID=4674;POINT (-38.494926 -3.484398)'))) / (select extract(epoch from '2026-07-18 15:41:41'::timestamp) - extract(epoch from '2026-07-18 15:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494903 -3.484363)'), GeomFromEWKT('SRID=4674;POINT (-38.494926 -3.484398)'))) / (select extract(epoch from '2026-07-18 15:41:41'::timestamp) - extract(epoch from '2026-07-18 15:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494926 -3.484433)', '2026-07-18 15:41:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494926 -3.484398)'), GeomFromEWKT('SRID=4674;POINT (-38.494926 -3.484433)'))) / (select extract(epoch from '2026-07-18 15:41:43'::timestamp) - extract(epoch from '2026-07-18 15:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494926 -3.484398)'), GeomFromEWKT('SRID=4674;POINT (-38.494926 -3.484433)'))) / (select extract(epoch from '2026-07-18 15:41:43'::timestamp) - extract(epoch from '2026-07-18 15:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494957 -3.484529)', '2026-07-18 15:41:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494926 -3.484433)'), GeomFromEWKT('SRID=4674;POINT (-38.494957 -3.484529)'))) / (select extract(epoch from '2026-07-18 15:41:48'::timestamp) - extract(epoch from '2026-07-18 15:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494926 -3.484433)'), GeomFromEWKT('SRID=4674;POINT (-38.494957 -3.484529)'))) / (select extract(epoch from '2026-07-18 15:41:48'::timestamp) - extract(epoch from '2026-07-18 15:41:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.494982 -3.484612)', '2026-07-18 15:41:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494957 -3.484529)'), GeomFromEWKT('SRID=4674;POINT (-38.494982 -3.484612)'))) / (select extract(epoch from '2026-07-18 15:41:53'::timestamp) - extract(epoch from '2026-07-18 15:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494957 -3.484529)'), GeomFromEWKT('SRID=4674;POINT (-38.494982 -3.484612)'))) / (select extract(epoch from '2026-07-18 15:41:53'::timestamp) - extract(epoch from '2026-07-18 15:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495 -3.484674)', '2026-07-18 15:41:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494982 -3.484612)'), GeomFromEWKT('SRID=4674;POINT (-38.495 -3.484674)'))) / (select extract(epoch from '2026-07-18 15:41:57'::timestamp) - extract(epoch from '2026-07-18 15:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.494982 -3.484612)'), GeomFromEWKT('SRID=4674;POINT (-38.495 -3.484674)'))) / (select extract(epoch from '2026-07-18 15:41:57'::timestamp) - extract(epoch from '2026-07-18 15:41:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495011 -3.484689)', '2026-07-18 15:41:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495 -3.484674)'), GeomFromEWKT('SRID=4674;POINT (-38.495011 -3.484689)'))) / (select extract(epoch from '2026-07-18 15:41:58'::timestamp) - extract(epoch from '2026-07-18 15:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495 -3.484674)'), GeomFromEWKT('SRID=4674;POINT (-38.495011 -3.484689)'))) / (select extract(epoch from '2026-07-18 15:41:58'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.495029 -3.484759)', '2026-07-18 15:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495011 -3.484689)'), GeomFromEWKT('SRID=4674;POINT (-38.495029 -3.484759)'))) / (select extract(epoch from '2026-07-18 15:42:02'::timestamp) - extract(epoch from '2026-07-18 15:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495011 -3.484689)'), GeomFromEWKT('SRID=4674;POINT (-38.495029 -3.484759)'))) / (select extract(epoch from '2026-07-18 15:42:02'::timestamp) - extract(epoch from '2026-07-18 15:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495041 -3.484813)', '2026-07-18 15:42:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495029 -3.484759)'), GeomFromEWKT('SRID=4674;POINT (-38.495041 -3.484813)'))) / (select extract(epoch from '2026-07-18 15:42:05'::timestamp) - extract(epoch from '2026-07-18 15:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495029 -3.484759)'), GeomFromEWKT('SRID=4674;POINT (-38.495041 -3.484813)'))) / (select extract(epoch from '2026-07-18 15:42:05'::timestamp) - extract(epoch from '2026-07-18 15:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495059 -3.484854)', '2026-07-18 15:42:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495041 -3.484813)'), GeomFromEWKT('SRID=4674;POINT (-38.495059 -3.484854)'))) / (select extract(epoch from '2026-07-18 15:42:07'::timestamp) - extract(epoch from '2026-07-18 15:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495041 -3.484813)'), GeomFromEWKT('SRID=4674;POINT (-38.495059 -3.484854)'))) / (select extract(epoch from '2026-07-18 15:42:07'::timestamp) - extract(epoch from '2026-07-18 15:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495081 -3.484945)', '2026-07-18 15:42:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495059 -3.484854)'), GeomFromEWKT('SRID=4674;POINT (-38.495081 -3.484945)'))) / (select extract(epoch from '2026-07-18 15:42:12'::timestamp) - extract(epoch from '2026-07-18 15:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495059 -3.484854)'), GeomFromEWKT('SRID=4674;POINT (-38.495081 -3.484945)'))) / (select extract(epoch from '2026-07-18 15:42:12'::timestamp) - extract(epoch from '2026-07-18 15:42:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495113 -3.485027)', '2026-07-18 15:42:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495081 -3.484945)'), GeomFromEWKT('SRID=4674;POINT (-38.495113 -3.485027)'))) / (select extract(epoch from '2026-07-18 15:42:17'::timestamp) - extract(epoch from '2026-07-18 15:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495081 -3.484945)'), GeomFromEWKT('SRID=4674;POINT (-38.495113 -3.485027)'))) / (select extract(epoch from '2026-07-18 15:42:17'::timestamp) - extract(epoch from '2026-07-18 15:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495148 -3.485141)', '2026-07-18 15:42:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495113 -3.485027)'), GeomFromEWKT('SRID=4674;POINT (-38.495148 -3.485141)'))) / (select extract(epoch from '2026-07-18 15:42:23'::timestamp) - extract(epoch from '2026-07-18 15:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495113 -3.485027)'), GeomFromEWKT('SRID=4674;POINT (-38.495148 -3.485141)'))) / (select extract(epoch from '2026-07-18 15:42:23'::timestamp) - extract(epoch from '2026-07-18 15:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495185 -3.485256)', '2026-07-18 15:42:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495148 -3.485141)'), GeomFromEWKT('SRID=4674;POINT (-38.495185 -3.485256)'))) / (select extract(epoch from '2026-07-18 15:42:29'::timestamp) - extract(epoch from '2026-07-18 15:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495148 -3.485141)'), GeomFromEWKT('SRID=4674;POINT (-38.495185 -3.485256)'))) / (select extract(epoch from '2026-07-18 15:42:29'::timestamp) - extract(epoch from '2026-07-18 15:42:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49522 -3.485375)', '2026-07-18 15:42:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495185 -3.485256)'), GeomFromEWKT('SRID=4674;POINT (-38.49522 -3.485375)'))) / (select extract(epoch from '2026-07-18 15:42:35'::timestamp) - extract(epoch from '2026-07-18 15:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495185 -3.485256)'), GeomFromEWKT('SRID=4674;POINT (-38.49522 -3.485375)'))) / (select extract(epoch from '2026-07-18 15:42:35'::timestamp) - extract(epoch from '2026-07-18 15:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495277 -3.485547)', '2026-07-18 15:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49522 -3.485375)'), GeomFromEWKT('SRID=4674;POINT (-38.495277 -3.485547)'))) / (select extract(epoch from '2026-07-18 15:42:44'::timestamp) - extract(epoch from '2026-07-18 15:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49522 -3.485375)'), GeomFromEWKT('SRID=4674;POINT (-38.495277 -3.485547)'))) / (select extract(epoch from '2026-07-18 15:42:44'::timestamp) - extract(epoch from '2026-07-18 15:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495314 -3.485655)', '2026-07-18 15:42:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495277 -3.485547)'), GeomFromEWKT('SRID=4674;POINT (-38.495314 -3.485655)'))) / (select extract(epoch from '2026-07-18 15:42:50'::timestamp) - extract(epoch from '2026-07-18 15:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495277 -3.485547)'), GeomFromEWKT('SRID=4674;POINT (-38.495314 -3.485655)'))) / (select extract(epoch from '2026-07-18 15:42:50'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.495344 -3.485736)', '2026-07-18 15:42:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495314 -3.485655)'), GeomFromEWKT('SRID=4674;POINT (-38.495344 -3.485736)'))) / (select extract(epoch from '2026-07-18 15:42:55'::timestamp) - extract(epoch from '2026-07-18 15:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495314 -3.485655)'), GeomFromEWKT('SRID=4674;POINT (-38.495344 -3.485736)'))) / (select extract(epoch from '2026-07-18 15:42:55'::timestamp) - extract(epoch from '2026-07-18 15:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49535 -3.485774)', '2026-07-18 15:42:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495344 -3.485736)'), GeomFromEWKT('SRID=4674;POINT (-38.49535 -3.485774)'))) / (select extract(epoch from '2026-07-18 15:42:57'::timestamp) - extract(epoch from '2026-07-18 15:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495344 -3.485736)'), GeomFromEWKT('SRID=4674;POINT (-38.49535 -3.485774)'))) / (select extract(epoch from '2026-07-18 15:42:57'::timestamp) - extract(epoch from '2026-07-18 15:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495369 -3.485808)', '2026-07-18 15:42:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49535 -3.485774)'), GeomFromEWKT('SRID=4674;POINT (-38.495369 -3.485808)'))) / (select extract(epoch from '2026-07-18 15:42:59'::timestamp) - extract(epoch from '2026-07-18 15:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49535 -3.485774)'), GeomFromEWKT('SRID=4674;POINT (-38.495369 -3.485808)'))) / (select extract(epoch from '2026-07-18 15:42:59'::timestamp) - extract(epoch from '2026-07-18 15:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.49541 -3.485917)', '2026-07-18 15:43:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495369 -3.485808)'), GeomFromEWKT('SRID=4674;POINT (-38.49541 -3.485917)'))) / (select extract(epoch from '2026-07-18 15:43:05'::timestamp) - extract(epoch from '2026-07-18 15:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495369 -3.485808)'), GeomFromEWKT('SRID=4674;POINT (-38.49541 -3.485917)'))) / (select extract(epoch from '2026-07-18 15:43:05'::timestamp) - extract(epoch from '2026-07-18 15:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495433 -3.485981)', '2026-07-18 15:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49541 -3.485917)'), GeomFromEWKT('SRID=4674;POINT (-38.495433 -3.485981)'))) / (select extract(epoch from '2026-07-18 15:43:08'::timestamp) - extract(epoch from '2026-07-18 15:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.49541 -3.485917)'), GeomFromEWKT('SRID=4674;POINT (-38.495433 -3.485981)'))) / (select extract(epoch from '2026-07-18 15:43:08'::timestamp) - extract(epoch from '2026-07-18 15:43:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495437 -3.486019)', '2026-07-18 15:43:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495433 -3.485981)'), GeomFromEWKT('SRID=4674;POINT (-38.495437 -3.486019)'))) / (select extract(epoch from '2026-07-18 15:43:10'::timestamp) - extract(epoch from '2026-07-18 15:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495433 -3.485981)'), GeomFromEWKT('SRID=4674;POINT (-38.495437 -3.486019)'))) / (select extract(epoch from '2026-07-18 15:43:10'::timestamp) - extract(epoch from '2026-07-18 15:43:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495466 -3.486095)', '2026-07-18 15:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495437 -3.486019)'), GeomFromEWKT('SRID=4674;POINT (-38.495466 -3.486095)'))) / (select extract(epoch from '2026-07-18 15:43:14'::timestamp) - extract(epoch from '2026-07-18 15:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495437 -3.486019)'), GeomFromEWKT('SRID=4674;POINT (-38.495466 -3.486095)'))) / (select extract(epoch from '2026-07-18 15:43:14'::timestamp) - extract(epoch from '2026-07-18 15:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495472 -3.486125)', '2026-07-18 15:43:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495466 -3.486095)'), GeomFromEWKT('SRID=4674;POINT (-38.495472 -3.486125)'))) / (select extract(epoch from '2026-07-18 15:43:16'::timestamp) - extract(epoch from '2026-07-18 15:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495466 -3.486095)'), GeomFromEWKT('SRID=4674;POINT (-38.495472 -3.486125)'))) / (select extract(epoch from '2026-07-18 15:43:16'::timestamp) - extract(epoch from '2026-07-18 15:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495497 -3.486161)', '2026-07-18 15:43:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495472 -3.486125)'), GeomFromEWKT('SRID=4674;POINT (-38.495497 -3.486161)'))) / (select extract(epoch from '2026-07-18 15:43:18'::timestamp) - extract(epoch from '2026-07-18 15:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495472 -3.486125)'), GeomFromEWKT('SRID=4674;POINT (-38.495497 -3.486161)'))) / (select extract(epoch from '2026-07-18 15:43:18'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.495496 -3.486208)', '2026-07-18 15:43:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495497 -3.486161)'), GeomFromEWKT('SRID=4674;POINT (-38.495496 -3.486208)'))) / (select extract(epoch from '2026-07-18 15:43:21'::timestamp) - extract(epoch from '2026-07-18 15:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495497 -3.486161)'), GeomFromEWKT('SRID=4674;POINT (-38.495496 -3.486208)'))) / (select extract(epoch from '2026-07-18 15:43:21'::timestamp) - extract(epoch from '2026-07-18 15:43:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495506 -3.486224)', '2026-07-18 15:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495496 -3.486208)'), GeomFromEWKT('SRID=4674;POINT (-38.495506 -3.486224)'))) / (select extract(epoch from '2026-07-18 15:43:22'::timestamp) - extract(epoch from '2026-07-18 15:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495496 -3.486208)'), GeomFromEWKT('SRID=4674;POINT (-38.495506 -3.486224)'))) / (select extract(epoch from '2026-07-18 15:43:22'::timestamp) - extract(epoch from '2026-07-18 15:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495515 -3.48624)', '2026-07-18 15:43:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495506 -3.486224)'), GeomFromEWKT('SRID=4674;POINT (-38.495515 -3.48624)'))) / (select extract(epoch from '2026-07-18 15:43:23'::timestamp) - extract(epoch from '2026-07-18 15:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495506 -3.486224)'), GeomFromEWKT('SRID=4674;POINT (-38.495515 -3.48624)'))) / (select extract(epoch from '2026-07-18 15:43:23'::timestamp) - extract(epoch from '2026-07-18 15:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495519 -3.486294)', '2026-07-18 15:43:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495515 -3.48624)'), GeomFromEWKT('SRID=4674;POINT (-38.495519 -3.486294)'))) / (select extract(epoch from '2026-07-18 15:43:26'::timestamp) - extract(epoch from '2026-07-18 15:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495515 -3.48624)'), GeomFromEWKT('SRID=4674;POINT (-38.495519 -3.486294)'))) / (select extract(epoch from '2026-07-18 15:43:26'::timestamp) - extract(epoch from '2026-07-18 15:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495553 -3.486399)', '2026-07-18 15:43:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495519 -3.486294)'), GeomFromEWKT('SRID=4674;POINT (-38.495553 -3.486399)'))) / (select extract(epoch from '2026-07-18 15:43:33'::timestamp) - extract(epoch from '2026-07-18 15:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495519 -3.486294)'), GeomFromEWKT('SRID=4674;POINT (-38.495553 -3.486399)'))) / (select extract(epoch from '2026-07-18 15:43:33'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.495597 -3.486534)', '2026-07-18 15:43:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495553 -3.486399)'), GeomFromEWKT('SRID=4674;POINT (-38.495597 -3.486534)'))) / (select extract(epoch from '2026-07-18 15:43:40'::timestamp) - extract(epoch from '2026-07-18 15:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495553 -3.486399)'), GeomFromEWKT('SRID=4674;POINT (-38.495597 -3.486534)'))) / (select extract(epoch from '2026-07-18 15:43:40'::timestamp) - extract(epoch from '2026-07-18 15:43:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495644 -3.486648)', '2026-07-18 15:43:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495597 -3.486534)'), GeomFromEWKT('SRID=4674;POINT (-38.495644 -3.486648)'))) / (select extract(epoch from '2026-07-18 15:43:46'::timestamp) - extract(epoch from '2026-07-18 15:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495597 -3.486534)'), GeomFromEWKT('SRID=4674;POINT (-38.495644 -3.486648)'))) / (select extract(epoch from '2026-07-18 15:43:46'::timestamp) - extract(epoch from '2026-07-18 15:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495665 -3.486732)', '2026-07-18 15:43:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495644 -3.486648)'), GeomFromEWKT('SRID=4674;POINT (-38.495665 -3.486732)'))) / (select extract(epoch from '2026-07-18 15:43:51'::timestamp) - extract(epoch from '2026-07-18 15:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495644 -3.486648)'), GeomFromEWKT('SRID=4674;POINT (-38.495665 -3.486732)'))) / (select extract(epoch from '2026-07-18 15:43:51'::timestamp) - extract(epoch from '2026-07-18 15:43:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.495675 -3.486756)', '2026-07-18 15:43:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495665 -3.486732)'), GeomFromEWKT('SRID=4674;POINT (-38.495675 -3.486756)'))) / (select extract(epoch from '2026-07-18 15:43:52'::timestamp) - extract(epoch from '2026-07-18 15:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.495665 -3.486732)'), GeomFromEWKT('SRID=4674;POINT (-38.495675 -3.486756)'))) / (select extract(epoch from '2026-07-18 15:43:52'::timestamp) - extract(epoch from '2026-07-18 15:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
