 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025155 -3.36439)', '2026-07-22 19:02:46', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025188 -3.364356)'), GeomFromEWKT('SRID=4674;POINT (-39.025155 -3.36439)'))) / (select extract(epoch from '2026-07-22 19:02:46'::timestamp) - extract(epoch from '2026-07-22 19:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025188 -3.364356)'), GeomFromEWKT('SRID=4674;POINT (-39.025155 -3.36439)'))) / (select extract(epoch from '2026-07-22 19:02:46'::timestamp) - extract(epoch from '2026-07-22 19:02: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'), 47445, 'SRID=4674;POINT (-39.025129 -3.364388)', '2026-07-22 19:02:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025155 -3.36439)'), GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.364388)'))) / (select extract(epoch from '2026-07-22 19:02:53'::timestamp) - extract(epoch from '2026-07-22 19:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025155 -3.36439)'), GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.364388)'))) / (select extract(epoch from '2026-07-22 19:02:53'::timestamp) - extract(epoch from '2026-07-22 19:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025083 -3.364371)', '2026-07-22 19:03:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.364388)'), GeomFromEWKT('SRID=4674;POINT (-39.025083 -3.364371)'))) / (select extract(epoch from '2026-07-22 19:03:03'::timestamp) - extract(epoch from '2026-07-22 19:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.364388)'), GeomFromEWKT('SRID=4674;POINT (-39.025083 -3.364371)'))) / (select extract(epoch from '2026-07-22 19:03:03'::timestamp) - extract(epoch from '2026-07-22 19:02: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'), 47445, 'SRID=4674;POINT (-39.025083 -3.364376)', '2026-07-22 19:03:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025083 -3.364371)'), GeomFromEWKT('SRID=4674;POINT (-39.025083 -3.364376)'))) / (select extract(epoch from '2026-07-22 19:03:10'::timestamp) - extract(epoch from '2026-07-22 19:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025083 -3.364371)'), GeomFromEWKT('SRID=4674;POINT (-39.025083 -3.364376)'))) / (select extract(epoch from '2026-07-22 19:03:10'::timestamp) - extract(epoch from '2026-07-22 19:03:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025074 -3.364415)', '2026-07-22 19:03:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025083 -3.364376)'), GeomFromEWKT('SRID=4674;POINT (-39.025074 -3.364415)'))) / (select extract(epoch from '2026-07-22 19:03:19'::timestamp) - extract(epoch from '2026-07-22 19:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025083 -3.364376)'), GeomFromEWKT('SRID=4674;POINT (-39.025074 -3.364415)'))) / (select extract(epoch from '2026-07-22 19:03:19'::timestamp) - extract(epoch from '2026-07-22 19:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025029 -3.364439)', '2026-07-22 19:03:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025074 -3.364415)'), GeomFromEWKT('SRID=4674;POINT (-39.025029 -3.364439)'))) / (select extract(epoch from '2026-07-22 19:03:33'::timestamp) - extract(epoch from '2026-07-22 19:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025074 -3.364415)'), GeomFromEWKT('SRID=4674;POINT (-39.025029 -3.364439)'))) / (select extract(epoch from '2026-07-22 19:03:33'::timestamp) - extract(epoch from '2026-07-22 19:03: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'), 47445, 'SRID=4674;POINT (-39.024988 -3.364443)', '2026-07-22 19:03:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025029 -3.364439)'), GeomFromEWKT('SRID=4674;POINT (-39.024988 -3.364443)'))) / (select extract(epoch from '2026-07-22 19:03:45'::timestamp) - extract(epoch from '2026-07-22 19:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025029 -3.364439)'), GeomFromEWKT('SRID=4674;POINT (-39.024988 -3.364443)'))) / (select extract(epoch from '2026-07-22 19:03:45'::timestamp) - extract(epoch from '2026-07-22 19:03: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'), 47445, 'SRID=4674;POINT (-39.024981 -3.364454)', '2026-07-22 19:03:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024988 -3.364443)'), GeomFromEWKT('SRID=4674;POINT (-39.024981 -3.364454)'))) / (select extract(epoch from '2026-07-22 19:03:48'::timestamp) - extract(epoch from '2026-07-22 19:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024988 -3.364443)'), GeomFromEWKT('SRID=4674;POINT (-39.024981 -3.364454)'))) / (select extract(epoch from '2026-07-22 19:03:48'::timestamp) - extract(epoch from '2026-07-22 19:03:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024989 -3.364465)', '2026-07-22 19:03:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024981 -3.364454)'), GeomFromEWKT('SRID=4674;POINT (-39.024989 -3.364465)'))) / (select extract(epoch from '2026-07-22 19:03:50'::timestamp) - extract(epoch from '2026-07-22 19:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024981 -3.364454)'), GeomFromEWKT('SRID=4674;POINT (-39.024989 -3.364465)'))) / (select extract(epoch from '2026-07-22 19:03:50'::timestamp) - extract(epoch from '2026-07-22 19:03: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'), 47445, 'SRID=4674;POINT (-39.024973 -3.364494)', '2026-07-22 19:03:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024989 -3.364465)'), GeomFromEWKT('SRID=4674;POINT (-39.024973 -3.364494)'))) / (select extract(epoch from '2026-07-22 19:03:58'::timestamp) - extract(epoch from '2026-07-22 19:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024989 -3.364465)'), GeomFromEWKT('SRID=4674;POINT (-39.024973 -3.364494)'))) / (select extract(epoch from '2026-07-22 19:03:58'::timestamp) - extract(epoch from '2026-07-22 19:03: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'), 47445, 'SRID=4674;POINT (-39.024964 -3.364491)', '2026-07-22 19:04:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024973 -3.364494)'), GeomFromEWKT('SRID=4674;POINT (-39.024964 -3.364491)'))) / (select extract(epoch from '2026-07-22 19:04:09'::timestamp) - extract(epoch from '2026-07-22 19:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024973 -3.364494)'), GeomFromEWKT('SRID=4674;POINT (-39.024964 -3.364491)'))) / (select extract(epoch from '2026-07-22 19:04:09'::timestamp) - extract(epoch from '2026-07-22 19:03:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024945 -3.364481)', '2026-07-22 19:04:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024964 -3.364491)'), GeomFromEWKT('SRID=4674;POINT (-39.024945 -3.364481)'))) / (select extract(epoch from '2026-07-22 19:04:17'::timestamp) - extract(epoch from '2026-07-22 19:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024964 -3.364491)'), GeomFromEWKT('SRID=4674;POINT (-39.024945 -3.364481)'))) / (select extract(epoch from '2026-07-22 19:04:17'::timestamp) - extract(epoch from '2026-07-22 19:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024927 -3.364504)', '2026-07-22 19:04:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024945 -3.364481)'), GeomFromEWKT('SRID=4674;POINT (-39.024927 -3.364504)'))) / (select extract(epoch from '2026-07-22 19:04:23'::timestamp) - extract(epoch from '2026-07-22 19:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024945 -3.364481)'), GeomFromEWKT('SRID=4674;POINT (-39.024927 -3.364504)'))) / (select extract(epoch from '2026-07-22 19:04:23'::timestamp) - extract(epoch from '2026-07-22 19:04: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'), 47445, 'SRID=4674;POINT (-39.024892 -3.36454)', '2026-07-22 19:04:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024927 -3.364504)'), GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.36454)'))) / (select extract(epoch from '2026-07-22 19:04:32'::timestamp) - extract(epoch from '2026-07-22 19:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024927 -3.364504)'), GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.36454)'))) / (select extract(epoch from '2026-07-22 19:04:32'::timestamp) - extract(epoch from '2026-07-22 19:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024842 -3.364556)', '2026-07-22 19:04:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.36454)'), GeomFromEWKT('SRID=4674;POINT (-39.024842 -3.364556)'))) / (select extract(epoch from '2026-07-22 19:04:42'::timestamp) - extract(epoch from '2026-07-22 19:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024892 -3.36454)'), GeomFromEWKT('SRID=4674;POINT (-39.024842 -3.364556)'))) / (select extract(epoch from '2026-07-22 19:04:42'::timestamp) - extract(epoch from '2026-07-22 19:04: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'), 47445, 'SRID=4674;POINT (-39.024804 -3.364563)', '2026-07-22 19:04:50', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024842 -3.364556)'), GeomFromEWKT('SRID=4674;POINT (-39.024804 -3.364563)'))) / (select extract(epoch from '2026-07-22 19:04:50'::timestamp) - extract(epoch from '2026-07-22 19:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024842 -3.364556)'), GeomFromEWKT('SRID=4674;POINT (-39.024804 -3.364563)'))) / (select extract(epoch from '2026-07-22 19:04:50'::timestamp) - extract(epoch from '2026-07-22 19:04: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'), 47445, 'SRID=4674;POINT (-39.024779 -3.36459)', '2026-07-22 19:04:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024804 -3.364563)'), GeomFromEWKT('SRID=4674;POINT (-39.024779 -3.36459)'))) / (select extract(epoch from '2026-07-22 19:04:59'::timestamp) - extract(epoch from '2026-07-22 19:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024804 -3.364563)'), GeomFromEWKT('SRID=4674;POINT (-39.024779 -3.36459)'))) / (select extract(epoch from '2026-07-22 19:04:59'::timestamp) - extract(epoch from '2026-07-22 19:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024752 -3.364617)', '2026-07-22 19:05:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024779 -3.36459)'), GeomFromEWKT('SRID=4674;POINT (-39.024752 -3.364617)'))) / (select extract(epoch from '2026-07-22 19:05:07'::timestamp) - extract(epoch from '2026-07-22 19:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024779 -3.36459)'), GeomFromEWKT('SRID=4674;POINT (-39.024752 -3.364617)'))) / (select extract(epoch from '2026-07-22 19:05:07'::timestamp) - extract(epoch from '2026-07-22 19:04: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'), 47445, 'SRID=4674;POINT (-39.024721 -3.364631)', '2026-07-22 19:05:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024752 -3.364617)'), GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.364631)'))) / (select extract(epoch from '2026-07-22 19:05:13'::timestamp) - extract(epoch from '2026-07-22 19:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024752 -3.364617)'), GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.364631)'))) / (select extract(epoch from '2026-07-22 19:05:13'::timestamp) - extract(epoch from '2026-07-22 19:05: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'), 47445, 'SRID=4674;POINT (-39.024688 -3.364627)', '2026-07-22 19:05:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.364631)'), GeomFromEWKT('SRID=4674;POINT (-39.024688 -3.364627)'))) / (select extract(epoch from '2026-07-22 19:05:21'::timestamp) - extract(epoch from '2026-07-22 19:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024721 -3.364631)'), GeomFromEWKT('SRID=4674;POINT (-39.024688 -3.364627)'))) / (select extract(epoch from '2026-07-22 19:05:21'::timestamp) - extract(epoch from '2026-07-22 19:05: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'), 47445, 'SRID=4674;POINT (-39.024679 -3.36463)', '2026-07-22 19:05:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024688 -3.364627)'), GeomFromEWKT('SRID=4674;POINT (-39.024679 -3.36463)'))) / (select extract(epoch from '2026-07-22 19:05:25'::timestamp) - extract(epoch from '2026-07-22 19:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024688 -3.364627)'), GeomFromEWKT('SRID=4674;POINT (-39.024679 -3.36463)'))) / (select extract(epoch from '2026-07-22 19:05:25'::timestamp) - extract(epoch from '2026-07-22 19:05:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024672 -3.364632)', '2026-07-22 19:05:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024679 -3.36463)'), GeomFromEWKT('SRID=4674;POINT (-39.024672 -3.364632)'))) / (select extract(epoch from '2026-07-22 19:05:27'::timestamp) - extract(epoch from '2026-07-22 19:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024679 -3.36463)'), GeomFromEWKT('SRID=4674;POINT (-39.024672 -3.364632)'))) / (select extract(epoch from '2026-07-22 19:05:27'::timestamp) - extract(epoch from '2026-07-22 19:05: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'), 47445, 'SRID=4674;POINT (-39.024645 -3.364665)', '2026-07-22 19:05:37', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024672 -3.364632)'), GeomFromEWKT('SRID=4674;POINT (-39.024645 -3.364665)'))) / (select extract(epoch from '2026-07-22 19:05:37'::timestamp) - extract(epoch from '2026-07-22 19:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024672 -3.364632)'), GeomFromEWKT('SRID=4674;POINT (-39.024645 -3.364665)'))) / (select extract(epoch from '2026-07-22 19:05:37'::timestamp) - extract(epoch from '2026-07-22 19:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024612 -3.364695)', '2026-07-22 19:05:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024645 -3.364665)'), GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.364695)'))) / (select extract(epoch from '2026-07-22 19:05:46'::timestamp) - extract(epoch from '2026-07-22 19:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024645 -3.364665)'), GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.364695)'))) / (select extract(epoch from '2026-07-22 19:05:46'::timestamp) - extract(epoch from '2026-07-22 19:05: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'), 47445, 'SRID=4674;POINT (-39.024558 -3.364702)', '2026-07-22 19:05:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.364695)'), GeomFromEWKT('SRID=4674;POINT (-39.024558 -3.364702)'))) / (select extract(epoch from '2026-07-22 19:05:56'::timestamp) - extract(epoch from '2026-07-22 19:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.364695)'), GeomFromEWKT('SRID=4674;POINT (-39.024558 -3.364702)'))) / (select extract(epoch from '2026-07-22 19:05:56'::timestamp) - extract(epoch from '2026-07-22 19:05:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024524 -3.364722)', '2026-07-22 19:06:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024558 -3.364702)'), GeomFromEWKT('SRID=4674;POINT (-39.024524 -3.364722)'))) / (select extract(epoch from '2026-07-22 19:06:05'::timestamp) - extract(epoch from '2026-07-22 19:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024558 -3.364702)'), GeomFromEWKT('SRID=4674;POINT (-39.024524 -3.364722)'))) / (select extract(epoch from '2026-07-22 19:06:05'::timestamp) - extract(epoch from '2026-07-22 19:05: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'), 47445, 'SRID=4674;POINT (-39.02453 -3.364752)', '2026-07-22 19:06:13', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024524 -3.364722)'), GeomFromEWKT('SRID=4674;POINT (-39.02453 -3.364752)'))) / (select extract(epoch from '2026-07-22 19:06:13'::timestamp) - extract(epoch from '2026-07-22 19:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024524 -3.364722)'), GeomFromEWKT('SRID=4674;POINT (-39.02453 -3.364752)'))) / (select extract(epoch from '2026-07-22 19:06:13'::timestamp) - extract(epoch from '2026-07-22 19:06: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'), 47445, 'SRID=4674;POINT (-39.024498 -3.364775)', '2026-07-22 19:06:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02453 -3.364752)'), GeomFromEWKT('SRID=4674;POINT (-39.024498 -3.364775)'))) / (select extract(epoch from '2026-07-22 19:06:27'::timestamp) - extract(epoch from '2026-07-22 19:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02453 -3.364752)'), GeomFromEWKT('SRID=4674;POINT (-39.024498 -3.364775)'))) / (select extract(epoch from '2026-07-22 19:06:27'::timestamp) - extract(epoch from '2026-07-22 19:06: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'), 47445, 'SRID=4674;POINT (-39.024454 -3.364781)', '2026-07-22 19:06:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024498 -3.364775)'), GeomFromEWKT('SRID=4674;POINT (-39.024454 -3.364781)'))) / (select extract(epoch from '2026-07-22 19:06:36'::timestamp) - extract(epoch from '2026-07-22 19:06:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024498 -3.364775)'), GeomFromEWKT('SRID=4674;POINT (-39.024454 -3.364781)'))) / (select extract(epoch from '2026-07-22 19:06:36'::timestamp) - extract(epoch from '2026-07-22 19:06:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024433 -3.364816)', '2026-07-22 19:06:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024454 -3.364781)'), GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.364816)'))) / (select extract(epoch from '2026-07-22 19:06:44'::timestamp) - extract(epoch from '2026-07-22 19:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024454 -3.364781)'), GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.364816)'))) / (select extract(epoch from '2026-07-22 19:06:44'::timestamp) - extract(epoch from '2026-07-22 19:06: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'), 47445, 'SRID=4674;POINT (-39.02442 -3.364842)', '2026-07-22 19:06:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.364816)'), GeomFromEWKT('SRID=4674;POINT (-39.02442 -3.364842)'))) / (select extract(epoch from '2026-07-22 19:06:51'::timestamp) - extract(epoch from '2026-07-22 19:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024433 -3.364816)'), GeomFromEWKT('SRID=4674;POINT (-39.02442 -3.364842)'))) / (select extract(epoch from '2026-07-22 19:06:51'::timestamp) - extract(epoch from '2026-07-22 19:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024389 -3.364857)', '2026-07-22 19:06:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02442 -3.364842)'), GeomFromEWKT('SRID=4674;POINT (-39.024389 -3.364857)'))) / (select extract(epoch from '2026-07-22 19:06:58'::timestamp) - extract(epoch from '2026-07-22 19:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02442 -3.364842)'), GeomFromEWKT('SRID=4674;POINT (-39.024389 -3.364857)'))) / (select extract(epoch from '2026-07-22 19:06:58'::timestamp) - extract(epoch from '2026-07-22 19:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024336 -3.364872)', '2026-07-22 19:07:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024389 -3.364857)'), GeomFromEWKT('SRID=4674;POINT (-39.024336 -3.364872)'))) / (select extract(epoch from '2026-07-22 19:07:08'::timestamp) - extract(epoch from '2026-07-22 19:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024389 -3.364857)'), GeomFromEWKT('SRID=4674;POINT (-39.024336 -3.364872)'))) / (select extract(epoch from '2026-07-22 19:07:08'::timestamp) - extract(epoch from '2026-07-22 19:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024319 -3.364902)', '2026-07-22 19:07:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024336 -3.364872)'), GeomFromEWKT('SRID=4674;POINT (-39.024319 -3.364902)'))) / (select extract(epoch from '2026-07-22 19:07:16'::timestamp) - extract(epoch from '2026-07-22 19:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024336 -3.364872)'), GeomFromEWKT('SRID=4674;POINT (-39.024319 -3.364902)'))) / (select extract(epoch from '2026-07-22 19:07:16'::timestamp) - extract(epoch from '2026-07-22 19:07:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024299 -3.364932)', '2026-07-22 19:07:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024319 -3.364902)'), GeomFromEWKT('SRID=4674;POINT (-39.024299 -3.364932)'))) / (select extract(epoch from '2026-07-22 19:07:24'::timestamp) - extract(epoch from '2026-07-22 19:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024319 -3.364902)'), GeomFromEWKT('SRID=4674;POINT (-39.024299 -3.364932)'))) / (select extract(epoch from '2026-07-22 19:07:24'::timestamp) - extract(epoch from '2026-07-22 19:07: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'), 47445, 'SRID=4674;POINT (-39.024258 -3.364944)', '2026-07-22 19:07:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024299 -3.364932)'), GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.364944)'))) / (select extract(epoch from '2026-07-22 19:07:33'::timestamp) - extract(epoch from '2026-07-22 19:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024299 -3.364932)'), GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.364944)'))) / (select extract(epoch from '2026-07-22 19:07:33'::timestamp) - extract(epoch from '2026-07-22 19:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024225 -3.36495)', '2026-07-22 19:07:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.364944)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.36495)'))) / (select extract(epoch from '2026-07-22 19:07:41'::timestamp) - extract(epoch from '2026-07-22 19:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024258 -3.364944)'), GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.36495)'))) / (select extract(epoch from '2026-07-22 19:07:41'::timestamp) - extract(epoch from '2026-07-22 19:07: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'), 47445, 'SRID=4674;POINT (-39.024202 -3.364974)', '2026-07-22 19:07:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.36495)'), GeomFromEWKT('SRID=4674;POINT (-39.024202 -3.364974)'))) / (select extract(epoch from '2026-07-22 19:07:49'::timestamp) - extract(epoch from '2026-07-22 19:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024225 -3.36495)'), GeomFromEWKT('SRID=4674;POINT (-39.024202 -3.364974)'))) / (select extract(epoch from '2026-07-22 19:07:49'::timestamp) - extract(epoch from '2026-07-22 19:07: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'), 47445, 'SRID=4674;POINT (-39.024173 -3.365012)', '2026-07-22 19:07:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024202 -3.364974)'), GeomFromEWKT('SRID=4674;POINT (-39.024173 -3.365012)'))) / (select extract(epoch from '2026-07-22 19:07:59'::timestamp) - extract(epoch from '2026-07-22 19:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024202 -3.364974)'), GeomFromEWKT('SRID=4674;POINT (-39.024173 -3.365012)'))) / (select extract(epoch from '2026-07-22 19:07:59'::timestamp) - extract(epoch from '2026-07-22 19:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024121 -3.365026)', '2026-07-22 19:08:08', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024173 -3.365012)'), GeomFromEWKT('SRID=4674;POINT (-39.024121 -3.365026)'))) / (select extract(epoch from '2026-07-22 19:08:08'::timestamp) - extract(epoch from '2026-07-22 19:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024173 -3.365012)'), GeomFromEWKT('SRID=4674;POINT (-39.024121 -3.365026)'))) / (select extract(epoch from '2026-07-22 19:08:08'::timestamp) - extract(epoch from '2026-07-22 19:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024096 -3.365049)', '2026-07-22 19:08:15', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024121 -3.365026)'), GeomFromEWKT('SRID=4674;POINT (-39.024096 -3.365049)'))) / (select extract(epoch from '2026-07-22 19:08:15'::timestamp) - extract(epoch from '2026-07-22 19:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024121 -3.365026)'), GeomFromEWKT('SRID=4674;POINT (-39.024096 -3.365049)'))) / (select extract(epoch from '2026-07-22 19:08:15'::timestamp) - extract(epoch from '2026-07-22 19:08:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024084 -3.365085)', '2026-07-22 19:08:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024096 -3.365049)'), GeomFromEWKT('SRID=4674;POINT (-39.024084 -3.365085)'))) / (select extract(epoch from '2026-07-22 19:08:22'::timestamp) - extract(epoch from '2026-07-22 19:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024096 -3.365049)'), GeomFromEWKT('SRID=4674;POINT (-39.024084 -3.365085)'))) / (select extract(epoch from '2026-07-22 19:08:22'::timestamp) - extract(epoch from '2026-07-22 19:08: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'), 47445, 'SRID=4674;POINT (-39.024073 -3.365107)', '2026-07-22 19:08:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024084 -3.365085)'), GeomFromEWKT('SRID=4674;POINT (-39.024073 -3.365107)'))) / (select extract(epoch from '2026-07-22 19:08:29'::timestamp) - extract(epoch from '2026-07-22 19:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024084 -3.365085)'), GeomFromEWKT('SRID=4674;POINT (-39.024073 -3.365107)'))) / (select extract(epoch from '2026-07-22 19:08:29'::timestamp) - extract(epoch from '2026-07-22 19:08: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'), 47445, 'SRID=4674;POINT (-39.02403 -3.365093)', '2026-07-22 19:08:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024073 -3.365107)'), GeomFromEWKT('SRID=4674;POINT (-39.02403 -3.365093)'))) / (select extract(epoch from '2026-07-22 19:08:38'::timestamp) - extract(epoch from '2026-07-22 19:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024073 -3.365107)'), GeomFromEWKT('SRID=4674;POINT (-39.02403 -3.365093)'))) / (select extract(epoch from '2026-07-22 19:08:38'::timestamp) - extract(epoch from '2026-07-22 19:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02401 -3.365104)', '2026-07-22 19:08:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02403 -3.365093)'), GeomFromEWKT('SRID=4674;POINT (-39.02401 -3.365104)'))) / (select extract(epoch from '2026-07-22 19:08:45'::timestamp) - extract(epoch from '2026-07-22 19:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02403 -3.365093)'), GeomFromEWKT('SRID=4674;POINT (-39.02401 -3.365104)'))) / (select extract(epoch from '2026-07-22 19:08:45'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.023997 -3.365134)', '2026-07-22 19:08:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02401 -3.365104)'), GeomFromEWKT('SRID=4674;POINT (-39.023997 -3.365134)'))) / (select extract(epoch from '2026-07-22 19:08:51'::timestamp) - extract(epoch from '2026-07-22 19:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02401 -3.365104)'), GeomFromEWKT('SRID=4674;POINT (-39.023997 -3.365134)'))) / (select extract(epoch from '2026-07-22 19:08:51'::timestamp) - extract(epoch from '2026-07-22 19:08:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023971 -3.36517)', '2026-07-22 19:09:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023997 -3.365134)'), GeomFromEWKT('SRID=4674;POINT (-39.023971 -3.36517)'))) / (select extract(epoch from '2026-07-22 19:09:00'::timestamp) - extract(epoch from '2026-07-22 19:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023997 -3.365134)'), GeomFromEWKT('SRID=4674;POINT (-39.023971 -3.36517)'))) / (select extract(epoch from '2026-07-22 19:09:00'::timestamp) - extract(epoch from '2026-07-22 19:08: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'), 47445, 'SRID=4674;POINT (-39.023936 -3.365177)', '2026-07-22 19:09:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023971 -3.36517)'), GeomFromEWKT('SRID=4674;POINT (-39.023936 -3.365177)'))) / (select extract(epoch from '2026-07-22 19:09:08'::timestamp) - extract(epoch from '2026-07-22 19:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023971 -3.36517)'), GeomFromEWKT('SRID=4674;POINT (-39.023936 -3.365177)'))) / (select extract(epoch from '2026-07-22 19:09:08'::timestamp) - extract(epoch from '2026-07-22 19:09: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'), 47445, 'SRID=4674;POINT (-39.023897 -3.365178)', '2026-07-22 19:09:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023936 -3.365177)'), GeomFromEWKT('SRID=4674;POINT (-39.023897 -3.365178)'))) / (select extract(epoch from '2026-07-22 19:09:18'::timestamp) - extract(epoch from '2026-07-22 19:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023936 -3.365177)'), GeomFromEWKT('SRID=4674;POINT (-39.023897 -3.365178)'))) / (select extract(epoch from '2026-07-22 19:09:18'::timestamp) - extract(epoch from '2026-07-22 19:09: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'), 47445, 'SRID=4674;POINT (-39.023892 -3.365198)', '2026-07-22 19:09:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023897 -3.365178)'), GeomFromEWKT('SRID=4674;POINT (-39.023892 -3.365198)'))) / (select extract(epoch from '2026-07-22 19:09:23'::timestamp) - extract(epoch from '2026-07-22 19:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023897 -3.365178)'), GeomFromEWKT('SRID=4674;POINT (-39.023892 -3.365198)'))) / (select extract(epoch from '2026-07-22 19:09:23'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.02388 -3.36524)', '2026-07-22 19:09:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023892 -3.365198)'), GeomFromEWKT('SRID=4674;POINT (-39.02388 -3.36524)'))) / (select extract(epoch from '2026-07-22 19:09:31'::timestamp) - extract(epoch from '2026-07-22 19:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023892 -3.365198)'), GeomFromEWKT('SRID=4674;POINT (-39.02388 -3.36524)'))) / (select extract(epoch from '2026-07-22 19:09:31'::timestamp) - extract(epoch from '2026-07-22 19:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023836 -3.365261)', '2026-07-22 19:09:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02388 -3.36524)'), GeomFromEWKT('SRID=4674;POINT (-39.023836 -3.365261)'))) / (select extract(epoch from '2026-07-22 19:09:40'::timestamp) - extract(epoch from '2026-07-22 19:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02388 -3.36524)'), GeomFromEWKT('SRID=4674;POINT (-39.023836 -3.365261)'))) / (select extract(epoch from '2026-07-22 19:09:40'::timestamp) - extract(epoch from '2026-07-22 19:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023798 -3.365258)', '2026-07-22 19:09:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023836 -3.365261)'), GeomFromEWKT('SRID=4674;POINT (-39.023798 -3.365258)'))) / (select extract(epoch from '2026-07-22 19:09:48'::timestamp) - extract(epoch from '2026-07-22 19:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023836 -3.365261)'), GeomFromEWKT('SRID=4674;POINT (-39.023798 -3.365258)'))) / (select extract(epoch from '2026-07-22 19:09:48'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.023772 -3.365261)', '2026-07-22 19:09:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023798 -3.365258)'), GeomFromEWKT('SRID=4674;POINT (-39.023772 -3.365261)'))) / (select extract(epoch from '2026-07-22 19:09:55'::timestamp) - extract(epoch from '2026-07-22 19:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023798 -3.365258)'), GeomFromEWKT('SRID=4674;POINT (-39.023772 -3.365261)'))) / (select extract(epoch from '2026-07-22 19:09:55'::timestamp) - extract(epoch from '2026-07-22 19:09: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'), 47445, 'SRID=4674;POINT (-39.023769 -3.365285)', '2026-07-22 19:10:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023772 -3.365261)'), GeomFromEWKT('SRID=4674;POINT (-39.023769 -3.365285)'))) / (select extract(epoch from '2026-07-22 19:10:00'::timestamp) - extract(epoch from '2026-07-22 19:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023772 -3.365261)'), GeomFromEWKT('SRID=4674;POINT (-39.023769 -3.365285)'))) / (select extract(epoch from '2026-07-22 19:10:00'::timestamp) - extract(epoch from '2026-07-22 19:09: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'), 47445, 'SRID=4674;POINT (-39.023758 -3.365306)', '2026-07-22 19:10:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023769 -3.365285)'), GeomFromEWKT('SRID=4674;POINT (-39.023758 -3.365306)'))) / (select extract(epoch from '2026-07-22 19:10:05'::timestamp) - extract(epoch from '2026-07-22 19:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023769 -3.365285)'), GeomFromEWKT('SRID=4674;POINT (-39.023758 -3.365306)'))) / (select extract(epoch from '2026-07-22 19:10:05'::timestamp) - extract(epoch from '2026-07-22 19:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023739 -3.36532)', '2026-07-22 19:10:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023758 -3.365306)'), GeomFromEWKT('SRID=4674;POINT (-39.023739 -3.36532)'))) / (select extract(epoch from '2026-07-22 19:10:11'::timestamp) - extract(epoch from '2026-07-22 19:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023758 -3.365306)'), GeomFromEWKT('SRID=4674;POINT (-39.023739 -3.36532)'))) / (select extract(epoch from '2026-07-22 19:10:11'::timestamp) - extract(epoch from '2026-07-22 19:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023704 -3.365322)', '2026-07-22 19:10:18', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023739 -3.36532)'), GeomFromEWKT('SRID=4674;POINT (-39.023704 -3.365322)'))) / (select extract(epoch from '2026-07-22 19:10:18'::timestamp) - extract(epoch from '2026-07-22 19:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023739 -3.36532)'), GeomFromEWKT('SRID=4674;POINT (-39.023704 -3.365322)'))) / (select extract(epoch from '2026-07-22 19:10:18'::timestamp) - extract(epoch from '2026-07-22 19:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023674 -3.365343)', '2026-07-22 19:10:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023704 -3.365322)'), GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.365343)'))) / (select extract(epoch from '2026-07-22 19:10:26'::timestamp) - extract(epoch from '2026-07-22 19:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023704 -3.365322)'), GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.365343)'))) / (select extract(epoch from '2026-07-22 19:10:26'::timestamp) - extract(epoch from '2026-07-22 19:10: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'), 47445, 'SRID=4674;POINT (-39.023661 -3.365387)', '2026-07-22 19:10:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.365343)'), GeomFromEWKT('SRID=4674;POINT (-39.023661 -3.365387)'))) / (select extract(epoch from '2026-07-22 19:10:34'::timestamp) - extract(epoch from '2026-07-22 19:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023674 -3.365343)'), GeomFromEWKT('SRID=4674;POINT (-39.023661 -3.365387)'))) / (select extract(epoch from '2026-07-22 19:10:34'::timestamp) - extract(epoch from '2026-07-22 19:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023636 -3.365415)', '2026-07-22 19:10:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023661 -3.365387)'), GeomFromEWKT('SRID=4674;POINT (-39.023636 -3.365415)'))) / (select extract(epoch from '2026-07-22 19:10:42'::timestamp) - extract(epoch from '2026-07-22 19:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023661 -3.365387)'), GeomFromEWKT('SRID=4674;POINT (-39.023636 -3.365415)'))) / (select extract(epoch from '2026-07-22 19:10:42'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.023599 -3.365408)', '2026-07-22 19:10:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023636 -3.365415)'), GeomFromEWKT('SRID=4674;POINT (-39.023599 -3.365408)'))) / (select extract(epoch from '2026-07-22 19:10:51'::timestamp) - extract(epoch from '2026-07-22 19:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023636 -3.365415)'), GeomFromEWKT('SRID=4674;POINT (-39.023599 -3.365408)'))) / (select extract(epoch from '2026-07-22 19:10:51'::timestamp) - extract(epoch from '2026-07-22 19:10:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023563 -3.365408)', '2026-07-22 19:10:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023599 -3.365408)'), GeomFromEWKT('SRID=4674;POINT (-39.023563 -3.365408)'))) / (select extract(epoch from '2026-07-22 19:10:59'::timestamp) - extract(epoch from '2026-07-22 19:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023599 -3.365408)'), GeomFromEWKT('SRID=4674;POINT (-39.023563 -3.365408)'))) / (select extract(epoch from '2026-07-22 19:10:59'::timestamp) - extract(epoch from '2026-07-22 19:10: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'), 47445, 'SRID=4674;POINT (-39.023557 -3.365439)', '2026-07-22 19:11:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023563 -3.365408)'), GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.365439)'))) / (select extract(epoch from '2026-07-22 19:11:07'::timestamp) - extract(epoch from '2026-07-22 19:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023563 -3.365408)'), GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.365439)'))) / (select extract(epoch from '2026-07-22 19:11:07'::timestamp) - extract(epoch from '2026-07-22 19:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023531 -3.365468)', '2026-07-22 19:11:16', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.365439)'), GeomFromEWKT('SRID=4674;POINT (-39.023531 -3.365468)'))) / (select extract(epoch from '2026-07-22 19:11:16'::timestamp) - extract(epoch from '2026-07-22 19:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023557 -3.365439)'), GeomFromEWKT('SRID=4674;POINT (-39.023531 -3.365468)'))) / (select extract(epoch from '2026-07-22 19:11:16'::timestamp) - extract(epoch from '2026-07-22 19:11:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023484 -3.365471)', '2026-07-22 19:11:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023531 -3.365468)'), GeomFromEWKT('SRID=4674;POINT (-39.023484 -3.365471)'))) / (select extract(epoch from '2026-07-22 19:11:25'::timestamp) - extract(epoch from '2026-07-22 19:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023531 -3.365468)'), GeomFromEWKT('SRID=4674;POINT (-39.023484 -3.365471)'))) / (select extract(epoch from '2026-07-22 19:11:25'::timestamp) - extract(epoch from '2026-07-22 19:11: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'), 47445, 'SRID=4674;POINT (-39.02346 -3.36548)', '2026-07-22 19:11:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023484 -3.365471)'), GeomFromEWKT('SRID=4674;POINT (-39.02346 -3.36548)'))) / (select extract(epoch from '2026-07-22 19:11:32'::timestamp) - extract(epoch from '2026-07-22 19:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023484 -3.365471)'), GeomFromEWKT('SRID=4674;POINT (-39.02346 -3.36548)'))) / (select extract(epoch from '2026-07-22 19:11:32'::timestamp) - extract(epoch from '2026-07-22 19:11: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'), 47445, 'SRID=4674;POINT (-39.023451 -3.365509)', '2026-07-22 19:11:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02346 -3.36548)'), GeomFromEWKT('SRID=4674;POINT (-39.023451 -3.365509)'))) / (select extract(epoch from '2026-07-22 19:11:39'::timestamp) - extract(epoch from '2026-07-22 19:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02346 -3.36548)'), GeomFromEWKT('SRID=4674;POINT (-39.023451 -3.365509)'))) / (select extract(epoch from '2026-07-22 19:11:39'::timestamp) - extract(epoch from '2026-07-22 19:11: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'), 47445, 'SRID=4674;POINT (-39.023421 -3.36554)', '2026-07-22 19:11:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023451 -3.365509)'), GeomFromEWKT('SRID=4674;POINT (-39.023421 -3.36554)'))) / (select extract(epoch from '2026-07-22 19:11:47'::timestamp) - extract(epoch from '2026-07-22 19:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023451 -3.365509)'), GeomFromEWKT('SRID=4674;POINT (-39.023421 -3.36554)'))) / (select extract(epoch from '2026-07-22 19:11:47'::timestamp) - extract(epoch from '2026-07-22 19:11: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'), 47445, 'SRID=4674;POINT (-39.023378 -3.365567)', '2026-07-22 19:11:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023421 -3.36554)'), GeomFromEWKT('SRID=4674;POINT (-39.023378 -3.365567)'))) / (select extract(epoch from '2026-07-22 19:11:56'::timestamp) - extract(epoch from '2026-07-22 19:11:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023421 -3.36554)'), GeomFromEWKT('SRID=4674;POINT (-39.023378 -3.365567)'))) / (select extract(epoch from '2026-07-22 19:11:56'::timestamp) - extract(epoch from '2026-07-22 19:11:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023355 -3.365585)', '2026-07-22 19:12:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023378 -3.365567)'), GeomFromEWKT('SRID=4674;POINT (-39.023355 -3.365585)'))) / (select extract(epoch from '2026-07-22 19:12:04'::timestamp) - extract(epoch from '2026-07-22 19:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023378 -3.365567)'), GeomFromEWKT('SRID=4674;POINT (-39.023355 -3.365585)'))) / (select extract(epoch from '2026-07-22 19:12:04'::timestamp) - extract(epoch from '2026-07-22 19:11: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'), 47445, 'SRID=4674;POINT (-39.02333 -3.365598)', '2026-07-22 19:12:13', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023355 -3.365585)'), GeomFromEWKT('SRID=4674;POINT (-39.02333 -3.365598)'))) / (select extract(epoch from '2026-07-22 19:12:13'::timestamp) - extract(epoch from '2026-07-22 19:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023355 -3.365585)'), GeomFromEWKT('SRID=4674;POINT (-39.02333 -3.365598)'))) / (select extract(epoch from '2026-07-22 19:12:13'::timestamp) - extract(epoch from '2026-07-22 19:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023301 -3.365611)', '2026-07-22 19:12:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02333 -3.365598)'), GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.365611)'))) / (select extract(epoch from '2026-07-22 19:12:21'::timestamp) - extract(epoch from '2026-07-22 19:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02333 -3.365598)'), GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.365611)'))) / (select extract(epoch from '2026-07-22 19:12:21'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.023271 -3.365621)', '2026-07-22 19:12:30', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.365611)'), GeomFromEWKT('SRID=4674;POINT (-39.023271 -3.365621)'))) / (select extract(epoch from '2026-07-22 19:12:30'::timestamp) - extract(epoch from '2026-07-22 19:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023301 -3.365611)'), GeomFromEWKT('SRID=4674;POINT (-39.023271 -3.365621)'))) / (select extract(epoch from '2026-07-22 19:12:30'::timestamp) - extract(epoch from '2026-07-22 19:12:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023255 -3.365643)', '2026-07-22 19:12:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023271 -3.365621)'), GeomFromEWKT('SRID=4674;POINT (-39.023255 -3.365643)'))) / (select extract(epoch from '2026-07-22 19:12:38'::timestamp) - extract(epoch from '2026-07-22 19:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023271 -3.365621)'), GeomFromEWKT('SRID=4674;POINT (-39.023255 -3.365643)'))) / (select extract(epoch from '2026-07-22 19:12:38'::timestamp) - extract(epoch from '2026-07-22 19:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023242 -3.365664)', '2026-07-22 19:12:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023255 -3.365643)'), GeomFromEWKT('SRID=4674;POINT (-39.023242 -3.365664)'))) / (select extract(epoch from '2026-07-22 19:12:45'::timestamp) - extract(epoch from '2026-07-22 19:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023255 -3.365643)'), GeomFromEWKT('SRID=4674;POINT (-39.023242 -3.365664)'))) / (select extract(epoch from '2026-07-22 19:12:45'::timestamp) - extract(epoch from '2026-07-22 19:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02323 -3.365686)', '2026-07-22 19:12:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023242 -3.365664)'), GeomFromEWKT('SRID=4674;POINT (-39.02323 -3.365686)'))) / (select extract(epoch from '2026-07-22 19:12:52'::timestamp) - extract(epoch from '2026-07-22 19:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023242 -3.365664)'), GeomFromEWKT('SRID=4674;POINT (-39.02323 -3.365686)'))) / (select extract(epoch from '2026-07-22 19:12:52'::timestamp) - extract(epoch from '2026-07-22 19:12: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'), 47445, 'SRID=4674;POINT (-39.023204 -3.365691)', '2026-07-22 19:13:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02323 -3.365686)'), GeomFromEWKT('SRID=4674;POINT (-39.023204 -3.365691)'))) / (select extract(epoch from '2026-07-22 19:13:00'::timestamp) - extract(epoch from '2026-07-22 19:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02323 -3.365686)'), GeomFromEWKT('SRID=4674;POINT (-39.023204 -3.365691)'))) / (select extract(epoch from '2026-07-22 19:13:00'::timestamp) - extract(epoch from '2026-07-22 19:12: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'), 47445, 'SRID=4674;POINT (-39.023186 -3.365678)', '2026-07-22 19:13:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023204 -3.365691)'), GeomFromEWKT('SRID=4674;POINT (-39.023186 -3.365678)'))) / (select extract(epoch from '2026-07-22 19:13:08'::timestamp) - extract(epoch from '2026-07-22 19:13:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023204 -3.365691)'), GeomFromEWKT('SRID=4674;POINT (-39.023186 -3.365678)'))) / (select extract(epoch from '2026-07-22 19:13:08'::timestamp) - extract(epoch from '2026-07-22 19:13: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'), 47445, 'SRID=4674;POINT (-39.02317 -3.365662)', '2026-07-22 19:13:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023186 -3.365678)'), GeomFromEWKT('SRID=4674;POINT (-39.02317 -3.365662)'))) / (select extract(epoch from '2026-07-22 19:13:16'::timestamp) - extract(epoch from '2026-07-22 19:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023186 -3.365678)'), GeomFromEWKT('SRID=4674;POINT (-39.02317 -3.365662)'))) / (select extract(epoch from '2026-07-22 19:13:16'::timestamp) - extract(epoch from '2026-07-22 19:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023165 -3.365669)', '2026-07-22 19:13:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02317 -3.365662)'), GeomFromEWKT('SRID=4674;POINT (-39.023165 -3.365669)'))) / (select extract(epoch from '2026-07-22 19:13:23'::timestamp) - extract(epoch from '2026-07-22 19:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02317 -3.365662)'), GeomFromEWKT('SRID=4674;POINT (-39.023165 -3.365669)'))) / (select extract(epoch from '2026-07-22 19:13:23'::timestamp) - extract(epoch from '2026-07-22 19:13: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'), 47445, 'SRID=4674;POINT (-39.023156 -3.365686)', '2026-07-22 19:13:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023165 -3.365669)'), GeomFromEWKT('SRID=4674;POINT (-39.023156 -3.365686)'))) / (select extract(epoch from '2026-07-22 19:13:31'::timestamp) - extract(epoch from '2026-07-22 19:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023165 -3.365669)'), GeomFromEWKT('SRID=4674;POINT (-39.023156 -3.365686)'))) / (select extract(epoch from '2026-07-22 19:13:31'::timestamp) - extract(epoch from '2026-07-22 19:13:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023151 -3.365689)', '2026-07-22 19:13:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023156 -3.365686)'), GeomFromEWKT('SRID=4674;POINT (-39.023151 -3.365689)'))) / (select extract(epoch from '2026-07-22 19:13:35'::timestamp) - extract(epoch from '2026-07-22 19:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023156 -3.365686)'), GeomFromEWKT('SRID=4674;POINT (-39.023151 -3.365689)'))) / (select extract(epoch from '2026-07-22 19:13:35'::timestamp) - extract(epoch from '2026-07-22 19:13: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'), 47445, 'SRID=4674;POINT (-39.023143 -3.365687)', '2026-07-22 19:13:37', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023151 -3.365689)'), GeomFromEWKT('SRID=4674;POINT (-39.023143 -3.365687)'))) / (select extract(epoch from '2026-07-22 19:13:37'::timestamp) - extract(epoch from '2026-07-22 19:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023151 -3.365689)'), GeomFromEWKT('SRID=4674;POINT (-39.023143 -3.365687)'))) / (select extract(epoch from '2026-07-22 19:13:37'::timestamp) - extract(epoch from '2026-07-22 19:13: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'), 47445, 'SRID=4674;POINT (-39.023109 -3.365692)', '2026-07-22 19:13:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023143 -3.365687)'), GeomFromEWKT('SRID=4674;POINT (-39.023109 -3.365692)'))) / (select extract(epoch from '2026-07-22 19:13:45'::timestamp) - extract(epoch from '2026-07-22 19:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023143 -3.365687)'), GeomFromEWKT('SRID=4674;POINT (-39.023109 -3.365692)'))) / (select extract(epoch from '2026-07-22 19:13:45'::timestamp) - extract(epoch from '2026-07-22 19:13: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'), 47445, 'SRID=4674;POINT (-39.023068 -3.36569)', '2026-07-22 19:13:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023109 -3.365692)'), GeomFromEWKT('SRID=4674;POINT (-39.023068 -3.36569)'))) / (select extract(epoch from '2026-07-22 19:13:54'::timestamp) - extract(epoch from '2026-07-22 19:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023109 -3.365692)'), GeomFromEWKT('SRID=4674;POINT (-39.023068 -3.36569)'))) / (select extract(epoch from '2026-07-22 19:13:54'::timestamp) - extract(epoch from '2026-07-22 19:13: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'), 47445, 'SRID=4674;POINT (-39.02303 -3.365694)', '2026-07-22 19:14:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023068 -3.36569)'), GeomFromEWKT('SRID=4674;POINT (-39.02303 -3.365694)'))) / (select extract(epoch from '2026-07-22 19:14:04'::timestamp) - extract(epoch from '2026-07-22 19:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023068 -3.36569)'), GeomFromEWKT('SRID=4674;POINT (-39.02303 -3.365694)'))) / (select extract(epoch from '2026-07-22 19:14:04'::timestamp) - extract(epoch from '2026-07-22 19:13: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'), 47445, 'SRID=4674;POINT (-39.023023 -3.365722)', '2026-07-22 19:14:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02303 -3.365694)'), GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.365722)'))) / (select extract(epoch from '2026-07-22 19:14:13'::timestamp) - extract(epoch from '2026-07-22 19:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02303 -3.365694)'), GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.365722)'))) / (select extract(epoch from '2026-07-22 19:14:13'::timestamp) - extract(epoch from '2026-07-22 19:14: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'), 47445, 'SRID=4674;POINT (-39.023014 -3.365761)', '2026-07-22 19:14:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.365722)'), GeomFromEWKT('SRID=4674;POINT (-39.023014 -3.365761)'))) / (select extract(epoch from '2026-07-22 19:14:21'::timestamp) - extract(epoch from '2026-07-22 19:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.365722)'), GeomFromEWKT('SRID=4674;POINT (-39.023014 -3.365761)'))) / (select extract(epoch from '2026-07-22 19:14:21'::timestamp) - extract(epoch from '2026-07-22 19:14: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'), 47445, 'SRID=4674;POINT (-39.023001 -3.365778)', '2026-07-22 19:14:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023014 -3.365761)'), GeomFromEWKT('SRID=4674;POINT (-39.023001 -3.365778)'))) / (select extract(epoch from '2026-07-22 19:14:30'::timestamp) - extract(epoch from '2026-07-22 19:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023014 -3.365761)'), GeomFromEWKT('SRID=4674;POINT (-39.023001 -3.365778)'))) / (select extract(epoch from '2026-07-22 19:14:30'::timestamp) - extract(epoch from '2026-07-22 19:14: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'), 47445, 'SRID=4674;POINT (-39.022985 -3.365758)', '2026-07-22 19:14:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023001 -3.365778)'), GeomFromEWKT('SRID=4674;POINT (-39.022985 -3.365758)'))) / (select extract(epoch from '2026-07-22 19:14:38'::timestamp) - extract(epoch from '2026-07-22 19:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023001 -3.365778)'), GeomFromEWKT('SRID=4674;POINT (-39.022985 -3.365758)'))) / (select extract(epoch from '2026-07-22 19:14:38'::timestamp) - extract(epoch from '2026-07-22 19:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022966 -3.365732)', '2026-07-22 19:14:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022985 -3.365758)'), GeomFromEWKT('SRID=4674;POINT (-39.022966 -3.365732)'))) / (select extract(epoch from '2026-07-22 19:14:46'::timestamp) - extract(epoch from '2026-07-22 19:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022985 -3.365758)'), GeomFromEWKT('SRID=4674;POINT (-39.022966 -3.365732)'))) / (select extract(epoch from '2026-07-22 19:14:46'::timestamp) - extract(epoch from '2026-07-22 19:14: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'), 47445, 'SRID=4674;POINT (-39.022938 -3.365757)', '2026-07-22 19:14:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022966 -3.365732)'), GeomFromEWKT('SRID=4674;POINT (-39.022938 -3.365757)'))) / (select extract(epoch from '2026-07-22 19:14:54'::timestamp) - extract(epoch from '2026-07-22 19:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022966 -3.365732)'), GeomFromEWKT('SRID=4674;POINT (-39.022938 -3.365757)'))) / (select extract(epoch from '2026-07-22 19:14:54'::timestamp) - extract(epoch from '2026-07-22 19:14:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022923 -3.365787)', '2026-07-22 19:15:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022938 -3.365757)'), GeomFromEWKT('SRID=4674;POINT (-39.022923 -3.365787)'))) / (select extract(epoch from '2026-07-22 19:15:00'::timestamp) - extract(epoch from '2026-07-22 19:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022938 -3.365757)'), GeomFromEWKT('SRID=4674;POINT (-39.022923 -3.365787)'))) / (select extract(epoch from '2026-07-22 19:15:00'::timestamp) - extract(epoch from '2026-07-22 19:14:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022897 -3.365815)', '2026-07-22 19:15:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022923 -3.365787)'), GeomFromEWKT('SRID=4674;POINT (-39.022897 -3.365815)'))) / (select extract(epoch from '2026-07-22 19:15:08'::timestamp) - extract(epoch from '2026-07-22 19:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022923 -3.365787)'), GeomFromEWKT('SRID=4674;POINT (-39.022897 -3.365815)'))) / (select extract(epoch from '2026-07-22 19:15:08'::timestamp) - extract(epoch from '2026-07-22 19:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022865 -3.365819)', '2026-07-22 19:15:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022897 -3.365815)'), GeomFromEWKT('SRID=4674;POINT (-39.022865 -3.365819)'))) / (select extract(epoch from '2026-07-22 19:15:16'::timestamp) - extract(epoch from '2026-07-22 19:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022897 -3.365815)'), GeomFromEWKT('SRID=4674;POINT (-39.022865 -3.365819)'))) / (select extract(epoch from '2026-07-22 19:15:16'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022823 -3.365825)', '2026-07-22 19:15:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022865 -3.365819)'), GeomFromEWKT('SRID=4674;POINT (-39.022823 -3.365825)'))) / (select extract(epoch from '2026-07-22 19:15:27'::timestamp) - extract(epoch from '2026-07-22 19:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022865 -3.365819)'), GeomFromEWKT('SRID=4674;POINT (-39.022823 -3.365825)'))) / (select extract(epoch from '2026-07-22 19:15:27'::timestamp) - extract(epoch from '2026-07-22 19:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022797 -3.365859)', '2026-07-22 19:15:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022823 -3.365825)'), GeomFromEWKT('SRID=4674;POINT (-39.022797 -3.365859)'))) / (select extract(epoch from '2026-07-22 19:15:35'::timestamp) - extract(epoch from '2026-07-22 19:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022823 -3.365825)'), GeomFromEWKT('SRID=4674;POINT (-39.022797 -3.365859)'))) / (select extract(epoch from '2026-07-22 19:15:35'::timestamp) - extract(epoch from '2026-07-22 19:15: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'), 47445, 'SRID=4674;POINT (-39.022789 -3.365884)', '2026-07-22 19:15:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022797 -3.365859)'), GeomFromEWKT('SRID=4674;POINT (-39.022789 -3.365884)'))) / (select extract(epoch from '2026-07-22 19:15:41'::timestamp) - extract(epoch from '2026-07-22 19:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022797 -3.365859)'), GeomFromEWKT('SRID=4674;POINT (-39.022789 -3.365884)'))) / (select extract(epoch from '2026-07-22 19:15:41'::timestamp) - extract(epoch from '2026-07-22 19:15: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'), 47445, 'SRID=4674;POINT (-39.022766 -3.365894)', '2026-07-22 19:15:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022789 -3.365884)'), GeomFromEWKT('SRID=4674;POINT (-39.022766 -3.365894)'))) / (select extract(epoch from '2026-07-22 19:15:49'::timestamp) - extract(epoch from '2026-07-22 19:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022789 -3.365884)'), GeomFromEWKT('SRID=4674;POINT (-39.022766 -3.365894)'))) / (select extract(epoch from '2026-07-22 19:15:49'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022725 -3.365887)', '2026-07-22 19:15:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022766 -3.365894)'), GeomFromEWKT('SRID=4674;POINT (-39.022725 -3.365887)'))) / (select extract(epoch from '2026-07-22 19:15:59'::timestamp) - extract(epoch from '2026-07-22 19:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022766 -3.365894)'), GeomFromEWKT('SRID=4674;POINT (-39.022725 -3.365887)'))) / (select extract(epoch from '2026-07-22 19:15:59'::timestamp) - extract(epoch from '2026-07-22 19:15:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022709 -3.365907)', '2026-07-22 19:16:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022725 -3.365887)'), GeomFromEWKT('SRID=4674;POINT (-39.022709 -3.365907)'))) / (select extract(epoch from '2026-07-22 19:16:07'::timestamp) - extract(epoch from '2026-07-22 19:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022725 -3.365887)'), GeomFromEWKT('SRID=4674;POINT (-39.022709 -3.365907)'))) / (select extract(epoch from '2026-07-22 19:16:07'::timestamp) - extract(epoch from '2026-07-22 19:15: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'), 47445, 'SRID=4674;POINT (-39.022695 -3.365935)', '2026-07-22 19:16:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022709 -3.365907)'), GeomFromEWKT('SRID=4674;POINT (-39.022695 -3.365935)'))) / (select extract(epoch from '2026-07-22 19:16:15'::timestamp) - extract(epoch from '2026-07-22 19:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022709 -3.365907)'), GeomFromEWKT('SRID=4674;POINT (-39.022695 -3.365935)'))) / (select extract(epoch from '2026-07-22 19:16:15'::timestamp) - extract(epoch from '2026-07-22 19:16: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'), 47445, 'SRID=4674;POINT (-39.022651 -3.365942)', '2026-07-22 19:16:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022695 -3.365935)'), GeomFromEWKT('SRID=4674;POINT (-39.022651 -3.365942)'))) / (select extract(epoch from '2026-07-22 19:16:25'::timestamp) - extract(epoch from '2026-07-22 19:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022695 -3.365935)'), GeomFromEWKT('SRID=4674;POINT (-39.022651 -3.365942)'))) / (select extract(epoch from '2026-07-22 19:16:25'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022638 -3.365949)', '2026-07-22 19:16:34', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022651 -3.365942)'), GeomFromEWKT('SRID=4674;POINT (-39.022638 -3.365949)'))) / (select extract(epoch from '2026-07-22 19:16:34'::timestamp) - extract(epoch from '2026-07-22 19:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022651 -3.365942)'), GeomFromEWKT('SRID=4674;POINT (-39.022638 -3.365949)'))) / (select extract(epoch from '2026-07-22 19:16:34'::timestamp) - extract(epoch from '2026-07-22 19:16: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'), 47445, 'SRID=4674;POINT (-39.022609 -3.365973)', '2026-07-22 19:16:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022638 -3.365949)'), GeomFromEWKT('SRID=4674;POINT (-39.022609 -3.365973)'))) / (select extract(epoch from '2026-07-22 19:16:41'::timestamp) - extract(epoch from '2026-07-22 19:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022638 -3.365949)'), GeomFromEWKT('SRID=4674;POINT (-39.022609 -3.365973)'))) / (select extract(epoch from '2026-07-22 19:16:41'::timestamp) - extract(epoch from '2026-07-22 19:16: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'), 47445, 'SRID=4674;POINT (-39.022585 -3.365992)', '2026-07-22 19:16:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022609 -3.365973)'), GeomFromEWKT('SRID=4674;POINT (-39.022585 -3.365992)'))) / (select extract(epoch from '2026-07-22 19:16:48'::timestamp) - extract(epoch from '2026-07-22 19:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022609 -3.365973)'), GeomFromEWKT('SRID=4674;POINT (-39.022585 -3.365992)'))) / (select extract(epoch from '2026-07-22 19:16:48'::timestamp) - extract(epoch from '2026-07-22 19:16: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'), 47445, 'SRID=4674;POINT (-39.02255 -3.365991)', '2026-07-22 19:16:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022585 -3.365992)'), GeomFromEWKT('SRID=4674;POINT (-39.02255 -3.365991)'))) / (select extract(epoch from '2026-07-22 19:16:57'::timestamp) - extract(epoch from '2026-07-22 19:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022585 -3.365992)'), GeomFromEWKT('SRID=4674;POINT (-39.02255 -3.365991)'))) / (select extract(epoch from '2026-07-22 19:16:57'::timestamp) - extract(epoch from '2026-07-22 19:16:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02252 -3.365984)', '2026-07-22 19:17:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02255 -3.365991)'), GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.365984)'))) / (select extract(epoch from '2026-07-22 19:17:05'::timestamp) - extract(epoch from '2026-07-22 19:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02255 -3.365991)'), GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.365984)'))) / (select extract(epoch from '2026-07-22 19:17:05'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022491 -3.365999)', '2026-07-22 19:17:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.365984)'), GeomFromEWKT('SRID=4674;POINT (-39.022491 -3.365999)'))) / (select extract(epoch from '2026-07-22 19:17:12'::timestamp) - extract(epoch from '2026-07-22 19:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.365984)'), GeomFromEWKT('SRID=4674;POINT (-39.022491 -3.365999)'))) / (select extract(epoch from '2026-07-22 19:17:12'::timestamp) - extract(epoch from '2026-07-22 19:17:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022449 -3.366016)', '2026-07-22 19:17:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022491 -3.365999)'), GeomFromEWKT('SRID=4674;POINT (-39.022449 -3.366016)'))) / (select extract(epoch from '2026-07-22 19:17:21'::timestamp) - extract(epoch from '2026-07-22 19:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022491 -3.365999)'), GeomFromEWKT('SRID=4674;POINT (-39.022449 -3.366016)'))) / (select extract(epoch from '2026-07-22 19:17:21'::timestamp) - extract(epoch from '2026-07-22 19:17:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022419 -3.366021)', '2026-07-22 19:17:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022449 -3.366016)'), GeomFromEWKT('SRID=4674;POINT (-39.022419 -3.366021)'))) / (select extract(epoch from '2026-07-22 19:17:28'::timestamp) - extract(epoch from '2026-07-22 19:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022449 -3.366016)'), GeomFromEWKT('SRID=4674;POINT (-39.022419 -3.366021)'))) / (select extract(epoch from '2026-07-22 19:17:28'::timestamp) - extract(epoch from '2026-07-22 19:17: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'), 47445, 'SRID=4674;POINT (-39.022386 -3.366021)', '2026-07-22 19:17:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022419 -3.366021)'), GeomFromEWKT('SRID=4674;POINT (-39.022386 -3.366021)'))) / (select extract(epoch from '2026-07-22 19:17:40'::timestamp) - extract(epoch from '2026-07-22 19:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022419 -3.366021)'), GeomFromEWKT('SRID=4674;POINT (-39.022386 -3.366021)'))) / (select extract(epoch from '2026-07-22 19:17:40'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022379 -3.36604)', '2026-07-22 19:17:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022386 -3.366021)'), GeomFromEWKT('SRID=4674;POINT (-39.022379 -3.36604)'))) / (select extract(epoch from '2026-07-22 19:17:47'::timestamp) - extract(epoch from '2026-07-22 19:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022386 -3.366021)'), GeomFromEWKT('SRID=4674;POINT (-39.022379 -3.36604)'))) / (select extract(epoch from '2026-07-22 19:17:47'::timestamp) - extract(epoch from '2026-07-22 19:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022383 -3.366058)', '2026-07-22 19:17:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022379 -3.36604)'), GeomFromEWKT('SRID=4674;POINT (-39.022383 -3.366058)'))) / (select extract(epoch from '2026-07-22 19:17:54'::timestamp) - extract(epoch from '2026-07-22 19:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022379 -3.36604)'), GeomFromEWKT('SRID=4674;POINT (-39.022383 -3.366058)'))) / (select extract(epoch from '2026-07-22 19:17:54'::timestamp) - extract(epoch from '2026-07-22 19:17: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'), 47445, 'SRID=4674;POINT (-39.022377 -3.366072)', '2026-07-22 19:18:00', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022383 -3.366058)'), GeomFromEWKT('SRID=4674;POINT (-39.022377 -3.366072)'))) / (select extract(epoch from '2026-07-22 19:18:00'::timestamp) - extract(epoch from '2026-07-22 19:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022383 -3.366058)'), GeomFromEWKT('SRID=4674;POINT (-39.022377 -3.366072)'))) / (select extract(epoch from '2026-07-22 19:18:00'::timestamp) - extract(epoch from '2026-07-22 19:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022358 -3.366067)', '2026-07-22 19:18:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022377 -3.366072)'), GeomFromEWKT('SRID=4674;POINT (-39.022358 -3.366067)'))) / (select extract(epoch from '2026-07-22 19:18:05'::timestamp) - extract(epoch from '2026-07-22 19:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022377 -3.366072)'), GeomFromEWKT('SRID=4674;POINT (-39.022358 -3.366067)'))) / (select extract(epoch from '2026-07-22 19:18:05'::timestamp) - extract(epoch from '2026-07-22 19:18: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'), 47445, 'SRID=4674;POINT (-39.022321 -3.366063)', '2026-07-22 19:18:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022358 -3.366067)'), GeomFromEWKT('SRID=4674;POINT (-39.022321 -3.366063)'))) / (select extract(epoch from '2026-07-22 19:18:15'::timestamp) - extract(epoch from '2026-07-22 19:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022358 -3.366067)'), GeomFromEWKT('SRID=4674;POINT (-39.022321 -3.366063)'))) / (select extract(epoch from '2026-07-22 19:18:15'::timestamp) - extract(epoch from '2026-07-22 19:18: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'), 47445, 'SRID=4674;POINT (-39.02231 -3.366083)', '2026-07-22 19:18:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022321 -3.366063)'), GeomFromEWKT('SRID=4674;POINT (-39.02231 -3.366083)'))) / (select extract(epoch from '2026-07-22 19:18:21'::timestamp) - extract(epoch from '2026-07-22 19:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022321 -3.366063)'), GeomFromEWKT('SRID=4674;POINT (-39.02231 -3.366083)'))) / (select extract(epoch from '2026-07-22 19:18:21'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022295 -3.366127)', '2026-07-22 19:18:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02231 -3.366083)'), GeomFromEWKT('SRID=4674;POINT (-39.022295 -3.366127)'))) / (select extract(epoch from '2026-07-22 19:18:28'::timestamp) - extract(epoch from '2026-07-22 19:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02231 -3.366083)'), GeomFromEWKT('SRID=4674;POINT (-39.022295 -3.366127)'))) / (select extract(epoch from '2026-07-22 19:18:28'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.02228 -3.366158)', '2026-07-22 19:18:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022295 -3.366127)'), GeomFromEWKT('SRID=4674;POINT (-39.02228 -3.366158)'))) / (select extract(epoch from '2026-07-22 19:18:36'::timestamp) - extract(epoch from '2026-07-22 19:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022295 -3.366127)'), GeomFromEWKT('SRID=4674;POINT (-39.02228 -3.366158)'))) / (select extract(epoch from '2026-07-22 19:18:36'::timestamp) - extract(epoch from '2026-07-22 19:18: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'), 47445, 'SRID=4674;POINT (-39.022243 -3.366145)', '2026-07-22 19:18:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02228 -3.366158)'), GeomFromEWKT('SRID=4674;POINT (-39.022243 -3.366145)'))) / (select extract(epoch from '2026-07-22 19:18:46'::timestamp) - extract(epoch from '2026-07-22 19:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02228 -3.366158)'), GeomFromEWKT('SRID=4674;POINT (-39.022243 -3.366145)'))) / (select extract(epoch from '2026-07-22 19:18:46'::timestamp) - extract(epoch from '2026-07-22 19:18: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'), 47445, 'SRID=4674;POINT (-39.022205 -3.366158)', '2026-07-22 19:18:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022243 -3.366145)'), GeomFromEWKT('SRID=4674;POINT (-39.022205 -3.366158)'))) / (select extract(epoch from '2026-07-22 19:18:54'::timestamp) - extract(epoch from '2026-07-22 19:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022243 -3.366145)'), GeomFromEWKT('SRID=4674;POINT (-39.022205 -3.366158)'))) / (select extract(epoch from '2026-07-22 19:18:54'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022179 -3.366189)', '2026-07-22 19:19:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022205 -3.366158)'), GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.366189)'))) / (select extract(epoch from '2026-07-22 19:19:01'::timestamp) - extract(epoch from '2026-07-22 19:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022205 -3.366158)'), GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.366189)'))) / (select extract(epoch from '2026-07-22 19:19:01'::timestamp) - extract(epoch from '2026-07-22 19:18: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'), 47445, 'SRID=4674;POINT (-39.022147 -3.366221)', '2026-07-22 19:19:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.366189)'), GeomFromEWKT('SRID=4674;POINT (-39.022147 -3.366221)'))) / (select extract(epoch from '2026-07-22 19:19:10'::timestamp) - extract(epoch from '2026-07-22 19:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.366189)'), GeomFromEWKT('SRID=4674;POINT (-39.022147 -3.366221)'))) / (select extract(epoch from '2026-07-22 19:19:10'::timestamp) - extract(epoch from '2026-07-22 19:19: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'), 47445, 'SRID=4674;POINT (-39.022124 -3.366217)', '2026-07-22 19:19:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022147 -3.366221)'), GeomFromEWKT('SRID=4674;POINT (-39.022124 -3.366217)'))) / (select extract(epoch from '2026-07-22 19:19:17'::timestamp) - extract(epoch from '2026-07-22 19:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022147 -3.366221)'), GeomFromEWKT('SRID=4674;POINT (-39.022124 -3.366217)'))) / (select extract(epoch from '2026-07-22 19:19:17'::timestamp) - extract(epoch from '2026-07-22 19:19: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'), 47445, 'SRID=4674;POINT (-39.022101 -3.366216)', '2026-07-22 19:19:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022124 -3.366217)'), GeomFromEWKT('SRID=4674;POINT (-39.022101 -3.366216)'))) / (select extract(epoch from '2026-07-22 19:19:25'::timestamp) - extract(epoch from '2026-07-22 19:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022124 -3.366217)'), GeomFromEWKT('SRID=4674;POINT (-39.022101 -3.366216)'))) / (select extract(epoch from '2026-07-22 19:19:25'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.02207 -3.366244)', '2026-07-22 19:19:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022101 -3.366216)'), GeomFromEWKT('SRID=4674;POINT (-39.02207 -3.366244)'))) / (select extract(epoch from '2026-07-22 19:19:32'::timestamp) - extract(epoch from '2026-07-22 19:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022101 -3.366216)'), GeomFromEWKT('SRID=4674;POINT (-39.02207 -3.366244)'))) / (select extract(epoch from '2026-07-22 19:19:32'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022032 -3.366287)', '2026-07-22 19:19:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02207 -3.366244)'), GeomFromEWKT('SRID=4674;POINT (-39.022032 -3.366287)'))) / (select extract(epoch from '2026-07-22 19:19:41'::timestamp) - extract(epoch from '2026-07-22 19:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02207 -3.366244)'), GeomFromEWKT('SRID=4674;POINT (-39.022032 -3.366287)'))) / (select extract(epoch from '2026-07-22 19:19:41'::timestamp) - extract(epoch from '2026-07-22 19:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021993 -3.366304)', '2026-07-22 19:19:48', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022032 -3.366287)'), GeomFromEWKT('SRID=4674;POINT (-39.021993 -3.366304)'))) / (select extract(epoch from '2026-07-22 19:19:48'::timestamp) - extract(epoch from '2026-07-22 19:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022032 -3.366287)'), GeomFromEWKT('SRID=4674;POINT (-39.021993 -3.366304)'))) / (select extract(epoch from '2026-07-22 19:19:48'::timestamp) - extract(epoch from '2026-07-22 19:19:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021951 -3.366301)', '2026-07-22 19:19:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021993 -3.366304)'), GeomFromEWKT('SRID=4674;POINT (-39.021951 -3.366301)'))) / (select extract(epoch from '2026-07-22 19:19:56'::timestamp) - extract(epoch from '2026-07-22 19:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021993 -3.366304)'), GeomFromEWKT('SRID=4674;POINT (-39.021951 -3.366301)'))) / (select extract(epoch from '2026-07-22 19:19:56'::timestamp) - extract(epoch from '2026-07-22 19:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021917 -3.366307)', '2026-07-22 19:20:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021951 -3.366301)'), GeomFromEWKT('SRID=4674;POINT (-39.021917 -3.366307)'))) / (select extract(epoch from '2026-07-22 19:20:03'::timestamp) - extract(epoch from '2026-07-22 19:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021951 -3.366301)'), GeomFromEWKT('SRID=4674;POINT (-39.021917 -3.366307)'))) / (select extract(epoch from '2026-07-22 19:20:03'::timestamp) - extract(epoch from '2026-07-22 19:19:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021904 -3.36634)', '2026-07-22 19:20:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021917 -3.366307)'), GeomFromEWKT('SRID=4674;POINT (-39.021904 -3.36634)'))) / (select extract(epoch from '2026-07-22 19:20:11'::timestamp) - extract(epoch from '2026-07-22 19:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021917 -3.366307)'), GeomFromEWKT('SRID=4674;POINT (-39.021904 -3.36634)'))) / (select extract(epoch from '2026-07-22 19:20:11'::timestamp) - extract(epoch from '2026-07-22 19:20: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'), 47445, 'SRID=4674;POINT (-39.021878 -3.366379)', '2026-07-22 19:20:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021904 -3.36634)'), GeomFromEWKT('SRID=4674;POINT (-39.021878 -3.366379)'))) / (select extract(epoch from '2026-07-22 19:20:21'::timestamp) - extract(epoch from '2026-07-22 19:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021904 -3.36634)'), GeomFromEWKT('SRID=4674;POINT (-39.021878 -3.366379)'))) / (select extract(epoch from '2026-07-22 19:20:21'::timestamp) - extract(epoch from '2026-07-22 19:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021844 -3.366361)', '2026-07-22 19:20:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021878 -3.366379)'), GeomFromEWKT('SRID=4674;POINT (-39.021844 -3.366361)'))) / (select extract(epoch from '2026-07-22 19:20:29'::timestamp) - extract(epoch from '2026-07-22 19:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021878 -3.366379)'), GeomFromEWKT('SRID=4674;POINT (-39.021844 -3.366361)'))) / (select extract(epoch from '2026-07-22 19:20:29'::timestamp) - extract(epoch from '2026-07-22 19:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021799 -3.36635)', '2026-07-22 19:20:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021844 -3.366361)'), GeomFromEWKT('SRID=4674;POINT (-39.021799 -3.36635)'))) / (select extract(epoch from '2026-07-22 19:20:38'::timestamp) - extract(epoch from '2026-07-22 19:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021844 -3.366361)'), GeomFromEWKT('SRID=4674;POINT (-39.021799 -3.36635)'))) / (select extract(epoch from '2026-07-22 19:20:38'::timestamp) - extract(epoch from '2026-07-22 19:20:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021788 -3.366369)', '2026-07-22 19:20:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021799 -3.36635)'), GeomFromEWKT('SRID=4674;POINT (-39.021788 -3.366369)'))) / (select extract(epoch from '2026-07-22 19:20:45'::timestamp) - extract(epoch from '2026-07-22 19:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021799 -3.36635)'), GeomFromEWKT('SRID=4674;POINT (-39.021788 -3.366369)'))) / (select extract(epoch from '2026-07-22 19:20:45'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.02177 -3.366395)', '2026-07-22 19:20:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021788 -3.366369)'), GeomFromEWKT('SRID=4674;POINT (-39.02177 -3.366395)'))) / (select extract(epoch from '2026-07-22 19:20:52'::timestamp) - extract(epoch from '2026-07-22 19:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021788 -3.366369)'), GeomFromEWKT('SRID=4674;POINT (-39.02177 -3.366395)'))) / (select extract(epoch from '2026-07-22 19:20:52'::timestamp) - extract(epoch from '2026-07-22 19:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021763 -3.366397)', '2026-07-22 19:21:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02177 -3.366395)'), GeomFromEWKT('SRID=4674;POINT (-39.021763 -3.366397)'))) / (select extract(epoch from '2026-07-22 19:21:00'::timestamp) - extract(epoch from '2026-07-22 19:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02177 -3.366395)'), GeomFromEWKT('SRID=4674;POINT (-39.021763 -3.366397)'))) / (select extract(epoch from '2026-07-22 19:21:00'::timestamp) - extract(epoch from '2026-07-22 19:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021752 -3.366378)', '2026-07-22 19:21:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021763 -3.366397)'), GeomFromEWKT('SRID=4674;POINT (-39.021752 -3.366378)'))) / (select extract(epoch from '2026-07-22 19:21:08'::timestamp) - extract(epoch from '2026-07-22 19:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021763 -3.366397)'), GeomFromEWKT('SRID=4674;POINT (-39.021752 -3.366378)'))) / (select extract(epoch from '2026-07-22 19:21:08'::timestamp) - extract(epoch from '2026-07-22 19:21:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021746 -3.366374)', '2026-07-22 19:21:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021752 -3.366378)'), GeomFromEWKT('SRID=4674;POINT (-39.021746 -3.366374)'))) / (select extract(epoch from '2026-07-22 19:21:09'::timestamp) - extract(epoch from '2026-07-22 19:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021752 -3.366378)'), GeomFromEWKT('SRID=4674;POINT (-39.021746 -3.366374)'))) / (select extract(epoch from '2026-07-22 19:21:09'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021738 -3.366373)', '2026-07-22 19:21:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021746 -3.366374)'), GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.366373)'))) / (select extract(epoch from '2026-07-22 19:21:13'::timestamp) - extract(epoch from '2026-07-22 19:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021746 -3.366374)'), GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.366373)'))) / (select extract(epoch from '2026-07-22 19:21:13'::timestamp) - extract(epoch from '2026-07-22 19:21: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'), 47445, 'SRID=4674;POINT (-39.021711 -3.366386)', '2026-07-22 19:21:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.366373)'), GeomFromEWKT('SRID=4674;POINT (-39.021711 -3.366386)'))) / (select extract(epoch from '2026-07-22 19:21:20'::timestamp) - extract(epoch from '2026-07-22 19:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.366373)'), GeomFromEWKT('SRID=4674;POINT (-39.021711 -3.366386)'))) / (select extract(epoch from '2026-07-22 19:21:20'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021706 -3.366411)', '2026-07-22 19:21:25', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021711 -3.366386)'), GeomFromEWKT('SRID=4674;POINT (-39.021706 -3.366411)'))) / (select extract(epoch from '2026-07-22 19:21:25'::timestamp) - extract(epoch from '2026-07-22 19:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021711 -3.366386)'), GeomFromEWKT('SRID=4674;POINT (-39.021706 -3.366411)'))) / (select extract(epoch from '2026-07-22 19:21:25'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021695 -3.366436)', '2026-07-22 19:21:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021706 -3.366411)'), GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.366436)'))) / (select extract(epoch from '2026-07-22 19:21:32'::timestamp) - extract(epoch from '2026-07-22 19:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021706 -3.366411)'), GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.366436)'))) / (select extract(epoch from '2026-07-22 19:21:32'::timestamp) - extract(epoch from '2026-07-22 19:21: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'), 47445, 'SRID=4674;POINT (-39.021667 -3.36644)', '2026-07-22 19:21:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.366436)'), GeomFromEWKT('SRID=4674;POINT (-39.021667 -3.36644)'))) / (select extract(epoch from '2026-07-22 19:21:40'::timestamp) - extract(epoch from '2026-07-22 19:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021695 -3.366436)'), GeomFromEWKT('SRID=4674;POINT (-39.021667 -3.36644)'))) / (select extract(epoch from '2026-07-22 19:21:40'::timestamp) - extract(epoch from '2026-07-22 19:21: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'), 47445, 'SRID=4674;POINT (-39.021625 -3.366447)', '2026-07-22 19:21:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021667 -3.36644)'), GeomFromEWKT('SRID=4674;POINT (-39.021625 -3.366447)'))) / (select extract(epoch from '2026-07-22 19:21:49'::timestamp) - extract(epoch from '2026-07-22 19:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021667 -3.36644)'), GeomFromEWKT('SRID=4674;POINT (-39.021625 -3.366447)'))) / (select extract(epoch from '2026-07-22 19:21:49'::timestamp) - extract(epoch from '2026-07-22 19:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021601 -3.366478)', '2026-07-22 19:21:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021625 -3.366447)'), GeomFromEWKT('SRID=4674;POINT (-39.021601 -3.366478)'))) / (select extract(epoch from '2026-07-22 19:21:56'::timestamp) - extract(epoch from '2026-07-22 19:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021625 -3.366447)'), GeomFromEWKT('SRID=4674;POINT (-39.021601 -3.366478)'))) / (select extract(epoch from '2026-07-22 19:21:56'::timestamp) - extract(epoch from '2026-07-22 19:21: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'), 47445, 'SRID=4674;POINT (-39.021596 -3.36651)', '2026-07-22 19:22:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021601 -3.366478)'), GeomFromEWKT('SRID=4674;POINT (-39.021596 -3.36651)'))) / (select extract(epoch from '2026-07-22 19:22:02'::timestamp) - extract(epoch from '2026-07-22 19:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021601 -3.366478)'), GeomFromEWKT('SRID=4674;POINT (-39.021596 -3.36651)'))) / (select extract(epoch from '2026-07-22 19:22:02'::timestamp) - extract(epoch from '2026-07-22 19:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021574 -3.366554)', '2026-07-22 19:22:11', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021596 -3.36651)'), GeomFromEWKT('SRID=4674;POINT (-39.021574 -3.366554)'))) / (select extract(epoch from '2026-07-22 19:22:11'::timestamp) - extract(epoch from '2026-07-22 19:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021596 -3.36651)'), GeomFromEWKT('SRID=4674;POINT (-39.021574 -3.366554)'))) / (select extract(epoch from '2026-07-22 19:22:11'::timestamp) - extract(epoch from '2026-07-22 19:22: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'), 47445, 'SRID=4674;POINT (-39.021553 -3.366549)', '2026-07-22 19:22:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021574 -3.366554)'), GeomFromEWKT('SRID=4674;POINT (-39.021553 -3.366549)'))) / (select extract(epoch from '2026-07-22 19:22:19'::timestamp) - extract(epoch from '2026-07-22 19:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021574 -3.366554)'), GeomFromEWKT('SRID=4674;POINT (-39.021553 -3.366549)'))) / (select extract(epoch from '2026-07-22 19:22:19'::timestamp) - extract(epoch from '2026-07-22 19:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021537 -3.366534)', '2026-07-22 19:22:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021553 -3.366549)'), GeomFromEWKT('SRID=4674;POINT (-39.021537 -3.366534)'))) / (select extract(epoch from '2026-07-22 19:22:29'::timestamp) - extract(epoch from '2026-07-22 19:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021553 -3.366549)'), GeomFromEWKT('SRID=4674;POINT (-39.021537 -3.366534)'))) / (select extract(epoch from '2026-07-22 19:22:29'::timestamp) - extract(epoch from '2026-07-22 19:22: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'), 47445, 'SRID=4674;POINT (-39.021513 -3.366567)', '2026-07-22 19:22:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021537 -3.366534)'), GeomFromEWKT('SRID=4674;POINT (-39.021513 -3.366567)'))) / (select extract(epoch from '2026-07-22 19:22:38'::timestamp) - extract(epoch from '2026-07-22 19:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021537 -3.366534)'), GeomFromEWKT('SRID=4674;POINT (-39.021513 -3.366567)'))) / (select extract(epoch from '2026-07-22 19:22:38'::timestamp) - extract(epoch from '2026-07-22 19:22: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'), 47445, 'SRID=4674;POINT (-39.021485 -3.366602)', '2026-07-22 19:22:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021513 -3.366567)'), GeomFromEWKT('SRID=4674;POINT (-39.021485 -3.366602)'))) / (select extract(epoch from '2026-07-22 19:22:45'::timestamp) - extract(epoch from '2026-07-22 19:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021513 -3.366567)'), GeomFromEWKT('SRID=4674;POINT (-39.021485 -3.366602)'))) / (select extract(epoch from '2026-07-22 19:22:45'::timestamp) - extract(epoch from '2026-07-22 19:22: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'), 47445, 'SRID=4674;POINT (-39.021444 -3.366613)', '2026-07-22 19:22:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021485 -3.366602)'), GeomFromEWKT('SRID=4674;POINT (-39.021444 -3.366613)'))) / (select extract(epoch from '2026-07-22 19:22:54'::timestamp) - extract(epoch from '2026-07-22 19:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021485 -3.366602)'), GeomFromEWKT('SRID=4674;POINT (-39.021444 -3.366613)'))) / (select extract(epoch from '2026-07-22 19:22:54'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021412 -3.366617)', '2026-07-22 19:23:03', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021444 -3.366613)'), GeomFromEWKT('SRID=4674;POINT (-39.021412 -3.366617)'))) / (select extract(epoch from '2026-07-22 19:23:03'::timestamp) - extract(epoch from '2026-07-22 19:22:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021444 -3.366613)'), GeomFromEWKT('SRID=4674;POINT (-39.021412 -3.366617)'))) / (select extract(epoch from '2026-07-22 19:23:03'::timestamp) - extract(epoch from '2026-07-22 19:22: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'), 47445, 'SRID=4674;POINT (-39.021398 -3.366638)', '2026-07-22 19:23:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021412 -3.366617)'), GeomFromEWKT('SRID=4674;POINT (-39.021398 -3.366638)'))) / (select extract(epoch from '2026-07-22 19:23:09'::timestamp) - extract(epoch from '2026-07-22 19:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021412 -3.366617)'), GeomFromEWKT('SRID=4674;POINT (-39.021398 -3.366638)'))) / (select extract(epoch from '2026-07-22 19:23:09'::timestamp) - extract(epoch from '2026-07-22 19:23:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021365 -3.36667)', '2026-07-22 19:23:19', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021398 -3.366638)'), GeomFromEWKT('SRID=4674;POINT (-39.021365 -3.36667)'))) / (select extract(epoch from '2026-07-22 19:23:19'::timestamp) - extract(epoch from '2026-07-22 19:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021398 -3.366638)'), GeomFromEWKT('SRID=4674;POINT (-39.021365 -3.36667)'))) / (select extract(epoch from '2026-07-22 19:23:19'::timestamp) - extract(epoch from '2026-07-22 19:23: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'), 47445, 'SRID=4674;POINT (-39.021334 -3.366676)', '2026-07-22 19:23:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021365 -3.36667)'), GeomFromEWKT('SRID=4674;POINT (-39.021334 -3.366676)'))) / (select extract(epoch from '2026-07-22 19:23:27'::timestamp) - extract(epoch from '2026-07-22 19:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021365 -3.36667)'), GeomFromEWKT('SRID=4674;POINT (-39.021334 -3.366676)'))) / (select extract(epoch from '2026-07-22 19:23:27'::timestamp) - extract(epoch from '2026-07-22 19:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021301 -3.366695)', '2026-07-22 19:23:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021334 -3.366676)'), GeomFromEWKT('SRID=4674;POINT (-39.021301 -3.366695)'))) / (select extract(epoch from '2026-07-22 19:23:36'::timestamp) - extract(epoch from '2026-07-22 19:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021334 -3.366676)'), GeomFromEWKT('SRID=4674;POINT (-39.021301 -3.366695)'))) / (select extract(epoch from '2026-07-22 19:23:36'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021255 -3.366718)', '2026-07-22 19:23:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021301 -3.366695)'), GeomFromEWKT('SRID=4674;POINT (-39.021255 -3.366718)'))) / (select extract(epoch from '2026-07-22 19:23:47'::timestamp) - extract(epoch from '2026-07-22 19:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021301 -3.366695)'), GeomFromEWKT('SRID=4674;POINT (-39.021255 -3.366718)'))) / (select extract(epoch from '2026-07-22 19:23:47'::timestamp) - extract(epoch from '2026-07-22 19:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021222 -3.366752)', '2026-07-22 19:23:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021255 -3.366718)'), GeomFromEWKT('SRID=4674;POINT (-39.021222 -3.366752)'))) / (select extract(epoch from '2026-07-22 19:23:56'::timestamp) - extract(epoch from '2026-07-22 19:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021255 -3.366718)'), GeomFromEWKT('SRID=4674;POINT (-39.021222 -3.366752)'))) / (select extract(epoch from '2026-07-22 19:23:56'::timestamp) - extract(epoch from '2026-07-22 19:23: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'), 47445, 'SRID=4674;POINT (-39.021206 -3.366781)', '2026-07-22 19:24:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021222 -3.366752)'), GeomFromEWKT('SRID=4674;POINT (-39.021206 -3.366781)'))) / (select extract(epoch from '2026-07-22 19:24:05'::timestamp) - extract(epoch from '2026-07-22 19:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021222 -3.366752)'), GeomFromEWKT('SRID=4674;POINT (-39.021206 -3.366781)'))) / (select extract(epoch from '2026-07-22 19:24:05'::timestamp) - extract(epoch from '2026-07-22 19:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021145 -3.366806)', '2026-07-22 19:24:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021206 -3.366781)'), GeomFromEWKT('SRID=4674;POINT (-39.021145 -3.366806)'))) / (select extract(epoch from '2026-07-22 19:24:20'::timestamp) - extract(epoch from '2026-07-22 19:24:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021206 -3.366781)'), GeomFromEWKT('SRID=4674;POINT (-39.021145 -3.366806)'))) / (select extract(epoch from '2026-07-22 19:24:20'::timestamp) - extract(epoch from '2026-07-22 19:24:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021115 -3.366815)', '2026-07-22 19:24:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021145 -3.366806)'), GeomFromEWKT('SRID=4674;POINT (-39.021115 -3.366815)'))) / (select extract(epoch from '2026-07-22 19:24:26'::timestamp) - extract(epoch from '2026-07-22 19:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021145 -3.366806)'), GeomFromEWKT('SRID=4674;POINT (-39.021115 -3.366815)'))) / (select extract(epoch from '2026-07-22 19:24:26'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021083 -3.366843)', '2026-07-22 19:24:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021115 -3.366815)'), GeomFromEWKT('SRID=4674;POINT (-39.021083 -3.366843)'))) / (select extract(epoch from '2026-07-22 19:24:33'::timestamp) - extract(epoch from '2026-07-22 19:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021115 -3.366815)'), GeomFromEWKT('SRID=4674;POINT (-39.021083 -3.366843)'))) / (select extract(epoch from '2026-07-22 19:24:33'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021074 -3.366876)', '2026-07-22 19:24:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021083 -3.366843)'), GeomFromEWKT('SRID=4674;POINT (-39.021074 -3.366876)'))) / (select extract(epoch from '2026-07-22 19:24:41'::timestamp) - extract(epoch from '2026-07-22 19:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021083 -3.366843)'), GeomFromEWKT('SRID=4674;POINT (-39.021074 -3.366876)'))) / (select extract(epoch from '2026-07-22 19:24:41'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021047 -3.366884)', '2026-07-22 19:24:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021074 -3.366876)'), GeomFromEWKT('SRID=4674;POINT (-39.021047 -3.366884)'))) / (select extract(epoch from '2026-07-22 19:24:49'::timestamp) - extract(epoch from '2026-07-22 19:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021074 -3.366876)'), GeomFromEWKT('SRID=4674;POINT (-39.021047 -3.366884)'))) / (select extract(epoch from '2026-07-22 19:24:49'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021024 -3.36687)', '2026-07-22 19:24:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021047 -3.366884)'), GeomFromEWKT('SRID=4674;POINT (-39.021024 -3.36687)'))) / (select extract(epoch from '2026-07-22 19:24:56'::timestamp) - extract(epoch from '2026-07-22 19:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021047 -3.366884)'), GeomFromEWKT('SRID=4674;POINT (-39.021024 -3.36687)'))) / (select extract(epoch from '2026-07-22 19:24:56'::timestamp) - extract(epoch from '2026-07-22 19:24: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'), 47445, 'SRID=4674;POINT (-39.021006 -3.366878)', '2026-07-22 19:25:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021024 -3.36687)'), GeomFromEWKT('SRID=4674;POINT (-39.021006 -3.366878)'))) / (select extract(epoch from '2026-07-22 19:25:05'::timestamp) - extract(epoch from '2026-07-22 19:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021024 -3.36687)'), GeomFromEWKT('SRID=4674;POINT (-39.021006 -3.366878)'))) / (select extract(epoch from '2026-07-22 19:25:05'::timestamp) - extract(epoch from '2026-07-22 19:24: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'), 47445, 'SRID=4674;POINT (-39.020982 -3.366909)', '2026-07-22 19:25:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021006 -3.366878)'), GeomFromEWKT('SRID=4674;POINT (-39.020982 -3.366909)'))) / (select extract(epoch from '2026-07-22 19:25:13'::timestamp) - extract(epoch from '2026-07-22 19:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021006 -3.366878)'), GeomFromEWKT('SRID=4674;POINT (-39.020982 -3.366909)'))) / (select extract(epoch from '2026-07-22 19:25:13'::timestamp) - extract(epoch from '2026-07-22 19:25: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'), 47445, 'SRID=4674;POINT (-39.020935 -3.366942)', '2026-07-22 19:25:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020982 -3.366909)'), GeomFromEWKT('SRID=4674;POINT (-39.020935 -3.366942)'))) / (select extract(epoch from '2026-07-22 19:25:22'::timestamp) - extract(epoch from '2026-07-22 19:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020982 -3.366909)'), GeomFromEWKT('SRID=4674;POINT (-39.020935 -3.366942)'))) / (select extract(epoch from '2026-07-22 19:25:22'::timestamp) - extract(epoch from '2026-07-22 19:25: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'), 47445, 'SRID=4674;POINT (-39.020894 -3.36695)', '2026-07-22 19:25:31', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020935 -3.366942)'), GeomFromEWKT('SRID=4674;POINT (-39.020894 -3.36695)'))) / (select extract(epoch from '2026-07-22 19:25:31'::timestamp) - extract(epoch from '2026-07-22 19:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020935 -3.366942)'), GeomFromEWKT('SRID=4674;POINT (-39.020894 -3.36695)'))) / (select extract(epoch from '2026-07-22 19:25:31'::timestamp) - extract(epoch from '2026-07-22 19:25: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'), 47445, 'SRID=4674;POINT (-39.020865 -3.366948)', '2026-07-22 19:25:42', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020894 -3.36695)'), GeomFromEWKT('SRID=4674;POINT (-39.020865 -3.366948)'))) / (select extract(epoch from '2026-07-22 19:25:42'::timestamp) - extract(epoch from '2026-07-22 19:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020894 -3.36695)'), GeomFromEWKT('SRID=4674;POINT (-39.020865 -3.366948)'))) / (select extract(epoch from '2026-07-22 19:25:42'::timestamp) - extract(epoch from '2026-07-22 19:25:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020849 -3.366962)', '2026-07-22 19:25:47', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020865 -3.366948)'), GeomFromEWKT('SRID=4674;POINT (-39.020849 -3.366962)'))) / (select extract(epoch from '2026-07-22 19:25:47'::timestamp) - extract(epoch from '2026-07-22 19:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020865 -3.366948)'), GeomFromEWKT('SRID=4674;POINT (-39.020849 -3.366962)'))) / (select extract(epoch from '2026-07-22 19:25:47'::timestamp) - extract(epoch from '2026-07-22 19:25:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020825 -3.366995)', '2026-07-22 19:25:56', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020849 -3.366962)'), GeomFromEWKT('SRID=4674;POINT (-39.020825 -3.366995)'))) / (select extract(epoch from '2026-07-22 19:25:56'::timestamp) - extract(epoch from '2026-07-22 19:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020849 -3.366962)'), GeomFromEWKT('SRID=4674;POINT (-39.020825 -3.366995)'))) / (select extract(epoch from '2026-07-22 19:25:56'::timestamp) - extract(epoch from '2026-07-22 19:25: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'), 47445, 'SRID=4674;POINT (-39.020758 -3.367012)', '2026-07-22 19:26:11', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020825 -3.366995)'), GeomFromEWKT('SRID=4674;POINT (-39.020758 -3.367012)'))) / (select extract(epoch from '2026-07-22 19:26:11'::timestamp) - extract(epoch from '2026-07-22 19:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020825 -3.366995)'), GeomFromEWKT('SRID=4674;POINT (-39.020758 -3.367012)'))) / (select extract(epoch from '2026-07-22 19:26:11'::timestamp) - extract(epoch from '2026-07-22 19:25: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'), 47445, 'SRID=4674;POINT (-39.020736 -3.367027)', '2026-07-22 19:26:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020758 -3.367012)'), GeomFromEWKT('SRID=4674;POINT (-39.020736 -3.367027)'))) / (select extract(epoch from '2026-07-22 19:26:20'::timestamp) - extract(epoch from '2026-07-22 19:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020758 -3.367012)'), GeomFromEWKT('SRID=4674;POINT (-39.020736 -3.367027)'))) / (select extract(epoch from '2026-07-22 19:26:20'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020722 -3.36706)', '2026-07-22 19:26:30', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020736 -3.367027)'), GeomFromEWKT('SRID=4674;POINT (-39.020722 -3.36706)'))) / (select extract(epoch from '2026-07-22 19:26:30'::timestamp) - extract(epoch from '2026-07-22 19:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020736 -3.367027)'), GeomFromEWKT('SRID=4674;POINT (-39.020722 -3.36706)'))) / (select extract(epoch from '2026-07-22 19:26:30'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020691 -3.367061)', '2026-07-22 19:26:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020722 -3.36706)'), GeomFromEWKT('SRID=4674;POINT (-39.020691 -3.367061)'))) / (select extract(epoch from '2026-07-22 19:26:39'::timestamp) - extract(epoch from '2026-07-22 19:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020722 -3.36706)'), GeomFromEWKT('SRID=4674;POINT (-39.020691 -3.367061)'))) / (select extract(epoch from '2026-07-22 19:26:39'::timestamp) - extract(epoch from '2026-07-22 19:26: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'), 47445, 'SRID=4674;POINT (-39.020652 -3.367068)', '2026-07-22 19:26:48', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020691 -3.367061)'), GeomFromEWKT('SRID=4674;POINT (-39.020652 -3.367068)'))) / (select extract(epoch from '2026-07-22 19:26:48'::timestamp) - extract(epoch from '2026-07-22 19:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020691 -3.367061)'), GeomFromEWKT('SRID=4674;POINT (-39.020652 -3.367068)'))) / (select extract(epoch from '2026-07-22 19:26:48'::timestamp) - extract(epoch from '2026-07-22 19:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020632 -3.367095)', '2026-07-22 19:26:56', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020652 -3.367068)'), GeomFromEWKT('SRID=4674;POINT (-39.020632 -3.367095)'))) / (select extract(epoch from '2026-07-22 19:26:56'::timestamp) - extract(epoch from '2026-07-22 19:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020652 -3.367068)'), GeomFromEWKT('SRID=4674;POINT (-39.020632 -3.367095)'))) / (select extract(epoch from '2026-07-22 19:26:56'::timestamp) - extract(epoch from '2026-07-22 19:26: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'), 47445, 'SRID=4674;POINT (-39.020604 -3.367115)', '2026-07-22 19:27:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020632 -3.367095)'), GeomFromEWKT('SRID=4674;POINT (-39.020604 -3.367115)'))) / (select extract(epoch from '2026-07-22 19:27:03'::timestamp) - extract(epoch from '2026-07-22 19:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020632 -3.367095)'), GeomFromEWKT('SRID=4674;POINT (-39.020604 -3.367115)'))) / (select extract(epoch from '2026-07-22 19:27:03'::timestamp) - extract(epoch from '2026-07-22 19:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020566 -3.367133)', '2026-07-22 19:27:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020604 -3.367115)'), GeomFromEWKT('SRID=4674;POINT (-39.020566 -3.367133)'))) / (select extract(epoch from '2026-07-22 19:27:13'::timestamp) - extract(epoch from '2026-07-22 19:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020604 -3.367115)'), GeomFromEWKT('SRID=4674;POINT (-39.020566 -3.367133)'))) / (select extract(epoch from '2026-07-22 19:27:13'::timestamp) - extract(epoch from '2026-07-22 19:27: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'), 47445, 'SRID=4674;POINT (-39.020556 -3.367131)', '2026-07-22 19:27:19', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020566 -3.367133)'), GeomFromEWKT('SRID=4674;POINT (-39.020556 -3.367131)'))) / (select extract(epoch from '2026-07-22 19:27:19'::timestamp) - extract(epoch from '2026-07-22 19:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020566 -3.367133)'), GeomFromEWKT('SRID=4674;POINT (-39.020556 -3.367131)'))) / (select extract(epoch from '2026-07-22 19:27:19'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020531 -3.367141)', '2026-07-22 19:27:26', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020556 -3.367131)'), GeomFromEWKT('SRID=4674;POINT (-39.020531 -3.367141)'))) / (select extract(epoch from '2026-07-22 19:27:26'::timestamp) - extract(epoch from '2026-07-22 19:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020556 -3.367131)'), GeomFromEWKT('SRID=4674;POINT (-39.020531 -3.367141)'))) / (select extract(epoch from '2026-07-22 19:27:26'::timestamp) - extract(epoch from '2026-07-22 19:27:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020514 -3.367172)', '2026-07-22 19:27:34', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020531 -3.367141)'), GeomFromEWKT('SRID=4674;POINT (-39.020514 -3.367172)'))) / (select extract(epoch from '2026-07-22 19:27:34'::timestamp) - extract(epoch from '2026-07-22 19:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020531 -3.367141)'), GeomFromEWKT('SRID=4674;POINT (-39.020514 -3.367172)'))) / (select extract(epoch from '2026-07-22 19:27:34'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.02049 -3.3672)', '2026-07-22 19:27:42', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020514 -3.367172)'), GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.3672)'))) / (select extract(epoch from '2026-07-22 19:27:42'::timestamp) - extract(epoch from '2026-07-22 19:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020514 -3.367172)'), GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.3672)'))) / (select extract(epoch from '2026-07-22 19:27:42'::timestamp) - extract(epoch from '2026-07-22 19:27:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020455 -3.367205)', '2026-07-22 19:27:52', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.3672)'), GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.367205)'))) / (select extract(epoch from '2026-07-22 19:27:52'::timestamp) - extract(epoch from '2026-07-22 19:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02049 -3.3672)'), GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.367205)'))) / (select extract(epoch from '2026-07-22 19:27:52'::timestamp) - extract(epoch from '2026-07-22 19:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020436 -3.367202)', '2026-07-22 19:28:01', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.367205)'), GeomFromEWKT('SRID=4674;POINT (-39.020436 -3.367202)'))) / (select extract(epoch from '2026-07-22 19:28:01'::timestamp) - extract(epoch from '2026-07-22 19:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020455 -3.367205)'), GeomFromEWKT('SRID=4674;POINT (-39.020436 -3.367202)'))) / (select extract(epoch from '2026-07-22 19:28:01'::timestamp) - extract(epoch from '2026-07-22 19:27: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'), 47445, 'SRID=4674;POINT (-39.020414 -3.367227)', '2026-07-22 19:28:12', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020436 -3.367202)'), GeomFromEWKT('SRID=4674;POINT (-39.020414 -3.367227)'))) / (select extract(epoch from '2026-07-22 19:28:12'::timestamp) - extract(epoch from '2026-07-22 19:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020436 -3.367202)'), GeomFromEWKT('SRID=4674;POINT (-39.020414 -3.367227)'))) / (select extract(epoch from '2026-07-22 19:28:12'::timestamp) - extract(epoch from '2026-07-22 19:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020419 -3.367255)', '2026-07-22 19:28:19', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020414 -3.367227)'), GeomFromEWKT('SRID=4674;POINT (-39.020419 -3.367255)'))) / (select extract(epoch from '2026-07-22 19:28:19'::timestamp) - extract(epoch from '2026-07-22 19:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020414 -3.367227)'), GeomFromEWKT('SRID=4674;POINT (-39.020419 -3.367255)'))) / (select extract(epoch from '2026-07-22 19:28:19'::timestamp) - extract(epoch from '2026-07-22 19:28:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020405 -3.36727)', '2026-07-22 19:28:28', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020419 -3.367255)'), GeomFromEWKT('SRID=4674;POINT (-39.020405 -3.36727)'))) / (select extract(epoch from '2026-07-22 19:28:28'::timestamp) - extract(epoch from '2026-07-22 19:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020419 -3.367255)'), GeomFromEWKT('SRID=4674;POINT (-39.020405 -3.36727)'))) / (select extract(epoch from '2026-07-22 19:28:28'::timestamp) - extract(epoch from '2026-07-22 19:28: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'), 47445, 'SRID=4674;POINT (-39.020377 -3.367265)', '2026-07-22 19:28:34', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020405 -3.36727)'), GeomFromEWKT('SRID=4674;POINT (-39.020377 -3.367265)'))) / (select extract(epoch from '2026-07-22 19:28:34'::timestamp) - extract(epoch from '2026-07-22 19:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020405 -3.36727)'), GeomFromEWKT('SRID=4674;POINT (-39.020377 -3.367265)'))) / (select extract(epoch from '2026-07-22 19:28:34'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020344 -3.367267)', '2026-07-22 19:28:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020377 -3.367265)'), GeomFromEWKT('SRID=4674;POINT (-39.020344 -3.367267)'))) / (select extract(epoch from '2026-07-22 19:28:42'::timestamp) - extract(epoch from '2026-07-22 19:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020377 -3.367265)'), GeomFromEWKT('SRID=4674;POINT (-39.020344 -3.367267)'))) / (select extract(epoch from '2026-07-22 19:28:42'::timestamp) - extract(epoch from '2026-07-22 19:28:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020314 -3.36731)', '2026-07-22 19:28:51', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020344 -3.367267)'), GeomFromEWKT('SRID=4674;POINT (-39.020314 -3.36731)'))) / (select extract(epoch from '2026-07-22 19:28:51'::timestamp) - extract(epoch from '2026-07-22 19:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020344 -3.367267)'), GeomFromEWKT('SRID=4674;POINT (-39.020314 -3.36731)'))) / (select extract(epoch from '2026-07-22 19:28:51'::timestamp) - extract(epoch from '2026-07-22 19:28: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'), 47445, 'SRID=4674;POINT (-39.020275 -3.367337)', '2026-07-22 19:29:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020314 -3.36731)'), GeomFromEWKT('SRID=4674;POINT (-39.020275 -3.367337)'))) / (select extract(epoch from '2026-07-22 19:29:00'::timestamp) - extract(epoch from '2026-07-22 19:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020314 -3.36731)'), GeomFromEWKT('SRID=4674;POINT (-39.020275 -3.367337)'))) / (select extract(epoch from '2026-07-22 19:29:00'::timestamp) - extract(epoch from '2026-07-22 19:28: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'), 47445, 'SRID=4674;POINT (-39.020241 -3.367321)', '2026-07-22 19:29:07', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020275 -3.367337)'), GeomFromEWKT('SRID=4674;POINT (-39.020241 -3.367321)'))) / (select extract(epoch from '2026-07-22 19:29:07'::timestamp) - extract(epoch from '2026-07-22 19:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020275 -3.367337)'), GeomFromEWKT('SRID=4674;POINT (-39.020241 -3.367321)'))) / (select extract(epoch from '2026-07-22 19:29:07'::timestamp) - extract(epoch from '2026-07-22 19:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020214 -3.367301)', '2026-07-22 19:29:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020241 -3.367321)'), GeomFromEWKT('SRID=4674;POINT (-39.020214 -3.367301)'))) / (select extract(epoch from '2026-07-22 19:29:14'::timestamp) - extract(epoch from '2026-07-22 19:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020241 -3.367321)'), GeomFromEWKT('SRID=4674;POINT (-39.020214 -3.367301)'))) / (select extract(epoch from '2026-07-22 19:29:14'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020199 -3.36733)', '2026-07-22 19:29:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020214 -3.367301)'), GeomFromEWKT('SRID=4674;POINT (-39.020199 -3.36733)'))) / (select extract(epoch from '2026-07-22 19:29:21'::timestamp) - extract(epoch from '2026-07-22 19:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020214 -3.367301)'), GeomFromEWKT('SRID=4674;POINT (-39.020199 -3.36733)'))) / (select extract(epoch from '2026-07-22 19:29:21'::timestamp) - extract(epoch from '2026-07-22 19:29:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020175 -3.367361)', '2026-07-22 19:29:29', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020199 -3.36733)'), GeomFromEWKT('SRID=4674;POINT (-39.020175 -3.367361)'))) / (select extract(epoch from '2026-07-22 19:29:29'::timestamp) - extract(epoch from '2026-07-22 19:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020199 -3.36733)'), GeomFromEWKT('SRID=4674;POINT (-39.020175 -3.367361)'))) / (select extract(epoch from '2026-07-22 19:29:29'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020137 -3.367373)', '2026-07-22 19:29:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020175 -3.367361)'), GeomFromEWKT('SRID=4674;POINT (-39.020137 -3.367373)'))) / (select extract(epoch from '2026-07-22 19:29:36'::timestamp) - extract(epoch from '2026-07-22 19:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020175 -3.367361)'), GeomFromEWKT('SRID=4674;POINT (-39.020137 -3.367373)'))) / (select extract(epoch from '2026-07-22 19:29:36'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020109 -3.367369)', '2026-07-22 19:29:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020137 -3.367373)'), GeomFromEWKT('SRID=4674;POINT (-39.020109 -3.367369)'))) / (select extract(epoch from '2026-07-22 19:29:45'::timestamp) - extract(epoch from '2026-07-22 19:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020137 -3.367373)'), GeomFromEWKT('SRID=4674;POINT (-39.020109 -3.367369)'))) / (select extract(epoch from '2026-07-22 19:29:45'::timestamp) - extract(epoch from '2026-07-22 19:29: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'), 47445, 'SRID=4674;POINT (-39.020088 -3.367387)', '2026-07-22 19:29:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020109 -3.367369)'), GeomFromEWKT('SRID=4674;POINT (-39.020088 -3.367387)'))) / (select extract(epoch from '2026-07-22 19:29:52'::timestamp) - extract(epoch from '2026-07-22 19:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020109 -3.367369)'), GeomFromEWKT('SRID=4674;POINT (-39.020088 -3.367387)'))) / (select extract(epoch from '2026-07-22 19:29:52'::timestamp) - extract(epoch from '2026-07-22 19:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020041 -3.367416)', '2026-07-22 19:30:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020088 -3.367387)'), GeomFromEWKT('SRID=4674;POINT (-39.020041 -3.367416)'))) / (select extract(epoch from '2026-07-22 19:30:01'::timestamp) - extract(epoch from '2026-07-22 19:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020088 -3.367387)'), GeomFromEWKT('SRID=4674;POINT (-39.020041 -3.367416)'))) / (select extract(epoch from '2026-07-22 19:30:01'::timestamp) - extract(epoch from '2026-07-22 19:29: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'), 47445, 'SRID=4674;POINT (-39.020002 -3.367423)', '2026-07-22 19:30:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020041 -3.367416)'), GeomFromEWKT('SRID=4674;POINT (-39.020002 -3.367423)'))) / (select extract(epoch from '2026-07-22 19:30:10'::timestamp) - extract(epoch from '2026-07-22 19:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020041 -3.367416)'), GeomFromEWKT('SRID=4674;POINT (-39.020002 -3.367423)'))) / (select extract(epoch from '2026-07-22 19:30:10'::timestamp) - extract(epoch from '2026-07-22 19:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019986 -3.367436)', '2026-07-22 19:30:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020002 -3.367423)'), GeomFromEWKT('SRID=4674;POINT (-39.019986 -3.367436)'))) / (select extract(epoch from '2026-07-22 19:30:19'::timestamp) - extract(epoch from '2026-07-22 19:30:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020002 -3.367423)'), GeomFromEWKT('SRID=4674;POINT (-39.019986 -3.367436)'))) / (select extract(epoch from '2026-07-22 19:30:19'::timestamp) - extract(epoch from '2026-07-22 19:30:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019984 -3.367454)', '2026-07-22 19:30:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019986 -3.367436)'), GeomFromEWKT('SRID=4674;POINT (-39.019984 -3.367454)'))) / (select extract(epoch from '2026-07-22 19:30:27'::timestamp) - extract(epoch from '2026-07-22 19:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019986 -3.367436)'), GeomFromEWKT('SRID=4674;POINT (-39.019984 -3.367454)'))) / (select extract(epoch from '2026-07-22 19:30:27'::timestamp) - extract(epoch from '2026-07-22 19:30: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'), 47445, 'SRID=4674;POINT (-39.019986 -3.367452)', '2026-07-22 19:30:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019984 -3.367454)'), GeomFromEWKT('SRID=4674;POINT (-39.019986 -3.367452)'))) / (select extract(epoch from '2026-07-22 19:30:39'::timestamp) - extract(epoch from '2026-07-22 19:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019984 -3.367454)'), GeomFromEWKT('SRID=4674;POINT (-39.019986 -3.367452)'))) / (select extract(epoch from '2026-07-22 19:30:39'::timestamp) - extract(epoch from '2026-07-22 19:30: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'), 47445, 'SRID=4674;POINT (-39.019995 -3.36744)', '2026-07-22 19:30:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019986 -3.367452)'), GeomFromEWKT('SRID=4674;POINT (-39.019995 -3.36744)'))) / (select extract(epoch from '2026-07-22 19:30:48'::timestamp) - extract(epoch from '2026-07-22 19:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019986 -3.367452)'), GeomFromEWKT('SRID=4674;POINT (-39.019995 -3.36744)'))) / (select extract(epoch from '2026-07-22 19:30:48'::timestamp) - extract(epoch from '2026-07-22 19:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019969 -3.367432)', '2026-07-22 19:30:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019995 -3.36744)'), GeomFromEWKT('SRID=4674;POINT (-39.019969 -3.367432)'))) / (select extract(epoch from '2026-07-22 19:30:55'::timestamp) - extract(epoch from '2026-07-22 19:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019995 -3.36744)'), GeomFromEWKT('SRID=4674;POINT (-39.019969 -3.367432)'))) / (select extract(epoch from '2026-07-22 19:30:55'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.019946 -3.367448)', '2026-07-22 19:31:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019969 -3.367432)'), GeomFromEWKT('SRID=4674;POINT (-39.019946 -3.367448)'))) / (select extract(epoch from '2026-07-22 19:31:02'::timestamp) - extract(epoch from '2026-07-22 19:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019969 -3.367432)'), GeomFromEWKT('SRID=4674;POINT (-39.019946 -3.367448)'))) / (select extract(epoch from '2026-07-22 19:31:02'::timestamp) - extract(epoch from '2026-07-22 19:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019924 -3.367481)', '2026-07-22 19:31:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019946 -3.367448)'), GeomFromEWKT('SRID=4674;POINT (-39.019924 -3.367481)'))) / (select extract(epoch from '2026-07-22 19:31:09'::timestamp) - extract(epoch from '2026-07-22 19:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019946 -3.367448)'), GeomFromEWKT('SRID=4674;POINT (-39.019924 -3.367481)'))) / (select extract(epoch from '2026-07-22 19:31:09'::timestamp) - extract(epoch from '2026-07-22 19:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019891 -3.367515)', '2026-07-22 19:31:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019924 -3.367481)'), GeomFromEWKT('SRID=4674;POINT (-39.019891 -3.367515)'))) / (select extract(epoch from '2026-07-22 19:31:18'::timestamp) - extract(epoch from '2026-07-22 19:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019924 -3.367481)'), GeomFromEWKT('SRID=4674;POINT (-39.019891 -3.367515)'))) / (select extract(epoch from '2026-07-22 19:31:18'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.019845 -3.367498)', '2026-07-22 19:31:26', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019891 -3.367515)'), GeomFromEWKT('SRID=4674;POINT (-39.019845 -3.367498)'))) / (select extract(epoch from '2026-07-22 19:31:26'::timestamp) - extract(epoch from '2026-07-22 19:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019891 -3.367515)'), GeomFromEWKT('SRID=4674;POINT (-39.019845 -3.367498)'))) / (select extract(epoch from '2026-07-22 19:31:26'::timestamp) - extract(epoch from '2026-07-22 19:31:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019817 -3.367489)', '2026-07-22 19:31:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019845 -3.367498)'), GeomFromEWKT('SRID=4674;POINT (-39.019817 -3.367489)'))) / (select extract(epoch from '2026-07-22 19:31:34'::timestamp) - extract(epoch from '2026-07-22 19:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019845 -3.367498)'), GeomFromEWKT('SRID=4674;POINT (-39.019817 -3.367489)'))) / (select extract(epoch from '2026-07-22 19:31:34'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.019794 -3.367524)', '2026-07-22 19:31:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019817 -3.367489)'), GeomFromEWKT('SRID=4674;POINT (-39.019794 -3.367524)'))) / (select extract(epoch from '2026-07-22 19:31:43'::timestamp) - extract(epoch from '2026-07-22 19:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019817 -3.367489)'), GeomFromEWKT('SRID=4674;POINT (-39.019794 -3.367524)'))) / (select extract(epoch from '2026-07-22 19:31:43'::timestamp) - extract(epoch from '2026-07-22 19:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019762 -3.36757)', '2026-07-22 19:31:53', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019794 -3.367524)'), GeomFromEWKT('SRID=4674;POINT (-39.019762 -3.36757)'))) / (select extract(epoch from '2026-07-22 19:31:53'::timestamp) - extract(epoch from '2026-07-22 19:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019794 -3.367524)'), GeomFromEWKT('SRID=4674;POINT (-39.019762 -3.36757)'))) / (select extract(epoch from '2026-07-22 19:31:53'::timestamp) - extract(epoch from '2026-07-22 19:31:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019735 -3.367574)', '2026-07-22 19:32:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019762 -3.36757)'), GeomFromEWKT('SRID=4674;POINT (-39.019735 -3.367574)'))) / (select extract(epoch from '2026-07-22 19:32:01'::timestamp) - extract(epoch from '2026-07-22 19:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019762 -3.36757)'), GeomFromEWKT('SRID=4674;POINT (-39.019735 -3.367574)'))) / (select extract(epoch from '2026-07-22 19:32:01'::timestamp) - extract(epoch from '2026-07-22 19:31: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'), 47445, 'SRID=4674;POINT (-39.019709 -3.367561)', '2026-07-22 19:32:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019735 -3.367574)'), GeomFromEWKT('SRID=4674;POINT (-39.019709 -3.367561)'))) / (select extract(epoch from '2026-07-22 19:32:10'::timestamp) - extract(epoch from '2026-07-22 19:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019735 -3.367574)'), GeomFromEWKT('SRID=4674;POINT (-39.019709 -3.367561)'))) / (select extract(epoch from '2026-07-22 19:32:10'::timestamp) - extract(epoch from '2026-07-22 19:32:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019685 -3.367581)', '2026-07-22 19:32:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019709 -3.367561)'), GeomFromEWKT('SRID=4674;POINT (-39.019685 -3.367581)'))) / (select extract(epoch from '2026-07-22 19:32:17'::timestamp) - extract(epoch from '2026-07-22 19:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019709 -3.367561)'), GeomFromEWKT('SRID=4674;POINT (-39.019685 -3.367581)'))) / (select extract(epoch from '2026-07-22 19:32:17'::timestamp) - extract(epoch from '2026-07-22 19:32: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'), 47445, 'SRID=4674;POINT (-39.019673 -3.367614)', '2026-07-22 19:32:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019685 -3.367581)'), GeomFromEWKT('SRID=4674;POINT (-39.019673 -3.367614)'))) / (select extract(epoch from '2026-07-22 19:32:24'::timestamp) - extract(epoch from '2026-07-22 19:32:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019685 -3.367581)'), GeomFromEWKT('SRID=4674;POINT (-39.019673 -3.367614)'))) / (select extract(epoch from '2026-07-22 19:32:24'::timestamp) - extract(epoch from '2026-07-22 19:32:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019647 -3.367644)', '2026-07-22 19:32:33', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019673 -3.367614)'), GeomFromEWKT('SRID=4674;POINT (-39.019647 -3.367644)'))) / (select extract(epoch from '2026-07-22 19:32:33'::timestamp) - extract(epoch from '2026-07-22 19:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019673 -3.367614)'), GeomFromEWKT('SRID=4674;POINT (-39.019647 -3.367644)'))) / (select extract(epoch from '2026-07-22 19:32:33'::timestamp) - extract(epoch from '2026-07-22 19:32: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'), 47445, 'SRID=4674;POINT (-39.019608 -3.367638)', '2026-07-22 19:32:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019647 -3.367644)'), GeomFromEWKT('SRID=4674;POINT (-39.019608 -3.367638)'))) / (select extract(epoch from '2026-07-22 19:32:41'::timestamp) - extract(epoch from '2026-07-22 19:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019647 -3.367644)'), GeomFromEWKT('SRID=4674;POINT (-39.019608 -3.367638)'))) / (select extract(epoch from '2026-07-22 19:32:41'::timestamp) - extract(epoch from '2026-07-22 19:32: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'), 47445, 'SRID=4674;POINT (-39.019571 -3.367651)', '2026-07-22 19:32:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019608 -3.367638)'), GeomFromEWKT('SRID=4674;POINT (-39.019571 -3.367651)'))) / (select extract(epoch from '2026-07-22 19:32:50'::timestamp) - extract(epoch from '2026-07-22 19:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019608 -3.367638)'), GeomFromEWKT('SRID=4674;POINT (-39.019571 -3.367651)'))) / (select extract(epoch from '2026-07-22 19:32:50'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.019553 -3.367705)', '2026-07-22 19:33:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019571 -3.367651)'), GeomFromEWKT('SRID=4674;POINT (-39.019553 -3.367705)'))) / (select extract(epoch from '2026-07-22 19:33:01'::timestamp) - extract(epoch from '2026-07-22 19:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019571 -3.367651)'), GeomFromEWKT('SRID=4674;POINT (-39.019553 -3.367705)'))) / (select extract(epoch from '2026-07-22 19:33:01'::timestamp) - extract(epoch from '2026-07-22 19:32:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019534 -3.367729)', '2026-07-22 19:33:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019553 -3.367705)'), GeomFromEWKT('SRID=4674;POINT (-39.019534 -3.367729)'))) / (select extract(epoch from '2026-07-22 19:33:09'::timestamp) - extract(epoch from '2026-07-22 19:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019553 -3.367705)'), GeomFromEWKT('SRID=4674;POINT (-39.019534 -3.367729)'))) / (select extract(epoch from '2026-07-22 19:33:09'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.019491 -3.367717)', '2026-07-22 19:33:17', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019534 -3.367729)'), GeomFromEWKT('SRID=4674;POINT (-39.019491 -3.367717)'))) / (select extract(epoch from '2026-07-22 19:33:17'::timestamp) - extract(epoch from '2026-07-22 19:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019534 -3.367729)'), GeomFromEWKT('SRID=4674;POINT (-39.019491 -3.367717)'))) / (select extract(epoch from '2026-07-22 19:33:17'::timestamp) - extract(epoch from '2026-07-22 19:33: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'), 47445, 'SRID=4674;POINT (-39.01946 -3.367693)', '2026-07-22 19:33:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019491 -3.367717)'), GeomFromEWKT('SRID=4674;POINT (-39.01946 -3.367693)'))) / (select extract(epoch from '2026-07-22 19:33:24'::timestamp) - extract(epoch from '2026-07-22 19:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019491 -3.367717)'), GeomFromEWKT('SRID=4674;POINT (-39.01946 -3.367693)'))) / (select extract(epoch from '2026-07-22 19:33:24'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.019414 -3.367704)', '2026-07-22 19:33:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01946 -3.367693)'), GeomFromEWKT('SRID=4674;POINT (-39.019414 -3.367704)'))) / (select extract(epoch from '2026-07-22 19:33:34'::timestamp) - extract(epoch from '2026-07-22 19:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01946 -3.367693)'), GeomFromEWKT('SRID=4674;POINT (-39.019414 -3.367704)'))) / (select extract(epoch from '2026-07-22 19:33:34'::timestamp) - extract(epoch from '2026-07-22 19:33: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'), 47445, 'SRID=4674;POINT (-39.019403 -3.367746)', '2026-07-22 19:33:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019414 -3.367704)'), GeomFromEWKT('SRID=4674;POINT (-39.019403 -3.367746)'))) / (select extract(epoch from '2026-07-22 19:33:41'::timestamp) - extract(epoch from '2026-07-22 19:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019414 -3.367704)'), GeomFromEWKT('SRID=4674;POINT (-39.019403 -3.367746)'))) / (select extract(epoch from '2026-07-22 19:33:41'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.019425 -3.367787)', '2026-07-22 19:33:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019403 -3.367746)'), GeomFromEWKT('SRID=4674;POINT (-39.019425 -3.367787)'))) / (select extract(epoch from '2026-07-22 19:33:49'::timestamp) - extract(epoch from '2026-07-22 19:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019403 -3.367746)'), GeomFromEWKT('SRID=4674;POINT (-39.019425 -3.367787)'))) / (select extract(epoch from '2026-07-22 19:33:49'::timestamp) - extract(epoch from '2026-07-22 19:33: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'), 47445, 'SRID=4674;POINT (-39.019438 -3.367837)', '2026-07-22 19:33:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019425 -3.367787)'), GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.367837)'))) / (select extract(epoch from '2026-07-22 19:33:58'::timestamp) - extract(epoch from '2026-07-22 19:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019425 -3.367787)'), GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.367837)'))) / (select extract(epoch from '2026-07-22 19:33:58'::timestamp) - extract(epoch from '2026-07-22 19:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019426 -3.367862)', '2026-07-22 19:34:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.367837)'), GeomFromEWKT('SRID=4674;POINT (-39.019426 -3.367862)'))) / (select extract(epoch from '2026-07-22 19:34:07'::timestamp) - extract(epoch from '2026-07-22 19:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019438 -3.367837)'), GeomFromEWKT('SRID=4674;POINT (-39.019426 -3.367862)'))) / (select extract(epoch from '2026-07-22 19:34:07'::timestamp) - extract(epoch from '2026-07-22 19:33: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'), 47445, 'SRID=4674;POINT (-39.019419 -3.367855)', '2026-07-22 19:34:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019426 -3.367862)'), GeomFromEWKT('SRID=4674;POINT (-39.019419 -3.367855)'))) / (select extract(epoch from '2026-07-22 19:34:15'::timestamp) - extract(epoch from '2026-07-22 19:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019426 -3.367862)'), GeomFromEWKT('SRID=4674;POINT (-39.019419 -3.367855)'))) / (select extract(epoch from '2026-07-22 19:34:15'::timestamp) - extract(epoch from '2026-07-22 19:34:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019392 -3.367824)', '2026-07-22 19:34:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019419 -3.367855)'), GeomFromEWKT('SRID=4674;POINT (-39.019392 -3.367824)'))) / (select extract(epoch from '2026-07-22 19:34:24'::timestamp) - extract(epoch from '2026-07-22 19:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019419 -3.367855)'), GeomFromEWKT('SRID=4674;POINT (-39.019392 -3.367824)'))) / (select extract(epoch from '2026-07-22 19:34:24'::timestamp) - extract(epoch from '2026-07-22 19:34: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'), 47445, 'SRID=4674;POINT (-39.019371 -3.367835)', '2026-07-22 19:34:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019392 -3.367824)'), GeomFromEWKT('SRID=4674;POINT (-39.019371 -3.367835)'))) / (select extract(epoch from '2026-07-22 19:34:33'::timestamp) - extract(epoch from '2026-07-22 19:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019392 -3.367824)'), GeomFromEWKT('SRID=4674;POINT (-39.019371 -3.367835)'))) / (select extract(epoch from '2026-07-22 19:34:33'::timestamp) - extract(epoch from '2026-07-22 19:34: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'), 47445, 'SRID=4674;POINT (-39.019394 -3.367892)', '2026-07-22 19:34:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019371 -3.367835)'), GeomFromEWKT('SRID=4674;POINT (-39.019394 -3.367892)'))) / (select extract(epoch from '2026-07-22 19:34:42'::timestamp) - extract(epoch from '2026-07-22 19:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019371 -3.367835)'), GeomFromEWKT('SRID=4674;POINT (-39.019394 -3.367892)'))) / (select extract(epoch from '2026-07-22 19:34:42'::timestamp) - extract(epoch from '2026-07-22 19:34: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'), 47445, 'SRID=4674;POINT (-39.019432 -3.36799)', '2026-07-22 19:34:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019394 -3.367892)'), GeomFromEWKT('SRID=4674;POINT (-39.019432 -3.36799)'))) / (select extract(epoch from '2026-07-22 19:34:53'::timestamp) - extract(epoch from '2026-07-22 19:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019394 -3.367892)'), GeomFromEWKT('SRID=4674;POINT (-39.019432 -3.36799)'))) / (select extract(epoch from '2026-07-22 19:34:53'::timestamp) - extract(epoch from '2026-07-22 19:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019459 -3.368091)', '2026-07-22 19:35:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019432 -3.36799)'), GeomFromEWKT('SRID=4674;POINT (-39.019459 -3.368091)'))) / (select extract(epoch from '2026-07-22 19:35:04'::timestamp) - extract(epoch from '2026-07-22 19:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019432 -3.36799)'), GeomFromEWKT('SRID=4674;POINT (-39.019459 -3.368091)'))) / (select extract(epoch from '2026-07-22 19:35:04'::timestamp) - extract(epoch from '2026-07-22 19:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019487 -3.368132)', '2026-07-22 19:35:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019459 -3.368091)'), GeomFromEWKT('SRID=4674;POINT (-39.019487 -3.368132)'))) / (select extract(epoch from '2026-07-22 19:35:09'::timestamp) - extract(epoch from '2026-07-22 19:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019459 -3.368091)'), GeomFromEWKT('SRID=4674;POINT (-39.019487 -3.368132)'))) / (select extract(epoch from '2026-07-22 19:35:09'::timestamp) - extract(epoch from '2026-07-22 19:35: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'), 47445, 'SRID=4674;POINT (-39.01952 -3.368191)', '2026-07-22 19:35:15', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019487 -3.368132)'), GeomFromEWKT('SRID=4674;POINT (-39.01952 -3.368191)'))) / (select extract(epoch from '2026-07-22 19:35:15'::timestamp) - extract(epoch from '2026-07-22 19:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019487 -3.368132)'), GeomFromEWKT('SRID=4674;POINT (-39.01952 -3.368191)'))) / (select extract(epoch from '2026-07-22 19:35:15'::timestamp) - extract(epoch from '2026-07-22 19:35: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'), 47445, 'SRID=4674;POINT (-39.019544 -3.36828)', '2026-07-22 19:35:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01952 -3.368191)'), GeomFromEWKT('SRID=4674;POINT (-39.019544 -3.36828)'))) / (select extract(epoch from '2026-07-22 19:35:21'::timestamp) - extract(epoch from '2026-07-22 19:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01952 -3.368191)'), GeomFromEWKT('SRID=4674;POINT (-39.019544 -3.36828)'))) / (select extract(epoch from '2026-07-22 19:35:21'::timestamp) - extract(epoch from '2026-07-22 19:35:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019565 -3.36838)', '2026-07-22 19:35:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019544 -3.36828)'), GeomFromEWKT('SRID=4674;POINT (-39.019565 -3.36838)'))) / (select extract(epoch from '2026-07-22 19:35:27'::timestamp) - extract(epoch from '2026-07-22 19:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019544 -3.36828)'), GeomFromEWKT('SRID=4674;POINT (-39.019565 -3.36838)'))) / (select extract(epoch from '2026-07-22 19:35:27'::timestamp) - extract(epoch from '2026-07-22 19:35:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.01958 -3.368483)', '2026-07-22 19:35:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019565 -3.36838)'), GeomFromEWKT('SRID=4674;POINT (-39.01958 -3.368483)'))) / (select extract(epoch from '2026-07-22 19:35:33'::timestamp) - extract(epoch from '2026-07-22 19:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019565 -3.36838)'), GeomFromEWKT('SRID=4674;POINT (-39.01958 -3.368483)'))) / (select extract(epoch from '2026-07-22 19:35:33'::timestamp) - extract(epoch from '2026-07-22 19:35: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'), 47445, 'SRID=4674;POINT (-39.01957 -3.368564)', '2026-07-22 19:35:38', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01958 -3.368483)'), GeomFromEWKT('SRID=4674;POINT (-39.01957 -3.368564)'))) / (select extract(epoch from '2026-07-22 19:35:38'::timestamp) - extract(epoch from '2026-07-22 19:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01958 -3.368483)'), GeomFromEWKT('SRID=4674;POINT (-39.01957 -3.368564)'))) / (select extract(epoch from '2026-07-22 19:35:38'::timestamp) - extract(epoch from '2026-07-22 19:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019541 -3.36868)', '2026-07-22 19:35:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01957 -3.368564)'), GeomFromEWKT('SRID=4674;POINT (-39.019541 -3.36868)'))) / (select extract(epoch from '2026-07-22 19:35:45'::timestamp) - extract(epoch from '2026-07-22 19:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01957 -3.368564)'), GeomFromEWKT('SRID=4674;POINT (-39.019541 -3.36868)'))) / (select extract(epoch from '2026-07-22 19:35:45'::timestamp) - extract(epoch from '2026-07-22 19:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019555 -3.36878)', '2026-07-22 19:35:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019541 -3.36868)'), GeomFromEWKT('SRID=4674;POINT (-39.019555 -3.36878)'))) / (select extract(epoch from '2026-07-22 19:35:51'::timestamp) - extract(epoch from '2026-07-22 19:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019541 -3.36868)'), GeomFromEWKT('SRID=4674;POINT (-39.019555 -3.36878)'))) / (select extract(epoch from '2026-07-22 19:35:51'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.019571 -3.36889)', '2026-07-22 19:35:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019555 -3.36878)'), GeomFromEWKT('SRID=4674;POINT (-39.019571 -3.36889)'))) / (select extract(epoch from '2026-07-22 19:35:57'::timestamp) - extract(epoch from '2026-07-22 19:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019555 -3.36878)'), GeomFromEWKT('SRID=4674;POINT (-39.019571 -3.36889)'))) / (select extract(epoch from '2026-07-22 19:35:57'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.019584 -3.368984)', '2026-07-22 19:36:02', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019571 -3.36889)'), GeomFromEWKT('SRID=4674;POINT (-39.019584 -3.368984)'))) / (select extract(epoch from '2026-07-22 19:36:02'::timestamp) - extract(epoch from '2026-07-22 19:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019571 -3.36889)'), GeomFromEWKT('SRID=4674;POINT (-39.019584 -3.368984)'))) / (select extract(epoch from '2026-07-22 19:36:02'::timestamp) - extract(epoch from '2026-07-22 19:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019608 -3.369092)', '2026-07-22 19:36:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019584 -3.368984)'), GeomFromEWKT('SRID=4674;POINT (-39.019608 -3.369092)'))) / (select extract(epoch from '2026-07-22 19:36:08'::timestamp) - extract(epoch from '2026-07-22 19:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019584 -3.368984)'), GeomFromEWKT('SRID=4674;POINT (-39.019608 -3.369092)'))) / (select extract(epoch from '2026-07-22 19:36:08'::timestamp) - extract(epoch from '2026-07-22 19:36: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'), 47445, 'SRID=4674;POINT (-39.019632 -3.36924)', '2026-07-22 19:36:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019608 -3.369092)'), GeomFromEWKT('SRID=4674;POINT (-39.019632 -3.36924)'))) / (select extract(epoch from '2026-07-22 19:36:16'::timestamp) - extract(epoch from '2026-07-22 19:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019608 -3.369092)'), GeomFromEWKT('SRID=4674;POINT (-39.019632 -3.36924)'))) / (select extract(epoch from '2026-07-22 19:36:16'::timestamp) - extract(epoch from '2026-07-22 19:36: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'), 47445, 'SRID=4674;POINT (-39.01965 -3.369372)', '2026-07-22 19:36:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019632 -3.36924)'), GeomFromEWKT('SRID=4674;POINT (-39.01965 -3.369372)'))) / (select extract(epoch from '2026-07-22 19:36:23'::timestamp) - extract(epoch from '2026-07-22 19:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019632 -3.36924)'), GeomFromEWKT('SRID=4674;POINT (-39.01965 -3.369372)'))) / (select extract(epoch from '2026-07-22 19:36:23'::timestamp) - extract(epoch from '2026-07-22 19:36: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'), 47445, 'SRID=4674;POINT (-39.019655 -3.369506)', '2026-07-22 19:36:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01965 -3.369372)'), GeomFromEWKT('SRID=4674;POINT (-39.019655 -3.369506)'))) / (select extract(epoch from '2026-07-22 19:36:30'::timestamp) - extract(epoch from '2026-07-22 19:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01965 -3.369372)'), GeomFromEWKT('SRID=4674;POINT (-39.019655 -3.369506)'))) / (select extract(epoch from '2026-07-22 19:36:30'::timestamp) - extract(epoch from '2026-07-22 19:36: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'), 47445, 'SRID=4674;POINT (-39.019645 -3.369615)', '2026-07-22 19:36:36', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019655 -3.369506)'), GeomFromEWKT('SRID=4674;POINT (-39.019645 -3.369615)'))) / (select extract(epoch from '2026-07-22 19:36:36'::timestamp) - extract(epoch from '2026-07-22 19:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019655 -3.369506)'), GeomFromEWKT('SRID=4674;POINT (-39.019645 -3.369615)'))) / (select extract(epoch from '2026-07-22 19:36:36'::timestamp) - extract(epoch from '2026-07-22 19:36: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'), 47445, 'SRID=4674;POINT (-39.01967 -3.369735)', '2026-07-22 19:36:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019645 -3.369615)'), GeomFromEWKT('SRID=4674;POINT (-39.01967 -3.369735)'))) / (select extract(epoch from '2026-07-22 19:36:43'::timestamp) - extract(epoch from '2026-07-22 19:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019645 -3.369615)'), GeomFromEWKT('SRID=4674;POINT (-39.01967 -3.369735)'))) / (select extract(epoch from '2026-07-22 19:36:43'::timestamp) - extract(epoch from '2026-07-22 19:36:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019674 -3.369788)', '2026-07-22 19:36:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01967 -3.369735)'), GeomFromEWKT('SRID=4674;POINT (-39.019674 -3.369788)'))) / (select extract(epoch from '2026-07-22 19:36:46'::timestamp) - extract(epoch from '2026-07-22 19:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01967 -3.369735)'), GeomFromEWKT('SRID=4674;POINT (-39.019674 -3.369788)'))) / (select extract(epoch from '2026-07-22 19:36:46'::timestamp) - extract(epoch from '2026-07-22 19:36:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019668 -3.369837)', '2026-07-22 19:36:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019674 -3.369788)'), GeomFromEWKT('SRID=4674;POINT (-39.019668 -3.369837)'))) / (select extract(epoch from '2026-07-22 19:36:49'::timestamp) - extract(epoch from '2026-07-22 19:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019674 -3.369788)'), GeomFromEWKT('SRID=4674;POINT (-39.019668 -3.369837)'))) / (select extract(epoch from '2026-07-22 19:36:49'::timestamp) - extract(epoch from '2026-07-22 19:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019674 -3.369973)', '2026-07-22 19:36:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019668 -3.369837)'), GeomFromEWKT('SRID=4674;POINT (-39.019674 -3.369973)'))) / (select extract(epoch from '2026-07-22 19:36:57'::timestamp) - extract(epoch from '2026-07-22 19:36:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019668 -3.369837)'), GeomFromEWKT('SRID=4674;POINT (-39.019674 -3.369973)'))) / (select extract(epoch from '2026-07-22 19:36:57'::timestamp) - extract(epoch from '2026-07-22 19:36:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019707 -3.37012)', '2026-07-22 19:37:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019674 -3.369973)'), GeomFromEWKT('SRID=4674;POINT (-39.019707 -3.37012)'))) / (select extract(epoch from '2026-07-22 19:37:05'::timestamp) - extract(epoch from '2026-07-22 19:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019674 -3.369973)'), GeomFromEWKT('SRID=4674;POINT (-39.019707 -3.37012)'))) / (select extract(epoch from '2026-07-22 19:37:05'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.019733 -3.370252)', '2026-07-22 19:37:12', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019707 -3.37012)'), GeomFromEWKT('SRID=4674;POINT (-39.019733 -3.370252)'))) / (select extract(epoch from '2026-07-22 19:37:12'::timestamp) - extract(epoch from '2026-07-22 19:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019707 -3.37012)'), GeomFromEWKT('SRID=4674;POINT (-39.019733 -3.370252)'))) / (select extract(epoch from '2026-07-22 19:37:12'::timestamp) - extract(epoch from '2026-07-22 19:37: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'), 47445, 'SRID=4674;POINT (-39.019759 -3.370379)', '2026-07-22 19:37:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019733 -3.370252)'), GeomFromEWKT('SRID=4674;POINT (-39.019759 -3.370379)'))) / (select extract(epoch from '2026-07-22 19:37:19'::timestamp) - extract(epoch from '2026-07-22 19:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019733 -3.370252)'), GeomFromEWKT('SRID=4674;POINT (-39.019759 -3.370379)'))) / (select extract(epoch from '2026-07-22 19:37:19'::timestamp) - extract(epoch from '2026-07-22 19:37: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'), 47445, 'SRID=4674;POINT (-39.019764 -3.370398)', '2026-07-22 19:37:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019759 -3.370379)'), GeomFromEWKT('SRID=4674;POINT (-39.019764 -3.370398)'))) / (select extract(epoch from '2026-07-22 19:37:20'::timestamp) - extract(epoch from '2026-07-22 19:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019759 -3.370379)'), GeomFromEWKT('SRID=4674;POINT (-39.019764 -3.370398)'))) / (select extract(epoch from '2026-07-22 19:37:20'::timestamp) - extract(epoch from '2026-07-22 19:37: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'), 47445, 'SRID=4674;POINT (-39.019777 -3.370485)', '2026-07-22 19:37:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019764 -3.370398)'), GeomFromEWKT('SRID=4674;POINT (-39.019777 -3.370485)'))) / (select extract(epoch from '2026-07-22 19:37:25'::timestamp) - extract(epoch from '2026-07-22 19:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019764 -3.370398)'), GeomFromEWKT('SRID=4674;POINT (-39.019777 -3.370485)'))) / (select extract(epoch from '2026-07-22 19:37:25'::timestamp) - extract(epoch from '2026-07-22 19:37: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'), 47445, 'SRID=4674;POINT (-39.019792 -3.370574)', '2026-07-22 19:37:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019777 -3.370485)'), GeomFromEWKT('SRID=4674;POINT (-39.019792 -3.370574)'))) / (select extract(epoch from '2026-07-22 19:37:30'::timestamp) - extract(epoch from '2026-07-22 19:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019777 -3.370485)'), GeomFromEWKT('SRID=4674;POINT (-39.019792 -3.370574)'))) / (select extract(epoch from '2026-07-22 19:37:30'::timestamp) - extract(epoch from '2026-07-22 19:37: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'), 47445, 'SRID=4674;POINT (-39.019829 -3.370696)', '2026-07-22 19:37:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019792 -3.370574)'), GeomFromEWKT('SRID=4674;POINT (-39.019829 -3.370696)'))) / (select extract(epoch from '2026-07-22 19:37:37'::timestamp) - extract(epoch from '2026-07-22 19:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019792 -3.370574)'), GeomFromEWKT('SRID=4674;POINT (-39.019829 -3.370696)'))) / (select extract(epoch from '2026-07-22 19:37:37'::timestamp) - extract(epoch from '2026-07-22 19:37: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'), 47445, 'SRID=4674;POINT (-39.019887 -3.370826)', '2026-07-22 19:37:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019829 -3.370696)'), GeomFromEWKT('SRID=4674;POINT (-39.019887 -3.370826)'))) / (select extract(epoch from '2026-07-22 19:37:44'::timestamp) - extract(epoch from '2026-07-22 19:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019829 -3.370696)'), GeomFromEWKT('SRID=4674;POINT (-39.019887 -3.370826)'))) / (select extract(epoch from '2026-07-22 19:37:44'::timestamp) - extract(epoch from '2026-07-22 19:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019896 -3.370859)', '2026-07-22 19:37:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019887 -3.370826)'), GeomFromEWKT('SRID=4674;POINT (-39.019896 -3.370859)'))) / (select extract(epoch from '2026-07-22 19:37:46'::timestamp) - extract(epoch from '2026-07-22 19:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019887 -3.370826)'), GeomFromEWKT('SRID=4674;POINT (-39.019896 -3.370859)'))) / (select extract(epoch from '2026-07-22 19:37:46'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.019907 -3.370915)', '2026-07-22 19:37:49', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019896 -3.370859)'), GeomFromEWKT('SRID=4674;POINT (-39.019907 -3.370915)'))) / (select extract(epoch from '2026-07-22 19:37:49'::timestamp) - extract(epoch from '2026-07-22 19:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019896 -3.370859)'), GeomFromEWKT('SRID=4674;POINT (-39.019907 -3.370915)'))) / (select extract(epoch from '2026-07-22 19:37:49'::timestamp) - extract(epoch from '2026-07-22 19:37:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019934 -3.371044)', '2026-07-22 19:37:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019907 -3.370915)'), GeomFromEWKT('SRID=4674;POINT (-39.019934 -3.371044)'))) / (select extract(epoch from '2026-07-22 19:37:56'::timestamp) - extract(epoch from '2026-07-22 19:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019907 -3.370915)'), GeomFromEWKT('SRID=4674;POINT (-39.019934 -3.371044)'))) / (select extract(epoch from '2026-07-22 19:37:56'::timestamp) - extract(epoch from '2026-07-22 19:37: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'), 47445, 'SRID=4674;POINT (-39.019938 -3.371064)', '2026-07-22 19:37:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019934 -3.371044)'), GeomFromEWKT('SRID=4674;POINT (-39.019938 -3.371064)'))) / (select extract(epoch from '2026-07-22 19:37:57'::timestamp) - extract(epoch from '2026-07-22 19:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019934 -3.371044)'), GeomFromEWKT('SRID=4674;POINT (-39.019938 -3.371064)'))) / (select extract(epoch from '2026-07-22 19:37:57'::timestamp) - extract(epoch from '2026-07-22 19:37:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019955 -3.371139)', '2026-07-22 19:38:01', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019938 -3.371064)'), GeomFromEWKT('SRID=4674;POINT (-39.019955 -3.371139)'))) / (select extract(epoch from '2026-07-22 19:38:01'::timestamp) - extract(epoch from '2026-07-22 19:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019938 -3.371064)'), GeomFromEWKT('SRID=4674;POINT (-39.019955 -3.371139)'))) / (select extract(epoch from '2026-07-22 19:38:01'::timestamp) - extract(epoch from '2026-07-22 19:37: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'), 47445, 'SRID=4674;POINT (-39.019978 -3.371249)', '2026-07-22 19:38:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019955 -3.371139)'), GeomFromEWKT('SRID=4674;POINT (-39.019978 -3.371249)'))) / (select extract(epoch from '2026-07-22 19:38:07'::timestamp) - extract(epoch from '2026-07-22 19:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019955 -3.371139)'), GeomFromEWKT('SRID=4674;POINT (-39.019978 -3.371249)'))) / (select extract(epoch from '2026-07-22 19:38:07'::timestamp) - extract(epoch from '2026-07-22 19:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020024 -3.371374)', '2026-07-22 19:38:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019978 -3.371249)'), GeomFromEWKT('SRID=4674;POINT (-39.020024 -3.371374)'))) / (select extract(epoch from '2026-07-22 19:38:14'::timestamp) - extract(epoch from '2026-07-22 19:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019978 -3.371249)'), GeomFromEWKT('SRID=4674;POINT (-39.020024 -3.371374)'))) / (select extract(epoch from '2026-07-22 19:38:14'::timestamp) - extract(epoch from '2026-07-22 19:38:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020069 -3.371499)', '2026-07-22 19:38:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020024 -3.371374)'), GeomFromEWKT('SRID=4674;POINT (-39.020069 -3.371499)'))) / (select extract(epoch from '2026-07-22 19:38:21'::timestamp) - extract(epoch from '2026-07-22 19:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020024 -3.371374)'), GeomFromEWKT('SRID=4674;POINT (-39.020069 -3.371499)'))) / (select extract(epoch from '2026-07-22 19:38:21'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020105 -3.371626)', '2026-07-22 19:38:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020069 -3.371499)'), GeomFromEWKT('SRID=4674;POINT (-39.020105 -3.371626)'))) / (select extract(epoch from '2026-07-22 19:38:28'::timestamp) - extract(epoch from '2026-07-22 19:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020069 -3.371499)'), GeomFromEWKT('SRID=4674;POINT (-39.020105 -3.371626)'))) / (select extract(epoch from '2026-07-22 19:38:28'::timestamp) - extract(epoch from '2026-07-22 19:38: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'), 47445, 'SRID=4674;POINT (-39.020154 -3.371775)', '2026-07-22 19:38:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020105 -3.371626)'), GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.371775)'))) / (select extract(epoch from '2026-07-22 19:38:36'::timestamp) - extract(epoch from '2026-07-22 19:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020105 -3.371626)'), GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.371775)'))) / (select extract(epoch from '2026-07-22 19:38:36'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020178 -3.371889)', '2026-07-22 19:38:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.371775)'), GeomFromEWKT('SRID=4674;POINT (-39.020178 -3.371889)'))) / (select extract(epoch from '2026-07-22 19:38:42'::timestamp) - extract(epoch from '2026-07-22 19:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020154 -3.371775)'), GeomFromEWKT('SRID=4674;POINT (-39.020178 -3.371889)'))) / (select extract(epoch from '2026-07-22 19:38:42'::timestamp) - extract(epoch from '2026-07-22 19:38: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'), 47445, 'SRID=4674;POINT (-39.020192 -3.37202)', '2026-07-22 19:38:49', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020178 -3.371889)'), GeomFromEWKT('SRID=4674;POINT (-39.020192 -3.37202)'))) / (select extract(epoch from '2026-07-22 19:38:49'::timestamp) - extract(epoch from '2026-07-22 19:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020178 -3.371889)'), GeomFromEWKT('SRID=4674;POINT (-39.020192 -3.37202)'))) / (select extract(epoch from '2026-07-22 19:38:49'::timestamp) - extract(epoch from '2026-07-22 19:38: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'), 47445, 'SRID=4674;POINT (-39.020198 -3.372039)', '2026-07-22 19:38:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020192 -3.37202)'), GeomFromEWKT('SRID=4674;POINT (-39.020198 -3.372039)'))) / (select extract(epoch from '2026-07-22 19:38:50'::timestamp) - extract(epoch from '2026-07-22 19:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020192 -3.37202)'), GeomFromEWKT('SRID=4674;POINT (-39.020198 -3.372039)'))) / (select extract(epoch from '2026-07-22 19:38:50'::timestamp) - extract(epoch from '2026-07-22 19:38:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020207 -3.37213)', '2026-07-22 19:38:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020198 -3.372039)'), GeomFromEWKT('SRID=4674;POINT (-39.020207 -3.37213)'))) / (select extract(epoch from '2026-07-22 19:38:55'::timestamp) - extract(epoch from '2026-07-22 19:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020198 -3.372039)'), GeomFromEWKT('SRID=4674;POINT (-39.020207 -3.37213)'))) / (select extract(epoch from '2026-07-22 19:38:55'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020238 -3.372267)', '2026-07-22 19:39:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020207 -3.37213)'), GeomFromEWKT('SRID=4674;POINT (-39.020238 -3.372267)'))) / (select extract(epoch from '2026-07-22 19:39:02'::timestamp) - extract(epoch from '2026-07-22 19:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020207 -3.37213)'), GeomFromEWKT('SRID=4674;POINT (-39.020238 -3.372267)'))) / (select extract(epoch from '2026-07-22 19:39:02'::timestamp) - extract(epoch from '2026-07-22 19:38:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020265 -3.372375)', '2026-07-22 19:39:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020238 -3.372267)'), GeomFromEWKT('SRID=4674;POINT (-39.020265 -3.372375)'))) / (select extract(epoch from '2026-07-22 19:39:08'::timestamp) - extract(epoch from '2026-07-22 19:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020238 -3.372267)'), GeomFromEWKT('SRID=4674;POINT (-39.020265 -3.372375)'))) / (select extract(epoch from '2026-07-22 19:39:08'::timestamp) - extract(epoch from '2026-07-22 19:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020287 -3.372489)', '2026-07-22 19:39:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020265 -3.372375)'), GeomFromEWKT('SRID=4674;POINT (-39.020287 -3.372489)'))) / (select extract(epoch from '2026-07-22 19:39:14'::timestamp) - extract(epoch from '2026-07-22 19:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020265 -3.372375)'), GeomFromEWKT('SRID=4674;POINT (-39.020287 -3.372489)'))) / (select extract(epoch from '2026-07-22 19:39:14'::timestamp) - extract(epoch from '2026-07-22 19:39: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'), 47445, 'SRID=4674;POINT (-39.020325 -3.372628)', '2026-07-22 19:39:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020287 -3.372489)'), GeomFromEWKT('SRID=4674;POINT (-39.020325 -3.372628)'))) / (select extract(epoch from '2026-07-22 19:39:21'::timestamp) - extract(epoch from '2026-07-22 19:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020287 -3.372489)'), GeomFromEWKT('SRID=4674;POINT (-39.020325 -3.372628)'))) / (select extract(epoch from '2026-07-22 19:39:21'::timestamp) - extract(epoch from '2026-07-22 19:39:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020343 -3.372741)', '2026-07-22 19:39:27', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020325 -3.372628)'), GeomFromEWKT('SRID=4674;POINT (-39.020343 -3.372741)'))) / (select extract(epoch from '2026-07-22 19:39:27'::timestamp) - extract(epoch from '2026-07-22 19:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020325 -3.372628)'), GeomFromEWKT('SRID=4674;POINT (-39.020343 -3.372741)'))) / (select extract(epoch from '2026-07-22 19:39:27'::timestamp) - extract(epoch from '2026-07-22 19:39: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'), 47445, 'SRID=4674;POINT (-39.020372 -3.372841)', '2026-07-22 19:39:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020343 -3.372741)'), GeomFromEWKT('SRID=4674;POINT (-39.020372 -3.372841)'))) / (select extract(epoch from '2026-07-22 19:39:32'::timestamp) - extract(epoch from '2026-07-22 19:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020343 -3.372741)'), GeomFromEWKT('SRID=4674;POINT (-39.020372 -3.372841)'))) / (select extract(epoch from '2026-07-22 19:39:32'::timestamp) - extract(epoch from '2026-07-22 19:39: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'), 47445, 'SRID=4674;POINT (-39.020407 -3.372973)', '2026-07-22 19:39:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020372 -3.372841)'), GeomFromEWKT('SRID=4674;POINT (-39.020407 -3.372973)'))) / (select extract(epoch from '2026-07-22 19:39:39'::timestamp) - extract(epoch from '2026-07-22 19:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020372 -3.372841)'), GeomFromEWKT('SRID=4674;POINT (-39.020407 -3.372973)'))) / (select extract(epoch from '2026-07-22 19:39:39'::timestamp) - extract(epoch from '2026-07-22 19:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020417 -3.37306)', '2026-07-22 19:39:44', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020407 -3.372973)'), GeomFromEWKT('SRID=4674;POINT (-39.020417 -3.37306)'))) / (select extract(epoch from '2026-07-22 19:39:44'::timestamp) - extract(epoch from '2026-07-22 19:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020407 -3.372973)'), GeomFromEWKT('SRID=4674;POINT (-39.020417 -3.37306)'))) / (select extract(epoch from '2026-07-22 19:39:44'::timestamp) - extract(epoch from '2026-07-22 19:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020434 -3.37322)', '2026-07-22 19:39:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020417 -3.37306)'), GeomFromEWKT('SRID=4674;POINT (-39.020434 -3.37322)'))) / (select extract(epoch from '2026-07-22 19:39:53'::timestamp) - extract(epoch from '2026-07-22 19:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020417 -3.37306)'), GeomFromEWKT('SRID=4674;POINT (-39.020434 -3.37322)'))) / (select extract(epoch from '2026-07-22 19:39:53'::timestamp) - extract(epoch from '2026-07-22 19:39: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'), 47445, 'SRID=4674;POINT (-39.020429 -3.373353)', '2026-07-22 19:40:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020434 -3.37322)'), GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.373353)'))) / (select extract(epoch from '2026-07-22 19:40:00'::timestamp) - extract(epoch from '2026-07-22 19:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020434 -3.37322)'), GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.373353)'))) / (select extract(epoch from '2026-07-22 19:40:00'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020445 -3.373443)', '2026-07-22 19:40:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.373353)'), GeomFromEWKT('SRID=4674;POINT (-39.020445 -3.373443)'))) / (select extract(epoch from '2026-07-22 19:40:05'::timestamp) - extract(epoch from '2026-07-22 19:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020429 -3.373353)'), GeomFromEWKT('SRID=4674;POINT (-39.020445 -3.373443)'))) / (select extract(epoch from '2026-07-22 19:40:05'::timestamp) - extract(epoch from '2026-07-22 19:40: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'), 47445, 'SRID=4674;POINT (-39.020494 -3.373579)', '2026-07-22 19:40:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020445 -3.373443)'), GeomFromEWKT('SRID=4674;POINT (-39.020494 -3.373579)'))) / (select extract(epoch from '2026-07-22 19:40:12'::timestamp) - extract(epoch from '2026-07-22 19:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020445 -3.373443)'), GeomFromEWKT('SRID=4674;POINT (-39.020494 -3.373579)'))) / (select extract(epoch from '2026-07-22 19:40:12'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020542 -3.373691)', '2026-07-22 19:40:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020494 -3.373579)'), GeomFromEWKT('SRID=4674;POINT (-39.020542 -3.373691)'))) / (select extract(epoch from '2026-07-22 19:40:17'::timestamp) - extract(epoch from '2026-07-22 19:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020494 -3.373579)'), GeomFromEWKT('SRID=4674;POINT (-39.020542 -3.373691)'))) / (select extract(epoch from '2026-07-22 19:40:17'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.020601 -3.373821)', '2026-07-22 19:40:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020542 -3.373691)'), GeomFromEWKT('SRID=4674;POINT (-39.020601 -3.373821)'))) / (select extract(epoch from '2026-07-22 19:40:23'::timestamp) - extract(epoch from '2026-07-22 19:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020542 -3.373691)'), GeomFromEWKT('SRID=4674;POINT (-39.020601 -3.373821)'))) / (select extract(epoch from '2026-07-22 19:40:23'::timestamp) - extract(epoch from '2026-07-22 19:40: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'), 47445, 'SRID=4674;POINT (-39.020637 -3.373957)', '2026-07-22 19:40:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020601 -3.373821)'), GeomFromEWKT('SRID=4674;POINT (-39.020637 -3.373957)'))) / (select extract(epoch from '2026-07-22 19:40:29'::timestamp) - extract(epoch from '2026-07-22 19:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020601 -3.373821)'), GeomFromEWKT('SRID=4674;POINT (-39.020637 -3.373957)'))) / (select extract(epoch from '2026-07-22 19:40:29'::timestamp) - extract(epoch from '2026-07-22 19:40: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'), 47445, 'SRID=4674;POINT (-39.020673 -3.374091)', '2026-07-22 19:40:35', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020637 -3.373957)'), GeomFromEWKT('SRID=4674;POINT (-39.020673 -3.374091)'))) / (select extract(epoch from '2026-07-22 19:40:35'::timestamp) - extract(epoch from '2026-07-22 19:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020637 -3.373957)'), GeomFromEWKT('SRID=4674;POINT (-39.020673 -3.374091)'))) / (select extract(epoch from '2026-07-22 19:40:35'::timestamp) - extract(epoch from '2026-07-22 19:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020727 -3.374218)', '2026-07-22 19:40:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020673 -3.374091)'), GeomFromEWKT('SRID=4674;POINT (-39.020727 -3.374218)'))) / (select extract(epoch from '2026-07-22 19:40:41'::timestamp) - extract(epoch from '2026-07-22 19:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020673 -3.374091)'), GeomFromEWKT('SRID=4674;POINT (-39.020727 -3.374218)'))) / (select extract(epoch from '2026-07-22 19:40:41'::timestamp) - extract(epoch from '2026-07-22 19:40:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02077 -3.374349)', '2026-07-22 19:40:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020727 -3.374218)'), GeomFromEWKT('SRID=4674;POINT (-39.02077 -3.374349)'))) / (select extract(epoch from '2026-07-22 19:40:47'::timestamp) - extract(epoch from '2026-07-22 19:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020727 -3.374218)'), GeomFromEWKT('SRID=4674;POINT (-39.02077 -3.374349)'))) / (select extract(epoch from '2026-07-22 19:40:47'::timestamp) - extract(epoch from '2026-07-22 19:40: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'), 47445, 'SRID=4674;POINT (-39.020809 -3.374479)', '2026-07-22 19:40:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02077 -3.374349)'), GeomFromEWKT('SRID=4674;POINT (-39.020809 -3.374479)'))) / (select extract(epoch from '2026-07-22 19:40:53'::timestamp) - extract(epoch from '2026-07-22 19:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02077 -3.374349)'), GeomFromEWKT('SRID=4674;POINT (-39.020809 -3.374479)'))) / (select extract(epoch from '2026-07-22 19:40:53'::timestamp) - extract(epoch from '2026-07-22 19:40: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'), 47445, 'SRID=4674;POINT (-39.020866 -3.374612)', '2026-07-22 19:40:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020809 -3.374479)'), GeomFromEWKT('SRID=4674;POINT (-39.020866 -3.374612)'))) / (select extract(epoch from '2026-07-22 19:40:59'::timestamp) - extract(epoch from '2026-07-22 19:40:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020809 -3.374479)'), GeomFromEWKT('SRID=4674;POINT (-39.020866 -3.374612)'))) / (select extract(epoch from '2026-07-22 19:40:59'::timestamp) - extract(epoch from '2026-07-22 19:40:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020904 -3.374764)', '2026-07-22 19:41:06', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020866 -3.374612)'), GeomFromEWKT('SRID=4674;POINT (-39.020904 -3.374764)'))) / (select extract(epoch from '2026-07-22 19:41:06'::timestamp) - extract(epoch from '2026-07-22 19:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020866 -3.374612)'), GeomFromEWKT('SRID=4674;POINT (-39.020904 -3.374764)'))) / (select extract(epoch from '2026-07-22 19:41:06'::timestamp) - extract(epoch from '2026-07-22 19:40:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020941 -3.374899)', '2026-07-22 19:41:12', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020904 -3.374764)'), GeomFromEWKT('SRID=4674;POINT (-39.020941 -3.374899)'))) / (select extract(epoch from '2026-07-22 19:41:12'::timestamp) - extract(epoch from '2026-07-22 19:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020904 -3.374764)'), GeomFromEWKT('SRID=4674;POINT (-39.020941 -3.374899)'))) / (select extract(epoch from '2026-07-22 19:41:12'::timestamp) - extract(epoch from '2026-07-22 19:41:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020998 -3.375047)', '2026-07-22 19:41:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020941 -3.374899)'), GeomFromEWKT('SRID=4674;POINT (-39.020998 -3.375047)'))) / (select extract(epoch from '2026-07-22 19:41:19'::timestamp) - extract(epoch from '2026-07-22 19:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020941 -3.374899)'), GeomFromEWKT('SRID=4674;POINT (-39.020998 -3.375047)'))) / (select extract(epoch from '2026-07-22 19:41:19'::timestamp) - extract(epoch from '2026-07-22 19:41:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021078 -3.375196)', '2026-07-22 19:41:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020998 -3.375047)'), GeomFromEWKT('SRID=4674;POINT (-39.021078 -3.375196)'))) / (select extract(epoch from '2026-07-22 19:41:26'::timestamp) - extract(epoch from '2026-07-22 19:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020998 -3.375047)'), GeomFromEWKT('SRID=4674;POINT (-39.021078 -3.375196)'))) / (select extract(epoch from '2026-07-22 19:41:26'::timestamp) - extract(epoch from '2026-07-22 19:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021115 -3.37533)', '2026-07-22 19:41:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021078 -3.375196)'), GeomFromEWKT('SRID=4674;POINT (-39.021115 -3.37533)'))) / (select extract(epoch from '2026-07-22 19:41:32'::timestamp) - extract(epoch from '2026-07-22 19:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021078 -3.375196)'), GeomFromEWKT('SRID=4674;POINT (-39.021115 -3.37533)'))) / (select extract(epoch from '2026-07-22 19:41:32'::timestamp) - extract(epoch from '2026-07-22 19:41: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'), 47445, 'SRID=4674;POINT (-39.021146 -3.375466)', '2026-07-22 19:41:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021115 -3.37533)'), GeomFromEWKT('SRID=4674;POINT (-39.021146 -3.375466)'))) / (select extract(epoch from '2026-07-22 19:41:38'::timestamp) - extract(epoch from '2026-07-22 19:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021115 -3.37533)'), GeomFromEWKT('SRID=4674;POINT (-39.021146 -3.375466)'))) / (select extract(epoch from '2026-07-22 19:41:38'::timestamp) - extract(epoch from '2026-07-22 19:41: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'), 47445, 'SRID=4674;POINT (-39.021194 -3.375573)', '2026-07-22 19:41:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021146 -3.375466)'), GeomFromEWKT('SRID=4674;POINT (-39.021194 -3.375573)'))) / (select extract(epoch from '2026-07-22 19:41:43'::timestamp) - extract(epoch from '2026-07-22 19:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021146 -3.375466)'), GeomFromEWKT('SRID=4674;POINT (-39.021194 -3.375573)'))) / (select extract(epoch from '2026-07-22 19:41:43'::timestamp) - extract(epoch from '2026-07-22 19:41: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'), 47445, 'SRID=4674;POINT (-39.021253 -3.375695)', '2026-07-22 19:41:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021194 -3.375573)'), GeomFromEWKT('SRID=4674;POINT (-39.021253 -3.375695)'))) / (select extract(epoch from '2026-07-22 19:41:49'::timestamp) - extract(epoch from '2026-07-22 19:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021194 -3.375573)'), GeomFromEWKT('SRID=4674;POINT (-39.021253 -3.375695)'))) / (select extract(epoch from '2026-07-22 19:41:49'::timestamp) - extract(epoch from '2026-07-22 19:41:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02132 -3.375854)', '2026-07-22 19:41:56', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021253 -3.375695)'), GeomFromEWKT('SRID=4674;POINT (-39.02132 -3.375854)'))) / (select extract(epoch from '2026-07-22 19:41:56'::timestamp) - extract(epoch from '2026-07-22 19:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021253 -3.375695)'), GeomFromEWKT('SRID=4674;POINT (-39.02132 -3.375854)'))) / (select extract(epoch from '2026-07-22 19:41:56'::timestamp) - extract(epoch from '2026-07-22 19:41: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'), 47445, 'SRID=4674;POINT (-39.021372 -3.376)', '2026-07-22 19:42:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02132 -3.375854)'), GeomFromEWKT('SRID=4674;POINT (-39.021372 -3.376)'))) / (select extract(epoch from '2026-07-22 19:42:02'::timestamp) - extract(epoch from '2026-07-22 19:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02132 -3.375854)'), GeomFromEWKT('SRID=4674;POINT (-39.021372 -3.376)'))) / (select extract(epoch from '2026-07-22 19:42:02'::timestamp) - extract(epoch from '2026-07-22 19:41: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'), 47445, 'SRID=4674;POINT (-39.021407 -3.37613)', '2026-07-22 19:42:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021372 -3.376)'), GeomFromEWKT('SRID=4674;POINT (-39.021407 -3.37613)'))) / (select extract(epoch from '2026-07-22 19:42:08'::timestamp) - extract(epoch from '2026-07-22 19:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021372 -3.376)'), GeomFromEWKT('SRID=4674;POINT (-39.021407 -3.37613)'))) / (select extract(epoch from '2026-07-22 19:42:08'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021452 -3.376264)', '2026-07-22 19:42:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021407 -3.37613)'), GeomFromEWKT('SRID=4674;POINT (-39.021452 -3.376264)'))) / (select extract(epoch from '2026-07-22 19:42:14'::timestamp) - extract(epoch from '2026-07-22 19:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021407 -3.37613)'), GeomFromEWKT('SRID=4674;POINT (-39.021452 -3.376264)'))) / (select extract(epoch from '2026-07-22 19:42:14'::timestamp) - extract(epoch from '2026-07-22 19:42: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'), 47445, 'SRID=4674;POINT (-39.0215 -3.376416)', '2026-07-22 19:42:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021452 -3.376264)'), GeomFromEWKT('SRID=4674;POINT (-39.0215 -3.376416)'))) / (select extract(epoch from '2026-07-22 19:42:21'::timestamp) - extract(epoch from '2026-07-22 19:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021452 -3.376264)'), GeomFromEWKT('SRID=4674;POINT (-39.0215 -3.376416)'))) / (select extract(epoch from '2026-07-22 19:42:21'::timestamp) - extract(epoch from '2026-07-22 19:42: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'), 47445, 'SRID=4674;POINT (-39.021553 -3.376553)', '2026-07-22 19:42:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0215 -3.376416)'), GeomFromEWKT('SRID=4674;POINT (-39.021553 -3.376553)'))) / (select extract(epoch from '2026-07-22 19:42:27'::timestamp) - extract(epoch from '2026-07-22 19:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0215 -3.376416)'), GeomFromEWKT('SRID=4674;POINT (-39.021553 -3.376553)'))) / (select extract(epoch from '2026-07-22 19:42:27'::timestamp) - extract(epoch from '2026-07-22 19:42: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'), 47445, 'SRID=4674;POINT (-39.021609 -3.376708)', '2026-07-22 19:42:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021553 -3.376553)'), GeomFromEWKT('SRID=4674;POINT (-39.021609 -3.376708)'))) / (select extract(epoch from '2026-07-22 19:42:34'::timestamp) - extract(epoch from '2026-07-22 19:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021553 -3.376553)'), GeomFromEWKT('SRID=4674;POINT (-39.021609 -3.376708)'))) / (select extract(epoch from '2026-07-22 19:42:34'::timestamp) - extract(epoch from '2026-07-22 19:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02167 -3.376848)', '2026-07-22 19:42:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021609 -3.376708)'), GeomFromEWKT('SRID=4674;POINT (-39.02167 -3.376848)'))) / (select extract(epoch from '2026-07-22 19:42:40'::timestamp) - extract(epoch from '2026-07-22 19:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021609 -3.376708)'), GeomFromEWKT('SRID=4674;POINT (-39.02167 -3.376848)'))) / (select extract(epoch from '2026-07-22 19:42:40'::timestamp) - extract(epoch from '2026-07-22 19:42: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'), 47445, 'SRID=4674;POINT (-39.021701 -3.376933)', '2026-07-22 19:42:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02167 -3.376848)'), GeomFromEWKT('SRID=4674;POINT (-39.021701 -3.376933)'))) / (select extract(epoch from '2026-07-22 19:42:44'::timestamp) - extract(epoch from '2026-07-22 19:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02167 -3.376848)'), GeomFromEWKT('SRID=4674;POINT (-39.021701 -3.376933)'))) / (select extract(epoch from '2026-07-22 19:42:44'::timestamp) - extract(epoch from '2026-07-22 19:42: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'), 47445, 'SRID=4674;POINT (-39.021754 -3.377066)', '2026-07-22 19:42:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021701 -3.376933)'), GeomFromEWKT('SRID=4674;POINT (-39.021754 -3.377066)'))) / (select extract(epoch from '2026-07-22 19:42:50'::timestamp) - extract(epoch from '2026-07-22 19:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021701 -3.376933)'), GeomFromEWKT('SRID=4674;POINT (-39.021754 -3.377066)'))) / (select extract(epoch from '2026-07-22 19:42:50'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021779 -3.377201)', '2026-07-22 19:42:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021754 -3.377066)'), GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.377201)'))) / (select extract(epoch from '2026-07-22 19:42:56'::timestamp) - extract(epoch from '2026-07-22 19:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021754 -3.377066)'), GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.377201)'))) / (select extract(epoch from '2026-07-22 19:42:56'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.021812 -3.377338)', '2026-07-22 19:43:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.377201)'), GeomFromEWKT('SRID=4674;POINT (-39.021812 -3.377338)'))) / (select extract(epoch from '2026-07-22 19:43:02'::timestamp) - extract(epoch from '2026-07-22 19:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021779 -3.377201)'), GeomFromEWKT('SRID=4674;POINT (-39.021812 -3.377338)'))) / (select extract(epoch from '2026-07-22 19:43:02'::timestamp) - extract(epoch from '2026-07-22 19:42: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'), 47445, 'SRID=4674;POINT (-39.021859 -3.377444)', '2026-07-22 19:43:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021812 -3.377338)'), GeomFromEWKT('SRID=4674;POINT (-39.021859 -3.377444)'))) / (select extract(epoch from '2026-07-22 19:43:07'::timestamp) - extract(epoch from '2026-07-22 19:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021812 -3.377338)'), GeomFromEWKT('SRID=4674;POINT (-39.021859 -3.377444)'))) / (select extract(epoch from '2026-07-22 19:43:07'::timestamp) - extract(epoch from '2026-07-22 19:43: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'), 47445, 'SRID=4674;POINT (-39.0219 -3.377554)', '2026-07-22 19:43:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021859 -3.377444)'), GeomFromEWKT('SRID=4674;POINT (-39.0219 -3.377554)'))) / (select extract(epoch from '2026-07-22 19:43:12'::timestamp) - extract(epoch from '2026-07-22 19:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021859 -3.377444)'), GeomFromEWKT('SRID=4674;POINT (-39.0219 -3.377554)'))) / (select extract(epoch from '2026-07-22 19:43:12'::timestamp) - extract(epoch from '2026-07-22 19:43: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'), 47445, 'SRID=4674;POINT (-39.021955 -3.377683)', '2026-07-22 19:43:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0219 -3.377554)'), GeomFromEWKT('SRID=4674;POINT (-39.021955 -3.377683)'))) / (select extract(epoch from '2026-07-22 19:43:18'::timestamp) - extract(epoch from '2026-07-22 19:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0219 -3.377554)'), GeomFromEWKT('SRID=4674;POINT (-39.021955 -3.377683)'))) / (select extract(epoch from '2026-07-22 19:43:18'::timestamp) - extract(epoch from '2026-07-22 19:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02202 -3.377829)', '2026-07-22 19:43:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021955 -3.377683)'), GeomFromEWKT('SRID=4674;POINT (-39.02202 -3.377829)'))) / (select extract(epoch from '2026-07-22 19:43:25'::timestamp) - extract(epoch from '2026-07-22 19:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021955 -3.377683)'), GeomFromEWKT('SRID=4674;POINT (-39.02202 -3.377829)'))) / (select extract(epoch from '2026-07-22 19:43:25'::timestamp) - extract(epoch from '2026-07-22 19:43:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022064 -3.377985)', '2026-07-22 19:43:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02202 -3.377829)'), GeomFromEWKT('SRID=4674;POINT (-39.022064 -3.377985)'))) / (select extract(epoch from '2026-07-22 19:43:32'::timestamp) - extract(epoch from '2026-07-22 19:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02202 -3.377829)'), GeomFromEWKT('SRID=4674;POINT (-39.022064 -3.377985)'))) / (select extract(epoch from '2026-07-22 19:43:32'::timestamp) - extract(epoch from '2026-07-22 19:43: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'), 47445, 'SRID=4674;POINT (-39.022091 -3.378087)', '2026-07-22 19:43:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022064 -3.377985)'), GeomFromEWKT('SRID=4674;POINT (-39.022091 -3.378087)'))) / (select extract(epoch from '2026-07-22 19:43:37'::timestamp) - extract(epoch from '2026-07-22 19:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022064 -3.377985)'), GeomFromEWKT('SRID=4674;POINT (-39.022091 -3.378087)'))) / (select extract(epoch from '2026-07-22 19:43:37'::timestamp) - extract(epoch from '2026-07-22 19:43: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'), 47445, 'SRID=4674;POINT (-39.02215 -3.378248)', '2026-07-22 19:43:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022091 -3.378087)'), GeomFromEWKT('SRID=4674;POINT (-39.02215 -3.378248)'))) / (select extract(epoch from '2026-07-22 19:43:44'::timestamp) - extract(epoch from '2026-07-22 19:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022091 -3.378087)'), GeomFromEWKT('SRID=4674;POINT (-39.02215 -3.378248)'))) / (select extract(epoch from '2026-07-22 19:43:44'::timestamp) - extract(epoch from '2026-07-22 19:43: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'), 47445, 'SRID=4674;POINT (-39.022195 -3.378352)', '2026-07-22 19:43:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02215 -3.378248)'), GeomFromEWKT('SRID=4674;POINT (-39.022195 -3.378352)'))) / (select extract(epoch from '2026-07-22 19:43:49'::timestamp) - extract(epoch from '2026-07-22 19:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02215 -3.378248)'), GeomFromEWKT('SRID=4674;POINT (-39.022195 -3.378352)'))) / (select extract(epoch from '2026-07-22 19:43:49'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022255 -3.378481)', '2026-07-22 19:43:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022195 -3.378352)'), GeomFromEWKT('SRID=4674;POINT (-39.022255 -3.378481)'))) / (select extract(epoch from '2026-07-22 19:43:55'::timestamp) - extract(epoch from '2026-07-22 19:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022195 -3.378352)'), GeomFromEWKT('SRID=4674;POINT (-39.022255 -3.378481)'))) / (select extract(epoch from '2026-07-22 19:43:55'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022289 -3.378583)', '2026-07-22 19:44:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022255 -3.378481)'), GeomFromEWKT('SRID=4674;POINT (-39.022289 -3.378583)'))) / (select extract(epoch from '2026-07-22 19:44:00'::timestamp) - extract(epoch from '2026-07-22 19:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022255 -3.378481)'), GeomFromEWKT('SRID=4674;POINT (-39.022289 -3.378583)'))) / (select extract(epoch from '2026-07-22 19:44:00'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022346 -3.37876)', '2026-07-22 19:44:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022289 -3.378583)'), GeomFromEWKT('SRID=4674;POINT (-39.022346 -3.37876)'))) / (select extract(epoch from '2026-07-22 19:44:08'::timestamp) - extract(epoch from '2026-07-22 19:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022289 -3.378583)'), GeomFromEWKT('SRID=4674;POINT (-39.022346 -3.37876)'))) / (select extract(epoch from '2026-07-22 19:44:08'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022405 -3.378921)', '2026-07-22 19:44:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022346 -3.37876)'), GeomFromEWKT('SRID=4674;POINT (-39.022405 -3.378921)'))) / (select extract(epoch from '2026-07-22 19:44:15'::timestamp) - extract(epoch from '2026-07-22 19:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022346 -3.37876)'), GeomFromEWKT('SRID=4674;POINT (-39.022405 -3.378921)'))) / (select extract(epoch from '2026-07-22 19:44:15'::timestamp) - extract(epoch from '2026-07-22 19:44: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'), 47445, 'SRID=4674;POINT (-39.02245 -3.379029)', '2026-07-22 19:44:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022405 -3.378921)'), GeomFromEWKT('SRID=4674;POINT (-39.02245 -3.379029)'))) / (select extract(epoch from '2026-07-22 19:44:20'::timestamp) - extract(epoch from '2026-07-22 19:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022405 -3.378921)'), GeomFromEWKT('SRID=4674;POINT (-39.02245 -3.379029)'))) / (select extract(epoch from '2026-07-22 19:44:20'::timestamp) - extract(epoch from '2026-07-22 19:44: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'), 47445, 'SRID=4674;POINT (-39.022477 -3.379139)', '2026-07-22 19:44:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02245 -3.379029)'), GeomFromEWKT('SRID=4674;POINT (-39.022477 -3.379139)'))) / (select extract(epoch from '2026-07-22 19:44:25'::timestamp) - extract(epoch from '2026-07-22 19:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02245 -3.379029)'), GeomFromEWKT('SRID=4674;POINT (-39.022477 -3.379139)'))) / (select extract(epoch from '2026-07-22 19:44:25'::timestamp) - extract(epoch from '2026-07-22 19:44: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'), 47445, 'SRID=4674;POINT (-39.02252 -3.37927)', '2026-07-22 19:44:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022477 -3.379139)'), GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.37927)'))) / (select extract(epoch from '2026-07-22 19:44:31'::timestamp) - extract(epoch from '2026-07-22 19:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022477 -3.379139)'), GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.37927)'))) / (select extract(epoch from '2026-07-22 19:44:31'::timestamp) - extract(epoch from '2026-07-22 19:44: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'), 47445, 'SRID=4674;POINT (-39.022556 -3.379385)', '2026-07-22 19:44:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.37927)'), GeomFromEWKT('SRID=4674;POINT (-39.022556 -3.379385)'))) / (select extract(epoch from '2026-07-22 19:44:36'::timestamp) - extract(epoch from '2026-07-22 19:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02252 -3.37927)'), GeomFromEWKT('SRID=4674;POINT (-39.022556 -3.379385)'))) / (select extract(epoch from '2026-07-22 19:44:36'::timestamp) - extract(epoch from '2026-07-22 19:44: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'), 47445, 'SRID=4674;POINT (-39.022616 -3.379517)', '2026-07-22 19:44:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022556 -3.379385)'), GeomFromEWKT('SRID=4674;POINT (-39.022616 -3.379517)'))) / (select extract(epoch from '2026-07-22 19:44:42'::timestamp) - extract(epoch from '2026-07-22 19:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022556 -3.379385)'), GeomFromEWKT('SRID=4674;POINT (-39.022616 -3.379517)'))) / (select extract(epoch from '2026-07-22 19:44:42'::timestamp) - extract(epoch from '2026-07-22 19:44: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'), 47445, 'SRID=4674;POINT (-39.022662 -3.379671)', '2026-07-22 19:44:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022616 -3.379517)'), GeomFromEWKT('SRID=4674;POINT (-39.022662 -3.379671)'))) / (select extract(epoch from '2026-07-22 19:44:49'::timestamp) - extract(epoch from '2026-07-22 19:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022616 -3.379517)'), GeomFromEWKT('SRID=4674;POINT (-39.022662 -3.379671)'))) / (select extract(epoch from '2026-07-22 19:44:49'::timestamp) - extract(epoch from '2026-07-22 19:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022726 -3.379831)', '2026-07-22 19:44:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022662 -3.379671)'), GeomFromEWKT('SRID=4674;POINT (-39.022726 -3.379831)'))) / (select extract(epoch from '2026-07-22 19:44:56'::timestamp) - extract(epoch from '2026-07-22 19:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022662 -3.379671)'), GeomFromEWKT('SRID=4674;POINT (-39.022726 -3.379831)'))) / (select extract(epoch from '2026-07-22 19:44:56'::timestamp) - extract(epoch from '2026-07-22 19:44: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'), 47445, 'SRID=4674;POINT (-39.022809 -3.380013)', '2026-07-22 19:45:04', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022726 -3.379831)'), GeomFromEWKT('SRID=4674;POINT (-39.022809 -3.380013)'))) / (select extract(epoch from '2026-07-22 19:45:04'::timestamp) - extract(epoch from '2026-07-22 19:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022726 -3.379831)'), GeomFromEWKT('SRID=4674;POINT (-39.022809 -3.380013)'))) / (select extract(epoch from '2026-07-22 19:45:04'::timestamp) - extract(epoch from '2026-07-22 19:44: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'), 47445, 'SRID=4674;POINT (-39.022872 -3.380166)', '2026-07-22 19:45:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022809 -3.380013)'), GeomFromEWKT('SRID=4674;POINT (-39.022872 -3.380166)'))) / (select extract(epoch from '2026-07-22 19:45:11'::timestamp) - extract(epoch from '2026-07-22 19:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022809 -3.380013)'), GeomFromEWKT('SRID=4674;POINT (-39.022872 -3.380166)'))) / (select extract(epoch from '2026-07-22 19:45:11'::timestamp) - extract(epoch from '2026-07-22 19:45: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'), 47445, 'SRID=4674;POINT (-39.022926 -3.380298)', '2026-07-22 19:45:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022872 -3.380166)'), GeomFromEWKT('SRID=4674;POINT (-39.022926 -3.380298)'))) / (select extract(epoch from '2026-07-22 19:45:17'::timestamp) - extract(epoch from '2026-07-22 19:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022872 -3.380166)'), GeomFromEWKT('SRID=4674;POINT (-39.022926 -3.380298)'))) / (select extract(epoch from '2026-07-22 19:45:17'::timestamp) - extract(epoch from '2026-07-22 19:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022951 -3.380383)', '2026-07-22 19:45:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022926 -3.380298)'), GeomFromEWKT('SRID=4674;POINT (-39.022951 -3.380383)'))) / (select extract(epoch from '2026-07-22 19:45:21'::timestamp) - extract(epoch from '2026-07-22 19:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022926 -3.380298)'), GeomFromEWKT('SRID=4674;POINT (-39.022951 -3.380383)'))) / (select extract(epoch from '2026-07-22 19:45:21'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.022984 -3.380503)', '2026-07-22 19:45:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022951 -3.380383)'), GeomFromEWKT('SRID=4674;POINT (-39.022984 -3.380503)'))) / (select extract(epoch from '2026-07-22 19:45:26'::timestamp) - extract(epoch from '2026-07-22 19:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022951 -3.380383)'), GeomFromEWKT('SRID=4674;POINT (-39.022984 -3.380503)'))) / (select extract(epoch from '2026-07-22 19:45:26'::timestamp) - extract(epoch from '2026-07-22 19:45: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'), 47445, 'SRID=4674;POINT (-39.023032 -3.380635)', '2026-07-22 19:45:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022984 -3.380503)'), GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.380635)'))) / (select extract(epoch from '2026-07-22 19:45:32'::timestamp) - extract(epoch from '2026-07-22 19:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022984 -3.380503)'), GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.380635)'))) / (select extract(epoch from '2026-07-22 19:45:32'::timestamp) - extract(epoch from '2026-07-22 19:45: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'), 47445, 'SRID=4674;POINT (-39.023075 -3.380766)', '2026-07-22 19:45:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.380635)'), GeomFromEWKT('SRID=4674;POINT (-39.023075 -3.380766)'))) / (select extract(epoch from '2026-07-22 19:45:38'::timestamp) - extract(epoch from '2026-07-22 19:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.380635)'), GeomFromEWKT('SRID=4674;POINT (-39.023075 -3.380766)'))) / (select extract(epoch from '2026-07-22 19:45:38'::timestamp) - extract(epoch from '2026-07-22 19:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023131 -3.380902)', '2026-07-22 19:45:44', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023075 -3.380766)'), GeomFromEWKT('SRID=4674;POINT (-39.023131 -3.380902)'))) / (select extract(epoch from '2026-07-22 19:45:44'::timestamp) - extract(epoch from '2026-07-22 19:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023075 -3.380766)'), GeomFromEWKT('SRID=4674;POINT (-39.023131 -3.380902)'))) / (select extract(epoch from '2026-07-22 19:45:44'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.023162 -3.38101)', '2026-07-22 19:45:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023131 -3.380902)'), GeomFromEWKT('SRID=4674;POINT (-39.023162 -3.38101)'))) / (select extract(epoch from '2026-07-22 19:45:49'::timestamp) - extract(epoch from '2026-07-22 19:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023131 -3.380902)'), GeomFromEWKT('SRID=4674;POINT (-39.023162 -3.38101)'))) / (select extract(epoch from '2026-07-22 19:45:49'::timestamp) - extract(epoch from '2026-07-22 19:45:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023224 -3.38117)', '2026-07-22 19:45:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023162 -3.38101)'), GeomFromEWKT('SRID=4674;POINT (-39.023224 -3.38117)'))) / (select extract(epoch from '2026-07-22 19:45:56'::timestamp) - extract(epoch from '2026-07-22 19:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023162 -3.38101)'), GeomFromEWKT('SRID=4674;POINT (-39.023224 -3.38117)'))) / (select extract(epoch from '2026-07-22 19:45:56'::timestamp) - extract(epoch from '2026-07-22 19:45: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'), 47445, 'SRID=4674;POINT (-39.023284 -3.381328)', '2026-07-22 19:46:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023224 -3.38117)'), GeomFromEWKT('SRID=4674;POINT (-39.023284 -3.381328)'))) / (select extract(epoch from '2026-07-22 19:46:03'::timestamp) - extract(epoch from '2026-07-22 19:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023224 -3.38117)'), GeomFromEWKT('SRID=4674;POINT (-39.023284 -3.381328)'))) / (select extract(epoch from '2026-07-22 19:46:03'::timestamp) - extract(epoch from '2026-07-22 19:45: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'), 47445, 'SRID=4674;POINT (-39.023337 -3.381442)', '2026-07-22 19:46:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023284 -3.381328)'), GeomFromEWKT('SRID=4674;POINT (-39.023337 -3.381442)'))) / (select extract(epoch from '2026-07-22 19:46:08'::timestamp) - extract(epoch from '2026-07-22 19:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023284 -3.381328)'), GeomFromEWKT('SRID=4674;POINT (-39.023337 -3.381442)'))) / (select extract(epoch from '2026-07-22 19:46:08'::timestamp) - extract(epoch from '2026-07-22 19:46: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'), 47445, 'SRID=4674;POINT (-39.023376 -3.381556)', '2026-07-22 19:46:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023337 -3.381442)'), GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.381556)'))) / (select extract(epoch from '2026-07-22 19:46:13'::timestamp) - extract(epoch from '2026-07-22 19:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023337 -3.381442)'), GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.381556)'))) / (select extract(epoch from '2026-07-22 19:46:13'::timestamp) - extract(epoch from '2026-07-22 19:46:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023435 -3.381707)', '2026-07-22 19:46:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.381556)'), GeomFromEWKT('SRID=4674;POINT (-39.023435 -3.381707)'))) / (select extract(epoch from '2026-07-22 19:46:20'::timestamp) - extract(epoch from '2026-07-22 19:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.381556)'), GeomFromEWKT('SRID=4674;POINT (-39.023435 -3.381707)'))) / (select extract(epoch from '2026-07-22 19:46:20'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.023477 -3.381824)', '2026-07-22 19:46:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023435 -3.381707)'), GeomFromEWKT('SRID=4674;POINT (-39.023477 -3.381824)'))) / (select extract(epoch from '2026-07-22 19:46:25'::timestamp) - extract(epoch from '2026-07-22 19:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023435 -3.381707)'), GeomFromEWKT('SRID=4674;POINT (-39.023477 -3.381824)'))) / (select extract(epoch from '2026-07-22 19:46:25'::timestamp) - extract(epoch from '2026-07-22 19:46: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'), 47445, 'SRID=4674;POINT (-39.02352 -3.381913)', '2026-07-22 19:46:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023477 -3.381824)'), GeomFromEWKT('SRID=4674;POINT (-39.02352 -3.381913)'))) / (select extract(epoch from '2026-07-22 19:46:29'::timestamp) - extract(epoch from '2026-07-22 19:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023477 -3.381824)'), GeomFromEWKT('SRID=4674;POINT (-39.02352 -3.381913)'))) / (select extract(epoch from '2026-07-22 19:46:29'::timestamp) - extract(epoch from '2026-07-22 19:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023565 -3.382019)', '2026-07-22 19:46:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02352 -3.381913)'), GeomFromEWKT('SRID=4674;POINT (-39.023565 -3.382019)'))) / (select extract(epoch from '2026-07-22 19:46:34'::timestamp) - extract(epoch from '2026-07-22 19:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02352 -3.381913)'), GeomFromEWKT('SRID=4674;POINT (-39.023565 -3.382019)'))) / (select extract(epoch from '2026-07-22 19:46:34'::timestamp) - extract(epoch from '2026-07-22 19:46: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'), 47445, 'SRID=4674;POINT (-39.02361 -3.382178)', '2026-07-22 19:46:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023565 -3.382019)'), GeomFromEWKT('SRID=4674;POINT (-39.02361 -3.382178)'))) / (select extract(epoch from '2026-07-22 19:46:41'::timestamp) - extract(epoch from '2026-07-22 19:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023565 -3.382019)'), GeomFromEWKT('SRID=4674;POINT (-39.02361 -3.382178)'))) / (select extract(epoch from '2026-07-22 19:46:41'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.023651 -3.382339)', '2026-07-22 19:46:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02361 -3.382178)'), GeomFromEWKT('SRID=4674;POINT (-39.023651 -3.382339)'))) / (select extract(epoch from '2026-07-22 19:46:48'::timestamp) - extract(epoch from '2026-07-22 19:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02361 -3.382178)'), GeomFromEWKT('SRID=4674;POINT (-39.023651 -3.382339)'))) / (select extract(epoch from '2026-07-22 19:46:48'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.023687 -3.382495)', '2026-07-22 19:46:55', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023651 -3.382339)'), GeomFromEWKT('SRID=4674;POINT (-39.023687 -3.382495)'))) / (select extract(epoch from '2026-07-22 19:46:55'::timestamp) - extract(epoch from '2026-07-22 19:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023651 -3.382339)'), GeomFromEWKT('SRID=4674;POINT (-39.023687 -3.382495)'))) / (select extract(epoch from '2026-07-22 19:46:55'::timestamp) - extract(epoch from '2026-07-22 19:46: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'), 47445, 'SRID=4674;POINT (-39.023729 -3.382605)', '2026-07-22 19:47:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023687 -3.382495)'), GeomFromEWKT('SRID=4674;POINT (-39.023729 -3.382605)'))) / (select extract(epoch from '2026-07-22 19:47:00'::timestamp) - extract(epoch from '2026-07-22 19:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023687 -3.382495)'), GeomFromEWKT('SRID=4674;POINT (-39.023729 -3.382605)'))) / (select extract(epoch from '2026-07-22 19:47:00'::timestamp) - extract(epoch from '2026-07-22 19:46: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'), 47445, 'SRID=4674;POINT (-39.023775 -3.38274)', '2026-07-22 19:47:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023729 -3.382605)'), GeomFromEWKT('SRID=4674;POINT (-39.023775 -3.38274)'))) / (select extract(epoch from '2026-07-22 19:47:06'::timestamp) - extract(epoch from '2026-07-22 19:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023729 -3.382605)'), GeomFromEWKT('SRID=4674;POINT (-39.023775 -3.38274)'))) / (select extract(epoch from '2026-07-22 19:47:06'::timestamp) - extract(epoch from '2026-07-22 19:47: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'), 47445, 'SRID=4674;POINT (-39.023818 -3.382875)', '2026-07-22 19:47:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023775 -3.38274)'), GeomFromEWKT('SRID=4674;POINT (-39.023818 -3.382875)'))) / (select extract(epoch from '2026-07-22 19:47:12'::timestamp) - extract(epoch from '2026-07-22 19:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023775 -3.38274)'), GeomFromEWKT('SRID=4674;POINT (-39.023818 -3.382875)'))) / (select extract(epoch from '2026-07-22 19:47:12'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.023866 -3.383013)', '2026-07-22 19:47:18', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023818 -3.382875)'), GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.383013)'))) / (select extract(epoch from '2026-07-22 19:47:18'::timestamp) - extract(epoch from '2026-07-22 19:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023818 -3.382875)'), GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.383013)'))) / (select extract(epoch from '2026-07-22 19:47:18'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.023911 -3.38315)', '2026-07-22 19:47:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.383013)'), GeomFromEWKT('SRID=4674;POINT (-39.023911 -3.38315)'))) / (select extract(epoch from '2026-07-22 19:47:24'::timestamp) - extract(epoch from '2026-07-22 19:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023866 -3.383013)'), GeomFromEWKT('SRID=4674;POINT (-39.023911 -3.38315)'))) / (select extract(epoch from '2026-07-22 19:47:24'::timestamp) - extract(epoch from '2026-07-22 19:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023966 -3.383284)', '2026-07-22 19:47:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023911 -3.38315)'), GeomFromEWKT('SRID=4674;POINT (-39.023966 -3.383284)'))) / (select extract(epoch from '2026-07-22 19:47:30'::timestamp) - extract(epoch from '2026-07-22 19:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023911 -3.38315)'), GeomFromEWKT('SRID=4674;POINT (-39.023966 -3.383284)'))) / (select extract(epoch from '2026-07-22 19:47:30'::timestamp) - extract(epoch from '2026-07-22 19:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024006 -3.383391)', '2026-07-22 19:47:35', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023966 -3.383284)'), GeomFromEWKT('SRID=4674;POINT (-39.024006 -3.383391)'))) / (select extract(epoch from '2026-07-22 19:47:35'::timestamp) - extract(epoch from '2026-07-22 19:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023966 -3.383284)'), GeomFromEWKT('SRID=4674;POINT (-39.024006 -3.383391)'))) / (select extract(epoch from '2026-07-22 19:47:35'::timestamp) - extract(epoch from '2026-07-22 19:47: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'), 47445, 'SRID=4674;POINT (-39.024062 -3.383523)', '2026-07-22 19:47:41', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024006 -3.383391)'), GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.383523)'))) / (select extract(epoch from '2026-07-22 19:47:41'::timestamp) - extract(epoch from '2026-07-22 19:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024006 -3.383391)'), GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.383523)'))) / (select extract(epoch from '2026-07-22 19:47:41'::timestamp) - extract(epoch from '2026-07-22 19:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024117 -3.383681)', '2026-07-22 19:47:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.383523)'), GeomFromEWKT('SRID=4674;POINT (-39.024117 -3.383681)'))) / (select extract(epoch from '2026-07-22 19:47:48'::timestamp) - extract(epoch from '2026-07-22 19:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.383523)'), GeomFromEWKT('SRID=4674;POINT (-39.024117 -3.383681)'))) / (select extract(epoch from '2026-07-22 19:47:48'::timestamp) - extract(epoch from '2026-07-22 19:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024164 -3.383794)', '2026-07-22 19:47:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024117 -3.383681)'), GeomFromEWKT('SRID=4674;POINT (-39.024164 -3.383794)'))) / (select extract(epoch from '2026-07-22 19:47:53'::timestamp) - extract(epoch from '2026-07-22 19:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024117 -3.383681)'), GeomFromEWKT('SRID=4674;POINT (-39.024164 -3.383794)'))) / (select extract(epoch from '2026-07-22 19:47:53'::timestamp) - extract(epoch from '2026-07-22 19:47: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'), 47445, 'SRID=4674;POINT (-39.024196 -3.383905)', '2026-07-22 19:47:58', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024164 -3.383794)'), GeomFromEWKT('SRID=4674;POINT (-39.024196 -3.383905)'))) / (select extract(epoch from '2026-07-22 19:47:58'::timestamp) - extract(epoch from '2026-07-22 19:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024164 -3.383794)'), GeomFromEWKT('SRID=4674;POINT (-39.024196 -3.383905)'))) / (select extract(epoch from '2026-07-22 19:47:58'::timestamp) - extract(epoch from '2026-07-22 19:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024232 -3.384019)', '2026-07-22 19:48:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024196 -3.383905)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.384019)'))) / (select extract(epoch from '2026-07-22 19:48:03'::timestamp) - extract(epoch from '2026-07-22 19:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024196 -3.383905)'), GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.384019)'))) / (select extract(epoch from '2026-07-22 19:48:03'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.024287 -3.384153)', '2026-07-22 19:48:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.384019)'), GeomFromEWKT('SRID=4674;POINT (-39.024287 -3.384153)'))) / (select extract(epoch from '2026-07-22 19:48:09'::timestamp) - extract(epoch from '2026-07-22 19:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024232 -3.384019)'), GeomFromEWKT('SRID=4674;POINT (-39.024287 -3.384153)'))) / (select extract(epoch from '2026-07-22 19:48:09'::timestamp) - extract(epoch from '2026-07-22 19:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024333 -3.384285)', '2026-07-22 19:48:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024287 -3.384153)'), GeomFromEWKT('SRID=4674;POINT (-39.024333 -3.384285)'))) / (select extract(epoch from '2026-07-22 19:48:15'::timestamp) - extract(epoch from '2026-07-22 19:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024287 -3.384153)'), GeomFromEWKT('SRID=4674;POINT (-39.024333 -3.384285)'))) / (select extract(epoch from '2026-07-22 19:48:15'::timestamp) - extract(epoch from '2026-07-22 19:48: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'), 47445, 'SRID=4674;POINT (-39.024378 -3.384393)', '2026-07-22 19:48:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024333 -3.384285)'), GeomFromEWKT('SRID=4674;POINT (-39.024378 -3.384393)'))) / (select extract(epoch from '2026-07-22 19:48:20'::timestamp) - extract(epoch from '2026-07-22 19:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024333 -3.384285)'), GeomFromEWKT('SRID=4674;POINT (-39.024378 -3.384393)'))) / (select extract(epoch from '2026-07-22 19:48:20'::timestamp) - extract(epoch from '2026-07-22 19:48: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'), 47445, 'SRID=4674;POINT (-39.02442 -3.384526)', '2026-07-22 19:48:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024378 -3.384393)'), GeomFromEWKT('SRID=4674;POINT (-39.02442 -3.384526)'))) / (select extract(epoch from '2026-07-22 19:48:26'::timestamp) - extract(epoch from '2026-07-22 19:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024378 -3.384393)'), GeomFromEWKT('SRID=4674;POINT (-39.02442 -3.384526)'))) / (select extract(epoch from '2026-07-22 19:48:26'::timestamp) - extract(epoch from '2026-07-22 19:48: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'), 47445, 'SRID=4674;POINT (-39.024457 -3.384648)', '2026-07-22 19:48:31', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02442 -3.384526)'), GeomFromEWKT('SRID=4674;POINT (-39.024457 -3.384648)'))) / (select extract(epoch from '2026-07-22 19:48:31'::timestamp) - extract(epoch from '2026-07-22 19:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02442 -3.384526)'), GeomFromEWKT('SRID=4674;POINT (-39.024457 -3.384648)'))) / (select extract(epoch from '2026-07-22 19:48:31'::timestamp) - extract(epoch from '2026-07-22 19:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024508 -3.384776)', '2026-07-22 19:48:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024457 -3.384648)'), GeomFromEWKT('SRID=4674;POINT (-39.024508 -3.384776)'))) / (select extract(epoch from '2026-07-22 19:48:37'::timestamp) - extract(epoch from '2026-07-22 19:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024457 -3.384648)'), GeomFromEWKT('SRID=4674;POINT (-39.024508 -3.384776)'))) / (select extract(epoch from '2026-07-22 19:48:37'::timestamp) - extract(epoch from '2026-07-22 19:48:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024553 -3.384894)', '2026-07-22 19:48:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024508 -3.384776)'), GeomFromEWKT('SRID=4674;POINT (-39.024553 -3.384894)'))) / (select extract(epoch from '2026-07-22 19:48:42'::timestamp) - extract(epoch from '2026-07-22 19:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024508 -3.384776)'), GeomFromEWKT('SRID=4674;POINT (-39.024553 -3.384894)'))) / (select extract(epoch from '2026-07-22 19:48:42'::timestamp) - extract(epoch from '2026-07-22 19:48:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024582 -3.384976)', '2026-07-22 19:48:46', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024553 -3.384894)'), GeomFromEWKT('SRID=4674;POINT (-39.024582 -3.384976)'))) / (select extract(epoch from '2026-07-22 19:48:46'::timestamp) - extract(epoch from '2026-07-22 19:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024553 -3.384894)'), GeomFromEWKT('SRID=4674;POINT (-39.024582 -3.384976)'))) / (select extract(epoch from '2026-07-22 19:48:46'::timestamp) - extract(epoch from '2026-07-22 19:48: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'), 47445, 'SRID=4674;POINT (-39.024612 -3.385089)', '2026-07-22 19:48:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024582 -3.384976)'), GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.385089)'))) / (select extract(epoch from '2026-07-22 19:48:51'::timestamp) - extract(epoch from '2026-07-22 19:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024582 -3.384976)'), GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.385089)'))) / (select extract(epoch from '2026-07-22 19:48:51'::timestamp) - extract(epoch from '2026-07-22 19:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024648 -3.38522)', '2026-07-22 19:48:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.385089)'), GeomFromEWKT('SRID=4674;POINT (-39.024648 -3.38522)'))) / (select extract(epoch from '2026-07-22 19:48:57'::timestamp) - extract(epoch from '2026-07-22 19:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024612 -3.385089)'), GeomFromEWKT('SRID=4674;POINT (-39.024648 -3.38522)'))) / (select extract(epoch from '2026-07-22 19:48:57'::timestamp) - extract(epoch from '2026-07-22 19:48:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024703 -3.38538)', '2026-07-22 19:49:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024648 -3.38522)'), GeomFromEWKT('SRID=4674;POINT (-39.024703 -3.38538)'))) / (select extract(epoch from '2026-07-22 19:49:04'::timestamp) - extract(epoch from '2026-07-22 19:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024648 -3.38522)'), GeomFromEWKT('SRID=4674;POINT (-39.024703 -3.38538)'))) / (select extract(epoch from '2026-07-22 19:49:04'::timestamp) - extract(epoch from '2026-07-22 19:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024726 -3.385537)', '2026-07-22 19:49:11', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024703 -3.38538)'), GeomFromEWKT('SRID=4674;POINT (-39.024726 -3.385537)'))) / (select extract(epoch from '2026-07-22 19:49:11'::timestamp) - extract(epoch from '2026-07-22 19:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024703 -3.38538)'), GeomFromEWKT('SRID=4674;POINT (-39.024726 -3.385537)'))) / (select extract(epoch from '2026-07-22 19:49:11'::timestamp) - extract(epoch from '2026-07-22 19:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024729 -3.385561)', '2026-07-22 19:49:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024726 -3.385537)'), GeomFromEWKT('SRID=4674;POINT (-39.024729 -3.385561)'))) / (select extract(epoch from '2026-07-22 19:49:12'::timestamp) - extract(epoch from '2026-07-22 19:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024726 -3.385537)'), GeomFromEWKT('SRID=4674;POINT (-39.024729 -3.385561)'))) / (select extract(epoch from '2026-07-22 19:49:12'::timestamp) - extract(epoch from '2026-07-22 19:49:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024748 -3.385635)', '2026-07-22 19:49:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024729 -3.385561)'), GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.385635)'))) / (select extract(epoch from '2026-07-22 19:49:15'::timestamp) - extract(epoch from '2026-07-22 19:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024729 -3.385561)'), GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.385635)'))) / (select extract(epoch from '2026-07-22 19:49:15'::timestamp) - extract(epoch from '2026-07-22 19:49: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'), 47445, 'SRID=4674;POINT (-39.024782 -3.385793)', '2026-07-22 19:49:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.385635)'), GeomFromEWKT('SRID=4674;POINT (-39.024782 -3.385793)'))) / (select extract(epoch from '2026-07-22 19:49:22'::timestamp) - extract(epoch from '2026-07-22 19:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024748 -3.385635)'), GeomFromEWKT('SRID=4674;POINT (-39.024782 -3.385793)'))) / (select extract(epoch from '2026-07-22 19:49:22'::timestamp) - extract(epoch from '2026-07-22 19:49: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'), 47445, 'SRID=4674;POINT (-39.024823 -3.385926)', '2026-07-22 19:49:28', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024782 -3.385793)'), GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.385926)'))) / (select extract(epoch from '2026-07-22 19:49:28'::timestamp) - extract(epoch from '2026-07-22 19:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024782 -3.385793)'), GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.385926)'))) / (select extract(epoch from '2026-07-22 19:49:28'::timestamp) - extract(epoch from '2026-07-22 19:49: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'), 47445, 'SRID=4674;POINT (-39.024863 -3.386039)', '2026-07-22 19:49:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.385926)'), GeomFromEWKT('SRID=4674;POINT (-39.024863 -3.386039)'))) / (select extract(epoch from '2026-07-22 19:49:33'::timestamp) - extract(epoch from '2026-07-22 19:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024823 -3.385926)'), GeomFromEWKT('SRID=4674;POINT (-39.024863 -3.386039)'))) / (select extract(epoch from '2026-07-22 19:49:33'::timestamp) - extract(epoch from '2026-07-22 19: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'), 47445, 'SRID=4674;POINT (-39.024901 -3.3862)', '2026-07-22 19:49:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024863 -3.386039)'), GeomFromEWKT('SRID=4674;POINT (-39.024901 -3.3862)'))) / (select extract(epoch from '2026-07-22 19:49:40'::timestamp) - extract(epoch from '2026-07-22 19:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024863 -3.386039)'), GeomFromEWKT('SRID=4674;POINT (-39.024901 -3.3862)'))) / (select extract(epoch from '2026-07-22 19:49:40'::timestamp) - extract(epoch from '2026-07-22 19:49: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'), 47445, 'SRID=4674;POINT (-39.02495 -3.386359)', '2026-07-22 19:49:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024901 -3.3862)'), GeomFromEWKT('SRID=4674;POINT (-39.02495 -3.386359)'))) / (select extract(epoch from '2026-07-22 19:49:47'::timestamp) - extract(epoch from '2026-07-22 19:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024901 -3.3862)'), GeomFromEWKT('SRID=4674;POINT (-39.02495 -3.386359)'))) / (select extract(epoch from '2026-07-22 19:49:47'::timestamp) - extract(epoch from '2026-07-22 19:49:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02501 -3.386516)', '2026-07-22 19:49:54', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02495 -3.386359)'), GeomFromEWKT('SRID=4674;POINT (-39.02501 -3.386516)'))) / (select extract(epoch from '2026-07-22 19:49:54'::timestamp) - extract(epoch from '2026-07-22 19:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02495 -3.386359)'), GeomFromEWKT('SRID=4674;POINT (-39.02501 -3.386516)'))) / (select extract(epoch from '2026-07-22 19:49:54'::timestamp) - extract(epoch from '2026-07-22 19:49: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'), 47445, 'SRID=4674;POINT (-39.025064 -3.38665)', '2026-07-22 19:50:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02501 -3.386516)'), GeomFromEWKT('SRID=4674;POINT (-39.025064 -3.38665)'))) / (select extract(epoch from '2026-07-22 19:50:00'::timestamp) - extract(epoch from '2026-07-22 19:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02501 -3.386516)'), GeomFromEWKT('SRID=4674;POINT (-39.025064 -3.38665)'))) / (select extract(epoch from '2026-07-22 19:50:00'::timestamp) - extract(epoch from '2026-07-22 19:49: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'), 47445, 'SRID=4674;POINT (-39.025114 -3.386802)', '2026-07-22 19:50:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025064 -3.38665)'), GeomFromEWKT('SRID=4674;POINT (-39.025114 -3.386802)'))) / (select extract(epoch from '2026-07-22 19:50:07'::timestamp) - extract(epoch from '2026-07-22 19:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025064 -3.38665)'), GeomFromEWKT('SRID=4674;POINT (-39.025114 -3.386802)'))) / (select extract(epoch from '2026-07-22 19:50:07'::timestamp) - extract(epoch from '2026-07-22 19:50: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'), 47445, 'SRID=4674;POINT (-39.02515 -3.386964)', '2026-07-22 19:50:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025114 -3.386802)'), GeomFromEWKT('SRID=4674;POINT (-39.02515 -3.386964)'))) / (select extract(epoch from '2026-07-22 19:50:14'::timestamp) - extract(epoch from '2026-07-22 19:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025114 -3.386802)'), GeomFromEWKT('SRID=4674;POINT (-39.02515 -3.386964)'))) / (select extract(epoch from '2026-07-22 19:50:14'::timestamp) - extract(epoch from '2026-07-22 19:50: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'), 47445, 'SRID=4674;POINT (-39.025186 -3.387115)', '2026-07-22 19:50:21', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02515 -3.386964)'), GeomFromEWKT('SRID=4674;POINT (-39.025186 -3.387115)'))) / (select extract(epoch from '2026-07-22 19:50:21'::timestamp) - extract(epoch from '2026-07-22 19:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02515 -3.386964)'), GeomFromEWKT('SRID=4674;POINT (-39.025186 -3.387115)'))) / (select extract(epoch from '2026-07-22 19:50:21'::timestamp) - extract(epoch from '2026-07-22 19:50: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'), 47445, 'SRID=4674;POINT (-39.025232 -3.387279)', '2026-07-22 19:50:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025186 -3.387115)'), GeomFromEWKT('SRID=4674;POINT (-39.025232 -3.387279)'))) / (select extract(epoch from '2026-07-22 19:50:28'::timestamp) - extract(epoch from '2026-07-22 19:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025186 -3.387115)'), GeomFromEWKT('SRID=4674;POINT (-39.025232 -3.387279)'))) / (select extract(epoch from '2026-07-22 19:50:28'::timestamp) - extract(epoch from '2026-07-22 19:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025278 -3.387413)', '2026-07-22 19:50:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025232 -3.387279)'), GeomFromEWKT('SRID=4674;POINT (-39.025278 -3.387413)'))) / (select extract(epoch from '2026-07-22 19:50:34'::timestamp) - extract(epoch from '2026-07-22 19:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025232 -3.387279)'), GeomFromEWKT('SRID=4674;POINT (-39.025278 -3.387413)'))) / (select extract(epoch from '2026-07-22 19:50:34'::timestamp) - extract(epoch from '2026-07-22 19:50: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'), 47445, 'SRID=4674;POINT (-39.025328 -3.387529)', '2026-07-22 19:50:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025278 -3.387413)'), GeomFromEWKT('SRID=4674;POINT (-39.025328 -3.387529)'))) / (select extract(epoch from '2026-07-22 19:50:39'::timestamp) - extract(epoch from '2026-07-22 19:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025278 -3.387413)'), GeomFromEWKT('SRID=4674;POINT (-39.025328 -3.387529)'))) / (select extract(epoch from '2026-07-22 19:50:39'::timestamp) - extract(epoch from '2026-07-22 19:50: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'), 47445, 'SRID=4674;POINT (-39.025388 -3.387636)', '2026-07-22 19:50:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025328 -3.387529)'), GeomFromEWKT('SRID=4674;POINT (-39.025388 -3.387636)'))) / (select extract(epoch from '2026-07-22 19:50:44'::timestamp) - extract(epoch from '2026-07-22 19:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025328 -3.387529)'), GeomFromEWKT('SRID=4674;POINT (-39.025388 -3.387636)'))) / (select extract(epoch from '2026-07-22 19:50:44'::timestamp) - extract(epoch from '2026-07-22 19:50: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'), 47445, 'SRID=4674;POINT (-39.025446 -3.38779)', '2026-07-22 19:50:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025388 -3.387636)'), GeomFromEWKT('SRID=4674;POINT (-39.025446 -3.38779)'))) / (select extract(epoch from '2026-07-22 19:50:51'::timestamp) - extract(epoch from '2026-07-22 19:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025388 -3.387636)'), GeomFromEWKT('SRID=4674;POINT (-39.025446 -3.38779)'))) / (select extract(epoch from '2026-07-22 19:50:51'::timestamp) - extract(epoch from '2026-07-22 19:50: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'), 47445, 'SRID=4674;POINT (-39.025482 -3.387923)', '2026-07-22 19:50:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025446 -3.38779)'), GeomFromEWKT('SRID=4674;POINT (-39.025482 -3.387923)'))) / (select extract(epoch from '2026-07-22 19:50:57'::timestamp) - extract(epoch from '2026-07-22 19:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025446 -3.38779)'), GeomFromEWKT('SRID=4674;POINT (-39.025482 -3.387923)'))) / (select extract(epoch from '2026-07-22 19:50:57'::timestamp) - extract(epoch from '2026-07-22 19:50: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'), 47445, 'SRID=4674;POINT (-39.025533 -3.388082)', '2026-07-22 19:51:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025482 -3.387923)'), GeomFromEWKT('SRID=4674;POINT (-39.025533 -3.388082)'))) / (select extract(epoch from '2026-07-22 19:51:04'::timestamp) - extract(epoch from '2026-07-22 19:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025482 -3.387923)'), GeomFromEWKT('SRID=4674;POINT (-39.025533 -3.388082)'))) / (select extract(epoch from '2026-07-22 19:51:04'::timestamp) - extract(epoch from '2026-07-22 19:50:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025575 -3.388235)', '2026-07-22 19:51:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025533 -3.388082)'), GeomFromEWKT('SRID=4674;POINT (-39.025575 -3.388235)'))) / (select extract(epoch from '2026-07-22 19:51:11'::timestamp) - extract(epoch from '2026-07-22 19:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025533 -3.388082)'), GeomFromEWKT('SRID=4674;POINT (-39.025575 -3.388235)'))) / (select extract(epoch from '2026-07-22 19:51:11'::timestamp) - extract(epoch from '2026-07-22 19:51: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'), 47445, 'SRID=4674;POINT (-39.025614 -3.388396)', '2026-07-22 19:51:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025575 -3.388235)'), GeomFromEWKT('SRID=4674;POINT (-39.025614 -3.388396)'))) / (select extract(epoch from '2026-07-22 19:51:18'::timestamp) - extract(epoch from '2026-07-22 19:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025575 -3.388235)'), GeomFromEWKT('SRID=4674;POINT (-39.025614 -3.388396)'))) / (select extract(epoch from '2026-07-22 19:51:18'::timestamp) - extract(epoch from '2026-07-22 19:51: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'), 47445, 'SRID=4674;POINT (-39.025645 -3.388509)', '2026-07-22 19:51:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025614 -3.388396)'), GeomFromEWKT('SRID=4674;POINT (-39.025645 -3.388509)'))) / (select extract(epoch from '2026-07-22 19:51:23'::timestamp) - extract(epoch from '2026-07-22 19:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025614 -3.388396)'), GeomFromEWKT('SRID=4674;POINT (-39.025645 -3.388509)'))) / (select extract(epoch from '2026-07-22 19:51:23'::timestamp) - extract(epoch from '2026-07-22 19:51: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'), 47445, 'SRID=4674;POINT (-39.025684 -3.388639)', '2026-07-22 19:51:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025645 -3.388509)'), GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.388639)'))) / (select extract(epoch from '2026-07-22 19:51:29'::timestamp) - extract(epoch from '2026-07-22 19:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025645 -3.388509)'), GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.388639)'))) / (select extract(epoch from '2026-07-22 19:51:29'::timestamp) - extract(epoch from '2026-07-22 19:51: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'), 47445, 'SRID=4674;POINT (-39.025722 -3.388736)', '2026-07-22 19:51:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.388639)'), GeomFromEWKT('SRID=4674;POINT (-39.025722 -3.388736)'))) / (select extract(epoch from '2026-07-22 19:51:33'::timestamp) - extract(epoch from '2026-07-22 19:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025684 -3.388639)'), GeomFromEWKT('SRID=4674;POINT (-39.025722 -3.388736)'))) / (select extract(epoch from '2026-07-22 19:51:33'::timestamp) - extract(epoch from '2026-07-22 19:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025748 -3.388844)', '2026-07-22 19:51:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025722 -3.388736)'), GeomFromEWKT('SRID=4674;POINT (-39.025748 -3.388844)'))) / (select extract(epoch from '2026-07-22 19:51:38'::timestamp) - extract(epoch from '2026-07-22 19:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025722 -3.388736)'), GeomFromEWKT('SRID=4674;POINT (-39.025748 -3.388844)'))) / (select extract(epoch from '2026-07-22 19:51:38'::timestamp) - extract(epoch from '2026-07-22 19:51: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'), 47445, 'SRID=4674;POINT (-39.02579 -3.388977)', '2026-07-22 19:51:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025748 -3.388844)'), GeomFromEWKT('SRID=4674;POINT (-39.02579 -3.388977)'))) / (select extract(epoch from '2026-07-22 19:51:44'::timestamp) - extract(epoch from '2026-07-22 19:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025748 -3.388844)'), GeomFromEWKT('SRID=4674;POINT (-39.02579 -3.388977)'))) / (select extract(epoch from '2026-07-22 19:51:44'::timestamp) - extract(epoch from '2026-07-22 19:51: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'), 47445, 'SRID=4674;POINT (-39.02583 -3.38911)', '2026-07-22 19:51:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02579 -3.388977)'), GeomFromEWKT('SRID=4674;POINT (-39.02583 -3.38911)'))) / (select extract(epoch from '2026-07-22 19:51:50'::timestamp) - extract(epoch from '2026-07-22 19:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02579 -3.388977)'), GeomFromEWKT('SRID=4674;POINT (-39.02583 -3.38911)'))) / (select extract(epoch from '2026-07-22 19:51:50'::timestamp) - extract(epoch from '2026-07-22 19:51: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'), 47445, 'SRID=4674;POINT (-39.025869 -3.389247)', '2026-07-22 19:51:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02583 -3.38911)'), GeomFromEWKT('SRID=4674;POINT (-39.025869 -3.389247)'))) / (select extract(epoch from '2026-07-22 19:51:56'::timestamp) - extract(epoch from '2026-07-22 19:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02583 -3.38911)'), GeomFromEWKT('SRID=4674;POINT (-39.025869 -3.389247)'))) / (select extract(epoch from '2026-07-22 19:51:56'::timestamp) - extract(epoch from '2026-07-22 19:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025909 -3.389382)', '2026-07-22 19:52:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025869 -3.389247)'), GeomFromEWKT('SRID=4674;POINT (-39.025909 -3.389382)'))) / (select extract(epoch from '2026-07-22 19:52:02'::timestamp) - extract(epoch from '2026-07-22 19:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025869 -3.389247)'), GeomFromEWKT('SRID=4674;POINT (-39.025909 -3.389382)'))) / (select extract(epoch from '2026-07-22 19:52:02'::timestamp) - extract(epoch from '2026-07-22 19:51: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'), 47445, 'SRID=4674;POINT (-39.025954 -3.389536)', '2026-07-22 19:52:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025909 -3.389382)'), GeomFromEWKT('SRID=4674;POINT (-39.025954 -3.389536)'))) / (select extract(epoch from '2026-07-22 19:52:09'::timestamp) - extract(epoch from '2026-07-22 19:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025909 -3.389382)'), GeomFromEWKT('SRID=4674;POINT (-39.025954 -3.389536)'))) / (select extract(epoch from '2026-07-22 19:52:09'::timestamp) - extract(epoch from '2026-07-22 19:52: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'), 47445, 'SRID=4674;POINT (-39.025986 -3.389674)', '2026-07-22 19:52:15', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025954 -3.389536)'), GeomFromEWKT('SRID=4674;POINT (-39.025986 -3.389674)'))) / (select extract(epoch from '2026-07-22 19:52:15'::timestamp) - extract(epoch from '2026-07-22 19:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025954 -3.389536)'), GeomFromEWKT('SRID=4674;POINT (-39.025986 -3.389674)'))) / (select extract(epoch from '2026-07-22 19:52:15'::timestamp) - extract(epoch from '2026-07-22 19:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02602 -3.389852)', '2026-07-22 19:52:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025986 -3.389674)'), GeomFromEWKT('SRID=4674;POINT (-39.02602 -3.389852)'))) / (select extract(epoch from '2026-07-22 19:52:23'::timestamp) - extract(epoch from '2026-07-22 19:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025986 -3.389674)'), GeomFromEWKT('SRID=4674;POINT (-39.02602 -3.389852)'))) / (select extract(epoch from '2026-07-22 19:52:23'::timestamp) - extract(epoch from '2026-07-22 19:52: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'), 47445, 'SRID=4674;POINT (-39.026047 -3.389966)', '2026-07-22 19:52:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02602 -3.389852)'), GeomFromEWKT('SRID=4674;POINT (-39.026047 -3.389966)'))) / (select extract(epoch from '2026-07-22 19:52:28'::timestamp) - extract(epoch from '2026-07-22 19:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02602 -3.389852)'), GeomFromEWKT('SRID=4674;POINT (-39.026047 -3.389966)'))) / (select extract(epoch from '2026-07-22 19:52:28'::timestamp) - extract(epoch from '2026-07-22 19:52:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02605 -3.389988)', '2026-07-22 19:52:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026047 -3.389966)'), GeomFromEWKT('SRID=4674;POINT (-39.02605 -3.389988)'))) / (select extract(epoch from '2026-07-22 19:52:29'::timestamp) - extract(epoch from '2026-07-22 19:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026047 -3.389966)'), GeomFromEWKT('SRID=4674;POINT (-39.02605 -3.389988)'))) / (select extract(epoch from '2026-07-22 19:52:29'::timestamp) - extract(epoch from '2026-07-22 19:52: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'), 47445, 'SRID=4674;POINT (-39.026098 -3.390058)', '2026-07-22 19:52:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02605 -3.389988)'), GeomFromEWKT('SRID=4674;POINT (-39.026098 -3.390058)'))) / (select extract(epoch from '2026-07-22 19:52:32'::timestamp) - extract(epoch from '2026-07-22 19:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02605 -3.389988)'), GeomFromEWKT('SRID=4674;POINT (-39.026098 -3.390058)'))) / (select extract(epoch from '2026-07-22 19:52:32'::timestamp) - extract(epoch from '2026-07-22 19:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026116 -3.390117)', '2026-07-22 19:52:35', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026098 -3.390058)'), GeomFromEWKT('SRID=4674;POINT (-39.026116 -3.390117)'))) / (select extract(epoch from '2026-07-22 19:52:35'::timestamp) - extract(epoch from '2026-07-22 19:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026098 -3.390058)'), GeomFromEWKT('SRID=4674;POINT (-39.026116 -3.390117)'))) / (select extract(epoch from '2026-07-22 19:52:35'::timestamp) - extract(epoch from '2026-07-22 19:52: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'), 47445, 'SRID=4674;POINT (-39.026127 -3.390138)', '2026-07-22 19:52:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026116 -3.390117)'), GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.390138)'))) / (select extract(epoch from '2026-07-22 19:52:36'::timestamp) - extract(epoch from '2026-07-22 19:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026116 -3.390117)'), GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.390138)'))) / (select extract(epoch from '2026-07-22 19:52:36'::timestamp) - extract(epoch from '2026-07-22 19:52: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'), 47445, 'SRID=4674;POINT (-39.026188 -3.390289)', '2026-07-22 19:52:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.390138)'), GeomFromEWKT('SRID=4674;POINT (-39.026188 -3.390289)'))) / (select extract(epoch from '2026-07-22 19:52:43'::timestamp) - extract(epoch from '2026-07-22 19:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026127 -3.390138)'), GeomFromEWKT('SRID=4674;POINT (-39.026188 -3.390289)'))) / (select extract(epoch from '2026-07-22 19:52:43'::timestamp) - extract(epoch from '2026-07-22 19:52: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'), 47445, 'SRID=4674;POINT (-39.026246 -3.390394)', '2026-07-22 19:52:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026188 -3.390289)'), GeomFromEWKT('SRID=4674;POINT (-39.026246 -3.390394)'))) / (select extract(epoch from '2026-07-22 19:52:48'::timestamp) - extract(epoch from '2026-07-22 19:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026188 -3.390289)'), GeomFromEWKT('SRID=4674;POINT (-39.026246 -3.390394)'))) / (select extract(epoch from '2026-07-22 19:52:48'::timestamp) - extract(epoch from '2026-07-22 19:52: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'), 47445, 'SRID=4674;POINT (-39.026278 -3.390475)', '2026-07-22 19:52:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026246 -3.390394)'), GeomFromEWKT('SRID=4674;POINT (-39.026278 -3.390475)'))) / (select extract(epoch from '2026-07-22 19:52:52'::timestamp) - extract(epoch from '2026-07-22 19:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026246 -3.390394)'), GeomFromEWKT('SRID=4674;POINT (-39.026278 -3.390475)'))) / (select extract(epoch from '2026-07-22 19:52:52'::timestamp) - extract(epoch from '2026-07-22 19:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026333 -3.390576)', '2026-07-22 19:52:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026278 -3.390475)'), GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.390576)'))) / (select extract(epoch from '2026-07-22 19:52:57'::timestamp) - extract(epoch from '2026-07-22 19:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026278 -3.390475)'), GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.390576)'))) / (select extract(epoch from '2026-07-22 19:52:57'::timestamp) - extract(epoch from '2026-07-22 19:52: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'), 47445, 'SRID=4674;POINT (-39.026376 -3.39071)', '2026-07-22 19:53:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.390576)'), GeomFromEWKT('SRID=4674;POINT (-39.026376 -3.39071)'))) / (select extract(epoch from '2026-07-22 19:53:03'::timestamp) - extract(epoch from '2026-07-22 19:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026333 -3.390576)'), GeomFromEWKT('SRID=4674;POINT (-39.026376 -3.39071)'))) / (select extract(epoch from '2026-07-22 19:53:03'::timestamp) - extract(epoch from '2026-07-22 19:52: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'), 47445, 'SRID=4674;POINT (-39.026405 -3.390847)', '2026-07-22 19:53:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026376 -3.39071)'), GeomFromEWKT('SRID=4674;POINT (-39.026405 -3.390847)'))) / (select extract(epoch from '2026-07-22 19:53:09'::timestamp) - extract(epoch from '2026-07-22 19:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026376 -3.39071)'), GeomFromEWKT('SRID=4674;POINT (-39.026405 -3.390847)'))) / (select extract(epoch from '2026-07-22 19:53:09'::timestamp) - extract(epoch from '2026-07-22 19:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026434 -3.390958)', '2026-07-22 19:53:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026405 -3.390847)'), GeomFromEWKT('SRID=4674;POINT (-39.026434 -3.390958)'))) / (select extract(epoch from '2026-07-22 19:53:14'::timestamp) - extract(epoch from '2026-07-22 19:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026405 -3.390847)'), GeomFromEWKT('SRID=4674;POINT (-39.026434 -3.390958)'))) / (select extract(epoch from '2026-07-22 19:53:14'::timestamp) - extract(epoch from '2026-07-22 19:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026487 -3.391086)', '2026-07-22 19:53:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026434 -3.390958)'), GeomFromEWKT('SRID=4674;POINT (-39.026487 -3.391086)'))) / (select extract(epoch from '2026-07-22 19:53:20'::timestamp) - extract(epoch from '2026-07-22 19:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026434 -3.390958)'), GeomFromEWKT('SRID=4674;POINT (-39.026487 -3.391086)'))) / (select extract(epoch from '2026-07-22 19:53:20'::timestamp) - extract(epoch from '2026-07-22 19:53: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'), 47445, 'SRID=4674;POINT (-39.026547 -3.391271)', '2026-07-22 19:53:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026487 -3.391086)'), GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.391271)'))) / (select extract(epoch from '2026-07-22 19:53:28'::timestamp) - extract(epoch from '2026-07-22 19:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026487 -3.391086)'), GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.391271)'))) / (select extract(epoch from '2026-07-22 19:53:28'::timestamp) - extract(epoch from '2026-07-22 19:53: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'), 47445, 'SRID=4674;POINT (-39.026587 -3.391404)', '2026-07-22 19:53:34', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.391271)'), GeomFromEWKT('SRID=4674;POINT (-39.026587 -3.391404)'))) / (select extract(epoch from '2026-07-22 19:53:34'::timestamp) - extract(epoch from '2026-07-22 19:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026547 -3.391271)'), GeomFromEWKT('SRID=4674;POINT (-39.026587 -3.391404)'))) / (select extract(epoch from '2026-07-22 19:53:34'::timestamp) - extract(epoch from '2026-07-22 19:53:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026616 -3.391561)', '2026-07-22 19:53:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026587 -3.391404)'), GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.391561)'))) / (select extract(epoch from '2026-07-22 19:53:41'::timestamp) - extract(epoch from '2026-07-22 19:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026587 -3.391404)'), GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.391561)'))) / (select extract(epoch from '2026-07-22 19:53:41'::timestamp) - extract(epoch from '2026-07-22 19:53:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026655 -3.3917)', '2026-07-22 19:53:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.391561)'), GeomFromEWKT('SRID=4674;POINT (-39.026655 -3.3917)'))) / (select extract(epoch from '2026-07-22 19:53:47'::timestamp) - extract(epoch from '2026-07-22 19:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026616 -3.391561)'), GeomFromEWKT('SRID=4674;POINT (-39.026655 -3.3917)'))) / (select extract(epoch from '2026-07-22 19:53:47'::timestamp) - extract(epoch from '2026-07-22 19:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026702 -3.391833)', '2026-07-22 19:53:53', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026655 -3.3917)'), GeomFromEWKT('SRID=4674;POINT (-39.026702 -3.391833)'))) / (select extract(epoch from '2026-07-22 19:53:53'::timestamp) - extract(epoch from '2026-07-22 19:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026655 -3.3917)'), GeomFromEWKT('SRID=4674;POINT (-39.026702 -3.391833)'))) / (select extract(epoch from '2026-07-22 19:53:53'::timestamp) - extract(epoch from '2026-07-22 19:53: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'), 47445, 'SRID=4674;POINT (-39.026735 -3.391944)', '2026-07-22 19:53:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026702 -3.391833)'), GeomFromEWKT('SRID=4674;POINT (-39.026735 -3.391944)'))) / (select extract(epoch from '2026-07-22 19:53:58'::timestamp) - extract(epoch from '2026-07-22 19:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026702 -3.391833)'), GeomFromEWKT('SRID=4674;POINT (-39.026735 -3.391944)'))) / (select extract(epoch from '2026-07-22 19:53:58'::timestamp) - extract(epoch from '2026-07-22 19:53: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'), 47445, 'SRID=4674;POINT (-39.026768 -3.392082)', '2026-07-22 19:54:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026735 -3.391944)'), GeomFromEWKT('SRID=4674;POINT (-39.026768 -3.392082)'))) / (select extract(epoch from '2026-07-22 19:54:04'::timestamp) - extract(epoch from '2026-07-22 19:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026735 -3.391944)'), GeomFromEWKT('SRID=4674;POINT (-39.026768 -3.392082)'))) / (select extract(epoch from '2026-07-22 19:54:04'::timestamp) - extract(epoch from '2026-07-22 19:53: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'), 47445, 'SRID=4674;POINT (-39.026803 -3.392219)', '2026-07-22 19:54:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026768 -3.392082)'), GeomFromEWKT('SRID=4674;POINT (-39.026803 -3.392219)'))) / (select extract(epoch from '2026-07-22 19:54:10'::timestamp) - extract(epoch from '2026-07-22 19:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026768 -3.392082)'), GeomFromEWKT('SRID=4674;POINT (-39.026803 -3.392219)'))) / (select extract(epoch from '2026-07-22 19:54:10'::timestamp) - extract(epoch from '2026-07-22 19:54: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'), 47445, 'SRID=4674;POINT (-39.02684 -3.392353)', '2026-07-22 19:54:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026803 -3.392219)'), GeomFromEWKT('SRID=4674;POINT (-39.02684 -3.392353)'))) / (select extract(epoch from '2026-07-22 19:54:16'::timestamp) - extract(epoch from '2026-07-22 19:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026803 -3.392219)'), GeomFromEWKT('SRID=4674;POINT (-39.02684 -3.392353)'))) / (select extract(epoch from '2026-07-22 19:54:16'::timestamp) - extract(epoch from '2026-07-22 19:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026867 -3.392463)', '2026-07-22 19:54:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02684 -3.392353)'), GeomFromEWKT('SRID=4674;POINT (-39.026867 -3.392463)'))) / (select extract(epoch from '2026-07-22 19:54:21'::timestamp) - extract(epoch from '2026-07-22 19:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02684 -3.392353)'), GeomFromEWKT('SRID=4674;POINT (-39.026867 -3.392463)'))) / (select extract(epoch from '2026-07-22 19:54:21'::timestamp) - extract(epoch from '2026-07-22 19:54: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'), 47445, 'SRID=4674;POINT (-39.026909 -3.392602)', '2026-07-22 19:54:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026867 -3.392463)'), GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.392602)'))) / (select extract(epoch from '2026-07-22 19:54:27'::timestamp) - extract(epoch from '2026-07-22 19:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026867 -3.392463)'), GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.392602)'))) / (select extract(epoch from '2026-07-22 19:54:27'::timestamp) - extract(epoch from '2026-07-22 19:54: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'), 47445, 'SRID=4674;POINT (-39.026943 -3.392735)', '2026-07-22 19:54:33', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.392602)'), GeomFromEWKT('SRID=4674;POINT (-39.026943 -3.392735)'))) / (select extract(epoch from '2026-07-22 19:54:33'::timestamp) - extract(epoch from '2026-07-22 19:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.392602)'), GeomFromEWKT('SRID=4674;POINT (-39.026943 -3.392735)'))) / (select extract(epoch from '2026-07-22 19:54:33'::timestamp) - extract(epoch from '2026-07-22 19:54: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'), 47445, 'SRID=4674;POINT (-39.027003 -3.392937)', '2026-07-22 19:54:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026943 -3.392735)'), GeomFromEWKT('SRID=4674;POINT (-39.027003 -3.392937)'))) / (select extract(epoch from '2026-07-22 19:54:42'::timestamp) - extract(epoch from '2026-07-22 19:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026943 -3.392735)'), GeomFromEWKT('SRID=4674;POINT (-39.027003 -3.392937)'))) / (select extract(epoch from '2026-07-22 19:54:42'::timestamp) - extract(epoch from '2026-07-22 19:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027038 -3.393072)', '2026-07-22 19:54:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027003 -3.392937)'), GeomFromEWKT('SRID=4674;POINT (-39.027038 -3.393072)'))) / (select extract(epoch from '2026-07-22 19:54:48'::timestamp) - extract(epoch from '2026-07-22 19:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027003 -3.392937)'), GeomFromEWKT('SRID=4674;POINT (-39.027038 -3.393072)'))) / (select extract(epoch from '2026-07-22 19:54:48'::timestamp) - extract(epoch from '2026-07-22 19:54: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'), 47445, 'SRID=4674;POINT (-39.027077 -3.393183)', '2026-07-22 19:54:53', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027038 -3.393072)'), GeomFromEWKT('SRID=4674;POINT (-39.027077 -3.393183)'))) / (select extract(epoch from '2026-07-22 19:54:53'::timestamp) - extract(epoch from '2026-07-22 19:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027038 -3.393072)'), GeomFromEWKT('SRID=4674;POINT (-39.027077 -3.393183)'))) / (select extract(epoch from '2026-07-22 19:54:53'::timestamp) - extract(epoch from '2026-07-22 19:54: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'), 47445, 'SRID=4674;POINT (-39.027115 -3.393323)', '2026-07-22 19:54:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027077 -3.393183)'), GeomFromEWKT('SRID=4674;POINT (-39.027115 -3.393323)'))) / (select extract(epoch from '2026-07-22 19:54:59'::timestamp) - extract(epoch from '2026-07-22 19:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027077 -3.393183)'), GeomFromEWKT('SRID=4674;POINT (-39.027115 -3.393323)'))) / (select extract(epoch from '2026-07-22 19:54:59'::timestamp) - extract(epoch from '2026-07-22 19:54:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027145 -3.393481)', '2026-07-22 19:55:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027115 -3.393323)'), GeomFromEWKT('SRID=4674;POINT (-39.027145 -3.393481)'))) / (select extract(epoch from '2026-07-22 19:55:06'::timestamp) - extract(epoch from '2026-07-22 19:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027115 -3.393323)'), GeomFromEWKT('SRID=4674;POINT (-39.027145 -3.393481)'))) / (select extract(epoch from '2026-07-22 19:55:06'::timestamp) - extract(epoch from '2026-07-22 19:54: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'), 47445, 'SRID=4674;POINT (-39.027173 -3.393646)', '2026-07-22 19:55:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027145 -3.393481)'), GeomFromEWKT('SRID=4674;POINT (-39.027173 -3.393646)'))) / (select extract(epoch from '2026-07-22 19:55:13'::timestamp) - extract(epoch from '2026-07-22 19:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027145 -3.393481)'), GeomFromEWKT('SRID=4674;POINT (-39.027173 -3.393646)'))) / (select extract(epoch from '2026-07-22 19:55:13'::timestamp) - extract(epoch from '2026-07-22 19:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027206 -3.3938)', '2026-07-22 19:55:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027173 -3.393646)'), GeomFromEWKT('SRID=4674;POINT (-39.027206 -3.3938)'))) / (select extract(epoch from '2026-07-22 19:55:20'::timestamp) - extract(epoch from '2026-07-22 19:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027173 -3.393646)'), GeomFromEWKT('SRID=4674;POINT (-39.027206 -3.3938)'))) / (select extract(epoch from '2026-07-22 19:55:20'::timestamp) - extract(epoch from '2026-07-22 19:55: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'), 47445, 'SRID=4674;POINT (-39.02723 -3.393941)', '2026-07-22 19:55:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027206 -3.3938)'), GeomFromEWKT('SRID=4674;POINT (-39.02723 -3.393941)'))) / (select extract(epoch from '2026-07-22 19:55:26'::timestamp) - extract(epoch from '2026-07-22 19:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027206 -3.3938)'), GeomFromEWKT('SRID=4674;POINT (-39.02723 -3.393941)'))) / (select extract(epoch from '2026-07-22 19:55:26'::timestamp) - extract(epoch from '2026-07-22 19:55: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'), 47445, 'SRID=4674;POINT (-39.027257 -3.394066)', '2026-07-22 19:55:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02723 -3.393941)'), GeomFromEWKT('SRID=4674;POINT (-39.027257 -3.394066)'))) / (select extract(epoch from '2026-07-22 19:55:32'::timestamp) - extract(epoch from '2026-07-22 19:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02723 -3.393941)'), GeomFromEWKT('SRID=4674;POINT (-39.027257 -3.394066)'))) / (select extract(epoch from '2026-07-22 19:55:32'::timestamp) - extract(epoch from '2026-07-22 19:55: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'), 47445, 'SRID=4674;POINT (-39.027299 -3.394186)', '2026-07-22 19:55:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027257 -3.394066)'), GeomFromEWKT('SRID=4674;POINT (-39.027299 -3.394186)'))) / (select extract(epoch from '2026-07-22 19:55:37'::timestamp) - extract(epoch from '2026-07-22 19:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027257 -3.394066)'), GeomFromEWKT('SRID=4674;POINT (-39.027299 -3.394186)'))) / (select extract(epoch from '2026-07-22 19:55:37'::timestamp) - extract(epoch from '2026-07-22 19:55: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'), 47445, 'SRID=4674;POINT (-39.027346 -3.394364)', '2026-07-22 19:55:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027299 -3.394186)'), GeomFromEWKT('SRID=4674;POINT (-39.027346 -3.394364)'))) / (select extract(epoch from '2026-07-22 19:55:45'::timestamp) - extract(epoch from '2026-07-22 19:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027299 -3.394186)'), GeomFromEWKT('SRID=4674;POINT (-39.027346 -3.394364)'))) / (select extract(epoch from '2026-07-22 19:55:45'::timestamp) - extract(epoch from '2026-07-22 19:55: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'), 47445, 'SRID=4674;POINT (-39.027387 -3.394502)', '2026-07-22 19:55:51', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027346 -3.394364)'), GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.394502)'))) / (select extract(epoch from '2026-07-22 19:55:51'::timestamp) - extract(epoch from '2026-07-22 19:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027346 -3.394364)'), GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.394502)'))) / (select extract(epoch from '2026-07-22 19:55:51'::timestamp) - extract(epoch from '2026-07-22 19:55: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'), 47445, 'SRID=4674;POINT (-39.027427 -3.394602)', '2026-07-22 19:55:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.394502)'), GeomFromEWKT('SRID=4674;POINT (-39.027427 -3.394602)'))) / (select extract(epoch from '2026-07-22 19:55:55'::timestamp) - extract(epoch from '2026-07-22 19:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.394502)'), GeomFromEWKT('SRID=4674;POINT (-39.027427 -3.394602)'))) / (select extract(epoch from '2026-07-22 19:55:55'::timestamp) - extract(epoch from '2026-07-22 19:55: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'), 47445, 'SRID=4674;POINT (-39.027458 -3.394713)', '2026-07-22 19:56:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027427 -3.394602)'), GeomFromEWKT('SRID=4674;POINT (-39.027458 -3.394713)'))) / (select extract(epoch from '2026-07-22 19:56:00'::timestamp) - extract(epoch from '2026-07-22 19:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027427 -3.394602)'), GeomFromEWKT('SRID=4674;POINT (-39.027458 -3.394713)'))) / (select extract(epoch from '2026-07-22 19:56:00'::timestamp) - extract(epoch from '2026-07-22 19:55: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'), 47445, 'SRID=4674;POINT (-39.027474 -3.394821)', '2026-07-22 19:56:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027458 -3.394713)'), GeomFromEWKT('SRID=4674;POINT (-39.027474 -3.394821)'))) / (select extract(epoch from '2026-07-22 19:56:05'::timestamp) - extract(epoch from '2026-07-22 19:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027458 -3.394713)'), GeomFromEWKT('SRID=4674;POINT (-39.027474 -3.394821)'))) / (select extract(epoch from '2026-07-22 19:56:05'::timestamp) - extract(epoch from '2026-07-22 19:56:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027515 -3.395005)', '2026-07-22 19:56:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027474 -3.394821)'), GeomFromEWKT('SRID=4674;POINT (-39.027515 -3.395005)'))) / (select extract(epoch from '2026-07-22 19:56:13'::timestamp) - extract(epoch from '2026-07-22 19:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027474 -3.394821)'), GeomFromEWKT('SRID=4674;POINT (-39.027515 -3.395005)'))) / (select extract(epoch from '2026-07-22 19:56:13'::timestamp) - extract(epoch from '2026-07-22 19:56: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'), 47445, 'SRID=4674;POINT (-39.027535 -3.395144)', '2026-07-22 19:56:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027515 -3.395005)'), GeomFromEWKT('SRID=4674;POINT (-39.027535 -3.395144)'))) / (select extract(epoch from '2026-07-22 19:56:19'::timestamp) - extract(epoch from '2026-07-22 19:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027515 -3.395005)'), GeomFromEWKT('SRID=4674;POINT (-39.027535 -3.395144)'))) / (select extract(epoch from '2026-07-22 19:56:19'::timestamp) - extract(epoch from '2026-07-22 19:56: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'), 47445, 'SRID=4674;POINT (-39.027567 -3.395283)', '2026-07-22 19:56:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027535 -3.395144)'), GeomFromEWKT('SRID=4674;POINT (-39.027567 -3.395283)'))) / (select extract(epoch from '2026-07-22 19:56:25'::timestamp) - extract(epoch from '2026-07-22 19:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027535 -3.395144)'), GeomFromEWKT('SRID=4674;POINT (-39.027567 -3.395283)'))) / (select extract(epoch from '2026-07-22 19:56:25'::timestamp) - extract(epoch from '2026-07-22 19:56:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.0276 -3.3954)', '2026-07-22 19:56:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027567 -3.395283)'), GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.3954)'))) / (select extract(epoch from '2026-07-22 19:56:30'::timestamp) - extract(epoch from '2026-07-22 19:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027567 -3.395283)'), GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.3954)'))) / (select extract(epoch from '2026-07-22 19:56:30'::timestamp) - extract(epoch from '2026-07-22 19:56: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'), 47445, 'SRID=4674;POINT (-39.027626 -3.395561)', '2026-07-22 19:56:37', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.3954)'), GeomFromEWKT('SRID=4674;POINT (-39.027626 -3.395561)'))) / (select extract(epoch from '2026-07-22 19:56:37'::timestamp) - extract(epoch from '2026-07-22 19:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0276 -3.3954)'), GeomFromEWKT('SRID=4674;POINT (-39.027626 -3.395561)'))) / (select extract(epoch from '2026-07-22 19:56:37'::timestamp) - extract(epoch from '2026-07-22 19:56: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'), 47445, 'SRID=4674;POINT (-39.027675 -3.395746)', '2026-07-22 19:56:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027626 -3.395561)'), GeomFromEWKT('SRID=4674;POINT (-39.027675 -3.395746)'))) / (select extract(epoch from '2026-07-22 19:56:45'::timestamp) - extract(epoch from '2026-07-22 19:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027626 -3.395561)'), GeomFromEWKT('SRID=4674;POINT (-39.027675 -3.395746)'))) / (select extract(epoch from '2026-07-22 19:56:45'::timestamp) - extract(epoch from '2026-07-22 19:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027742 -3.395901)', '2026-07-22 19:56:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027675 -3.395746)'), GeomFromEWKT('SRID=4674;POINT (-39.027742 -3.395901)'))) / (select extract(epoch from '2026-07-22 19:56:52'::timestamp) - extract(epoch from '2026-07-22 19:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027675 -3.395746)'), GeomFromEWKT('SRID=4674;POINT (-39.027742 -3.395901)'))) / (select extract(epoch from '2026-07-22 19:56:52'::timestamp) - extract(epoch from '2026-07-22 19:56: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'), 47445, 'SRID=4674;POINT (-39.027798 -3.396054)', '2026-07-22 19:56:59', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027742 -3.395901)'), GeomFromEWKT('SRID=4674;POINT (-39.027798 -3.396054)'))) / (select extract(epoch from '2026-07-22 19:56:59'::timestamp) - extract(epoch from '2026-07-22 19:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027742 -3.395901)'), GeomFromEWKT('SRID=4674;POINT (-39.027798 -3.396054)'))) / (select extract(epoch from '2026-07-22 19:56:59'::timestamp) - extract(epoch from '2026-07-22 19:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027862 -3.396208)', '2026-07-22 19:57:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027798 -3.396054)'), GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.396208)'))) / (select extract(epoch from '2026-07-22 19:57:06'::timestamp) - extract(epoch from '2026-07-22 19:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027798 -3.396054)'), GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.396208)'))) / (select extract(epoch from '2026-07-22 19:57:06'::timestamp) - extract(epoch from '2026-07-22 19:56: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'), 47445, 'SRID=4674;POINT (-39.027925 -3.396383)', '2026-07-22 19:57:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.396208)'), GeomFromEWKT('SRID=4674;POINT (-39.027925 -3.396383)'))) / (select extract(epoch from '2026-07-22 19:57:14'::timestamp) - extract(epoch from '2026-07-22 19:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027862 -3.396208)'), GeomFromEWKT('SRID=4674;POINT (-39.027925 -3.396383)'))) / (select extract(epoch from '2026-07-22 19:57:14'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47445, 'SRID=4674;POINT (-39.02797 -3.396542)', '2026-07-22 19:57:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027925 -3.396383)'), GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.396542)'))) / (select extract(epoch from '2026-07-22 19:57:21'::timestamp) - extract(epoch from '2026-07-22 19:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027925 -3.396383)'), GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.396542)'))) / (select extract(epoch from '2026-07-22 19:57:21'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47445, 'SRID=4674;POINT (-39.028014 -3.396674)', '2026-07-22 19:57:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.396542)'), GeomFromEWKT('SRID=4674;POINT (-39.028014 -3.396674)'))) / (select extract(epoch from '2026-07-22 19:57:27'::timestamp) - extract(epoch from '2026-07-22 19:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02797 -3.396542)'), GeomFromEWKT('SRID=4674;POINT (-39.028014 -3.396674)'))) / (select extract(epoch from '2026-07-22 19:57:27'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47445, 'SRID=4674;POINT (-39.028057 -3.396782)', '2026-07-22 19:57:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028014 -3.396674)'), GeomFromEWKT('SRID=4674;POINT (-39.028057 -3.396782)'))) / (select extract(epoch from '2026-07-22 19:57:32'::timestamp) - extract(epoch from '2026-07-22 19:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028014 -3.396674)'), GeomFromEWKT('SRID=4674;POINT (-39.028057 -3.396782)'))) / (select extract(epoch from '2026-07-22 19:57:32'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47445, 'SRID=4674;POINT (-39.028093 -3.39694)', '2026-07-22 19:57:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028057 -3.396782)'), GeomFromEWKT('SRID=4674;POINT (-39.028093 -3.39694)'))) / (select extract(epoch from '2026-07-22 19:57:39'::timestamp) - extract(epoch from '2026-07-22 19:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028057 -3.396782)'), GeomFromEWKT('SRID=4674;POINT (-39.028093 -3.39694)'))) / (select extract(epoch from '2026-07-22 19:57:39'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47445, 'SRID=4674;POINT (-39.028137 -3.397093)', '2026-07-22 19:57:46', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028093 -3.39694)'), GeomFromEWKT('SRID=4674;POINT (-39.028137 -3.397093)'))) / (select extract(epoch from '2026-07-22 19:57:46'::timestamp) - extract(epoch from '2026-07-22 19:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028093 -3.39694)'), GeomFromEWKT('SRID=4674;POINT (-39.028137 -3.397093)'))) / (select extract(epoch from '2026-07-22 19:57:46'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47445, 'SRID=4674;POINT (-39.028158 -3.397199)', '2026-07-22 19:57:51', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028137 -3.397093)'), GeomFromEWKT('SRID=4674;POINT (-39.028158 -3.397199)'))) / (select extract(epoch from '2026-07-22 19:57:51'::timestamp) - extract(epoch from '2026-07-22 19:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028137 -3.397093)'), GeomFromEWKT('SRID=4674;POINT (-39.028158 -3.397199)'))) / (select extract(epoch from '2026-07-22 19:57:51'::timestamp) - extract(epoch from '2026-07-22 19:57: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'), 47445, 'SRID=4674;POINT (-39.02818 -3.397349)', '2026-07-22 19:57:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028158 -3.397199)'), GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.397349)'))) / (select extract(epoch from '2026-07-22 19:57:58'::timestamp) - extract(epoch from '2026-07-22 19:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028158 -3.397199)'), GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.397349)'))) / (select extract(epoch from '2026-07-22 19:57:58'::timestamp) - extract(epoch from '2026-07-22 19:57:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028212 -3.397492)', '2026-07-22 19:58:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.397349)'), GeomFromEWKT('SRID=4674;POINT (-39.028212 -3.397492)'))) / (select extract(epoch from '2026-07-22 19:58:05'::timestamp) - extract(epoch from '2026-07-22 19:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02818 -3.397349)'), GeomFromEWKT('SRID=4674;POINT (-39.028212 -3.397492)'))) / (select extract(epoch from '2026-07-22 19:58:05'::timestamp) - extract(epoch from '2026-07-22 19:57:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028232 -3.397635)', '2026-07-22 19:58:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028212 -3.397492)'), GeomFromEWKT('SRID=4674;POINT (-39.028232 -3.397635)'))) / (select extract(epoch from '2026-07-22 19:58:12'::timestamp) - extract(epoch from '2026-07-22 19:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028212 -3.397492)'), GeomFromEWKT('SRID=4674;POINT (-39.028232 -3.397635)'))) / (select extract(epoch from '2026-07-22 19:58:12'::timestamp) - extract(epoch from '2026-07-22 19:58: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'), 47445, 'SRID=4674;POINT (-39.028253 -3.397758)', '2026-07-22 19:58:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028232 -3.397635)'), GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.397758)'))) / (select extract(epoch from '2026-07-22 19:58:18'::timestamp) - extract(epoch from '2026-07-22 19:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028232 -3.397635)'), GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.397758)'))) / (select extract(epoch from '2026-07-22 19:58:18'::timestamp) - extract(epoch from '2026-07-22 19:58: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'), 47445, 'SRID=4674;POINT (-39.028265 -3.3979)', '2026-07-22 19:58:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.397758)'), GeomFromEWKT('SRID=4674;POINT (-39.028265 -3.3979)'))) / (select extract(epoch from '2026-07-22 19:58:25'::timestamp) - extract(epoch from '2026-07-22 19:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028253 -3.397758)'), GeomFromEWKT('SRID=4674;POINT (-39.028265 -3.3979)'))) / (select extract(epoch from '2026-07-22 19:58:25'::timestamp) - extract(epoch from '2026-07-22 19:58: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'), 47445, 'SRID=4674;POINT (-39.028296 -3.398025)', '2026-07-22 19:58:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028265 -3.3979)'), GeomFromEWKT('SRID=4674;POINT (-39.028296 -3.398025)'))) / (select extract(epoch from '2026-07-22 19:58:31'::timestamp) - extract(epoch from '2026-07-22 19:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028265 -3.3979)'), GeomFromEWKT('SRID=4674;POINT (-39.028296 -3.398025)'))) / (select extract(epoch from '2026-07-22 19:58:31'::timestamp) - extract(epoch from '2026-07-22 19:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02833 -3.398177)', '2026-07-22 19:58:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028296 -3.398025)'), GeomFromEWKT('SRID=4674;POINT (-39.02833 -3.398177)'))) / (select extract(epoch from '2026-07-22 19:58:38'::timestamp) - extract(epoch from '2026-07-22 19:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028296 -3.398025)'), GeomFromEWKT('SRID=4674;POINT (-39.02833 -3.398177)'))) / (select extract(epoch from '2026-07-22 19:58:38'::timestamp) - extract(epoch from '2026-07-22 19:58:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028361 -3.398338)', '2026-07-22 19:58:46', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02833 -3.398177)'), GeomFromEWKT('SRID=4674;POINT (-39.028361 -3.398338)'))) / (select extract(epoch from '2026-07-22 19:58:46'::timestamp) - extract(epoch from '2026-07-22 19:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02833 -3.398177)'), GeomFromEWKT('SRID=4674;POINT (-39.028361 -3.398338)'))) / (select extract(epoch from '2026-07-22 19:58:46'::timestamp) - extract(epoch from '2026-07-22 19:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028388 -3.398441)', '2026-07-22 19:58:51', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028361 -3.398338)'), GeomFromEWKT('SRID=4674;POINT (-39.028388 -3.398441)'))) / (select extract(epoch from '2026-07-22 19:58:51'::timestamp) - extract(epoch from '2026-07-22 19:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028361 -3.398338)'), GeomFromEWKT('SRID=4674;POINT (-39.028388 -3.398441)'))) / (select extract(epoch from '2026-07-22 19:58:51'::timestamp) - extract(epoch from '2026-07-22 19:58: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'), 47445, 'SRID=4674;POINT (-39.028424 -3.398604)', '2026-07-22 19:58:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028388 -3.398441)'), GeomFromEWKT('SRID=4674;POINT (-39.028424 -3.398604)'))) / (select extract(epoch from '2026-07-22 19:58:59'::timestamp) - extract(epoch from '2026-07-22 19:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028388 -3.398441)'), GeomFromEWKT('SRID=4674;POINT (-39.028424 -3.398604)'))) / (select extract(epoch from '2026-07-22 19:58:59'::timestamp) - extract(epoch from '2026-07-22 19:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028441 -3.398726)', '2026-07-22 19:59:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028424 -3.398604)'), GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.398726)'))) / (select extract(epoch from '2026-07-22 19:59:05'::timestamp) - extract(epoch from '2026-07-22 19:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028424 -3.398604)'), GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.398726)'))) / (select extract(epoch from '2026-07-22 19:59:05'::timestamp) - extract(epoch from '2026-07-22 19:58:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028451 -3.398846)', '2026-07-22 19:59:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.398726)'), GeomFromEWKT('SRID=4674;POINT (-39.028451 -3.398846)'))) / (select extract(epoch from '2026-07-22 19:59:11'::timestamp) - extract(epoch from '2026-07-22 19:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028441 -3.398726)'), GeomFromEWKT('SRID=4674;POINT (-39.028451 -3.398846)'))) / (select extract(epoch from '2026-07-22 19:59:11'::timestamp) - extract(epoch from '2026-07-22 19:59: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'), 47445, 'SRID=4674;POINT (-39.028474 -3.398974)', '2026-07-22 19:59:17', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028451 -3.398846)'), GeomFromEWKT('SRID=4674;POINT (-39.028474 -3.398974)'))) / (select extract(epoch from '2026-07-22 19:59:17'::timestamp) - extract(epoch from '2026-07-22 19:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028451 -3.398846)'), GeomFromEWKT('SRID=4674;POINT (-39.028474 -3.398974)'))) / (select extract(epoch from '2026-07-22 19:59:17'::timestamp) - extract(epoch from '2026-07-22 19:59: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'), 47445, 'SRID=4674;POINT (-39.028491 -3.399147)', '2026-07-22 19:59:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028474 -3.398974)'), GeomFromEWKT('SRID=4674;POINT (-39.028491 -3.399147)'))) / (select extract(epoch from '2026-07-22 19:59:25'::timestamp) - extract(epoch from '2026-07-22 19:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028474 -3.398974)'), GeomFromEWKT('SRID=4674;POINT (-39.028491 -3.399147)'))) / (select extract(epoch from '2026-07-22 19:59:25'::timestamp) - extract(epoch from '2026-07-22 19:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028509 -3.399271)', '2026-07-22 19:59:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028491 -3.399147)'), GeomFromEWKT('SRID=4674;POINT (-39.028509 -3.399271)'))) / (select extract(epoch from '2026-07-22 19:59:31'::timestamp) - extract(epoch from '2026-07-22 19:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028491 -3.399147)'), GeomFromEWKT('SRID=4674;POINT (-39.028509 -3.399271)'))) / (select extract(epoch from '2026-07-22 19:59:31'::timestamp) - extract(epoch from '2026-07-22 19:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028517 -3.399396)', '2026-07-22 19:59:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028509 -3.399271)'), GeomFromEWKT('SRID=4674;POINT (-39.028517 -3.399396)'))) / (select extract(epoch from '2026-07-22 19:59:37'::timestamp) - extract(epoch from '2026-07-22 19:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028509 -3.399271)'), GeomFromEWKT('SRID=4674;POINT (-39.028517 -3.399396)'))) / (select extract(epoch from '2026-07-22 19:59:37'::timestamp) - extract(epoch from '2026-07-22 19:59: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'), 47445, 'SRID=4674;POINT (-39.028545 -3.399561)', '2026-07-22 19:59:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028517 -3.399396)'), GeomFromEWKT('SRID=4674;POINT (-39.028545 -3.399561)'))) / (select extract(epoch from '2026-07-22 19:59:45'::timestamp) - extract(epoch from '2026-07-22 19:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028517 -3.399396)'), GeomFromEWKT('SRID=4674;POINT (-39.028545 -3.399561)'))) / (select extract(epoch from '2026-07-22 19:59:45'::timestamp) - extract(epoch from '2026-07-22 19:59: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'), 47445, 'SRID=4674;POINT (-39.028561 -3.399728)', '2026-07-22 19:59:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028545 -3.399561)'), GeomFromEWKT('SRID=4674;POINT (-39.028561 -3.399728)'))) / (select extract(epoch from '2026-07-22 19:59:53'::timestamp) - extract(epoch from '2026-07-22 19:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028545 -3.399561)'), GeomFromEWKT('SRID=4674;POINT (-39.028561 -3.399728)'))) / (select extract(epoch from '2026-07-22 19:59:53'::timestamp) - extract(epoch from '2026-07-22 19:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028566 -3.399857)', '2026-07-22 19:59:59', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028561 -3.399728)'), GeomFromEWKT('SRID=4674;POINT (-39.028566 -3.399857)'))) / (select extract(epoch from '2026-07-22 19:59:59'::timestamp) - extract(epoch from '2026-07-22 19:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028561 -3.399728)'), GeomFromEWKT('SRID=4674;POINT (-39.028566 -3.399857)'))) / (select extract(epoch from '2026-07-22 19:59:59'::timestamp) - extract(epoch from '2026-07-22 19:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028578 -3.399985)', '2026-07-22 20:00:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028566 -3.399857)'), GeomFromEWKT('SRID=4674;POINT (-39.028578 -3.399985)'))) / (select extract(epoch from '2026-07-22 20:00:05'::timestamp) - extract(epoch from '2026-07-22 19:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028566 -3.399857)'), GeomFromEWKT('SRID=4674;POINT (-39.028578 -3.399985)'))) / (select extract(epoch from '2026-07-22 20:00:05'::timestamp) - extract(epoch from '2026-07-22 19:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02862 -3.400127)', '2026-07-22 20:00:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028578 -3.399985)'), GeomFromEWKT('SRID=4674;POINT (-39.02862 -3.400127)'))) / (select extract(epoch from '2026-07-22 20:00:12'::timestamp) - extract(epoch from '2026-07-22 20:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028578 -3.399985)'), GeomFromEWKT('SRID=4674;POINT (-39.02862 -3.400127)'))) / (select extract(epoch from '2026-07-22 20:00:12'::timestamp) - extract(epoch from '2026-07-22 20:00: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'), 47445, 'SRID=4674;POINT (-39.028658 -3.400277)', '2026-07-22 20:00:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02862 -3.400127)'), GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.400277)'))) / (select extract(epoch from '2026-07-22 20:00:19'::timestamp) - extract(epoch from '2026-07-22 20:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02862 -3.400127)'), GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.400277)'))) / (select extract(epoch from '2026-07-22 20:00:19'::timestamp) - extract(epoch from '2026-07-22 20:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028676 -3.400425)', '2026-07-22 20:00:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.400277)'), GeomFromEWKT('SRID=4674;POINT (-39.028676 -3.400425)'))) / (select extract(epoch from '2026-07-22 20:00:26'::timestamp) - extract(epoch from '2026-07-22 20:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028658 -3.400277)'), GeomFromEWKT('SRID=4674;POINT (-39.028676 -3.400425)'))) / (select extract(epoch from '2026-07-22 20:00:26'::timestamp) - extract(epoch from '2026-07-22 20:00: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'), 47445, 'SRID=4674;POINT (-39.028699 -3.400548)', '2026-07-22 20:00:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028676 -3.400425)'), GeomFromEWKT('SRID=4674;POINT (-39.028699 -3.400548)'))) / (select extract(epoch from '2026-07-22 20:00:32'::timestamp) - extract(epoch from '2026-07-22 20:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028676 -3.400425)'), GeomFromEWKT('SRID=4674;POINT (-39.028699 -3.400548)'))) / (select extract(epoch from '2026-07-22 20:00:32'::timestamp) - extract(epoch from '2026-07-22 20:00: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'), 47445, 'SRID=4674;POINT (-39.028714 -3.400669)', '2026-07-22 20:00:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028699 -3.400548)'), GeomFromEWKT('SRID=4674;POINT (-39.028714 -3.400669)'))) / (select extract(epoch from '2026-07-22 20:00:38'::timestamp) - extract(epoch from '2026-07-22 20:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028699 -3.400548)'), GeomFromEWKT('SRID=4674;POINT (-39.028714 -3.400669)'))) / (select extract(epoch from '2026-07-22 20:00:38'::timestamp) - extract(epoch from '2026-07-22 20:00: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'), 47445, 'SRID=4674;POINT (-39.028723 -3.400818)', '2026-07-22 20:00:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028714 -3.400669)'), GeomFromEWKT('SRID=4674;POINT (-39.028723 -3.400818)'))) / (select extract(epoch from '2026-07-22 20:00:45'::timestamp) - extract(epoch from '2026-07-22 20:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028714 -3.400669)'), GeomFromEWKT('SRID=4674;POINT (-39.028723 -3.400818)'))) / (select extract(epoch from '2026-07-22 20:00:45'::timestamp) - extract(epoch from '2026-07-22 20:00: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'), 47445, 'SRID=4674;POINT (-39.028749 -3.400994)', '2026-07-22 20:00:53', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028723 -3.400818)'), GeomFromEWKT('SRID=4674;POINT (-39.028749 -3.400994)'))) / (select extract(epoch from '2026-07-22 20:00:53'::timestamp) - extract(epoch from '2026-07-22 20:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028723 -3.400818)'), GeomFromEWKT('SRID=4674;POINT (-39.028749 -3.400994)'))) / (select extract(epoch from '2026-07-22 20:00:53'::timestamp) - extract(epoch from '2026-07-22 20:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028776 -3.401128)', '2026-07-22 20:00:59', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028749 -3.400994)'), GeomFromEWKT('SRID=4674;POINT (-39.028776 -3.401128)'))) / (select extract(epoch from '2026-07-22 20:00:59'::timestamp) - extract(epoch from '2026-07-22 20:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028749 -3.400994)'), GeomFromEWKT('SRID=4674;POINT (-39.028776 -3.401128)'))) / (select extract(epoch from '2026-07-22 20:00:59'::timestamp) - extract(epoch from '2026-07-22 20:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02879 -3.401253)', '2026-07-22 20:01:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028776 -3.401128)'), GeomFromEWKT('SRID=4674;POINT (-39.02879 -3.401253)'))) / (select extract(epoch from '2026-07-22 20:01:05'::timestamp) - extract(epoch from '2026-07-22 20:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028776 -3.401128)'), GeomFromEWKT('SRID=4674;POINT (-39.02879 -3.401253)'))) / (select extract(epoch from '2026-07-22 20:01:05'::timestamp) - extract(epoch from '2026-07-22 20:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028805 -3.401408)', '2026-07-22 20:01:12', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02879 -3.401253)'), GeomFromEWKT('SRID=4674;POINT (-39.028805 -3.401408)'))) / (select extract(epoch from '2026-07-22 20:01:12'::timestamp) - extract(epoch from '2026-07-22 20:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02879 -3.401253)'), GeomFromEWKT('SRID=4674;POINT (-39.028805 -3.401408)'))) / (select extract(epoch from '2026-07-22 20:01:12'::timestamp) - extract(epoch from '2026-07-22 20:01: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'), 47445, 'SRID=4674;POINT (-39.028829 -3.401607)', '2026-07-22 20:01:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028805 -3.401408)'), GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.401607)'))) / (select extract(epoch from '2026-07-22 20:01:21'::timestamp) - extract(epoch from '2026-07-22 20:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028805 -3.401408)'), GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.401607)'))) / (select extract(epoch from '2026-07-22 20:01:21'::timestamp) - extract(epoch from '2026-07-22 20:01: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'), 47445, 'SRID=4674;POINT (-39.028845 -3.401719)', '2026-07-22 20:01:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.401607)'), GeomFromEWKT('SRID=4674;POINT (-39.028845 -3.401719)'))) / (select extract(epoch from '2026-07-22 20:01:26'::timestamp) - extract(epoch from '2026-07-22 20:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028829 -3.401607)'), GeomFromEWKT('SRID=4674;POINT (-39.028845 -3.401719)'))) / (select extract(epoch from '2026-07-22 20:01:26'::timestamp) - extract(epoch from '2026-07-22 20:01: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'), 47445, 'SRID=4674;POINT (-39.02888 -3.40185)', '2026-07-22 20:01:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028845 -3.401719)'), GeomFromEWKT('SRID=4674;POINT (-39.02888 -3.40185)'))) / (select extract(epoch from '2026-07-22 20:01:32'::timestamp) - extract(epoch from '2026-07-22 20:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028845 -3.401719)'), GeomFromEWKT('SRID=4674;POINT (-39.02888 -3.40185)'))) / (select extract(epoch from '2026-07-22 20:01:32'::timestamp) - extract(epoch from '2026-07-22 20:01: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'), 47445, 'SRID=4674;POINT (-39.028903 -3.40202)', '2026-07-22 20:01:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02888 -3.40185)'), GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.40202)'))) / (select extract(epoch from '2026-07-22 20:01:40'::timestamp) - extract(epoch from '2026-07-22 20:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02888 -3.40185)'), GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.40202)'))) / (select extract(epoch from '2026-07-22 20:01:40'::timestamp) - extract(epoch from '2026-07-22 20:01: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'), 47445, 'SRID=4674;POINT (-39.028915 -3.402194)', '2026-07-22 20:01:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.40202)'), GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.402194)'))) / (select extract(epoch from '2026-07-22 20:01:48'::timestamp) - extract(epoch from '2026-07-22 20:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028903 -3.40202)'), GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.402194)'))) / (select extract(epoch from '2026-07-22 20:01:48'::timestamp) - extract(epoch from '2026-07-22 20:01: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'), 47445, 'SRID=4674;POINT (-39.028939 -3.402339)', '2026-07-22 20:01:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.402194)'), GeomFromEWKT('SRID=4674;POINT (-39.028939 -3.402339)'))) / (select extract(epoch from '2026-07-22 20:01:55'::timestamp) - extract(epoch from '2026-07-22 20:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.402194)'), GeomFromEWKT('SRID=4674;POINT (-39.028939 -3.402339)'))) / (select extract(epoch from '2026-07-22 20:01:55'::timestamp) - extract(epoch from '2026-07-22 20:01: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'), 47445, 'SRID=4674;POINT (-39.028966 -3.402455)', '2026-07-22 20:02:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028939 -3.402339)'), GeomFromEWKT('SRID=4674;POINT (-39.028966 -3.402455)'))) / (select extract(epoch from '2026-07-22 20:02:00'::timestamp) - extract(epoch from '2026-07-22 20:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028939 -3.402339)'), GeomFromEWKT('SRID=4674;POINT (-39.028966 -3.402455)'))) / (select extract(epoch from '2026-07-22 20:02:00'::timestamp) - extract(epoch from '2026-07-22 20:01: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'), 47445, 'SRID=4674;POINT (-39.028992 -3.402558)', '2026-07-22 20:02:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028966 -3.402455)'), GeomFromEWKT('SRID=4674;POINT (-39.028992 -3.402558)'))) / (select extract(epoch from '2026-07-22 20:02:05'::timestamp) - extract(epoch from '2026-07-22 20:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028966 -3.402455)'), GeomFromEWKT('SRID=4674;POINT (-39.028992 -3.402558)'))) / (select extract(epoch from '2026-07-22 20:02:05'::timestamp) - extract(epoch from '2026-07-22 20:02: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'), 47445, 'SRID=4674;POINT (-39.029024 -3.402691)', '2026-07-22 20:02:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028992 -3.402558)'), GeomFromEWKT('SRID=4674;POINT (-39.029024 -3.402691)'))) / (select extract(epoch from '2026-07-22 20:02:11'::timestamp) - extract(epoch from '2026-07-22 20:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028992 -3.402558)'), GeomFromEWKT('SRID=4674;POINT (-39.029024 -3.402691)'))) / (select extract(epoch from '2026-07-22 20:02:11'::timestamp) - extract(epoch from '2026-07-22 20:02:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029067 -3.402814)', '2026-07-22 20:02:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029024 -3.402691)'), GeomFromEWKT('SRID=4674;POINT (-39.029067 -3.402814)'))) / (select extract(epoch from '2026-07-22 20:02:17'::timestamp) - extract(epoch from '2026-07-22 20:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029024 -3.402691)'), GeomFromEWKT('SRID=4674;POINT (-39.029067 -3.402814)'))) / (select extract(epoch from '2026-07-22 20:02:17'::timestamp) - extract(epoch from '2026-07-22 20:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029125 -3.402988)', '2026-07-22 20:02:25', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029067 -3.402814)'), GeomFromEWKT('SRID=4674;POINT (-39.029125 -3.402988)'))) / (select extract(epoch from '2026-07-22 20:02:25'::timestamp) - extract(epoch from '2026-07-22 20:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029067 -3.402814)'), GeomFromEWKT('SRID=4674;POINT (-39.029125 -3.402988)'))) / (select extract(epoch from '2026-07-22 20:02:25'::timestamp) - extract(epoch from '2026-07-22 20:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029191 -3.403121)', '2026-07-22 20:02:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029125 -3.402988)'), GeomFromEWKT('SRID=4674;POINT (-39.029191 -3.403121)'))) / (select extract(epoch from '2026-07-22 20:02:32'::timestamp) - extract(epoch from '2026-07-22 20:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029125 -3.402988)'), GeomFromEWKT('SRID=4674;POINT (-39.029191 -3.403121)'))) / (select extract(epoch from '2026-07-22 20:02:32'::timestamp) - extract(epoch from '2026-07-22 20:02: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'), 47445, 'SRID=4674;POINT (-39.029214 -3.403291)', '2026-07-22 20:02:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029191 -3.403121)'), GeomFromEWKT('SRID=4674;POINT (-39.029214 -3.403291)'))) / (select extract(epoch from '2026-07-22 20:02:40'::timestamp) - extract(epoch from '2026-07-22 20:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029191 -3.403121)'), GeomFromEWKT('SRID=4674;POINT (-39.029214 -3.403291)'))) / (select extract(epoch from '2026-07-22 20:02:40'::timestamp) - extract(epoch from '2026-07-22 20:02: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'), 47445, 'SRID=4674;POINT (-39.029271 -3.403416)', '2026-07-22 20:02:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029214 -3.403291)'), GeomFromEWKT('SRID=4674;POINT (-39.029271 -3.403416)'))) / (select extract(epoch from '2026-07-22 20:02:46'::timestamp) - extract(epoch from '2026-07-22 20:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029214 -3.403291)'), GeomFromEWKT('SRID=4674;POINT (-39.029271 -3.403416)'))) / (select extract(epoch from '2026-07-22 20:02:46'::timestamp) - extract(epoch from '2026-07-22 20:02: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'), 47445, 'SRID=4674;POINT (-39.029333 -3.403571)', '2026-07-22 20:02:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029271 -3.403416)'), GeomFromEWKT('SRID=4674;POINT (-39.029333 -3.403571)'))) / (select extract(epoch from '2026-07-22 20:02:54'::timestamp) - extract(epoch from '2026-07-22 20:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029271 -3.403416)'), GeomFromEWKT('SRID=4674;POINT (-39.029333 -3.403571)'))) / (select extract(epoch from '2026-07-22 20:02:54'::timestamp) - extract(epoch from '2026-07-22 20:02:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029428 -3.403682)', '2026-07-22 20:03:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029333 -3.403571)'), GeomFromEWKT('SRID=4674;POINT (-39.029428 -3.403682)'))) / (select extract(epoch from '2026-07-22 20:03:01'::timestamp) - extract(epoch from '2026-07-22 20:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029333 -3.403571)'), GeomFromEWKT('SRID=4674;POINT (-39.029428 -3.403682)'))) / (select extract(epoch from '2026-07-22 20:03:01'::timestamp) - extract(epoch from '2026-07-22 20:02:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029561 -3.403792)', '2026-07-22 20:03:09', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029428 -3.403682)'), GeomFromEWKT('SRID=4674;POINT (-39.029561 -3.403792)'))) / (select extract(epoch from '2026-07-22 20:03:09'::timestamp) - extract(epoch from '2026-07-22 20:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029428 -3.403682)'), GeomFromEWKT('SRID=4674;POINT (-39.029561 -3.403792)'))) / (select extract(epoch from '2026-07-22 20:03:09'::timestamp) - extract(epoch from '2026-07-22 20:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029692 -3.403851)', '2026-07-22 20:03:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029561 -3.403792)'), GeomFromEWKT('SRID=4674;POINT (-39.029692 -3.403851)'))) / (select extract(epoch from '2026-07-22 20:03:16'::timestamp) - extract(epoch from '2026-07-22 20:03:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029561 -3.403792)'), GeomFromEWKT('SRID=4674;POINT (-39.029692 -3.403851)'))) / (select extract(epoch from '2026-07-22 20:03:16'::timestamp) - extract(epoch from '2026-07-22 20:03:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029828 -3.403873)', '2026-07-22 20:03:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029692 -3.403851)'), GeomFromEWKT('SRID=4674;POINT (-39.029828 -3.403873)'))) / (select extract(epoch from '2026-07-22 20:03:23'::timestamp) - extract(epoch from '2026-07-22 20:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029692 -3.403851)'), GeomFromEWKT('SRID=4674;POINT (-39.029828 -3.403873)'))) / (select extract(epoch from '2026-07-22 20:03:23'::timestamp) - extract(epoch from '2026-07-22 20:03:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
