 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.6263 -3.634315)', '2026-07-21 17:08:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626268 -3.634324)'), GeomFromEWKT('SRID=4674;POINT (-38.6263 -3.634315)'))) / (select extract(epoch from '2026-07-21 17:08:31'::timestamp) - extract(epoch from '2026-07-21 17:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626268 -3.634324)'), GeomFromEWKT('SRID=4674;POINT (-38.6263 -3.634315)'))) / (select extract(epoch from '2026-07-21 17:08:31'::timestamp) - extract(epoch from '2026-07-21 17:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626339 -3.634294)', '2026-07-21 17:08:38', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6263 -3.634315)'), GeomFromEWKT('SRID=4674;POINT (-38.626339 -3.634294)'))) / (select extract(epoch from '2026-07-21 17:08:38'::timestamp) - extract(epoch from '2026-07-21 17:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6263 -3.634315)'), GeomFromEWKT('SRID=4674;POINT (-38.626339 -3.634294)'))) / (select extract(epoch from '2026-07-21 17:08:38'::timestamp) - extract(epoch from '2026-07-21 17:08:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626365 -3.634276)', '2026-07-21 17:08:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626339 -3.634294)'), GeomFromEWKT('SRID=4674;POINT (-38.626365 -3.634276)'))) / (select extract(epoch from '2026-07-21 17:08:45'::timestamp) - extract(epoch from '2026-07-21 17:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626339 -3.634294)'), GeomFromEWKT('SRID=4674;POINT (-38.626365 -3.634276)'))) / (select extract(epoch from '2026-07-21 17:08:45'::timestamp) - extract(epoch from '2026-07-21 17:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62641 -3.634259)', '2026-07-21 17:08:52', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626365 -3.634276)'), GeomFromEWKT('SRID=4674;POINT (-38.62641 -3.634259)'))) / (select extract(epoch from '2026-07-21 17:08:52'::timestamp) - extract(epoch from '2026-07-21 17:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626365 -3.634276)'), GeomFromEWKT('SRID=4674;POINT (-38.62641 -3.634259)'))) / (select extract(epoch from '2026-07-21 17:08:52'::timestamp) - extract(epoch from '2026-07-21 17:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626443 -3.63425)', '2026-07-21 17:08:59', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62641 -3.634259)'), GeomFromEWKT('SRID=4674;POINT (-38.626443 -3.63425)'))) / (select extract(epoch from '2026-07-21 17:08:59'::timestamp) - extract(epoch from '2026-07-21 17:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62641 -3.634259)'), GeomFromEWKT('SRID=4674;POINT (-38.626443 -3.63425)'))) / (select extract(epoch from '2026-07-21 17:08:59'::timestamp) - extract(epoch from '2026-07-21 17:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626507 -3.634218)', '2026-07-21 17:09:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626443 -3.63425)'), GeomFromEWKT('SRID=4674;POINT (-38.626507 -3.634218)'))) / (select extract(epoch from '2026-07-21 17:09:11'::timestamp) - extract(epoch from '2026-07-21 17:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626443 -3.63425)'), GeomFromEWKT('SRID=4674;POINT (-38.626507 -3.634218)'))) / (select extract(epoch from '2026-07-21 17:09:11'::timestamp) - extract(epoch from '2026-07-21 17:08:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626554 -3.634199)', '2026-07-21 17:09:18', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626507 -3.634218)'), GeomFromEWKT('SRID=4674;POINT (-38.626554 -3.634199)'))) / (select extract(epoch from '2026-07-21 17:09:18'::timestamp) - extract(epoch from '2026-07-21 17:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626507 -3.634218)'), GeomFromEWKT('SRID=4674;POINT (-38.626554 -3.634199)'))) / (select extract(epoch from '2026-07-21 17:09:18'::timestamp) - extract(epoch from '2026-07-21 17:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626597 -3.634188)', '2026-07-21 17:09:27', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626554 -3.634199)'), GeomFromEWKT('SRID=4674;POINT (-38.626597 -3.634188)'))) / (select extract(epoch from '2026-07-21 17:09:27'::timestamp) - extract(epoch from '2026-07-21 17:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626554 -3.634199)'), GeomFromEWKT('SRID=4674;POINT (-38.626597 -3.634188)'))) / (select extract(epoch from '2026-07-21 17:09:27'::timestamp) - extract(epoch from '2026-07-21 17:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626675 -3.634172)', '2026-07-21 17:09:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626597 -3.634188)'), GeomFromEWKT('SRID=4674;POINT (-38.626675 -3.634172)'))) / (select extract(epoch from '2026-07-21 17:09:40'::timestamp) - extract(epoch from '2026-07-21 17:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626597 -3.634188)'), GeomFromEWKT('SRID=4674;POINT (-38.626675 -3.634172)'))) / (select extract(epoch from '2026-07-21 17:09:40'::timestamp) - extract(epoch from '2026-07-21 17:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626692 -3.634166)', '2026-07-21 17:09:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626675 -3.634172)'), GeomFromEWKT('SRID=4674;POINT (-38.626692 -3.634166)'))) / (select extract(epoch from '2026-07-21 17:09:43'::timestamp) - extract(epoch from '2026-07-21 17:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626675 -3.634172)'), GeomFromEWKT('SRID=4674;POINT (-38.626692 -3.634166)'))) / (select extract(epoch from '2026-07-21 17:09:43'::timestamp) - extract(epoch from '2026-07-21 17:09:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626709 -3.634162)', '2026-07-21 17:09:46', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626692 -3.634166)'), GeomFromEWKT('SRID=4674;POINT (-38.626709 -3.634162)'))) / (select extract(epoch from '2026-07-21 17:09:46'::timestamp) - extract(epoch from '2026-07-21 17:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626692 -3.634166)'), GeomFromEWKT('SRID=4674;POINT (-38.626709 -3.634162)'))) / (select extract(epoch from '2026-07-21 17:09:46'::timestamp) - extract(epoch from '2026-07-21 17:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626734 -3.634151)', '2026-07-21 17:09:54', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626709 -3.634162)'), GeomFromEWKT('SRID=4674;POINT (-38.626734 -3.634151)'))) / (select extract(epoch from '2026-07-21 17:09:54'::timestamp) - extract(epoch from '2026-07-21 17:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626709 -3.634162)'), GeomFromEWKT('SRID=4674;POINT (-38.626734 -3.634151)'))) / (select extract(epoch from '2026-07-21 17:09:54'::timestamp) - extract(epoch from '2026-07-21 17:09:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626773 -3.634135)', '2026-07-21 17:10:02', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626734 -3.634151)'), GeomFromEWKT('SRID=4674;POINT (-38.626773 -3.634135)'))) / (select extract(epoch from '2026-07-21 17:10:02'::timestamp) - extract(epoch from '2026-07-21 17:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626734 -3.634151)'), GeomFromEWKT('SRID=4674;POINT (-38.626773 -3.634135)'))) / (select extract(epoch from '2026-07-21 17:10:02'::timestamp) - extract(epoch from '2026-07-21 17:09:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626799 -3.634116)', '2026-07-21 17:10:07', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626773 -3.634135)'), GeomFromEWKT('SRID=4674;POINT (-38.626799 -3.634116)'))) / (select extract(epoch from '2026-07-21 17:10:07'::timestamp) - extract(epoch from '2026-07-21 17:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626773 -3.634135)'), GeomFromEWKT('SRID=4674;POINT (-38.626799 -3.634116)'))) / (select extract(epoch from '2026-07-21 17:10:07'::timestamp) - extract(epoch from '2026-07-21 17:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626819 -3.6341)', '2026-07-21 17:10:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626799 -3.634116)'), GeomFromEWKT('SRID=4674;POINT (-38.626819 -3.6341)'))) / (select extract(epoch from '2026-07-21 17:10:12'::timestamp) - extract(epoch from '2026-07-21 17:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626799 -3.634116)'), GeomFromEWKT('SRID=4674;POINT (-38.626819 -3.6341)'))) / (select extract(epoch from '2026-07-21 17:10:12'::timestamp) - extract(epoch from '2026-07-21 17:10:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626828 -3.634099)', '2026-07-21 17:10:13', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626819 -3.6341)'), GeomFromEWKT('SRID=4674;POINT (-38.626828 -3.634099)'))) / (select extract(epoch from '2026-07-21 17:10:13'::timestamp) - extract(epoch from '2026-07-21 17:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626819 -3.6341)'), GeomFromEWKT('SRID=4674;POINT (-38.626828 -3.634099)'))) / (select extract(epoch from '2026-07-21 17:10:13'::timestamp) - extract(epoch from '2026-07-21 17:10:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626869 -3.634081)', '2026-07-21 17:10:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626828 -3.634099)'), GeomFromEWKT('SRID=4674;POINT (-38.626869 -3.634081)'))) / (select extract(epoch from '2026-07-21 17:10:20'::timestamp) - extract(epoch from '2026-07-21 17:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626828 -3.634099)'), GeomFromEWKT('SRID=4674;POINT (-38.626869 -3.634081)'))) / (select extract(epoch from '2026-07-21 17:10:20'::timestamp) - extract(epoch from '2026-07-21 17:10:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626906 -3.634054)', '2026-07-21 17:10:28', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626869 -3.634081)'), GeomFromEWKT('SRID=4674;POINT (-38.626906 -3.634054)'))) / (select extract(epoch from '2026-07-21 17:10:28'::timestamp) - extract(epoch from '2026-07-21 17:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626869 -3.634081)'), GeomFromEWKT('SRID=4674;POINT (-38.626906 -3.634054)'))) / (select extract(epoch from '2026-07-21 17:10:28'::timestamp) - extract(epoch from '2026-07-21 17:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626935 -3.634046)', '2026-07-21 17:10:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626906 -3.634054)'), GeomFromEWKT('SRID=4674;POINT (-38.626935 -3.634046)'))) / (select extract(epoch from '2026-07-21 17:10:34'::timestamp) - extract(epoch from '2026-07-21 17:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626906 -3.634054)'), GeomFromEWKT('SRID=4674;POINT (-38.626935 -3.634046)'))) / (select extract(epoch from '2026-07-21 17:10:34'::timestamp) - extract(epoch from '2026-07-21 17:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626963 -3.634034)', '2026-07-21 17:10:40', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626935 -3.634046)'), GeomFromEWKT('SRID=4674;POINT (-38.626963 -3.634034)'))) / (select extract(epoch from '2026-07-21 17:10:40'::timestamp) - extract(epoch from '2026-07-21 17:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626935 -3.634046)'), GeomFromEWKT('SRID=4674;POINT (-38.626963 -3.634034)'))) / (select extract(epoch from '2026-07-21 17:10:40'::timestamp) - extract(epoch from '2026-07-21 17:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626987 -3.634033)', '2026-07-21 17:10:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626963 -3.634034)'), GeomFromEWKT('SRID=4674;POINT (-38.626987 -3.634033)'))) / (select extract(epoch from '2026-07-21 17:10:44'::timestamp) - extract(epoch from '2026-07-21 17:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626963 -3.634034)'), GeomFromEWKT('SRID=4674;POINT (-38.626987 -3.634033)'))) / (select extract(epoch from '2026-07-21 17:10:44'::timestamp) - extract(epoch from '2026-07-21 17:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626999 -3.634031)', '2026-07-21 17:10:46', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626987 -3.634033)'), GeomFromEWKT('SRID=4674;POINT (-38.626999 -3.634031)'))) / (select extract(epoch from '2026-07-21 17:10:46'::timestamp) - extract(epoch from '2026-07-21 17:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626987 -3.634033)'), GeomFromEWKT('SRID=4674;POINT (-38.626999 -3.634031)'))) / (select extract(epoch from '2026-07-21 17:10:46'::timestamp) - extract(epoch from '2026-07-21 17:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627026 -3.63402)', '2026-07-21 17:10:53', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626999 -3.634031)'), GeomFromEWKT('SRID=4674;POINT (-38.627026 -3.63402)'))) / (select extract(epoch from '2026-07-21 17:10:53'::timestamp) - extract(epoch from '2026-07-21 17:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626999 -3.634031)'), GeomFromEWKT('SRID=4674;POINT (-38.627026 -3.63402)'))) / (select extract(epoch from '2026-07-21 17:10:53'::timestamp) - extract(epoch from '2026-07-21 17:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627062 -3.63401)', '2026-07-21 17:11:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627026 -3.63402)'), GeomFromEWKT('SRID=4674;POINT (-38.627062 -3.63401)'))) / (select extract(epoch from '2026-07-21 17:11:00'::timestamp) - extract(epoch from '2026-07-21 17:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627026 -3.63402)'), GeomFromEWKT('SRID=4674;POINT (-38.627062 -3.63401)'))) / (select extract(epoch from '2026-07-21 17:11:00'::timestamp) - extract(epoch from '2026-07-21 17:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627089 -3.633987)', '2026-07-21 17:11:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627062 -3.63401)'), GeomFromEWKT('SRID=4674;POINT (-38.627089 -3.633987)'))) / (select extract(epoch from '2026-07-21 17:11:07'::timestamp) - extract(epoch from '2026-07-21 17:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627062 -3.63401)'), GeomFromEWKT('SRID=4674;POINT (-38.627089 -3.633987)'))) / (select extract(epoch from '2026-07-21 17:11:07'::timestamp) - extract(epoch from '2026-07-21 17:11:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627114 -3.633972)', '2026-07-21 17:11:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627089 -3.633987)'), GeomFromEWKT('SRID=4674;POINT (-38.627114 -3.633972)'))) / (select extract(epoch from '2026-07-21 17:11:14'::timestamp) - extract(epoch from '2026-07-21 17:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627089 -3.633987)'), GeomFromEWKT('SRID=4674;POINT (-38.627114 -3.633972)'))) / (select extract(epoch from '2026-07-21 17:11:14'::timestamp) - extract(epoch from '2026-07-21 17:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627154 -3.633953)', '2026-07-21 17:11:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627114 -3.633972)'), GeomFromEWKT('SRID=4674;POINT (-38.627154 -3.633953)'))) / (select extract(epoch from '2026-07-21 17:11:21'::timestamp) - extract(epoch from '2026-07-21 17:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627114 -3.633972)'), GeomFromEWKT('SRID=4674;POINT (-38.627154 -3.633953)'))) / (select extract(epoch from '2026-07-21 17:11:21'::timestamp) - extract(epoch from '2026-07-21 17:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627189 -3.633941)', '2026-07-21 17:11:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627154 -3.633953)'), GeomFromEWKT('SRID=4674;POINT (-38.627189 -3.633941)'))) / (select extract(epoch from '2026-07-21 17:11:29'::timestamp) - extract(epoch from '2026-07-21 17:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627154 -3.633953)'), GeomFromEWKT('SRID=4674;POINT (-38.627189 -3.633941)'))) / (select extract(epoch from '2026-07-21 17:11:29'::timestamp) - extract(epoch from '2026-07-21 17:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627231 -3.633914)', '2026-07-21 17:11:37', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627189 -3.633941)'), GeomFromEWKT('SRID=4674;POINT (-38.627231 -3.633914)'))) / (select extract(epoch from '2026-07-21 17:11:37'::timestamp) - extract(epoch from '2026-07-21 17:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627189 -3.633941)'), GeomFromEWKT('SRID=4674;POINT (-38.627231 -3.633914)'))) / (select extract(epoch from '2026-07-21 17:11:37'::timestamp) - extract(epoch from '2026-07-21 17:11:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627285 -3.633889)', '2026-07-21 17:11:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627231 -3.633914)'), GeomFromEWKT('SRID=4674;POINT (-38.627285 -3.633889)'))) / (select extract(epoch from '2026-07-21 17:11:46'::timestamp) - extract(epoch from '2026-07-21 17:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627231 -3.633914)'), GeomFromEWKT('SRID=4674;POINT (-38.627285 -3.633889)'))) / (select extract(epoch from '2026-07-21 17:11:46'::timestamp) - extract(epoch from '2026-07-21 17:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627321 -3.633865)', '2026-07-21 17:11:54', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627285 -3.633889)'), GeomFromEWKT('SRID=4674;POINT (-38.627321 -3.633865)'))) / (select extract(epoch from '2026-07-21 17:11:54'::timestamp) - extract(epoch from '2026-07-21 17:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627285 -3.633889)'), GeomFromEWKT('SRID=4674;POINT (-38.627321 -3.633865)'))) / (select extract(epoch from '2026-07-21 17:11:54'::timestamp) - extract(epoch from '2026-07-21 17:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627358 -3.63384)', '2026-07-21 17:12:01', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627321 -3.633865)'), GeomFromEWKT('SRID=4674;POINT (-38.627358 -3.63384)'))) / (select extract(epoch from '2026-07-21 17:12:01'::timestamp) - extract(epoch from '2026-07-21 17:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627321 -3.633865)'), GeomFromEWKT('SRID=4674;POINT (-38.627358 -3.63384)'))) / (select extract(epoch from '2026-07-21 17:12:01'::timestamp) - extract(epoch from '2026-07-21 17:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627392 -3.633833)', '2026-07-21 17:12:06', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627358 -3.63384)'), GeomFromEWKT('SRID=4674;POINT (-38.627392 -3.633833)'))) / (select extract(epoch from '2026-07-21 17:12:06'::timestamp) - extract(epoch from '2026-07-21 17:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627358 -3.63384)'), GeomFromEWKT('SRID=4674;POINT (-38.627392 -3.633833)'))) / (select extract(epoch from '2026-07-21 17:12:06'::timestamp) - extract(epoch from '2026-07-21 17:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627435 -3.633817)', '2026-07-21 17:12:13', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627392 -3.633833)'), GeomFromEWKT('SRID=4674;POINT (-38.627435 -3.633817)'))) / (select extract(epoch from '2026-07-21 17:12:13'::timestamp) - extract(epoch from '2026-07-21 17:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627392 -3.633833)'), GeomFromEWKT('SRID=4674;POINT (-38.627435 -3.633817)'))) / (select extract(epoch from '2026-07-21 17:12:13'::timestamp) - extract(epoch from '2026-07-21 17:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627471 -3.633812)', '2026-07-21 17:12:20', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627435 -3.633817)'), GeomFromEWKT('SRID=4674;POINT (-38.627471 -3.633812)'))) / (select extract(epoch from '2026-07-21 17:12:20'::timestamp) - extract(epoch from '2026-07-21 17:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627435 -3.633817)'), GeomFromEWKT('SRID=4674;POINT (-38.627471 -3.633812)'))) / (select extract(epoch from '2026-07-21 17:12:20'::timestamp) - extract(epoch from '2026-07-21 17:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627503 -3.633816)', '2026-07-21 17:12:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627471 -3.633812)'), GeomFromEWKT('SRID=4674;POINT (-38.627503 -3.633816)'))) / (select extract(epoch from '2026-07-21 17:12:25'::timestamp) - extract(epoch from '2026-07-21 17:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627471 -3.633812)'), GeomFromEWKT('SRID=4674;POINT (-38.627503 -3.633816)'))) / (select extract(epoch from '2026-07-21 17:12:25'::timestamp) - extract(epoch from '2026-07-21 17:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627531 -3.633811)', '2026-07-21 17:12:33', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627503 -3.633816)'), GeomFromEWKT('SRID=4674;POINT (-38.627531 -3.633811)'))) / (select extract(epoch from '2026-07-21 17:12:33'::timestamp) - extract(epoch from '2026-07-21 17:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627503 -3.633816)'), GeomFromEWKT('SRID=4674;POINT (-38.627531 -3.633811)'))) / (select extract(epoch from '2026-07-21 17:12:33'::timestamp) - extract(epoch from '2026-07-21 17:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627563 -3.633802)', '2026-07-21 17:12:39', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627531 -3.633811)'), GeomFromEWKT('SRID=4674;POINT (-38.627563 -3.633802)'))) / (select extract(epoch from '2026-07-21 17:12:39'::timestamp) - extract(epoch from '2026-07-21 17:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627531 -3.633811)'), GeomFromEWKT('SRID=4674;POINT (-38.627563 -3.633802)'))) / (select extract(epoch from '2026-07-21 17:12:39'::timestamp) - extract(epoch from '2026-07-21 17:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627612 -3.633791)', '2026-07-21 17:12:47', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627563 -3.633802)'), GeomFromEWKT('SRID=4674;POINT (-38.627612 -3.633791)'))) / (select extract(epoch from '2026-07-21 17:12:47'::timestamp) - extract(epoch from '2026-07-21 17:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627563 -3.633802)'), GeomFromEWKT('SRID=4674;POINT (-38.627612 -3.633791)'))) / (select extract(epoch from '2026-07-21 17:12:47'::timestamp) - extract(epoch from '2026-07-21 17:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627669 -3.633765)', '2026-07-21 17:12:57', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627612 -3.633791)'), GeomFromEWKT('SRID=4674;POINT (-38.627669 -3.633765)'))) / (select extract(epoch from '2026-07-21 17:12:57'::timestamp) - extract(epoch from '2026-07-21 17:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627612 -3.633791)'), GeomFromEWKT('SRID=4674;POINT (-38.627669 -3.633765)'))) / (select extract(epoch from '2026-07-21 17:12:57'::timestamp) - extract(epoch from '2026-07-21 17:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62771 -3.633746)', '2026-07-21 17:13:04', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627669 -3.633765)'), GeomFromEWKT('SRID=4674;POINT (-38.62771 -3.633746)'))) / (select extract(epoch from '2026-07-21 17:13:04'::timestamp) - extract(epoch from '2026-07-21 17:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627669 -3.633765)'), GeomFromEWKT('SRID=4674;POINT (-38.62771 -3.633746)'))) / (select extract(epoch from '2026-07-21 17:13:04'::timestamp) - extract(epoch from '2026-07-21 17:12:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627756 -3.633739)', '2026-07-21 17:13:12', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62771 -3.633746)'), GeomFromEWKT('SRID=4674;POINT (-38.627756 -3.633739)'))) / (select extract(epoch from '2026-07-21 17:13:12'::timestamp) - extract(epoch from '2026-07-21 17:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62771 -3.633746)'), GeomFromEWKT('SRID=4674;POINT (-38.627756 -3.633739)'))) / (select extract(epoch from '2026-07-21 17:13:12'::timestamp) - extract(epoch from '2026-07-21 17:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627785 -3.63372)', '2026-07-21 17:13:19', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627756 -3.633739)'), GeomFromEWKT('SRID=4674;POINT (-38.627785 -3.63372)'))) / (select extract(epoch from '2026-07-21 17:13:19'::timestamp) - extract(epoch from '2026-07-21 17:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627756 -3.633739)'), GeomFromEWKT('SRID=4674;POINT (-38.627785 -3.63372)'))) / (select extract(epoch from '2026-07-21 17:13:19'::timestamp) - extract(epoch from '2026-07-21 17:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627823 -3.633697)', '2026-07-21 17:13:28', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627785 -3.63372)'), GeomFromEWKT('SRID=4674;POINT (-38.627823 -3.633697)'))) / (select extract(epoch from '2026-07-21 17:13:28'::timestamp) - extract(epoch from '2026-07-21 17:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627785 -3.63372)'), GeomFromEWKT('SRID=4674;POINT (-38.627823 -3.633697)'))) / (select extract(epoch from '2026-07-21 17:13:28'::timestamp) - extract(epoch from '2026-07-21 17:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627866 -3.633674)', '2026-07-21 17:13:38', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627823 -3.633697)'), GeomFromEWKT('SRID=4674;POINT (-38.627866 -3.633674)'))) / (select extract(epoch from '2026-07-21 17:13:38'::timestamp) - extract(epoch from '2026-07-21 17:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627823 -3.633697)'), GeomFromEWKT('SRID=4674;POINT (-38.627866 -3.633674)'))) / (select extract(epoch from '2026-07-21 17:13:38'::timestamp) - extract(epoch from '2026-07-21 17:13:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627908 -3.633661)', '2026-07-21 17:13:46', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627866 -3.633674)'), GeomFromEWKT('SRID=4674;POINT (-38.627908 -3.633661)'))) / (select extract(epoch from '2026-07-21 17:13:46'::timestamp) - extract(epoch from '2026-07-21 17:13:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627866 -3.633674)'), GeomFromEWKT('SRID=4674;POINT (-38.627908 -3.633661)'))) / (select extract(epoch from '2026-07-21 17:13:46'::timestamp) - extract(epoch from '2026-07-21 17:13:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627942 -3.633642)', '2026-07-21 17:13:52', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627908 -3.633661)'), GeomFromEWKT('SRID=4674;POINT (-38.627942 -3.633642)'))) / (select extract(epoch from '2026-07-21 17:13:52'::timestamp) - extract(epoch from '2026-07-21 17:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627908 -3.633661)'), GeomFromEWKT('SRID=4674;POINT (-38.627942 -3.633642)'))) / (select extract(epoch from '2026-07-21 17:13:52'::timestamp) - extract(epoch from '2026-07-21 17:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627961 -3.633628)', '2026-07-21 17:13:58', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627942 -3.633642)'), GeomFromEWKT('SRID=4674;POINT (-38.627961 -3.633628)'))) / (select extract(epoch from '2026-07-21 17:13:58'::timestamp) - extract(epoch from '2026-07-21 17:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627942 -3.633642)'), GeomFromEWKT('SRID=4674;POINT (-38.627961 -3.633628)'))) / (select extract(epoch from '2026-07-21 17:13:58'::timestamp) - extract(epoch from '2026-07-21 17:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628002 -3.633613)', '2026-07-21 17:14:06', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627961 -3.633628)'), GeomFromEWKT('SRID=4674;POINT (-38.628002 -3.633613)'))) / (select extract(epoch from '2026-07-21 17:14:06'::timestamp) - extract(epoch from '2026-07-21 17:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627961 -3.633628)'), GeomFromEWKT('SRID=4674;POINT (-38.628002 -3.633613)'))) / (select extract(epoch from '2026-07-21 17:14:06'::timestamp) - extract(epoch from '2026-07-21 17:13:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628021 -3.633614)', '2026-07-21 17:14:08', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628002 -3.633613)'), GeomFromEWKT('SRID=4674;POINT (-38.628021 -3.633614)'))) / (select extract(epoch from '2026-07-21 17:14:08'::timestamp) - extract(epoch from '2026-07-21 17:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628002 -3.633613)'), GeomFromEWKT('SRID=4674;POINT (-38.628021 -3.633614)'))) / (select extract(epoch from '2026-07-21 17:14:08'::timestamp) - extract(epoch from '2026-07-21 17:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628041 -3.633613)', '2026-07-21 17:14:11', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628021 -3.633614)'), GeomFromEWKT('SRID=4674;POINT (-38.628041 -3.633613)'))) / (select extract(epoch from '2026-07-21 17:14:11'::timestamp) - extract(epoch from '2026-07-21 17:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628021 -3.633614)'), GeomFromEWKT('SRID=4674;POINT (-38.628041 -3.633613)'))) / (select extract(epoch from '2026-07-21 17:14:11'::timestamp) - extract(epoch from '2026-07-21 17:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628069 -3.633595)', '2026-07-21 17:14:18', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628041 -3.633613)'), GeomFromEWKT('SRID=4674;POINT (-38.628069 -3.633595)'))) / (select extract(epoch from '2026-07-21 17:14:18'::timestamp) - extract(epoch from '2026-07-21 17:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628041 -3.633613)'), GeomFromEWKT('SRID=4674;POINT (-38.628069 -3.633595)'))) / (select extract(epoch from '2026-07-21 17:14:18'::timestamp) - extract(epoch from '2026-07-21 17:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628106 -3.633575)', '2026-07-21 17:14:26', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628069 -3.633595)'), GeomFromEWKT('SRID=4674;POINT (-38.628106 -3.633575)'))) / (select extract(epoch from '2026-07-21 17:14:26'::timestamp) - extract(epoch from '2026-07-21 17:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628069 -3.633595)'), GeomFromEWKT('SRID=4674;POINT (-38.628106 -3.633575)'))) / (select extract(epoch from '2026-07-21 17:14:26'::timestamp) - extract(epoch from '2026-07-21 17:14:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628147 -3.633569)', '2026-07-21 17:14:33', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628106 -3.633575)'), GeomFromEWKT('SRID=4674;POINT (-38.628147 -3.633569)'))) / (select extract(epoch from '2026-07-21 17:14:33'::timestamp) - extract(epoch from '2026-07-21 17:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628106 -3.633575)'), GeomFromEWKT('SRID=4674;POINT (-38.628147 -3.633569)'))) / (select extract(epoch from '2026-07-21 17:14:33'::timestamp) - extract(epoch from '2026-07-21 17:14:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628175 -3.63356)', '2026-07-21 17:14:40', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628147 -3.633569)'), GeomFromEWKT('SRID=4674;POINT (-38.628175 -3.63356)'))) / (select extract(epoch from '2026-07-21 17:14:40'::timestamp) - extract(epoch from '2026-07-21 17:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628147 -3.633569)'), GeomFromEWKT('SRID=4674;POINT (-38.628175 -3.63356)'))) / (select extract(epoch from '2026-07-21 17:14:40'::timestamp) - extract(epoch from '2026-07-21 17:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628217 -3.633551)', '2026-07-21 17:14:47', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628175 -3.63356)'), GeomFromEWKT('SRID=4674;POINT (-38.628217 -3.633551)'))) / (select extract(epoch from '2026-07-21 17:14:47'::timestamp) - extract(epoch from '2026-07-21 17:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628175 -3.63356)'), GeomFromEWKT('SRID=4674;POINT (-38.628217 -3.633551)'))) / (select extract(epoch from '2026-07-21 17:14:47'::timestamp) - extract(epoch from '2026-07-21 17:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628251 -3.633545)', '2026-07-21 17:14:53', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628217 -3.633551)'), GeomFromEWKT('SRID=4674;POINT (-38.628251 -3.633545)'))) / (select extract(epoch from '2026-07-21 17:14:53'::timestamp) - extract(epoch from '2026-07-21 17:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628217 -3.633551)'), GeomFromEWKT('SRID=4674;POINT (-38.628251 -3.633545)'))) / (select extract(epoch from '2026-07-21 17:14:53'::timestamp) - extract(epoch from '2026-07-21 17:14:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628284 -3.633541)', '2026-07-21 17:14:59', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628251 -3.633545)'), GeomFromEWKT('SRID=4674;POINT (-38.628284 -3.633541)'))) / (select extract(epoch from '2026-07-21 17:14:59'::timestamp) - extract(epoch from '2026-07-21 17:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628251 -3.633545)'), GeomFromEWKT('SRID=4674;POINT (-38.628284 -3.633541)'))) / (select extract(epoch from '2026-07-21 17:14:59'::timestamp) - extract(epoch from '2026-07-21 17:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628322 -3.633519)', '2026-07-21 17:15:08', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628284 -3.633541)'), GeomFromEWKT('SRID=4674;POINT (-38.628322 -3.633519)'))) / (select extract(epoch from '2026-07-21 17:15:08'::timestamp) - extract(epoch from '2026-07-21 17:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628284 -3.633541)'), GeomFromEWKT('SRID=4674;POINT (-38.628322 -3.633519)'))) / (select extract(epoch from '2026-07-21 17:15:08'::timestamp) - extract(epoch from '2026-07-21 17:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628341 -3.63351)', '2026-07-21 17:15:11', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628322 -3.633519)'), GeomFromEWKT('SRID=4674;POINT (-38.628341 -3.63351)'))) / (select extract(epoch from '2026-07-21 17:15:11'::timestamp) - extract(epoch from '2026-07-21 17:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628322 -3.633519)'), GeomFromEWKT('SRID=4674;POINT (-38.628341 -3.63351)'))) / (select extract(epoch from '2026-07-21 17:15:11'::timestamp) - extract(epoch from '2026-07-21 17:15:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628347 -3.6335)', '2026-07-21 17:15:13', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628341 -3.63351)'), GeomFromEWKT('SRID=4674;POINT (-38.628347 -3.6335)'))) / (select extract(epoch from '2026-07-21 17:15:13'::timestamp) - extract(epoch from '2026-07-21 17:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628341 -3.63351)'), GeomFromEWKT('SRID=4674;POINT (-38.628347 -3.6335)'))) / (select extract(epoch from '2026-07-21 17:15:13'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628379 -3.633484)', '2026-07-21 17:15:18', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628347 -3.6335)'), GeomFromEWKT('SRID=4674;POINT (-38.628379 -3.633484)'))) / (select extract(epoch from '2026-07-21 17:15:18'::timestamp) - extract(epoch from '2026-07-21 17:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628347 -3.6335)'), GeomFromEWKT('SRID=4674;POINT (-38.628379 -3.633484)'))) / (select extract(epoch from '2026-07-21 17:15:18'::timestamp) - extract(epoch from '2026-07-21 17:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628387 -3.633482)', '2026-07-21 17:15:21', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628379 -3.633484)'), GeomFromEWKT('SRID=4674;POINT (-38.628387 -3.633482)'))) / (select extract(epoch from '2026-07-21 17:15:21'::timestamp) - extract(epoch from '2026-07-21 17:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628379 -3.633484)'), GeomFromEWKT('SRID=4674;POINT (-38.628387 -3.633482)'))) / (select extract(epoch from '2026-07-21 17:15:21'::timestamp) - extract(epoch from '2026-07-21 17:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628401 -3.633475)', '2026-07-21 17:15:23', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628387 -3.633482)'), GeomFromEWKT('SRID=4674;POINT (-38.628401 -3.633475)'))) / (select extract(epoch from '2026-07-21 17:15:23'::timestamp) - extract(epoch from '2026-07-21 17:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628387 -3.633482)'), GeomFromEWKT('SRID=4674;POINT (-38.628401 -3.633475)'))) / (select extract(epoch from '2026-07-21 17:15:23'::timestamp) - extract(epoch from '2026-07-21 17:15:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62843 -3.633451)', '2026-07-21 17:15:31', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628401 -3.633475)'), GeomFromEWKT('SRID=4674;POINT (-38.62843 -3.633451)'))) / (select extract(epoch from '2026-07-21 17:15:31'::timestamp) - extract(epoch from '2026-07-21 17:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628401 -3.633475)'), GeomFromEWKT('SRID=4674;POINT (-38.62843 -3.633451)'))) / (select extract(epoch from '2026-07-21 17:15:31'::timestamp) - extract(epoch from '2026-07-21 17:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628458 -3.633436)', '2026-07-21 17:15:37', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62843 -3.633451)'), GeomFromEWKT('SRID=4674;POINT (-38.628458 -3.633436)'))) / (select extract(epoch from '2026-07-21 17:15:37'::timestamp) - extract(epoch from '2026-07-21 17:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62843 -3.633451)'), GeomFromEWKT('SRID=4674;POINT (-38.628458 -3.633436)'))) / (select extract(epoch from '2026-07-21 17:15:37'::timestamp) - extract(epoch from '2026-07-21 17:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628467 -3.633436)', '2026-07-21 17:15:38', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628458 -3.633436)'), GeomFromEWKT('SRID=4674;POINT (-38.628467 -3.633436)'))) / (select extract(epoch from '2026-07-21 17:15:38'::timestamp) - extract(epoch from '2026-07-21 17:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628458 -3.633436)'), GeomFromEWKT('SRID=4674;POINT (-38.628467 -3.633436)'))) / (select extract(epoch from '2026-07-21 17:15:38'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628485 -3.633428)', '2026-07-21 17:15:41', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628467 -3.633436)'), GeomFromEWKT('SRID=4674;POINT (-38.628485 -3.633428)'))) / (select extract(epoch from '2026-07-21 17:15:41'::timestamp) - extract(epoch from '2026-07-21 17:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628467 -3.633436)'), GeomFromEWKT('SRID=4674;POINT (-38.628485 -3.633428)'))) / (select extract(epoch from '2026-07-21 17:15:41'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628519 -3.633408)', '2026-07-21 17:15:48', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628485 -3.633428)'), GeomFromEWKT('SRID=4674;POINT (-38.628519 -3.633408)'))) / (select extract(epoch from '2026-07-21 17:15:48'::timestamp) - extract(epoch from '2026-07-21 17:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628485 -3.633428)'), GeomFromEWKT('SRID=4674;POINT (-38.628519 -3.633408)'))) / (select extract(epoch from '2026-07-21 17:15:48'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628539 -3.633389)', '2026-07-21 17:15:53', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628519 -3.633408)'), GeomFromEWKT('SRID=4674;POINT (-38.628539 -3.633389)'))) / (select extract(epoch from '2026-07-21 17:15:53'::timestamp) - extract(epoch from '2026-07-21 17:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628519 -3.633408)'), GeomFromEWKT('SRID=4674;POINT (-38.628539 -3.633389)'))) / (select extract(epoch from '2026-07-21 17:15:53'::timestamp) - extract(epoch from '2026-07-21 17:15:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628576 -3.633364)', '2026-07-21 17:16:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628539 -3.633389)'), GeomFromEWKT('SRID=4674;POINT (-38.628576 -3.633364)'))) / (select extract(epoch from '2026-07-21 17:16:01'::timestamp) - extract(epoch from '2026-07-21 17:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628539 -3.633389)'), GeomFromEWKT('SRID=4674;POINT (-38.628576 -3.633364)'))) / (select extract(epoch from '2026-07-21 17:16:01'::timestamp) - extract(epoch from '2026-07-21 17:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628618 -3.633351)', '2026-07-21 17:16:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628576 -3.633364)'), GeomFromEWKT('SRID=4674;POINT (-38.628618 -3.633351)'))) / (select extract(epoch from '2026-07-21 17:16:09'::timestamp) - extract(epoch from '2026-07-21 17:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628576 -3.633364)'), GeomFromEWKT('SRID=4674;POINT (-38.628618 -3.633351)'))) / (select extract(epoch from '2026-07-21 17:16:09'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628645 -3.633342)', '2026-07-21 17:16:15', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628618 -3.633351)'), GeomFromEWKT('SRID=4674;POINT (-38.628645 -3.633342)'))) / (select extract(epoch from '2026-07-21 17:16:15'::timestamp) - extract(epoch from '2026-07-21 17:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628618 -3.633351)'), GeomFromEWKT('SRID=4674;POINT (-38.628645 -3.633342)'))) / (select extract(epoch from '2026-07-21 17:16:15'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628682 -3.633337)', '2026-07-21 17:16:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628645 -3.633342)'), GeomFromEWKT('SRID=4674;POINT (-38.628682 -3.633337)'))) / (select extract(epoch from '2026-07-21 17:16:22'::timestamp) - extract(epoch from '2026-07-21 17:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628645 -3.633342)'), GeomFromEWKT('SRID=4674;POINT (-38.628682 -3.633337)'))) / (select extract(epoch from '2026-07-21 17:16:22'::timestamp) - extract(epoch from '2026-07-21 17:16:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628716 -3.633328)', '2026-07-21 17:16:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628682 -3.633337)'), GeomFromEWKT('SRID=4674;POINT (-38.628716 -3.633328)'))) / (select extract(epoch from '2026-07-21 17:16:29'::timestamp) - extract(epoch from '2026-07-21 17:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628682 -3.633337)'), GeomFromEWKT('SRID=4674;POINT (-38.628716 -3.633328)'))) / (select extract(epoch from '2026-07-21 17:16:29'::timestamp) - extract(epoch from '2026-07-21 17:16:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628752 -3.63331)', '2026-07-21 17:16:38', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628716 -3.633328)'), GeomFromEWKT('SRID=4674;POINT (-38.628752 -3.63331)'))) / (select extract(epoch from '2026-07-21 17:16:38'::timestamp) - extract(epoch from '2026-07-21 17:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628716 -3.633328)'), GeomFromEWKT('SRID=4674;POINT (-38.628752 -3.63331)'))) / (select extract(epoch from '2026-07-21 17:16:38'::timestamp) - extract(epoch from '2026-07-21 17:16:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62878 -3.633302)', '2026-07-21 17:16:42', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628752 -3.63331)'), GeomFromEWKT('SRID=4674;POINT (-38.62878 -3.633302)'))) / (select extract(epoch from '2026-07-21 17:16:42'::timestamp) - extract(epoch from '2026-07-21 17:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628752 -3.63331)'), GeomFromEWKT('SRID=4674;POINT (-38.62878 -3.633302)'))) / (select extract(epoch from '2026-07-21 17:16:42'::timestamp) - extract(epoch from '2026-07-21 17:16:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628819 -3.633287)', '2026-07-21 17:16:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62878 -3.633302)'), GeomFromEWKT('SRID=4674;POINT (-38.628819 -3.633287)'))) / (select extract(epoch from '2026-07-21 17:16:49'::timestamp) - extract(epoch from '2026-07-21 17:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62878 -3.633302)'), GeomFromEWKT('SRID=4674;POINT (-38.628819 -3.633287)'))) / (select extract(epoch from '2026-07-21 17:16:49'::timestamp) - extract(epoch from '2026-07-21 17:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628858 -3.633284)', '2026-07-21 17:16:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628819 -3.633287)'), GeomFromEWKT('SRID=4674;POINT (-38.628858 -3.633284)'))) / (select extract(epoch from '2026-07-21 17:16:57'::timestamp) - extract(epoch from '2026-07-21 17:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628819 -3.633287)'), GeomFromEWKT('SRID=4674;POINT (-38.628858 -3.633284)'))) / (select extract(epoch from '2026-07-21 17:16:57'::timestamp) - extract(epoch from '2026-07-21 17:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628901 -3.633272)', '2026-07-21 17:17:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628858 -3.633284)'), GeomFromEWKT('SRID=4674;POINT (-38.628901 -3.633272)'))) / (select extract(epoch from '2026-07-21 17:17:06'::timestamp) - extract(epoch from '2026-07-21 17:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628858 -3.633284)'), GeomFromEWKT('SRID=4674;POINT (-38.628901 -3.633272)'))) / (select extract(epoch from '2026-07-21 17:17:06'::timestamp) - extract(epoch from '2026-07-21 17:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628952 -3.633256)', '2026-07-21 17:17:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628901 -3.633272)'), GeomFromEWKT('SRID=4674;POINT (-38.628952 -3.633256)'))) / (select extract(epoch from '2026-07-21 17:17:15'::timestamp) - extract(epoch from '2026-07-21 17:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628901 -3.633272)'), GeomFromEWKT('SRID=4674;POINT (-38.628952 -3.633256)'))) / (select extract(epoch from '2026-07-21 17:17:15'::timestamp) - extract(epoch from '2026-07-21 17:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628991 -3.633253)', '2026-07-21 17:17:22', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628952 -3.633256)'), GeomFromEWKT('SRID=4674;POINT (-38.628991 -3.633253)'))) / (select extract(epoch from '2026-07-21 17:17:22'::timestamp) - extract(epoch from '2026-07-21 17:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628952 -3.633256)'), GeomFromEWKT('SRID=4674;POINT (-38.628991 -3.633253)'))) / (select extract(epoch from '2026-07-21 17:17:22'::timestamp) - extract(epoch from '2026-07-21 17:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629017 -3.633246)', '2026-07-21 17:17:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628991 -3.633253)'), GeomFromEWKT('SRID=4674;POINT (-38.629017 -3.633246)'))) / (select extract(epoch from '2026-07-21 17:17:28'::timestamp) - extract(epoch from '2026-07-21 17:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628991 -3.633253)'), GeomFromEWKT('SRID=4674;POINT (-38.629017 -3.633246)'))) / (select extract(epoch from '2026-07-21 17:17:28'::timestamp) - extract(epoch from '2026-07-21 17:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629052 -3.633247)', '2026-07-21 17:17:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629017 -3.633246)'), GeomFromEWKT('SRID=4674;POINT (-38.629052 -3.633247)'))) / (select extract(epoch from '2026-07-21 17:17:34'::timestamp) - extract(epoch from '2026-07-21 17:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629017 -3.633246)'), GeomFromEWKT('SRID=4674;POINT (-38.629052 -3.633247)'))) / (select extract(epoch from '2026-07-21 17:17:34'::timestamp) - extract(epoch from '2026-07-21 17:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629066 -3.633245)', '2026-07-21 17:17:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629052 -3.633247)'), GeomFromEWKT('SRID=4674;POINT (-38.629066 -3.633245)'))) / (select extract(epoch from '2026-07-21 17:17:36'::timestamp) - extract(epoch from '2026-07-21 17:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629052 -3.633247)'), GeomFromEWKT('SRID=4674;POINT (-38.629066 -3.633245)'))) / (select extract(epoch from '2026-07-21 17:17:36'::timestamp) - extract(epoch from '2026-07-21 17:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629089 -3.633247)', '2026-07-21 17:17:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629066 -3.633245)'), GeomFromEWKT('SRID=4674;POINT (-38.629089 -3.633247)'))) / (select extract(epoch from '2026-07-21 17:17:38'::timestamp) - extract(epoch from '2026-07-21 17:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629066 -3.633245)'), GeomFromEWKT('SRID=4674;POINT (-38.629089 -3.633247)'))) / (select extract(epoch from '2026-07-21 17:17:38'::timestamp) - extract(epoch from '2026-07-21 17:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62912 -3.633241)', '2026-07-21 17:17:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629089 -3.633247)'), GeomFromEWKT('SRID=4674;POINT (-38.62912 -3.633241)'))) / (select extract(epoch from '2026-07-21 17:17:45'::timestamp) - extract(epoch from '2026-07-21 17:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629089 -3.633247)'), GeomFromEWKT('SRID=4674;POINT (-38.62912 -3.633241)'))) / (select extract(epoch from '2026-07-21 17:17:45'::timestamp) - extract(epoch from '2026-07-21 17:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629162 -3.633233)', '2026-07-21 17:17:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62912 -3.633241)'), GeomFromEWKT('SRID=4674;POINT (-38.629162 -3.633233)'))) / (select extract(epoch from '2026-07-21 17:17:52'::timestamp) - extract(epoch from '2026-07-21 17:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62912 -3.633241)'), GeomFromEWKT('SRID=4674;POINT (-38.629162 -3.633233)'))) / (select extract(epoch from '2026-07-21 17:17:52'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629195 -3.633226)', '2026-07-21 17:17:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629162 -3.633233)'), GeomFromEWKT('SRID=4674;POINT (-38.629195 -3.633226)'))) / (select extract(epoch from '2026-07-21 17:17:58'::timestamp) - extract(epoch from '2026-07-21 17:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629162 -3.633233)'), GeomFromEWKT('SRID=4674;POINT (-38.629195 -3.633226)'))) / (select extract(epoch from '2026-07-21 17:17:58'::timestamp) - extract(epoch from '2026-07-21 17:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629234 -3.633222)', '2026-07-21 17:18:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629195 -3.633226)'), GeomFromEWKT('SRID=4674;POINT (-38.629234 -3.633222)'))) / (select extract(epoch from '2026-07-21 17:18:04'::timestamp) - extract(epoch from '2026-07-21 17:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629195 -3.633226)'), GeomFromEWKT('SRID=4674;POINT (-38.629234 -3.633222)'))) / (select extract(epoch from '2026-07-21 17:18:04'::timestamp) - extract(epoch from '2026-07-21 17:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629267 -3.633222)', '2026-07-21 17:18:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629234 -3.633222)'), GeomFromEWKT('SRID=4674;POINT (-38.629267 -3.633222)'))) / (select extract(epoch from '2026-07-21 17:18:09'::timestamp) - extract(epoch from '2026-07-21 17:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629234 -3.633222)'), GeomFromEWKT('SRID=4674;POINT (-38.629267 -3.633222)'))) / (select extract(epoch from '2026-07-21 17:18:09'::timestamp) - extract(epoch from '2026-07-21 17:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629301 -3.633218)', '2026-07-21 17:18:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629267 -3.633222)'), GeomFromEWKT('SRID=4674;POINT (-38.629301 -3.633218)'))) / (select extract(epoch from '2026-07-21 17:18:15'::timestamp) - extract(epoch from '2026-07-21 17:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629267 -3.633222)'), GeomFromEWKT('SRID=4674;POINT (-38.629301 -3.633218)'))) / (select extract(epoch from '2026-07-21 17:18:15'::timestamp) - extract(epoch from '2026-07-21 17:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629337 -3.633212)', '2026-07-21 17:18:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629301 -3.633218)'), GeomFromEWKT('SRID=4674;POINT (-38.629337 -3.633212)'))) / (select extract(epoch from '2026-07-21 17:18:21'::timestamp) - extract(epoch from '2026-07-21 17:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629301 -3.633218)'), GeomFromEWKT('SRID=4674;POINT (-38.629337 -3.633212)'))) / (select extract(epoch from '2026-07-21 17:18:21'::timestamp) - extract(epoch from '2026-07-21 17:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629365 -3.63321)', '2026-07-21 17:18:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629337 -3.633212)'), GeomFromEWKT('SRID=4674;POINT (-38.629365 -3.63321)'))) / (select extract(epoch from '2026-07-21 17:18:26'::timestamp) - extract(epoch from '2026-07-21 17:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629337 -3.633212)'), GeomFromEWKT('SRID=4674;POINT (-38.629365 -3.63321)'))) / (select extract(epoch from '2026-07-21 17:18:26'::timestamp) - extract(epoch from '2026-07-21 17:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629399 -3.633203)', '2026-07-21 17:18:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629365 -3.63321)'), GeomFromEWKT('SRID=4674;POINT (-38.629399 -3.633203)'))) / (select extract(epoch from '2026-07-21 17:18:32'::timestamp) - extract(epoch from '2026-07-21 17:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629365 -3.63321)'), GeomFromEWKT('SRID=4674;POINT (-38.629399 -3.633203)'))) / (select extract(epoch from '2026-07-21 17:18:32'::timestamp) - extract(epoch from '2026-07-21 17:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629433 -3.633187)', '2026-07-21 17:18:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629399 -3.633203)'), GeomFromEWKT('SRID=4674;POINT (-38.629433 -3.633187)'))) / (select extract(epoch from '2026-07-21 17:18:39'::timestamp) - extract(epoch from '2026-07-21 17:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629399 -3.633203)'), GeomFromEWKT('SRID=4674;POINT (-38.629433 -3.633187)'))) / (select extract(epoch from '2026-07-21 17:18:39'::timestamp) - extract(epoch from '2026-07-21 17:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629478 -3.633176)', '2026-07-21 17:18:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629433 -3.633187)'), GeomFromEWKT('SRID=4674;POINT (-38.629478 -3.633176)'))) / (select extract(epoch from '2026-07-21 17:18:46'::timestamp) - extract(epoch from '2026-07-21 17:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629433 -3.633187)'), GeomFromEWKT('SRID=4674;POINT (-38.629478 -3.633176)'))) / (select extract(epoch from '2026-07-21 17:18:46'::timestamp) - extract(epoch from '2026-07-21 17:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629511 -3.633165)', '2026-07-21 17:18:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629478 -3.633176)'), GeomFromEWKT('SRID=4674;POINT (-38.629511 -3.633165)'))) / (select extract(epoch from '2026-07-21 17:18:52'::timestamp) - extract(epoch from '2026-07-21 17:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629478 -3.633176)'), GeomFromEWKT('SRID=4674;POINT (-38.629511 -3.633165)'))) / (select extract(epoch from '2026-07-21 17:18:52'::timestamp) - extract(epoch from '2026-07-21 17:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629563 -3.633141)', '2026-07-21 17:18:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629511 -3.633165)'), GeomFromEWKT('SRID=4674;POINT (-38.629563 -3.633141)'))) / (select extract(epoch from '2026-07-21 17:18:59'::timestamp) - extract(epoch from '2026-07-21 17:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629511 -3.633165)'), GeomFromEWKT('SRID=4674;POINT (-38.629563 -3.633141)'))) / (select extract(epoch from '2026-07-21 17:18:59'::timestamp) - extract(epoch from '2026-07-21 17:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629561 -3.633107)', '2026-07-21 17:19:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629563 -3.633141)'), GeomFromEWKT('SRID=4674;POINT (-38.629561 -3.633107)'))) / (select extract(epoch from '2026-07-21 17:19:02'::timestamp) - extract(epoch from '2026-07-21 17:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629563 -3.633141)'), GeomFromEWKT('SRID=4674;POINT (-38.629561 -3.633107)'))) / (select extract(epoch from '2026-07-21 17:19:02'::timestamp) - extract(epoch from '2026-07-21 17:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629568 -3.633097)', '2026-07-21 17:19:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629561 -3.633107)'), GeomFromEWKT('SRID=4674;POINT (-38.629568 -3.633097)'))) / (select extract(epoch from '2026-07-21 17:19:03'::timestamp) - extract(epoch from '2026-07-21 17:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629561 -3.633107)'), GeomFromEWKT('SRID=4674;POINT (-38.629568 -3.633097)'))) / (select extract(epoch from '2026-07-21 17:19:03'::timestamp) - extract(epoch from '2026-07-21 17:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629569 -3.633081)', '2026-07-21 17:19:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629568 -3.633097)'), GeomFromEWKT('SRID=4674;POINT (-38.629569 -3.633081)'))) / (select extract(epoch from '2026-07-21 17:19:04'::timestamp) - extract(epoch from '2026-07-21 17:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629568 -3.633097)'), GeomFromEWKT('SRID=4674;POINT (-38.629569 -3.633081)'))) / (select extract(epoch from '2026-07-21 17:19:04'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629546 -3.633045)', '2026-07-21 17:19:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629569 -3.633081)'), GeomFromEWKT('SRID=4674;POINT (-38.629546 -3.633045)'))) / (select extract(epoch from '2026-07-21 17:19:07'::timestamp) - extract(epoch from '2026-07-21 17:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629569 -3.633081)'), GeomFromEWKT('SRID=4674;POINT (-38.629546 -3.633045)'))) / (select extract(epoch from '2026-07-21 17:19:07'::timestamp) - extract(epoch from '2026-07-21 17:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629504 -3.633017)', '2026-07-21 17:19:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629546 -3.633045)'), GeomFromEWKT('SRID=4674;POINT (-38.629504 -3.633017)'))) / (select extract(epoch from '2026-07-21 17:19:13'::timestamp) - extract(epoch from '2026-07-21 17:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629546 -3.633045)'), GeomFromEWKT('SRID=4674;POINT (-38.629504 -3.633017)'))) / (select extract(epoch from '2026-07-21 17:19:13'::timestamp) - extract(epoch from '2026-07-21 17:19:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629445 -3.633014)', '2026-07-21 17:19:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629504 -3.633017)'), GeomFromEWKT('SRID=4674;POINT (-38.629445 -3.633014)'))) / (select extract(epoch from '2026-07-21 17:19:17'::timestamp) - extract(epoch from '2026-07-21 17:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629504 -3.633017)'), GeomFromEWKT('SRID=4674;POINT (-38.629445 -3.633014)'))) / (select extract(epoch from '2026-07-21 17:19:17'::timestamp) - extract(epoch from '2026-07-21 17:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629405 -3.633008)', '2026-07-21 17:19:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629445 -3.633014)'), GeomFromEWKT('SRID=4674;POINT (-38.629405 -3.633008)'))) / (select extract(epoch from '2026-07-21 17:19:20'::timestamp) - extract(epoch from '2026-07-21 17:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629445 -3.633014)'), GeomFromEWKT('SRID=4674;POINT (-38.629405 -3.633008)'))) / (select extract(epoch from '2026-07-21 17:19:20'::timestamp) - extract(epoch from '2026-07-21 17:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629388 -3.632999)', '2026-07-21 17:19:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629405 -3.633008)'), GeomFromEWKT('SRID=4674;POINT (-38.629388 -3.632999)'))) / (select extract(epoch from '2026-07-21 17:19:22'::timestamp) - extract(epoch from '2026-07-21 17:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629405 -3.633008)'), GeomFromEWKT('SRID=4674;POINT (-38.629388 -3.632999)'))) / (select extract(epoch from '2026-07-21 17:19:22'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629375 -3.632998)', '2026-07-21 17:19:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629388 -3.632999)'), GeomFromEWKT('SRID=4674;POINT (-38.629375 -3.632998)'))) / (select extract(epoch from '2026-07-21 17:19:23'::timestamp) - extract(epoch from '2026-07-21 17:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629388 -3.632999)'), GeomFromEWKT('SRID=4674;POINT (-38.629375 -3.632998)'))) / (select extract(epoch from '2026-07-21 17:19:23'::timestamp) - extract(epoch from '2026-07-21 17:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629357 -3.632992)', '2026-07-21 17:19:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629375 -3.632998)'), GeomFromEWKT('SRID=4674;POINT (-38.629357 -3.632992)'))) / (select extract(epoch from '2026-07-21 17:19:25'::timestamp) - extract(epoch from '2026-07-21 17:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629375 -3.632998)'), GeomFromEWKT('SRID=4674;POINT (-38.629357 -3.632992)'))) / (select extract(epoch from '2026-07-21 17:19:25'::timestamp) - extract(epoch from '2026-07-21 17:19:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629329 -3.632985)', '2026-07-21 17:19:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629357 -3.632992)'), GeomFromEWKT('SRID=4674;POINT (-38.629329 -3.632985)'))) / (select extract(epoch from '2026-07-21 17:19:27'::timestamp) - extract(epoch from '2026-07-21 17:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629357 -3.632992)'), GeomFromEWKT('SRID=4674;POINT (-38.629329 -3.632985)'))) / (select extract(epoch from '2026-07-21 17:19:27'::timestamp) - extract(epoch from '2026-07-21 17:19:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629237 -3.632957)', '2026-07-21 17:19:34', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629329 -3.632985)'), GeomFromEWKT('SRID=4674;POINT (-38.629237 -3.632957)'))) / (select extract(epoch from '2026-07-21 17:19:34'::timestamp) - extract(epoch from '2026-07-21 17:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629329 -3.632985)'), GeomFromEWKT('SRID=4674;POINT (-38.629237 -3.632957)'))) / (select extract(epoch from '2026-07-21 17:19:34'::timestamp) - extract(epoch from '2026-07-21 17:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629201 -3.632938)', '2026-07-21 17:19:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629237 -3.632957)'), GeomFromEWKT('SRID=4674;POINT (-38.629201 -3.632938)'))) / (select extract(epoch from '2026-07-21 17:19:37'::timestamp) - extract(epoch from '2026-07-21 17:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629237 -3.632957)'), GeomFromEWKT('SRID=4674;POINT (-38.629201 -3.632938)'))) / (select extract(epoch from '2026-07-21 17:19:37'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629171 -3.632925)', '2026-07-21 17:19:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629201 -3.632938)'), GeomFromEWKT('SRID=4674;POINT (-38.629171 -3.632925)'))) / (select extract(epoch from '2026-07-21 17:19:39'::timestamp) - extract(epoch from '2026-07-21 17:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629201 -3.632938)'), GeomFromEWKT('SRID=4674;POINT (-38.629171 -3.632925)'))) / (select extract(epoch from '2026-07-21 17:19:39'::timestamp) - extract(epoch from '2026-07-21 17:19:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629115 -3.632907)', '2026-07-21 17:19:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629171 -3.632925)'), GeomFromEWKT('SRID=4674;POINT (-38.629115 -3.632907)'))) / (select extract(epoch from '2026-07-21 17:19:44'::timestamp) - extract(epoch from '2026-07-21 17:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629171 -3.632925)'), GeomFromEWKT('SRID=4674;POINT (-38.629115 -3.632907)'))) / (select extract(epoch from '2026-07-21 17:19:44'::timestamp) - extract(epoch from '2026-07-21 17:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629034 -3.632887)', '2026-07-21 17:19:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629115 -3.632907)'), GeomFromEWKT('SRID=4674;POINT (-38.629034 -3.632887)'))) / (select extract(epoch from '2026-07-21 17:19:50'::timestamp) - extract(epoch from '2026-07-21 17:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629115 -3.632907)'), GeomFromEWKT('SRID=4674;POINT (-38.629034 -3.632887)'))) / (select extract(epoch from '2026-07-21 17:19:50'::timestamp) - extract(epoch from '2026-07-21 17:19:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628955 -3.632867)', '2026-07-21 17:19:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629034 -3.632887)'), GeomFromEWKT('SRID=4674;POINT (-38.628955 -3.632867)'))) / (select extract(epoch from '2026-07-21 17:19:55'::timestamp) - extract(epoch from '2026-07-21 17:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629034 -3.632887)'), GeomFromEWKT('SRID=4674;POINT (-38.628955 -3.632867)'))) / (select extract(epoch from '2026-07-21 17:19:55'::timestamp) - extract(epoch from '2026-07-21 17:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628907 -3.632855)', '2026-07-21 17:19:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628955 -3.632867)'), GeomFromEWKT('SRID=4674;POINT (-38.628907 -3.632855)'))) / (select extract(epoch from '2026-07-21 17:19:59'::timestamp) - extract(epoch from '2026-07-21 17:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628955 -3.632867)'), GeomFromEWKT('SRID=4674;POINT (-38.628907 -3.632855)'))) / (select extract(epoch from '2026-07-21 17:19:59'::timestamp) - extract(epoch from '2026-07-21 17:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628831 -3.632834)', '2026-07-21 17:20:05', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628907 -3.632855)'), GeomFromEWKT('SRID=4674;POINT (-38.628831 -3.632834)'))) / (select extract(epoch from '2026-07-21 17:20:05'::timestamp) - extract(epoch from '2026-07-21 17:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628907 -3.632855)'), GeomFromEWKT('SRID=4674;POINT (-38.628831 -3.632834)'))) / (select extract(epoch from '2026-07-21 17:20:05'::timestamp) - extract(epoch from '2026-07-21 17:19:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628815 -3.632824)', '2026-07-21 17:20:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628831 -3.632834)'), GeomFromEWKT('SRID=4674;POINT (-38.628815 -3.632824)'))) / (select extract(epoch from '2026-07-21 17:20:07'::timestamp) - extract(epoch from '2026-07-21 17:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628831 -3.632834)'), GeomFromEWKT('SRID=4674;POINT (-38.628815 -3.632824)'))) / (select extract(epoch from '2026-07-21 17:20:07'::timestamp) - extract(epoch from '2026-07-21 17:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62878 -3.632816)', '2026-07-21 17:20:10', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628815 -3.632824)'), GeomFromEWKT('SRID=4674;POINT (-38.62878 -3.632816)'))) / (select extract(epoch from '2026-07-21 17:20:10'::timestamp) - extract(epoch from '2026-07-21 17:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628815 -3.632824)'), GeomFromEWKT('SRID=4674;POINT (-38.62878 -3.632816)'))) / (select extract(epoch from '2026-07-21 17:20:10'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628729 -3.632809)', '2026-07-21 17:20:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62878 -3.632816)'), GeomFromEWKT('SRID=4674;POINT (-38.628729 -3.632809)'))) / (select extract(epoch from '2026-07-21 17:20:15'::timestamp) - extract(epoch from '2026-07-21 17:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62878 -3.632816)'), GeomFromEWKT('SRID=4674;POINT (-38.628729 -3.632809)'))) / (select extract(epoch from '2026-07-21 17:20:15'::timestamp) - extract(epoch from '2026-07-21 17:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628636 -3.632822)', '2026-07-21 17:20:22', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628729 -3.632809)'), GeomFromEWKT('SRID=4674;POINT (-38.628636 -3.632822)'))) / (select extract(epoch from '2026-07-21 17:20:22'::timestamp) - extract(epoch from '2026-07-21 17:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628729 -3.632809)'), GeomFromEWKT('SRID=4674;POINT (-38.628636 -3.632822)'))) / (select extract(epoch from '2026-07-21 17:20:22'::timestamp) - extract(epoch from '2026-07-21 17:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628512 -3.632825)', '2026-07-21 17:20:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628636 -3.632822)'), GeomFromEWKT('SRID=4674;POINT (-38.628512 -3.632825)'))) / (select extract(epoch from '2026-07-21 17:20:31'::timestamp) - extract(epoch from '2026-07-21 17:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628636 -3.632822)'), GeomFromEWKT('SRID=4674;POINT (-38.628512 -3.632825)'))) / (select extract(epoch from '2026-07-21 17:20:31'::timestamp) - extract(epoch from '2026-07-21 17:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62841 -3.632829)', '2026-07-21 17:20:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628512 -3.632825)'), GeomFromEWKT('SRID=4674;POINT (-38.62841 -3.632829)'))) / (select extract(epoch from '2026-07-21 17:20:38'::timestamp) - extract(epoch from '2026-07-21 17:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628512 -3.632825)'), GeomFromEWKT('SRID=4674;POINT (-38.62841 -3.632829)'))) / (select extract(epoch from '2026-07-21 17:20:38'::timestamp) - extract(epoch from '2026-07-21 17:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628341 -3.632812)', '2026-07-21 17:20:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62841 -3.632829)'), GeomFromEWKT('SRID=4674;POINT (-38.628341 -3.632812)'))) / (select extract(epoch from '2026-07-21 17:20:43'::timestamp) - extract(epoch from '2026-07-21 17:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62841 -3.632829)'), GeomFromEWKT('SRID=4674;POINT (-38.628341 -3.632812)'))) / (select extract(epoch from '2026-07-21 17:20:43'::timestamp) - extract(epoch from '2026-07-21 17:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628271 -3.632799)', '2026-07-21 17:20:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628341 -3.632812)'), GeomFromEWKT('SRID=4674;POINT (-38.628271 -3.632799)'))) / (select extract(epoch from '2026-07-21 17:20:49'::timestamp) - extract(epoch from '2026-07-21 17:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628341 -3.632812)'), GeomFromEWKT('SRID=4674;POINT (-38.628271 -3.632799)'))) / (select extract(epoch from '2026-07-21 17:20:49'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628214 -3.632809)', '2026-07-21 17:20:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628271 -3.632799)'), GeomFromEWKT('SRID=4674;POINT (-38.628214 -3.632809)'))) / (select extract(epoch from '2026-07-21 17:20:53'::timestamp) - extract(epoch from '2026-07-21 17:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628271 -3.632799)'), GeomFromEWKT('SRID=4674;POINT (-38.628214 -3.632809)'))) / (select extract(epoch from '2026-07-21 17:20:53'::timestamp) - extract(epoch from '2026-07-21 17:20:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628193 -3.632812)', '2026-07-21 17:20:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628214 -3.632809)'), GeomFromEWKT('SRID=4674;POINT (-38.628193 -3.632812)'))) / (select extract(epoch from '2026-07-21 17:20:55'::timestamp) - extract(epoch from '2026-07-21 17:20:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628214 -3.632809)'), GeomFromEWKT('SRID=4674;POINT (-38.628193 -3.632812)'))) / (select extract(epoch from '2026-07-21 17:20:55'::timestamp) - extract(epoch from '2026-07-21 17:20:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628139 -3.63281)', '2026-07-21 17:21:01', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628193 -3.632812)'), GeomFromEWKT('SRID=4674;POINT (-38.628139 -3.63281)'))) / (select extract(epoch from '2026-07-21 17:21:01'::timestamp) - extract(epoch from '2026-07-21 17:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628193 -3.632812)'), GeomFromEWKT('SRID=4674;POINT (-38.628139 -3.63281)'))) / (select extract(epoch from '2026-07-21 17:21:01'::timestamp) - extract(epoch from '2026-07-21 17:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628141 -3.632811)', '2026-07-21 17:21:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628139 -3.63281)'), GeomFromEWKT('SRID=4674;POINT (-38.628141 -3.632811)'))) / (select extract(epoch from '2026-07-21 17:21:08'::timestamp) - extract(epoch from '2026-07-21 17:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628139 -3.63281)'), GeomFromEWKT('SRID=4674;POINT (-38.628141 -3.632811)'))) / (select extract(epoch from '2026-07-21 17:21:08'::timestamp) - extract(epoch from '2026-07-21 17:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628166 -3.632808)', '2026-07-21 17:21:13', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628141 -3.632811)'), GeomFromEWKT('SRID=4674;POINT (-38.628166 -3.632808)'))) / (select extract(epoch from '2026-07-21 17:21:13'::timestamp) - extract(epoch from '2026-07-21 17:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628141 -3.632811)'), GeomFromEWKT('SRID=4674;POINT (-38.628166 -3.632808)'))) / (select extract(epoch from '2026-07-21 17:21:13'::timestamp) - extract(epoch from '2026-07-21 17:21:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628194 -3.632798)', '2026-07-21 17:21:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628166 -3.632808)'), GeomFromEWKT('SRID=4674;POINT (-38.628194 -3.632798)'))) / (select extract(epoch from '2026-07-21 17:21:20'::timestamp) - extract(epoch from '2026-07-21 17:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628166 -3.632808)'), GeomFromEWKT('SRID=4674;POINT (-38.628194 -3.632798)'))) / (select extract(epoch from '2026-07-21 17:21:20'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.62819 -3.632787)', '2026-07-21 17:21:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628194 -3.632798)'), GeomFromEWKT('SRID=4674;POINT (-38.62819 -3.632787)'))) / (select extract(epoch from '2026-07-21 17:21:23'::timestamp) - extract(epoch from '2026-07-21 17:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628194 -3.632798)'), GeomFromEWKT('SRID=4674;POINT (-38.62819 -3.632787)'))) / (select extract(epoch from '2026-07-21 17:21:23'::timestamp) - extract(epoch from '2026-07-21 17:21:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628159 -3.632787)', '2026-07-21 17:21:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62819 -3.632787)'), GeomFromEWKT('SRID=4674;POINT (-38.628159 -3.632787)'))) / (select extract(epoch from '2026-07-21 17:21:28'::timestamp) - extract(epoch from '2026-07-21 17:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62819 -3.632787)'), GeomFromEWKT('SRID=4674;POINT (-38.628159 -3.632787)'))) / (select extract(epoch from '2026-07-21 17:21:28'::timestamp) - extract(epoch from '2026-07-21 17:21:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628093 -3.632786)', '2026-07-21 17:21:35', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628159 -3.632787)'), GeomFromEWKT('SRID=4674;POINT (-38.628093 -3.632786)'))) / (select extract(epoch from '2026-07-21 17:21:35'::timestamp) - extract(epoch from '2026-07-21 17:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628159 -3.632787)'), GeomFromEWKT('SRID=4674;POINT (-38.628093 -3.632786)'))) / (select extract(epoch from '2026-07-21 17:21:35'::timestamp) - extract(epoch from '2026-07-21 17:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628032 -3.632764)', '2026-07-21 17:21:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628093 -3.632786)'), GeomFromEWKT('SRID=4674;POINT (-38.628032 -3.632764)'))) / (select extract(epoch from '2026-07-21 17:21:41'::timestamp) - extract(epoch from '2026-07-21 17:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628093 -3.632786)'), GeomFromEWKT('SRID=4674;POINT (-38.628032 -3.632764)'))) / (select extract(epoch from '2026-07-21 17:21:41'::timestamp) - extract(epoch from '2026-07-21 17:21:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627984 -3.632748)', '2026-07-21 17:21:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628032 -3.632764)'), GeomFromEWKT('SRID=4674;POINT (-38.627984 -3.632748)'))) / (select extract(epoch from '2026-07-21 17:21:47'::timestamp) - extract(epoch from '2026-07-21 17:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628032 -3.632764)'), GeomFromEWKT('SRID=4674;POINT (-38.627984 -3.632748)'))) / (select extract(epoch from '2026-07-21 17:21:47'::timestamp) - extract(epoch from '2026-07-21 17:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627946 -3.632728)', '2026-07-21 17:21:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627984 -3.632748)'), GeomFromEWKT('SRID=4674;POINT (-38.627946 -3.632728)'))) / (select extract(epoch from '2026-07-21 17:21:53'::timestamp) - extract(epoch from '2026-07-21 17:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627984 -3.632748)'), GeomFromEWKT('SRID=4674;POINT (-38.627946 -3.632728)'))) / (select extract(epoch from '2026-07-21 17:21:53'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.627938 -3.632709)', '2026-07-21 17:22:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627946 -3.632728)'), GeomFromEWKT('SRID=4674;POINT (-38.627938 -3.632709)'))) / (select extract(epoch from '2026-07-21 17:22:00'::timestamp) - extract(epoch from '2026-07-21 17:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627946 -3.632728)'), GeomFromEWKT('SRID=4674;POINT (-38.627938 -3.632709)'))) / (select extract(epoch from '2026-07-21 17:22:00'::timestamp) - extract(epoch from '2026-07-21 17:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627962 -3.63269)', '2026-07-21 17:22:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627938 -3.632709)'), GeomFromEWKT('SRID=4674;POINT (-38.627962 -3.63269)'))) / (select extract(epoch from '2026-07-21 17:22:07'::timestamp) - extract(epoch from '2026-07-21 17:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627938 -3.632709)'), GeomFromEWKT('SRID=4674;POINT (-38.627962 -3.63269)'))) / (select extract(epoch from '2026-07-21 17:22:07'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.627991 -3.632678)', '2026-07-21 17:22:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627962 -3.63269)'), GeomFromEWKT('SRID=4674;POINT (-38.627991 -3.632678)'))) / (select extract(epoch from '2026-07-21 17:22:13'::timestamp) - extract(epoch from '2026-07-21 17:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627962 -3.63269)'), GeomFromEWKT('SRID=4674;POINT (-38.627991 -3.632678)'))) / (select extract(epoch from '2026-07-21 17:22:13'::timestamp) - extract(epoch from '2026-07-21 17:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628031 -3.632669)', '2026-07-21 17:22:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627991 -3.632678)'), GeomFromEWKT('SRID=4674;POINT (-38.628031 -3.632669)'))) / (select extract(epoch from '2026-07-21 17:22:21'::timestamp) - extract(epoch from '2026-07-21 17:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627991 -3.632678)'), GeomFromEWKT('SRID=4674;POINT (-38.628031 -3.632669)'))) / (select extract(epoch from '2026-07-21 17:22:21'::timestamp) - extract(epoch from '2026-07-21 17:22:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628071 -3.632662)', '2026-07-21 17:22:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628031 -3.632669)'), GeomFromEWKT('SRID=4674;POINT (-38.628071 -3.632662)'))) / (select extract(epoch from '2026-07-21 17:22:28'::timestamp) - extract(epoch from '2026-07-21 17:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628031 -3.632669)'), GeomFromEWKT('SRID=4674;POINT (-38.628071 -3.632662)'))) / (select extract(epoch from '2026-07-21 17:22:28'::timestamp) - extract(epoch from '2026-07-21 17:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628094 -3.632657)', '2026-07-21 17:22:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628071 -3.632662)'), GeomFromEWKT('SRID=4674;POINT (-38.628094 -3.632657)'))) / (select extract(epoch from '2026-07-21 17:22:32'::timestamp) - extract(epoch from '2026-07-21 17:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628071 -3.632662)'), GeomFromEWKT('SRID=4674;POINT (-38.628094 -3.632657)'))) / (select extract(epoch from '2026-07-21 17:22:32'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628128 -3.632646)', '2026-07-21 17:22:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628094 -3.632657)'), GeomFromEWKT('SRID=4674;POINT (-38.628128 -3.632646)'))) / (select extract(epoch from '2026-07-21 17:22:39'::timestamp) - extract(epoch from '2026-07-21 17:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628094 -3.632657)'), GeomFromEWKT('SRID=4674;POINT (-38.628128 -3.632646)'))) / (select extract(epoch from '2026-07-21 17:22:39'::timestamp) - extract(epoch from '2026-07-21 17:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628156 -3.632636)', '2026-07-21 17:22:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628128 -3.632646)'), GeomFromEWKT('SRID=4674;POINT (-38.628156 -3.632636)'))) / (select extract(epoch from '2026-07-21 17:22:45'::timestamp) - extract(epoch from '2026-07-21 17:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628128 -3.632646)'), GeomFromEWKT('SRID=4674;POINT (-38.628156 -3.632636)'))) / (select extract(epoch from '2026-07-21 17:22:45'::timestamp) - extract(epoch from '2026-07-21 17:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628193 -3.632622)', '2026-07-21 17:22:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628156 -3.632636)'), GeomFromEWKT('SRID=4674;POINT (-38.628193 -3.632622)'))) / (select extract(epoch from '2026-07-21 17:22:51'::timestamp) - extract(epoch from '2026-07-21 17:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628156 -3.632636)'), GeomFromEWKT('SRID=4674;POINT (-38.628193 -3.632622)'))) / (select extract(epoch from '2026-07-21 17:22:51'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628227 -3.632604)', '2026-07-21 17:22:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628193 -3.632622)'), GeomFromEWKT('SRID=4674;POINT (-38.628227 -3.632604)'))) / (select extract(epoch from '2026-07-21 17:22:58'::timestamp) - extract(epoch from '2026-07-21 17:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628193 -3.632622)'), GeomFromEWKT('SRID=4674;POINT (-38.628227 -3.632604)'))) / (select extract(epoch from '2026-07-21 17:22:58'::timestamp) - extract(epoch from '2026-07-21 17:22:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628269 -3.632583)', '2026-07-21 17:23:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628227 -3.632604)'), GeomFromEWKT('SRID=4674;POINT (-38.628269 -3.632583)'))) / (select extract(epoch from '2026-07-21 17:23:05'::timestamp) - extract(epoch from '2026-07-21 17:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628227 -3.632604)'), GeomFromEWKT('SRID=4674;POINT (-38.628269 -3.632583)'))) / (select extract(epoch from '2026-07-21 17:23:05'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628282 -3.632582)', '2026-07-21 17:23:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628269 -3.632583)'), GeomFromEWKT('SRID=4674;POINT (-38.628282 -3.632582)'))) / (select extract(epoch from '2026-07-21 17:23:06'::timestamp) - extract(epoch from '2026-07-21 17:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628269 -3.632583)'), GeomFromEWKT('SRID=4674;POINT (-38.628282 -3.632582)'))) / (select extract(epoch from '2026-07-21 17:23:06'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628298 -3.632572)', '2026-07-21 17:23:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628282 -3.632582)'), GeomFromEWKT('SRID=4674;POINT (-38.628298 -3.632572)'))) / (select extract(epoch from '2026-07-21 17:23:10'::timestamp) - extract(epoch from '2026-07-21 17:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628282 -3.632582)'), GeomFromEWKT('SRID=4674;POINT (-38.628298 -3.632572)'))) / (select extract(epoch from '2026-07-21 17:23:10'::timestamp) - extract(epoch from '2026-07-21 17:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628317 -3.632564)', '2026-07-21 17:23:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628298 -3.632572)'), GeomFromEWKT('SRID=4674;POINT (-38.628317 -3.632564)'))) / (select extract(epoch from '2026-07-21 17:23:12'::timestamp) - extract(epoch from '2026-07-21 17:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628298 -3.632572)'), GeomFromEWKT('SRID=4674;POINT (-38.628317 -3.632564)'))) / (select extract(epoch from '2026-07-21 17:23:12'::timestamp) - extract(epoch from '2026-07-21 17:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628312 -3.632547)', '2026-07-21 17:23:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628317 -3.632564)'), GeomFromEWKT('SRID=4674;POINT (-38.628312 -3.632547)'))) / (select extract(epoch from '2026-07-21 17:23:14'::timestamp) - extract(epoch from '2026-07-21 17:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628317 -3.632564)'), GeomFromEWKT('SRID=4674;POINT (-38.628312 -3.632547)'))) / (select extract(epoch from '2026-07-21 17:23:14'::timestamp) - extract(epoch from '2026-07-21 17:23:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628312 -3.632549)', '2026-07-21 17:23:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628312 -3.632547)'), GeomFromEWKT('SRID=4674;POINT (-38.628312 -3.632549)'))) / (select extract(epoch from '2026-07-21 17:23:15'::timestamp) - extract(epoch from '2026-07-21 17:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628312 -3.632547)'), GeomFromEWKT('SRID=4674;POINT (-38.628312 -3.632549)'))) / (select extract(epoch from '2026-07-21 17:23:15'::timestamp) - extract(epoch from '2026-07-21 17:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62834 -3.632539)', '2026-07-21 17:23:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628312 -3.632549)'), GeomFromEWKT('SRID=4674;POINT (-38.62834 -3.632539)'))) / (select extract(epoch from '2026-07-21 17:23:20'::timestamp) - extract(epoch from '2026-07-21 17:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628312 -3.632549)'), GeomFromEWKT('SRID=4674;POINT (-38.62834 -3.632539)'))) / (select extract(epoch from '2026-07-21 17:23:20'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628385 -3.632511)', '2026-07-21 17:23:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62834 -3.632539)'), GeomFromEWKT('SRID=4674;POINT (-38.628385 -3.632511)'))) / (select extract(epoch from '2026-07-21 17:23:27'::timestamp) - extract(epoch from '2026-07-21 17:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62834 -3.632539)'), GeomFromEWKT('SRID=4674;POINT (-38.628385 -3.632511)'))) / (select extract(epoch from '2026-07-21 17:23:27'::timestamp) - extract(epoch from '2026-07-21 17:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.6284 -3.632492)', '2026-07-21 17:23:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628385 -3.632511)'), GeomFromEWKT('SRID=4674;POINT (-38.6284 -3.632492)'))) / (select extract(epoch from '2026-07-21 17:23:31'::timestamp) - extract(epoch from '2026-07-21 17:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628385 -3.632511)'), GeomFromEWKT('SRID=4674;POINT (-38.6284 -3.632492)'))) / (select extract(epoch from '2026-07-21 17:23:31'::timestamp) - extract(epoch from '2026-07-21 17:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628432 -3.632475)', '2026-07-21 17:23:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6284 -3.632492)'), GeomFromEWKT('SRID=4674;POINT (-38.628432 -3.632475)'))) / (select extract(epoch from '2026-07-21 17:23:37'::timestamp) - extract(epoch from '2026-07-21 17:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6284 -3.632492)'), GeomFromEWKT('SRID=4674;POINT (-38.628432 -3.632475)'))) / (select extract(epoch from '2026-07-21 17:23:37'::timestamp) - extract(epoch from '2026-07-21 17:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628472 -3.632441)', '2026-07-21 17:23:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628432 -3.632475)'), GeomFromEWKT('SRID=4674;POINT (-38.628472 -3.632441)'))) / (select extract(epoch from '2026-07-21 17:23:45'::timestamp) - extract(epoch from '2026-07-21 17:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628432 -3.632475)'), GeomFromEWKT('SRID=4674;POINT (-38.628472 -3.632441)'))) / (select extract(epoch from '2026-07-21 17:23:45'::timestamp) - extract(epoch from '2026-07-21 17:23:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628516 -3.632408)', '2026-07-21 17:23:54', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628472 -3.632441)'), GeomFromEWKT('SRID=4674;POINT (-38.628516 -3.632408)'))) / (select extract(epoch from '2026-07-21 17:23:54'::timestamp) - extract(epoch from '2026-07-21 17:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628472 -3.632441)'), GeomFromEWKT('SRID=4674;POINT (-38.628516 -3.632408)'))) / (select extract(epoch from '2026-07-21 17:23:54'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628548 -3.632387)', '2026-07-21 17:24:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628516 -3.632408)'), GeomFromEWKT('SRID=4674;POINT (-38.628548 -3.632387)'))) / (select extract(epoch from '2026-07-21 17:24:01'::timestamp) - extract(epoch from '2026-07-21 17:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628516 -3.632408)'), GeomFromEWKT('SRID=4674;POINT (-38.628548 -3.632387)'))) / (select extract(epoch from '2026-07-21 17:24:01'::timestamp) - extract(epoch from '2026-07-21 17:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628575 -3.632379)', '2026-07-21 17:24:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628548 -3.632387)'), GeomFromEWKT('SRID=4674;POINT (-38.628575 -3.632379)'))) / (select extract(epoch from '2026-07-21 17:24:06'::timestamp) - extract(epoch from '2026-07-21 17:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628548 -3.632387)'), GeomFromEWKT('SRID=4674;POINT (-38.628575 -3.632379)'))) / (select extract(epoch from '2026-07-21 17:24:06'::timestamp) - extract(epoch from '2026-07-21 17:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628605 -3.632377)', '2026-07-21 17:24:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628575 -3.632379)'), GeomFromEWKT('SRID=4674;POINT (-38.628605 -3.632377)'))) / (select extract(epoch from '2026-07-21 17:24:12'::timestamp) - extract(epoch from '2026-07-21 17:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628575 -3.632379)'), GeomFromEWKT('SRID=4674;POINT (-38.628605 -3.632377)'))) / (select extract(epoch from '2026-07-21 17:24:12'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.628643 -3.632365)', '2026-07-21 17:24:20', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628605 -3.632377)'), GeomFromEWKT('SRID=4674;POINT (-38.628643 -3.632365)'))) / (select extract(epoch from '2026-07-21 17:24:20'::timestamp) - extract(epoch from '2026-07-21 17:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628605 -3.632377)'), GeomFromEWKT('SRID=4674;POINT (-38.628643 -3.632365)'))) / (select extract(epoch from '2026-07-21 17:24:20'::timestamp) - extract(epoch from '2026-07-21 17:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628655 -3.63237)', '2026-07-21 17:24:22', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628643 -3.632365)'), GeomFromEWKT('SRID=4674;POINT (-38.628655 -3.63237)'))) / (select extract(epoch from '2026-07-21 17:24:22'::timestamp) - extract(epoch from '2026-07-21 17:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628643 -3.632365)'), GeomFromEWKT('SRID=4674;POINT (-38.628655 -3.63237)'))) / (select extract(epoch from '2026-07-21 17:24:22'::timestamp) - extract(epoch from '2026-07-21 17:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628675 -3.632361)', '2026-07-21 17:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628655 -3.63237)'), GeomFromEWKT('SRID=4674;POINT (-38.628675 -3.632361)'))) / (select extract(epoch from '2026-07-21 17:24:26'::timestamp) - extract(epoch from '2026-07-21 17:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628655 -3.63237)'), GeomFromEWKT('SRID=4674;POINT (-38.628675 -3.632361)'))) / (select extract(epoch from '2026-07-21 17:24:26'::timestamp) - extract(epoch from '2026-07-21 17:24:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628715 -3.63235)', '2026-07-21 17:24:33', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628675 -3.632361)'), GeomFromEWKT('SRID=4674;POINT (-38.628715 -3.63235)'))) / (select extract(epoch from '2026-07-21 17:24:33'::timestamp) - extract(epoch from '2026-07-21 17:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628675 -3.632361)'), GeomFromEWKT('SRID=4674;POINT (-38.628715 -3.63235)'))) / (select extract(epoch from '2026-07-21 17:24:33'::timestamp) - extract(epoch from '2026-07-21 17:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628764 -3.632323)', '2026-07-21 17:24:41', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628715 -3.63235)'), GeomFromEWKT('SRID=4674;POINT (-38.628764 -3.632323)'))) / (select extract(epoch from '2026-07-21 17:24:41'::timestamp) - extract(epoch from '2026-07-21 17:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628715 -3.63235)'), GeomFromEWKT('SRID=4674;POINT (-38.628764 -3.632323)'))) / (select extract(epoch from '2026-07-21 17:24:41'::timestamp) - extract(epoch from '2026-07-21 17:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628804 -3.632306)', '2026-07-21 17:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628764 -3.632323)'), GeomFromEWKT('SRID=4674;POINT (-38.628804 -3.632306)'))) / (select extract(epoch from '2026-07-21 17:24:47'::timestamp) - extract(epoch from '2026-07-21 17:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628764 -3.632323)'), GeomFromEWKT('SRID=4674;POINT (-38.628804 -3.632306)'))) / (select extract(epoch from '2026-07-21 17:24:47'::timestamp) - extract(epoch from '2026-07-21 17:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628824 -3.632286)', '2026-07-21 17:24:51', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628804 -3.632306)'), GeomFromEWKT('SRID=4674;POINT (-38.628824 -3.632286)'))) / (select extract(epoch from '2026-07-21 17:24:51'::timestamp) - extract(epoch from '2026-07-21 17:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628804 -3.632306)'), GeomFromEWKT('SRID=4674;POINT (-38.628824 -3.632286)'))) / (select extract(epoch from '2026-07-21 17:24:51'::timestamp) - extract(epoch from '2026-07-21 17:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62886 -3.632268)', '2026-07-21 17:24:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628824 -3.632286)'), GeomFromEWKT('SRID=4674;POINT (-38.62886 -3.632268)'))) / (select extract(epoch from '2026-07-21 17:24:58'::timestamp) - extract(epoch from '2026-07-21 17:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628824 -3.632286)'), GeomFromEWKT('SRID=4674;POINT (-38.62886 -3.632268)'))) / (select extract(epoch from '2026-07-21 17:24:58'::timestamp) - extract(epoch from '2026-07-21 17:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62889 -3.632255)', '2026-07-21 17:25:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62886 -3.632268)'), GeomFromEWKT('SRID=4674;POINT (-38.62889 -3.632255)'))) / (select extract(epoch from '2026-07-21 17:25:04'::timestamp) - extract(epoch from '2026-07-21 17:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62886 -3.632268)'), GeomFromEWKT('SRID=4674;POINT (-38.62889 -3.632255)'))) / (select extract(epoch from '2026-07-21 17:25:04'::timestamp) - extract(epoch from '2026-07-21 17:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628912 -3.632245)', '2026-07-21 17:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62889 -3.632255)'), GeomFromEWKT('SRID=4674;POINT (-38.628912 -3.632245)'))) / (select extract(epoch from '2026-07-21 17:25:08'::timestamp) - extract(epoch from '2026-07-21 17:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62889 -3.632255)'), GeomFromEWKT('SRID=4674;POINT (-38.628912 -3.632245)'))) / (select extract(epoch from '2026-07-21 17:25:08'::timestamp) - extract(epoch from '2026-07-21 17:25:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628928 -3.632241)', '2026-07-21 17:25:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628912 -3.632245)'), GeomFromEWKT('SRID=4674;POINT (-38.628928 -3.632241)'))) / (select extract(epoch from '2026-07-21 17:25:11'::timestamp) - extract(epoch from '2026-07-21 17:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628912 -3.632245)'), GeomFromEWKT('SRID=4674;POINT (-38.628928 -3.632241)'))) / (select extract(epoch from '2026-07-21 17:25:11'::timestamp) - extract(epoch from '2026-07-21 17:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628945 -3.63223)', '2026-07-21 17:25:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628928 -3.632241)'), GeomFromEWKT('SRID=4674;POINT (-38.628945 -3.63223)'))) / (select extract(epoch from '2026-07-21 17:25:15'::timestamp) - extract(epoch from '2026-07-21 17:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628928 -3.632241)'), GeomFromEWKT('SRID=4674;POINT (-38.628945 -3.63223)'))) / (select extract(epoch from '2026-07-21 17:25:15'::timestamp) - extract(epoch from '2026-07-21 17:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628962 -3.632219)', '2026-07-21 17:25:19', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628945 -3.63223)'), GeomFromEWKT('SRID=4674;POINT (-38.628962 -3.632219)'))) / (select extract(epoch from '2026-07-21 17:25:19'::timestamp) - extract(epoch from '2026-07-21 17:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628945 -3.63223)'), GeomFromEWKT('SRID=4674;POINT (-38.628962 -3.632219)'))) / (select extract(epoch from '2026-07-21 17:25:19'::timestamp) - extract(epoch from '2026-07-21 17:25:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628986 -3.632205)', '2026-07-21 17:25:23', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628962 -3.632219)'), GeomFromEWKT('SRID=4674;POINT (-38.628986 -3.632205)'))) / (select extract(epoch from '2026-07-21 17:25:23'::timestamp) - extract(epoch from '2026-07-21 17:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628962 -3.632219)'), GeomFromEWKT('SRID=4674;POINT (-38.628986 -3.632205)'))) / (select extract(epoch from '2026-07-21 17:25:23'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629026 -3.632195)', '2026-07-21 17:25:30', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628986 -3.632205)'), GeomFromEWKT('SRID=4674;POINT (-38.629026 -3.632195)'))) / (select extract(epoch from '2026-07-21 17:25:30'::timestamp) - extract(epoch from '2026-07-21 17:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628986 -3.632205)'), GeomFromEWKT('SRID=4674;POINT (-38.629026 -3.632195)'))) / (select extract(epoch from '2026-07-21 17:25:30'::timestamp) - extract(epoch from '2026-07-21 17:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629061 -3.632183)', '2026-07-21 17:25:35', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629026 -3.632195)'), GeomFromEWKT('SRID=4674;POINT (-38.629061 -3.632183)'))) / (select extract(epoch from '2026-07-21 17:25:35'::timestamp) - extract(epoch from '2026-07-21 17:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629026 -3.632195)'), GeomFromEWKT('SRID=4674;POINT (-38.629061 -3.632183)'))) / (select extract(epoch from '2026-07-21 17:25:35'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629101 -3.632171)', '2026-07-21 17:25:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629061 -3.632183)'), GeomFromEWKT('SRID=4674;POINT (-38.629101 -3.632171)'))) / (select extract(epoch from '2026-07-21 17:25:43'::timestamp) - extract(epoch from '2026-07-21 17:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629061 -3.632183)'), GeomFromEWKT('SRID=4674;POINT (-38.629101 -3.632171)'))) / (select extract(epoch from '2026-07-21 17:25:43'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629136 -3.632151)', '2026-07-21 17:25:50', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629101 -3.632171)'), GeomFromEWKT('SRID=4674;POINT (-38.629136 -3.632151)'))) / (select extract(epoch from '2026-07-21 17:25:50'::timestamp) - extract(epoch from '2026-07-21 17:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629101 -3.632171)'), GeomFromEWKT('SRID=4674;POINT (-38.629136 -3.632151)'))) / (select extract(epoch from '2026-07-21 17:25:50'::timestamp) - extract(epoch from '2026-07-21 17:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629164 -3.632138)', '2026-07-21 17:25:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629136 -3.632151)'), GeomFromEWKT('SRID=4674;POINT (-38.629164 -3.632138)'))) / (select extract(epoch from '2026-07-21 17:25:55'::timestamp) - extract(epoch from '2026-07-21 17:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629136 -3.632151)'), GeomFromEWKT('SRID=4674;POINT (-38.629164 -3.632138)'))) / (select extract(epoch from '2026-07-21 17:25:55'::timestamp) - extract(epoch from '2026-07-21 17:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629181 -3.632126)', '2026-07-21 17:25:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629164 -3.632138)'), GeomFromEWKT('SRID=4674;POINT (-38.629181 -3.632126)'))) / (select extract(epoch from '2026-07-21 17:25:59'::timestamp) - extract(epoch from '2026-07-21 17:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629164 -3.632138)'), GeomFromEWKT('SRID=4674;POINT (-38.629181 -3.632126)'))) / (select extract(epoch from '2026-07-21 17:25:59'::timestamp) - extract(epoch from '2026-07-21 17:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629205 -3.63211)', '2026-07-21 17:26:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629181 -3.632126)'), GeomFromEWKT('SRID=4674;POINT (-38.629205 -3.63211)'))) / (select extract(epoch from '2026-07-21 17:26:05'::timestamp) - extract(epoch from '2026-07-21 17:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629181 -3.632126)'), GeomFromEWKT('SRID=4674;POINT (-38.629205 -3.63211)'))) / (select extract(epoch from '2026-07-21 17:26:05'::timestamp) - extract(epoch from '2026-07-21 17:25:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629231 -3.632096)', '2026-07-21 17:26:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629205 -3.63211)'), GeomFromEWKT('SRID=4674;POINT (-38.629231 -3.632096)'))) / (select extract(epoch from '2026-07-21 17:26:11'::timestamp) - extract(epoch from '2026-07-21 17:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629205 -3.63211)'), GeomFromEWKT('SRID=4674;POINT (-38.629231 -3.632096)'))) / (select extract(epoch from '2026-07-21 17:26:11'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629264 -3.632077)', '2026-07-21 17:26:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629231 -3.632096)'), GeomFromEWKT('SRID=4674;POINT (-38.629264 -3.632077)'))) / (select extract(epoch from '2026-07-21 17:26:18'::timestamp) - extract(epoch from '2026-07-21 17:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629231 -3.632096)'), GeomFromEWKT('SRID=4674;POINT (-38.629264 -3.632077)'))) / (select extract(epoch from '2026-07-21 17:26:18'::timestamp) - extract(epoch from '2026-07-21 17:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629277 -3.632073)', '2026-07-21 17:26:20', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629264 -3.632077)'), GeomFromEWKT('SRID=4674;POINT (-38.629277 -3.632073)'))) / (select extract(epoch from '2026-07-21 17:26:20'::timestamp) - extract(epoch from '2026-07-21 17:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629264 -3.632077)'), GeomFromEWKT('SRID=4674;POINT (-38.629277 -3.632073)'))) / (select extract(epoch from '2026-07-21 17:26:20'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629289 -3.632071)', '2026-07-21 17:26:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629277 -3.632073)'), GeomFromEWKT('SRID=4674;POINT (-38.629289 -3.632071)'))) / (select extract(epoch from '2026-07-21 17:26:23'::timestamp) - extract(epoch from '2026-07-21 17:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629277 -3.632073)'), GeomFromEWKT('SRID=4674;POINT (-38.629289 -3.632071)'))) / (select extract(epoch from '2026-07-21 17:26:23'::timestamp) - extract(epoch from '2026-07-21 17:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629318 -3.632063)', '2026-07-21 17:26:29', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629289 -3.632071)'), GeomFromEWKT('SRID=4674;POINT (-38.629318 -3.632063)'))) / (select extract(epoch from '2026-07-21 17:26:29'::timestamp) - extract(epoch from '2026-07-21 17:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629289 -3.632071)'), GeomFromEWKT('SRID=4674;POINT (-38.629318 -3.632063)'))) / (select extract(epoch from '2026-07-21 17:26:29'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629348 -3.63205)', '2026-07-21 17:26:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629318 -3.632063)'), GeomFromEWKT('SRID=4674;POINT (-38.629348 -3.63205)'))) / (select extract(epoch from '2026-07-21 17:26:35'::timestamp) - extract(epoch from '2026-07-21 17:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629318 -3.632063)'), GeomFromEWKT('SRID=4674;POINT (-38.629348 -3.63205)'))) / (select extract(epoch from '2026-07-21 17:26:35'::timestamp) - extract(epoch from '2026-07-21 17:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62938 -3.63204)', '2026-07-21 17:26:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629348 -3.63205)'), GeomFromEWKT('SRID=4674;POINT (-38.62938 -3.63204)'))) / (select extract(epoch from '2026-07-21 17:26:41'::timestamp) - extract(epoch from '2026-07-21 17:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629348 -3.63205)'), GeomFromEWKT('SRID=4674;POINT (-38.62938 -3.63204)'))) / (select extract(epoch from '2026-07-21 17:26:41'::timestamp) - extract(epoch from '2026-07-21 17:26:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629401 -3.632029)', '2026-07-21 17:26:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62938 -3.63204)'), GeomFromEWKT('SRID=4674;POINT (-38.629401 -3.632029)'))) / (select extract(epoch from '2026-07-21 17:26:46'::timestamp) - extract(epoch from '2026-07-21 17:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62938 -3.63204)'), GeomFromEWKT('SRID=4674;POINT (-38.629401 -3.632029)'))) / (select extract(epoch from '2026-07-21 17:26:46'::timestamp) - extract(epoch from '2026-07-21 17:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629431 -3.632025)', '2026-07-21 17:26:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629401 -3.632029)'), GeomFromEWKT('SRID=4674;POINT (-38.629431 -3.632025)'))) / (select extract(epoch from '2026-07-21 17:26:52'::timestamp) - extract(epoch from '2026-07-21 17:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629401 -3.632029)'), GeomFromEWKT('SRID=4674;POINT (-38.629431 -3.632025)'))) / (select extract(epoch from '2026-07-21 17:26:52'::timestamp) - extract(epoch from '2026-07-21 17:26:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62947 -3.632015)', '2026-07-21 17:26:59', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629431 -3.632025)'), GeomFromEWKT('SRID=4674;POINT (-38.62947 -3.632015)'))) / (select extract(epoch from '2026-07-21 17:26:59'::timestamp) - extract(epoch from '2026-07-21 17:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629431 -3.632025)'), GeomFromEWKT('SRID=4674;POINT (-38.62947 -3.632015)'))) / (select extract(epoch from '2026-07-21 17:26:59'::timestamp) - extract(epoch from '2026-07-21 17:26:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62951 -3.632)', '2026-07-21 17:27:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62947 -3.632015)'), GeomFromEWKT('SRID=4674;POINT (-38.62951 -3.632)'))) / (select extract(epoch from '2026-07-21 17:27:05'::timestamp) - extract(epoch from '2026-07-21 17:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62947 -3.632015)'), GeomFromEWKT('SRID=4674;POINT (-38.62951 -3.632)'))) / (select extract(epoch from '2026-07-21 17:27:05'::timestamp) - extract(epoch from '2026-07-21 17:26:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62955 -3.63198)', '2026-07-21 17:27:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62951 -3.632)'), GeomFromEWKT('SRID=4674;POINT (-38.62955 -3.63198)'))) / (select extract(epoch from '2026-07-21 17:27:13'::timestamp) - extract(epoch from '2026-07-21 17:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62951 -3.632)'), GeomFromEWKT('SRID=4674;POINT (-38.62955 -3.63198)'))) / (select extract(epoch from '2026-07-21 17:27:13'::timestamp) - extract(epoch from '2026-07-21 17:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629587 -3.631971)', '2026-07-21 17:27:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62955 -3.63198)'), GeomFromEWKT('SRID=4674;POINT (-38.629587 -3.631971)'))) / (select extract(epoch from '2026-07-21 17:27:20'::timestamp) - extract(epoch from '2026-07-21 17:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62955 -3.63198)'), GeomFromEWKT('SRID=4674;POINT (-38.629587 -3.631971)'))) / (select extract(epoch from '2026-07-21 17:27:20'::timestamp) - extract(epoch from '2026-07-21 17:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629628 -3.631966)', '2026-07-21 17:27:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629587 -3.631971)'), GeomFromEWKT('SRID=4674;POINT (-38.629628 -3.631966)'))) / (select extract(epoch from '2026-07-21 17:27:26'::timestamp) - extract(epoch from '2026-07-21 17:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629587 -3.631971)'), GeomFromEWKT('SRID=4674;POINT (-38.629628 -3.631966)'))) / (select extract(epoch from '2026-07-21 17:27:26'::timestamp) - extract(epoch from '2026-07-21 17:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629657 -3.631953)', '2026-07-21 17:27:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629628 -3.631966)'), GeomFromEWKT('SRID=4674;POINT (-38.629657 -3.631953)'))) / (select extract(epoch from '2026-07-21 17:27:32'::timestamp) - extract(epoch from '2026-07-21 17:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629628 -3.631966)'), GeomFromEWKT('SRID=4674;POINT (-38.629657 -3.631953)'))) / (select extract(epoch from '2026-07-21 17:27:32'::timestamp) - extract(epoch from '2026-07-21 17:27:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629691 -3.63193)', '2026-07-21 17:27:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629657 -3.631953)'), GeomFromEWKT('SRID=4674;POINT (-38.629691 -3.63193)'))) / (select extract(epoch from '2026-07-21 17:27:39'::timestamp) - extract(epoch from '2026-07-21 17:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629657 -3.631953)'), GeomFromEWKT('SRID=4674;POINT (-38.629691 -3.63193)'))) / (select extract(epoch from '2026-07-21 17:27:39'::timestamp) - extract(epoch from '2026-07-21 17:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629732 -3.631918)', '2026-07-21 17:27:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629691 -3.63193)'), GeomFromEWKT('SRID=4674;POINT (-38.629732 -3.631918)'))) / (select extract(epoch from '2026-07-21 17:27:46'::timestamp) - extract(epoch from '2026-07-21 17:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629691 -3.63193)'), GeomFromEWKT('SRID=4674;POINT (-38.629732 -3.631918)'))) / (select extract(epoch from '2026-07-21 17:27:46'::timestamp) - extract(epoch from '2026-07-21 17:27:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629761 -3.63191)', '2026-07-21 17:27:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629732 -3.631918)'), GeomFromEWKT('SRID=4674;POINT (-38.629761 -3.63191)'))) / (select extract(epoch from '2026-07-21 17:27:51'::timestamp) - extract(epoch from '2026-07-21 17:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629732 -3.631918)'), GeomFromEWKT('SRID=4674;POINT (-38.629761 -3.63191)'))) / (select extract(epoch from '2026-07-21 17:27:51'::timestamp) - extract(epoch from '2026-07-21 17:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629796 -3.631899)', '2026-07-21 17:27:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629761 -3.63191)'), GeomFromEWKT('SRID=4674;POINT (-38.629796 -3.631899)'))) / (select extract(epoch from '2026-07-21 17:27:58'::timestamp) - extract(epoch from '2026-07-21 17:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629761 -3.63191)'), GeomFromEWKT('SRID=4674;POINT (-38.629796 -3.631899)'))) / (select extract(epoch from '2026-07-21 17:27:58'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629822 -3.631891)', '2026-07-21 17:28:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629796 -3.631899)'), GeomFromEWKT('SRID=4674;POINT (-38.629822 -3.631891)'))) / (select extract(epoch from '2026-07-21 17:28:05'::timestamp) - extract(epoch from '2026-07-21 17:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629796 -3.631899)'), GeomFromEWKT('SRID=4674;POINT (-38.629822 -3.631891)'))) / (select extract(epoch from '2026-07-21 17:28:05'::timestamp) - extract(epoch from '2026-07-21 17:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629855 -3.631868)', '2026-07-21 17:28:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629822 -3.631891)'), GeomFromEWKT('SRID=4674;POINT (-38.629855 -3.631868)'))) / (select extract(epoch from '2026-07-21 17:28:11'::timestamp) - extract(epoch from '2026-07-21 17:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629822 -3.631891)'), GeomFromEWKT('SRID=4674;POINT (-38.629855 -3.631868)'))) / (select extract(epoch from '2026-07-21 17:28:11'::timestamp) - extract(epoch from '2026-07-21 17:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629883 -3.631849)', '2026-07-21 17:28:16', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629855 -3.631868)'), GeomFromEWKT('SRID=4674;POINT (-38.629883 -3.631849)'))) / (select extract(epoch from '2026-07-21 17:28:16'::timestamp) - extract(epoch from '2026-07-21 17:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629855 -3.631868)'), GeomFromEWKT('SRID=4674;POINT (-38.629883 -3.631849)'))) / (select extract(epoch from '2026-07-21 17:28:16'::timestamp) - extract(epoch from '2026-07-21 17:28:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629908 -3.631834)', '2026-07-21 17:28:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629883 -3.631849)'), GeomFromEWKT('SRID=4674;POINT (-38.629908 -3.631834)'))) / (select extract(epoch from '2026-07-21 17:28:22'::timestamp) - extract(epoch from '2026-07-21 17:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629883 -3.631849)'), GeomFromEWKT('SRID=4674;POINT (-38.629908 -3.631834)'))) / (select extract(epoch from '2026-07-21 17:28:22'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629943 -3.63182)', '2026-07-21 17:28:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629908 -3.631834)'), GeomFromEWKT('SRID=4674;POINT (-38.629943 -3.63182)'))) / (select extract(epoch from '2026-07-21 17:28:28'::timestamp) - extract(epoch from '2026-07-21 17:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629908 -3.631834)'), GeomFromEWKT('SRID=4674;POINT (-38.629943 -3.63182)'))) / (select extract(epoch from '2026-07-21 17:28:28'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629979 -3.631805)', '2026-07-21 17:28:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629943 -3.63182)'), GeomFromEWKT('SRID=4674;POINT (-38.629979 -3.631805)'))) / (select extract(epoch from '2026-07-21 17:28:35'::timestamp) - extract(epoch from '2026-07-21 17:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629943 -3.63182)'), GeomFromEWKT('SRID=4674;POINT (-38.629979 -3.631805)'))) / (select extract(epoch from '2026-07-21 17:28:35'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.629988 -3.631804)', '2026-07-21 17:28:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629979 -3.631805)'), GeomFromEWKT('SRID=4674;POINT (-38.629988 -3.631804)'))) / (select extract(epoch from '2026-07-21 17:28:36'::timestamp) - extract(epoch from '2026-07-21 17:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629979 -3.631805)'), GeomFromEWKT('SRID=4674;POINT (-38.629988 -3.631804)'))) / (select extract(epoch from '2026-07-21 17:28:36'::timestamp) - extract(epoch from '2026-07-21 17:28:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630008 -3.631799)', '2026-07-21 17:28:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629988 -3.631804)'), GeomFromEWKT('SRID=4674;POINT (-38.630008 -3.631799)'))) / (select extract(epoch from '2026-07-21 17:28:40'::timestamp) - extract(epoch from '2026-07-21 17:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629988 -3.631804)'), GeomFromEWKT('SRID=4674;POINT (-38.630008 -3.631799)'))) / (select extract(epoch from '2026-07-21 17:28:40'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.630043 -3.631788)', '2026-07-21 17:28:47', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630008 -3.631799)'), GeomFromEWKT('SRID=4674;POINT (-38.630043 -3.631788)'))) / (select extract(epoch from '2026-07-21 17:28:47'::timestamp) - extract(epoch from '2026-07-21 17:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630008 -3.631799)'), GeomFromEWKT('SRID=4674;POINT (-38.630043 -3.631788)'))) / (select extract(epoch from '2026-07-21 17:28:47'::timestamp) - extract(epoch from '2026-07-21 17:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630076 -3.631779)', '2026-07-21 17:28:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630043 -3.631788)'), GeomFromEWKT('SRID=4674;POINT (-38.630076 -3.631779)'))) / (select extract(epoch from '2026-07-21 17:28:52'::timestamp) - extract(epoch from '2026-07-21 17:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630043 -3.631788)'), GeomFromEWKT('SRID=4674;POINT (-38.630076 -3.631779)'))) / (select extract(epoch from '2026-07-21 17:28:52'::timestamp) - extract(epoch from '2026-07-21 17:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630106 -3.631768)', '2026-07-21 17:28:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630076 -3.631779)'), GeomFromEWKT('SRID=4674;POINT (-38.630106 -3.631768)'))) / (select extract(epoch from '2026-07-21 17:28:59'::timestamp) - extract(epoch from '2026-07-21 17:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630076 -3.631779)'), GeomFromEWKT('SRID=4674;POINT (-38.630106 -3.631768)'))) / (select extract(epoch from '2026-07-21 17:28:59'::timestamp) - extract(epoch from '2026-07-21 17:28:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630142 -3.631749)', '2026-07-21 17:29:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630106 -3.631768)'), GeomFromEWKT('SRID=4674;POINT (-38.630142 -3.631749)'))) / (select extract(epoch from '2026-07-21 17:29:06'::timestamp) - extract(epoch from '2026-07-21 17:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630106 -3.631768)'), GeomFromEWKT('SRID=4674;POINT (-38.630142 -3.631749)'))) / (select extract(epoch from '2026-07-21 17:29:06'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.630151 -3.631746)', '2026-07-21 17:29:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630142 -3.631749)'), GeomFromEWKT('SRID=4674;POINT (-38.630151 -3.631746)'))) / (select extract(epoch from '2026-07-21 17:29:07'::timestamp) - extract(epoch from '2026-07-21 17:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630142 -3.631749)'), GeomFromEWKT('SRID=4674;POINT (-38.630151 -3.631746)'))) / (select extract(epoch from '2026-07-21 17:29:07'::timestamp) - extract(epoch from '2026-07-21 17:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630162 -3.631742)', '2026-07-21 17:29:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630151 -3.631746)'), GeomFromEWKT('SRID=4674;POINT (-38.630162 -3.631742)'))) / (select extract(epoch from '2026-07-21 17:29:09'::timestamp) - extract(epoch from '2026-07-21 17:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630151 -3.631746)'), GeomFromEWKT('SRID=4674;POINT (-38.630162 -3.631742)'))) / (select extract(epoch from '2026-07-21 17:29:09'::timestamp) - extract(epoch from '2026-07-21 17:29:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630196 -3.631738)', '2026-07-21 17:29:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630162 -3.631742)'), GeomFromEWKT('SRID=4674;POINT (-38.630196 -3.631738)'))) / (select extract(epoch from '2026-07-21 17:29:15'::timestamp) - extract(epoch from '2026-07-21 17:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630162 -3.631742)'), GeomFromEWKT('SRID=4674;POINT (-38.630196 -3.631738)'))) / (select extract(epoch from '2026-07-21 17:29:15'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.630225 -3.631728)', '2026-07-21 17:29:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630196 -3.631738)'), GeomFromEWKT('SRID=4674;POINT (-38.630225 -3.631728)'))) / (select extract(epoch from '2026-07-21 17:29:21'::timestamp) - extract(epoch from '2026-07-21 17:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630196 -3.631738)'), GeomFromEWKT('SRID=4674;POINT (-38.630225 -3.631728)'))) / (select extract(epoch from '2026-07-21 17:29:21'::timestamp) - extract(epoch from '2026-07-21 17:29:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630262 -3.631705)', '2026-07-21 17:29:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630225 -3.631728)'), GeomFromEWKT('SRID=4674;POINT (-38.630262 -3.631705)'))) / (select extract(epoch from '2026-07-21 17:29:29'::timestamp) - extract(epoch from '2026-07-21 17:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630225 -3.631728)'), GeomFromEWKT('SRID=4674;POINT (-38.630262 -3.631705)'))) / (select extract(epoch from '2026-07-21 17:29:29'::timestamp) - extract(epoch from '2026-07-21 17:29:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63029 -3.631686)', '2026-07-21 17:29:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630262 -3.631705)'), GeomFromEWKT('SRID=4674;POINT (-38.63029 -3.631686)'))) / (select extract(epoch from '2026-07-21 17:29:35'::timestamp) - extract(epoch from '2026-07-21 17:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630262 -3.631705)'), GeomFromEWKT('SRID=4674;POINT (-38.63029 -3.631686)'))) / (select extract(epoch from '2026-07-21 17:29:35'::timestamp) - extract(epoch from '2026-07-21 17:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630332 -3.631667)', '2026-07-21 17:29:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63029 -3.631686)'), GeomFromEWKT('SRID=4674;POINT (-38.630332 -3.631667)'))) / (select extract(epoch from '2026-07-21 17:29:43'::timestamp) - extract(epoch from '2026-07-21 17:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63029 -3.631686)'), GeomFromEWKT('SRID=4674;POINT (-38.630332 -3.631667)'))) / (select extract(epoch from '2026-07-21 17:29:43'::timestamp) - extract(epoch from '2026-07-21 17:29:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630372 -3.631654)', '2026-07-21 17:29:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630332 -3.631667)'), GeomFromEWKT('SRID=4674;POINT (-38.630372 -3.631654)'))) / (select extract(epoch from '2026-07-21 17:29:50'::timestamp) - extract(epoch from '2026-07-21 17:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630332 -3.631667)'), GeomFromEWKT('SRID=4674;POINT (-38.630372 -3.631654)'))) / (select extract(epoch from '2026-07-21 17:29:50'::timestamp) - extract(epoch from '2026-07-21 17:29:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630407 -3.631645)', '2026-07-21 17:29:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630372 -3.631654)'), GeomFromEWKT('SRID=4674;POINT (-38.630407 -3.631645)'))) / (select extract(epoch from '2026-07-21 17:29:55'::timestamp) - extract(epoch from '2026-07-21 17:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630372 -3.631654)'), GeomFromEWKT('SRID=4674;POINT (-38.630407 -3.631645)'))) / (select extract(epoch from '2026-07-21 17:29:55'::timestamp) - extract(epoch from '2026-07-21 17:29:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630438 -3.631644)', '2026-07-21 17:30:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630407 -3.631645)'), GeomFromEWKT('SRID=4674;POINT (-38.630438 -3.631644)'))) / (select extract(epoch from '2026-07-21 17:30:02'::timestamp) - extract(epoch from '2026-07-21 17:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630407 -3.631645)'), GeomFromEWKT('SRID=4674;POINT (-38.630438 -3.631644)'))) / (select extract(epoch from '2026-07-21 17:30:02'::timestamp) - extract(epoch from '2026-07-21 17:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630467 -3.631628)', '2026-07-21 17:30:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630438 -3.631644)'), GeomFromEWKT('SRID=4674;POINT (-38.630467 -3.631628)'))) / (select extract(epoch from '2026-07-21 17:30:08'::timestamp) - extract(epoch from '2026-07-21 17:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630438 -3.631644)'), GeomFromEWKT('SRID=4674;POINT (-38.630467 -3.631628)'))) / (select extract(epoch from '2026-07-21 17:30:08'::timestamp) - extract(epoch from '2026-07-21 17:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630489 -3.631621)', '2026-07-21 17:30:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630467 -3.631628)'), GeomFromEWKT('SRID=4674;POINT (-38.630489 -3.631621)'))) / (select extract(epoch from '2026-07-21 17:30:11'::timestamp) - extract(epoch from '2026-07-21 17:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630467 -3.631628)'), GeomFromEWKT('SRID=4674;POINT (-38.630489 -3.631621)'))) / (select extract(epoch from '2026-07-21 17:30:11'::timestamp) - extract(epoch from '2026-07-21 17:30:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630492 -3.631614)', '2026-07-21 17:30:13', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630489 -3.631621)'), GeomFromEWKT('SRID=4674;POINT (-38.630492 -3.631614)'))) / (select extract(epoch from '2026-07-21 17:30:13'::timestamp) - extract(epoch from '2026-07-21 17:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630489 -3.631621)'), GeomFromEWKT('SRID=4674;POINT (-38.630492 -3.631614)'))) / (select extract(epoch from '2026-07-21 17:30:13'::timestamp) - extract(epoch from '2026-07-21 17:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630522 -3.631604)', '2026-07-21 17:30:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630492 -3.631614)'), GeomFromEWKT('SRID=4674;POINT (-38.630522 -3.631604)'))) / (select extract(epoch from '2026-07-21 17:30:18'::timestamp) - extract(epoch from '2026-07-21 17:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630492 -3.631614)'), GeomFromEWKT('SRID=4674;POINT (-38.630522 -3.631604)'))) / (select extract(epoch from '2026-07-21 17:30:18'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.630544 -3.631603)', '2026-07-21 17:30:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630522 -3.631604)'), GeomFromEWKT('SRID=4674;POINT (-38.630544 -3.631603)'))) / (select extract(epoch from '2026-07-21 17:30:22'::timestamp) - extract(epoch from '2026-07-21 17:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630522 -3.631604)'), GeomFromEWKT('SRID=4674;POINT (-38.630544 -3.631603)'))) / (select extract(epoch from '2026-07-21 17:30:22'::timestamp) - extract(epoch from '2026-07-21 17:30:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630559 -3.631602)', '2026-07-21 17:30:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630544 -3.631603)'), GeomFromEWKT('SRID=4674;POINT (-38.630559 -3.631602)'))) / (select extract(epoch from '2026-07-21 17:30:24'::timestamp) - extract(epoch from '2026-07-21 17:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630544 -3.631603)'), GeomFromEWKT('SRID=4674;POINT (-38.630559 -3.631602)'))) / (select extract(epoch from '2026-07-21 17:30:24'::timestamp) - extract(epoch from '2026-07-21 17:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630572 -3.631601)', '2026-07-21 17:30:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630559 -3.631602)'), GeomFromEWKT('SRID=4674;POINT (-38.630572 -3.631601)'))) / (select extract(epoch from '2026-07-21 17:30:28'::timestamp) - extract(epoch from '2026-07-21 17:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630559 -3.631602)'), GeomFromEWKT('SRID=4674;POINT (-38.630572 -3.631601)'))) / (select extract(epoch from '2026-07-21 17:30:28'::timestamp) - extract(epoch from '2026-07-21 17:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630585 -3.631601)', '2026-07-21 17:30:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630572 -3.631601)'), GeomFromEWKT('SRID=4674;POINT (-38.630585 -3.631601)'))) / (select extract(epoch from '2026-07-21 17:30:30'::timestamp) - extract(epoch from '2026-07-21 17:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630572 -3.631601)'), GeomFromEWKT('SRID=4674;POINT (-38.630585 -3.631601)'))) / (select extract(epoch from '2026-07-21 17:30:30'::timestamp) - extract(epoch from '2026-07-21 17:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630614 -3.631604)', '2026-07-21 17:30:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630585 -3.631601)'), GeomFromEWKT('SRID=4674;POINT (-38.630614 -3.631604)'))) / (select extract(epoch from '2026-07-21 17:30:35'::timestamp) - extract(epoch from '2026-07-21 17:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630585 -3.631601)'), GeomFromEWKT('SRID=4674;POINT (-38.630614 -3.631604)'))) / (select extract(epoch from '2026-07-21 17:30:35'::timestamp) - extract(epoch from '2026-07-21 17:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630649 -3.631595)', '2026-07-21 17:30:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630614 -3.631604)'), GeomFromEWKT('SRID=4674;POINT (-38.630649 -3.631595)'))) / (select extract(epoch from '2026-07-21 17:30:42'::timestamp) - extract(epoch from '2026-07-21 17:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630614 -3.631604)'), GeomFromEWKT('SRID=4674;POINT (-38.630649 -3.631595)'))) / (select extract(epoch from '2026-07-21 17:30:42'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.630677 -3.631581)', '2026-07-21 17:30:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630649 -3.631595)'), GeomFromEWKT('SRID=4674;POINT (-38.630677 -3.631581)'))) / (select extract(epoch from '2026-07-21 17:30:48'::timestamp) - extract(epoch from '2026-07-21 17:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630649 -3.631595)'), GeomFromEWKT('SRID=4674;POINT (-38.630677 -3.631581)'))) / (select extract(epoch from '2026-07-21 17:30:48'::timestamp) - extract(epoch from '2026-07-21 17:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630693 -3.631562)', '2026-07-21 17:30:52', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630677 -3.631581)'), GeomFromEWKT('SRID=4674;POINT (-38.630693 -3.631562)'))) / (select extract(epoch from '2026-07-21 17:30:52'::timestamp) - extract(epoch from '2026-07-21 17:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630677 -3.631581)'), GeomFromEWKT('SRID=4674;POINT (-38.630693 -3.631562)'))) / (select extract(epoch from '2026-07-21 17:30:52'::timestamp) - extract(epoch from '2026-07-21 17:30:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630714 -3.631561)', '2026-07-21 17:30:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630693 -3.631562)'), GeomFromEWKT('SRID=4674;POINT (-38.630714 -3.631561)'))) / (select extract(epoch from '2026-07-21 17:30:54'::timestamp) - extract(epoch from '2026-07-21 17:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630693 -3.631562)'), GeomFromEWKT('SRID=4674;POINT (-38.630714 -3.631561)'))) / (select extract(epoch from '2026-07-21 17:30:54'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.630748 -3.631552)', '2026-07-21 17:31:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630714 -3.631561)'), GeomFromEWKT('SRID=4674;POINT (-38.630748 -3.631552)'))) / (select extract(epoch from '2026-07-21 17:31:00'::timestamp) - extract(epoch from '2026-07-21 17:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630714 -3.631561)'), GeomFromEWKT('SRID=4674;POINT (-38.630748 -3.631552)'))) / (select extract(epoch from '2026-07-21 17:31:00'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.630762 -3.631541)', '2026-07-21 17:31:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630748 -3.631552)'), GeomFromEWKT('SRID=4674;POINT (-38.630762 -3.631541)'))) / (select extract(epoch from '2026-07-21 17:31:04'::timestamp) - extract(epoch from '2026-07-21 17:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630748 -3.631552)'), GeomFromEWKT('SRID=4674;POINT (-38.630762 -3.631541)'))) / (select extract(epoch from '2026-07-21 17:31:04'::timestamp) - extract(epoch from '2026-07-21 17:31:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630776 -3.631541)', '2026-07-21 17:31:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630762 -3.631541)'), GeomFromEWKT('SRID=4674;POINT (-38.630776 -3.631541)'))) / (select extract(epoch from '2026-07-21 17:31:05'::timestamp) - extract(epoch from '2026-07-21 17:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630762 -3.631541)'), GeomFromEWKT('SRID=4674;POINT (-38.630776 -3.631541)'))) / (select extract(epoch from '2026-07-21 17:31:05'::timestamp) - extract(epoch from '2026-07-21 17:31:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630792 -3.631526)', '2026-07-21 17:31:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630776 -3.631541)'), GeomFromEWKT('SRID=4674;POINT (-38.630792 -3.631526)'))) / (select extract(epoch from '2026-07-21 17:31:09'::timestamp) - extract(epoch from '2026-07-21 17:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630776 -3.631541)'), GeomFromEWKT('SRID=4674;POINT (-38.630792 -3.631526)'))) / (select extract(epoch from '2026-07-21 17:31:09'::timestamp) - extract(epoch from '2026-07-21 17:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630823 -3.631503)', '2026-07-21 17:31:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630792 -3.631526)'), GeomFromEWKT('SRID=4674;POINT (-38.630823 -3.631503)'))) / (select extract(epoch from '2026-07-21 17:31:16'::timestamp) - extract(epoch from '2026-07-21 17:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630792 -3.631526)'), GeomFromEWKT('SRID=4674;POINT (-38.630823 -3.631503)'))) / (select extract(epoch from '2026-07-21 17:31:16'::timestamp) - extract(epoch from '2026-07-21 17:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63084 -3.631497)', '2026-07-21 17:31:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630823 -3.631503)'), GeomFromEWKT('SRID=4674;POINT (-38.63084 -3.631497)'))) / (select extract(epoch from '2026-07-21 17:31:19'::timestamp) - extract(epoch from '2026-07-21 17:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630823 -3.631503)'), GeomFromEWKT('SRID=4674;POINT (-38.63084 -3.631497)'))) / (select extract(epoch from '2026-07-21 17:31:19'::timestamp) - extract(epoch from '2026-07-21 17:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630845 -3.631489)', '2026-07-21 17:31:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63084 -3.631497)'), GeomFromEWKT('SRID=4674;POINT (-38.630845 -3.631489)'))) / (select extract(epoch from '2026-07-21 17:31:22'::timestamp) - extract(epoch from '2026-07-21 17:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63084 -3.631497)'), GeomFromEWKT('SRID=4674;POINT (-38.630845 -3.631489)'))) / (select extract(epoch from '2026-07-21 17:31:22'::timestamp) - extract(epoch from '2026-07-21 17:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630881 -3.63148)', '2026-07-21 17:31:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630845 -3.631489)'), GeomFromEWKT('SRID=4674;POINT (-38.630881 -3.63148)'))) / (select extract(epoch from '2026-07-21 17:31:26'::timestamp) - extract(epoch from '2026-07-21 17:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630845 -3.631489)'), GeomFromEWKT('SRID=4674;POINT (-38.630881 -3.63148)'))) / (select extract(epoch from '2026-07-21 17:31:26'::timestamp) - extract(epoch from '2026-07-21 17:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630899 -3.631464)', '2026-07-21 17:31:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630881 -3.63148)'), GeomFromEWKT('SRID=4674;POINT (-38.630899 -3.631464)'))) / (select extract(epoch from '2026-07-21 17:31:30'::timestamp) - extract(epoch from '2026-07-21 17:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630881 -3.63148)'), GeomFromEWKT('SRID=4674;POINT (-38.630899 -3.631464)'))) / (select extract(epoch from '2026-07-21 17:31:30'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.630909 -3.631459)', '2026-07-21 17:31:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630899 -3.631464)'), GeomFromEWKT('SRID=4674;POINT (-38.630909 -3.631459)'))) / (select extract(epoch from '2026-07-21 17:31:33'::timestamp) - extract(epoch from '2026-07-21 17:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630899 -3.631464)'), GeomFromEWKT('SRID=4674;POINT (-38.630909 -3.631459)'))) / (select extract(epoch from '2026-07-21 17:31:33'::timestamp) - extract(epoch from '2026-07-21 17:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630944 -3.631441)', '2026-07-21 17:31:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630909 -3.631459)'), GeomFromEWKT('SRID=4674;POINT (-38.630944 -3.631441)'))) / (select extract(epoch from '2026-07-21 17:31:40'::timestamp) - extract(epoch from '2026-07-21 17:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630909 -3.631459)'), GeomFromEWKT('SRID=4674;POINT (-38.630944 -3.631441)'))) / (select extract(epoch from '2026-07-21 17:31:40'::timestamp) - extract(epoch from '2026-07-21 17:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630972 -3.631428)', '2026-07-21 17:31:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630944 -3.631441)'), GeomFromEWKT('SRID=4674;POINT (-38.630972 -3.631428)'))) / (select extract(epoch from '2026-07-21 17:31:46'::timestamp) - extract(epoch from '2026-07-21 17:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630944 -3.631441)'), GeomFromEWKT('SRID=4674;POINT (-38.630972 -3.631428)'))) / (select extract(epoch from '2026-07-21 17:31:46'::timestamp) - extract(epoch from '2026-07-21 17:31:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630997 -3.63142)', '2026-07-21 17:31:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630972 -3.631428)'), GeomFromEWKT('SRID=4674;POINT (-38.630997 -3.63142)'))) / (select extract(epoch from '2026-07-21 17:31:52'::timestamp) - extract(epoch from '2026-07-21 17:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630972 -3.631428)'), GeomFromEWKT('SRID=4674;POINT (-38.630997 -3.63142)'))) / (select extract(epoch from '2026-07-21 17:31:52'::timestamp) - extract(epoch from '2026-07-21 17:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631029 -3.631416)', '2026-07-21 17:32:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630997 -3.63142)'), GeomFromEWKT('SRID=4674;POINT (-38.631029 -3.631416)'))) / (select extract(epoch from '2026-07-21 17:32:00'::timestamp) - extract(epoch from '2026-07-21 17:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630997 -3.63142)'), GeomFromEWKT('SRID=4674;POINT (-38.631029 -3.631416)'))) / (select extract(epoch from '2026-07-21 17:32:00'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.631056 -3.631404)', '2026-07-21 17:32:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631029 -3.631416)'), GeomFromEWKT('SRID=4674;POINT (-38.631056 -3.631404)'))) / (select extract(epoch from '2026-07-21 17:32:05'::timestamp) - extract(epoch from '2026-07-21 17:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631029 -3.631416)'), GeomFromEWKT('SRID=4674;POINT (-38.631056 -3.631404)'))) / (select extract(epoch from '2026-07-21 17:32:05'::timestamp) - extract(epoch from '2026-07-21 17:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631078 -3.631402)', '2026-07-21 17:32:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631056 -3.631404)'), GeomFromEWKT('SRID=4674;POINT (-38.631078 -3.631402)'))) / (select extract(epoch from '2026-07-21 17:32:08'::timestamp) - extract(epoch from '2026-07-21 17:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631056 -3.631404)'), GeomFromEWKT('SRID=4674;POINT (-38.631078 -3.631402)'))) / (select extract(epoch from '2026-07-21 17:32:08'::timestamp) - extract(epoch from '2026-07-21 17:32:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631091 -3.631393)', '2026-07-21 17:32:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631078 -3.631402)'), GeomFromEWKT('SRID=4674;POINT (-38.631091 -3.631393)'))) / (select extract(epoch from '2026-07-21 17:32:11'::timestamp) - extract(epoch from '2026-07-21 17:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631078 -3.631402)'), GeomFromEWKT('SRID=4674;POINT (-38.631091 -3.631393)'))) / (select extract(epoch from '2026-07-21 17:32:11'::timestamp) - extract(epoch from '2026-07-21 17:32:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631098 -3.63139)', '2026-07-21 17:32:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631091 -3.631393)'), GeomFromEWKT('SRID=4674;POINT (-38.631098 -3.63139)'))) / (select extract(epoch from '2026-07-21 17:32:12'::timestamp) - extract(epoch from '2026-07-21 17:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631091 -3.631393)'), GeomFromEWKT('SRID=4674;POINT (-38.631098 -3.63139)'))) / (select extract(epoch from '2026-07-21 17:32:12'::timestamp) - extract(epoch from '2026-07-21 17:32:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631122 -3.631386)', '2026-07-21 17:32:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631098 -3.63139)'), GeomFromEWKT('SRID=4674;POINT (-38.631122 -3.631386)'))) / (select extract(epoch from '2026-07-21 17:32:15'::timestamp) - extract(epoch from '2026-07-21 17:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631098 -3.63139)'), GeomFromEWKT('SRID=4674;POINT (-38.631122 -3.631386)'))) / (select extract(epoch from '2026-07-21 17:32:15'::timestamp) - extract(epoch from '2026-07-21 17:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631154 -3.631364)', '2026-07-21 17:32:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631122 -3.631386)'), GeomFromEWKT('SRID=4674;POINT (-38.631154 -3.631364)'))) / (select extract(epoch from '2026-07-21 17:32:22'::timestamp) - extract(epoch from '2026-07-21 17:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631122 -3.631386)'), GeomFromEWKT('SRID=4674;POINT (-38.631154 -3.631364)'))) / (select extract(epoch from '2026-07-21 17:32:22'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.631193 -3.631342)', '2026-07-21 17:32:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631154 -3.631364)'), GeomFromEWKT('SRID=4674;POINT (-38.631193 -3.631342)'))) / (select extract(epoch from '2026-07-21 17:32:30'::timestamp) - extract(epoch from '2026-07-21 17:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631154 -3.631364)'), GeomFromEWKT('SRID=4674;POINT (-38.631193 -3.631342)'))) / (select extract(epoch from '2026-07-21 17:32:30'::timestamp) - extract(epoch from '2026-07-21 17:32:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63121 -3.631339)', '2026-07-21 17:32:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631193 -3.631342)'), GeomFromEWKT('SRID=4674;POINT (-38.63121 -3.631339)'))) / (select extract(epoch from '2026-07-21 17:32:32'::timestamp) - extract(epoch from '2026-07-21 17:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631193 -3.631342)'), GeomFromEWKT('SRID=4674;POINT (-38.63121 -3.631339)'))) / (select extract(epoch from '2026-07-21 17:32:32'::timestamp) - extract(epoch from '2026-07-21 17:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631225 -3.631331)', '2026-07-21 17:32:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63121 -3.631339)'), GeomFromEWKT('SRID=4674;POINT (-38.631225 -3.631331)'))) / (select extract(epoch from '2026-07-21 17:32:36'::timestamp) - extract(epoch from '2026-07-21 17:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63121 -3.631339)'), GeomFromEWKT('SRID=4674;POINT (-38.631225 -3.631331)'))) / (select extract(epoch from '2026-07-21 17:32:36'::timestamp) - extract(epoch from '2026-07-21 17:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631252 -3.631322)', '2026-07-21 17:32:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631225 -3.631331)'), GeomFromEWKT('SRID=4674;POINT (-38.631252 -3.631322)'))) / (select extract(epoch from '2026-07-21 17:32:41'::timestamp) - extract(epoch from '2026-07-21 17:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631225 -3.631331)'), GeomFromEWKT('SRID=4674;POINT (-38.631252 -3.631322)'))) / (select extract(epoch from '2026-07-21 17:32:41'::timestamp) - extract(epoch from '2026-07-21 17:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631285 -3.631305)', '2026-07-21 17:32:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631252 -3.631322)'), GeomFromEWKT('SRID=4674;POINT (-38.631285 -3.631305)'))) / (select extract(epoch from '2026-07-21 17:32:48'::timestamp) - extract(epoch from '2026-07-21 17:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631252 -3.631322)'), GeomFromEWKT('SRID=4674;POINT (-38.631285 -3.631305)'))) / (select extract(epoch from '2026-07-21 17:32:48'::timestamp) - extract(epoch from '2026-07-21 17:32:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631336 -3.631288)', '2026-07-21 17:32:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631285 -3.631305)'), GeomFromEWKT('SRID=4674;POINT (-38.631336 -3.631288)'))) / (select extract(epoch from '2026-07-21 17:32:56'::timestamp) - extract(epoch from '2026-07-21 17:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631285 -3.631305)'), GeomFromEWKT('SRID=4674;POINT (-38.631336 -3.631288)'))) / (select extract(epoch from '2026-07-21 17:32:56'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.631369 -3.631286)', '2026-07-21 17:33:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631336 -3.631288)'), GeomFromEWKT('SRID=4674;POINT (-38.631369 -3.631286)'))) / (select extract(epoch from '2026-07-21 17:33:01'::timestamp) - extract(epoch from '2026-07-21 17:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631336 -3.631288)'), GeomFromEWKT('SRID=4674;POINT (-38.631369 -3.631286)'))) / (select extract(epoch from '2026-07-21 17:33:01'::timestamp) - extract(epoch from '2026-07-21 17:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631377 -3.631286)', '2026-07-21 17:33:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631369 -3.631286)'), GeomFromEWKT('SRID=4674;POINT (-38.631377 -3.631286)'))) / (select extract(epoch from '2026-07-21 17:33:02'::timestamp) - extract(epoch from '2026-07-21 17:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631369 -3.631286)'), GeomFromEWKT('SRID=4674;POINT (-38.631377 -3.631286)'))) / (select extract(epoch from '2026-07-21 17:33:02'::timestamp) - extract(epoch from '2026-07-21 17:33:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631404 -3.631282)', '2026-07-21 17:33:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631377 -3.631286)'), GeomFromEWKT('SRID=4674;POINT (-38.631404 -3.631282)'))) / (select extract(epoch from '2026-07-21 17:33:08'::timestamp) - extract(epoch from '2026-07-21 17:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631377 -3.631286)'), GeomFromEWKT('SRID=4674;POINT (-38.631404 -3.631282)'))) / (select extract(epoch from '2026-07-21 17:33:08'::timestamp) - extract(epoch from '2026-07-21 17:33:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631452 -3.631274)', '2026-07-21 17:33:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631404 -3.631282)'), GeomFromEWKT('SRID=4674;POINT (-38.631452 -3.631274)'))) / (select extract(epoch from '2026-07-21 17:33:17'::timestamp) - extract(epoch from '2026-07-21 17:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631404 -3.631282)'), GeomFromEWKT('SRID=4674;POINT (-38.631452 -3.631274)'))) / (select extract(epoch from '2026-07-21 17:33:17'::timestamp) - extract(epoch from '2026-07-21 17:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631484 -3.631263)', '2026-07-21 17:33:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631452 -3.631274)'), GeomFromEWKT('SRID=4674;POINT (-38.631484 -3.631263)'))) / (select extract(epoch from '2026-07-21 17:33:23'::timestamp) - extract(epoch from '2026-07-21 17:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631452 -3.631274)'), GeomFromEWKT('SRID=4674;POINT (-38.631484 -3.631263)'))) / (select extract(epoch from '2026-07-21 17:33:23'::timestamp) - extract(epoch from '2026-07-21 17:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631502 -3.631255)', '2026-07-21 17:33:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631484 -3.631263)'), GeomFromEWKT('SRID=4674;POINT (-38.631502 -3.631255)'))) / (select extract(epoch from '2026-07-21 17:33:27'::timestamp) - extract(epoch from '2026-07-21 17:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631484 -3.631263)'), GeomFromEWKT('SRID=4674;POINT (-38.631502 -3.631255)'))) / (select extract(epoch from '2026-07-21 17:33:27'::timestamp) - extract(epoch from '2026-07-21 17:33:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631536 -3.631237)', '2026-07-21 17:33:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631502 -3.631255)'), GeomFromEWKT('SRID=4674;POINT (-38.631536 -3.631237)'))) / (select extract(epoch from '2026-07-21 17:33:34'::timestamp) - extract(epoch from '2026-07-21 17:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631502 -3.631255)'), GeomFromEWKT('SRID=4674;POINT (-38.631536 -3.631237)'))) / (select extract(epoch from '2026-07-21 17:33:34'::timestamp) - extract(epoch from '2026-07-21 17:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631566 -3.631215)', '2026-07-21 17:33:42', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631536 -3.631237)'), GeomFromEWKT('SRID=4674;POINT (-38.631566 -3.631215)'))) / (select extract(epoch from '2026-07-21 17:33:42'::timestamp) - extract(epoch from '2026-07-21 17:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631536 -3.631237)'), GeomFromEWKT('SRID=4674;POINT (-38.631566 -3.631215)'))) / (select extract(epoch from '2026-07-21 17:33:42'::timestamp) - extract(epoch from '2026-07-21 17:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631581 -3.631209)', '2026-07-21 17:33:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631566 -3.631215)'), GeomFromEWKT('SRID=4674;POINT (-38.631581 -3.631209)'))) / (select extract(epoch from '2026-07-21 17:33:44'::timestamp) - extract(epoch from '2026-07-21 17:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631566 -3.631215)'), GeomFromEWKT('SRID=4674;POINT (-38.631581 -3.631209)'))) / (select extract(epoch from '2026-07-21 17:33:44'::timestamp) - extract(epoch from '2026-07-21 17:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631588 -3.631203)', '2026-07-21 17:33:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631581 -3.631209)'), GeomFromEWKT('SRID=4674;POINT (-38.631588 -3.631203)'))) / (select extract(epoch from '2026-07-21 17:33:46'::timestamp) - extract(epoch from '2026-07-21 17:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631581 -3.631209)'), GeomFromEWKT('SRID=4674;POINT (-38.631588 -3.631203)'))) / (select extract(epoch from '2026-07-21 17:33:46'::timestamp) - extract(epoch from '2026-07-21 17:33:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631629 -3.63119)', '2026-07-21 17:33:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631588 -3.631203)'), GeomFromEWKT('SRID=4674;POINT (-38.631629 -3.63119)'))) / (select extract(epoch from '2026-07-21 17:33:54'::timestamp) - extract(epoch from '2026-07-21 17:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631588 -3.631203)'), GeomFromEWKT('SRID=4674;POINT (-38.631629 -3.63119)'))) / (select extract(epoch from '2026-07-21 17:33:54'::timestamp) - extract(epoch from '2026-07-21 17:33:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63168 -3.63118)', '2026-07-21 17:34:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631629 -3.63119)'), GeomFromEWKT('SRID=4674;POINT (-38.63168 -3.63118)'))) / (select extract(epoch from '2026-07-21 17:34:00'::timestamp) - extract(epoch from '2026-07-21 17:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631629 -3.63119)'), GeomFromEWKT('SRID=4674;POINT (-38.63168 -3.63118)'))) / (select extract(epoch from '2026-07-21 17:34:00'::timestamp) - extract(epoch from '2026-07-21 17:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631708 -3.631168)', '2026-07-21 17:34:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63168 -3.63118)'), GeomFromEWKT('SRID=4674;POINT (-38.631708 -3.631168)'))) / (select extract(epoch from '2026-07-21 17:34:05'::timestamp) - extract(epoch from '2026-07-21 17:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63168 -3.63118)'), GeomFromEWKT('SRID=4674;POINT (-38.631708 -3.631168)'))) / (select extract(epoch from '2026-07-21 17:34:05'::timestamp) - extract(epoch from '2026-07-21 17:34:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63175 -3.631166)', '2026-07-21 17:34:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631708 -3.631168)'), GeomFromEWKT('SRID=4674;POINT (-38.63175 -3.631166)'))) / (select extract(epoch from '2026-07-21 17:34:12'::timestamp) - extract(epoch from '2026-07-21 17:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631708 -3.631168)'), GeomFromEWKT('SRID=4674;POINT (-38.63175 -3.631166)'))) / (select extract(epoch from '2026-07-21 17:34:12'::timestamp) - extract(epoch from '2026-07-21 17:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63179 -3.631153)', '2026-07-21 17:34:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63175 -3.631166)'), GeomFromEWKT('SRID=4674;POINT (-38.63179 -3.631153)'))) / (select extract(epoch from '2026-07-21 17:34:20'::timestamp) - extract(epoch from '2026-07-21 17:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63175 -3.631166)'), GeomFromEWKT('SRID=4674;POINT (-38.63179 -3.631153)'))) / (select extract(epoch from '2026-07-21 17:34:20'::timestamp) - extract(epoch from '2026-07-21 17:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631817 -3.631144)', '2026-07-21 17:34:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63179 -3.631153)'), GeomFromEWKT('SRID=4674;POINT (-38.631817 -3.631144)'))) / (select extract(epoch from '2026-07-21 17:34:25'::timestamp) - extract(epoch from '2026-07-21 17:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63179 -3.631153)'), GeomFromEWKT('SRID=4674;POINT (-38.631817 -3.631144)'))) / (select extract(epoch from '2026-07-21 17:34:25'::timestamp) - extract(epoch from '2026-07-21 17:34:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631836 -3.631141)', '2026-07-21 17:34:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631817 -3.631144)'), GeomFromEWKT('SRID=4674;POINT (-38.631836 -3.631141)'))) / (select extract(epoch from '2026-07-21 17:34:30'::timestamp) - extract(epoch from '2026-07-21 17:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631817 -3.631144)'), GeomFromEWKT('SRID=4674;POINT (-38.631836 -3.631141)'))) / (select extract(epoch from '2026-07-21 17:34:30'::timestamp) - extract(epoch from '2026-07-21 17:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631876 -3.631129)', '2026-07-21 17:34:37', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631836 -3.631141)'), GeomFromEWKT('SRID=4674;POINT (-38.631876 -3.631129)'))) / (select extract(epoch from '2026-07-21 17:34:37'::timestamp) - extract(epoch from '2026-07-21 17:34:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631836 -3.631141)'), GeomFromEWKT('SRID=4674;POINT (-38.631876 -3.631129)'))) / (select extract(epoch from '2026-07-21 17:34:37'::timestamp) - extract(epoch from '2026-07-21 17:34:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631907 -3.631117)', '2026-07-21 17:34:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631876 -3.631129)'), GeomFromEWKT('SRID=4674;POINT (-38.631907 -3.631117)'))) / (select extract(epoch from '2026-07-21 17:34:43'::timestamp) - extract(epoch from '2026-07-21 17:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631876 -3.631129)'), GeomFromEWKT('SRID=4674;POINT (-38.631907 -3.631117)'))) / (select extract(epoch from '2026-07-21 17:34:43'::timestamp) - extract(epoch from '2026-07-21 17:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631937 -3.631107)', '2026-07-21 17:34:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631907 -3.631117)'), GeomFromEWKT('SRID=4674;POINT (-38.631937 -3.631107)'))) / (select extract(epoch from '2026-07-21 17:34:48'::timestamp) - extract(epoch from '2026-07-21 17:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631907 -3.631117)'), GeomFromEWKT('SRID=4674;POINT (-38.631937 -3.631107)'))) / (select extract(epoch from '2026-07-21 17:34:48'::timestamp) - extract(epoch from '2026-07-21 17:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631973 -3.631087)', '2026-07-21 17:34:55', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631937 -3.631107)'), GeomFromEWKT('SRID=4674;POINT (-38.631973 -3.631087)'))) / (select extract(epoch from '2026-07-21 17:34:55'::timestamp) - extract(epoch from '2026-07-21 17:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631937 -3.631107)'), GeomFromEWKT('SRID=4674;POINT (-38.631973 -3.631087)'))) / (select extract(epoch from '2026-07-21 17:34:55'::timestamp) - extract(epoch from '2026-07-21 17:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632009 -3.631074)', '2026-07-21 17:35:00', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631973 -3.631087)'), GeomFromEWKT('SRID=4674;POINT (-38.632009 -3.631074)'))) / (select extract(epoch from '2026-07-21 17:35:00'::timestamp) - extract(epoch from '2026-07-21 17:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631973 -3.631087)'), GeomFromEWKT('SRID=4674;POINT (-38.632009 -3.631074)'))) / (select extract(epoch from '2026-07-21 17:35:00'::timestamp) - extract(epoch from '2026-07-21 17:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632039 -3.631064)', '2026-07-21 17:35:07', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632009 -3.631074)'), GeomFromEWKT('SRID=4674;POINT (-38.632039 -3.631064)'))) / (select extract(epoch from '2026-07-21 17:35:07'::timestamp) - extract(epoch from '2026-07-21 17:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632009 -3.631074)'), GeomFromEWKT('SRID=4674;POINT (-38.632039 -3.631064)'))) / (select extract(epoch from '2026-07-21 17:35:07'::timestamp) - extract(epoch from '2026-07-21 17:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632072 -3.631052)', '2026-07-21 17:35:12', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632039 -3.631064)'), GeomFromEWKT('SRID=4674;POINT (-38.632072 -3.631052)'))) / (select extract(epoch from '2026-07-21 17:35:12'::timestamp) - extract(epoch from '2026-07-21 17:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632039 -3.631064)'), GeomFromEWKT('SRID=4674;POINT (-38.632072 -3.631052)'))) / (select extract(epoch from '2026-07-21 17:35:12'::timestamp) - extract(epoch from '2026-07-21 17:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632109 -3.63103)', '2026-07-21 17:35:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632072 -3.631052)'), GeomFromEWKT('SRID=4674;POINT (-38.632109 -3.63103)'))) / (select extract(epoch from '2026-07-21 17:35:19'::timestamp) - extract(epoch from '2026-07-21 17:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632072 -3.631052)'), GeomFromEWKT('SRID=4674;POINT (-38.632109 -3.63103)'))) / (select extract(epoch from '2026-07-21 17:35:19'::timestamp) - extract(epoch from '2026-07-21 17:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632148 -3.631018)', '2026-07-21 17:35:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632109 -3.63103)'), GeomFromEWKT('SRID=4674;POINT (-38.632148 -3.631018)'))) / (select extract(epoch from '2026-07-21 17:35:26'::timestamp) - extract(epoch from '2026-07-21 17:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632109 -3.63103)'), GeomFromEWKT('SRID=4674;POINT (-38.632148 -3.631018)'))) / (select extract(epoch from '2026-07-21 17:35:26'::timestamp) - extract(epoch from '2026-07-21 17:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632172 -3.631007)', '2026-07-21 17:35:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632148 -3.631018)'), GeomFromEWKT('SRID=4674;POINT (-38.632172 -3.631007)'))) / (select extract(epoch from '2026-07-21 17:35:31'::timestamp) - extract(epoch from '2026-07-21 17:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632148 -3.631018)'), GeomFromEWKT('SRID=4674;POINT (-38.632172 -3.631007)'))) / (select extract(epoch from '2026-07-21 17:35:31'::timestamp) - extract(epoch from '2026-07-21 17:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.6322 -3.630986)', '2026-07-21 17:35:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632172 -3.631007)'), GeomFromEWKT('SRID=4674;POINT (-38.6322 -3.630986)'))) / (select extract(epoch from '2026-07-21 17:35:37'::timestamp) - extract(epoch from '2026-07-21 17:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632172 -3.631007)'), GeomFromEWKT('SRID=4674;POINT (-38.6322 -3.630986)'))) / (select extract(epoch from '2026-07-21 17:35:37'::timestamp) - extract(epoch from '2026-07-21 17:35:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632247 -3.630969)', '2026-07-21 17:35:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6322 -3.630986)'), GeomFromEWKT('SRID=4674;POINT (-38.632247 -3.630969)'))) / (select extract(epoch from '2026-07-21 17:35:45'::timestamp) - extract(epoch from '2026-07-21 17:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6322 -3.630986)'), GeomFromEWKT('SRID=4674;POINT (-38.632247 -3.630969)'))) / (select extract(epoch from '2026-07-21 17:35:45'::timestamp) - extract(epoch from '2026-07-21 17:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63227 -3.630947)', '2026-07-21 17:35:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632247 -3.630969)'), GeomFromEWKT('SRID=4674;POINT (-38.63227 -3.630947)'))) / (select extract(epoch from '2026-07-21 17:35:51'::timestamp) - extract(epoch from '2026-07-21 17:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632247 -3.630969)'), GeomFromEWKT('SRID=4674;POINT (-38.63227 -3.630947)'))) / (select extract(epoch from '2026-07-21 17:35:51'::timestamp) - extract(epoch from '2026-07-21 17:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632307 -3.630923)', '2026-07-21 17:35:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63227 -3.630947)'), GeomFromEWKT('SRID=4674;POINT (-38.632307 -3.630923)'))) / (select extract(epoch from '2026-07-21 17:35:58'::timestamp) - extract(epoch from '2026-07-21 17:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63227 -3.630947)'), GeomFromEWKT('SRID=4674;POINT (-38.632307 -3.630923)'))) / (select extract(epoch from '2026-07-21 17:35:58'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.632326 -3.630913)', '2026-07-21 17:36:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632307 -3.630923)'), GeomFromEWKT('SRID=4674;POINT (-38.632326 -3.630913)'))) / (select extract(epoch from '2026-07-21 17:36:03'::timestamp) - extract(epoch from '2026-07-21 17:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632307 -3.630923)'), GeomFromEWKT('SRID=4674;POINT (-38.632326 -3.630913)'))) / (select extract(epoch from '2026-07-21 17:36:03'::timestamp) - extract(epoch from '2026-07-21 17:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632343 -3.630916)', '2026-07-21 17:36:05', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632326 -3.630913)'), GeomFromEWKT('SRID=4674;POINT (-38.632343 -3.630916)'))) / (select extract(epoch from '2026-07-21 17:36:05'::timestamp) - extract(epoch from '2026-07-21 17:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632326 -3.630913)'), GeomFromEWKT('SRID=4674;POINT (-38.632343 -3.630916)'))) / (select extract(epoch from '2026-07-21 17:36:05'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.632357 -3.630909)', '2026-07-21 17:36:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632343 -3.630916)'), GeomFromEWKT('SRID=4674;POINT (-38.632357 -3.630909)'))) / (select extract(epoch from '2026-07-21 17:36:09'::timestamp) - extract(epoch from '2026-07-21 17:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632343 -3.630916)'), GeomFromEWKT('SRID=4674;POINT (-38.632357 -3.630909)'))) / (select extract(epoch from '2026-07-21 17:36:09'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.632383 -3.630895)', '2026-07-21 17:36:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632357 -3.630909)'), GeomFromEWKT('SRID=4674;POINT (-38.632383 -3.630895)'))) / (select extract(epoch from '2026-07-21 17:36:15'::timestamp) - extract(epoch from '2026-07-21 17:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632357 -3.630909)'), GeomFromEWKT('SRID=4674;POINT (-38.632383 -3.630895)'))) / (select extract(epoch from '2026-07-21 17:36:15'::timestamp) - extract(epoch from '2026-07-21 17:36:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632401 -3.630895)', '2026-07-21 17:36:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632383 -3.630895)'), GeomFromEWKT('SRID=4674;POINT (-38.632401 -3.630895)'))) / (select extract(epoch from '2026-07-21 17:36:17'::timestamp) - extract(epoch from '2026-07-21 17:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632383 -3.630895)'), GeomFromEWKT('SRID=4674;POINT (-38.632401 -3.630895)'))) / (select extract(epoch from '2026-07-21 17:36:17'::timestamp) - extract(epoch from '2026-07-21 17:36:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632421 -3.630894)', '2026-07-21 17:36:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632401 -3.630895)'), GeomFromEWKT('SRID=4674;POINT (-38.632421 -3.630894)'))) / (select extract(epoch from '2026-07-21 17:36:20'::timestamp) - extract(epoch from '2026-07-21 17:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632401 -3.630895)'), GeomFromEWKT('SRID=4674;POINT (-38.632421 -3.630894)'))) / (select extract(epoch from '2026-07-21 17:36:20'::timestamp) - extract(epoch from '2026-07-21 17:36:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63247 -3.630876)', '2026-07-21 17:36:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632421 -3.630894)'), GeomFromEWKT('SRID=4674;POINT (-38.63247 -3.630876)'))) / (select extract(epoch from '2026-07-21 17:36:28'::timestamp) - extract(epoch from '2026-07-21 17:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632421 -3.630894)'), GeomFromEWKT('SRID=4674;POINT (-38.63247 -3.630876)'))) / (select extract(epoch from '2026-07-21 17:36:28'::timestamp) - extract(epoch from '2026-07-21 17:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632497 -3.630871)', '2026-07-21 17:36:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63247 -3.630876)'), GeomFromEWKT('SRID=4674;POINT (-38.632497 -3.630871)'))) / (select extract(epoch from '2026-07-21 17:36:33'::timestamp) - extract(epoch from '2026-07-21 17:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63247 -3.630876)'), GeomFromEWKT('SRID=4674;POINT (-38.632497 -3.630871)'))) / (select extract(epoch from '2026-07-21 17:36:33'::timestamp) - extract(epoch from '2026-07-21 17:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632508 -3.630872)', '2026-07-21 17:36:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632497 -3.630871)'), GeomFromEWKT('SRID=4674;POINT (-38.632508 -3.630872)'))) / (select extract(epoch from '2026-07-21 17:36:34'::timestamp) - extract(epoch from '2026-07-21 17:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632497 -3.630871)'), GeomFromEWKT('SRID=4674;POINT (-38.632508 -3.630872)'))) / (select extract(epoch from '2026-07-21 17:36:34'::timestamp) - extract(epoch from '2026-07-21 17:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632532 -3.630863)', '2026-07-21 17:36:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632508 -3.630872)'), GeomFromEWKT('SRID=4674;POINT (-38.632532 -3.630863)'))) / (select extract(epoch from '2026-07-21 17:36:39'::timestamp) - extract(epoch from '2026-07-21 17:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632508 -3.630872)'), GeomFromEWKT('SRID=4674;POINT (-38.632532 -3.630863)'))) / (select extract(epoch from '2026-07-21 17:36:39'::timestamp) - extract(epoch from '2026-07-21 17:36:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632563 -3.630844)', '2026-07-21 17:36:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632532 -3.630863)'), GeomFromEWKT('SRID=4674;POINT (-38.632563 -3.630844)'))) / (select extract(epoch from '2026-07-21 17:36:45'::timestamp) - extract(epoch from '2026-07-21 17:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632532 -3.630863)'), GeomFromEWKT('SRID=4674;POINT (-38.632563 -3.630844)'))) / (select extract(epoch from '2026-07-21 17:36:45'::timestamp) - extract(epoch from '2026-07-21 17:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63259 -3.630835)', '2026-07-21 17:36:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632563 -3.630844)'), GeomFromEWKT('SRID=4674;POINT (-38.63259 -3.630835)'))) / (select extract(epoch from '2026-07-21 17:36:51'::timestamp) - extract(epoch from '2026-07-21 17:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632563 -3.630844)'), GeomFromEWKT('SRID=4674;POINT (-38.63259 -3.630835)'))) / (select extract(epoch from '2026-07-21 17:36:51'::timestamp) - extract(epoch from '2026-07-21 17:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632626 -3.630829)', '2026-07-21 17:36:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63259 -3.630835)'), GeomFromEWKT('SRID=4674;POINT (-38.632626 -3.630829)'))) / (select extract(epoch from '2026-07-21 17:36:57'::timestamp) - extract(epoch from '2026-07-21 17:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63259 -3.630835)'), GeomFromEWKT('SRID=4674;POINT (-38.632626 -3.630829)'))) / (select extract(epoch from '2026-07-21 17:36:57'::timestamp) - extract(epoch from '2026-07-21 17:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632651 -3.630822)', '2026-07-21 17:37:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632626 -3.630829)'), GeomFromEWKT('SRID=4674;POINT (-38.632651 -3.630822)'))) / (select extract(epoch from '2026-07-21 17:37:02'::timestamp) - extract(epoch from '2026-07-21 17:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632626 -3.630829)'), GeomFromEWKT('SRID=4674;POINT (-38.632651 -3.630822)'))) / (select extract(epoch from '2026-07-21 17:37:02'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.632689 -3.630797)', '2026-07-21 17:37:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632651 -3.630822)'), GeomFromEWKT('SRID=4674;POINT (-38.632689 -3.630797)'))) / (select extract(epoch from '2026-07-21 17:37:10'::timestamp) - extract(epoch from '2026-07-21 17:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632651 -3.630822)'), GeomFromEWKT('SRID=4674;POINT (-38.632689 -3.630797)'))) / (select extract(epoch from '2026-07-21 17:37:10'::timestamp) - extract(epoch from '2026-07-21 17:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632731 -3.630777)', '2026-07-21 17:37:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632689 -3.630797)'), GeomFromEWKT('SRID=4674;POINT (-38.632731 -3.630777)'))) / (select extract(epoch from '2026-07-21 17:37:18'::timestamp) - extract(epoch from '2026-07-21 17:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632689 -3.630797)'), GeomFromEWKT('SRID=4674;POINT (-38.632731 -3.630777)'))) / (select extract(epoch from '2026-07-21 17:37:18'::timestamp) - extract(epoch from '2026-07-21 17:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63277 -3.630755)', '2026-07-21 17:37:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632731 -3.630777)'), GeomFromEWKT('SRID=4674;POINT (-38.63277 -3.630755)'))) / (select extract(epoch from '2026-07-21 17:37:26'::timestamp) - extract(epoch from '2026-07-21 17:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632731 -3.630777)'), GeomFromEWKT('SRID=4674;POINT (-38.63277 -3.630755)'))) / (select extract(epoch from '2026-07-21 17:37:26'::timestamp) - extract(epoch from '2026-07-21 17:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632801 -3.630745)', '2026-07-21 17:37:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63277 -3.630755)'), GeomFromEWKT('SRID=4674;POINT (-38.632801 -3.630745)'))) / (select extract(epoch from '2026-07-21 17:37:32'::timestamp) - extract(epoch from '2026-07-21 17:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63277 -3.630755)'), GeomFromEWKT('SRID=4674;POINT (-38.632801 -3.630745)'))) / (select extract(epoch from '2026-07-21 17:37:32'::timestamp) - extract(epoch from '2026-07-21 17:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632838 -3.630728)', '2026-07-21 17:37:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632801 -3.630745)'), GeomFromEWKT('SRID=4674;POINT (-38.632838 -3.630728)'))) / (select extract(epoch from '2026-07-21 17:37:39'::timestamp) - extract(epoch from '2026-07-21 17:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632801 -3.630745)'), GeomFromEWKT('SRID=4674;POINT (-38.632838 -3.630728)'))) / (select extract(epoch from '2026-07-21 17:37:39'::timestamp) - extract(epoch from '2026-07-21 17:37:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63286 -3.630716)', '2026-07-21 17:37:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632838 -3.630728)'), GeomFromEWKT('SRID=4674;POINT (-38.63286 -3.630716)'))) / (select extract(epoch from '2026-07-21 17:37:44'::timestamp) - extract(epoch from '2026-07-21 17:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632838 -3.630728)'), GeomFromEWKT('SRID=4674;POINT (-38.63286 -3.630716)'))) / (select extract(epoch from '2026-07-21 17:37:44'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.632891 -3.630704)', '2026-07-21 17:37:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63286 -3.630716)'), GeomFromEWKT('SRID=4674;POINT (-38.632891 -3.630704)'))) / (select extract(epoch from '2026-07-21 17:37:50'::timestamp) - extract(epoch from '2026-07-21 17:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63286 -3.630716)'), GeomFromEWKT('SRID=4674;POINT (-38.632891 -3.630704)'))) / (select extract(epoch from '2026-07-21 17:37:50'::timestamp) - extract(epoch from '2026-07-21 17:37:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632912 -3.630689)', '2026-07-21 17:37:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632891 -3.630704)'), GeomFromEWKT('SRID=4674;POINT (-38.632912 -3.630689)'))) / (select extract(epoch from '2026-07-21 17:37:55'::timestamp) - extract(epoch from '2026-07-21 17:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632891 -3.630704)'), GeomFromEWKT('SRID=4674;POINT (-38.632912 -3.630689)'))) / (select extract(epoch from '2026-07-21 17:37:55'::timestamp) - extract(epoch from '2026-07-21 17:37:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632958 -3.630676)', '2026-07-21 17:38:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632912 -3.630689)'), GeomFromEWKT('SRID=4674;POINT (-38.632958 -3.630676)'))) / (select extract(epoch from '2026-07-21 17:38:02'::timestamp) - extract(epoch from '2026-07-21 17:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632912 -3.630689)'), GeomFromEWKT('SRID=4674;POINT (-38.632958 -3.630676)'))) / (select extract(epoch from '2026-07-21 17:38:02'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.632989 -3.630664)', '2026-07-21 17:38:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632958 -3.630676)'), GeomFromEWKT('SRID=4674;POINT (-38.632989 -3.630664)'))) / (select extract(epoch from '2026-07-21 17:38:08'::timestamp) - extract(epoch from '2026-07-21 17:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632958 -3.630676)'), GeomFromEWKT('SRID=4674;POINT (-38.632989 -3.630664)'))) / (select extract(epoch from '2026-07-21 17:38:08'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.633015 -3.630649)', '2026-07-21 17:38:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632989 -3.630664)'), GeomFromEWKT('SRID=4674;POINT (-38.633015 -3.630649)'))) / (select extract(epoch from '2026-07-21 17:38:14'::timestamp) - extract(epoch from '2026-07-21 17:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632989 -3.630664)'), GeomFromEWKT('SRID=4674;POINT (-38.633015 -3.630649)'))) / (select extract(epoch from '2026-07-21 17:38:14'::timestamp) - extract(epoch from '2026-07-21 17:38:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633058 -3.630627)', '2026-07-21 17:38:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633015 -3.630649)'), GeomFromEWKT('SRID=4674;POINT (-38.633058 -3.630627)'))) / (select extract(epoch from '2026-07-21 17:38:22'::timestamp) - extract(epoch from '2026-07-21 17:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633015 -3.630649)'), GeomFromEWKT('SRID=4674;POINT (-38.633058 -3.630627)'))) / (select extract(epoch from '2026-07-21 17:38:22'::timestamp) - extract(epoch from '2026-07-21 17:38:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63309 -3.630615)', '2026-07-21 17:38:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633058 -3.630627)'), GeomFromEWKT('SRID=4674;POINT (-38.63309 -3.630615)'))) / (select extract(epoch from '2026-07-21 17:38:28'::timestamp) - extract(epoch from '2026-07-21 17:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633058 -3.630627)'), GeomFromEWKT('SRID=4674;POINT (-38.63309 -3.630615)'))) / (select extract(epoch from '2026-07-21 17:38:28'::timestamp) - extract(epoch from '2026-07-21 17:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633116 -3.630602)', '2026-07-21 17:38:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63309 -3.630615)'), GeomFromEWKT('SRID=4674;POINT (-38.633116 -3.630602)'))) / (select extract(epoch from '2026-07-21 17:38:34'::timestamp) - extract(epoch from '2026-07-21 17:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63309 -3.630615)'), GeomFromEWKT('SRID=4674;POINT (-38.633116 -3.630602)'))) / (select extract(epoch from '2026-07-21 17:38:34'::timestamp) - extract(epoch from '2026-07-21 17:38:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633148 -3.63059)', '2026-07-21 17:38:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633116 -3.630602)'), GeomFromEWKT('SRID=4674;POINT (-38.633148 -3.63059)'))) / (select extract(epoch from '2026-07-21 17:38:40'::timestamp) - extract(epoch from '2026-07-21 17:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633116 -3.630602)'), GeomFromEWKT('SRID=4674;POINT (-38.633148 -3.63059)'))) / (select extract(epoch from '2026-07-21 17:38:40'::timestamp) - extract(epoch from '2026-07-21 17:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633183 -3.630584)', '2026-07-21 17:38:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633148 -3.63059)'), GeomFromEWKT('SRID=4674;POINT (-38.633183 -3.630584)'))) / (select extract(epoch from '2026-07-21 17:38:45'::timestamp) - extract(epoch from '2026-07-21 17:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633148 -3.63059)'), GeomFromEWKT('SRID=4674;POINT (-38.633183 -3.630584)'))) / (select extract(epoch from '2026-07-21 17:38:45'::timestamp) - extract(epoch from '2026-07-21 17:38:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633216 -3.630578)', '2026-07-21 17:38:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633183 -3.630584)'), GeomFromEWKT('SRID=4674;POINT (-38.633216 -3.630578)'))) / (select extract(epoch from '2026-07-21 17:38:50'::timestamp) - extract(epoch from '2026-07-21 17:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633183 -3.630584)'), GeomFromEWKT('SRID=4674;POINT (-38.633216 -3.630578)'))) / (select extract(epoch from '2026-07-21 17:38:50'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.633221 -3.630577)', '2026-07-21 17:38:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633216 -3.630578)'), GeomFromEWKT('SRID=4674;POINT (-38.633221 -3.630577)'))) / (select extract(epoch from '2026-07-21 17:38:52'::timestamp) - extract(epoch from '2026-07-21 17:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633216 -3.630578)'), GeomFromEWKT('SRID=4674;POINT (-38.633221 -3.630577)'))) / (select extract(epoch from '2026-07-21 17:38:52'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.633258 -3.630564)', '2026-07-21 17:38:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633221 -3.630577)'), GeomFromEWKT('SRID=4674;POINT (-38.633258 -3.630564)'))) / (select extract(epoch from '2026-07-21 17:38:58'::timestamp) - extract(epoch from '2026-07-21 17:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633221 -3.630577)'), GeomFromEWKT('SRID=4674;POINT (-38.633258 -3.630564)'))) / (select extract(epoch from '2026-07-21 17:38:58'::timestamp) - extract(epoch from '2026-07-21 17:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633297 -3.630559)', '2026-07-21 17:39:04', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633258 -3.630564)'), GeomFromEWKT('SRID=4674;POINT (-38.633297 -3.630559)'))) / (select extract(epoch from '2026-07-21 17:39:04'::timestamp) - extract(epoch from '2026-07-21 17:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633258 -3.630564)'), GeomFromEWKT('SRID=4674;POINT (-38.633297 -3.630559)'))) / (select extract(epoch from '2026-07-21 17:39:04'::timestamp) - extract(epoch from '2026-07-21 17:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633336 -3.630548)', '2026-07-21 17:39:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633297 -3.630559)'), GeomFromEWKT('SRID=4674;POINT (-38.633336 -3.630548)'))) / (select extract(epoch from '2026-07-21 17:39:12'::timestamp) - extract(epoch from '2026-07-21 17:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633297 -3.630559)'), GeomFromEWKT('SRID=4674;POINT (-38.633336 -3.630548)'))) / (select extract(epoch from '2026-07-21 17:39:12'::timestamp) - extract(epoch from '2026-07-21 17:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633368 -3.630529)', '2026-07-21 17:39:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633336 -3.630548)'), GeomFromEWKT('SRID=4674;POINT (-38.633368 -3.630529)'))) / (select extract(epoch from '2026-07-21 17:39:17'::timestamp) - extract(epoch from '2026-07-21 17:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633336 -3.630548)'), GeomFromEWKT('SRID=4674;POINT (-38.633368 -3.630529)'))) / (select extract(epoch from '2026-07-21 17:39:17'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.633417 -3.630509)', '2026-07-21 17:39:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633368 -3.630529)'), GeomFromEWKT('SRID=4674;POINT (-38.633417 -3.630509)'))) / (select extract(epoch from '2026-07-21 17:39:26'::timestamp) - extract(epoch from '2026-07-21 17:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633368 -3.630529)'), GeomFromEWKT('SRID=4674;POINT (-38.633417 -3.630509)'))) / (select extract(epoch from '2026-07-21 17:39:26'::timestamp) - extract(epoch from '2026-07-21 17:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633455 -3.630497)', '2026-07-21 17:39:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633417 -3.630509)'), GeomFromEWKT('SRID=4674;POINT (-38.633455 -3.630497)'))) / (select extract(epoch from '2026-07-21 17:39:33'::timestamp) - extract(epoch from '2026-07-21 17:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633417 -3.630509)'), GeomFromEWKT('SRID=4674;POINT (-38.633455 -3.630497)'))) / (select extract(epoch from '2026-07-21 17:39:33'::timestamp) - extract(epoch from '2026-07-21 17:39:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633497 -3.630475)', '2026-07-21 17:39:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633455 -3.630497)'), GeomFromEWKT('SRID=4674;POINT (-38.633497 -3.630475)'))) / (select extract(epoch from '2026-07-21 17:39:41'::timestamp) - extract(epoch from '2026-07-21 17:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633455 -3.630497)'), GeomFromEWKT('SRID=4674;POINT (-38.633497 -3.630475)'))) / (select extract(epoch from '2026-07-21 17:39:41'::timestamp) - extract(epoch from '2026-07-21 17:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633528 -3.630455)', '2026-07-21 17:39:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633497 -3.630475)'), GeomFromEWKT('SRID=4674;POINT (-38.633528 -3.630455)'))) / (select extract(epoch from '2026-07-21 17:39:47'::timestamp) - extract(epoch from '2026-07-21 17:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633497 -3.630475)'), GeomFromEWKT('SRID=4674;POINT (-38.633528 -3.630455)'))) / (select extract(epoch from '2026-07-21 17:39:47'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.633568 -3.630447)', '2026-07-21 17:39:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633528 -3.630455)'), GeomFromEWKT('SRID=4674;POINT (-38.633568 -3.630447)'))) / (select extract(epoch from '2026-07-21 17:39:53'::timestamp) - extract(epoch from '2026-07-21 17:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633528 -3.630455)'), GeomFromEWKT('SRID=4674;POINT (-38.633568 -3.630447)'))) / (select extract(epoch from '2026-07-21 17:39:53'::timestamp) - extract(epoch from '2026-07-21 17:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633612 -3.630437)', '2026-07-21 17:40:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633568 -3.630447)'), GeomFromEWKT('SRID=4674;POINT (-38.633612 -3.630437)'))) / (select extract(epoch from '2026-07-21 17:40:01'::timestamp) - extract(epoch from '2026-07-21 17:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633568 -3.630447)'), GeomFromEWKT('SRID=4674;POINT (-38.633612 -3.630437)'))) / (select extract(epoch from '2026-07-21 17:40:01'::timestamp) - extract(epoch from '2026-07-21 17:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633634 -3.630437)', '2026-07-21 17:40:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633612 -3.630437)'), GeomFromEWKT('SRID=4674;POINT (-38.633634 -3.630437)'))) / (select extract(epoch from '2026-07-21 17:40:05'::timestamp) - extract(epoch from '2026-07-21 17:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633612 -3.630437)'), GeomFromEWKT('SRID=4674;POINT (-38.633634 -3.630437)'))) / (select extract(epoch from '2026-07-21 17:40:05'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.633648 -3.630431)', '2026-07-21 17:40:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633634 -3.630437)'), GeomFromEWKT('SRID=4674;POINT (-38.633648 -3.630431)'))) / (select extract(epoch from '2026-07-21 17:40:07'::timestamp) - extract(epoch from '2026-07-21 17:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633634 -3.630437)'), GeomFromEWKT('SRID=4674;POINT (-38.633648 -3.630431)'))) / (select extract(epoch from '2026-07-21 17:40:07'::timestamp) - extract(epoch from '2026-07-21 17:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63366 -3.630422)', '2026-07-21 17:40:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633648 -3.630431)'), GeomFromEWKT('SRID=4674;POINT (-38.63366 -3.630422)'))) / (select extract(epoch from '2026-07-21 17:40:10'::timestamp) - extract(epoch from '2026-07-21 17:40:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633648 -3.630431)'), GeomFromEWKT('SRID=4674;POINT (-38.63366 -3.630422)'))) / (select extract(epoch from '2026-07-21 17:40:10'::timestamp) - extract(epoch from '2026-07-21 17:40:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633682 -3.630427)', '2026-07-21 17:40:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63366 -3.630422)'), GeomFromEWKT('SRID=4674;POINT (-38.633682 -3.630427)'))) / (select extract(epoch from '2026-07-21 17:40:12'::timestamp) - extract(epoch from '2026-07-21 17:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63366 -3.630422)'), GeomFromEWKT('SRID=4674;POINT (-38.633682 -3.630427)'))) / (select extract(epoch from '2026-07-21 17:40:12'::timestamp) - extract(epoch from '2026-07-21 17:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633715 -3.630421)', '2026-07-21 17:40:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633682 -3.630427)'), GeomFromEWKT('SRID=4674;POINT (-38.633715 -3.630421)'))) / (select extract(epoch from '2026-07-21 17:40:18'::timestamp) - extract(epoch from '2026-07-21 17:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633682 -3.630427)'), GeomFromEWKT('SRID=4674;POINT (-38.633715 -3.630421)'))) / (select extract(epoch from '2026-07-21 17:40:18'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.633755 -3.630407)', '2026-07-21 17:40:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633715 -3.630421)'), GeomFromEWKT('SRID=4674;POINT (-38.633755 -3.630407)'))) / (select extract(epoch from '2026-07-21 17:40:25'::timestamp) - extract(epoch from '2026-07-21 17:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633715 -3.630421)'), GeomFromEWKT('SRID=4674;POINT (-38.633755 -3.630407)'))) / (select extract(epoch from '2026-07-21 17:40:25'::timestamp) - extract(epoch from '2026-07-21 17:40:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633794 -3.63039)', '2026-07-21 17:40:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633755 -3.630407)'), GeomFromEWKT('SRID=4674;POINT (-38.633794 -3.63039)'))) / (select extract(epoch from '2026-07-21 17:40:32'::timestamp) - extract(epoch from '2026-07-21 17:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633755 -3.630407)'), GeomFromEWKT('SRID=4674;POINT (-38.633794 -3.63039)'))) / (select extract(epoch from '2026-07-21 17:40:32'::timestamp) - extract(epoch from '2026-07-21 17:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633826 -3.630374)', '2026-07-21 17:40:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633794 -3.63039)'), GeomFromEWKT('SRID=4674;POINT (-38.633826 -3.630374)'))) / (select extract(epoch from '2026-07-21 17:40:38'::timestamp) - extract(epoch from '2026-07-21 17:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633794 -3.63039)'), GeomFromEWKT('SRID=4674;POINT (-38.633826 -3.630374)'))) / (select extract(epoch from '2026-07-21 17:40:38'::timestamp) - extract(epoch from '2026-07-21 17:40:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633857 -3.630356)', '2026-07-21 17:40:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633826 -3.630374)'), GeomFromEWKT('SRID=4674;POINT (-38.633857 -3.630356)'))) / (select extract(epoch from '2026-07-21 17:40:44'::timestamp) - extract(epoch from '2026-07-21 17:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633826 -3.630374)'), GeomFromEWKT('SRID=4674;POINT (-38.633857 -3.630356)'))) / (select extract(epoch from '2026-07-21 17:40:44'::timestamp) - extract(epoch from '2026-07-21 17:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633892 -3.630354)', '2026-07-21 17:40:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633857 -3.630356)'), GeomFromEWKT('SRID=4674;POINT (-38.633892 -3.630354)'))) / (select extract(epoch from '2026-07-21 17:40:50'::timestamp) - extract(epoch from '2026-07-21 17:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633857 -3.630356)'), GeomFromEWKT('SRID=4674;POINT (-38.633892 -3.630354)'))) / (select extract(epoch from '2026-07-21 17:40:50'::timestamp) - extract(epoch from '2026-07-21 17:40:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633918 -3.63035)', '2026-07-21 17:40:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633892 -3.630354)'), GeomFromEWKT('SRID=4674;POINT (-38.633918 -3.63035)'))) / (select extract(epoch from '2026-07-21 17:40:55'::timestamp) - extract(epoch from '2026-07-21 17:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633892 -3.630354)'), GeomFromEWKT('SRID=4674;POINT (-38.633918 -3.63035)'))) / (select extract(epoch from '2026-07-21 17:40:55'::timestamp) - extract(epoch from '2026-07-21 17:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633943 -3.630336)', '2026-07-21 17:41:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633918 -3.63035)'), GeomFromEWKT('SRID=4674;POINT (-38.633943 -3.630336)'))) / (select extract(epoch from '2026-07-21 17:41:00'::timestamp) - extract(epoch from '2026-07-21 17:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633918 -3.63035)'), GeomFromEWKT('SRID=4674;POINT (-38.633943 -3.630336)'))) / (select extract(epoch from '2026-07-21 17:41:00'::timestamp) - extract(epoch from '2026-07-21 17:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.633981 -3.63031)', '2026-07-21 17:41:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633943 -3.630336)'), GeomFromEWKT('SRID=4674;POINT (-38.633981 -3.63031)'))) / (select extract(epoch from '2026-07-21 17:41:08'::timestamp) - extract(epoch from '2026-07-21 17:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633943 -3.630336)'), GeomFromEWKT('SRID=4674;POINT (-38.633981 -3.63031)'))) / (select extract(epoch from '2026-07-21 17:41:08'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634003 -3.630304)', '2026-07-21 17:41:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633981 -3.63031)'), GeomFromEWKT('SRID=4674;POINT (-38.634003 -3.630304)'))) / (select extract(epoch from '2026-07-21 17:41:13'::timestamp) - extract(epoch from '2026-07-21 17:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.633981 -3.63031)'), GeomFromEWKT('SRID=4674;POINT (-38.634003 -3.630304)'))) / (select extract(epoch from '2026-07-21 17:41:13'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634027 -3.63029)', '2026-07-21 17:41:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634003 -3.630304)'), GeomFromEWKT('SRID=4674;POINT (-38.634027 -3.63029)'))) / (select extract(epoch from '2026-07-21 17:41:19'::timestamp) - extract(epoch from '2026-07-21 17:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634003 -3.630304)'), GeomFromEWKT('SRID=4674;POINT (-38.634027 -3.63029)'))) / (select extract(epoch from '2026-07-21 17:41:19'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634062 -3.630283)', '2026-07-21 17:41:25', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634027 -3.63029)'), GeomFromEWKT('SRID=4674;POINT (-38.634062 -3.630283)'))) / (select extract(epoch from '2026-07-21 17:41:25'::timestamp) - extract(epoch from '2026-07-21 17:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634027 -3.63029)'), GeomFromEWKT('SRID=4674;POINT (-38.634062 -3.630283)'))) / (select extract(epoch from '2026-07-21 17:41:25'::timestamp) - extract(epoch from '2026-07-21 17:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634084 -3.630275)', '2026-07-21 17:41:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634062 -3.630283)'), GeomFromEWKT('SRID=4674;POINT (-38.634084 -3.630275)'))) / (select extract(epoch from '2026-07-21 17:41:30'::timestamp) - extract(epoch from '2026-07-21 17:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634062 -3.630283)'), GeomFromEWKT('SRID=4674;POINT (-38.634084 -3.630275)'))) / (select extract(epoch from '2026-07-21 17:41:30'::timestamp) - extract(epoch from '2026-07-21 17:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634109 -3.630258)', '2026-07-21 17:41:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634084 -3.630275)'), GeomFromEWKT('SRID=4674;POINT (-38.634109 -3.630258)'))) / (select extract(epoch from '2026-07-21 17:41:35'::timestamp) - extract(epoch from '2026-07-21 17:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634084 -3.630275)'), GeomFromEWKT('SRID=4674;POINT (-38.634109 -3.630258)'))) / (select extract(epoch from '2026-07-21 17:41:35'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.63414 -3.630246)', '2026-07-21 17:41:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634109 -3.630258)'), GeomFromEWKT('SRID=4674;POINT (-38.63414 -3.630246)'))) / (select extract(epoch from '2026-07-21 17:41:40'::timestamp) - extract(epoch from '2026-07-21 17:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634109 -3.630258)'), GeomFromEWKT('SRID=4674;POINT (-38.63414 -3.630246)'))) / (select extract(epoch from '2026-07-21 17:41:40'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634172 -3.630229)', '2026-07-21 17:41:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63414 -3.630246)'), GeomFromEWKT('SRID=4674;POINT (-38.634172 -3.630229)'))) / (select extract(epoch from '2026-07-21 17:41:47'::timestamp) - extract(epoch from '2026-07-21 17:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63414 -3.630246)'), GeomFromEWKT('SRID=4674;POINT (-38.634172 -3.630229)'))) / (select extract(epoch from '2026-07-21 17:41:47'::timestamp) - extract(epoch from '2026-07-21 17:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634215 -3.630207)', '2026-07-21 17:41:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634172 -3.630229)'), GeomFromEWKT('SRID=4674;POINT (-38.634215 -3.630207)'))) / (select extract(epoch from '2026-07-21 17:41:55'::timestamp) - extract(epoch from '2026-07-21 17:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634172 -3.630229)'), GeomFromEWKT('SRID=4674;POINT (-38.634215 -3.630207)'))) / (select extract(epoch from '2026-07-21 17:41:55'::timestamp) - extract(epoch from '2026-07-21 17:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634261 -3.630187)', '2026-07-21 17:42:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634215 -3.630207)'), GeomFromEWKT('SRID=4674;POINT (-38.634261 -3.630187)'))) / (select extract(epoch from '2026-07-21 17:42:02'::timestamp) - extract(epoch from '2026-07-21 17:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634215 -3.630207)'), GeomFromEWKT('SRID=4674;POINT (-38.634261 -3.630187)'))) / (select extract(epoch from '2026-07-21 17:42:02'::timestamp) - extract(epoch from '2026-07-21 17:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634268 -3.630177)', '2026-07-21 17:42:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634261 -3.630187)'), GeomFromEWKT('SRID=4674;POINT (-38.634268 -3.630177)'))) / (select extract(epoch from '2026-07-21 17:42:05'::timestamp) - extract(epoch from '2026-07-21 17:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634261 -3.630187)'), GeomFromEWKT('SRID=4674;POINT (-38.634268 -3.630177)'))) / (select extract(epoch from '2026-07-21 17:42:05'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634297 -3.630166)', '2026-07-21 17:42:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634268 -3.630177)'), GeomFromEWKT('SRID=4674;POINT (-38.634297 -3.630166)'))) / (select extract(epoch from '2026-07-21 17:42:10'::timestamp) - extract(epoch from '2026-07-21 17:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634268 -3.630177)'), GeomFromEWKT('SRID=4674;POINT (-38.634297 -3.630166)'))) / (select extract(epoch from '2026-07-21 17:42:10'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634336 -3.630145)', '2026-07-21 17:42:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634297 -3.630166)'), GeomFromEWKT('SRID=4674;POINT (-38.634336 -3.630145)'))) / (select extract(epoch from '2026-07-21 17:42:17'::timestamp) - extract(epoch from '2026-07-21 17:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634297 -3.630166)'), GeomFromEWKT('SRID=4674;POINT (-38.634336 -3.630145)'))) / (select extract(epoch from '2026-07-21 17:42:17'::timestamp) - extract(epoch from '2026-07-21 17:42:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634364 -3.630127)', '2026-07-21 17:42:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634336 -3.630145)'), GeomFromEWKT('SRID=4674;POINT (-38.634364 -3.630127)'))) / (select extract(epoch from '2026-07-21 17:42:23'::timestamp) - extract(epoch from '2026-07-21 17:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634336 -3.630145)'), GeomFromEWKT('SRID=4674;POINT (-38.634364 -3.630127)'))) / (select extract(epoch from '2026-07-21 17:42:23'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634404 -3.630111)', '2026-07-21 17:42:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634364 -3.630127)'), GeomFromEWKT('SRID=4674;POINT (-38.634404 -3.630111)'))) / (select extract(epoch from '2026-07-21 17:42:30'::timestamp) - extract(epoch from '2026-07-21 17:42:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634364 -3.630127)'), GeomFromEWKT('SRID=4674;POINT (-38.634404 -3.630111)'))) / (select extract(epoch from '2026-07-21 17:42:30'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634437 -3.630089)', '2026-07-21 17:42:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634404 -3.630111)'), GeomFromEWKT('SRID=4674;POINT (-38.634437 -3.630089)'))) / (select extract(epoch from '2026-07-21 17:42:37'::timestamp) - extract(epoch from '2026-07-21 17:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634404 -3.630111)'), GeomFromEWKT('SRID=4674;POINT (-38.634437 -3.630089)'))) / (select extract(epoch from '2026-07-21 17:42:37'::timestamp) - extract(epoch from '2026-07-21 17:42:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634479 -3.630074)', '2026-07-21 17:42:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634437 -3.630089)'), GeomFromEWKT('SRID=4674;POINT (-38.634479 -3.630074)'))) / (select extract(epoch from '2026-07-21 17:42:44'::timestamp) - extract(epoch from '2026-07-21 17:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634437 -3.630089)'), GeomFromEWKT('SRID=4674;POINT (-38.634479 -3.630074)'))) / (select extract(epoch from '2026-07-21 17:42:44'::timestamp) - extract(epoch from '2026-07-21 17:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634502 -3.630069)', '2026-07-21 17:42:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634479 -3.630074)'), GeomFromEWKT('SRID=4674;POINT (-38.634502 -3.630069)'))) / (select extract(epoch from '2026-07-21 17:42:49'::timestamp) - extract(epoch from '2026-07-21 17:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634479 -3.630074)'), GeomFromEWKT('SRID=4674;POINT (-38.634502 -3.630069)'))) / (select extract(epoch from '2026-07-21 17:42:49'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634512 -3.630068)', '2026-07-21 17:42:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634502 -3.630069)'), GeomFromEWKT('SRID=4674;POINT (-38.634512 -3.630068)'))) / (select extract(epoch from '2026-07-21 17:42:50'::timestamp) - extract(epoch from '2026-07-21 17:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634502 -3.630069)'), GeomFromEWKT('SRID=4674;POINT (-38.634512 -3.630068)'))) / (select extract(epoch from '2026-07-21 17:42:50'::timestamp) - extract(epoch from '2026-07-21 17:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634522 -3.630061)', '2026-07-21 17:42:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634512 -3.630068)'), GeomFromEWKT('SRID=4674;POINT (-38.634522 -3.630061)'))) / (select extract(epoch from '2026-07-21 17:42:53'::timestamp) - extract(epoch from '2026-07-21 17:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634512 -3.630068)'), GeomFromEWKT('SRID=4674;POINT (-38.634522 -3.630061)'))) / (select extract(epoch from '2026-07-21 17:42:53'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634566 -3.630055)', '2026-07-21 17:43:00', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634522 -3.630061)'), GeomFromEWKT('SRID=4674;POINT (-38.634566 -3.630055)'))) / (select extract(epoch from '2026-07-21 17:43:00'::timestamp) - extract(epoch from '2026-07-21 17:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634522 -3.630061)'), GeomFromEWKT('SRID=4674;POINT (-38.634566 -3.630055)'))) / (select extract(epoch from '2026-07-21 17:43:00'::timestamp) - extract(epoch from '2026-07-21 17:42:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.6346 -3.630044)', '2026-07-21 17:43:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634566 -3.630055)'), GeomFromEWKT('SRID=4674;POINT (-38.6346 -3.630044)'))) / (select extract(epoch from '2026-07-21 17:43:05'::timestamp) - extract(epoch from '2026-07-21 17:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634566 -3.630055)'), GeomFromEWKT('SRID=4674;POINT (-38.6346 -3.630044)'))) / (select extract(epoch from '2026-07-21 17:43:05'::timestamp) - extract(epoch from '2026-07-21 17:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634612 -3.630034)', '2026-07-21 17:43:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6346 -3.630044)'), GeomFromEWKT('SRID=4674;POINT (-38.634612 -3.630034)'))) / (select extract(epoch from '2026-07-21 17:43:08'::timestamp) - extract(epoch from '2026-07-21 17:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6346 -3.630044)'), GeomFromEWKT('SRID=4674;POINT (-38.634612 -3.630034)'))) / (select extract(epoch from '2026-07-21 17:43:08'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634626 -3.63003)', '2026-07-21 17:43:10', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634612 -3.630034)'), GeomFromEWKT('SRID=4674;POINT (-38.634626 -3.63003)'))) / (select extract(epoch from '2026-07-21 17:43:10'::timestamp) - extract(epoch from '2026-07-21 17:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634612 -3.630034)'), GeomFromEWKT('SRID=4674;POINT (-38.634626 -3.63003)'))) / (select extract(epoch from '2026-07-21 17:43:10'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.63466 -3.630008)', '2026-07-21 17:43:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634626 -3.63003)'), GeomFromEWKT('SRID=4674;POINT (-38.63466 -3.630008)'))) / (select extract(epoch from '2026-07-21 17:43:16'::timestamp) - extract(epoch from '2026-07-21 17:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634626 -3.63003)'), GeomFromEWKT('SRID=4674;POINT (-38.63466 -3.630008)'))) / (select extract(epoch from '2026-07-21 17:43:16'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.6347 -3.629989)', '2026-07-21 17:43:22', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63466 -3.630008)'), GeomFromEWKT('SRID=4674;POINT (-38.6347 -3.629989)'))) / (select extract(epoch from '2026-07-21 17:43:22'::timestamp) - extract(epoch from '2026-07-21 17:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63466 -3.630008)'), GeomFromEWKT('SRID=4674;POINT (-38.6347 -3.629989)'))) / (select extract(epoch from '2026-07-21 17:43:22'::timestamp) - extract(epoch from '2026-07-21 17: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'), 47374, 'SRID=4674;POINT (-38.634735 -3.629982)', '2026-07-21 17:43:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6347 -3.629989)'), GeomFromEWKT('SRID=4674;POINT (-38.634735 -3.629982)'))) / (select extract(epoch from '2026-07-21 17:43:28'::timestamp) - extract(epoch from '2026-07-21 17:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6347 -3.629989)'), GeomFromEWKT('SRID=4674;POINT (-38.634735 -3.629982)'))) / (select extract(epoch from '2026-07-21 17:43:28'::timestamp) - extract(epoch from '2026-07-21 17:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63477 -3.629965)', '2026-07-21 17:43:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634735 -3.629982)'), GeomFromEWKT('SRID=4674;POINT (-38.63477 -3.629965)'))) / (select extract(epoch from '2026-07-21 17:43:35'::timestamp) - extract(epoch from '2026-07-21 17:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634735 -3.629982)'), GeomFromEWKT('SRID=4674;POINT (-38.63477 -3.629965)'))) / (select extract(epoch from '2026-07-21 17:43:35'::timestamp) - extract(epoch from '2026-07-21 17:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634821 -3.629949)', '2026-07-21 17:43:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63477 -3.629965)'), GeomFromEWKT('SRID=4674;POINT (-38.634821 -3.629949)'))) / (select extract(epoch from '2026-07-21 17:43:44'::timestamp) - extract(epoch from '2026-07-21 17:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63477 -3.629965)'), GeomFromEWKT('SRID=4674;POINT (-38.634821 -3.629949)'))) / (select extract(epoch from '2026-07-21 17:43:44'::timestamp) - extract(epoch from '2026-07-21 17:43:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634855 -3.629944)', '2026-07-21 17:43:49', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634821 -3.629949)'), GeomFromEWKT('SRID=4674;POINT (-38.634855 -3.629944)'))) / (select extract(epoch from '2026-07-21 17:43:49'::timestamp) - extract(epoch from '2026-07-21 17:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634821 -3.629949)'), GeomFromEWKT('SRID=4674;POINT (-38.634855 -3.629944)'))) / (select extract(epoch from '2026-07-21 17:43:49'::timestamp) - extract(epoch from '2026-07-21 17:43:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634899 -3.629925)', '2026-07-21 17:43:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634855 -3.629944)'), GeomFromEWKT('SRID=4674;POINT (-38.634899 -3.629925)'))) / (select extract(epoch from '2026-07-21 17:43:55'::timestamp) - extract(epoch from '2026-07-21 17:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634855 -3.629944)'), GeomFromEWKT('SRID=4674;POINT (-38.634899 -3.629925)'))) / (select extract(epoch from '2026-07-21 17:43:55'::timestamp) - extract(epoch from '2026-07-21 17:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634914 -3.629908)', '2026-07-21 17:44:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634899 -3.629925)'), GeomFromEWKT('SRID=4674;POINT (-38.634914 -3.629908)'))) / (select extract(epoch from '2026-07-21 17:44:00'::timestamp) - extract(epoch from '2026-07-21 17:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634899 -3.629925)'), GeomFromEWKT('SRID=4674;POINT (-38.634914 -3.629908)'))) / (select extract(epoch from '2026-07-21 17:44:00'::timestamp) - extract(epoch from '2026-07-21 17:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634948 -3.629891)', '2026-07-21 17:44:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634914 -3.629908)'), GeomFromEWKT('SRID=4674;POINT (-38.634948 -3.629891)'))) / (select extract(epoch from '2026-07-21 17:44:06'::timestamp) - extract(epoch from '2026-07-21 17:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634914 -3.629908)'), GeomFromEWKT('SRID=4674;POINT (-38.634948 -3.629891)'))) / (select extract(epoch from '2026-07-21 17:44:06'::timestamp) - extract(epoch from '2026-07-21 17:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.634982 -3.629873)', '2026-07-21 17:44:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634948 -3.629891)'), GeomFromEWKT('SRID=4674;POINT (-38.634982 -3.629873)'))) / (select extract(epoch from '2026-07-21 17:44:12'::timestamp) - extract(epoch from '2026-07-21 17:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634948 -3.629891)'), GeomFromEWKT('SRID=4674;POINT (-38.634982 -3.629873)'))) / (select extract(epoch from '2026-07-21 17:44:12'::timestamp) - extract(epoch from '2026-07-21 17:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635016 -3.629857)', '2026-07-21 17:44:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634982 -3.629873)'), GeomFromEWKT('SRID=4674;POINT (-38.635016 -3.629857)'))) / (select extract(epoch from '2026-07-21 17:44:18'::timestamp) - extract(epoch from '2026-07-21 17:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.634982 -3.629873)'), GeomFromEWKT('SRID=4674;POINT (-38.635016 -3.629857)'))) / (select extract(epoch from '2026-07-21 17:44:18'::timestamp) - extract(epoch from '2026-07-21 17:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635047 -3.629849)', '2026-07-21 17:44:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635016 -3.629857)'), GeomFromEWKT('SRID=4674;POINT (-38.635047 -3.629849)'))) / (select extract(epoch from '2026-07-21 17:44:22'::timestamp) - extract(epoch from '2026-07-21 17:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635016 -3.629857)'), GeomFromEWKT('SRID=4674;POINT (-38.635047 -3.629849)'))) / (select extract(epoch from '2026-07-21 17:44:22'::timestamp) - extract(epoch from '2026-07-21 17:44:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635072 -3.629839)', '2026-07-21 17:44:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635047 -3.629849)'), GeomFromEWKT('SRID=4674;POINT (-38.635072 -3.629839)'))) / (select extract(epoch from '2026-07-21 17:44:26'::timestamp) - extract(epoch from '2026-07-21 17:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635047 -3.629849)'), GeomFromEWKT('SRID=4674;POINT (-38.635072 -3.629839)'))) / (select extract(epoch from '2026-07-21 17:44:26'::timestamp) - extract(epoch from '2026-07-21 17:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635078 -3.629835)', '2026-07-21 17:44:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635072 -3.629839)'), GeomFromEWKT('SRID=4674;POINT (-38.635078 -3.629835)'))) / (select extract(epoch from '2026-07-21 17:44:27'::timestamp) - extract(epoch from '2026-07-21 17:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635072 -3.629839)'), GeomFromEWKT('SRID=4674;POINT (-38.635078 -3.629835)'))) / (select extract(epoch from '2026-07-21 17:44:27'::timestamp) - extract(epoch from '2026-07-21 17:44:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635108 -3.629834)', '2026-07-21 17:44:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635078 -3.629835)'), GeomFromEWKT('SRID=4674;POINT (-38.635108 -3.629834)'))) / (select extract(epoch from '2026-07-21 17:44:32'::timestamp) - extract(epoch from '2026-07-21 17:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635078 -3.629835)'), GeomFromEWKT('SRID=4674;POINT (-38.635108 -3.629834)'))) / (select extract(epoch from '2026-07-21 17:44:32'::timestamp) - extract(epoch from '2026-07-21 17:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63512 -3.629832)', '2026-07-21 17:44:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635108 -3.629834)'), GeomFromEWKT('SRID=4674;POINT (-38.63512 -3.629832)'))) / (select extract(epoch from '2026-07-21 17:44:33'::timestamp) - extract(epoch from '2026-07-21 17:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635108 -3.629834)'), GeomFromEWKT('SRID=4674;POINT (-38.63512 -3.629832)'))) / (select extract(epoch from '2026-07-21 17:44:33'::timestamp) - extract(epoch from '2026-07-21 17:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63514 -3.629818)', '2026-07-21 17:44:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63512 -3.629832)'), GeomFromEWKT('SRID=4674;POINT (-38.63514 -3.629818)'))) / (select extract(epoch from '2026-07-21 17:44:37'::timestamp) - extract(epoch from '2026-07-21 17:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63512 -3.629832)'), GeomFromEWKT('SRID=4674;POINT (-38.63514 -3.629818)'))) / (select extract(epoch from '2026-07-21 17:44:37'::timestamp) - extract(epoch from '2026-07-21 17:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635176 -3.629796)', '2026-07-21 17:44:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63514 -3.629818)'), GeomFromEWKT('SRID=4674;POINT (-38.635176 -3.629796)'))) / (select extract(epoch from '2026-07-21 17:44:44'::timestamp) - extract(epoch from '2026-07-21 17:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63514 -3.629818)'), GeomFromEWKT('SRID=4674;POINT (-38.635176 -3.629796)'))) / (select extract(epoch from '2026-07-21 17:44:44'::timestamp) - extract(epoch from '2026-07-21 17:44:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635214 -3.629776)', '2026-07-21 17:44:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635176 -3.629796)'), GeomFromEWKT('SRID=4674;POINT (-38.635214 -3.629776)'))) / (select extract(epoch from '2026-07-21 17:44:51'::timestamp) - extract(epoch from '2026-07-21 17:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635176 -3.629796)'), GeomFromEWKT('SRID=4674;POINT (-38.635214 -3.629776)'))) / (select extract(epoch from '2026-07-21 17:44:51'::timestamp) - extract(epoch from '2026-07-21 17:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635252 -3.629757)', '2026-07-21 17:44:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635214 -3.629776)'), GeomFromEWKT('SRID=4674;POINT (-38.635252 -3.629757)'))) / (select extract(epoch from '2026-07-21 17:44:58'::timestamp) - extract(epoch from '2026-07-21 17:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635214 -3.629776)'), GeomFromEWKT('SRID=4674;POINT (-38.635252 -3.629757)'))) / (select extract(epoch from '2026-07-21 17:44:58'::timestamp) - extract(epoch from '2026-07-21 17:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635276 -3.629745)', '2026-07-21 17:45:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635252 -3.629757)'), GeomFromEWKT('SRID=4674;POINT (-38.635276 -3.629745)'))) / (select extract(epoch from '2026-07-21 17:45:03'::timestamp) - extract(epoch from '2026-07-21 17:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635252 -3.629757)'), GeomFromEWKT('SRID=4674;POINT (-38.635276 -3.629745)'))) / (select extract(epoch from '2026-07-21 17:45:03'::timestamp) - extract(epoch from '2026-07-21 17:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635319 -3.629731)', '2026-07-21 17:45:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635276 -3.629745)'), GeomFromEWKT('SRID=4674;POINT (-38.635319 -3.629731)'))) / (select extract(epoch from '2026-07-21 17:45:10'::timestamp) - extract(epoch from '2026-07-21 17:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635276 -3.629745)'), GeomFromEWKT('SRID=4674;POINT (-38.635319 -3.629731)'))) / (select extract(epoch from '2026-07-21 17:45:10'::timestamp) - extract(epoch from '2026-07-21 17:45:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635362 -3.629727)', '2026-07-21 17:45:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635319 -3.629731)'), GeomFromEWKT('SRID=4674;POINT (-38.635362 -3.629727)'))) / (select extract(epoch from '2026-07-21 17:45:17'::timestamp) - extract(epoch from '2026-07-21 17:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635319 -3.629731)'), GeomFromEWKT('SRID=4674;POINT (-38.635362 -3.629727)'))) / (select extract(epoch from '2026-07-21 17:45:17'::timestamp) - extract(epoch from '2026-07-21 17:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63541 -3.629712)', '2026-07-21 17:45:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635362 -3.629727)'), GeomFromEWKT('SRID=4674;POINT (-38.63541 -3.629712)'))) / (select extract(epoch from '2026-07-21 17:45:24'::timestamp) - extract(epoch from '2026-07-21 17:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635362 -3.629727)'), GeomFromEWKT('SRID=4674;POINT (-38.63541 -3.629712)'))) / (select extract(epoch from '2026-07-21 17:45:24'::timestamp) - extract(epoch from '2026-07-21 17:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635416 -3.629694)', '2026-07-21 17:45:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63541 -3.629712)'), GeomFromEWKT('SRID=4674;POINT (-38.635416 -3.629694)'))) / (select extract(epoch from '2026-07-21 17:45:27'::timestamp) - extract(epoch from '2026-07-21 17:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63541 -3.629712)'), GeomFromEWKT('SRID=4674;POINT (-38.635416 -3.629694)'))) / (select extract(epoch from '2026-07-21 17:45:27'::timestamp) - extract(epoch from '2026-07-21 17:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635426 -3.629691)', '2026-07-21 17:45:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635416 -3.629694)'), GeomFromEWKT('SRID=4674;POINT (-38.635426 -3.629691)'))) / (select extract(epoch from '2026-07-21 17:45:28'::timestamp) - extract(epoch from '2026-07-21 17:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635416 -3.629694)'), GeomFromEWKT('SRID=4674;POINT (-38.635426 -3.629691)'))) / (select extract(epoch from '2026-07-21 17:45:28'::timestamp) - extract(epoch from '2026-07-21 17:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635452 -3.629678)', '2026-07-21 17:45:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635426 -3.629691)'), GeomFromEWKT('SRID=4674;POINT (-38.635452 -3.629678)'))) / (select extract(epoch from '2026-07-21 17:45:33'::timestamp) - extract(epoch from '2026-07-21 17:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635426 -3.629691)'), GeomFromEWKT('SRID=4674;POINT (-38.635452 -3.629678)'))) / (select extract(epoch from '2026-07-21 17:45:33'::timestamp) - extract(epoch from '2026-07-21 17:45:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635484 -3.629664)', '2026-07-21 17:45:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635452 -3.629678)'), GeomFromEWKT('SRID=4674;POINT (-38.635484 -3.629664)'))) / (select extract(epoch from '2026-07-21 17:45:38'::timestamp) - extract(epoch from '2026-07-21 17:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635452 -3.629678)'), GeomFromEWKT('SRID=4674;POINT (-38.635484 -3.629664)'))) / (select extract(epoch from '2026-07-21 17:45:38'::timestamp) - extract(epoch from '2026-07-21 17:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63549 -3.629662)', '2026-07-21 17:45:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635484 -3.629664)'), GeomFromEWKT('SRID=4674;POINT (-38.63549 -3.629662)'))) / (select extract(epoch from '2026-07-21 17:45:39'::timestamp) - extract(epoch from '2026-07-21 17:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635484 -3.629664)'), GeomFromEWKT('SRID=4674;POINT (-38.63549 -3.629662)'))) / (select extract(epoch from '2026-07-21 17:45:39'::timestamp) - extract(epoch from '2026-07-21 17:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63553 -3.629646)', '2026-07-21 17:45:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63549 -3.629662)'), GeomFromEWKT('SRID=4674;POINT (-38.63553 -3.629646)'))) / (select extract(epoch from '2026-07-21 17:45:46'::timestamp) - extract(epoch from '2026-07-21 17:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63549 -3.629662)'), GeomFromEWKT('SRID=4674;POINT (-38.63553 -3.629646)'))) / (select extract(epoch from '2026-07-21 17:45:46'::timestamp) - extract(epoch from '2026-07-21 17:45:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635562 -3.629629)', '2026-07-21 17:45:52', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63553 -3.629646)'), GeomFromEWKT('SRID=4674;POINT (-38.635562 -3.629629)'))) / (select extract(epoch from '2026-07-21 17:45:52'::timestamp) - extract(epoch from '2026-07-21 17:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63553 -3.629646)'), GeomFromEWKT('SRID=4674;POINT (-38.635562 -3.629629)'))) / (select extract(epoch from '2026-07-21 17:45:52'::timestamp) - extract(epoch from '2026-07-21 17:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635597 -3.629604)', '2026-07-21 17:45:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635562 -3.629629)'), GeomFromEWKT('SRID=4674;POINT (-38.635597 -3.629604)'))) / (select extract(epoch from '2026-07-21 17:45:59'::timestamp) - extract(epoch from '2026-07-21 17:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635562 -3.629629)'), GeomFromEWKT('SRID=4674;POINT (-38.635597 -3.629604)'))) / (select extract(epoch from '2026-07-21 17:45:59'::timestamp) - extract(epoch from '2026-07-21 17:45:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635625 -3.629585)', '2026-07-21 17:46:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635597 -3.629604)'), GeomFromEWKT('SRID=4674;POINT (-38.635625 -3.629585)'))) / (select extract(epoch from '2026-07-21 17:46:05'::timestamp) - extract(epoch from '2026-07-21 17:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635597 -3.629604)'), GeomFromEWKT('SRID=4674;POINT (-38.635625 -3.629585)'))) / (select extract(epoch from '2026-07-21 17:46:05'::timestamp) - extract(epoch from '2026-07-21 17:45:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635664 -3.629561)', '2026-07-21 17:46:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635625 -3.629585)'), GeomFromEWKT('SRID=4674;POINT (-38.635664 -3.629561)'))) / (select extract(epoch from '2026-07-21 17:46:13'::timestamp) - extract(epoch from '2026-07-21 17:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635625 -3.629585)'), GeomFromEWKT('SRID=4674;POINT (-38.635664 -3.629561)'))) / (select extract(epoch from '2026-07-21 17:46:13'::timestamp) - extract(epoch from '2026-07-21 17:46:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63571 -3.629543)', '2026-07-21 17:46:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635664 -3.629561)'), GeomFromEWKT('SRID=4674;POINT (-38.63571 -3.629543)'))) / (select extract(epoch from '2026-07-21 17:46:21'::timestamp) - extract(epoch from '2026-07-21 17:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635664 -3.629561)'), GeomFromEWKT('SRID=4674;POINT (-38.63571 -3.629543)'))) / (select extract(epoch from '2026-07-21 17:46:21'::timestamp) - extract(epoch from '2026-07-21 17:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635748 -3.629529)', '2026-07-21 17:46:28', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63571 -3.629543)'), GeomFromEWKT('SRID=4674;POINT (-38.635748 -3.629529)'))) / (select extract(epoch from '2026-07-21 17:46:28'::timestamp) - extract(epoch from '2026-07-21 17:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63571 -3.629543)'), GeomFromEWKT('SRID=4674;POINT (-38.635748 -3.629529)'))) / (select extract(epoch from '2026-07-21 17:46:28'::timestamp) - extract(epoch from '2026-07-21 17:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635781 -3.629515)', '2026-07-21 17:46:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635748 -3.629529)'), GeomFromEWKT('SRID=4674;POINT (-38.635781 -3.629515)'))) / (select extract(epoch from '2026-07-21 17:46:34'::timestamp) - extract(epoch from '2026-07-21 17:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635748 -3.629529)'), GeomFromEWKT('SRID=4674;POINT (-38.635781 -3.629515)'))) / (select extract(epoch from '2026-07-21 17:46:34'::timestamp) - extract(epoch from '2026-07-21 17:46:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63582 -3.629505)', '2026-07-21 17:46:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635781 -3.629515)'), GeomFromEWKT('SRID=4674;POINT (-38.63582 -3.629505)'))) / (select extract(epoch from '2026-07-21 17:46:41'::timestamp) - extract(epoch from '2026-07-21 17:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635781 -3.629515)'), GeomFromEWKT('SRID=4674;POINT (-38.63582 -3.629505)'))) / (select extract(epoch from '2026-07-21 17:46:41'::timestamp) - extract(epoch from '2026-07-21 17:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635839 -3.629494)', '2026-07-21 17:46:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63582 -3.629505)'), GeomFromEWKT('SRID=4674;POINT (-38.635839 -3.629494)'))) / (select extract(epoch from '2026-07-21 17:46:46'::timestamp) - extract(epoch from '2026-07-21 17:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63582 -3.629505)'), GeomFromEWKT('SRID=4674;POINT (-38.635839 -3.629494)'))) / (select extract(epoch from '2026-07-21 17:46:46'::timestamp) - extract(epoch from '2026-07-21 17:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635876 -3.629482)', '2026-07-21 17:46:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635839 -3.629494)'), GeomFromEWKT('SRID=4674;POINT (-38.635876 -3.629482)'))) / (select extract(epoch from '2026-07-21 17:46:53'::timestamp) - extract(epoch from '2026-07-21 17:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635839 -3.629494)'), GeomFromEWKT('SRID=4674;POINT (-38.635876 -3.629482)'))) / (select extract(epoch from '2026-07-21 17:46:53'::timestamp) - extract(epoch from '2026-07-21 17:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635908 -3.629468)', '2026-07-21 17:46:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635876 -3.629482)'), GeomFromEWKT('SRID=4674;POINT (-38.635908 -3.629468)'))) / (select extract(epoch from '2026-07-21 17:46:59'::timestamp) - extract(epoch from '2026-07-21 17:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635876 -3.629482)'), GeomFromEWKT('SRID=4674;POINT (-38.635908 -3.629468)'))) / (select extract(epoch from '2026-07-21 17:46:59'::timestamp) - extract(epoch from '2026-07-21 17:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635948 -3.629451)', '2026-07-21 17:47:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635908 -3.629468)'), GeomFromEWKT('SRID=4674;POINT (-38.635948 -3.629451)'))) / (select extract(epoch from '2026-07-21 17:47:06'::timestamp) - extract(epoch from '2026-07-21 17:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635908 -3.629468)'), GeomFromEWKT('SRID=4674;POINT (-38.635948 -3.629451)'))) / (select extract(epoch from '2026-07-21 17:47:06'::timestamp) - extract(epoch from '2026-07-21 17:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.635986 -3.629433)', '2026-07-21 17:47:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635948 -3.629451)'), GeomFromEWKT('SRID=4674;POINT (-38.635986 -3.629433)'))) / (select extract(epoch from '2026-07-21 17:47:12'::timestamp) - extract(epoch from '2026-07-21 17:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635948 -3.629451)'), GeomFromEWKT('SRID=4674;POINT (-38.635986 -3.629433)'))) / (select extract(epoch from '2026-07-21 17:47:12'::timestamp) - extract(epoch from '2026-07-21 17:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636024 -3.62941)', '2026-07-21 17:47:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635986 -3.629433)'), GeomFromEWKT('SRID=4674;POINT (-38.636024 -3.62941)'))) / (select extract(epoch from '2026-07-21 17:47:19'::timestamp) - extract(epoch from '2026-07-21 17:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.635986 -3.629433)'), GeomFromEWKT('SRID=4674;POINT (-38.636024 -3.62941)'))) / (select extract(epoch from '2026-07-21 17:47:19'::timestamp) - extract(epoch from '2026-07-21 17:47:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636052 -3.629402)', '2026-07-21 17:47:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636024 -3.62941)'), GeomFromEWKT('SRID=4674;POINT (-38.636052 -3.629402)'))) / (select extract(epoch from '2026-07-21 17:47:23'::timestamp) - extract(epoch from '2026-07-21 17:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636024 -3.62941)'), GeomFromEWKT('SRID=4674;POINT (-38.636052 -3.629402)'))) / (select extract(epoch from '2026-07-21 17:47:23'::timestamp) - extract(epoch from '2026-07-21 17:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636062 -3.629396)', '2026-07-21 17:47:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636052 -3.629402)'), GeomFromEWKT('SRID=4674;POINT (-38.636062 -3.629396)'))) / (select extract(epoch from '2026-07-21 17:47:25'::timestamp) - extract(epoch from '2026-07-21 17:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636052 -3.629402)'), GeomFromEWKT('SRID=4674;POINT (-38.636062 -3.629396)'))) / (select extract(epoch from '2026-07-21 17:47:25'::timestamp) - extract(epoch from '2026-07-21 17:47:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636091 -3.629379)', '2026-07-21 17:47:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636062 -3.629396)'), GeomFromEWKT('SRID=4674;POINT (-38.636091 -3.629379)'))) / (select extract(epoch from '2026-07-21 17:47:31'::timestamp) - extract(epoch from '2026-07-21 17:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636062 -3.629396)'), GeomFromEWKT('SRID=4674;POINT (-38.636091 -3.629379)'))) / (select extract(epoch from '2026-07-21 17:47:31'::timestamp) - extract(epoch from '2026-07-21 17:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63613 -3.62936)', '2026-07-21 17:47:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636091 -3.629379)'), GeomFromEWKT('SRID=4674;POINT (-38.63613 -3.62936)'))) / (select extract(epoch from '2026-07-21 17:47:37'::timestamp) - extract(epoch from '2026-07-21 17:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636091 -3.629379)'), GeomFromEWKT('SRID=4674;POINT (-38.63613 -3.62936)'))) / (select extract(epoch from '2026-07-21 17:47:37'::timestamp) - extract(epoch from '2026-07-21 17:47:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636159 -3.629328)', '2026-07-21 17:47:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63613 -3.62936)'), GeomFromEWKT('SRID=4674;POINT (-38.636159 -3.629328)'))) / (select extract(epoch from '2026-07-21 17:47:44'::timestamp) - extract(epoch from '2026-07-21 17:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63613 -3.62936)'), GeomFromEWKT('SRID=4674;POINT (-38.636159 -3.629328)'))) / (select extract(epoch from '2026-07-21 17:47:44'::timestamp) - extract(epoch from '2026-07-21 17:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636202 -3.629301)', '2026-07-21 17:47:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636159 -3.629328)'), GeomFromEWKT('SRID=4674;POINT (-38.636202 -3.629301)'))) / (select extract(epoch from '2026-07-21 17:47:51'::timestamp) - extract(epoch from '2026-07-21 17:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636159 -3.629328)'), GeomFromEWKT('SRID=4674;POINT (-38.636202 -3.629301)'))) / (select extract(epoch from '2026-07-21 17:47:51'::timestamp) - extract(epoch from '2026-07-21 17:47:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636231 -3.629269)', '2026-07-21 17:47:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636202 -3.629301)'), GeomFromEWKT('SRID=4674;POINT (-38.636231 -3.629269)'))) / (select extract(epoch from '2026-07-21 17:47:58'::timestamp) - extract(epoch from '2026-07-21 17:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636202 -3.629301)'), GeomFromEWKT('SRID=4674;POINT (-38.636231 -3.629269)'))) / (select extract(epoch from '2026-07-21 17:47:58'::timestamp) - extract(epoch from '2026-07-21 17:47:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636263 -3.629247)', '2026-07-21 17:48:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636231 -3.629269)'), GeomFromEWKT('SRID=4674;POINT (-38.636263 -3.629247)'))) / (select extract(epoch from '2026-07-21 17:48:05'::timestamp) - extract(epoch from '2026-07-21 17:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636231 -3.629269)'), GeomFromEWKT('SRID=4674;POINT (-38.636263 -3.629247)'))) / (select extract(epoch from '2026-07-21 17:48:05'::timestamp) - extract(epoch from '2026-07-21 17:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636282 -3.629241)', '2026-07-21 17:48:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636263 -3.629247)'), GeomFromEWKT('SRID=4674;POINT (-38.636282 -3.629241)'))) / (select extract(epoch from '2026-07-21 17:48:07'::timestamp) - extract(epoch from '2026-07-21 17:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636263 -3.629247)'), GeomFromEWKT('SRID=4674;POINT (-38.636282 -3.629241)'))) / (select extract(epoch from '2026-07-21 17:48:07'::timestamp) - extract(epoch from '2026-07-21 17:48:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636292 -3.629231)', '2026-07-21 17:48:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636282 -3.629241)'), GeomFromEWKT('SRID=4674;POINT (-38.636292 -3.629231)'))) / (select extract(epoch from '2026-07-21 17:48:10'::timestamp) - extract(epoch from '2026-07-21 17:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636282 -3.629241)'), GeomFromEWKT('SRID=4674;POINT (-38.636292 -3.629231)'))) / (select extract(epoch from '2026-07-21 17:48:10'::timestamp) - extract(epoch from '2026-07-21 17:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636331 -3.629219)', '2026-07-21 17:48:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636292 -3.629231)'), GeomFromEWKT('SRID=4674;POINT (-38.636331 -3.629219)'))) / (select extract(epoch from '2026-07-21 17:48:16'::timestamp) - extract(epoch from '2026-07-21 17:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636292 -3.629231)'), GeomFromEWKT('SRID=4674;POINT (-38.636331 -3.629219)'))) / (select extract(epoch from '2026-07-21 17:48:16'::timestamp) - extract(epoch from '2026-07-21 17:48:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636373 -3.629204)', '2026-07-21 17:48:23', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636331 -3.629219)'), GeomFromEWKT('SRID=4674;POINT (-38.636373 -3.629204)'))) / (select extract(epoch from '2026-07-21 17:48:23'::timestamp) - extract(epoch from '2026-07-21 17:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636331 -3.629219)'), GeomFromEWKT('SRID=4674;POINT (-38.636373 -3.629204)'))) / (select extract(epoch from '2026-07-21 17:48:23'::timestamp) - extract(epoch from '2026-07-21 17:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636397 -3.629191)', '2026-07-21 17:48:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636373 -3.629204)'), GeomFromEWKT('SRID=4674;POINT (-38.636397 -3.629191)'))) / (select extract(epoch from '2026-07-21 17:48:27'::timestamp) - extract(epoch from '2026-07-21 17:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636373 -3.629204)'), GeomFromEWKT('SRID=4674;POINT (-38.636397 -3.629191)'))) / (select extract(epoch from '2026-07-21 17:48:27'::timestamp) - extract(epoch from '2026-07-21 17:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636432 -3.629171)', '2026-07-21 17:48:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636397 -3.629191)'), GeomFromEWKT('SRID=4674;POINT (-38.636432 -3.629171)'))) / (select extract(epoch from '2026-07-21 17:48:34'::timestamp) - extract(epoch from '2026-07-21 17:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636397 -3.629191)'), GeomFromEWKT('SRID=4674;POINT (-38.636432 -3.629171)'))) / (select extract(epoch from '2026-07-21 17:48:34'::timestamp) - extract(epoch from '2026-07-21 17:48:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636458 -3.629157)', '2026-07-21 17:48:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636432 -3.629171)'), GeomFromEWKT('SRID=4674;POINT (-38.636458 -3.629157)'))) / (select extract(epoch from '2026-07-21 17:48:39'::timestamp) - extract(epoch from '2026-07-21 17:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636432 -3.629171)'), GeomFromEWKT('SRID=4674;POINT (-38.636458 -3.629157)'))) / (select extract(epoch from '2026-07-21 17:48:39'::timestamp) - extract(epoch from '2026-07-21 17:48:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636482 -3.629142)', '2026-07-21 17:48:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636458 -3.629157)'), GeomFromEWKT('SRID=4674;POINT (-38.636482 -3.629142)'))) / (select extract(epoch from '2026-07-21 17:48:43'::timestamp) - extract(epoch from '2026-07-21 17:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636458 -3.629157)'), GeomFromEWKT('SRID=4674;POINT (-38.636482 -3.629142)'))) / (select extract(epoch from '2026-07-21 17:48:43'::timestamp) - extract(epoch from '2026-07-21 17:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636518 -3.629127)', '2026-07-21 17:48:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636482 -3.629142)'), GeomFromEWKT('SRID=4674;POINT (-38.636518 -3.629127)'))) / (select extract(epoch from '2026-07-21 17:48:50'::timestamp) - extract(epoch from '2026-07-21 17:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636482 -3.629142)'), GeomFromEWKT('SRID=4674;POINT (-38.636518 -3.629127)'))) / (select extract(epoch from '2026-07-21 17:48:50'::timestamp) - extract(epoch from '2026-07-21 17:48:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636542 -3.62913)', '2026-07-21 17:48:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636518 -3.629127)'), GeomFromEWKT('SRID=4674;POINT (-38.636542 -3.62913)'))) / (select extract(epoch from '2026-07-21 17:48:54'::timestamp) - extract(epoch from '2026-07-21 17:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636518 -3.629127)'), GeomFromEWKT('SRID=4674;POINT (-38.636542 -3.62913)'))) / (select extract(epoch from '2026-07-21 17:48:54'::timestamp) - extract(epoch from '2026-07-21 17:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636548 -3.629122)', '2026-07-21 17:48:56', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636542 -3.62913)'), GeomFromEWKT('SRID=4674;POINT (-38.636548 -3.629122)'))) / (select extract(epoch from '2026-07-21 17:48:56'::timestamp) - extract(epoch from '2026-07-21 17:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636542 -3.62913)'), GeomFromEWKT('SRID=4674;POINT (-38.636548 -3.629122)'))) / (select extract(epoch from '2026-07-21 17:48:56'::timestamp) - extract(epoch from '2026-07-21 17:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636584 -3.62911)', '2026-07-21 17:49:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636548 -3.629122)'), GeomFromEWKT('SRID=4674;POINT (-38.636584 -3.62911)'))) / (select extract(epoch from '2026-07-21 17:49:02'::timestamp) - extract(epoch from '2026-07-21 17:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636548 -3.629122)'), GeomFromEWKT('SRID=4674;POINT (-38.636584 -3.62911)'))) / (select extract(epoch from '2026-07-21 17:49:02'::timestamp) - extract(epoch from '2026-07-21 17:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636615 -3.6291)', '2026-07-21 17:49:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636584 -3.62911)'), GeomFromEWKT('SRID=4674;POINT (-38.636615 -3.6291)'))) / (select extract(epoch from '2026-07-21 17:49:08'::timestamp) - extract(epoch from '2026-07-21 17:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636584 -3.62911)'), GeomFromEWKT('SRID=4674;POINT (-38.636615 -3.6291)'))) / (select extract(epoch from '2026-07-21 17:49:08'::timestamp) - extract(epoch from '2026-07-21 17:49:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636634 -3.629084)', '2026-07-21 17:49:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636615 -3.6291)'), GeomFromEWKT('SRID=4674;POINT (-38.636634 -3.629084)'))) / (select extract(epoch from '2026-07-21 17:49:13'::timestamp) - extract(epoch from '2026-07-21 17:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636615 -3.6291)'), GeomFromEWKT('SRID=4674;POINT (-38.636634 -3.629084)'))) / (select extract(epoch from '2026-07-21 17:49:13'::timestamp) - extract(epoch from '2026-07-21 17:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63665 -3.629074)', '2026-07-21 17:49:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636634 -3.629084)'), GeomFromEWKT('SRID=4674;POINT (-38.63665 -3.629074)'))) / (select extract(epoch from '2026-07-21 17:49:17'::timestamp) - extract(epoch from '2026-07-21 17:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636634 -3.629084)'), GeomFromEWKT('SRID=4674;POINT (-38.63665 -3.629074)'))) / (select extract(epoch from '2026-07-21 17:49:17'::timestamp) - extract(epoch from '2026-07-21 17:49:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636668 -3.629067)', '2026-07-21 17:49:19', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63665 -3.629074)'), GeomFromEWKT('SRID=4674;POINT (-38.636668 -3.629067)'))) / (select extract(epoch from '2026-07-21 17:49:19'::timestamp) - extract(epoch from '2026-07-21 17:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63665 -3.629074)'), GeomFromEWKT('SRID=4674;POINT (-38.636668 -3.629067)'))) / (select extract(epoch from '2026-07-21 17:49:19'::timestamp) - extract(epoch from '2026-07-21 17:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636683 -3.629064)', '2026-07-21 17:49:21', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636668 -3.629067)'), GeomFromEWKT('SRID=4674;POINT (-38.636683 -3.629064)'))) / (select extract(epoch from '2026-07-21 17:49:21'::timestamp) - extract(epoch from '2026-07-21 17:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636668 -3.629067)'), GeomFromEWKT('SRID=4674;POINT (-38.636683 -3.629064)'))) / (select extract(epoch from '2026-07-21 17:49:21'::timestamp) - extract(epoch from '2026-07-21 17:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636723 -3.629053)', '2026-07-21 17:49:28', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636683 -3.629064)'), GeomFromEWKT('SRID=4674;POINT (-38.636723 -3.629053)'))) / (select extract(epoch from '2026-07-21 17:49:28'::timestamp) - extract(epoch from '2026-07-21 17:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636683 -3.629064)'), GeomFromEWKT('SRID=4674;POINT (-38.636723 -3.629053)'))) / (select extract(epoch from '2026-07-21 17:49:28'::timestamp) - extract(epoch from '2026-07-21 17:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636745 -3.629042)', '2026-07-21 17:49:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636723 -3.629053)'), GeomFromEWKT('SRID=4674;POINT (-38.636745 -3.629042)'))) / (select extract(epoch from '2026-07-21 17:49:30'::timestamp) - extract(epoch from '2026-07-21 17:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636723 -3.629053)'), GeomFromEWKT('SRID=4674;POINT (-38.636745 -3.629042)'))) / (select extract(epoch from '2026-07-21 17:49:30'::timestamp) - extract(epoch from '2026-07-21 17:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636748 -3.629038)', '2026-07-21 17:49:31', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636745 -3.629042)'), GeomFromEWKT('SRID=4674;POINT (-38.636748 -3.629038)'))) / (select extract(epoch from '2026-07-21 17:49:31'::timestamp) - extract(epoch from '2026-07-21 17:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636745 -3.629042)'), GeomFromEWKT('SRID=4674;POINT (-38.636748 -3.629038)'))) / (select extract(epoch from '2026-07-21 17:49:31'::timestamp) - extract(epoch from '2026-07-21 17:49:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636784 -3.629014)', '2026-07-21 17:49:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636748 -3.629038)'), GeomFromEWKT('SRID=4674;POINT (-38.636784 -3.629014)'))) / (select extract(epoch from '2026-07-21 17:49:38'::timestamp) - extract(epoch from '2026-07-21 17:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636748 -3.629038)'), GeomFromEWKT('SRID=4674;POINT (-38.636784 -3.629014)'))) / (select extract(epoch from '2026-07-21 17:49:38'::timestamp) - extract(epoch from '2026-07-21 17:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636803 -3.629015)', '2026-07-21 17:49:42', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636784 -3.629014)'), GeomFromEWKT('SRID=4674;POINT (-38.636803 -3.629015)'))) / (select extract(epoch from '2026-07-21 17:49:42'::timestamp) - extract(epoch from '2026-07-21 17:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636784 -3.629014)'), GeomFromEWKT('SRID=4674;POINT (-38.636803 -3.629015)'))) / (select extract(epoch from '2026-07-21 17:49:42'::timestamp) - extract(epoch from '2026-07-21 17:49:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63681 -3.629015)', '2026-07-21 17:49:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636803 -3.629015)'), GeomFromEWKT('SRID=4674;POINT (-38.63681 -3.629015)'))) / (select extract(epoch from '2026-07-21 17:49:44'::timestamp) - extract(epoch from '2026-07-21 17:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636803 -3.629015)'), GeomFromEWKT('SRID=4674;POINT (-38.63681 -3.629015)'))) / (select extract(epoch from '2026-07-21 17:49:44'::timestamp) - extract(epoch from '2026-07-21 17:49:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636848 -3.629025)', '2026-07-21 17:49:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63681 -3.629015)'), GeomFromEWKT('SRID=4674;POINT (-38.636848 -3.629025)'))) / (select extract(epoch from '2026-07-21 17:49:52'::timestamp) - extract(epoch from '2026-07-21 17:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63681 -3.629015)'), GeomFromEWKT('SRID=4674;POINT (-38.636848 -3.629025)'))) / (select extract(epoch from '2026-07-21 17:49:52'::timestamp) - extract(epoch from '2026-07-21 17:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636882 -3.629029)', '2026-07-21 17:49:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636848 -3.629025)'), GeomFromEWKT('SRID=4674;POINT (-38.636882 -3.629029)'))) / (select extract(epoch from '2026-07-21 17:49:58'::timestamp) - extract(epoch from '2026-07-21 17:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636848 -3.629025)'), GeomFromEWKT('SRID=4674;POINT (-38.636882 -3.629029)'))) / (select extract(epoch from '2026-07-21 17:49:58'::timestamp) - extract(epoch from '2026-07-21 17:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636922 -3.629033)', '2026-07-21 17:50:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636882 -3.629029)'), GeomFromEWKT('SRID=4674;POINT (-38.636922 -3.629033)'))) / (select extract(epoch from '2026-07-21 17:50:04'::timestamp) - extract(epoch from '2026-07-21 17:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636882 -3.629029)'), GeomFromEWKT('SRID=4674;POINT (-38.636922 -3.629033)'))) / (select extract(epoch from '2026-07-21 17:50:04'::timestamp) - extract(epoch from '2026-07-21 17:49:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636966 -3.629031)', '2026-07-21 17:50:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636922 -3.629033)'), GeomFromEWKT('SRID=4674;POINT (-38.636966 -3.629031)'))) / (select extract(epoch from '2026-07-21 17:50:11'::timestamp) - extract(epoch from '2026-07-21 17:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636922 -3.629033)'), GeomFromEWKT('SRID=4674;POINT (-38.636966 -3.629031)'))) / (select extract(epoch from '2026-07-21 17:50:11'::timestamp) - extract(epoch from '2026-07-21 17:50:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.636995 -3.629028)', '2026-07-21 17:50:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636966 -3.629031)'), GeomFromEWKT('SRID=4674;POINT (-38.636995 -3.629028)'))) / (select extract(epoch from '2026-07-21 17:50:16'::timestamp) - extract(epoch from '2026-07-21 17:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636966 -3.629031)'), GeomFromEWKT('SRID=4674;POINT (-38.636995 -3.629028)'))) / (select extract(epoch from '2026-07-21 17:50:16'::timestamp) - extract(epoch from '2026-07-21 17:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637024 -3.62903)', '2026-07-21 17:50:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636995 -3.629028)'), GeomFromEWKT('SRID=4674;POINT (-38.637024 -3.62903)'))) / (select extract(epoch from '2026-07-21 17:50:22'::timestamp) - extract(epoch from '2026-07-21 17:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.636995 -3.629028)'), GeomFromEWKT('SRID=4674;POINT (-38.637024 -3.62903)'))) / (select extract(epoch from '2026-07-21 17:50:22'::timestamp) - extract(epoch from '2026-07-21 17:50:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637055 -3.629024)', '2026-07-21 17:50:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637024 -3.62903)'), GeomFromEWKT('SRID=4674;POINT (-38.637055 -3.629024)'))) / (select extract(epoch from '2026-07-21 17:50:29'::timestamp) - extract(epoch from '2026-07-21 17:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637024 -3.62903)'), GeomFromEWKT('SRID=4674;POINT (-38.637055 -3.629024)'))) / (select extract(epoch from '2026-07-21 17:50:29'::timestamp) - extract(epoch from '2026-07-21 17:50:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637071 -3.629017)', '2026-07-21 17:50:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637055 -3.629024)'), GeomFromEWKT('SRID=4674;POINT (-38.637071 -3.629017)'))) / (select extract(epoch from '2026-07-21 17:50:35'::timestamp) - extract(epoch from '2026-07-21 17:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637055 -3.629024)'), GeomFromEWKT('SRID=4674;POINT (-38.637071 -3.629017)'))) / (select extract(epoch from '2026-07-21 17:50:35'::timestamp) - extract(epoch from '2026-07-21 17:50:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637104 -3.629021)', '2026-07-21 17:50:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637071 -3.629017)'), GeomFromEWKT('SRID=4674;POINT (-38.637104 -3.629021)'))) / (select extract(epoch from '2026-07-21 17:50:41'::timestamp) - extract(epoch from '2026-07-21 17:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637071 -3.629017)'), GeomFromEWKT('SRID=4674;POINT (-38.637104 -3.629021)'))) / (select extract(epoch from '2026-07-21 17:50:41'::timestamp) - extract(epoch from '2026-07-21 17:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63713 -3.629015)', '2026-07-21 17:50:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637104 -3.629021)'), GeomFromEWKT('SRID=4674;POINT (-38.63713 -3.629015)'))) / (select extract(epoch from '2026-07-21 17:50:47'::timestamp) - extract(epoch from '2026-07-21 17:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637104 -3.629021)'), GeomFromEWKT('SRID=4674;POINT (-38.63713 -3.629015)'))) / (select extract(epoch from '2026-07-21 17:50:47'::timestamp) - extract(epoch from '2026-07-21 17:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637151 -3.628991)', '2026-07-21 17:50:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63713 -3.629015)'), GeomFromEWKT('SRID=4674;POINT (-38.637151 -3.628991)'))) / (select extract(epoch from '2026-07-21 17:50:55'::timestamp) - extract(epoch from '2026-07-21 17:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63713 -3.629015)'), GeomFromEWKT('SRID=4674;POINT (-38.637151 -3.628991)'))) / (select extract(epoch from '2026-07-21 17:50:55'::timestamp) - extract(epoch from '2026-07-21 17:50:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637184 -3.628971)', '2026-07-21 17:51:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637151 -3.628991)'), GeomFromEWKT('SRID=4674;POINT (-38.637184 -3.628971)'))) / (select extract(epoch from '2026-07-21 17:51:02'::timestamp) - extract(epoch from '2026-07-21 17:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637151 -3.628991)'), GeomFromEWKT('SRID=4674;POINT (-38.637184 -3.628971)'))) / (select extract(epoch from '2026-07-21 17:51:02'::timestamp) - extract(epoch from '2026-07-21 17:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637223 -3.628948)', '2026-07-21 17:51:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637184 -3.628971)'), GeomFromEWKT('SRID=4674;POINT (-38.637223 -3.628948)'))) / (select extract(epoch from '2026-07-21 17:51:09'::timestamp) - extract(epoch from '2026-07-21 17:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637184 -3.628971)'), GeomFromEWKT('SRID=4674;POINT (-38.637223 -3.628948)'))) / (select extract(epoch from '2026-07-21 17:51:09'::timestamp) - extract(epoch from '2026-07-21 17:51:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637239 -3.628938)', '2026-07-21 17:51:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637223 -3.628948)'), GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.628938)'))) / (select extract(epoch from '2026-07-21 17:51:13'::timestamp) - extract(epoch from '2026-07-21 17:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637223 -3.628948)'), GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.628938)'))) / (select extract(epoch from '2026-07-21 17:51:13'::timestamp) - extract(epoch from '2026-07-21 17:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637254 -3.628922)', '2026-07-21 17:51:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.628938)'), GeomFromEWKT('SRID=4674;POINT (-38.637254 -3.628922)'))) / (select extract(epoch from '2026-07-21 17:51:25'::timestamp) - extract(epoch from '2026-07-21 17:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637239 -3.628938)'), GeomFromEWKT('SRID=4674;POINT (-38.637254 -3.628922)'))) / (select extract(epoch from '2026-07-21 17:51:25'::timestamp) - extract(epoch from '2026-07-21 17:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637273 -3.628911)', '2026-07-21 17:51:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637254 -3.628922)'), GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628911)'))) / (select extract(epoch from '2026-07-21 17:51:30'::timestamp) - extract(epoch from '2026-07-21 17:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637254 -3.628922)'), GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628911)'))) / (select extract(epoch from '2026-07-21 17:51:30'::timestamp) - extract(epoch from '2026-07-21 17:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637291 -3.628897)', '2026-07-21 17:51:37', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628911)'), GeomFromEWKT('SRID=4674;POINT (-38.637291 -3.628897)'))) / (select extract(epoch from '2026-07-21 17:51:37'::timestamp) - extract(epoch from '2026-07-21 17:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637273 -3.628911)'), GeomFromEWKT('SRID=4674;POINT (-38.637291 -3.628897)'))) / (select extract(epoch from '2026-07-21 17:51:37'::timestamp) - extract(epoch from '2026-07-21 17:51:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637291 -3.628881)', '2026-07-21 17:51:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637291 -3.628897)'), GeomFromEWKT('SRID=4674;POINT (-38.637291 -3.628881)'))) / (select extract(epoch from '2026-07-21 17:51:58'::timestamp) - extract(epoch from '2026-07-21 17:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637291 -3.628897)'), GeomFromEWKT('SRID=4674;POINT (-38.637291 -3.628881)'))) / (select extract(epoch from '2026-07-21 17:51:58'::timestamp) - extract(epoch from '2026-07-21 17:51:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63729 -3.628883)', '2026-07-21 17:52:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637291 -3.628881)'), GeomFromEWKT('SRID=4674;POINT (-38.63729 -3.628883)'))) / (select extract(epoch from '2026-07-21 17:52:04'::timestamp) - extract(epoch from '2026-07-21 17:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637291 -3.628881)'), GeomFromEWKT('SRID=4674;POINT (-38.63729 -3.628883)'))) / (select extract(epoch from '2026-07-21 17:52:04'::timestamp) - extract(epoch from '2026-07-21 17:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637297 -3.628855)', '2026-07-21 17:52:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63729 -3.628883)'), GeomFromEWKT('SRID=4674;POINT (-38.637297 -3.628855)'))) / (select extract(epoch from '2026-07-21 17:52:19'::timestamp) - extract(epoch from '2026-07-21 17:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63729 -3.628883)'), GeomFromEWKT('SRID=4674;POINT (-38.637297 -3.628855)'))) / (select extract(epoch from '2026-07-21 17:52:19'::timestamp) - extract(epoch from '2026-07-21 17:52:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637296 -3.628856)', '2026-07-21 17:52:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637297 -3.628855)'), GeomFromEWKT('SRID=4674;POINT (-38.637296 -3.628856)'))) / (select extract(epoch from '2026-07-21 17:52:26'::timestamp) - extract(epoch from '2026-07-21 17:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637297 -3.628855)'), GeomFromEWKT('SRID=4674;POINT (-38.637296 -3.628856)'))) / (select extract(epoch from '2026-07-21 17:52:26'::timestamp) - extract(epoch from '2026-07-21 17:52:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637286 -3.628858)', '2026-07-21 17:52:53', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637296 -3.628856)'), GeomFromEWKT('SRID=4674;POINT (-38.637286 -3.628858)'))) / (select extract(epoch from '2026-07-21 17:52:53'::timestamp) - extract(epoch from '2026-07-21 17:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637296 -3.628856)'), GeomFromEWKT('SRID=4674;POINT (-38.637286 -3.628858)'))) / (select extract(epoch from '2026-07-21 17:52:53'::timestamp) - extract(epoch from '2026-07-21 17:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637277 -3.628856)', '2026-07-21 17:53:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637286 -3.628858)'), GeomFromEWKT('SRID=4674;POINT (-38.637277 -3.628856)'))) / (select extract(epoch from '2026-07-21 17:53:00'::timestamp) - extract(epoch from '2026-07-21 17:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637286 -3.628858)'), GeomFromEWKT('SRID=4674;POINT (-38.637277 -3.628856)'))) / (select extract(epoch from '2026-07-21 17:53:00'::timestamp) - extract(epoch from '2026-07-21 17:52:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.637264 -3.62883)', '2026-07-21 17:53:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637277 -3.628856)'), GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.62883)'))) / (select extract(epoch from '2026-07-21 17:53:34'::timestamp) - extract(epoch from '2026-07-21 17:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.637277 -3.628856)'), GeomFromEWKT('SRID=4674;POINT (-38.637264 -3.62883)'))) / (select extract(epoch from '2026-07-21 17:53:34'::timestamp) - extract(epoch from '2026-07-21 17:53:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
