 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346971 -3.319634)', '2026-07-17 15:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34698 -3.319698)'), GeomFromEWKT('SRID=4674;POINT (-38.346971 -3.319634)'))) / (select extract(epoch from '2026-07-17 15:44:49'::timestamp) - extract(epoch from '2026-07-17 15:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34698 -3.319698)'), GeomFromEWKT('SRID=4674;POINT (-38.346971 -3.319634)'))) / (select extract(epoch from '2026-07-17 15:44:49'::timestamp) - extract(epoch from '2026-07-17 15:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34696 -3.319533)', '2026-07-17 15:44:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346971 -3.319634)'), GeomFromEWKT('SRID=4674;POINT (-38.34696 -3.319533)'))) / (select extract(epoch from '2026-07-17 15:44:55'::timestamp) - extract(epoch from '2026-07-17 15:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346971 -3.319634)'), GeomFromEWKT('SRID=4674;POINT (-38.34696 -3.319533)'))) / (select extract(epoch from '2026-07-17 15:44:55'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346962 -3.319516)', '2026-07-17 15:44:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34696 -3.319533)'), GeomFromEWKT('SRID=4674;POINT (-38.346962 -3.319516)'))) / (select extract(epoch from '2026-07-17 15:44:56'::timestamp) - extract(epoch from '2026-07-17 15:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34696 -3.319533)'), GeomFromEWKT('SRID=4674;POINT (-38.346962 -3.319516)'))) / (select extract(epoch from '2026-07-17 15:44:56'::timestamp) - extract(epoch from '2026-07-17 15:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346949 -3.319383)', '2026-07-17 15:45:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346962 -3.319516)'), GeomFromEWKT('SRID=4674;POINT (-38.346949 -3.319383)'))) / (select extract(epoch from '2026-07-17 15:45:03'::timestamp) - extract(epoch from '2026-07-17 15:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346962 -3.319516)'), GeomFromEWKT('SRID=4674;POINT (-38.346949 -3.319383)'))) / (select extract(epoch from '2026-07-17 15:45:03'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346928 -3.319274)', '2026-07-17 15:45:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346949 -3.319383)'), GeomFromEWKT('SRID=4674;POINT (-38.346928 -3.319274)'))) / (select extract(epoch from '2026-07-17 15:45:09'::timestamp) - extract(epoch from '2026-07-17 15:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346949 -3.319383)'), GeomFromEWKT('SRID=4674;POINT (-38.346928 -3.319274)'))) / (select extract(epoch from '2026-07-17 15:45:09'::timestamp) - extract(epoch from '2026-07-17 15:45:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346913 -3.319154)', '2026-07-17 15:45:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346928 -3.319274)'), GeomFromEWKT('SRID=4674;POINT (-38.346913 -3.319154)'))) / (select extract(epoch from '2026-07-17 15:45:15'::timestamp) - extract(epoch from '2026-07-17 15:45:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346928 -3.319274)'), GeomFromEWKT('SRID=4674;POINT (-38.346913 -3.319154)'))) / (select extract(epoch from '2026-07-17 15:45:15'::timestamp) - extract(epoch from '2026-07-17 15:45:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346909 -3.319035)', '2026-07-17 15:45:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346913 -3.319154)'), GeomFromEWKT('SRID=4674;POINT (-38.346909 -3.319035)'))) / (select extract(epoch from '2026-07-17 15:45:21'::timestamp) - extract(epoch from '2026-07-17 15:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346913 -3.319154)'), GeomFromEWKT('SRID=4674;POINT (-38.346909 -3.319035)'))) / (select extract(epoch from '2026-07-17 15:45:21'::timestamp) - extract(epoch from '2026-07-17 15:45:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346903 -3.318918)', '2026-07-17 15:45:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346909 -3.319035)'), GeomFromEWKT('SRID=4674;POINT (-38.346903 -3.318918)'))) / (select extract(epoch from '2026-07-17 15:45:27'::timestamp) - extract(epoch from '2026-07-17 15:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346909 -3.319035)'), GeomFromEWKT('SRID=4674;POINT (-38.346903 -3.318918)'))) / (select extract(epoch from '2026-07-17 15:45:27'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346896 -3.31882)', '2026-07-17 15:45:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346903 -3.318918)'), GeomFromEWKT('SRID=4674;POINT (-38.346896 -3.31882)'))) / (select extract(epoch from '2026-07-17 15:45:32'::timestamp) - extract(epoch from '2026-07-17 15:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346903 -3.318918)'), GeomFromEWKT('SRID=4674;POINT (-38.346896 -3.31882)'))) / (select extract(epoch from '2026-07-17 15:45:32'::timestamp) - extract(epoch from '2026-07-17 15:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346892 -3.318718)', '2026-07-17 15:45:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346896 -3.31882)'), GeomFromEWKT('SRID=4674;POINT (-38.346892 -3.318718)'))) / (select extract(epoch from '2026-07-17 15:45:37'::timestamp) - extract(epoch from '2026-07-17 15:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346896 -3.31882)'), GeomFromEWKT('SRID=4674;POINT (-38.346892 -3.318718)'))) / (select extract(epoch from '2026-07-17 15:45:37'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346889 -3.318574)', '2026-07-17 15:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346892 -3.318718)'), GeomFromEWKT('SRID=4674;POINT (-38.346889 -3.318574)'))) / (select extract(epoch from '2026-07-17 15:45:44'::timestamp) - extract(epoch from '2026-07-17 15:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346892 -3.318718)'), GeomFromEWKT('SRID=4674;POINT (-38.346889 -3.318574)'))) / (select extract(epoch from '2026-07-17 15:45:44'::timestamp) - extract(epoch from '2026-07-17 15:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346886 -3.318453)', '2026-07-17 15:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346889 -3.318574)'), GeomFromEWKT('SRID=4674;POINT (-38.346886 -3.318453)'))) / (select extract(epoch from '2026-07-17 15:45:50'::timestamp) - extract(epoch from '2026-07-17 15:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346889 -3.318574)'), GeomFromEWKT('SRID=4674;POINT (-38.346886 -3.318453)'))) / (select extract(epoch from '2026-07-17 15:45:50'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346879 -3.31834)', '2026-07-17 15:45:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346886 -3.318453)'), GeomFromEWKT('SRID=4674;POINT (-38.346879 -3.31834)'))) / (select extract(epoch from '2026-07-17 15:45:56'::timestamp) - extract(epoch from '2026-07-17 15:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346886 -3.318453)'), GeomFromEWKT('SRID=4674;POINT (-38.346879 -3.31834)'))) / (select extract(epoch from '2026-07-17 15:45:56'::timestamp) - extract(epoch from '2026-07-17 15:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346873 -3.318203)', '2026-07-17 15:46:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346879 -3.31834)'), GeomFromEWKT('SRID=4674;POINT (-38.346873 -3.318203)'))) / (select extract(epoch from '2026-07-17 15:46:03'::timestamp) - extract(epoch from '2026-07-17 15:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346879 -3.31834)'), GeomFromEWKT('SRID=4674;POINT (-38.346873 -3.318203)'))) / (select extract(epoch from '2026-07-17 15:46:03'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346875 -3.318106)', '2026-07-17 15:46:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346873 -3.318203)'), GeomFromEWKT('SRID=4674;POINT (-38.346875 -3.318106)'))) / (select extract(epoch from '2026-07-17 15:46:08'::timestamp) - extract(epoch from '2026-07-17 15:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346873 -3.318203)'), GeomFromEWKT('SRID=4674;POINT (-38.346875 -3.318106)'))) / (select extract(epoch from '2026-07-17 15:46:08'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346874 -3.318086)', '2026-07-17 15:46:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346875 -3.318106)'), GeomFromEWKT('SRID=4674;POINT (-38.346874 -3.318086)'))) / (select extract(epoch from '2026-07-17 15:46:09'::timestamp) - extract(epoch from '2026-07-17 15:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346875 -3.318106)'), GeomFromEWKT('SRID=4674;POINT (-38.346874 -3.318086)'))) / (select extract(epoch from '2026-07-17 15:46:09'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.34688 -3.31803)', '2026-07-17 15:46:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346874 -3.318086)'), GeomFromEWKT('SRID=4674;POINT (-38.34688 -3.31803)'))) / (select extract(epoch from '2026-07-17 15:46:12'::timestamp) - extract(epoch from '2026-07-17 15:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346874 -3.318086)'), GeomFromEWKT('SRID=4674;POINT (-38.34688 -3.31803)'))) / (select extract(epoch from '2026-07-17 15:46:12'::timestamp) - extract(epoch from '2026-07-17 15:46:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346869 -3.31793)', '2026-07-17 15:46:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34688 -3.31803)'), GeomFromEWKT('SRID=4674;POINT (-38.346869 -3.31793)'))) / (select extract(epoch from '2026-07-17 15:46:17'::timestamp) - extract(epoch from '2026-07-17 15:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34688 -3.31803)'), GeomFromEWKT('SRID=4674;POINT (-38.346869 -3.31793)'))) / (select extract(epoch from '2026-07-17 15:46:17'::timestamp) - extract(epoch from '2026-07-17 15:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346859 -3.317799)', '2026-07-17 15:46:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346869 -3.31793)'), GeomFromEWKT('SRID=4674;POINT (-38.346859 -3.317799)'))) / (select extract(epoch from '2026-07-17 15:46:24'::timestamp) - extract(epoch from '2026-07-17 15:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346869 -3.31793)'), GeomFromEWKT('SRID=4674;POINT (-38.346859 -3.317799)'))) / (select extract(epoch from '2026-07-17 15:46:24'::timestamp) - extract(epoch from '2026-07-17 15:46:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346845 -3.317668)', '2026-07-17 15:46:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346859 -3.317799)'), GeomFromEWKT('SRID=4674;POINT (-38.346845 -3.317668)'))) / (select extract(epoch from '2026-07-17 15:46:31'::timestamp) - extract(epoch from '2026-07-17 15:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346859 -3.317799)'), GeomFromEWKT('SRID=4674;POINT (-38.346845 -3.317668)'))) / (select extract(epoch from '2026-07-17 15:46:31'::timestamp) - extract(epoch from '2026-07-17 15:46:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346844 -3.31758)', '2026-07-17 15:46:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346845 -3.317668)'), GeomFromEWKT('SRID=4674;POINT (-38.346844 -3.31758)'))) / (select extract(epoch from '2026-07-17 15:46:36'::timestamp) - extract(epoch from '2026-07-17 15:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346845 -3.317668)'), GeomFromEWKT('SRID=4674;POINT (-38.346844 -3.31758)'))) / (select extract(epoch from '2026-07-17 15:46:36'::timestamp) - extract(epoch from '2026-07-17 15:46:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346832 -3.317484)', '2026-07-17 15:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346844 -3.31758)'), GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.317484)'))) / (select extract(epoch from '2026-07-17 15:46:41'::timestamp) - extract(epoch from '2026-07-17 15:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346844 -3.31758)'), GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.317484)'))) / (select extract(epoch from '2026-07-17 15:46:41'::timestamp) - extract(epoch from '2026-07-17 15:46:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346831 -3.317467)', '2026-07-17 15:46:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.317484)'), GeomFromEWKT('SRID=4674;POINT (-38.346831 -3.317467)'))) / (select extract(epoch from '2026-07-17 15:46:42'::timestamp) - extract(epoch from '2026-07-17 15:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.317484)'), GeomFromEWKT('SRID=4674;POINT (-38.346831 -3.317467)'))) / (select extract(epoch from '2026-07-17 15:46:42'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346829 -3.317408)', '2026-07-17 15:46:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346831 -3.317467)'), GeomFromEWKT('SRID=4674;POINT (-38.346829 -3.317408)'))) / (select extract(epoch from '2026-07-17 15:46:45'::timestamp) - extract(epoch from '2026-07-17 15:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346831 -3.317467)'), GeomFromEWKT('SRID=4674;POINT (-38.346829 -3.317408)'))) / (select extract(epoch from '2026-07-17 15:46:45'::timestamp) - extract(epoch from '2026-07-17 15:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346832 -3.317313)', '2026-07-17 15:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346829 -3.317408)'), GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.317313)'))) / (select extract(epoch from '2026-07-17 15:46:50'::timestamp) - extract(epoch from '2026-07-17 15:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346829 -3.317408)'), GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.317313)'))) / (select extract(epoch from '2026-07-17 15:46:50'::timestamp) - extract(epoch from '2026-07-17 15:46:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346841 -3.317264)', '2026-07-17 15:46:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.317313)'), GeomFromEWKT('SRID=4674;POINT (-38.346841 -3.317264)'))) / (select extract(epoch from '2026-07-17 15:46:52'::timestamp) - extract(epoch from '2026-07-17 15:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346832 -3.317313)'), GeomFromEWKT('SRID=4674;POINT (-38.346841 -3.317264)'))) / (select extract(epoch from '2026-07-17 15:46:52'::timestamp) - extract(epoch from '2026-07-17 15:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346834 -3.317227)', '2026-07-17 15:46:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346841 -3.317264)'), GeomFromEWKT('SRID=4674;POINT (-38.346834 -3.317227)'))) / (select extract(epoch from '2026-07-17 15:46:54'::timestamp) - extract(epoch from '2026-07-17 15:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346841 -3.317264)'), GeomFromEWKT('SRID=4674;POINT (-38.346834 -3.317227)'))) / (select extract(epoch from '2026-07-17 15:46:54'::timestamp) - extract(epoch from '2026-07-17 15:46:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34682 -3.317112)', '2026-07-17 15:47:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346834 -3.317227)'), GeomFromEWKT('SRID=4674;POINT (-38.34682 -3.317112)'))) / (select extract(epoch from '2026-07-17 15:47:00'::timestamp) - extract(epoch from '2026-07-17 15:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346834 -3.317227)'), GeomFromEWKT('SRID=4674;POINT (-38.34682 -3.317112)'))) / (select extract(epoch from '2026-07-17 15:47:00'::timestamp) - extract(epoch from '2026-07-17 15:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346805 -3.316995)', '2026-07-17 15:47:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34682 -3.317112)'), GeomFromEWKT('SRID=4674;POINT (-38.346805 -3.316995)'))) / (select extract(epoch from '2026-07-17 15:47:06'::timestamp) - extract(epoch from '2026-07-17 15:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34682 -3.317112)'), GeomFromEWKT('SRID=4674;POINT (-38.346805 -3.316995)'))) / (select extract(epoch from '2026-07-17 15:47:06'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346795 -3.316881)', '2026-07-17 15:47:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346805 -3.316995)'), GeomFromEWKT('SRID=4674;POINT (-38.346795 -3.316881)'))) / (select extract(epoch from '2026-07-17 15:47:12'::timestamp) - extract(epoch from '2026-07-17 15:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346805 -3.316995)'), GeomFromEWKT('SRID=4674;POINT (-38.346795 -3.316881)'))) / (select extract(epoch from '2026-07-17 15:47:12'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346776 -3.31674)', '2026-07-17 15:47:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346795 -3.316881)'), GeomFromEWKT('SRID=4674;POINT (-38.346776 -3.31674)'))) / (select extract(epoch from '2026-07-17 15:47:19'::timestamp) - extract(epoch from '2026-07-17 15:47:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346795 -3.316881)'), GeomFromEWKT('SRID=4674;POINT (-38.346776 -3.31674)'))) / (select extract(epoch from '2026-07-17 15:47:19'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346744 -3.316595)', '2026-07-17 15:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346776 -3.31674)'), GeomFromEWKT('SRID=4674;POINT (-38.346744 -3.316595)'))) / (select extract(epoch from '2026-07-17 15:47:27'::timestamp) - extract(epoch from '2026-07-17 15:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346776 -3.31674)'), GeomFromEWKT('SRID=4674;POINT (-38.346744 -3.316595)'))) / (select extract(epoch from '2026-07-17 15:47:27'::timestamp) - extract(epoch from '2026-07-17 15:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34672 -3.316487)', '2026-07-17 15:47:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346744 -3.316595)'), GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.316487)'))) / (select extract(epoch from '2026-07-17 15:47:33'::timestamp) - extract(epoch from '2026-07-17 15:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346744 -3.316595)'), GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.316487)'))) / (select extract(epoch from '2026-07-17 15:47:33'::timestamp) - extract(epoch from '2026-07-17 15:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346702 -3.31642)', '2026-07-17 15:47:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.316487)'), GeomFromEWKT('SRID=4674;POINT (-38.346702 -3.31642)'))) / (select extract(epoch from '2026-07-17 15:47:37'::timestamp) - extract(epoch from '2026-07-17 15:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34672 -3.316487)'), GeomFromEWKT('SRID=4674;POINT (-38.346702 -3.31642)'))) / (select extract(epoch from '2026-07-17 15:47:37'::timestamp) - extract(epoch from '2026-07-17 15:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.3467 -3.3164)', '2026-07-17 15:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346702 -3.31642)'), GeomFromEWKT('SRID=4674;POINT (-38.3467 -3.3164)'))) / (select extract(epoch from '2026-07-17 15:47:38'::timestamp) - extract(epoch from '2026-07-17 15:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346702 -3.31642)'), GeomFromEWKT('SRID=4674;POINT (-38.3467 -3.3164)'))) / (select extract(epoch from '2026-07-17 15:47:38'::timestamp) - extract(epoch from '2026-07-17 15:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346683 -3.316335)', '2026-07-17 15:47:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3467 -3.3164)'), GeomFromEWKT('SRID=4674;POINT (-38.346683 -3.316335)'))) / (select extract(epoch from '2026-07-17 15:47:41'::timestamp) - extract(epoch from '2026-07-17 15:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3467 -3.3164)'), GeomFromEWKT('SRID=4674;POINT (-38.346683 -3.316335)'))) / (select extract(epoch from '2026-07-17 15:47:41'::timestamp) - extract(epoch from '2026-07-17 15:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346658 -3.316245)', '2026-07-17 15:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346683 -3.316335)'), GeomFromEWKT('SRID=4674;POINT (-38.346658 -3.316245)'))) / (select extract(epoch from '2026-07-17 15:47:46'::timestamp) - extract(epoch from '2026-07-17 15:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346683 -3.316335)'), GeomFromEWKT('SRID=4674;POINT (-38.346658 -3.316245)'))) / (select extract(epoch from '2026-07-17 15:47:46'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346635 -3.316134)', '2026-07-17 15:47:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346658 -3.316245)'), GeomFromEWKT('SRID=4674;POINT (-38.346635 -3.316134)'))) / (select extract(epoch from '2026-07-17 15:47:52'::timestamp) - extract(epoch from '2026-07-17 15:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346658 -3.316245)'), GeomFromEWKT('SRID=4674;POINT (-38.346635 -3.316134)'))) / (select extract(epoch from '2026-07-17 15:47:52'::timestamp) - extract(epoch from '2026-07-17 15:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34662 -3.31605)', '2026-07-17 15:47:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346635 -3.316134)'), GeomFromEWKT('SRID=4674;POINT (-38.34662 -3.31605)'))) / (select extract(epoch from '2026-07-17 15:47:56'::timestamp) - extract(epoch from '2026-07-17 15:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346635 -3.316134)'), GeomFromEWKT('SRID=4674;POINT (-38.34662 -3.31605)'))) / (select extract(epoch from '2026-07-17 15:47:56'::timestamp) - extract(epoch from '2026-07-17 15:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346608 -3.315978)', '2026-07-17 15:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34662 -3.31605)'), GeomFromEWKT('SRID=4674;POINT (-38.346608 -3.315978)'))) / (select extract(epoch from '2026-07-17 15:48:00'::timestamp) - extract(epoch from '2026-07-17 15:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34662 -3.31605)'), GeomFromEWKT('SRID=4674;POINT (-38.346608 -3.315978)'))) / (select extract(epoch from '2026-07-17 15:48:00'::timestamp) - extract(epoch from '2026-07-17 15:47:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346595 -3.315867)', '2026-07-17 15:48:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346608 -3.315978)'), GeomFromEWKT('SRID=4674;POINT (-38.346595 -3.315867)'))) / (select extract(epoch from '2026-07-17 15:48:06'::timestamp) - extract(epoch from '2026-07-17 15:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346608 -3.315978)'), GeomFromEWKT('SRID=4674;POINT (-38.346595 -3.315867)'))) / (select extract(epoch from '2026-07-17 15:48:06'::timestamp) - extract(epoch from '2026-07-17 15:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346573 -3.315744)', '2026-07-17 15:48:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346595 -3.315867)'), GeomFromEWKT('SRID=4674;POINT (-38.346573 -3.315744)'))) / (select extract(epoch from '2026-07-17 15:48:12'::timestamp) - extract(epoch from '2026-07-17 15:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346595 -3.315867)'), GeomFromEWKT('SRID=4674;POINT (-38.346573 -3.315744)'))) / (select extract(epoch from '2026-07-17 15:48:12'::timestamp) - extract(epoch from '2026-07-17 15:48:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346554 -3.315618)', '2026-07-17 15:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346573 -3.315744)'), GeomFromEWKT('SRID=4674;POINT (-38.346554 -3.315618)'))) / (select extract(epoch from '2026-07-17 15:48:18'::timestamp) - extract(epoch from '2026-07-17 15:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346573 -3.315744)'), GeomFromEWKT('SRID=4674;POINT (-38.346554 -3.315618)'))) / (select extract(epoch from '2026-07-17 15:48:18'::timestamp) - extract(epoch from '2026-07-17 15:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346543 -3.31548)', '2026-07-17 15:48:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346554 -3.315618)'), GeomFromEWKT('SRID=4674;POINT (-38.346543 -3.31548)'))) / (select extract(epoch from '2026-07-17 15:48:25'::timestamp) - extract(epoch from '2026-07-17 15:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346554 -3.315618)'), GeomFromEWKT('SRID=4674;POINT (-38.346543 -3.31548)'))) / (select extract(epoch from '2026-07-17 15:48:25'::timestamp) - extract(epoch from '2026-07-17 15:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346536 -3.31533)', '2026-07-17 15:48:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346543 -3.31548)'), GeomFromEWKT('SRID=4674;POINT (-38.346536 -3.31533)'))) / (select extract(epoch from '2026-07-17 15:48:32'::timestamp) - extract(epoch from '2026-07-17 15:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346543 -3.31548)'), GeomFromEWKT('SRID=4674;POINT (-38.346536 -3.31533)'))) / (select extract(epoch from '2026-07-17 15:48:32'::timestamp) - extract(epoch from '2026-07-17 15:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346528 -3.315201)', '2026-07-17 15:48:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346536 -3.31533)'), GeomFromEWKT('SRID=4674;POINT (-38.346528 -3.315201)'))) / (select extract(epoch from '2026-07-17 15:48:38'::timestamp) - extract(epoch from '2026-07-17 15:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346536 -3.31533)'), GeomFromEWKT('SRID=4674;POINT (-38.346528 -3.315201)'))) / (select extract(epoch from '2026-07-17 15:48:38'::timestamp) - extract(epoch from '2026-07-17 15:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346522 -3.315045)', '2026-07-17 15:48:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346528 -3.315201)'), GeomFromEWKT('SRID=4674;POINT (-38.346522 -3.315045)'))) / (select extract(epoch from '2026-07-17 15:48:45'::timestamp) - extract(epoch from '2026-07-17 15:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346528 -3.315201)'), GeomFromEWKT('SRID=4674;POINT (-38.346522 -3.315045)'))) / (select extract(epoch from '2026-07-17 15:48:45'::timestamp) - extract(epoch from '2026-07-17 15:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346509 -3.314862)', '2026-07-17 15:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346522 -3.315045)'), GeomFromEWKT('SRID=4674;POINT (-38.346509 -3.314862)'))) / (select extract(epoch from '2026-07-17 15:48:54'::timestamp) - extract(epoch from '2026-07-17 15:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346522 -3.315045)'), GeomFromEWKT('SRID=4674;POINT (-38.346509 -3.314862)'))) / (select extract(epoch from '2026-07-17 15:48:54'::timestamp) - extract(epoch from '2026-07-17 15:48:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346505 -3.314752)', '2026-07-17 15:48:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346509 -3.314862)'), GeomFromEWKT('SRID=4674;POINT (-38.346505 -3.314752)'))) / (select extract(epoch from '2026-07-17 15:48:59'::timestamp) - extract(epoch from '2026-07-17 15:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346509 -3.314862)'), GeomFromEWKT('SRID=4674;POINT (-38.346505 -3.314752)'))) / (select extract(epoch from '2026-07-17 15:48:59'::timestamp) - extract(epoch from '2026-07-17 15:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346502 -3.314657)', '2026-07-17 15:49:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346505 -3.314752)'), GeomFromEWKT('SRID=4674;POINT (-38.346502 -3.314657)'))) / (select extract(epoch from '2026-07-17 15:49:04'::timestamp) - extract(epoch from '2026-07-17 15:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346505 -3.314752)'), GeomFromEWKT('SRID=4674;POINT (-38.346502 -3.314657)'))) / (select extract(epoch from '2026-07-17 15:49:04'::timestamp) - extract(epoch from '2026-07-17 15:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34649 -3.314545)', '2026-07-17 15:49:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346502 -3.314657)'), GeomFromEWKT('SRID=4674;POINT (-38.34649 -3.314545)'))) / (select extract(epoch from '2026-07-17 15:49:10'::timestamp) - extract(epoch from '2026-07-17 15:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346502 -3.314657)'), GeomFromEWKT('SRID=4674;POINT (-38.34649 -3.314545)'))) / (select extract(epoch from '2026-07-17 15:49:10'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346485 -3.314378)', '2026-07-17 15:49:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34649 -3.314545)'), GeomFromEWKT('SRID=4674;POINT (-38.346485 -3.314378)'))) / (select extract(epoch from '2026-07-17 15:49:18'::timestamp) - extract(epoch from '2026-07-17 15:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34649 -3.314545)'), GeomFromEWKT('SRID=4674;POINT (-38.346485 -3.314378)'))) / (select extract(epoch from '2026-07-17 15:49:18'::timestamp) - extract(epoch from '2026-07-17 15:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346486 -3.314267)', '2026-07-17 15:49:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346485 -3.314378)'), GeomFromEWKT('SRID=4674;POINT (-38.346486 -3.314267)'))) / (select extract(epoch from '2026-07-17 15:49:24'::timestamp) - extract(epoch from '2026-07-17 15:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346485 -3.314378)'), GeomFromEWKT('SRID=4674;POINT (-38.346486 -3.314267)'))) / (select extract(epoch from '2026-07-17 15:49:24'::timestamp) - extract(epoch from '2026-07-17 15:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34648 -3.314137)', '2026-07-17 15:49:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346486 -3.314267)'), GeomFromEWKT('SRID=4674;POINT (-38.34648 -3.314137)'))) / (select extract(epoch from '2026-07-17 15:49:30'::timestamp) - extract(epoch from '2026-07-17 15:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346486 -3.314267)'), GeomFromEWKT('SRID=4674;POINT (-38.34648 -3.314137)'))) / (select extract(epoch from '2026-07-17 15:49:30'::timestamp) - extract(epoch from '2026-07-17 15:49:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346456 -3.313924)', '2026-07-17 15:49:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34648 -3.314137)'), GeomFromEWKT('SRID=4674;POINT (-38.346456 -3.313924)'))) / (select extract(epoch from '2026-07-17 15:49:40'::timestamp) - extract(epoch from '2026-07-17 15:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34648 -3.314137)'), GeomFromEWKT('SRID=4674;POINT (-38.346456 -3.313924)'))) / (select extract(epoch from '2026-07-17 15:49:40'::timestamp) - extract(epoch from '2026-07-17 15:49:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346433 -3.3138)', '2026-07-17 15:49:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346456 -3.313924)'), GeomFromEWKT('SRID=4674;POINT (-38.346433 -3.3138)'))) / (select extract(epoch from '2026-07-17 15:49:46'::timestamp) - extract(epoch from '2026-07-17 15:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346456 -3.313924)'), GeomFromEWKT('SRID=4674;POINT (-38.346433 -3.3138)'))) / (select extract(epoch from '2026-07-17 15:49:46'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346412 -3.31368)', '2026-07-17 15:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346433 -3.3138)'), GeomFromEWKT('SRID=4674;POINT (-38.346412 -3.31368)'))) / (select extract(epoch from '2026-07-17 15:49:52'::timestamp) - extract(epoch from '2026-07-17 15:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346433 -3.3138)'), GeomFromEWKT('SRID=4674;POINT (-38.346412 -3.31368)'))) / (select extract(epoch from '2026-07-17 15:49:52'::timestamp) - extract(epoch from '2026-07-17 15:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346399 -3.313587)', '2026-07-17 15:49:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346412 -3.31368)'), GeomFromEWKT('SRID=4674;POINT (-38.346399 -3.313587)'))) / (select extract(epoch from '2026-07-17 15:49:57'::timestamp) - extract(epoch from '2026-07-17 15:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346412 -3.31368)'), GeomFromEWKT('SRID=4674;POINT (-38.346399 -3.313587)'))) / (select extract(epoch from '2026-07-17 15:49:57'::timestamp) - extract(epoch from '2026-07-17 15:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34639 -3.313441)', '2026-07-17 15:50:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346399 -3.313587)'), GeomFromEWKT('SRID=4674;POINT (-38.34639 -3.313441)'))) / (select extract(epoch from '2026-07-17 15:50:04'::timestamp) - extract(epoch from '2026-07-17 15:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346399 -3.313587)'), GeomFromEWKT('SRID=4674;POINT (-38.34639 -3.313441)'))) / (select extract(epoch from '2026-07-17 15:50:04'::timestamp) - extract(epoch from '2026-07-17 15:49:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346391 -3.313372)', '2026-07-17 15:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34639 -3.313441)'), GeomFromEWKT('SRID=4674;POINT (-38.346391 -3.313372)'))) / (select extract(epoch from '2026-07-17 15:50:07'::timestamp) - extract(epoch from '2026-07-17 15:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34639 -3.313441)'), GeomFromEWKT('SRID=4674;POINT (-38.346391 -3.313372)'))) / (select extract(epoch from '2026-07-17 15:50:07'::timestamp) - extract(epoch from '2026-07-17 15:50:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346383 -3.313263)', '2026-07-17 15:50:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346391 -3.313372)'), GeomFromEWKT('SRID=4674;POINT (-38.346383 -3.313263)'))) / (select extract(epoch from '2026-07-17 15:50:12'::timestamp) - extract(epoch from '2026-07-17 15:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346391 -3.313372)'), GeomFromEWKT('SRID=4674;POINT (-38.346383 -3.313263)'))) / (select extract(epoch from '2026-07-17 15:50:12'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346392 -3.313107)', '2026-07-17 15:50:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346383 -3.313263)'), GeomFromEWKT('SRID=4674;POINT (-38.346392 -3.313107)'))) / (select extract(epoch from '2026-07-17 15:50:19'::timestamp) - extract(epoch from '2026-07-17 15:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346383 -3.313263)'), GeomFromEWKT('SRID=4674;POINT (-38.346392 -3.313107)'))) / (select extract(epoch from '2026-07-17 15:50:19'::timestamp) - extract(epoch from '2026-07-17 15:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346405 -3.313003)', '2026-07-17 15:50:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346392 -3.313107)'), GeomFromEWKT('SRID=4674;POINT (-38.346405 -3.313003)'))) / (select extract(epoch from '2026-07-17 15:50:24'::timestamp) - extract(epoch from '2026-07-17 15:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346392 -3.313107)'), GeomFromEWKT('SRID=4674;POINT (-38.346405 -3.313003)'))) / (select extract(epoch from '2026-07-17 15:50:24'::timestamp) - extract(epoch from '2026-07-17 15:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346424 -3.312859)', '2026-07-17 15:50:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346405 -3.313003)'), GeomFromEWKT('SRID=4674;POINT (-38.346424 -3.312859)'))) / (select extract(epoch from '2026-07-17 15:50:31'::timestamp) - extract(epoch from '2026-07-17 15:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346405 -3.313003)'), GeomFromEWKT('SRID=4674;POINT (-38.346424 -3.312859)'))) / (select extract(epoch from '2026-07-17 15:50:31'::timestamp) - extract(epoch from '2026-07-17 15:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346423 -3.312734)', '2026-07-17 15:50:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346424 -3.312859)'), GeomFromEWKT('SRID=4674;POINT (-38.346423 -3.312734)'))) / (select extract(epoch from '2026-07-17 15:50:37'::timestamp) - extract(epoch from '2026-07-17 15:50:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346424 -3.312859)'), GeomFromEWKT('SRID=4674;POINT (-38.346423 -3.312734)'))) / (select extract(epoch from '2026-07-17 15:50:37'::timestamp) - extract(epoch from '2026-07-17 15:50:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346419 -3.312627)', '2026-07-17 15:50:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346423 -3.312734)'), GeomFromEWKT('SRID=4674;POINT (-38.346419 -3.312627)'))) / (select extract(epoch from '2026-07-17 15:50:42'::timestamp) - extract(epoch from '2026-07-17 15:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346423 -3.312734)'), GeomFromEWKT('SRID=4674;POINT (-38.346419 -3.312627)'))) / (select extract(epoch from '2026-07-17 15:50:42'::timestamp) - extract(epoch from '2026-07-17 15:50:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34641 -3.312502)', '2026-07-17 15:50:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346419 -3.312627)'), GeomFromEWKT('SRID=4674;POINT (-38.34641 -3.312502)'))) / (select extract(epoch from '2026-07-17 15:50:48'::timestamp) - extract(epoch from '2026-07-17 15:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346419 -3.312627)'), GeomFromEWKT('SRID=4674;POINT (-38.34641 -3.312502)'))) / (select extract(epoch from '2026-07-17 15:50:48'::timestamp) - extract(epoch from '2026-07-17 15:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346398 -3.31238)', '2026-07-17 15:50:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34641 -3.312502)'), GeomFromEWKT('SRID=4674;POINT (-38.346398 -3.31238)'))) / (select extract(epoch from '2026-07-17 15:50:54'::timestamp) - extract(epoch from '2026-07-17 15:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34641 -3.312502)'), GeomFromEWKT('SRID=4674;POINT (-38.346398 -3.31238)'))) / (select extract(epoch from '2026-07-17 15:50:54'::timestamp) - extract(epoch from '2026-07-17 15:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346387 -3.312278)', '2026-07-17 15:50:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346398 -3.31238)'), GeomFromEWKT('SRID=4674;POINT (-38.346387 -3.312278)'))) / (select extract(epoch from '2026-07-17 15:50:59'::timestamp) - extract(epoch from '2026-07-17 15:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346398 -3.31238)'), GeomFromEWKT('SRID=4674;POINT (-38.346387 -3.312278)'))) / (select extract(epoch from '2026-07-17 15:50:59'::timestamp) - extract(epoch from '2026-07-17 15:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34637 -3.312126)', '2026-07-17 15:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346387 -3.312278)'), GeomFromEWKT('SRID=4674;POINT (-38.34637 -3.312126)'))) / (select extract(epoch from '2026-07-17 15:51:06'::timestamp) - extract(epoch from '2026-07-17 15:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346387 -3.312278)'), GeomFromEWKT('SRID=4674;POINT (-38.34637 -3.312126)'))) / (select extract(epoch from '2026-07-17 15:51:06'::timestamp) - extract(epoch from '2026-07-17 15:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346355 -3.311986)', '2026-07-17 15:51:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34637 -3.312126)'), GeomFromEWKT('SRID=4674;POINT (-38.346355 -3.311986)'))) / (select extract(epoch from '2026-07-17 15:51:13'::timestamp) - extract(epoch from '2026-07-17 15:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34637 -3.312126)'), GeomFromEWKT('SRID=4674;POINT (-38.346355 -3.311986)'))) / (select extract(epoch from '2026-07-17 15:51:13'::timestamp) - extract(epoch from '2026-07-17 15:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346364 -3.311882)', '2026-07-17 15:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346355 -3.311986)'), GeomFromEWKT('SRID=4674;POINT (-38.346364 -3.311882)'))) / (select extract(epoch from '2026-07-17 15:51:18'::timestamp) - extract(epoch from '2026-07-17 15:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346355 -3.311986)'), GeomFromEWKT('SRID=4674;POINT (-38.346364 -3.311882)'))) / (select extract(epoch from '2026-07-17 15:51:18'::timestamp) - extract(epoch from '2026-07-17 15:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346387 -3.31176)', '2026-07-17 15:51:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346364 -3.311882)'), GeomFromEWKT('SRID=4674;POINT (-38.346387 -3.31176)'))) / (select extract(epoch from '2026-07-17 15:51:24'::timestamp) - extract(epoch from '2026-07-17 15:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346364 -3.311882)'), GeomFromEWKT('SRID=4674;POINT (-38.346387 -3.31176)'))) / (select extract(epoch from '2026-07-17 15:51:24'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346412 -3.311585)', '2026-07-17 15:51:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346387 -3.31176)'), GeomFromEWKT('SRID=4674;POINT (-38.346412 -3.311585)'))) / (select extract(epoch from '2026-07-17 15:51:32'::timestamp) - extract(epoch from '2026-07-17 15:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346387 -3.31176)'), GeomFromEWKT('SRID=4674;POINT (-38.346412 -3.311585)'))) / (select extract(epoch from '2026-07-17 15:51:32'::timestamp) - extract(epoch from '2026-07-17 15:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346431 -3.311449)', '2026-07-17 15:51:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346412 -3.311585)'), GeomFromEWKT('SRID=4674;POINT (-38.346431 -3.311449)'))) / (select extract(epoch from '2026-07-17 15:51:38'::timestamp) - extract(epoch from '2026-07-17 15:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346412 -3.311585)'), GeomFromEWKT('SRID=4674;POINT (-38.346431 -3.311449)'))) / (select extract(epoch from '2026-07-17 15:51:38'::timestamp) - extract(epoch from '2026-07-17 15:51:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346452 -3.311312)', '2026-07-17 15:51:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346431 -3.311449)'), GeomFromEWKT('SRID=4674;POINT (-38.346452 -3.311312)'))) / (select extract(epoch from '2026-07-17 15:51:44'::timestamp) - extract(epoch from '2026-07-17 15:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346431 -3.311449)'), GeomFromEWKT('SRID=4674;POINT (-38.346452 -3.311312)'))) / (select extract(epoch from '2026-07-17 15:51:44'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346478 -3.31119)', '2026-07-17 15:51:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346452 -3.311312)'), GeomFromEWKT('SRID=4674;POINT (-38.346478 -3.31119)'))) / (select extract(epoch from '2026-07-17 15:51:49'::timestamp) - extract(epoch from '2026-07-17 15:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346452 -3.311312)'), GeomFromEWKT('SRID=4674;POINT (-38.346478 -3.31119)'))) / (select extract(epoch from '2026-07-17 15:51:49'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.346518 -3.311048)', '2026-07-17 15:51:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346478 -3.31119)'), GeomFromEWKT('SRID=4674;POINT (-38.346518 -3.311048)'))) / (select extract(epoch from '2026-07-17 15:51:55'::timestamp) - extract(epoch from '2026-07-17 15:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346478 -3.31119)'), GeomFromEWKT('SRID=4674;POINT (-38.346518 -3.311048)'))) / (select extract(epoch from '2026-07-17 15:51:55'::timestamp) - extract(epoch from '2026-07-17 15:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346575 -3.310908)', '2026-07-17 15:52:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346518 -3.311048)'), GeomFromEWKT('SRID=4674;POINT (-38.346575 -3.310908)'))) / (select extract(epoch from '2026-07-17 15:52:01'::timestamp) - extract(epoch from '2026-07-17 15:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346518 -3.311048)'), GeomFromEWKT('SRID=4674;POINT (-38.346575 -3.310908)'))) / (select extract(epoch from '2026-07-17 15:52:01'::timestamp) - extract(epoch from '2026-07-17 15:51:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34667 -3.310745)', '2026-07-17 15:52:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346575 -3.310908)'), GeomFromEWKT('SRID=4674;POINT (-38.34667 -3.310745)'))) / (select extract(epoch from '2026-07-17 15:52:08'::timestamp) - extract(epoch from '2026-07-17 15:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346575 -3.310908)'), GeomFromEWKT('SRID=4674;POINT (-38.34667 -3.310745)'))) / (select extract(epoch from '2026-07-17 15:52:08'::timestamp) - extract(epoch from '2026-07-17 15:52:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346822 -3.310591)', '2026-07-17 15:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34667 -3.310745)'), GeomFromEWKT('SRID=4674;POINT (-38.346822 -3.310591)'))) / (select extract(epoch from '2026-07-17 15:52:16'::timestamp) - extract(epoch from '2026-07-17 15:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34667 -3.310745)'), GeomFromEWKT('SRID=4674;POINT (-38.346822 -3.310591)'))) / (select extract(epoch from '2026-07-17 15:52:16'::timestamp) - extract(epoch from '2026-07-17 15:52:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.346941 -3.3105)', '2026-07-17 15:52:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346822 -3.310591)'), GeomFromEWKT('SRID=4674;POINT (-38.346941 -3.3105)'))) / (select extract(epoch from '2026-07-17 15:52:22'::timestamp) - extract(epoch from '2026-07-17 15:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346822 -3.310591)'), GeomFromEWKT('SRID=4674;POINT (-38.346941 -3.3105)'))) / (select extract(epoch from '2026-07-17 15:52:22'::timestamp) - extract(epoch from '2026-07-17 15:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34706 -3.310414)', '2026-07-17 15:52:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346941 -3.3105)'), GeomFromEWKT('SRID=4674;POINT (-38.34706 -3.310414)'))) / (select extract(epoch from '2026-07-17 15:52:28'::timestamp) - extract(epoch from '2026-07-17 15:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.346941 -3.3105)'), GeomFromEWKT('SRID=4674;POINT (-38.34706 -3.310414)'))) / (select extract(epoch from '2026-07-17 15:52:28'::timestamp) - extract(epoch from '2026-07-17 15:52:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347151 -3.310346)', '2026-07-17 15:52:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34706 -3.310414)'), GeomFromEWKT('SRID=4674;POINT (-38.347151 -3.310346)'))) / (select extract(epoch from '2026-07-17 15:52:33'::timestamp) - extract(epoch from '2026-07-17 15:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34706 -3.310414)'), GeomFromEWKT('SRID=4674;POINT (-38.347151 -3.310346)'))) / (select extract(epoch from '2026-07-17 15:52:33'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.347237 -3.310274)', '2026-07-17 15:52:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347151 -3.310346)'), GeomFromEWKT('SRID=4674;POINT (-38.347237 -3.310274)'))) / (select extract(epoch from '2026-07-17 15:52:38'::timestamp) - extract(epoch from '2026-07-17 15:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347151 -3.310346)'), GeomFromEWKT('SRID=4674;POINT (-38.347237 -3.310274)'))) / (select extract(epoch from '2026-07-17 15:52:38'::timestamp) - extract(epoch from '2026-07-17 15:52:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347344 -3.310177)', '2026-07-17 15:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347237 -3.310274)'), GeomFromEWKT('SRID=4674;POINT (-38.347344 -3.310177)'))) / (select extract(epoch from '2026-07-17 15:52:45'::timestamp) - extract(epoch from '2026-07-17 15:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347237 -3.310274)'), GeomFromEWKT('SRID=4674;POINT (-38.347344 -3.310177)'))) / (select extract(epoch from '2026-07-17 15:52:45'::timestamp) - extract(epoch from '2026-07-17 15:52:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347426 -3.310086)', '2026-07-17 15:52:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347344 -3.310177)'), GeomFromEWKT('SRID=4674;POINT (-38.347426 -3.310086)'))) / (select extract(epoch from '2026-07-17 15:52:51'::timestamp) - extract(epoch from '2026-07-17 15:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347344 -3.310177)'), GeomFromEWKT('SRID=4674;POINT (-38.347426 -3.310086)'))) / (select extract(epoch from '2026-07-17 15:52:51'::timestamp) - extract(epoch from '2026-07-17 15:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347522 -3.309979)', '2026-07-17 15:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347426 -3.310086)'), GeomFromEWKT('SRID=4674;POINT (-38.347522 -3.309979)'))) / (select extract(epoch from '2026-07-17 15:52:58'::timestamp) - extract(epoch from '2026-07-17 15:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347426 -3.310086)'), GeomFromEWKT('SRID=4674;POINT (-38.347522 -3.309979)'))) / (select extract(epoch from '2026-07-17 15:52:58'::timestamp) - extract(epoch from '2026-07-17 15:52:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347635 -3.309885)', '2026-07-17 15:53:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347522 -3.309979)'), GeomFromEWKT('SRID=4674;POINT (-38.347635 -3.309885)'))) / (select extract(epoch from '2026-07-17 15:53:05'::timestamp) - extract(epoch from '2026-07-17 15:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347522 -3.309979)'), GeomFromEWKT('SRID=4674;POINT (-38.347635 -3.309885)'))) / (select extract(epoch from '2026-07-17 15:53:05'::timestamp) - extract(epoch from '2026-07-17 15:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34774 -3.309818)', '2026-07-17 15:53:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347635 -3.309885)'), GeomFromEWKT('SRID=4674;POINT (-38.34774 -3.309818)'))) / (select extract(epoch from '2026-07-17 15:53:11'::timestamp) - extract(epoch from '2026-07-17 15:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347635 -3.309885)'), GeomFromEWKT('SRID=4674;POINT (-38.34774 -3.309818)'))) / (select extract(epoch from '2026-07-17 15:53:11'::timestamp) - extract(epoch from '2026-07-17 15:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347845 -3.309751)', '2026-07-17 15:53:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34774 -3.309818)'), GeomFromEWKT('SRID=4674;POINT (-38.347845 -3.309751)'))) / (select extract(epoch from '2026-07-17 15:53:17'::timestamp) - extract(epoch from '2026-07-17 15:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34774 -3.309818)'), GeomFromEWKT('SRID=4674;POINT (-38.347845 -3.309751)'))) / (select extract(epoch from '2026-07-17 15:53:17'::timestamp) - extract(epoch from '2026-07-17 15:53:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.347933 -3.30969)', '2026-07-17 15:53:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347845 -3.309751)'), GeomFromEWKT('SRID=4674;POINT (-38.347933 -3.30969)'))) / (select extract(epoch from '2026-07-17 15:53:22'::timestamp) - extract(epoch from '2026-07-17 15:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347845 -3.309751)'), GeomFromEWKT('SRID=4674;POINT (-38.347933 -3.30969)'))) / (select extract(epoch from '2026-07-17 15:53:22'::timestamp) - extract(epoch from '2026-07-17 15:53:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34804 -3.309633)', '2026-07-17 15:53:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347933 -3.30969)'), GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.309633)'))) / (select extract(epoch from '2026-07-17 15:53:28'::timestamp) - extract(epoch from '2026-07-17 15:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.347933 -3.30969)'), GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.309633)'))) / (select extract(epoch from '2026-07-17 15:53:28'::timestamp) - extract(epoch from '2026-07-17 15:53:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348146 -3.309579)', '2026-07-17 15:53:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.309633)'), GeomFromEWKT('SRID=4674;POINT (-38.348146 -3.309579)'))) / (select extract(epoch from '2026-07-17 15:53:34'::timestamp) - extract(epoch from '2026-07-17 15:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34804 -3.309633)'), GeomFromEWKT('SRID=4674;POINT (-38.348146 -3.309579)'))) / (select extract(epoch from '2026-07-17 15:53:34'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.348241 -3.309539)', '2026-07-17 15:53:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348146 -3.309579)'), GeomFromEWKT('SRID=4674;POINT (-38.348241 -3.309539)'))) / (select extract(epoch from '2026-07-17 15:53:39'::timestamp) - extract(epoch from '2026-07-17 15:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348146 -3.309579)'), GeomFromEWKT('SRID=4674;POINT (-38.348241 -3.309539)'))) / (select extract(epoch from '2026-07-17 15:53:39'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.34835 -3.30949)', '2026-07-17 15:53:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348241 -3.309539)'), GeomFromEWKT('SRID=4674;POINT (-38.34835 -3.30949)'))) / (select extract(epoch from '2026-07-17 15:53:45'::timestamp) - extract(epoch from '2026-07-17 15:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348241 -3.309539)'), GeomFromEWKT('SRID=4674;POINT (-38.34835 -3.30949)'))) / (select extract(epoch from '2026-07-17 15:53:45'::timestamp) - extract(epoch from '2026-07-17 15:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.34846 -3.309433)', '2026-07-17 15:53:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34835 -3.30949)'), GeomFromEWKT('SRID=4674;POINT (-38.34846 -3.309433)'))) / (select extract(epoch from '2026-07-17 15:53:51'::timestamp) - extract(epoch from '2026-07-17 15:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34835 -3.30949)'), GeomFromEWKT('SRID=4674;POINT (-38.34846 -3.309433)'))) / (select extract(epoch from '2026-07-17 15:53:51'::timestamp) - extract(epoch from '2026-07-17 15:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348564 -3.309381)', '2026-07-17 15:53:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34846 -3.309433)'), GeomFromEWKT('SRID=4674;POINT (-38.348564 -3.309381)'))) / (select extract(epoch from '2026-07-17 15:53:56'::timestamp) - extract(epoch from '2026-07-17 15:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34846 -3.309433)'), GeomFromEWKT('SRID=4674;POINT (-38.348564 -3.309381)'))) / (select extract(epoch from '2026-07-17 15:53:56'::timestamp) - extract(epoch from '2026-07-17 15:53:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348645 -3.30934)', '2026-07-17 15:54:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348564 -3.309381)'), GeomFromEWKT('SRID=4674;POINT (-38.348645 -3.30934)'))) / (select extract(epoch from '2026-07-17 15:54:00'::timestamp) - extract(epoch from '2026-07-17 15:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348564 -3.309381)'), GeomFromEWKT('SRID=4674;POINT (-38.348645 -3.30934)'))) / (select extract(epoch from '2026-07-17 15:54:00'::timestamp) - extract(epoch from '2026-07-17 15:53:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348761 -3.309262)', '2026-07-17 15:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348645 -3.30934)'), GeomFromEWKT('SRID=4674;POINT (-38.348761 -3.309262)'))) / (select extract(epoch from '2026-07-17 15:54:07'::timestamp) - extract(epoch from '2026-07-17 15:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348645 -3.30934)'), GeomFromEWKT('SRID=4674;POINT (-38.348761 -3.309262)'))) / (select extract(epoch from '2026-07-17 15:54:07'::timestamp) - extract(epoch from '2026-07-17 15:54:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348858 -3.309215)', '2026-07-17 15:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348761 -3.309262)'), GeomFromEWKT('SRID=4674;POINT (-38.348858 -3.309215)'))) / (select extract(epoch from '2026-07-17 15:54:11'::timestamp) - extract(epoch from '2026-07-17 15:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348761 -3.309262)'), GeomFromEWKT('SRID=4674;POINT (-38.348858 -3.309215)'))) / (select extract(epoch from '2026-07-17 15:54:11'::timestamp) - extract(epoch from '2026-07-17 15:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.348938 -3.309161)', '2026-07-17 15:54:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348858 -3.309215)'), GeomFromEWKT('SRID=4674;POINT (-38.348938 -3.309161)'))) / (select extract(epoch from '2026-07-17 15:54:16'::timestamp) - extract(epoch from '2026-07-17 15:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348858 -3.309215)'), GeomFromEWKT('SRID=4674;POINT (-38.348938 -3.309161)'))) / (select extract(epoch from '2026-07-17 15:54:16'::timestamp) - extract(epoch from '2026-07-17 15:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349027 -3.309112)', '2026-07-17 15:54:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348938 -3.309161)'), GeomFromEWKT('SRID=4674;POINT (-38.349027 -3.309112)'))) / (select extract(epoch from '2026-07-17 15:54:21'::timestamp) - extract(epoch from '2026-07-17 15:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.348938 -3.309161)'), GeomFromEWKT('SRID=4674;POINT (-38.349027 -3.309112)'))) / (select extract(epoch from '2026-07-17 15:54:21'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.34915 -3.309062)', '2026-07-17 15:54:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349027 -3.309112)'), GeomFromEWKT('SRID=4674;POINT (-38.34915 -3.309062)'))) / (select extract(epoch from '2026-07-17 15:54:27'::timestamp) - extract(epoch from '2026-07-17 15:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349027 -3.309112)'), GeomFromEWKT('SRID=4674;POINT (-38.34915 -3.309062)'))) / (select extract(epoch from '2026-07-17 15:54:27'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.349254 -3.309036)', '2026-07-17 15:54:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34915 -3.309062)'), GeomFromEWKT('SRID=4674;POINT (-38.349254 -3.309036)'))) / (select extract(epoch from '2026-07-17 15:54:32'::timestamp) - extract(epoch from '2026-07-17 15:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.34915 -3.309062)'), GeomFromEWKT('SRID=4674;POINT (-38.349254 -3.309036)'))) / (select extract(epoch from '2026-07-17 15:54:32'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.349367 -3.309005)', '2026-07-17 15:54:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349254 -3.309036)'), GeomFromEWKT('SRID=4674;POINT (-38.349367 -3.309005)'))) / (select extract(epoch from '2026-07-17 15:54:38'::timestamp) - extract(epoch from '2026-07-17 15:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349254 -3.309036)'), GeomFromEWKT('SRID=4674;POINT (-38.349367 -3.309005)'))) / (select extract(epoch from '2026-07-17 15:54:38'::timestamp) - extract(epoch from '2026-07-17 15:54:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349523 -3.308981)', '2026-07-17 15:54:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349367 -3.309005)'), GeomFromEWKT('SRID=4674;POINT (-38.349523 -3.308981)'))) / (select extract(epoch from '2026-07-17 15:54:46'::timestamp) - extract(epoch from '2026-07-17 15:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349367 -3.309005)'), GeomFromEWKT('SRID=4674;POINT (-38.349523 -3.308981)'))) / (select extract(epoch from '2026-07-17 15:54:46'::timestamp) - extract(epoch from '2026-07-17 15:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349662 -3.308964)', '2026-07-17 15:54:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349523 -3.308981)'), GeomFromEWKT('SRID=4674;POINT (-38.349662 -3.308964)'))) / (select extract(epoch from '2026-07-17 15:54:53'::timestamp) - extract(epoch from '2026-07-17 15:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349523 -3.308981)'), GeomFromEWKT('SRID=4674;POINT (-38.349662 -3.308964)'))) / (select extract(epoch from '2026-07-17 15:54:53'::timestamp) - extract(epoch from '2026-07-17 15:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.349796 -3.30892)', '2026-07-17 15:55:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349662 -3.308964)'), GeomFromEWKT('SRID=4674;POINT (-38.349796 -3.30892)'))) / (select extract(epoch from '2026-07-17 15:55:00'::timestamp) - extract(epoch from '2026-07-17 15:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349662 -3.308964)'), GeomFromEWKT('SRID=4674;POINT (-38.349796 -3.30892)'))) / (select extract(epoch from '2026-07-17 15:55:00'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.349913 -3.308872)', '2026-07-17 15:55:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349796 -3.30892)'), GeomFromEWKT('SRID=4674;POINT (-38.349913 -3.308872)'))) / (select extract(epoch from '2026-07-17 15:55:06'::timestamp) - extract(epoch from '2026-07-17 15:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349796 -3.30892)'), GeomFromEWKT('SRID=4674;POINT (-38.349913 -3.308872)'))) / (select extract(epoch from '2026-07-17 15:55:06'::timestamp) - extract(epoch from '2026-07-17 15:55:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350014 -3.308793)', '2026-07-17 15:55:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349913 -3.308872)'), GeomFromEWKT('SRID=4674;POINT (-38.350014 -3.308793)'))) / (select extract(epoch from '2026-07-17 15:55:12'::timestamp) - extract(epoch from '2026-07-17 15:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.349913 -3.308872)'), GeomFromEWKT('SRID=4674;POINT (-38.350014 -3.308793)'))) / (select extract(epoch from '2026-07-17 15:55:12'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.350099 -3.308716)', '2026-07-17 15:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350014 -3.308793)'), GeomFromEWKT('SRID=4674;POINT (-38.350099 -3.308716)'))) / (select extract(epoch from '2026-07-17 15:55:19'::timestamp) - extract(epoch from '2026-07-17 15:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350014 -3.308793)'), GeomFromEWKT('SRID=4674;POINT (-38.350099 -3.308716)'))) / (select extract(epoch from '2026-07-17 15:55:19'::timestamp) - extract(epoch from '2026-07-17 15:55:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350156 -3.30868)', '2026-07-17 15:55:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350099 -3.308716)'), GeomFromEWKT('SRID=4674;POINT (-38.350156 -3.30868)'))) / (select extract(epoch from '2026-07-17 15:55:23'::timestamp) - extract(epoch from '2026-07-17 15:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350099 -3.308716)'), GeomFromEWKT('SRID=4674;POINT (-38.350156 -3.30868)'))) / (select extract(epoch from '2026-07-17 15:55:23'::timestamp) - extract(epoch from '2026-07-17 15:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350236 -3.308643)', '2026-07-17 15:55:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350156 -3.30868)'), GeomFromEWKT('SRID=4674;POINT (-38.350236 -3.308643)'))) / (select extract(epoch from '2026-07-17 15:55:29'::timestamp) - extract(epoch from '2026-07-17 15:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350156 -3.30868)'), GeomFromEWKT('SRID=4674;POINT (-38.350236 -3.308643)'))) / (select extract(epoch from '2026-07-17 15:55:29'::timestamp) - extract(epoch from '2026-07-17 15:55:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350305 -3.308623)', '2026-07-17 15:55:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350236 -3.308643)'), GeomFromEWKT('SRID=4674;POINT (-38.350305 -3.308623)'))) / (select extract(epoch from '2026-07-17 15:55:35'::timestamp) - extract(epoch from '2026-07-17 15:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350236 -3.308643)'), GeomFromEWKT('SRID=4674;POINT (-38.350305 -3.308623)'))) / (select extract(epoch from '2026-07-17 15:55:35'::timestamp) - extract(epoch from '2026-07-17 15:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350349 -3.308616)', '2026-07-17 15:55:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350305 -3.308623)'), GeomFromEWKT('SRID=4674;POINT (-38.350349 -3.308616)'))) / (select extract(epoch from '2026-07-17 15:55:41'::timestamp) - extract(epoch from '2026-07-17 15:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350305 -3.308623)'), GeomFromEWKT('SRID=4674;POINT (-38.350349 -3.308616)'))) / (select extract(epoch from '2026-07-17 15:55:41'::timestamp) - extract(epoch from '2026-07-17 15:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350395 -3.308611)', '2026-07-17 15:55:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350349 -3.308616)'), GeomFromEWKT('SRID=4674;POINT (-38.350395 -3.308611)'))) / (select extract(epoch from '2026-07-17 15:55:46'::timestamp) - extract(epoch from '2026-07-17 15:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350349 -3.308616)'), GeomFromEWKT('SRID=4674;POINT (-38.350395 -3.308611)'))) / (select extract(epoch from '2026-07-17 15:55:46'::timestamp) - extract(epoch from '2026-07-17 15:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350491 -3.308593)', '2026-07-17 15:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350395 -3.308611)'), GeomFromEWKT('SRID=4674;POINT (-38.350491 -3.308593)'))) / (select extract(epoch from '2026-07-17 15:55:56'::timestamp) - extract(epoch from '2026-07-17 15:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350395 -3.308611)'), GeomFromEWKT('SRID=4674;POINT (-38.350491 -3.308593)'))) / (select extract(epoch from '2026-07-17 15:55:56'::timestamp) - extract(epoch from '2026-07-17 15:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350612 -3.308562)', '2026-07-17 15:56:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350491 -3.308593)'), GeomFromEWKT('SRID=4674;POINT (-38.350612 -3.308562)'))) / (select extract(epoch from '2026-07-17 15:56:07'::timestamp) - extract(epoch from '2026-07-17 15:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350491 -3.308593)'), GeomFromEWKT('SRID=4674;POINT (-38.350612 -3.308562)'))) / (select extract(epoch from '2026-07-17 15:56:07'::timestamp) - extract(epoch from '2026-07-17 15:55:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35069 -3.308557)', '2026-07-17 15:56:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350612 -3.308562)'), GeomFromEWKT('SRID=4674;POINT (-38.35069 -3.308557)'))) / (select extract(epoch from '2026-07-17 15:56:14'::timestamp) - extract(epoch from '2026-07-17 15:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350612 -3.308562)'), GeomFromEWKT('SRID=4674;POINT (-38.35069 -3.308557)'))) / (select extract(epoch from '2026-07-17 15:56:14'::timestamp) - extract(epoch from '2026-07-17 15:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350753 -3.308553)', '2026-07-17 15:56:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35069 -3.308557)'), GeomFromEWKT('SRID=4674;POINT (-38.350753 -3.308553)'))) / (select extract(epoch from '2026-07-17 15:56:20'::timestamp) - extract(epoch from '2026-07-17 15:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35069 -3.308557)'), GeomFromEWKT('SRID=4674;POINT (-38.350753 -3.308553)'))) / (select extract(epoch from '2026-07-17 15:56:20'::timestamp) - extract(epoch from '2026-07-17 15:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350764 -3.308551)', '2026-07-17 15:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350753 -3.308553)'), GeomFromEWKT('SRID=4674;POINT (-38.350764 -3.308551)'))) / (select extract(epoch from '2026-07-17 15:56:21'::timestamp) - extract(epoch from '2026-07-17 15:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350753 -3.308553)'), GeomFromEWKT('SRID=4674;POINT (-38.350764 -3.308551)'))) / (select extract(epoch from '2026-07-17 15:56:21'::timestamp) - extract(epoch from '2026-07-17 15:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350881 -3.308524)', '2026-07-17 15:56:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350764 -3.308551)'), GeomFromEWKT('SRID=4674;POINT (-38.350881 -3.308524)'))) / (select extract(epoch from '2026-07-17 15:56:32'::timestamp) - extract(epoch from '2026-07-17 15:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350764 -3.308551)'), GeomFromEWKT('SRID=4674;POINT (-38.350881 -3.308524)'))) / (select extract(epoch from '2026-07-17 15:56:32'::timestamp) - extract(epoch from '2026-07-17 15:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.350994 -3.308499)', '2026-07-17 15:56:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350881 -3.308524)'), GeomFromEWKT('SRID=4674;POINT (-38.350994 -3.308499)'))) / (select extract(epoch from '2026-07-17 15:56:43'::timestamp) - extract(epoch from '2026-07-17 15:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350881 -3.308524)'), GeomFromEWKT('SRID=4674;POINT (-38.350994 -3.308499)'))) / (select extract(epoch from '2026-07-17 15:56:43'::timestamp) - extract(epoch from '2026-07-17 15:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351054 -3.308498)', '2026-07-17 15:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350994 -3.308499)'), GeomFromEWKT('SRID=4674;POINT (-38.351054 -3.308498)'))) / (select extract(epoch from '2026-07-17 15:56:48'::timestamp) - extract(epoch from '2026-07-17 15:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.350994 -3.308499)'), GeomFromEWKT('SRID=4674;POINT (-38.351054 -3.308498)'))) / (select extract(epoch from '2026-07-17 15:56:48'::timestamp) - extract(epoch from '2026-07-17 15:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351139 -3.30848)', '2026-07-17 15:56:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351054 -3.308498)'), GeomFromEWKT('SRID=4674;POINT (-38.351139 -3.30848)'))) / (select extract(epoch from '2026-07-17 15:56:57'::timestamp) - extract(epoch from '2026-07-17 15:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351054 -3.308498)'), GeomFromEWKT('SRID=4674;POINT (-38.351139 -3.30848)'))) / (select extract(epoch from '2026-07-17 15:56:57'::timestamp) - extract(epoch from '2026-07-17 15:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351226 -3.308457)', '2026-07-17 15:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351139 -3.30848)'), GeomFromEWKT('SRID=4674;POINT (-38.351226 -3.308457)'))) / (select extract(epoch from '2026-07-17 15:57:06'::timestamp) - extract(epoch from '2026-07-17 15:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351139 -3.30848)'), GeomFromEWKT('SRID=4674;POINT (-38.351226 -3.308457)'))) / (select extract(epoch from '2026-07-17 15:57:06'::timestamp) - extract(epoch from '2026-07-17 15:56:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351362 -3.308434)', '2026-07-17 15:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351226 -3.308457)'), GeomFromEWKT('SRID=4674;POINT (-38.351362 -3.308434)'))) / (select extract(epoch from '2026-07-17 15:57:19'::timestamp) - extract(epoch from '2026-07-17 15:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351226 -3.308457)'), GeomFromEWKT('SRID=4674;POINT (-38.351362 -3.308434)'))) / (select extract(epoch from '2026-07-17 15:57:19'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.351431 -3.308428)', '2026-07-17 15:57:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351362 -3.308434)'), GeomFromEWKT('SRID=4674;POINT (-38.351431 -3.308428)'))) / (select extract(epoch from '2026-07-17 15:57:25'::timestamp) - extract(epoch from '2026-07-17 15:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351362 -3.308434)'), GeomFromEWKT('SRID=4674;POINT (-38.351431 -3.308428)'))) / (select extract(epoch from '2026-07-17 15:57:25'::timestamp) - extract(epoch from '2026-07-17 15:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351504 -3.308416)', '2026-07-17 15:57:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351431 -3.308428)'), GeomFromEWKT('SRID=4674;POINT (-38.351504 -3.308416)'))) / (select extract(epoch from '2026-07-17 15:57:32'::timestamp) - extract(epoch from '2026-07-17 15:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351431 -3.308428)'), GeomFromEWKT('SRID=4674;POINT (-38.351504 -3.308416)'))) / (select extract(epoch from '2026-07-17 15:57:32'::timestamp) - extract(epoch from '2026-07-17 15:57:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351628 -3.308386)', '2026-07-17 15:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351504 -3.308416)'), GeomFromEWKT('SRID=4674;POINT (-38.351628 -3.308386)'))) / (select extract(epoch from '2026-07-17 15:57:44'::timestamp) - extract(epoch from '2026-07-17 15:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351504 -3.308416)'), GeomFromEWKT('SRID=4674;POINT (-38.351628 -3.308386)'))) / (select extract(epoch from '2026-07-17 15:57:44'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.351699 -3.308383)', '2026-07-17 15:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351628 -3.308386)'), GeomFromEWKT('SRID=4674;POINT (-38.351699 -3.308383)'))) / (select extract(epoch from '2026-07-17 15:57:54'::timestamp) - extract(epoch from '2026-07-17 15:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351628 -3.308386)'), GeomFromEWKT('SRID=4674;POINT (-38.351699 -3.308383)'))) / (select extract(epoch from '2026-07-17 15:57:54'::timestamp) - extract(epoch from '2026-07-17 15:57:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351775 -3.308355)', '2026-07-17 15:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351699 -3.308383)'), GeomFromEWKT('SRID=4674;POINT (-38.351775 -3.308355)'))) / (select extract(epoch from '2026-07-17 15:58:04'::timestamp) - extract(epoch from '2026-07-17 15:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351699 -3.308383)'), GeomFromEWKT('SRID=4674;POINT (-38.351775 -3.308355)'))) / (select extract(epoch from '2026-07-17 15:58:04'::timestamp) - extract(epoch from '2026-07-17 15:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351879 -3.308297)', '2026-07-17 15:58:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351775 -3.308355)'), GeomFromEWKT('SRID=4674;POINT (-38.351879 -3.308297)'))) / (select extract(epoch from '2026-07-17 15:58:18'::timestamp) - extract(epoch from '2026-07-17 15:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351775 -3.308355)'), GeomFromEWKT('SRID=4674;POINT (-38.351879 -3.308297)'))) / (select extract(epoch from '2026-07-17 15:58:18'::timestamp) - extract(epoch from '2026-07-17 15:58:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.351996 -3.308252)', '2026-07-17 15:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351879 -3.308297)'), GeomFromEWKT('SRID=4674;POINT (-38.351996 -3.308252)'))) / (select extract(epoch from '2026-07-17 15:58:33'::timestamp) - extract(epoch from '2026-07-17 15:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351879 -3.308297)'), GeomFromEWKT('SRID=4674;POINT (-38.351996 -3.308252)'))) / (select extract(epoch from '2026-07-17 15:58:33'::timestamp) - extract(epoch from '2026-07-17 15: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'), 47391, 'SRID=4674;POINT (-38.352015 -3.308215)', '2026-07-17 15:58:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351996 -3.308252)'), GeomFromEWKT('SRID=4674;POINT (-38.352015 -3.308215)'))) / (select extract(epoch from '2026-07-17 15:58:42'::timestamp) - extract(epoch from '2026-07-17 15:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.351996 -3.308252)'), GeomFromEWKT('SRID=4674;POINT (-38.352015 -3.308215)'))) / (select extract(epoch from '2026-07-17 15:58:42'::timestamp) - extract(epoch from '2026-07-17 15:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352074 -3.308199)', '2026-07-17 15:59:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352015 -3.308215)'), GeomFromEWKT('SRID=4674;POINT (-38.352074 -3.308199)'))) / (select extract(epoch from '2026-07-17 15:59:04'::timestamp) - extract(epoch from '2026-07-17 15:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352015 -3.308215)'), GeomFromEWKT('SRID=4674;POINT (-38.352074 -3.308199)'))) / (select extract(epoch from '2026-07-17 15:59:04'::timestamp) - extract(epoch from '2026-07-17 15:58:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352119 -3.308175)', '2026-07-17 15:59:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352074 -3.308199)'), GeomFromEWKT('SRID=4674;POINT (-38.352119 -3.308175)'))) / (select extract(epoch from '2026-07-17 15:59:10'::timestamp) - extract(epoch from '2026-07-17 15:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352074 -3.308199)'), GeomFromEWKT('SRID=4674;POINT (-38.352119 -3.308175)'))) / (select extract(epoch from '2026-07-17 15:59:10'::timestamp) - extract(epoch from '2026-07-17 15:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352159 -3.308143)', '2026-07-17 15:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352119 -3.308175)'), GeomFromEWKT('SRID=4674;POINT (-38.352159 -3.308143)'))) / (select extract(epoch from '2026-07-17 15:59:20'::timestamp) - extract(epoch from '2026-07-17 15:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352119 -3.308175)'), GeomFromEWKT('SRID=4674;POINT (-38.352159 -3.308143)'))) / (select extract(epoch from '2026-07-17 15:59:20'::timestamp) - extract(epoch from '2026-07-17 15:59:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35217 -3.30813)', '2026-07-17 15:59:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352159 -3.308143)'), GeomFromEWKT('SRID=4674;POINT (-38.35217 -3.30813)'))) / (select extract(epoch from '2026-07-17 15:59:27'::timestamp) - extract(epoch from '2026-07-17 15:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352159 -3.308143)'), GeomFromEWKT('SRID=4674;POINT (-38.35217 -3.30813)'))) / (select extract(epoch from '2026-07-17 15:59:27'::timestamp) - extract(epoch from '2026-07-17 15:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352165 -3.30813)', '2026-07-17 15:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35217 -3.30813)'), GeomFromEWKT('SRID=4674;POINT (-38.352165 -3.30813)'))) / (select extract(epoch from '2026-07-17 15:59:36'::timestamp) - extract(epoch from '2026-07-17 15:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35217 -3.30813)'), GeomFromEWKT('SRID=4674;POINT (-38.352165 -3.30813)'))) / (select extract(epoch from '2026-07-17 15:59:36'::timestamp) - extract(epoch from '2026-07-17 15:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352151 -3.308113)', '2026-07-17 16:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352165 -3.30813)'), GeomFromEWKT('SRID=4674;POINT (-38.352151 -3.308113)'))) / (select extract(epoch from '2026-07-17 16:00:16'::timestamp) - extract(epoch from '2026-07-17 15:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352165 -3.30813)'), GeomFromEWKT('SRID=4674;POINT (-38.352151 -3.308113)'))) / (select extract(epoch from '2026-07-17 16:00:16'::timestamp) - extract(epoch from '2026-07-17 15:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352131 -3.308065)', '2026-07-17 16:01:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352151 -3.308113)'), GeomFromEWKT('SRID=4674;POINT (-38.352131 -3.308065)'))) / (select extract(epoch from '2026-07-17 16:01:21'::timestamp) - extract(epoch from '2026-07-17 16:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352151 -3.308113)'), GeomFromEWKT('SRID=4674;POINT (-38.352131 -3.308065)'))) / (select extract(epoch from '2026-07-17 16:01:21'::timestamp) - extract(epoch from '2026-07-17 16:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352111 -3.308059)', '2026-07-17 16:01:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352131 -3.308065)'), GeomFromEWKT('SRID=4674;POINT (-38.352111 -3.308059)'))) / (select extract(epoch from '2026-07-17 16:01:56'::timestamp) - extract(epoch from '2026-07-17 16:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352131 -3.308065)'), GeomFromEWKT('SRID=4674;POINT (-38.352111 -3.308059)'))) / (select extract(epoch from '2026-07-17 16:01:56'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47391, 'SRID=4674;POINT (-38.352115 -3.30804)', '2026-07-17 16:02:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352111 -3.308059)'), GeomFromEWKT('SRID=4674;POINT (-38.352115 -3.30804)'))) / (select extract(epoch from '2026-07-17 16:02:38'::timestamp) - extract(epoch from '2026-07-17 16:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352111 -3.308059)'), GeomFromEWKT('SRID=4674;POINT (-38.352115 -3.30804)'))) / (select extract(epoch from '2026-07-17 16:02:38'::timestamp) - extract(epoch from '2026-07-17 16:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352128 -3.308003)', '2026-07-17 16:03:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352115 -3.30804)'), GeomFromEWKT('SRID=4674;POINT (-38.352128 -3.308003)'))) / (select extract(epoch from '2026-07-17 16:03:44'::timestamp) - extract(epoch from '2026-07-17 16:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352115 -3.30804)'), GeomFromEWKT('SRID=4674;POINT (-38.352128 -3.308003)'))) / (select extract(epoch from '2026-07-17 16:03:44'::timestamp) - extract(epoch from '2026-07-17 16: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'), 47391, 'SRID=4674;POINT (-38.352175 -3.307975)', '2026-07-17 16:03:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352128 -3.308003)'), GeomFromEWKT('SRID=4674;POINT (-38.352175 -3.307975)'))) / (select extract(epoch from '2026-07-17 16:03:52'::timestamp) - extract(epoch from '2026-07-17 16:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352128 -3.308003)'), GeomFromEWKT('SRID=4674;POINT (-38.352175 -3.307975)'))) / (select extract(epoch from '2026-07-17 16:03:52'::timestamp) - extract(epoch from '2026-07-17 16:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352232 -3.307941)', '2026-07-17 16:04:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352175 -3.307975)'), GeomFromEWKT('SRID=4674;POINT (-38.352232 -3.307941)'))) / (select extract(epoch from '2026-07-17 16:04:01'::timestamp) - extract(epoch from '2026-07-17 16:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352175 -3.307975)'), GeomFromEWKT('SRID=4674;POINT (-38.352232 -3.307941)'))) / (select extract(epoch from '2026-07-17 16:04:01'::timestamp) - extract(epoch from '2026-07-17 16:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35225 -3.307933)', '2026-07-17 16:04:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352232 -3.307941)'), GeomFromEWKT('SRID=4674;POINT (-38.35225 -3.307933)'))) / (select extract(epoch from '2026-07-17 16:04:07'::timestamp) - extract(epoch from '2026-07-17 16:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352232 -3.307941)'), GeomFromEWKT('SRID=4674;POINT (-38.35225 -3.307933)'))) / (select extract(epoch from '2026-07-17 16:04:07'::timestamp) - extract(epoch from '2026-07-17 16:04:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352232 -3.307925)', '2026-07-17 16:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35225 -3.307933)'), GeomFromEWKT('SRID=4674;POINT (-38.352232 -3.307925)'))) / (select extract(epoch from '2026-07-17 16:04:30'::timestamp) - extract(epoch from '2026-07-17 16:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35225 -3.307933)'), GeomFromEWKT('SRID=4674;POINT (-38.352232 -3.307925)'))) / (select extract(epoch from '2026-07-17 16:04:30'::timestamp) - extract(epoch from '2026-07-17 16:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352246 -3.307916)', '2026-07-17 16:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352232 -3.307925)'), GeomFromEWKT('SRID=4674;POINT (-38.352246 -3.307916)'))) / (select extract(epoch from '2026-07-17 16:04:35'::timestamp) - extract(epoch from '2026-07-17 16:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352232 -3.307925)'), GeomFromEWKT('SRID=4674;POINT (-38.352246 -3.307916)'))) / (select extract(epoch from '2026-07-17 16:04:35'::timestamp) - extract(epoch from '2026-07-17 16:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352251 -3.307893)', '2026-07-17 16:04:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352246 -3.307916)'), GeomFromEWKT('SRID=4674;POINT (-38.352251 -3.307893)'))) / (select extract(epoch from '2026-07-17 16:04:54'::timestamp) - extract(epoch from '2026-07-17 16:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352246 -3.307916)'), GeomFromEWKT('SRID=4674;POINT (-38.352251 -3.307893)'))) / (select extract(epoch from '2026-07-17 16:04:54'::timestamp) - extract(epoch from '2026-07-17 16:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352243 -3.307888)', '2026-07-17 16:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352251 -3.307893)'), GeomFromEWKT('SRID=4674;POINT (-38.352243 -3.307888)'))) / (select extract(epoch from '2026-07-17 16:05:04'::timestamp) - extract(epoch from '2026-07-17 16:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352251 -3.307893)'), GeomFromEWKT('SRID=4674;POINT (-38.352243 -3.307888)'))) / (select extract(epoch from '2026-07-17 16:05:04'::timestamp) - extract(epoch from '2026-07-17 16:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352237 -3.307899)', '2026-07-17 16:07:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352243 -3.307888)'), GeomFromEWKT('SRID=4674;POINT (-38.352237 -3.307899)'))) / (select extract(epoch from '2026-07-17 16:07:05'::timestamp) - extract(epoch from '2026-07-17 16:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352243 -3.307888)'), GeomFromEWKT('SRID=4674;POINT (-38.352237 -3.307899)'))) / (select extract(epoch from '2026-07-17 16:07:05'::timestamp) - extract(epoch from '2026-07-17 16:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352237 -3.307899)', '2026-07-17 16:08:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352237 -3.307899)'), GeomFromEWKT('SRID=4674;POINT (-38.352237 -3.307899)'))) / (select extract(epoch from '2026-07-17 16:08:00'::timestamp) - extract(epoch from '2026-07-17 16:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352237 -3.307899)'), GeomFromEWKT('SRID=4674;POINT (-38.352237 -3.307899)'))) / (select extract(epoch from '2026-07-17 16:08:00'::timestamp) - extract(epoch from '2026-07-17 16:07:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352155 -3.307637)', '2026-07-17 19:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352237 -3.307899)'), GeomFromEWKT('SRID=4674;POINT (-38.352155 -3.307637)'))) / (select extract(epoch from '2026-07-17 19:14:39'::timestamp) - extract(epoch from '2026-07-17 16:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352237 -3.307899)'), GeomFromEWKT('SRID=4674;POINT (-38.352155 -3.307637)'))) / (select extract(epoch from '2026-07-17 19:14:39'::timestamp) - extract(epoch from '2026-07-17 16:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352135 -3.307647)', '2026-07-17 19:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352155 -3.307637)'), GeomFromEWKT('SRID=4674;POINT (-38.352135 -3.307647)'))) / (select extract(epoch from '2026-07-17 19:14:45'::timestamp) - extract(epoch from '2026-07-17 19:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352155 -3.307637)'), GeomFromEWKT('SRID=4674;POINT (-38.352135 -3.307647)'))) / (select extract(epoch from '2026-07-17 19:14:45'::timestamp) - extract(epoch from '2026-07-17 19:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35212 -3.307661)', '2026-07-17 19:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352135 -3.307647)'), GeomFromEWKT('SRID=4674;POINT (-38.35212 -3.307661)'))) / (select extract(epoch from '2026-07-17 19:14:51'::timestamp) - extract(epoch from '2026-07-17 19:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352135 -3.307647)'), GeomFromEWKT('SRID=4674;POINT (-38.35212 -3.307661)'))) / (select extract(epoch from '2026-07-17 19:14:51'::timestamp) - extract(epoch from '2026-07-17 19:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35212 -3.307658)', '2026-07-17 19:14:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35212 -3.307661)'), GeomFromEWKT('SRID=4674;POINT (-38.35212 -3.307658)'))) / (select extract(epoch from '2026-07-17 19:14:55'::timestamp) - extract(epoch from '2026-07-17 19:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35212 -3.307661)'), GeomFromEWKT('SRID=4674;POINT (-38.35212 -3.307658)'))) / (select extract(epoch from '2026-07-17 19:14:55'::timestamp) - extract(epoch from '2026-07-17 19:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352218 -3.307808)', '2026-07-18 03:11:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35212 -3.307658)'), GeomFromEWKT('SRID=4674;POINT (-38.352218 -3.307808)'))) / (select extract(epoch from '2026-07-18 03:11:54'::timestamp) - extract(epoch from '2026-07-17 19:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35212 -3.307658)'), GeomFromEWKT('SRID=4674;POINT (-38.352218 -3.307808)'))) / (select extract(epoch from '2026-07-18 03:11:54'::timestamp) - extract(epoch from '2026-07-17 19:14:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352332 -3.307738)', '2026-07-18 03:12:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352218 -3.307808)'), GeomFromEWKT('SRID=4674;POINT (-38.352332 -3.307738)'))) / (select extract(epoch from '2026-07-18 03:12:00'::timestamp) - extract(epoch from '2026-07-18 03:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352218 -3.307808)'), GeomFromEWKT('SRID=4674;POINT (-38.352332 -3.307738)'))) / (select extract(epoch from '2026-07-18 03:12:00'::timestamp) - extract(epoch from '2026-07-18 03:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352225 -3.307815)', '2026-07-18 03:12:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352332 -3.307738)'), GeomFromEWKT('SRID=4674;POINT (-38.352225 -3.307815)'))) / (select extract(epoch from '2026-07-18 03:12:11'::timestamp) - extract(epoch from '2026-07-18 03:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352332 -3.307738)'), GeomFromEWKT('SRID=4674;POINT (-38.352225 -3.307815)'))) / (select extract(epoch from '2026-07-18 03:12:11'::timestamp) - extract(epoch from '2026-07-18 03:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352216 -3.307818)', '2026-07-18 03:12:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352225 -3.307815)'), GeomFromEWKT('SRID=4674;POINT (-38.352216 -3.307818)'))) / (select extract(epoch from '2026-07-18 03:12:19'::timestamp) - extract(epoch from '2026-07-18 03:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352225 -3.307815)'), GeomFromEWKT('SRID=4674;POINT (-38.352216 -3.307818)'))) / (select extract(epoch from '2026-07-18 03:12:19'::timestamp) - extract(epoch from '2026-07-18 03:12:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352213 -3.30779)', '2026-07-18 03:12:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352216 -3.307818)'), GeomFromEWKT('SRID=4674;POINT (-38.352213 -3.30779)'))) / (select extract(epoch from '2026-07-18 03:12:25'::timestamp) - extract(epoch from '2026-07-18 03:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352216 -3.307818)'), GeomFromEWKT('SRID=4674;POINT (-38.352213 -3.30779)'))) / (select extract(epoch from '2026-07-18 03:12:25'::timestamp) - extract(epoch from '2026-07-18 03:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352209 -3.307779)', '2026-07-18 03:12:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352213 -3.30779)'), GeomFromEWKT('SRID=4674;POINT (-38.352209 -3.307779)'))) / (select extract(epoch from '2026-07-18 03:12:26'::timestamp) - extract(epoch from '2026-07-18 03:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352213 -3.30779)'), GeomFromEWKT('SRID=4674;POINT (-38.352209 -3.307779)'))) / (select extract(epoch from '2026-07-18 03:12:26'::timestamp) - extract(epoch from '2026-07-18 03:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352221 -3.30774)', '2026-07-18 03:12:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352209 -3.307779)'), GeomFromEWKT('SRID=4674;POINT (-38.352221 -3.30774)'))) / (select extract(epoch from '2026-07-18 03:12:33'::timestamp) - extract(epoch from '2026-07-18 03:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352209 -3.307779)'), GeomFromEWKT('SRID=4674;POINT (-38.352221 -3.30774)'))) / (select extract(epoch from '2026-07-18 03:12:33'::timestamp) - extract(epoch from '2026-07-18 03:12:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352225 -3.307733)', '2026-07-18 03:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352221 -3.30774)'), GeomFromEWKT('SRID=4674;POINT (-38.352225 -3.307733)'))) / (select extract(epoch from '2026-07-18 03:12:42'::timestamp) - extract(epoch from '2026-07-18 03:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352221 -3.30774)'), GeomFromEWKT('SRID=4674;POINT (-38.352225 -3.307733)'))) / (select extract(epoch from '2026-07-18 03:12:42'::timestamp) - extract(epoch from '2026-07-18 03:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.35222 -3.307734)', '2026-07-18 03:12:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352225 -3.307733)'), GeomFromEWKT('SRID=4674;POINT (-38.35222 -3.307734)'))) / (select extract(epoch from '2026-07-18 03:12:49'::timestamp) - extract(epoch from '2026-07-18 03:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352225 -3.307733)'), GeomFromEWKT('SRID=4674;POINT (-38.35222 -3.307734)'))) / (select extract(epoch from '2026-07-18 03:12:49'::timestamp) - extract(epoch from '2026-07-18 03:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352226 -3.307737)', '2026-07-18 03:12:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35222 -3.307734)'), GeomFromEWKT('SRID=4674;POINT (-38.352226 -3.307737)'))) / (select extract(epoch from '2026-07-18 03:12:55'::timestamp) - extract(epoch from '2026-07-18 03:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35222 -3.307734)'), GeomFromEWKT('SRID=4674;POINT (-38.352226 -3.307737)'))) / (select extract(epoch from '2026-07-18 03:12:55'::timestamp) - extract(epoch from '2026-07-18 03:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.352223 -3.307738)', '2026-07-18 03:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352226 -3.307737)'), GeomFromEWKT('SRID=4674;POINT (-38.352223 -3.307738)'))) / (select extract(epoch from '2026-07-18 03:12:58'::timestamp) - extract(epoch from '2026-07-18 03:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352226 -3.307737)'), GeomFromEWKT('SRID=4674;POINT (-38.352223 -3.307738)'))) / (select extract(epoch from '2026-07-18 03:12:58'::timestamp) - extract(epoch from '2026-07-18 03:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.369862 -3.309138)', '2026-07-18 12:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352223 -3.307738)'), GeomFromEWKT('SRID=4674;POINT (-38.369862 -3.309138)'))) / (select extract(epoch from '2026-07-18 12:14:39'::timestamp) - extract(epoch from '2026-07-18 03:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.352223 -3.307738)'), GeomFromEWKT('SRID=4674;POINT (-38.369862 -3.309138)'))) / (select extract(epoch from '2026-07-18 12:14:39'::timestamp) - extract(epoch from '2026-07-18 03:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.369923 -3.309184)', '2026-07-18 12:14:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369862 -3.309138)'), GeomFromEWKT('SRID=4674;POINT (-38.369923 -3.309184)'))) / (select extract(epoch from '2026-07-18 12:14:46'::timestamp) - extract(epoch from '2026-07-18 12:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369862 -3.309138)'), GeomFromEWKT('SRID=4674;POINT (-38.369923 -3.309184)'))) / (select extract(epoch from '2026-07-18 12:14:46'::timestamp) - extract(epoch from '2026-07-18 12:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.369988 -3.309271)', '2026-07-18 12:14:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369923 -3.309184)'), GeomFromEWKT('SRID=4674;POINT (-38.369988 -3.309271)'))) / (select extract(epoch from '2026-07-18 12:14:50'::timestamp) - extract(epoch from '2026-07-18 12:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369923 -3.309184)'), GeomFromEWKT('SRID=4674;POINT (-38.369988 -3.309271)'))) / (select extract(epoch from '2026-07-18 12:14:50'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.37004 -3.309311)', '2026-07-18 12:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369988 -3.309271)'), GeomFromEWKT('SRID=4674;POINT (-38.37004 -3.309311)'))) / (select extract(epoch from '2026-07-18 12:14:53'::timestamp) - extract(epoch from '2026-07-18 12:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369988 -3.309271)'), GeomFromEWKT('SRID=4674;POINT (-38.37004 -3.309311)'))) / (select extract(epoch from '2026-07-18 12:14:53'::timestamp) - extract(epoch from '2026-07-18 12:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370106 -3.309378)', '2026-07-18 12:14:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37004 -3.309311)'), GeomFromEWKT('SRID=4674;POINT (-38.370106 -3.309378)'))) / (select extract(epoch from '2026-07-18 12:14:57'::timestamp) - extract(epoch from '2026-07-18 12:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37004 -3.309311)'), GeomFromEWKT('SRID=4674;POINT (-38.370106 -3.309378)'))) / (select extract(epoch from '2026-07-18 12:14:57'::timestamp) - extract(epoch from '2026-07-18 12:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370134 -3.309397)', '2026-07-18 12:14:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370106 -3.309378)'), GeomFromEWKT('SRID=4674;POINT (-38.370134 -3.309397)'))) / (select extract(epoch from '2026-07-18 12:14:59'::timestamp) - extract(epoch from '2026-07-18 12:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370106 -3.309378)'), GeomFromEWKT('SRID=4674;POINT (-38.370134 -3.309397)'))) / (select extract(epoch from '2026-07-18 12:14:59'::timestamp) - extract(epoch from '2026-07-18 12:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370214 -3.309405)', '2026-07-18 12:15:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370134 -3.309397)'), GeomFromEWKT('SRID=4674;POINT (-38.370214 -3.309405)'))) / (select extract(epoch from '2026-07-18 12:15:03'::timestamp) - extract(epoch from '2026-07-18 12:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370134 -3.309397)'), GeomFromEWKT('SRID=4674;POINT (-38.370214 -3.309405)'))) / (select extract(epoch from '2026-07-18 12:15:03'::timestamp) - extract(epoch from '2026-07-18 12:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370275 -3.309378)', '2026-07-18 12:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370214 -3.309405)'), GeomFromEWKT('SRID=4674;POINT (-38.370275 -3.309378)'))) / (select extract(epoch from '2026-07-18 12:15:05'::timestamp) - extract(epoch from '2026-07-18 12:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370214 -3.309405)'), GeomFromEWKT('SRID=4674;POINT (-38.370275 -3.309378)'))) / (select extract(epoch from '2026-07-18 12:15:05'::timestamp) - extract(epoch from '2026-07-18 12:15:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370315 -3.309384)', '2026-07-18 12:15:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370275 -3.309378)'), GeomFromEWKT('SRID=4674;POINT (-38.370315 -3.309384)'))) / (select extract(epoch from '2026-07-18 12:15:08'::timestamp) - extract(epoch from '2026-07-18 12:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370275 -3.309378)'), GeomFromEWKT('SRID=4674;POINT (-38.370315 -3.309384)'))) / (select extract(epoch from '2026-07-18 12:15:08'::timestamp) - extract(epoch from '2026-07-18 12:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370351 -3.309399)', '2026-07-18 12:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370315 -3.309384)'), GeomFromEWKT('SRID=4674;POINT (-38.370351 -3.309399)'))) / (select extract(epoch from '2026-07-18 12:15:10'::timestamp) - extract(epoch from '2026-07-18 12:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370315 -3.309384)'), GeomFromEWKT('SRID=4674;POINT (-38.370351 -3.309399)'))) / (select extract(epoch from '2026-07-18 12:15:10'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.370369 -3.309409)', '2026-07-18 12:15:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370351 -3.309399)'), GeomFromEWKT('SRID=4674;POINT (-38.370369 -3.309409)'))) / (select extract(epoch from '2026-07-18 12:15:13'::timestamp) - extract(epoch from '2026-07-18 12:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370351 -3.309399)'), GeomFromEWKT('SRID=4674;POINT (-38.370369 -3.309409)'))) / (select extract(epoch from '2026-07-18 12:15:13'::timestamp) - extract(epoch from '2026-07-18 12:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370376 -3.30941)', '2026-07-18 12:15:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370369 -3.309409)'), GeomFromEWKT('SRID=4674;POINT (-38.370376 -3.30941)'))) / (select extract(epoch from '2026-07-18 12:15:14'::timestamp) - extract(epoch from '2026-07-18 12:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370369 -3.309409)'), GeomFromEWKT('SRID=4674;POINT (-38.370376 -3.30941)'))) / (select extract(epoch from '2026-07-18 12:15:14'::timestamp) - extract(epoch from '2026-07-18 12:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370399 -3.309429)', '2026-07-18 12:15:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370376 -3.30941)'), GeomFromEWKT('SRID=4674;POINT (-38.370399 -3.309429)'))) / (select extract(epoch from '2026-07-18 12:15:17'::timestamp) - extract(epoch from '2026-07-18 12:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370376 -3.30941)'), GeomFromEWKT('SRID=4674;POINT (-38.370399 -3.309429)'))) / (select extract(epoch from '2026-07-18 12:15:17'::timestamp) - extract(epoch from '2026-07-18 12:15:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370433 -3.309449)', '2026-07-18 12:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370399 -3.309429)'), GeomFromEWKT('SRID=4674;POINT (-38.370433 -3.309449)'))) / (select extract(epoch from '2026-07-18 12:15:20'::timestamp) - extract(epoch from '2026-07-18 12:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370399 -3.309429)'), GeomFromEWKT('SRID=4674;POINT (-38.370433 -3.309449)'))) / (select extract(epoch from '2026-07-18 12:15:20'::timestamp) - extract(epoch from '2026-07-18 12:15:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.3705 -3.309491)', '2026-07-18 12:15:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370433 -3.309449)'), GeomFromEWKT('SRID=4674;POINT (-38.3705 -3.309491)'))) / (select extract(epoch from '2026-07-18 12:15:25'::timestamp) - extract(epoch from '2026-07-18 12:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370433 -3.309449)'), GeomFromEWKT('SRID=4674;POINT (-38.3705 -3.309491)'))) / (select extract(epoch from '2026-07-18 12:15:25'::timestamp) - extract(epoch from '2026-07-18 12:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370529 -3.309509)', '2026-07-18 12:15:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3705 -3.309491)'), GeomFromEWKT('SRID=4674;POINT (-38.370529 -3.309509)'))) / (select extract(epoch from '2026-07-18 12:15:27'::timestamp) - extract(epoch from '2026-07-18 12:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3705 -3.309491)'), GeomFromEWKT('SRID=4674;POINT (-38.370529 -3.309509)'))) / (select extract(epoch from '2026-07-18 12:15:27'::timestamp) - extract(epoch from '2026-07-18 12:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37055 -3.309545)', '2026-07-18 12:15:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370529 -3.309509)'), GeomFromEWKT('SRID=4674;POINT (-38.37055 -3.309545)'))) / (select extract(epoch from '2026-07-18 12:15:29'::timestamp) - extract(epoch from '2026-07-18 12:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370529 -3.309509)'), GeomFromEWKT('SRID=4674;POINT (-38.37055 -3.309545)'))) / (select extract(epoch from '2026-07-18 12:15:29'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.370608 -3.309571)', '2026-07-18 12:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37055 -3.309545)'), GeomFromEWKT('SRID=4674;POINT (-38.370608 -3.309571)'))) / (select extract(epoch from '2026-07-18 12:15:33'::timestamp) - extract(epoch from '2026-07-18 12:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37055 -3.309545)'), GeomFromEWKT('SRID=4674;POINT (-38.370608 -3.309571)'))) / (select extract(epoch from '2026-07-18 12:15:33'::timestamp) - extract(epoch from '2026-07-18 12:15:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370621 -3.309588)', '2026-07-18 12:15:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370608 -3.309571)'), GeomFromEWKT('SRID=4674;POINT (-38.370621 -3.309588)'))) / (select extract(epoch from '2026-07-18 12:15:36'::timestamp) - extract(epoch from '2026-07-18 12:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370608 -3.309571)'), GeomFromEWKT('SRID=4674;POINT (-38.370621 -3.309588)'))) / (select extract(epoch from '2026-07-18 12:15:36'::timestamp) - extract(epoch from '2026-07-18 12:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370656 -3.309608)', '2026-07-18 12:15:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370621 -3.309588)'), GeomFromEWKT('SRID=4674;POINT (-38.370656 -3.309608)'))) / (select extract(epoch from '2026-07-18 12:15:39'::timestamp) - extract(epoch from '2026-07-18 12:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370621 -3.309588)'), GeomFromEWKT('SRID=4674;POINT (-38.370656 -3.309608)'))) / (select extract(epoch from '2026-07-18 12:15:39'::timestamp) - extract(epoch from '2026-07-18 12:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370693 -3.309646)', '2026-07-18 12:15:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370656 -3.309608)'), GeomFromEWKT('SRID=4674;POINT (-38.370693 -3.309646)'))) / (select extract(epoch from '2026-07-18 12:15:44'::timestamp) - extract(epoch from '2026-07-18 12:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370656 -3.309608)'), GeomFromEWKT('SRID=4674;POINT (-38.370693 -3.309646)'))) / (select extract(epoch from '2026-07-18 12:15:44'::timestamp) - extract(epoch from '2026-07-18 12:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370709 -3.309656)', '2026-07-18 12:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370693 -3.309646)'), GeomFromEWKT('SRID=4674;POINT (-38.370709 -3.309656)'))) / (select extract(epoch from '2026-07-18 12:15:45'::timestamp) - extract(epoch from '2026-07-18 12:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370693 -3.309646)'), GeomFromEWKT('SRID=4674;POINT (-38.370709 -3.309656)'))) / (select extract(epoch from '2026-07-18 12:15:45'::timestamp) - extract(epoch from '2026-07-18 12:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370766 -3.309716)', '2026-07-18 12:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370709 -3.309656)'), GeomFromEWKT('SRID=4674;POINT (-38.370766 -3.309716)'))) / (select extract(epoch from '2026-07-18 12:15:50'::timestamp) - extract(epoch from '2026-07-18 12:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370709 -3.309656)'), GeomFromEWKT('SRID=4674;POINT (-38.370766 -3.309716)'))) / (select extract(epoch from '2026-07-18 12:15:50'::timestamp) - extract(epoch from '2026-07-18 12:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370852 -3.309776)', '2026-07-18 12:15:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370766 -3.309716)'), GeomFromEWKT('SRID=4674;POINT (-38.370852 -3.309776)'))) / (select extract(epoch from '2026-07-18 12:15:55'::timestamp) - extract(epoch from '2026-07-18 12:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370766 -3.309716)'), GeomFromEWKT('SRID=4674;POINT (-38.370852 -3.309776)'))) / (select extract(epoch from '2026-07-18 12:15:55'::timestamp) - extract(epoch from '2026-07-18 12:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370863 -3.309784)', '2026-07-18 12:15:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370852 -3.309776)'), GeomFromEWKT('SRID=4674;POINT (-38.370863 -3.309784)'))) / (select extract(epoch from '2026-07-18 12:15:56'::timestamp) - extract(epoch from '2026-07-18 12:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370852 -3.309776)'), GeomFromEWKT('SRID=4674;POINT (-38.370863 -3.309784)'))) / (select extract(epoch from '2026-07-18 12:15:56'::timestamp) - extract(epoch from '2026-07-18 12:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.3709 -3.309812)', '2026-07-18 12:15:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370863 -3.309784)'), GeomFromEWKT('SRID=4674;POINT (-38.3709 -3.309812)'))) / (select extract(epoch from '2026-07-18 12:15:59'::timestamp) - extract(epoch from '2026-07-18 12:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370863 -3.309784)'), GeomFromEWKT('SRID=4674;POINT (-38.3709 -3.309812)'))) / (select extract(epoch from '2026-07-18 12:15:59'::timestamp) - extract(epoch from '2026-07-18 12:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.370951 -3.309858)', '2026-07-18 12:16:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3709 -3.309812)'), GeomFromEWKT('SRID=4674;POINT (-38.370951 -3.309858)'))) / (select extract(epoch from '2026-07-18 12:16:03'::timestamp) - extract(epoch from '2026-07-18 12:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3709 -3.309812)'), GeomFromEWKT('SRID=4674;POINT (-38.370951 -3.309858)'))) / (select extract(epoch from '2026-07-18 12:16:03'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.371012 -3.309898)', '2026-07-18 12:16:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370951 -3.309858)'), GeomFromEWKT('SRID=4674;POINT (-38.371012 -3.309898)'))) / (select extract(epoch from '2026-07-18 12:16:08'::timestamp) - extract(epoch from '2026-07-18 12:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370951 -3.309858)'), GeomFromEWKT('SRID=4674;POINT (-38.371012 -3.309898)'))) / (select extract(epoch from '2026-07-18 12:16:08'::timestamp) - extract(epoch from '2026-07-18 12:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37109 -3.309943)', '2026-07-18 12:16:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371012 -3.309898)'), GeomFromEWKT('SRID=4674;POINT (-38.37109 -3.309943)'))) / (select extract(epoch from '2026-07-18 12:16:14'::timestamp) - extract(epoch from '2026-07-18 12:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371012 -3.309898)'), GeomFromEWKT('SRID=4674;POINT (-38.37109 -3.309943)'))) / (select extract(epoch from '2026-07-18 12:16:14'::timestamp) - extract(epoch from '2026-07-18 12:16:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371109 -3.309947)', '2026-07-18 12:16:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37109 -3.309943)'), GeomFromEWKT('SRID=4674;POINT (-38.371109 -3.309947)'))) / (select extract(epoch from '2026-07-18 12:16:15'::timestamp) - extract(epoch from '2026-07-18 12:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37109 -3.309943)'), GeomFromEWKT('SRID=4674;POINT (-38.371109 -3.309947)'))) / (select extract(epoch from '2026-07-18 12:16:15'::timestamp) - extract(epoch from '2026-07-18 12:16:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371126 -3.309958)', '2026-07-18 12:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371109 -3.309947)'), GeomFromEWKT('SRID=4674;POINT (-38.371126 -3.309958)'))) / (select extract(epoch from '2026-07-18 12:16:16'::timestamp) - extract(epoch from '2026-07-18 12:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371109 -3.309947)'), GeomFromEWKT('SRID=4674;POINT (-38.371126 -3.309958)'))) / (select extract(epoch from '2026-07-18 12:16:16'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.37115 -3.309977)', '2026-07-18 12:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371126 -3.309958)'), GeomFromEWKT('SRID=4674;POINT (-38.37115 -3.309977)'))) / (select extract(epoch from '2026-07-18 12:16:18'::timestamp) - extract(epoch from '2026-07-18 12:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371126 -3.309958)'), GeomFromEWKT('SRID=4674;POINT (-38.37115 -3.309977)'))) / (select extract(epoch from '2026-07-18 12:16:18'::timestamp) - extract(epoch from '2026-07-18 12:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371162 -3.309984)', '2026-07-18 12:16:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37115 -3.309977)'), GeomFromEWKT('SRID=4674;POINT (-38.371162 -3.309984)'))) / (select extract(epoch from '2026-07-18 12:16:19'::timestamp) - extract(epoch from '2026-07-18 12:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37115 -3.309977)'), GeomFromEWKT('SRID=4674;POINT (-38.371162 -3.309984)'))) / (select extract(epoch from '2026-07-18 12:16:19'::timestamp) - extract(epoch from '2026-07-18 12:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371235 -3.310057)', '2026-07-18 12:16:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371162 -3.309984)'), GeomFromEWKT('SRID=4674;POINT (-38.371235 -3.310057)'))) / (select extract(epoch from '2026-07-18 12:16:25'::timestamp) - extract(epoch from '2026-07-18 12:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371162 -3.309984)'), GeomFromEWKT('SRID=4674;POINT (-38.371235 -3.310057)'))) / (select extract(epoch from '2026-07-18 12:16:25'::timestamp) - extract(epoch from '2026-07-18 12:16:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371291 -3.310137)', '2026-07-18 12:16:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371235 -3.310057)'), GeomFromEWKT('SRID=4674;POINT (-38.371291 -3.310137)'))) / (select extract(epoch from '2026-07-18 12:16:32'::timestamp) - extract(epoch from '2026-07-18 12:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371235 -3.310057)'), GeomFromEWKT('SRID=4674;POINT (-38.371291 -3.310137)'))) / (select extract(epoch from '2026-07-18 12:16:32'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.371375 -3.310206)', '2026-07-18 12:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371291 -3.310137)'), GeomFromEWKT('SRID=4674;POINT (-38.371375 -3.310206)'))) / (select extract(epoch from '2026-07-18 12:16:38'::timestamp) - extract(epoch from '2026-07-18 12:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371291 -3.310137)'), GeomFromEWKT('SRID=4674;POINT (-38.371375 -3.310206)'))) / (select extract(epoch from '2026-07-18 12:16:38'::timestamp) - extract(epoch from '2026-07-18 12:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371452 -3.310274)', '2026-07-18 12:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371375 -3.310206)'), GeomFromEWKT('SRID=4674;POINT (-38.371452 -3.310274)'))) / (select extract(epoch from '2026-07-18 12:16:44'::timestamp) - extract(epoch from '2026-07-18 12:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371375 -3.310206)'), GeomFromEWKT('SRID=4674;POINT (-38.371452 -3.310274)'))) / (select extract(epoch from '2026-07-18 12:16:44'::timestamp) - extract(epoch from '2026-07-18 12:16:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371458 -3.310285)', '2026-07-18 12:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371452 -3.310274)'), GeomFromEWKT('SRID=4674;POINT (-38.371458 -3.310285)'))) / (select extract(epoch from '2026-07-18 12:16:45'::timestamp) - extract(epoch from '2026-07-18 12:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371452 -3.310274)'), GeomFromEWKT('SRID=4674;POINT (-38.371458 -3.310285)'))) / (select extract(epoch from '2026-07-18 12:16:45'::timestamp) - extract(epoch from '2026-07-18 12:16:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371499 -3.310329)', '2026-07-18 12:16:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371458 -3.310285)'), GeomFromEWKT('SRID=4674;POINT (-38.371499 -3.310329)'))) / (select extract(epoch from '2026-07-18 12:16:49'::timestamp) - extract(epoch from '2026-07-18 12:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371458 -3.310285)'), GeomFromEWKT('SRID=4674;POINT (-38.371499 -3.310329)'))) / (select extract(epoch from '2026-07-18 12:16:49'::timestamp) - extract(epoch from '2026-07-18 12:16:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371563 -3.310384)', '2026-07-18 12:16:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371499 -3.310329)'), GeomFromEWKT('SRID=4674;POINT (-38.371563 -3.310384)'))) / (select extract(epoch from '2026-07-18 12:16:54'::timestamp) - extract(epoch from '2026-07-18 12:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371499 -3.310329)'), GeomFromEWKT('SRID=4674;POINT (-38.371563 -3.310384)'))) / (select extract(epoch from '2026-07-18 12:16:54'::timestamp) - extract(epoch from '2026-07-18 12:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371633 -3.310442)', '2026-07-18 12:16:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371563 -3.310384)'), GeomFromEWKT('SRID=4674;POINT (-38.371633 -3.310442)'))) / (select extract(epoch from '2026-07-18 12:16:58'::timestamp) - extract(epoch from '2026-07-18 12:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371563 -3.310384)'), GeomFromEWKT('SRID=4674;POINT (-38.371633 -3.310442)'))) / (select extract(epoch from '2026-07-18 12:16:58'::timestamp) - extract(epoch from '2026-07-18 12:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371685 -3.310501)', '2026-07-18 12:17:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371633 -3.310442)'), GeomFromEWKT('SRID=4674;POINT (-38.371685 -3.310501)'))) / (select extract(epoch from '2026-07-18 12:17:02'::timestamp) - extract(epoch from '2026-07-18 12:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371633 -3.310442)'), GeomFromEWKT('SRID=4674;POINT (-38.371685 -3.310501)'))) / (select extract(epoch from '2026-07-18 12:17:02'::timestamp) - extract(epoch from '2026-07-18 12:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371713 -3.310524)', '2026-07-18 12:17:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371685 -3.310501)'), GeomFromEWKT('SRID=4674;POINT (-38.371713 -3.310524)'))) / (select extract(epoch from '2026-07-18 12:17:04'::timestamp) - extract(epoch from '2026-07-18 12:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371685 -3.310501)'), GeomFromEWKT('SRID=4674;POINT (-38.371713 -3.310524)'))) / (select extract(epoch from '2026-07-18 12:17:04'::timestamp) - extract(epoch from '2026-07-18 12:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371735 -3.310544)', '2026-07-18 12:17:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371713 -3.310524)'), GeomFromEWKT('SRID=4674;POINT (-38.371735 -3.310544)'))) / (select extract(epoch from '2026-07-18 12:17:06'::timestamp) - extract(epoch from '2026-07-18 12:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371713 -3.310524)'), GeomFromEWKT('SRID=4674;POINT (-38.371735 -3.310544)'))) / (select extract(epoch from '2026-07-18 12:17:06'::timestamp) - extract(epoch from '2026-07-18 12:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371748 -3.310553)', '2026-07-18 12:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371735 -3.310544)'), GeomFromEWKT('SRID=4674;POINT (-38.371748 -3.310553)'))) / (select extract(epoch from '2026-07-18 12:17:07'::timestamp) - extract(epoch from '2026-07-18 12:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371735 -3.310544)'), GeomFromEWKT('SRID=4674;POINT (-38.371748 -3.310553)'))) / (select extract(epoch from '2026-07-18 12:17:07'::timestamp) - extract(epoch from '2026-07-18 12:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371824 -3.310627)', '2026-07-18 12:17:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371748 -3.310553)'), GeomFromEWKT('SRID=4674;POINT (-38.371824 -3.310627)'))) / (select extract(epoch from '2026-07-18 12:17:13'::timestamp) - extract(epoch from '2026-07-18 12:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371748 -3.310553)'), GeomFromEWKT('SRID=4674;POINT (-38.371824 -3.310627)'))) / (select extract(epoch from '2026-07-18 12:17:13'::timestamp) - extract(epoch from '2026-07-18 12:17:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.371922 -3.310712)', '2026-07-18 12:17:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371824 -3.310627)'), GeomFromEWKT('SRID=4674;POINT (-38.371922 -3.310712)'))) / (select extract(epoch from '2026-07-18 12:17:20'::timestamp) - extract(epoch from '2026-07-18 12:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371824 -3.310627)'), GeomFromEWKT('SRID=4674;POINT (-38.371922 -3.310712)'))) / (select extract(epoch from '2026-07-18 12:17:20'::timestamp) - extract(epoch from '2026-07-18 12:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372001 -3.31079)', '2026-07-18 12:17:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371922 -3.310712)'), GeomFromEWKT('SRID=4674;POINT (-38.372001 -3.31079)'))) / (select extract(epoch from '2026-07-18 12:17:26'::timestamp) - extract(epoch from '2026-07-18 12:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371922 -3.310712)'), GeomFromEWKT('SRID=4674;POINT (-38.372001 -3.31079)'))) / (select extract(epoch from '2026-07-18 12:17:26'::timestamp) - extract(epoch from '2026-07-18 12:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372084 -3.310876)', '2026-07-18 12:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372001 -3.31079)'), GeomFromEWKT('SRID=4674;POINT (-38.372084 -3.310876)'))) / (select extract(epoch from '2026-07-18 12:17:32'::timestamp) - extract(epoch from '2026-07-18 12:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372001 -3.31079)'), GeomFromEWKT('SRID=4674;POINT (-38.372084 -3.310876)'))) / (select extract(epoch from '2026-07-18 12:17:32'::timestamp) - extract(epoch from '2026-07-18 12:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372166 -3.310974)', '2026-07-18 12:17:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372084 -3.310876)'), GeomFromEWKT('SRID=4674;POINT (-38.372166 -3.310974)'))) / (select extract(epoch from '2026-07-18 12:17:38'::timestamp) - extract(epoch from '2026-07-18 12:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372084 -3.310876)'), GeomFromEWKT('SRID=4674;POINT (-38.372166 -3.310974)'))) / (select extract(epoch from '2026-07-18 12:17:38'::timestamp) - extract(epoch from '2026-07-18 12:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372247 -3.311069)', '2026-07-18 12:17:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372166 -3.310974)'), GeomFromEWKT('SRID=4674;POINT (-38.372247 -3.311069)'))) / (select extract(epoch from '2026-07-18 12:17:45'::timestamp) - extract(epoch from '2026-07-18 12:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372166 -3.310974)'), GeomFromEWKT('SRID=4674;POINT (-38.372247 -3.311069)'))) / (select extract(epoch from '2026-07-18 12:17:45'::timestamp) - extract(epoch from '2026-07-18 12:17:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372266 -3.311084)', '2026-07-18 12:17:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372247 -3.311069)'), GeomFromEWKT('SRID=4674;POINT (-38.372266 -3.311084)'))) / (select extract(epoch from '2026-07-18 12:17:47'::timestamp) - extract(epoch from '2026-07-18 12:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372247 -3.311069)'), GeomFromEWKT('SRID=4674;POINT (-38.372266 -3.311084)'))) / (select extract(epoch from '2026-07-18 12:17:47'::timestamp) - extract(epoch from '2026-07-18 12:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372289 -3.311098)', '2026-07-18 12:17:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372266 -3.311084)'), GeomFromEWKT('SRID=4674;POINT (-38.372289 -3.311098)'))) / (select extract(epoch from '2026-07-18 12:17:49'::timestamp) - extract(epoch from '2026-07-18 12:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372266 -3.311084)'), GeomFromEWKT('SRID=4674;POINT (-38.372289 -3.311098)'))) / (select extract(epoch from '2026-07-18 12:17:49'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.372361 -3.311172)', '2026-07-18 12:17:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372289 -3.311098)'), GeomFromEWKT('SRID=4674;POINT (-38.372361 -3.311172)'))) / (select extract(epoch from '2026-07-18 12:17:55'::timestamp) - extract(epoch from '2026-07-18 12:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372289 -3.311098)'), GeomFromEWKT('SRID=4674;POINT (-38.372361 -3.311172)'))) / (select extract(epoch from '2026-07-18 12:17:55'::timestamp) - extract(epoch from '2026-07-18 12:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372419 -3.311223)', '2026-07-18 12:17:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372361 -3.311172)'), GeomFromEWKT('SRID=4674;POINT (-38.372419 -3.311223)'))) / (select extract(epoch from '2026-07-18 12:17:59'::timestamp) - extract(epoch from '2026-07-18 12:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372361 -3.311172)'), GeomFromEWKT('SRID=4674;POINT (-38.372419 -3.311223)'))) / (select extract(epoch from '2026-07-18 12:17:59'::timestamp) - extract(epoch from '2026-07-18 12:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372427 -3.311237)', '2026-07-18 12:18:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372419 -3.311223)'), GeomFromEWKT('SRID=4674;POINT (-38.372427 -3.311237)'))) / (select extract(epoch from '2026-07-18 12:18:00'::timestamp) - extract(epoch from '2026-07-18 12:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372419 -3.311223)'), GeomFromEWKT('SRID=4674;POINT (-38.372427 -3.311237)'))) / (select extract(epoch from '2026-07-18 12:18:00'::timestamp) - extract(epoch from '2026-07-18 12:17:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372498 -3.311289)', '2026-07-18 12:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372427 -3.311237)'), GeomFromEWKT('SRID=4674;POINT (-38.372498 -3.311289)'))) / (select extract(epoch from '2026-07-18 12:18:04'::timestamp) - extract(epoch from '2026-07-18 12:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372427 -3.311237)'), GeomFromEWKT('SRID=4674;POINT (-38.372498 -3.311289)'))) / (select extract(epoch from '2026-07-18 12:18:04'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.372506 -3.311307)', '2026-07-18 12:18:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372498 -3.311289)'), GeomFromEWKT('SRID=4674;POINT (-38.372506 -3.311307)'))) / (select extract(epoch from '2026-07-18 12:18:05'::timestamp) - extract(epoch from '2026-07-18 12:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372498 -3.311289)'), GeomFromEWKT('SRID=4674;POINT (-38.372506 -3.311307)'))) / (select extract(epoch from '2026-07-18 12:18:05'::timestamp) - extract(epoch from '2026-07-18 12:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372522 -3.311335)', '2026-07-18 12:18:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372506 -3.311307)'), GeomFromEWKT('SRID=4674;POINT (-38.372522 -3.311335)'))) / (select extract(epoch from '2026-07-18 12:18:07'::timestamp) - extract(epoch from '2026-07-18 12:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372506 -3.311307)'), GeomFromEWKT('SRID=4674;POINT (-38.372522 -3.311335)'))) / (select extract(epoch from '2026-07-18 12:18:07'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.372549 -3.311364)', '2026-07-18 12:18:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372522 -3.311335)'), GeomFromEWKT('SRID=4674;POINT (-38.372549 -3.311364)'))) / (select extract(epoch from '2026-07-18 12:18:09'::timestamp) - extract(epoch from '2026-07-18 12:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372522 -3.311335)'), GeomFromEWKT('SRID=4674;POINT (-38.372549 -3.311364)'))) / (select extract(epoch from '2026-07-18 12:18:09'::timestamp) - extract(epoch from '2026-07-18 12:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372585 -3.311428)', '2026-07-18 12:18:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372549 -3.311364)'), GeomFromEWKT('SRID=4674;POINT (-38.372585 -3.311428)'))) / (select extract(epoch from '2026-07-18 12:18:14'::timestamp) - extract(epoch from '2026-07-18 12:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372549 -3.311364)'), GeomFromEWKT('SRID=4674;POINT (-38.372585 -3.311428)'))) / (select extract(epoch from '2026-07-18 12:18:14'::timestamp) - extract(epoch from '2026-07-18 12:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372649 -3.311505)', '2026-07-18 12:18:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372585 -3.311428)'), GeomFromEWKT('SRID=4674;POINT (-38.372649 -3.311505)'))) / (select extract(epoch from '2026-07-18 12:18:20'::timestamp) - extract(epoch from '2026-07-18 12:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372585 -3.311428)'), GeomFromEWKT('SRID=4674;POINT (-38.372649 -3.311505)'))) / (select extract(epoch from '2026-07-18 12:18:20'::timestamp) - extract(epoch from '2026-07-18 12:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.3727 -3.311572)', '2026-07-18 12:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372649 -3.311505)'), GeomFromEWKT('SRID=4674;POINT (-38.3727 -3.311572)'))) / (select extract(epoch from '2026-07-18 12:18:24'::timestamp) - extract(epoch from '2026-07-18 12:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372649 -3.311505)'), GeomFromEWKT('SRID=4674;POINT (-38.3727 -3.311572)'))) / (select extract(epoch from '2026-07-18 12:18:24'::timestamp) - extract(epoch from '2026-07-18 12:18:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372777 -3.311649)', '2026-07-18 12:18:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3727 -3.311572)'), GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.311649)'))) / (select extract(epoch from '2026-07-18 12:18:30'::timestamp) - extract(epoch from '2026-07-18 12:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3727 -3.311572)'), GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.311649)'))) / (select extract(epoch from '2026-07-18 12:18:30'::timestamp) - extract(epoch from '2026-07-18 12:18:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37286 -3.311726)', '2026-07-18 12:18:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.311649)'), GeomFromEWKT('SRID=4674;POINT (-38.37286 -3.311726)'))) / (select extract(epoch from '2026-07-18 12:18:36'::timestamp) - extract(epoch from '2026-07-18 12:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372777 -3.311649)'), GeomFromEWKT('SRID=4674;POINT (-38.37286 -3.311726)'))) / (select extract(epoch from '2026-07-18 12:18:36'::timestamp) - extract(epoch from '2026-07-18 12:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372899 -3.311784)', '2026-07-18 12:18:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37286 -3.311726)'), GeomFromEWKT('SRID=4674;POINT (-38.372899 -3.311784)'))) / (select extract(epoch from '2026-07-18 12:18:41'::timestamp) - extract(epoch from '2026-07-18 12:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37286 -3.311726)'), GeomFromEWKT('SRID=4674;POINT (-38.372899 -3.311784)'))) / (select extract(epoch from '2026-07-18 12:18:41'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.372911 -3.311793)', '2026-07-18 12:18:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372899 -3.311784)'), GeomFromEWKT('SRID=4674;POINT (-38.372911 -3.311793)'))) / (select extract(epoch from '2026-07-18 12:18:42'::timestamp) - extract(epoch from '2026-07-18 12:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372899 -3.311784)'), GeomFromEWKT('SRID=4674;POINT (-38.372911 -3.311793)'))) / (select extract(epoch from '2026-07-18 12:18:42'::timestamp) - extract(epoch from '2026-07-18 12:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372937 -3.311812)', '2026-07-18 12:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372911 -3.311793)'), GeomFromEWKT('SRID=4674;POINT (-38.372937 -3.311812)'))) / (select extract(epoch from '2026-07-18 12:18:44'::timestamp) - extract(epoch from '2026-07-18 12:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372911 -3.311793)'), GeomFromEWKT('SRID=4674;POINT (-38.372937 -3.311812)'))) / (select extract(epoch from '2026-07-18 12:18:44'::timestamp) - extract(epoch from '2026-07-18 12:18:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372946 -3.311826)', '2026-07-18 12:18:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372937 -3.311812)'), GeomFromEWKT('SRID=4674;POINT (-38.372946 -3.311826)'))) / (select extract(epoch from '2026-07-18 12:18:45'::timestamp) - extract(epoch from '2026-07-18 12:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372937 -3.311812)'), GeomFromEWKT('SRID=4674;POINT (-38.372946 -3.311826)'))) / (select extract(epoch from '2026-07-18 12:18:45'::timestamp) - extract(epoch from '2026-07-18 12:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.372976 -3.311863)', '2026-07-18 12:18:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372946 -3.311826)'), GeomFromEWKT('SRID=4674;POINT (-38.372976 -3.311863)'))) / (select extract(epoch from '2026-07-18 12:18:48'::timestamp) - extract(epoch from '2026-07-18 12:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372946 -3.311826)'), GeomFromEWKT('SRID=4674;POINT (-38.372976 -3.311863)'))) / (select extract(epoch from '2026-07-18 12:18:48'::timestamp) - extract(epoch from '2026-07-18 12:18:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373009 -3.311883)', '2026-07-18 12:18:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372976 -3.311863)'), GeomFromEWKT('SRID=4674;POINT (-38.373009 -3.311883)'))) / (select extract(epoch from '2026-07-18 12:18:50'::timestamp) - extract(epoch from '2026-07-18 12:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372976 -3.311863)'), GeomFromEWKT('SRID=4674;POINT (-38.373009 -3.311883)'))) / (select extract(epoch from '2026-07-18 12:18:50'::timestamp) - extract(epoch from '2026-07-18 12:18:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373053 -3.311928)', '2026-07-18 12:18:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373009 -3.311883)'), GeomFromEWKT('SRID=4674;POINT (-38.373053 -3.311928)'))) / (select extract(epoch from '2026-07-18 12:18:54'::timestamp) - extract(epoch from '2026-07-18 12:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373009 -3.311883)'), GeomFromEWKT('SRID=4674;POINT (-38.373053 -3.311928)'))) / (select extract(epoch from '2026-07-18 12:18:54'::timestamp) - extract(epoch from '2026-07-18 12:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373121 -3.31199)', '2026-07-18 12:18:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373053 -3.311928)'), GeomFromEWKT('SRID=4674;POINT (-38.373121 -3.31199)'))) / (select extract(epoch from '2026-07-18 12:18:59'::timestamp) - extract(epoch from '2026-07-18 12:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373053 -3.311928)'), GeomFromEWKT('SRID=4674;POINT (-38.373121 -3.31199)'))) / (select extract(epoch from '2026-07-18 12:18:59'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.373131 -3.312003)', '2026-07-18 12:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373121 -3.31199)'), GeomFromEWKT('SRID=4674;POINT (-38.373131 -3.312003)'))) / (select extract(epoch from '2026-07-18 12:19:00'::timestamp) - extract(epoch from '2026-07-18 12:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373121 -3.31199)'), GeomFromEWKT('SRID=4674;POINT (-38.373131 -3.312003)'))) / (select extract(epoch from '2026-07-18 12:19:00'::timestamp) - extract(epoch from '2026-07-18 12:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373148 -3.312028)', '2026-07-18 12:19:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373131 -3.312003)'), GeomFromEWKT('SRID=4674;POINT (-38.373148 -3.312028)'))) / (select extract(epoch from '2026-07-18 12:19:02'::timestamp) - extract(epoch from '2026-07-18 12:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373131 -3.312003)'), GeomFromEWKT('SRID=4674;POINT (-38.373148 -3.312028)'))) / (select extract(epoch from '2026-07-18 12:19:02'::timestamp) - extract(epoch from '2026-07-18 12:19:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373161 -3.312038)', '2026-07-18 12:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373148 -3.312028)'), GeomFromEWKT('SRID=4674;POINT (-38.373161 -3.312038)'))) / (select extract(epoch from '2026-07-18 12:19:03'::timestamp) - extract(epoch from '2026-07-18 12:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373148 -3.312028)'), GeomFromEWKT('SRID=4674;POINT (-38.373161 -3.312038)'))) / (select extract(epoch from '2026-07-18 12:19:03'::timestamp) - extract(epoch from '2026-07-18 12:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373238 -3.312103)', '2026-07-18 12:19:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373161 -3.312038)'), GeomFromEWKT('SRID=4674;POINT (-38.373238 -3.312103)'))) / (select extract(epoch from '2026-07-18 12:19:09'::timestamp) - extract(epoch from '2026-07-18 12:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373161 -3.312038)'), GeomFromEWKT('SRID=4674;POINT (-38.373238 -3.312103)'))) / (select extract(epoch from '2026-07-18 12:19:09'::timestamp) - extract(epoch from '2026-07-18 12:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373308 -3.312173)', '2026-07-18 12:19:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373238 -3.312103)'), GeomFromEWKT('SRID=4674;POINT (-38.373308 -3.312173)'))) / (select extract(epoch from '2026-07-18 12:19:14'::timestamp) - extract(epoch from '2026-07-18 12:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373238 -3.312103)'), GeomFromEWKT('SRID=4674;POINT (-38.373308 -3.312173)'))) / (select extract(epoch from '2026-07-18 12:19:14'::timestamp) - extract(epoch from '2026-07-18 12:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373367 -3.31225)', '2026-07-18 12:19:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373308 -3.312173)'), GeomFromEWKT('SRID=4674;POINT (-38.373367 -3.31225)'))) / (select extract(epoch from '2026-07-18 12:19:20'::timestamp) - extract(epoch from '2026-07-18 12:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373308 -3.312173)'), GeomFromEWKT('SRID=4674;POINT (-38.373367 -3.31225)'))) / (select extract(epoch from '2026-07-18 12:19:20'::timestamp) - extract(epoch from '2026-07-18 12:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37338 -3.312259)', '2026-07-18 12:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373367 -3.31225)'), GeomFromEWKT('SRID=4674;POINT (-38.37338 -3.312259)'))) / (select extract(epoch from '2026-07-18 12:19:21'::timestamp) - extract(epoch from '2026-07-18 12:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373367 -3.31225)'), GeomFromEWKT('SRID=4674;POINT (-38.37338 -3.312259)'))) / (select extract(epoch from '2026-07-18 12:19:21'::timestamp) - extract(epoch from '2026-07-18 12:19:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373426 -3.312304)', '2026-07-18 12:19:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37338 -3.312259)'), GeomFromEWKT('SRID=4674;POINT (-38.373426 -3.312304)'))) / (select extract(epoch from '2026-07-18 12:19:25'::timestamp) - extract(epoch from '2026-07-18 12:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37338 -3.312259)'), GeomFromEWKT('SRID=4674;POINT (-38.373426 -3.312304)'))) / (select extract(epoch from '2026-07-18 12:19:25'::timestamp) - extract(epoch from '2026-07-18 12:19:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37351 -3.312392)', '2026-07-18 12:19:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373426 -3.312304)'), GeomFromEWKT('SRID=4674;POINT (-38.37351 -3.312392)'))) / (select extract(epoch from '2026-07-18 12:19:32'::timestamp) - extract(epoch from '2026-07-18 12:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373426 -3.312304)'), GeomFromEWKT('SRID=4674;POINT (-38.37351 -3.312392)'))) / (select extract(epoch from '2026-07-18 12:19:32'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.373598 -3.312466)', '2026-07-18 12:19:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37351 -3.312392)'), GeomFromEWKT('SRID=4674;POINT (-38.373598 -3.312466)'))) / (select extract(epoch from '2026-07-18 12:19:38'::timestamp) - extract(epoch from '2026-07-18 12:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37351 -3.312392)'), GeomFromEWKT('SRID=4674;POINT (-38.373598 -3.312466)'))) / (select extract(epoch from '2026-07-18 12:19:38'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.373646 -3.312495)', '2026-07-18 12:19:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373598 -3.312466)'), GeomFromEWKT('SRID=4674;POINT (-38.373646 -3.312495)'))) / (select extract(epoch from '2026-07-18 12:19:41'::timestamp) - extract(epoch from '2026-07-18 12:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373598 -3.312466)'), GeomFromEWKT('SRID=4674;POINT (-38.373646 -3.312495)'))) / (select extract(epoch from '2026-07-18 12:19:41'::timestamp) - extract(epoch from '2026-07-18 12:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373666 -3.312525)', '2026-07-18 12:19:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373646 -3.312495)'), GeomFromEWKT('SRID=4674;POINT (-38.373666 -3.312525)'))) / (select extract(epoch from '2026-07-18 12:19:43'::timestamp) - extract(epoch from '2026-07-18 12:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373646 -3.312495)'), GeomFromEWKT('SRID=4674;POINT (-38.373666 -3.312525)'))) / (select extract(epoch from '2026-07-18 12:19:43'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.373735 -3.312607)', '2026-07-18 12:19:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373666 -3.312525)'), GeomFromEWKT('SRID=4674;POINT (-38.373735 -3.312607)'))) / (select extract(epoch from '2026-07-18 12:19:48'::timestamp) - extract(epoch from '2026-07-18 12:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373666 -3.312525)'), GeomFromEWKT('SRID=4674;POINT (-38.373735 -3.312607)'))) / (select extract(epoch from '2026-07-18 12:19:48'::timestamp) - extract(epoch from '2026-07-18 12:19:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373796 -3.312675)', '2026-07-18 12:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373735 -3.312607)'), GeomFromEWKT('SRID=4674;POINT (-38.373796 -3.312675)'))) / (select extract(epoch from '2026-07-18 12:19:53'::timestamp) - extract(epoch from '2026-07-18 12:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373735 -3.312607)'), GeomFromEWKT('SRID=4674;POINT (-38.373796 -3.312675)'))) / (select extract(epoch from '2026-07-18 12:19:53'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.373872 -3.312755)', '2026-07-18 12:19:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373796 -3.312675)'), GeomFromEWKT('SRID=4674;POINT (-38.373872 -3.312755)'))) / (select extract(epoch from '2026-07-18 12:19:59'::timestamp) - extract(epoch from '2026-07-18 12:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373796 -3.312675)'), GeomFromEWKT('SRID=4674;POINT (-38.373872 -3.312755)'))) / (select extract(epoch from '2026-07-18 12:19:59'::timestamp) - extract(epoch from '2026-07-18 12:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373956 -3.312836)', '2026-07-18 12:20:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373872 -3.312755)'), GeomFromEWKT('SRID=4674;POINT (-38.373956 -3.312836)'))) / (select extract(epoch from '2026-07-18 12:20:06'::timestamp) - extract(epoch from '2026-07-18 12:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373872 -3.312755)'), GeomFromEWKT('SRID=4674;POINT (-38.373956 -3.312836)'))) / (select extract(epoch from '2026-07-18 12:20:06'::timestamp) - extract(epoch from '2026-07-18 12:19:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37398 -3.312861)', '2026-07-18 12:20:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373956 -3.312836)'), GeomFromEWKT('SRID=4674;POINT (-38.37398 -3.312861)'))) / (select extract(epoch from '2026-07-18 12:20:08'::timestamp) - extract(epoch from '2026-07-18 12:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373956 -3.312836)'), GeomFromEWKT('SRID=4674;POINT (-38.37398 -3.312861)'))) / (select extract(epoch from '2026-07-18 12:20:08'::timestamp) - extract(epoch from '2026-07-18 12:20:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.373995 -3.312887)', '2026-07-18 12:20:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37398 -3.312861)'), GeomFromEWKT('SRID=4674;POINT (-38.373995 -3.312887)'))) / (select extract(epoch from '2026-07-18 12:20:10'::timestamp) - extract(epoch from '2026-07-18 12:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37398 -3.312861)'), GeomFromEWKT('SRID=4674;POINT (-38.373995 -3.312887)'))) / (select extract(epoch from '2026-07-18 12:20:10'::timestamp) - extract(epoch from '2026-07-18 12:20:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374068 -3.312949)', '2026-07-18 12:20:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373995 -3.312887)'), GeomFromEWKT('SRID=4674;POINT (-38.374068 -3.312949)'))) / (select extract(epoch from '2026-07-18 12:20:15'::timestamp) - extract(epoch from '2026-07-18 12:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373995 -3.312887)'), GeomFromEWKT('SRID=4674;POINT (-38.374068 -3.312949)'))) / (select extract(epoch from '2026-07-18 12:20:15'::timestamp) - extract(epoch from '2026-07-18 12:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374137 -3.313016)', '2026-07-18 12:20:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374068 -3.312949)'), GeomFromEWKT('SRID=4674;POINT (-38.374137 -3.313016)'))) / (select extract(epoch from '2026-07-18 12:20:20'::timestamp) - extract(epoch from '2026-07-18 12:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374068 -3.312949)'), GeomFromEWKT('SRID=4674;POINT (-38.374137 -3.313016)'))) / (select extract(epoch from '2026-07-18 12:20:20'::timestamp) - extract(epoch from '2026-07-18 12:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374193 -3.313078)', '2026-07-18 12:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374137 -3.313016)'), GeomFromEWKT('SRID=4674;POINT (-38.374193 -3.313078)'))) / (select extract(epoch from '2026-07-18 12:20:25'::timestamp) - extract(epoch from '2026-07-18 12:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374137 -3.313016)'), GeomFromEWKT('SRID=4674;POINT (-38.374193 -3.313078)'))) / (select extract(epoch from '2026-07-18 12:20:25'::timestamp) - extract(epoch from '2026-07-18 12:20:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374253 -3.313144)', '2026-07-18 12:20:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374193 -3.313078)'), GeomFromEWKT('SRID=4674;POINT (-38.374253 -3.313144)'))) / (select extract(epoch from '2026-07-18 12:20:30'::timestamp) - extract(epoch from '2026-07-18 12:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374193 -3.313078)'), GeomFromEWKT('SRID=4674;POINT (-38.374253 -3.313144)'))) / (select extract(epoch from '2026-07-18 12:20:30'::timestamp) - extract(epoch from '2026-07-18 12:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374297 -3.313197)', '2026-07-18 12:20:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374253 -3.313144)'), GeomFromEWKT('SRID=4674;POINT (-38.374297 -3.313197)'))) / (select extract(epoch from '2026-07-18 12:20:34'::timestamp) - extract(epoch from '2026-07-18 12:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374253 -3.313144)'), GeomFromEWKT('SRID=4674;POINT (-38.374297 -3.313197)'))) / (select extract(epoch from '2026-07-18 12:20:34'::timestamp) - extract(epoch from '2026-07-18 12:20:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374357 -3.313264)', '2026-07-18 12:20:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374297 -3.313197)'), GeomFromEWKT('SRID=4674;POINT (-38.374357 -3.313264)'))) / (select extract(epoch from '2026-07-18 12:20:40'::timestamp) - extract(epoch from '2026-07-18 12:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374297 -3.313197)'), GeomFromEWKT('SRID=4674;POINT (-38.374357 -3.313264)'))) / (select extract(epoch from '2026-07-18 12:20:40'::timestamp) - extract(epoch from '2026-07-18 12:20:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374404 -3.313305)', '2026-07-18 12:20:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374357 -3.313264)'), GeomFromEWKT('SRID=4674;POINT (-38.374404 -3.313305)'))) / (select extract(epoch from '2026-07-18 12:20:44'::timestamp) - extract(epoch from '2026-07-18 12:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374357 -3.313264)'), GeomFromEWKT('SRID=4674;POINT (-38.374404 -3.313305)'))) / (select extract(epoch from '2026-07-18 12:20:44'::timestamp) - extract(epoch from '2026-07-18 12:20:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374429 -3.313324)', '2026-07-18 12:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374404 -3.313305)'), GeomFromEWKT('SRID=4674;POINT (-38.374429 -3.313324)'))) / (select extract(epoch from '2026-07-18 12:20:46'::timestamp) - extract(epoch from '2026-07-18 12:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374404 -3.313305)'), GeomFromEWKT('SRID=4674;POINT (-38.374429 -3.313324)'))) / (select extract(epoch from '2026-07-18 12:20:46'::timestamp) - extract(epoch from '2026-07-18 12:20:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37449 -3.313391)', '2026-07-18 12:20:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374429 -3.313324)'), GeomFromEWKT('SRID=4674;POINT (-38.37449 -3.313391)'))) / (select extract(epoch from '2026-07-18 12:20:51'::timestamp) - extract(epoch from '2026-07-18 12:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374429 -3.313324)'), GeomFromEWKT('SRID=4674;POINT (-38.37449 -3.313391)'))) / (select extract(epoch from '2026-07-18 12:20:51'::timestamp) - extract(epoch from '2026-07-18 12:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374551 -3.313453)', '2026-07-18 12:20:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37449 -3.313391)'), GeomFromEWKT('SRID=4674;POINT (-38.374551 -3.313453)'))) / (select extract(epoch from '2026-07-18 12:20:56'::timestamp) - extract(epoch from '2026-07-18 12:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37449 -3.313391)'), GeomFromEWKT('SRID=4674;POINT (-38.374551 -3.313453)'))) / (select extract(epoch from '2026-07-18 12:20:56'::timestamp) - extract(epoch from '2026-07-18 12:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374627 -3.313526)', '2026-07-18 12:21:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374551 -3.313453)'), GeomFromEWKT('SRID=4674;POINT (-38.374627 -3.313526)'))) / (select extract(epoch from '2026-07-18 12:21:02'::timestamp) - extract(epoch from '2026-07-18 12:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374551 -3.313453)'), GeomFromEWKT('SRID=4674;POINT (-38.374627 -3.313526)'))) / (select extract(epoch from '2026-07-18 12:21:02'::timestamp) - extract(epoch from '2026-07-18 12:20:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374651 -3.313558)', '2026-07-18 12:21:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374627 -3.313526)'), GeomFromEWKT('SRID=4674;POINT (-38.374651 -3.313558)'))) / (select extract(epoch from '2026-07-18 12:21:04'::timestamp) - extract(epoch from '2026-07-18 12:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374627 -3.313526)'), GeomFromEWKT('SRID=4674;POINT (-38.374651 -3.313558)'))) / (select extract(epoch from '2026-07-18 12:21:04'::timestamp) - extract(epoch from '2026-07-18 12:21:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374696 -3.313598)', '2026-07-18 12:21:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374651 -3.313558)'), GeomFromEWKT('SRID=4674;POINT (-38.374696 -3.313598)'))) / (select extract(epoch from '2026-07-18 12:21:07'::timestamp) - extract(epoch from '2026-07-18 12:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374651 -3.313558)'), GeomFromEWKT('SRID=4674;POINT (-38.374696 -3.313598)'))) / (select extract(epoch from '2026-07-18 12:21:07'::timestamp) - extract(epoch from '2026-07-18 12:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374721 -3.31364)', '2026-07-18 12:21:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374696 -3.313598)'), GeomFromEWKT('SRID=4674;POINT (-38.374721 -3.31364)'))) / (select extract(epoch from '2026-07-18 12:21:10'::timestamp) - extract(epoch from '2026-07-18 12:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374696 -3.313598)'), GeomFromEWKT('SRID=4674;POINT (-38.374721 -3.31364)'))) / (select extract(epoch from '2026-07-18 12:21:10'::timestamp) - extract(epoch from '2026-07-18 12:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374745 -3.313668)', '2026-07-18 12:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374721 -3.31364)'), GeomFromEWKT('SRID=4674;POINT (-38.374745 -3.313668)'))) / (select extract(epoch from '2026-07-18 12:21:12'::timestamp) - extract(epoch from '2026-07-18 12:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374721 -3.31364)'), GeomFromEWKT('SRID=4674;POINT (-38.374745 -3.313668)'))) / (select extract(epoch from '2026-07-18 12:21:12'::timestamp) - extract(epoch from '2026-07-18 12:21:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374809 -3.313753)', '2026-07-18 12:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374745 -3.313668)'), GeomFromEWKT('SRID=4674;POINT (-38.374809 -3.313753)'))) / (select extract(epoch from '2026-07-18 12:21:18'::timestamp) - extract(epoch from '2026-07-18 12:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374745 -3.313668)'), GeomFromEWKT('SRID=4674;POINT (-38.374809 -3.313753)'))) / (select extract(epoch from '2026-07-18 12:21:18'::timestamp) - extract(epoch from '2026-07-18 12:21:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374858 -3.313809)', '2026-07-18 12:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374809 -3.313753)'), GeomFromEWKT('SRID=4674;POINT (-38.374858 -3.313809)'))) / (select extract(epoch from '2026-07-18 12:21:22'::timestamp) - extract(epoch from '2026-07-18 12:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374809 -3.313753)'), GeomFromEWKT('SRID=4674;POINT (-38.374858 -3.313809)'))) / (select extract(epoch from '2026-07-18 12:21:22'::timestamp) - extract(epoch from '2026-07-18 12:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374891 -3.313833)', '2026-07-18 12:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374858 -3.313809)'), GeomFromEWKT('SRID=4674;POINT (-38.374891 -3.313833)'))) / (select extract(epoch from '2026-07-18 12:21:24'::timestamp) - extract(epoch from '2026-07-18 12:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374858 -3.313809)'), GeomFromEWKT('SRID=4674;POINT (-38.374891 -3.313833)'))) / (select extract(epoch from '2026-07-18 12:21:24'::timestamp) - extract(epoch from '2026-07-18 12:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374922 -3.313877)', '2026-07-18 12:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374891 -3.313833)'), GeomFromEWKT('SRID=4674;POINT (-38.374922 -3.313877)'))) / (select extract(epoch from '2026-07-18 12:21:27'::timestamp) - extract(epoch from '2026-07-18 12:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374891 -3.313833)'), GeomFromEWKT('SRID=4674;POINT (-38.374922 -3.313877)'))) / (select extract(epoch from '2026-07-18 12:21:27'::timestamp) - extract(epoch from '2026-07-18 12:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.374966 -3.313898)', '2026-07-18 12:21:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374922 -3.313877)'), GeomFromEWKT('SRID=4674;POINT (-38.374966 -3.313898)'))) / (select extract(epoch from '2026-07-18 12:21:29'::timestamp) - extract(epoch from '2026-07-18 12:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374922 -3.313877)'), GeomFromEWKT('SRID=4674;POINT (-38.374966 -3.313898)'))) / (select extract(epoch from '2026-07-18 12:21:29'::timestamp) - extract(epoch from '2026-07-18 12:21:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375024 -3.313953)', '2026-07-18 12:21:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374966 -3.313898)'), GeomFromEWKT('SRID=4674;POINT (-38.375024 -3.313953)'))) / (select extract(epoch from '2026-07-18 12:21:34'::timestamp) - extract(epoch from '2026-07-18 12:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374966 -3.313898)'), GeomFromEWKT('SRID=4674;POINT (-38.375024 -3.313953)'))) / (select extract(epoch from '2026-07-18 12:21:34'::timestamp) - extract(epoch from '2026-07-18 12:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375103 -3.31401)', '2026-07-18 12:21:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375024 -3.313953)'), GeomFromEWKT('SRID=4674;POINT (-38.375103 -3.31401)'))) / (select extract(epoch from '2026-07-18 12:21:38'::timestamp) - extract(epoch from '2026-07-18 12:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375024 -3.313953)'), GeomFromEWKT('SRID=4674;POINT (-38.375103 -3.31401)'))) / (select extract(epoch from '2026-07-18 12:21:38'::timestamp) - extract(epoch from '2026-07-18 12:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375188 -3.314085)', '2026-07-18 12:21:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375103 -3.31401)'), GeomFromEWKT('SRID=4674;POINT (-38.375188 -3.314085)'))) / (select extract(epoch from '2026-07-18 12:21:44'::timestamp) - extract(epoch from '2026-07-18 12:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375103 -3.31401)'), GeomFromEWKT('SRID=4674;POINT (-38.375188 -3.314085)'))) / (select extract(epoch from '2026-07-18 12:21:44'::timestamp) - extract(epoch from '2026-07-18 12:21:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37525 -3.314144)', '2026-07-18 12:21:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375188 -3.314085)'), GeomFromEWKT('SRID=4674;POINT (-38.37525 -3.314144)'))) / (select extract(epoch from '2026-07-18 12:21:49'::timestamp) - extract(epoch from '2026-07-18 12:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375188 -3.314085)'), GeomFromEWKT('SRID=4674;POINT (-38.37525 -3.314144)'))) / (select extract(epoch from '2026-07-18 12:21:49'::timestamp) - extract(epoch from '2026-07-18 12:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375338 -3.314213)', '2026-07-18 12:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37525 -3.314144)'), GeomFromEWKT('SRID=4674;POINT (-38.375338 -3.314213)'))) / (select extract(epoch from '2026-07-18 12:21:55'::timestamp) - extract(epoch from '2026-07-18 12:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37525 -3.314144)'), GeomFromEWKT('SRID=4674;POINT (-38.375338 -3.314213)'))) / (select extract(epoch from '2026-07-18 12:21:55'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.375355 -3.314224)', '2026-07-18 12:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375338 -3.314213)'), GeomFromEWKT('SRID=4674;POINT (-38.375355 -3.314224)'))) / (select extract(epoch from '2026-07-18 12:21:56'::timestamp) - extract(epoch from '2026-07-18 12:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375338 -3.314213)'), GeomFromEWKT('SRID=4674;POINT (-38.375355 -3.314224)'))) / (select extract(epoch from '2026-07-18 12:21:56'::timestamp) - extract(epoch from '2026-07-18 12:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375365 -3.314235)', '2026-07-18 12:21:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375355 -3.314224)'), GeomFromEWKT('SRID=4674;POINT (-38.375365 -3.314235)'))) / (select extract(epoch from '2026-07-18 12:21:57'::timestamp) - extract(epoch from '2026-07-18 12:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375355 -3.314224)'), GeomFromEWKT('SRID=4674;POINT (-38.375365 -3.314235)'))) / (select extract(epoch from '2026-07-18 12:21:57'::timestamp) - extract(epoch from '2026-07-18 12:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37541 -3.314297)', '2026-07-18 12:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375365 -3.314235)'), GeomFromEWKT('SRID=4674;POINT (-38.37541 -3.314297)'))) / (select extract(epoch from '2026-07-18 12:22:01'::timestamp) - extract(epoch from '2026-07-18 12:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375365 -3.314235)'), GeomFromEWKT('SRID=4674;POINT (-38.37541 -3.314297)'))) / (select extract(epoch from '2026-07-18 12:22:01'::timestamp) - extract(epoch from '2026-07-18 12:21:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375492 -3.314375)', '2026-07-18 12:22:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37541 -3.314297)'), GeomFromEWKT('SRID=4674;POINT (-38.375492 -3.314375)'))) / (select extract(epoch from '2026-07-18 12:22:07'::timestamp) - extract(epoch from '2026-07-18 12:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37541 -3.314297)'), GeomFromEWKT('SRID=4674;POINT (-38.375492 -3.314375)'))) / (select extract(epoch from '2026-07-18 12:22:07'::timestamp) - extract(epoch from '2026-07-18 12:22:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375548 -3.314426)', '2026-07-18 12:22:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375492 -3.314375)'), GeomFromEWKT('SRID=4674;POINT (-38.375548 -3.314426)'))) / (select extract(epoch from '2026-07-18 12:22:11'::timestamp) - extract(epoch from '2026-07-18 12:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375492 -3.314375)'), GeomFromEWKT('SRID=4674;POINT (-38.375548 -3.314426)'))) / (select extract(epoch from '2026-07-18 12:22:11'::timestamp) - extract(epoch from '2026-07-18 12:22:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375623 -3.314505)', '2026-07-18 12:22:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375548 -3.314426)'), GeomFromEWKT('SRID=4674;POINT (-38.375623 -3.314505)'))) / (select extract(epoch from '2026-07-18 12:22:17'::timestamp) - extract(epoch from '2026-07-18 12:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375548 -3.314426)'), GeomFromEWKT('SRID=4674;POINT (-38.375623 -3.314505)'))) / (select extract(epoch from '2026-07-18 12:22:17'::timestamp) - extract(epoch from '2026-07-18 12:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375698 -3.314572)', '2026-07-18 12:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375623 -3.314505)'), GeomFromEWKT('SRID=4674;POINT (-38.375698 -3.314572)'))) / (select extract(epoch from '2026-07-18 12:22:23'::timestamp) - extract(epoch from '2026-07-18 12:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375623 -3.314505)'), GeomFromEWKT('SRID=4674;POINT (-38.375698 -3.314572)'))) / (select extract(epoch from '2026-07-18 12:22:23'::timestamp) - extract(epoch from '2026-07-18 12:22:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37576 -3.314611)', '2026-07-18 12:22:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375698 -3.314572)'), GeomFromEWKT('SRID=4674;POINT (-38.37576 -3.314611)'))) / (select extract(epoch from '2026-07-18 12:22:28'::timestamp) - extract(epoch from '2026-07-18 12:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375698 -3.314572)'), GeomFromEWKT('SRID=4674;POINT (-38.37576 -3.314611)'))) / (select extract(epoch from '2026-07-18 12:22:28'::timestamp) - extract(epoch from '2026-07-18 12:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375817 -3.314662)', '2026-07-18 12:22:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37576 -3.314611)'), GeomFromEWKT('SRID=4674;POINT (-38.375817 -3.314662)'))) / (select extract(epoch from '2026-07-18 12:22:32'::timestamp) - extract(epoch from '2026-07-18 12:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37576 -3.314611)'), GeomFromEWKT('SRID=4674;POINT (-38.375817 -3.314662)'))) / (select extract(epoch from '2026-07-18 12:22:32'::timestamp) - extract(epoch from '2026-07-18 12:22:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375833 -3.314669)', '2026-07-18 12:22:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375817 -3.314662)'), GeomFromEWKT('SRID=4674;POINT (-38.375833 -3.314669)'))) / (select extract(epoch from '2026-07-18 12:22:33'::timestamp) - extract(epoch from '2026-07-18 12:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375817 -3.314662)'), GeomFromEWKT('SRID=4674;POINT (-38.375833 -3.314669)'))) / (select extract(epoch from '2026-07-18 12:22:33'::timestamp) - extract(epoch from '2026-07-18 12:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375885 -3.314731)', '2026-07-18 12:22:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375833 -3.314669)'), GeomFromEWKT('SRID=4674;POINT (-38.375885 -3.314731)'))) / (select extract(epoch from '2026-07-18 12:22:38'::timestamp) - extract(epoch from '2026-07-18 12:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375833 -3.314669)'), GeomFromEWKT('SRID=4674;POINT (-38.375885 -3.314731)'))) / (select extract(epoch from '2026-07-18 12:22:38'::timestamp) - extract(epoch from '2026-07-18 12:22:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.375898 -3.314741)', '2026-07-18 12:22:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375885 -3.314731)'), GeomFromEWKT('SRID=4674;POINT (-38.375898 -3.314741)'))) / (select extract(epoch from '2026-07-18 12:22:39'::timestamp) - extract(epoch from '2026-07-18 12:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375885 -3.314731)'), GeomFromEWKT('SRID=4674;POINT (-38.375898 -3.314741)'))) / (select extract(epoch from '2026-07-18 12:22:39'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.37599 -3.31483)', '2026-07-18 12:22:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375898 -3.314741)'), GeomFromEWKT('SRID=4674;POINT (-38.37599 -3.31483)'))) / (select extract(epoch from '2026-07-18 12:22:46'::timestamp) - extract(epoch from '2026-07-18 12:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375898 -3.314741)'), GeomFromEWKT('SRID=4674;POINT (-38.37599 -3.31483)'))) / (select extract(epoch from '2026-07-18 12:22:46'::timestamp) - extract(epoch from '2026-07-18 12:22:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376042 -3.314888)', '2026-07-18 12:22:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37599 -3.31483)'), GeomFromEWKT('SRID=4674;POINT (-38.376042 -3.314888)'))) / (select extract(epoch from '2026-07-18 12:22:51'::timestamp) - extract(epoch from '2026-07-18 12:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37599 -3.31483)'), GeomFromEWKT('SRID=4674;POINT (-38.376042 -3.314888)'))) / (select extract(epoch from '2026-07-18 12:22:51'::timestamp) - extract(epoch from '2026-07-18 12:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376105 -3.31495)', '2026-07-18 12:22:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376042 -3.314888)'), GeomFromEWKT('SRID=4674;POINT (-38.376105 -3.31495)'))) / (select extract(epoch from '2026-07-18 12:22:56'::timestamp) - extract(epoch from '2026-07-18 12:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376042 -3.314888)'), GeomFromEWKT('SRID=4674;POINT (-38.376105 -3.31495)'))) / (select extract(epoch from '2026-07-18 12:22:56'::timestamp) - extract(epoch from '2026-07-18 12:22:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376191 -3.315013)', '2026-07-18 12:23:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376105 -3.31495)'), GeomFromEWKT('SRID=4674;POINT (-38.376191 -3.315013)'))) / (select extract(epoch from '2026-07-18 12:23:01'::timestamp) - extract(epoch from '2026-07-18 12:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376105 -3.31495)'), GeomFromEWKT('SRID=4674;POINT (-38.376191 -3.315013)'))) / (select extract(epoch from '2026-07-18 12:23:01'::timestamp) - extract(epoch from '2026-07-18 12:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.3762 -3.315024)', '2026-07-18 12:23:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376191 -3.315013)'), GeomFromEWKT('SRID=4674;POINT (-38.3762 -3.315024)'))) / (select extract(epoch from '2026-07-18 12:23:02'::timestamp) - extract(epoch from '2026-07-18 12:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376191 -3.315013)'), GeomFromEWKT('SRID=4674;POINT (-38.3762 -3.315024)'))) / (select extract(epoch from '2026-07-18 12:23:02'::timestamp) - extract(epoch from '2026-07-18 12:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376228 -3.315052)', '2026-07-18 12:23:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3762 -3.315024)'), GeomFromEWKT('SRID=4674;POINT (-38.376228 -3.315052)'))) / (select extract(epoch from '2026-07-18 12:23:05'::timestamp) - extract(epoch from '2026-07-18 12:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3762 -3.315024)'), GeomFromEWKT('SRID=4674;POINT (-38.376228 -3.315052)'))) / (select extract(epoch from '2026-07-18 12:23:05'::timestamp) - extract(epoch from '2026-07-18 12:23:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376251 -3.315069)', '2026-07-18 12:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376228 -3.315052)'), GeomFromEWKT('SRID=4674;POINT (-38.376251 -3.315069)'))) / (select extract(epoch from '2026-07-18 12:23:07'::timestamp) - extract(epoch from '2026-07-18 12:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376228 -3.315052)'), GeomFromEWKT('SRID=4674;POINT (-38.376251 -3.315069)'))) / (select extract(epoch from '2026-07-18 12:23:07'::timestamp) - extract(epoch from '2026-07-18 12:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376288 -3.315104)', '2026-07-18 12:23:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376251 -3.315069)'), GeomFromEWKT('SRID=4674;POINT (-38.376288 -3.315104)'))) / (select extract(epoch from '2026-07-18 12:23:10'::timestamp) - extract(epoch from '2026-07-18 12:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376251 -3.315069)'), GeomFromEWKT('SRID=4674;POINT (-38.376288 -3.315104)'))) / (select extract(epoch from '2026-07-18 12:23:10'::timestamp) - extract(epoch from '2026-07-18 12:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376358 -3.31517)', '2026-07-18 12:23:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376288 -3.315104)'), GeomFromEWKT('SRID=4674;POINT (-38.376358 -3.31517)'))) / (select extract(epoch from '2026-07-18 12:23:16'::timestamp) - extract(epoch from '2026-07-18 12:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376288 -3.315104)'), GeomFromEWKT('SRID=4674;POINT (-38.376358 -3.31517)'))) / (select extract(epoch from '2026-07-18 12:23:16'::timestamp) - extract(epoch from '2026-07-18 12:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376377 -3.315187)', '2026-07-18 12:23:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376358 -3.31517)'), GeomFromEWKT('SRID=4674;POINT (-38.376377 -3.315187)'))) / (select extract(epoch from '2026-07-18 12:23:18'::timestamp) - extract(epoch from '2026-07-18 12:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376358 -3.31517)'), GeomFromEWKT('SRID=4674;POINT (-38.376377 -3.315187)'))) / (select extract(epoch from '2026-07-18 12:23:18'::timestamp) - extract(epoch from '2026-07-18 12:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376422 -3.315212)', '2026-07-18 12:23:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376377 -3.315187)'), GeomFromEWKT('SRID=4674;POINT (-38.376422 -3.315212)'))) / (select extract(epoch from '2026-07-18 12:23:21'::timestamp) - extract(epoch from '2026-07-18 12:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376377 -3.315187)'), GeomFromEWKT('SRID=4674;POINT (-38.376422 -3.315212)'))) / (select extract(epoch from '2026-07-18 12:23:21'::timestamp) - extract(epoch from '2026-07-18 12:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376436 -3.315225)', '2026-07-18 12:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376422 -3.315212)'), GeomFromEWKT('SRID=4674;POINT (-38.376436 -3.315225)'))) / (select extract(epoch from '2026-07-18 12:23:22'::timestamp) - extract(epoch from '2026-07-18 12:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376422 -3.315212)'), GeomFromEWKT('SRID=4674;POINT (-38.376436 -3.315225)'))) / (select extract(epoch from '2026-07-18 12:23:22'::timestamp) - extract(epoch from '2026-07-18 12:23:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376482 -3.315265)', '2026-07-18 12:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376436 -3.315225)'), GeomFromEWKT('SRID=4674;POINT (-38.376482 -3.315265)'))) / (select extract(epoch from '2026-07-18 12:23:26'::timestamp) - extract(epoch from '2026-07-18 12:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376436 -3.315225)'), GeomFromEWKT('SRID=4674;POINT (-38.376482 -3.315265)'))) / (select extract(epoch from '2026-07-18 12:23:26'::timestamp) - extract(epoch from '2026-07-18 12:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376542 -3.31531)', '2026-07-18 12:23:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376482 -3.315265)'), GeomFromEWKT('SRID=4674;POINT (-38.376542 -3.31531)'))) / (select extract(epoch from '2026-07-18 12:23:30'::timestamp) - extract(epoch from '2026-07-18 12:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376482 -3.315265)'), GeomFromEWKT('SRID=4674;POINT (-38.376542 -3.31531)'))) / (select extract(epoch from '2026-07-18 12:23:30'::timestamp) - extract(epoch from '2026-07-18 12:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376561 -3.315319)', '2026-07-18 12:23:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376542 -3.31531)'), GeomFromEWKT('SRID=4674;POINT (-38.376561 -3.315319)'))) / (select extract(epoch from '2026-07-18 12:23:31'::timestamp) - extract(epoch from '2026-07-18 12:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376542 -3.31531)'), GeomFromEWKT('SRID=4674;POINT (-38.376561 -3.315319)'))) / (select extract(epoch from '2026-07-18 12:23:31'::timestamp) - extract(epoch from '2026-07-18 12:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376578 -3.315333)', '2026-07-18 12:23:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376561 -3.315319)'), GeomFromEWKT('SRID=4674;POINT (-38.376578 -3.315333)'))) / (select extract(epoch from '2026-07-18 12:23:32'::timestamp) - extract(epoch from '2026-07-18 12:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376561 -3.315319)'), GeomFromEWKT('SRID=4674;POINT (-38.376578 -3.315333)'))) / (select extract(epoch from '2026-07-18 12:23:32'::timestamp) - extract(epoch from '2026-07-18 12:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376612 -3.315376)', '2026-07-18 12:23:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376578 -3.315333)'), GeomFromEWKT('SRID=4674;POINT (-38.376612 -3.315376)'))) / (select extract(epoch from '2026-07-18 12:23:35'::timestamp) - extract(epoch from '2026-07-18 12:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376578 -3.315333)'), GeomFromEWKT('SRID=4674;POINT (-38.376612 -3.315376)'))) / (select extract(epoch from '2026-07-18 12:23:35'::timestamp) - extract(epoch from '2026-07-18 12:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376676 -3.315439)', '2026-07-18 12:23:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376612 -3.315376)'), GeomFromEWKT('SRID=4674;POINT (-38.376676 -3.315439)'))) / (select extract(epoch from '2026-07-18 12:23:40'::timestamp) - extract(epoch from '2026-07-18 12:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376612 -3.315376)'), GeomFromEWKT('SRID=4674;POINT (-38.376676 -3.315439)'))) / (select extract(epoch from '2026-07-18 12:23:40'::timestamp) - extract(epoch from '2026-07-18 12:23:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37673 -3.315503)', '2026-07-18 12:23:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376676 -3.315439)'), GeomFromEWKT('SRID=4674;POINT (-38.37673 -3.315503)'))) / (select extract(epoch from '2026-07-18 12:23:45'::timestamp) - extract(epoch from '2026-07-18 12:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376676 -3.315439)'), GeomFromEWKT('SRID=4674;POINT (-38.37673 -3.315503)'))) / (select extract(epoch from '2026-07-18 12:23:45'::timestamp) - extract(epoch from '2026-07-18 12:23:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376756 -3.31554)', '2026-07-18 12:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37673 -3.315503)'), GeomFromEWKT('SRID=4674;POINT (-38.376756 -3.31554)'))) / (select extract(epoch from '2026-07-18 12:23:48'::timestamp) - extract(epoch from '2026-07-18 12:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37673 -3.315503)'), GeomFromEWKT('SRID=4674;POINT (-38.376756 -3.31554)'))) / (select extract(epoch from '2026-07-18 12:23:48'::timestamp) - extract(epoch from '2026-07-18 12:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376784 -3.315556)', '2026-07-18 12:23:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376756 -3.31554)'), GeomFromEWKT('SRID=4674;POINT (-38.376784 -3.315556)'))) / (select extract(epoch from '2026-07-18 12:23:50'::timestamp) - extract(epoch from '2026-07-18 12:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376756 -3.31554)'), GeomFromEWKT('SRID=4674;POINT (-38.376784 -3.315556)'))) / (select extract(epoch from '2026-07-18 12:23:50'::timestamp) - extract(epoch from '2026-07-18 12:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376805 -3.315573)', '2026-07-18 12:23:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376784 -3.315556)'), GeomFromEWKT('SRID=4674;POINT (-38.376805 -3.315573)'))) / (select extract(epoch from '2026-07-18 12:23:52'::timestamp) - extract(epoch from '2026-07-18 12:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376784 -3.315556)'), GeomFromEWKT('SRID=4674;POINT (-38.376805 -3.315573)'))) / (select extract(epoch from '2026-07-18 12:23:52'::timestamp) - extract(epoch from '2026-07-18 12:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376846 -3.315614)', '2026-07-18 12:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376805 -3.315573)'), GeomFromEWKT('SRID=4674;POINT (-38.376846 -3.315614)'))) / (select extract(epoch from '2026-07-18 12:23:55'::timestamp) - extract(epoch from '2026-07-18 12:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376805 -3.315573)'), GeomFromEWKT('SRID=4674;POINT (-38.376846 -3.315614)'))) / (select extract(epoch from '2026-07-18 12:23:55'::timestamp) - extract(epoch from '2026-07-18 12:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376919 -3.315682)', '2026-07-18 12:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376846 -3.315614)'), GeomFromEWKT('SRID=4674;POINT (-38.376919 -3.315682)'))) / (select extract(epoch from '2026-07-18 12:24:01'::timestamp) - extract(epoch from '2026-07-18 12:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376846 -3.315614)'), GeomFromEWKT('SRID=4674;POINT (-38.376919 -3.315682)'))) / (select extract(epoch from '2026-07-18 12:24:01'::timestamp) - extract(epoch from '2026-07-18 12:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.376978 -3.315723)', '2026-07-18 12:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376919 -3.315682)'), GeomFromEWKT('SRID=4674;POINT (-38.376978 -3.315723)'))) / (select extract(epoch from '2026-07-18 12:24:06'::timestamp) - extract(epoch from '2026-07-18 12:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376919 -3.315682)'), GeomFromEWKT('SRID=4674;POINT (-38.376978 -3.315723)'))) / (select extract(epoch from '2026-07-18 12:24:06'::timestamp) - extract(epoch from '2026-07-18 12:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377058 -3.315777)', '2026-07-18 12:24:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376978 -3.315723)'), GeomFromEWKT('SRID=4674;POINT (-38.377058 -3.315777)'))) / (select extract(epoch from '2026-07-18 12:24:12'::timestamp) - extract(epoch from '2026-07-18 12:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376978 -3.315723)'), GeomFromEWKT('SRID=4674;POINT (-38.377058 -3.315777)'))) / (select extract(epoch from '2026-07-18 12:24:12'::timestamp) - extract(epoch from '2026-07-18 12:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377139 -3.315843)', '2026-07-18 12:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377058 -3.315777)'), GeomFromEWKT('SRID=4674;POINT (-38.377139 -3.315843)'))) / (select extract(epoch from '2026-07-18 12:24:18'::timestamp) - extract(epoch from '2026-07-18 12:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377058 -3.315777)'), GeomFromEWKT('SRID=4674;POINT (-38.377139 -3.315843)'))) / (select extract(epoch from '2026-07-18 12:24:18'::timestamp) - extract(epoch from '2026-07-18 12:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377209 -3.3159)', '2026-07-18 12:24:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377139 -3.315843)'), GeomFromEWKT('SRID=4674;POINT (-38.377209 -3.3159)'))) / (select extract(epoch from '2026-07-18 12:24:23'::timestamp) - extract(epoch from '2026-07-18 12:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377139 -3.315843)'), GeomFromEWKT('SRID=4674;POINT (-38.377209 -3.3159)'))) / (select extract(epoch from '2026-07-18 12:24:23'::timestamp) - extract(epoch from '2026-07-18 12:24:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377273 -3.315953)', '2026-07-18 12:24:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377209 -3.3159)'), GeomFromEWKT('SRID=4674;POINT (-38.377273 -3.315953)'))) / (select extract(epoch from '2026-07-18 12:24:28'::timestamp) - extract(epoch from '2026-07-18 12:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377209 -3.3159)'), GeomFromEWKT('SRID=4674;POINT (-38.377273 -3.315953)'))) / (select extract(epoch from '2026-07-18 12:24:28'::timestamp) - extract(epoch from '2026-07-18 12:24:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377296 -3.315969)', '2026-07-18 12:24:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377273 -3.315953)'), GeomFromEWKT('SRID=4674;POINT (-38.377296 -3.315969)'))) / (select extract(epoch from '2026-07-18 12:24:30'::timestamp) - extract(epoch from '2026-07-18 12:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377273 -3.315953)'), GeomFromEWKT('SRID=4674;POINT (-38.377296 -3.315969)'))) / (select extract(epoch from '2026-07-18 12:24:30'::timestamp) - extract(epoch from '2026-07-18 12:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377322 -3.315979)', '2026-07-18 12:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377296 -3.315969)'), GeomFromEWKT('SRID=4674;POINT (-38.377322 -3.315979)'))) / (select extract(epoch from '2026-07-18 12:24:32'::timestamp) - extract(epoch from '2026-07-18 12:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377296 -3.315969)'), GeomFromEWKT('SRID=4674;POINT (-38.377322 -3.315979)'))) / (select extract(epoch from '2026-07-18 12:24:32'::timestamp) - extract(epoch from '2026-07-18 12:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377345 -3.315998)', '2026-07-18 12:24:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377322 -3.315979)'), GeomFromEWKT('SRID=4674;POINT (-38.377345 -3.315998)'))) / (select extract(epoch from '2026-07-18 12:24:34'::timestamp) - extract(epoch from '2026-07-18 12:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377322 -3.315979)'), GeomFromEWKT('SRID=4674;POINT (-38.377345 -3.315998)'))) / (select extract(epoch from '2026-07-18 12:24:34'::timestamp) - extract(epoch from '2026-07-18 12:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377398 -3.316024)', '2026-07-18 12:24:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377345 -3.315998)'), GeomFromEWKT('SRID=4674;POINT (-38.377398 -3.316024)'))) / (select extract(epoch from '2026-07-18 12:24:38'::timestamp) - extract(epoch from '2026-07-18 12:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377345 -3.315998)'), GeomFromEWKT('SRID=4674;POINT (-38.377398 -3.316024)'))) / (select extract(epoch from '2026-07-18 12:24:38'::timestamp) - extract(epoch from '2026-07-18 12:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377471 -3.316073)', '2026-07-18 12:24:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377398 -3.316024)'), GeomFromEWKT('SRID=4674;POINT (-38.377471 -3.316073)'))) / (select extract(epoch from '2026-07-18 12:24:44'::timestamp) - extract(epoch from '2026-07-18 12:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377398 -3.316024)'), GeomFromEWKT('SRID=4674;POINT (-38.377471 -3.316073)'))) / (select extract(epoch from '2026-07-18 12:24:44'::timestamp) - extract(epoch from '2026-07-18 12:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37754 -3.316123)', '2026-07-18 12:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377471 -3.316073)'), GeomFromEWKT('SRID=4674;POINT (-38.37754 -3.316123)'))) / (select extract(epoch from '2026-07-18 12:24:49'::timestamp) - extract(epoch from '2026-07-18 12:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377471 -3.316073)'), GeomFromEWKT('SRID=4674;POINT (-38.37754 -3.316123)'))) / (select extract(epoch from '2026-07-18 12:24:49'::timestamp) - extract(epoch from '2026-07-18 12:24:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377568 -3.316145)', '2026-07-18 12:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37754 -3.316123)'), GeomFromEWKT('SRID=4674;POINT (-38.377568 -3.316145)'))) / (select extract(epoch from '2026-07-18 12:24:51'::timestamp) - extract(epoch from '2026-07-18 12:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37754 -3.316123)'), GeomFromEWKT('SRID=4674;POINT (-38.377568 -3.316145)'))) / (select extract(epoch from '2026-07-18 12:24:51'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.377609 -3.316172)', '2026-07-18 12:24:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377568 -3.316145)'), GeomFromEWKT('SRID=4674;POINT (-38.377609 -3.316172)'))) / (select extract(epoch from '2026-07-18 12:24:54'::timestamp) - extract(epoch from '2026-07-18 12:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377568 -3.316145)'), GeomFromEWKT('SRID=4674;POINT (-38.377609 -3.316172)'))) / (select extract(epoch from '2026-07-18 12:24:54'::timestamp) - extract(epoch from '2026-07-18 12:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377673 -3.316221)', '2026-07-18 12:24:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377609 -3.316172)'), GeomFromEWKT('SRID=4674;POINT (-38.377673 -3.316221)'))) / (select extract(epoch from '2026-07-18 12:24:59'::timestamp) - extract(epoch from '2026-07-18 12:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377609 -3.316172)'), GeomFromEWKT('SRID=4674;POINT (-38.377673 -3.316221)'))) / (select extract(epoch from '2026-07-18 12:24:59'::timestamp) - extract(epoch from '2026-07-18 12:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377735 -3.316271)', '2026-07-18 12:25:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377673 -3.316221)'), GeomFromEWKT('SRID=4674;POINT (-38.377735 -3.316271)'))) / (select extract(epoch from '2026-07-18 12:25:04'::timestamp) - extract(epoch from '2026-07-18 12:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377673 -3.316221)'), GeomFromEWKT('SRID=4674;POINT (-38.377735 -3.316271)'))) / (select extract(epoch from '2026-07-18 12:25:04'::timestamp) - extract(epoch from '2026-07-18 12:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377845 -3.316348)', '2026-07-18 12:25:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377735 -3.316271)'), GeomFromEWKT('SRID=4674;POINT (-38.377845 -3.316348)'))) / (select extract(epoch from '2026-07-18 12:25:12'::timestamp) - extract(epoch from '2026-07-18 12:25:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377735 -3.316271)'), GeomFromEWKT('SRID=4674;POINT (-38.377845 -3.316348)'))) / (select extract(epoch from '2026-07-18 12:25:12'::timestamp) - extract(epoch from '2026-07-18 12:25:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377923 -3.316413)', '2026-07-18 12:25:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377845 -3.316348)'), GeomFromEWKT('SRID=4674;POINT (-38.377923 -3.316413)'))) / (select extract(epoch from '2026-07-18 12:25:18'::timestamp) - extract(epoch from '2026-07-18 12:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377845 -3.316348)'), GeomFromEWKT('SRID=4674;POINT (-38.377923 -3.316413)'))) / (select extract(epoch from '2026-07-18 12:25:18'::timestamp) - extract(epoch from '2026-07-18 12:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.377983 -3.316467)', '2026-07-18 12:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377923 -3.316413)'), GeomFromEWKT('SRID=4674;POINT (-38.377983 -3.316467)'))) / (select extract(epoch from '2026-07-18 12:25:23'::timestamp) - extract(epoch from '2026-07-18 12:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377923 -3.316413)'), GeomFromEWKT('SRID=4674;POINT (-38.377983 -3.316467)'))) / (select extract(epoch from '2026-07-18 12:25:23'::timestamp) - extract(epoch from '2026-07-18 12:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378035 -3.316518)', '2026-07-18 12:25:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377983 -3.316467)'), GeomFromEWKT('SRID=4674;POINT (-38.378035 -3.316518)'))) / (select extract(epoch from '2026-07-18 12:25:28'::timestamp) - extract(epoch from '2026-07-18 12:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.377983 -3.316467)'), GeomFromEWKT('SRID=4674;POINT (-38.378035 -3.316518)'))) / (select extract(epoch from '2026-07-18 12:25:28'::timestamp) - extract(epoch from '2026-07-18 12:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37805 -3.316524)', '2026-07-18 12:25:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378035 -3.316518)'), GeomFromEWKT('SRID=4674;POINT (-38.37805 -3.316524)'))) / (select extract(epoch from '2026-07-18 12:25:29'::timestamp) - extract(epoch from '2026-07-18 12:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378035 -3.316518)'), GeomFromEWKT('SRID=4674;POINT (-38.37805 -3.316524)'))) / (select extract(epoch from '2026-07-18 12:25:29'::timestamp) - extract(epoch from '2026-07-18 12:25:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37806 -3.316533)', '2026-07-18 12:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37805 -3.316524)'), GeomFromEWKT('SRID=4674;POINT (-38.37806 -3.316533)'))) / (select extract(epoch from '2026-07-18 12:25:30'::timestamp) - extract(epoch from '2026-07-18 12:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37805 -3.316524)'), GeomFromEWKT('SRID=4674;POINT (-38.37806 -3.316533)'))) / (select extract(epoch from '2026-07-18 12:25:30'::timestamp) - extract(epoch from '2026-07-18 12:25:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378071 -3.316553)', '2026-07-18 12:25:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37806 -3.316533)'), GeomFromEWKT('SRID=4674;POINT (-38.378071 -3.316553)'))) / (select extract(epoch from '2026-07-18 12:25:32'::timestamp) - extract(epoch from '2026-07-18 12:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37806 -3.316533)'), GeomFromEWKT('SRID=4674;POINT (-38.378071 -3.316553)'))) / (select extract(epoch from '2026-07-18 12:25:32'::timestamp) - extract(epoch from '2026-07-18 12:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378079 -3.31656)', '2026-07-18 12:25:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378071 -3.316553)'), GeomFromEWKT('SRID=4674;POINT (-38.378079 -3.31656)'))) / (select extract(epoch from '2026-07-18 12:25:33'::timestamp) - extract(epoch from '2026-07-18 12:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378071 -3.316553)'), GeomFromEWKT('SRID=4674;POINT (-38.378079 -3.31656)'))) / (select extract(epoch from '2026-07-18 12:25:33'::timestamp) - extract(epoch from '2026-07-18 12:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378144 -3.3166)', '2026-07-18 12:25:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378079 -3.31656)'), GeomFromEWKT('SRID=4674;POINT (-38.378144 -3.3166)'))) / (select extract(epoch from '2026-07-18 12:25:38'::timestamp) - extract(epoch from '2026-07-18 12:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378079 -3.31656)'), GeomFromEWKT('SRID=4674;POINT (-38.378144 -3.3166)'))) / (select extract(epoch from '2026-07-18 12:25:38'::timestamp) - extract(epoch from '2026-07-18 12:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378218 -3.316635)', '2026-07-18 12:25:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378144 -3.3166)'), GeomFromEWKT('SRID=4674;POINT (-38.378218 -3.316635)'))) / (select extract(epoch from '2026-07-18 12:25:43'::timestamp) - extract(epoch from '2026-07-18 12:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378144 -3.3166)'), GeomFromEWKT('SRID=4674;POINT (-38.378218 -3.316635)'))) / (select extract(epoch from '2026-07-18 12:25:43'::timestamp) - extract(epoch from '2026-07-18 12:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378263 -3.316671)', '2026-07-18 12:25:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378218 -3.316635)'), GeomFromEWKT('SRID=4674;POINT (-38.378263 -3.316671)'))) / (select extract(epoch from '2026-07-18 12:25:47'::timestamp) - extract(epoch from '2026-07-18 12:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378218 -3.316635)'), GeomFromEWKT('SRID=4674;POINT (-38.378263 -3.316671)'))) / (select extract(epoch from '2026-07-18 12:25:47'::timestamp) - extract(epoch from '2026-07-18 12:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378347 -3.316731)', '2026-07-18 12:25:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378263 -3.316671)'), GeomFromEWKT('SRID=4674;POINT (-38.378347 -3.316731)'))) / (select extract(epoch from '2026-07-18 12:25:53'::timestamp) - extract(epoch from '2026-07-18 12:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378263 -3.316671)'), GeomFromEWKT('SRID=4674;POINT (-38.378347 -3.316731)'))) / (select extract(epoch from '2026-07-18 12:25:53'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.378382 -3.316747)', '2026-07-18 12:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378347 -3.316731)'), GeomFromEWKT('SRID=4674;POINT (-38.378382 -3.316747)'))) / (select extract(epoch from '2026-07-18 12:25:55'::timestamp) - extract(epoch from '2026-07-18 12:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378347 -3.316731)'), GeomFromEWKT('SRID=4674;POINT (-38.378382 -3.316747)'))) / (select extract(epoch from '2026-07-18 12:25:55'::timestamp) - extract(epoch from '2026-07-18 12:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378396 -3.316773)', '2026-07-18 12:25:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378382 -3.316747)'), GeomFromEWKT('SRID=4674;POINT (-38.378396 -3.316773)'))) / (select extract(epoch from '2026-07-18 12:25:57'::timestamp) - extract(epoch from '2026-07-18 12:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378382 -3.316747)'), GeomFromEWKT('SRID=4674;POINT (-38.378396 -3.316773)'))) / (select extract(epoch from '2026-07-18 12:25:57'::timestamp) - extract(epoch from '2026-07-18 12:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378454 -3.316822)', '2026-07-18 12:26:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378396 -3.316773)'), GeomFromEWKT('SRID=4674;POINT (-38.378454 -3.316822)'))) / (select extract(epoch from '2026-07-18 12:26:01'::timestamp) - extract(epoch from '2026-07-18 12:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378396 -3.316773)'), GeomFromEWKT('SRID=4674;POINT (-38.378454 -3.316822)'))) / (select extract(epoch from '2026-07-18 12:26:01'::timestamp) - extract(epoch from '2026-07-18 12:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37849 -3.316854)', '2026-07-18 12:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378454 -3.316822)'), GeomFromEWKT('SRID=4674;POINT (-38.37849 -3.316854)'))) / (select extract(epoch from '2026-07-18 12:26:06'::timestamp) - extract(epoch from '2026-07-18 12:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378454 -3.316822)'), GeomFromEWKT('SRID=4674;POINT (-38.37849 -3.316854)'))) / (select extract(epoch from '2026-07-18 12:26:06'::timestamp) - extract(epoch from '2026-07-18 12:26:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378509 -3.31686)', '2026-07-18 12:26:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37849 -3.316854)'), GeomFromEWKT('SRID=4674;POINT (-38.378509 -3.31686)'))) / (select extract(epoch from '2026-07-18 12:26:08'::timestamp) - extract(epoch from '2026-07-18 12:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37849 -3.316854)'), GeomFromEWKT('SRID=4674;POINT (-38.378509 -3.31686)'))) / (select extract(epoch from '2026-07-18 12:26:08'::timestamp) - extract(epoch from '2026-07-18 12:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378529 -3.316876)', '2026-07-18 12:26:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378509 -3.31686)'), GeomFromEWKT('SRID=4674;POINT (-38.378529 -3.316876)'))) / (select extract(epoch from '2026-07-18 12:26:11'::timestamp) - extract(epoch from '2026-07-18 12:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378509 -3.31686)'), GeomFromEWKT('SRID=4674;POINT (-38.378529 -3.316876)'))) / (select extract(epoch from '2026-07-18 12:26:11'::timestamp) - extract(epoch from '2026-07-18 12:26:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378615 -3.316914)', '2026-07-18 12:26:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378529 -3.316876)'), GeomFromEWKT('SRID=4674;POINT (-38.378615 -3.316914)'))) / (select extract(epoch from '2026-07-18 12:26:16'::timestamp) - extract(epoch from '2026-07-18 12:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378529 -3.316876)'), GeomFromEWKT('SRID=4674;POINT (-38.378615 -3.316914)'))) / (select extract(epoch from '2026-07-18 12:26:16'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.378687 -3.316962)', '2026-07-18 12:26:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378615 -3.316914)'), GeomFromEWKT('SRID=4674;POINT (-38.378687 -3.316962)'))) / (select extract(epoch from '2026-07-18 12:26:21'::timestamp) - extract(epoch from '2026-07-18 12:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378615 -3.316914)'), GeomFromEWKT('SRID=4674;POINT (-38.378687 -3.316962)'))) / (select extract(epoch from '2026-07-18 12:26:21'::timestamp) - extract(epoch from '2026-07-18 12:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378705 -3.316971)', '2026-07-18 12:26:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378687 -3.316962)'), GeomFromEWKT('SRID=4674;POINT (-38.378705 -3.316971)'))) / (select extract(epoch from '2026-07-18 12:26:22'::timestamp) - extract(epoch from '2026-07-18 12:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378687 -3.316962)'), GeomFromEWKT('SRID=4674;POINT (-38.378705 -3.316971)'))) / (select extract(epoch from '2026-07-18 12:26:22'::timestamp) - extract(epoch from '2026-07-18 12:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378736 -3.316996)', '2026-07-18 12:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378705 -3.316971)'), GeomFromEWKT('SRID=4674;POINT (-38.378736 -3.316996)'))) / (select extract(epoch from '2026-07-18 12:26:24'::timestamp) - extract(epoch from '2026-07-18 12:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378705 -3.316971)'), GeomFromEWKT('SRID=4674;POINT (-38.378736 -3.316996)'))) / (select extract(epoch from '2026-07-18 12:26:24'::timestamp) - extract(epoch from '2026-07-18 12:26:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378741 -3.31701)', '2026-07-18 12:26:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378736 -3.316996)'), GeomFromEWKT('SRID=4674;POINT (-38.378741 -3.31701)'))) / (select extract(epoch from '2026-07-18 12:26:25'::timestamp) - extract(epoch from '2026-07-18 12:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378736 -3.316996)'), GeomFromEWKT('SRID=4674;POINT (-38.378741 -3.31701)'))) / (select extract(epoch from '2026-07-18 12:26:25'::timestamp) - extract(epoch from '2026-07-18 12:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37875 -3.317019)', '2026-07-18 12:26:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378741 -3.31701)'), GeomFromEWKT('SRID=4674;POINT (-38.37875 -3.317019)'))) / (select extract(epoch from '2026-07-18 12:26:26'::timestamp) - extract(epoch from '2026-07-18 12:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378741 -3.31701)'), GeomFromEWKT('SRID=4674;POINT (-38.37875 -3.317019)'))) / (select extract(epoch from '2026-07-18 12:26:26'::timestamp) - extract(epoch from '2026-07-18 12:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378792 -3.317045)', '2026-07-18 12:26:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37875 -3.317019)'), GeomFromEWKT('SRID=4674;POINT (-38.378792 -3.317045)'))) / (select extract(epoch from '2026-07-18 12:26:29'::timestamp) - extract(epoch from '2026-07-18 12:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37875 -3.317019)'), GeomFromEWKT('SRID=4674;POINT (-38.378792 -3.317045)'))) / (select extract(epoch from '2026-07-18 12:26:29'::timestamp) - extract(epoch from '2026-07-18 12:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.378874 -3.317109)', '2026-07-18 12:26:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378792 -3.317045)'), GeomFromEWKT('SRID=4674;POINT (-38.378874 -3.317109)'))) / (select extract(epoch from '2026-07-18 12:26:35'::timestamp) - extract(epoch from '2026-07-18 12:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378792 -3.317045)'), GeomFromEWKT('SRID=4674;POINT (-38.378874 -3.317109)'))) / (select extract(epoch from '2026-07-18 12:26:35'::timestamp) - extract(epoch from '2026-07-18 12:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.37897 -3.317184)', '2026-07-18 12:26:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378874 -3.317109)'), GeomFromEWKT('SRID=4674;POINT (-38.37897 -3.317184)'))) / (select extract(epoch from '2026-07-18 12:26:41'::timestamp) - extract(epoch from '2026-07-18 12:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.378874 -3.317109)'), GeomFromEWKT('SRID=4674;POINT (-38.37897 -3.317184)'))) / (select extract(epoch from '2026-07-18 12:26:41'::timestamp) - extract(epoch from '2026-07-18 12:26:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379058 -3.317269)', '2026-07-18 12:26:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37897 -3.317184)'), GeomFromEWKT('SRID=4674;POINT (-38.379058 -3.317269)'))) / (select extract(epoch from '2026-07-18 12:26:47'::timestamp) - extract(epoch from '2026-07-18 12:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37897 -3.317184)'), GeomFromEWKT('SRID=4674;POINT (-38.379058 -3.317269)'))) / (select extract(epoch from '2026-07-18 12:26:47'::timestamp) - extract(epoch from '2026-07-18 12:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379107 -3.317336)', '2026-07-18 12:26:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379058 -3.317269)'), GeomFromEWKT('SRID=4674;POINT (-38.379107 -3.317336)'))) / (select extract(epoch from '2026-07-18 12:26:52'::timestamp) - extract(epoch from '2026-07-18 12:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379058 -3.317269)'), GeomFromEWKT('SRID=4674;POINT (-38.379107 -3.317336)'))) / (select extract(epoch from '2026-07-18 12:26:52'::timestamp) - extract(epoch from '2026-07-18 12:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379175 -3.317398)', '2026-07-18 12:26:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379107 -3.317336)'), GeomFromEWKT('SRID=4674;POINT (-38.379175 -3.317398)'))) / (select extract(epoch from '2026-07-18 12:26:56'::timestamp) - extract(epoch from '2026-07-18 12:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379107 -3.317336)'), GeomFromEWKT('SRID=4674;POINT (-38.379175 -3.317398)'))) / (select extract(epoch from '2026-07-18 12:26:56'::timestamp) - extract(epoch from '2026-07-18 12:26:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379208 -3.317444)', '2026-07-18 12:27:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379175 -3.317398)'), GeomFromEWKT('SRID=4674;POINT (-38.379208 -3.317444)'))) / (select extract(epoch from '2026-07-18 12:27:00'::timestamp) - extract(epoch from '2026-07-18 12:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379175 -3.317398)'), GeomFromEWKT('SRID=4674;POINT (-38.379208 -3.317444)'))) / (select extract(epoch from '2026-07-18 12:27:00'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.379226 -3.317456)', '2026-07-18 12:27:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379208 -3.317444)'), GeomFromEWKT('SRID=4674;POINT (-38.379226 -3.317456)'))) / (select extract(epoch from '2026-07-18 12:27:01'::timestamp) - extract(epoch from '2026-07-18 12:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379208 -3.317444)'), GeomFromEWKT('SRID=4674;POINT (-38.379226 -3.317456)'))) / (select extract(epoch from '2026-07-18 12:27:01'::timestamp) - extract(epoch from '2026-07-18 12:27:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379298 -3.317516)', '2026-07-18 12:27:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379226 -3.317456)'), GeomFromEWKT('SRID=4674;POINT (-38.379298 -3.317516)'))) / (select extract(epoch from '2026-07-18 12:27:06'::timestamp) - extract(epoch from '2026-07-18 12:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379226 -3.317456)'), GeomFromEWKT('SRID=4674;POINT (-38.379298 -3.317516)'))) / (select extract(epoch from '2026-07-18 12:27:06'::timestamp) - extract(epoch from '2026-07-18 12:27:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379377 -3.317572)', '2026-07-18 12:27:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379298 -3.317516)'), GeomFromEWKT('SRID=4674;POINT (-38.379377 -3.317572)'))) / (select extract(epoch from '2026-07-18 12:27:11'::timestamp) - extract(epoch from '2026-07-18 12:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379298 -3.317516)'), GeomFromEWKT('SRID=4674;POINT (-38.379377 -3.317572)'))) / (select extract(epoch from '2026-07-18 12:27:11'::timestamp) - extract(epoch from '2026-07-18 12:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379387 -3.31758)', '2026-07-18 12:27:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379377 -3.317572)'), GeomFromEWKT('SRID=4674;POINT (-38.379387 -3.31758)'))) / (select extract(epoch from '2026-07-18 12:27:12'::timestamp) - extract(epoch from '2026-07-18 12:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379377 -3.317572)'), GeomFromEWKT('SRID=4674;POINT (-38.379387 -3.31758)'))) / (select extract(epoch from '2026-07-18 12:27:12'::timestamp) - extract(epoch from '2026-07-18 12:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379446 -3.317617)', '2026-07-18 12:27:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379387 -3.31758)'), GeomFromEWKT('SRID=4674;POINT (-38.379446 -3.317617)'))) / (select extract(epoch from '2026-07-18 12:27:16'::timestamp) - extract(epoch from '2026-07-18 12:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379387 -3.31758)'), GeomFromEWKT('SRID=4674;POINT (-38.379446 -3.317617)'))) / (select extract(epoch from '2026-07-18 12:27:16'::timestamp) - extract(epoch from '2026-07-18 12:27:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379533 -3.317697)', '2026-07-18 12:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379446 -3.317617)'), GeomFromEWKT('SRID=4674;POINT (-38.379533 -3.317697)'))) / (select extract(epoch from '2026-07-18 12:27:22'::timestamp) - extract(epoch from '2026-07-18 12:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379446 -3.317617)'), GeomFromEWKT('SRID=4674;POINT (-38.379533 -3.317697)'))) / (select extract(epoch from '2026-07-18 12:27:22'::timestamp) - extract(epoch from '2026-07-18 12:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379634 -3.317791)', '2026-07-18 12:27:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379533 -3.317697)'), GeomFromEWKT('SRID=4674;POINT (-38.379634 -3.317791)'))) / (select extract(epoch from '2026-07-18 12:27:29'::timestamp) - extract(epoch from '2026-07-18 12:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379533 -3.317697)'), GeomFromEWKT('SRID=4674;POINT (-38.379634 -3.317791)'))) / (select extract(epoch from '2026-07-18 12:27:29'::timestamp) - extract(epoch from '2026-07-18 12:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379665 -3.317825)', '2026-07-18 12:27:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379634 -3.317791)'), GeomFromEWKT('SRID=4674;POINT (-38.379665 -3.317825)'))) / (select extract(epoch from '2026-07-18 12:27:32'::timestamp) - extract(epoch from '2026-07-18 12:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379634 -3.317791)'), GeomFromEWKT('SRID=4674;POINT (-38.379665 -3.317825)'))) / (select extract(epoch from '2026-07-18 12:27:32'::timestamp) - extract(epoch from '2026-07-18 12:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379681 -3.317837)', '2026-07-18 12:27:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379665 -3.317825)'), GeomFromEWKT('SRID=4674;POINT (-38.379681 -3.317837)'))) / (select extract(epoch from '2026-07-18 12:27:33'::timestamp) - extract(epoch from '2026-07-18 12:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379665 -3.317825)'), GeomFromEWKT('SRID=4674;POINT (-38.379681 -3.317837)'))) / (select extract(epoch from '2026-07-18 12:27:33'::timestamp) - extract(epoch from '2026-07-18 12:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379727 -3.317881)', '2026-07-18 12:27:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379681 -3.317837)'), GeomFromEWKT('SRID=4674;POINT (-38.379727 -3.317881)'))) / (select extract(epoch from '2026-07-18 12:27:38'::timestamp) - extract(epoch from '2026-07-18 12:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379681 -3.317837)'), GeomFromEWKT('SRID=4674;POINT (-38.379727 -3.317881)'))) / (select extract(epoch from '2026-07-18 12:27:38'::timestamp) - extract(epoch from '2026-07-18 12:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379797 -3.317939)', '2026-07-18 12:27:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379727 -3.317881)'), GeomFromEWKT('SRID=4674;POINT (-38.379797 -3.317939)'))) / (select extract(epoch from '2026-07-18 12:27:43'::timestamp) - extract(epoch from '2026-07-18 12:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379727 -3.317881)'), GeomFromEWKT('SRID=4674;POINT (-38.379797 -3.317939)'))) / (select extract(epoch from '2026-07-18 12:27:43'::timestamp) - extract(epoch from '2026-07-18 12:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379804 -3.317951)', '2026-07-18 12:27:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379797 -3.317939)'), GeomFromEWKT('SRID=4674;POINT (-38.379804 -3.317951)'))) / (select extract(epoch from '2026-07-18 12:27:44'::timestamp) - extract(epoch from '2026-07-18 12:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379797 -3.317939)'), GeomFromEWKT('SRID=4674;POINT (-38.379804 -3.317951)'))) / (select extract(epoch from '2026-07-18 12:27:44'::timestamp) - extract(epoch from '2026-07-18 12:27:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379839 -3.317993)', '2026-07-18 12:27:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379804 -3.317951)'), GeomFromEWKT('SRID=4674;POINT (-38.379839 -3.317993)'))) / (select extract(epoch from '2026-07-18 12:27:47'::timestamp) - extract(epoch from '2026-07-18 12:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379804 -3.317951)'), GeomFromEWKT('SRID=4674;POINT (-38.379839 -3.317993)'))) / (select extract(epoch from '2026-07-18 12:27:47'::timestamp) - extract(epoch from '2026-07-18 12:27:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379896 -3.318051)', '2026-07-18 12:27:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379839 -3.317993)'), GeomFromEWKT('SRID=4674;POINT (-38.379896 -3.318051)'))) / (select extract(epoch from '2026-07-18 12:27:52'::timestamp) - extract(epoch from '2026-07-18 12:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379839 -3.317993)'), GeomFromEWKT('SRID=4674;POINT (-38.379896 -3.318051)'))) / (select extract(epoch from '2026-07-18 12:27:52'::timestamp) - extract(epoch from '2026-07-18 12:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379904 -3.318054)', '2026-07-18 12:27:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379896 -3.318051)'), GeomFromEWKT('SRID=4674;POINT (-38.379904 -3.318054)'))) / (select extract(epoch from '2026-07-18 12:27:53'::timestamp) - extract(epoch from '2026-07-18 12:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379896 -3.318051)'), GeomFromEWKT('SRID=4674;POINT (-38.379904 -3.318054)'))) / (select extract(epoch from '2026-07-18 12:27:53'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.379936 -3.318088)', '2026-07-18 12:27:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379904 -3.318054)'), GeomFromEWKT('SRID=4674;POINT (-38.379936 -3.318088)'))) / (select extract(epoch from '2026-07-18 12:27:56'::timestamp) - extract(epoch from '2026-07-18 12:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379904 -3.318054)'), GeomFromEWKT('SRID=4674;POINT (-38.379936 -3.318088)'))) / (select extract(epoch from '2026-07-18 12:27:56'::timestamp) - extract(epoch from '2026-07-18 12:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379981 -3.31811)', '2026-07-18 12:27:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379936 -3.318088)'), GeomFromEWKT('SRID=4674;POINT (-38.379981 -3.31811)'))) / (select extract(epoch from '2026-07-18 12:27:58'::timestamp) - extract(epoch from '2026-07-18 12:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379936 -3.318088)'), GeomFromEWKT('SRID=4674;POINT (-38.379981 -3.31811)'))) / (select extract(epoch from '2026-07-18 12:27:58'::timestamp) - extract(epoch from '2026-07-18 12:27:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.379996 -3.318121)', '2026-07-18 12:27:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379981 -3.31811)'), GeomFromEWKT('SRID=4674;POINT (-38.379996 -3.318121)'))) / (select extract(epoch from '2026-07-18 12:27:59'::timestamp) - extract(epoch from '2026-07-18 12:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379981 -3.31811)'), GeomFromEWKT('SRID=4674;POINT (-38.379996 -3.318121)'))) / (select extract(epoch from '2026-07-18 12:27:59'::timestamp) - extract(epoch from '2026-07-18 12:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380029 -3.31816)', '2026-07-18 12:28:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379996 -3.318121)'), GeomFromEWKT('SRID=4674;POINT (-38.380029 -3.31816)'))) / (select extract(epoch from '2026-07-18 12:28:02'::timestamp) - extract(epoch from '2026-07-18 12:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.379996 -3.318121)'), GeomFromEWKT('SRID=4674;POINT (-38.380029 -3.31816)'))) / (select extract(epoch from '2026-07-18 12:28:02'::timestamp) - extract(epoch from '2026-07-18 12:27:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380111 -3.318251)', '2026-07-18 12:28:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380029 -3.31816)'), GeomFromEWKT('SRID=4674;POINT (-38.380111 -3.318251)'))) / (select extract(epoch from '2026-07-18 12:28:09'::timestamp) - extract(epoch from '2026-07-18 12:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380029 -3.31816)'), GeomFromEWKT('SRID=4674;POINT (-38.380111 -3.318251)'))) / (select extract(epoch from '2026-07-18 12:28:09'::timestamp) - extract(epoch from '2026-07-18 12:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.38012 -3.318264)', '2026-07-18 12:28:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380111 -3.318251)'), GeomFromEWKT('SRID=4674;POINT (-38.38012 -3.318264)'))) / (select extract(epoch from '2026-07-18 12:28:10'::timestamp) - extract(epoch from '2026-07-18 12:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380111 -3.318251)'), GeomFromEWKT('SRID=4674;POINT (-38.38012 -3.318264)'))) / (select extract(epoch from '2026-07-18 12:28:10'::timestamp) - extract(epoch from '2026-07-18 12:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380164 -3.3183)', '2026-07-18 12:28:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38012 -3.318264)'), GeomFromEWKT('SRID=4674;POINT (-38.380164 -3.3183)'))) / (select extract(epoch from '2026-07-18 12:28:13'::timestamp) - extract(epoch from '2026-07-18 12:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38012 -3.318264)'), GeomFromEWKT('SRID=4674;POINT (-38.380164 -3.3183)'))) / (select extract(epoch from '2026-07-18 12:28:13'::timestamp) - extract(epoch from '2026-07-18 12:28:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380173 -3.318313)', '2026-07-18 12:28:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380164 -3.3183)'), GeomFromEWKT('SRID=4674;POINT (-38.380173 -3.318313)'))) / (select extract(epoch from '2026-07-18 12:28:14'::timestamp) - extract(epoch from '2026-07-18 12:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380164 -3.3183)'), GeomFromEWKT('SRID=4674;POINT (-38.380173 -3.318313)'))) / (select extract(epoch from '2026-07-18 12:28:14'::timestamp) - extract(epoch from '2026-07-18 12:28:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380193 -3.318344)', '2026-07-18 12:28:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380173 -3.318313)'), GeomFromEWKT('SRID=4674;POINT (-38.380193 -3.318344)'))) / (select extract(epoch from '2026-07-18 12:28:17'::timestamp) - extract(epoch from '2026-07-18 12:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380173 -3.318313)'), GeomFromEWKT('SRID=4674;POINT (-38.380193 -3.318344)'))) / (select extract(epoch from '2026-07-18 12:28:17'::timestamp) - extract(epoch from '2026-07-18 12:28:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380243 -3.318402)', '2026-07-18 12:28:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380193 -3.318344)'), GeomFromEWKT('SRID=4674;POINT (-38.380243 -3.318402)'))) / (select extract(epoch from '2026-07-18 12:28:22'::timestamp) - extract(epoch from '2026-07-18 12:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380193 -3.318344)'), GeomFromEWKT('SRID=4674;POINT (-38.380243 -3.318402)'))) / (select extract(epoch from '2026-07-18 12:28:22'::timestamp) - extract(epoch from '2026-07-18 12:28:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380312 -3.318459)', '2026-07-18 12:28:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380243 -3.318402)'), GeomFromEWKT('SRID=4674;POINT (-38.380312 -3.318459)'))) / (select extract(epoch from '2026-07-18 12:28:27'::timestamp) - extract(epoch from '2026-07-18 12:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380243 -3.318402)'), GeomFromEWKT('SRID=4674;POINT (-38.380312 -3.318459)'))) / (select extract(epoch from '2026-07-18 12:28:27'::timestamp) - extract(epoch from '2026-07-18 12:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380377 -3.318512)', '2026-07-18 12:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380312 -3.318459)'), GeomFromEWKT('SRID=4674;POINT (-38.380377 -3.318512)'))) / (select extract(epoch from '2026-07-18 12:28:32'::timestamp) - extract(epoch from '2026-07-18 12:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380312 -3.318459)'), GeomFromEWKT('SRID=4674;POINT (-38.380377 -3.318512)'))) / (select extract(epoch from '2026-07-18 12:28:32'::timestamp) - extract(epoch from '2026-07-18 12:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380454 -3.31859)', '2026-07-18 12:28:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380377 -3.318512)'), GeomFromEWKT('SRID=4674;POINT (-38.380454 -3.31859)'))) / (select extract(epoch from '2026-07-18 12:28:38'::timestamp) - extract(epoch from '2026-07-18 12:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380377 -3.318512)'), GeomFromEWKT('SRID=4674;POINT (-38.380454 -3.31859)'))) / (select extract(epoch from '2026-07-18 12:28:38'::timestamp) - extract(epoch from '2026-07-18 12:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380514 -3.318654)', '2026-07-18 12:28:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380454 -3.31859)'), GeomFromEWKT('SRID=4674;POINT (-38.380514 -3.318654)'))) / (select extract(epoch from '2026-07-18 12:28:43'::timestamp) - extract(epoch from '2026-07-18 12:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380454 -3.31859)'), GeomFromEWKT('SRID=4674;POINT (-38.380514 -3.318654)'))) / (select extract(epoch from '2026-07-18 12:28:43'::timestamp) - extract(epoch from '2026-07-18 12:28:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380583 -3.318724)', '2026-07-18 12:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380514 -3.318654)'), GeomFromEWKT('SRID=4674;POINT (-38.380583 -3.318724)'))) / (select extract(epoch from '2026-07-18 12:28:49'::timestamp) - extract(epoch from '2026-07-18 12:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380514 -3.318654)'), GeomFromEWKT('SRID=4674;POINT (-38.380583 -3.318724)'))) / (select extract(epoch from '2026-07-18 12:28:49'::timestamp) - extract(epoch from '2026-07-18 12:28:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380648 -3.318787)', '2026-07-18 12:28:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380583 -3.318724)'), GeomFromEWKT('SRID=4674;POINT (-38.380648 -3.318787)'))) / (select extract(epoch from '2026-07-18 12:28:55'::timestamp) - extract(epoch from '2026-07-18 12:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380583 -3.318724)'), GeomFromEWKT('SRID=4674;POINT (-38.380648 -3.318787)'))) / (select extract(epoch from '2026-07-18 12:28:55'::timestamp) - extract(epoch from '2026-07-18 12:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380659 -3.318796)', '2026-07-18 12:28:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380648 -3.318787)'), GeomFromEWKT('SRID=4674;POINT (-38.380659 -3.318796)'))) / (select extract(epoch from '2026-07-18 12:28:56'::timestamp) - extract(epoch from '2026-07-18 12:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380648 -3.318787)'), GeomFromEWKT('SRID=4674;POINT (-38.380659 -3.318796)'))) / (select extract(epoch from '2026-07-18 12:28:56'::timestamp) - extract(epoch from '2026-07-18 12:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380714 -3.318841)', '2026-07-18 12:29:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380659 -3.318796)'), GeomFromEWKT('SRID=4674;POINT (-38.380714 -3.318841)'))) / (select extract(epoch from '2026-07-18 12:29:00'::timestamp) - extract(epoch from '2026-07-18 12:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380659 -3.318796)'), GeomFromEWKT('SRID=4674;POINT (-38.380714 -3.318841)'))) / (select extract(epoch from '2026-07-18 12:29:00'::timestamp) - extract(epoch from '2026-07-18 12:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380785 -3.318916)', '2026-07-18 12:29:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380714 -3.318841)'), GeomFromEWKT('SRID=4674;POINT (-38.380785 -3.318916)'))) / (select extract(epoch from '2026-07-18 12:29:06'::timestamp) - extract(epoch from '2026-07-18 12:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380714 -3.318841)'), GeomFromEWKT('SRID=4674;POINT (-38.380785 -3.318916)'))) / (select extract(epoch from '2026-07-18 12:29:06'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.380839 -3.318981)', '2026-07-18 12:29:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380785 -3.318916)'), GeomFromEWKT('SRID=4674;POINT (-38.380839 -3.318981)'))) / (select extract(epoch from '2026-07-18 12:29:11'::timestamp) - extract(epoch from '2026-07-18 12:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380785 -3.318916)'), GeomFromEWKT('SRID=4674;POINT (-38.380839 -3.318981)'))) / (select extract(epoch from '2026-07-18 12:29:11'::timestamp) - extract(epoch from '2026-07-18 12:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380913 -3.319059)', '2026-07-18 12:29:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380839 -3.318981)'), GeomFromEWKT('SRID=4674;POINT (-38.380913 -3.319059)'))) / (select extract(epoch from '2026-07-18 12:29:17'::timestamp) - extract(epoch from '2026-07-18 12:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380839 -3.318981)'), GeomFromEWKT('SRID=4674;POINT (-38.380913 -3.319059)'))) / (select extract(epoch from '2026-07-18 12:29:17'::timestamp) - extract(epoch from '2026-07-18 12:29:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380972 -3.319108)', '2026-07-18 12:29:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380913 -3.319059)'), GeomFromEWKT('SRID=4674;POINT (-38.380972 -3.319108)'))) / (select extract(epoch from '2026-07-18 12:29:21'::timestamp) - extract(epoch from '2026-07-18 12:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380913 -3.319059)'), GeomFromEWKT('SRID=4674;POINT (-38.380972 -3.319108)'))) / (select extract(epoch from '2026-07-18 12:29:21'::timestamp) - extract(epoch from '2026-07-18 12:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.380999 -3.319127)', '2026-07-18 12:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380972 -3.319108)'), GeomFromEWKT('SRID=4674;POINT (-38.380999 -3.319127)'))) / (select extract(epoch from '2026-07-18 12:29:23'::timestamp) - extract(epoch from '2026-07-18 12:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380972 -3.319108)'), GeomFromEWKT('SRID=4674;POINT (-38.380999 -3.319127)'))) / (select extract(epoch from '2026-07-18 12:29:23'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.381042 -3.319173)', '2026-07-18 12:29:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380999 -3.319127)'), GeomFromEWKT('SRID=4674;POINT (-38.381042 -3.319173)'))) / (select extract(epoch from '2026-07-18 12:29:27'::timestamp) - extract(epoch from '2026-07-18 12:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.380999 -3.319127)'), GeomFromEWKT('SRID=4674;POINT (-38.381042 -3.319173)'))) / (select extract(epoch from '2026-07-18 12:29:27'::timestamp) - extract(epoch from '2026-07-18 12:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381088 -3.319218)', '2026-07-18 12:29:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381042 -3.319173)'), GeomFromEWKT('SRID=4674;POINT (-38.381088 -3.319218)'))) / (select extract(epoch from '2026-07-18 12:29:31'::timestamp) - extract(epoch from '2026-07-18 12:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381042 -3.319173)'), GeomFromEWKT('SRID=4674;POINT (-38.381088 -3.319218)'))) / (select extract(epoch from '2026-07-18 12:29:31'::timestamp) - extract(epoch from '2026-07-18 12:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381159 -3.31927)', '2026-07-18 12:29:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381088 -3.319218)'), GeomFromEWKT('SRID=4674;POINT (-38.381159 -3.31927)'))) / (select extract(epoch from '2026-07-18 12:29:36'::timestamp) - extract(epoch from '2026-07-18 12:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381088 -3.319218)'), GeomFromEWKT('SRID=4674;POINT (-38.381159 -3.31927)'))) / (select extract(epoch from '2026-07-18 12:29:36'::timestamp) - extract(epoch from '2026-07-18 12:29:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381181 -3.319285)', '2026-07-18 12:29:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381159 -3.31927)'), GeomFromEWKT('SRID=4674;POINT (-38.381181 -3.319285)'))) / (select extract(epoch from '2026-07-18 12:29:38'::timestamp) - extract(epoch from '2026-07-18 12:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381159 -3.31927)'), GeomFromEWKT('SRID=4674;POINT (-38.381181 -3.319285)'))) / (select extract(epoch from '2026-07-18 12:29:38'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.381204 -3.319302)', '2026-07-18 12:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381181 -3.319285)'), GeomFromEWKT('SRID=4674;POINT (-38.381204 -3.319302)'))) / (select extract(epoch from '2026-07-18 12:29:40'::timestamp) - extract(epoch from '2026-07-18 12:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381181 -3.319285)'), GeomFromEWKT('SRID=4674;POINT (-38.381204 -3.319302)'))) / (select extract(epoch from '2026-07-18 12:29:40'::timestamp) - extract(epoch from '2026-07-18 12:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381299 -3.319386)', '2026-07-18 12:29:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381204 -3.319302)'), GeomFromEWKT('SRID=4674;POINT (-38.381299 -3.319386)'))) / (select extract(epoch from '2026-07-18 12:29:47'::timestamp) - extract(epoch from '2026-07-18 12:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381204 -3.319302)'), GeomFromEWKT('SRID=4674;POINT (-38.381299 -3.319386)'))) / (select extract(epoch from '2026-07-18 12:29:47'::timestamp) - extract(epoch from '2026-07-18 12:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381308 -3.319397)', '2026-07-18 12:29:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381299 -3.319386)'), GeomFromEWKT('SRID=4674;POINT (-38.381308 -3.319397)'))) / (select extract(epoch from '2026-07-18 12:29:48'::timestamp) - extract(epoch from '2026-07-18 12:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381299 -3.319386)'), GeomFromEWKT('SRID=4674;POINT (-38.381308 -3.319397)'))) / (select extract(epoch from '2026-07-18 12:29:48'::timestamp) - extract(epoch from '2026-07-18 12:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381362 -3.31945)', '2026-07-18 12:29:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381308 -3.319397)'), GeomFromEWKT('SRID=4674;POINT (-38.381362 -3.31945)'))) / (select extract(epoch from '2026-07-18 12:29:52'::timestamp) - extract(epoch from '2026-07-18 12:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381308 -3.319397)'), GeomFromEWKT('SRID=4674;POINT (-38.381362 -3.31945)'))) / (select extract(epoch from '2026-07-18 12:29:52'::timestamp) - extract(epoch from '2026-07-18 12:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381415 -3.319517)', '2026-07-18 12:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381362 -3.31945)'), GeomFromEWKT('SRID=4674;POINT (-38.381415 -3.319517)'))) / (select extract(epoch from '2026-07-18 12:29:57'::timestamp) - extract(epoch from '2026-07-18 12:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381362 -3.31945)'), GeomFromEWKT('SRID=4674;POINT (-38.381415 -3.319517)'))) / (select extract(epoch from '2026-07-18 12:29:57'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.381477 -3.319581)', '2026-07-18 12:30:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381415 -3.319517)'), GeomFromEWKT('SRID=4674;POINT (-38.381477 -3.319581)'))) / (select extract(epoch from '2026-07-18 12:30:02'::timestamp) - extract(epoch from '2026-07-18 12:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381415 -3.319517)'), GeomFromEWKT('SRID=4674;POINT (-38.381477 -3.319581)'))) / (select extract(epoch from '2026-07-18 12:30:02'::timestamp) - extract(epoch from '2026-07-18 12:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381496 -3.319605)', '2026-07-18 12:30:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381477 -3.319581)'), GeomFromEWKT('SRID=4674;POINT (-38.381496 -3.319605)'))) / (select extract(epoch from '2026-07-18 12:30:04'::timestamp) - extract(epoch from '2026-07-18 12:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381477 -3.319581)'), GeomFromEWKT('SRID=4674;POINT (-38.381496 -3.319605)'))) / (select extract(epoch from '2026-07-18 12:30:04'::timestamp) - extract(epoch from '2026-07-18 12:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381541 -3.319643)', '2026-07-18 12:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381496 -3.319605)'), GeomFromEWKT('SRID=4674;POINT (-38.381541 -3.319643)'))) / (select extract(epoch from '2026-07-18 12:30:07'::timestamp) - extract(epoch from '2026-07-18 12:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381496 -3.319605)'), GeomFromEWKT('SRID=4674;POINT (-38.381541 -3.319643)'))) / (select extract(epoch from '2026-07-18 12:30:07'::timestamp) - extract(epoch from '2026-07-18 12:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381553 -3.319665)', '2026-07-18 12:30:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381541 -3.319643)'), GeomFromEWKT('SRID=4674;POINT (-38.381553 -3.319665)'))) / (select extract(epoch from '2026-07-18 12:30:09'::timestamp) - extract(epoch from '2026-07-18 12:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381541 -3.319643)'), GeomFromEWKT('SRID=4674;POINT (-38.381553 -3.319665)'))) / (select extract(epoch from '2026-07-18 12:30:09'::timestamp) - extract(epoch from '2026-07-18 12:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381573 -3.319685)', '2026-07-18 12:30:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381553 -3.319665)'), GeomFromEWKT('SRID=4674;POINT (-38.381573 -3.319685)'))) / (select extract(epoch from '2026-07-18 12:30:11'::timestamp) - extract(epoch from '2026-07-18 12:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381553 -3.319665)'), GeomFromEWKT('SRID=4674;POINT (-38.381573 -3.319685)'))) / (select extract(epoch from '2026-07-18 12:30:11'::timestamp) - extract(epoch from '2026-07-18 12:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381614 -3.319718)', '2026-07-18 12:30:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381573 -3.319685)'), GeomFromEWKT('SRID=4674;POINT (-38.381614 -3.319718)'))) / (select extract(epoch from '2026-07-18 12:30:14'::timestamp) - extract(epoch from '2026-07-18 12:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381573 -3.319685)'), GeomFromEWKT('SRID=4674;POINT (-38.381614 -3.319718)'))) / (select extract(epoch from '2026-07-18 12:30:14'::timestamp) - extract(epoch from '2026-07-18 12:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381629 -3.319743)', '2026-07-18 12:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381614 -3.319718)'), GeomFromEWKT('SRID=4674;POINT (-38.381629 -3.319743)'))) / (select extract(epoch from '2026-07-18 12:30:16'::timestamp) - extract(epoch from '2026-07-18 12:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381614 -3.319718)'), GeomFromEWKT('SRID=4674;POINT (-38.381629 -3.319743)'))) / (select extract(epoch from '2026-07-18 12:30:16'::timestamp) - extract(epoch from '2026-07-18 12:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381674 -3.319789)', '2026-07-18 12:30:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381629 -3.319743)'), GeomFromEWKT('SRID=4674;POINT (-38.381674 -3.319789)'))) / (select extract(epoch from '2026-07-18 12:30:20'::timestamp) - extract(epoch from '2026-07-18 12:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381629 -3.319743)'), GeomFromEWKT('SRID=4674;POINT (-38.381674 -3.319789)'))) / (select extract(epoch from '2026-07-18 12:30:20'::timestamp) - extract(epoch from '2026-07-18 12:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381745 -3.319858)', '2026-07-18 12:30:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381674 -3.319789)'), GeomFromEWKT('SRID=4674;POINT (-38.381745 -3.319858)'))) / (select extract(epoch from '2026-07-18 12:30:27'::timestamp) - extract(epoch from '2026-07-18 12:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381674 -3.319789)'), GeomFromEWKT('SRID=4674;POINT (-38.381745 -3.319858)'))) / (select extract(epoch from '2026-07-18 12:30:27'::timestamp) - extract(epoch from '2026-07-18 12:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.3818 -3.319914)', '2026-07-18 12:30:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381745 -3.319858)'), GeomFromEWKT('SRID=4674;POINT (-38.3818 -3.319914)'))) / (select extract(epoch from '2026-07-18 12:30:32'::timestamp) - extract(epoch from '2026-07-18 12:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381745 -3.319858)'), GeomFromEWKT('SRID=4674;POINT (-38.3818 -3.319914)'))) / (select extract(epoch from '2026-07-18 12:30:32'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.381876 -3.319989)', '2026-07-18 12:30:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3818 -3.319914)'), GeomFromEWKT('SRID=4674;POINT (-38.381876 -3.319989)'))) / (select extract(epoch from '2026-07-18 12:30:38'::timestamp) - extract(epoch from '2026-07-18 12:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3818 -3.319914)'), GeomFromEWKT('SRID=4674;POINT (-38.381876 -3.319989)'))) / (select extract(epoch from '2026-07-18 12:30:38'::timestamp) - extract(epoch from '2026-07-18 12:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.381969 -3.320082)', '2026-07-18 12:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381876 -3.319989)'), GeomFromEWKT('SRID=4674;POINT (-38.381969 -3.320082)'))) / (select extract(epoch from '2026-07-18 12:30:45'::timestamp) - extract(epoch from '2026-07-18 12:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381876 -3.319989)'), GeomFromEWKT('SRID=4674;POINT (-38.381969 -3.320082)'))) / (select extract(epoch from '2026-07-18 12:30:45'::timestamp) - extract(epoch from '2026-07-18 12:30:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382042 -3.320177)', '2026-07-18 12:30:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381969 -3.320082)'), GeomFromEWKT('SRID=4674;POINT (-38.382042 -3.320177)'))) / (select extract(epoch from '2026-07-18 12:30:52'::timestamp) - extract(epoch from '2026-07-18 12:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.381969 -3.320082)'), GeomFromEWKT('SRID=4674;POINT (-38.382042 -3.320177)'))) / (select extract(epoch from '2026-07-18 12:30:52'::timestamp) - extract(epoch from '2026-07-18 12:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382114 -3.320251)', '2026-07-18 12:30:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382042 -3.320177)'), GeomFromEWKT('SRID=4674;POINT (-38.382114 -3.320251)'))) / (select extract(epoch from '2026-07-18 12:30:58'::timestamp) - extract(epoch from '2026-07-18 12:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382042 -3.320177)'), GeomFromEWKT('SRID=4674;POINT (-38.382114 -3.320251)'))) / (select extract(epoch from '2026-07-18 12:30:58'::timestamp) - extract(epoch from '2026-07-18 12:30:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382189 -3.320334)', '2026-07-18 12:31:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382114 -3.320251)'), GeomFromEWKT('SRID=4674;POINT (-38.382189 -3.320334)'))) / (select extract(epoch from '2026-07-18 12:31:05'::timestamp) - extract(epoch from '2026-07-18 12:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382114 -3.320251)'), GeomFromEWKT('SRID=4674;POINT (-38.382189 -3.320334)'))) / (select extract(epoch from '2026-07-18 12:31:05'::timestamp) - extract(epoch from '2026-07-18 12:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382251 -3.320395)', '2026-07-18 12:31:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382189 -3.320334)'), GeomFromEWKT('SRID=4674;POINT (-38.382251 -3.320395)'))) / (select extract(epoch from '2026-07-18 12:31:11'::timestamp) - extract(epoch from '2026-07-18 12:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382189 -3.320334)'), GeomFromEWKT('SRID=4674;POINT (-38.382251 -3.320395)'))) / (select extract(epoch from '2026-07-18 12:31:11'::timestamp) - extract(epoch from '2026-07-18 12:31:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382263 -3.320403)', '2026-07-18 12:31:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382251 -3.320395)'), GeomFromEWKT('SRID=4674;POINT (-38.382263 -3.320403)'))) / (select extract(epoch from '2026-07-18 12:31:12'::timestamp) - extract(epoch from '2026-07-18 12:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382251 -3.320395)'), GeomFromEWKT('SRID=4674;POINT (-38.382263 -3.320403)'))) / (select extract(epoch from '2026-07-18 12:31:12'::timestamp) - extract(epoch from '2026-07-18 12:31:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382295 -3.320428)', '2026-07-18 12:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382263 -3.320403)'), GeomFromEWKT('SRID=4674;POINT (-38.382295 -3.320428)'))) / (select extract(epoch from '2026-07-18 12:31:15'::timestamp) - extract(epoch from '2026-07-18 12:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382263 -3.320403)'), GeomFromEWKT('SRID=4674;POINT (-38.382295 -3.320428)'))) / (select extract(epoch from '2026-07-18 12:31:15'::timestamp) - extract(epoch from '2026-07-18 12:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382373 -3.320482)', '2026-07-18 12:31:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382295 -3.320428)'), GeomFromEWKT('SRID=4674;POINT (-38.382373 -3.320482)'))) / (select extract(epoch from '2026-07-18 12:31:20'::timestamp) - extract(epoch from '2026-07-18 12:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382295 -3.320428)'), GeomFromEWKT('SRID=4674;POINT (-38.382373 -3.320482)'))) / (select extract(epoch from '2026-07-18 12:31:20'::timestamp) - extract(epoch from '2026-07-18 12:31:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382431 -3.320537)', '2026-07-18 12:31:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382373 -3.320482)'), GeomFromEWKT('SRID=4674;POINT (-38.382431 -3.320537)'))) / (select extract(epoch from '2026-07-18 12:31:25'::timestamp) - extract(epoch from '2026-07-18 12:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382373 -3.320482)'), GeomFromEWKT('SRID=4674;POINT (-38.382431 -3.320537)'))) / (select extract(epoch from '2026-07-18 12:31:25'::timestamp) - extract(epoch from '2026-07-18 12:31:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.38246 -3.320552)', '2026-07-18 12:31:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382431 -3.320537)'), GeomFromEWKT('SRID=4674;POINT (-38.38246 -3.320552)'))) / (select extract(epoch from '2026-07-18 12:31:27'::timestamp) - extract(epoch from '2026-07-18 12:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382431 -3.320537)'), GeomFromEWKT('SRID=4674;POINT (-38.38246 -3.320552)'))) / (select extract(epoch from '2026-07-18 12:31:27'::timestamp) - extract(epoch from '2026-07-18 12:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382491 -3.320569)', '2026-07-18 12:31:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38246 -3.320552)'), GeomFromEWKT('SRID=4674;POINT (-38.382491 -3.320569)'))) / (select extract(epoch from '2026-07-18 12:31:30'::timestamp) - extract(epoch from '2026-07-18 12:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38246 -3.320552)'), GeomFromEWKT('SRID=4674;POINT (-38.382491 -3.320569)'))) / (select extract(epoch from '2026-07-18 12:31:30'::timestamp) - extract(epoch from '2026-07-18 12:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382553 -3.320618)', '2026-07-18 12:31:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382491 -3.320569)'), GeomFromEWKT('SRID=4674;POINT (-38.382553 -3.320618)'))) / (select extract(epoch from '2026-07-18 12:31:34'::timestamp) - extract(epoch from '2026-07-18 12:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382491 -3.320569)'), GeomFromEWKT('SRID=4674;POINT (-38.382553 -3.320618)'))) / (select extract(epoch from '2026-07-18 12:31:34'::timestamp) - extract(epoch from '2026-07-18 12:31:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382616 -3.320669)', '2026-07-18 12:31:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382553 -3.320618)'), GeomFromEWKT('SRID=4674;POINT (-38.382616 -3.320669)'))) / (select extract(epoch from '2026-07-18 12:31:39'::timestamp) - extract(epoch from '2026-07-18 12:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382553 -3.320618)'), GeomFromEWKT('SRID=4674;POINT (-38.382616 -3.320669)'))) / (select extract(epoch from '2026-07-18 12:31:39'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.382676 -3.320711)', '2026-07-18 12:31:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382616 -3.320669)'), GeomFromEWKT('SRID=4674;POINT (-38.382676 -3.320711)'))) / (select extract(epoch from '2026-07-18 12:31:43'::timestamp) - extract(epoch from '2026-07-18 12:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382616 -3.320669)'), GeomFromEWKT('SRID=4674;POINT (-38.382676 -3.320711)'))) / (select extract(epoch from '2026-07-18 12:31:43'::timestamp) - extract(epoch from '2026-07-18 12:31:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382678 -3.32072)', '2026-07-18 12:31:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382676 -3.320711)'), GeomFromEWKT('SRID=4674;POINT (-38.382678 -3.32072)'))) / (select extract(epoch from '2026-07-18 12:31:44'::timestamp) - extract(epoch from '2026-07-18 12:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382676 -3.320711)'), GeomFromEWKT('SRID=4674;POINT (-38.382678 -3.32072)'))) / (select extract(epoch from '2026-07-18 12:31:44'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.382685 -3.320728)', '2026-07-18 12:31:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382678 -3.32072)'), GeomFromEWKT('SRID=4674;POINT (-38.382685 -3.320728)'))) / (select extract(epoch from '2026-07-18 12:31:45'::timestamp) - extract(epoch from '2026-07-18 12:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382678 -3.32072)'), GeomFromEWKT('SRID=4674;POINT (-38.382685 -3.320728)'))) / (select extract(epoch from '2026-07-18 12:31:45'::timestamp) - extract(epoch from '2026-07-18 12:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382736 -3.32076)', '2026-07-18 12:31:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382685 -3.320728)'), GeomFromEWKT('SRID=4674;POINT (-38.382736 -3.32076)'))) / (select extract(epoch from '2026-07-18 12:31:48'::timestamp) - extract(epoch from '2026-07-18 12:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382685 -3.320728)'), GeomFromEWKT('SRID=4674;POINT (-38.382736 -3.32076)'))) / (select extract(epoch from '2026-07-18 12:31:48'::timestamp) - extract(epoch from '2026-07-18 12:31:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382781 -3.32079)', '2026-07-18 12:31:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382736 -3.32076)'), GeomFromEWKT('SRID=4674;POINT (-38.382781 -3.32079)'))) / (select extract(epoch from '2026-07-18 12:31:51'::timestamp) - extract(epoch from '2026-07-18 12:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382736 -3.32076)'), GeomFromEWKT('SRID=4674;POINT (-38.382781 -3.32079)'))) / (select extract(epoch from '2026-07-18 12:31:51'::timestamp) - extract(epoch from '2026-07-18 12:31:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382802 -3.320807)', '2026-07-18 12:31:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382781 -3.32079)'), GeomFromEWKT('SRID=4674;POINT (-38.382802 -3.320807)'))) / (select extract(epoch from '2026-07-18 12:31:53'::timestamp) - extract(epoch from '2026-07-18 12:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382781 -3.32079)'), GeomFromEWKT('SRID=4674;POINT (-38.382802 -3.320807)'))) / (select extract(epoch from '2026-07-18 12:31:53'::timestamp) - extract(epoch from '2026-07-18 12:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382859 -3.320869)', '2026-07-18 12:31:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382802 -3.320807)'), GeomFromEWKT('SRID=4674;POINT (-38.382859 -3.320869)'))) / (select extract(epoch from '2026-07-18 12:31:58'::timestamp) - extract(epoch from '2026-07-18 12:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382802 -3.320807)'), GeomFromEWKT('SRID=4674;POINT (-38.382859 -3.320869)'))) / (select extract(epoch from '2026-07-18 12:31:58'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.382921 -3.32093)', '2026-07-18 12:32:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382859 -3.320869)'), GeomFromEWKT('SRID=4674;POINT (-38.382921 -3.32093)'))) / (select extract(epoch from '2026-07-18 12:32:03'::timestamp) - extract(epoch from '2026-07-18 12:31:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382859 -3.320869)'), GeomFromEWKT('SRID=4674;POINT (-38.382921 -3.32093)'))) / (select extract(epoch from '2026-07-18 12:32:03'::timestamp) - extract(epoch from '2026-07-18 12:31:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.382998 -3.320998)', '2026-07-18 12:32:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382921 -3.32093)'), GeomFromEWKT('SRID=4674;POINT (-38.382998 -3.320998)'))) / (select extract(epoch from '2026-07-18 12:32:09'::timestamp) - extract(epoch from '2026-07-18 12:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382921 -3.32093)'), GeomFromEWKT('SRID=4674;POINT (-38.382998 -3.320998)'))) / (select extract(epoch from '2026-07-18 12:32:09'::timestamp) - extract(epoch from '2026-07-18 12:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.383073 -3.321069)', '2026-07-18 12:32:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382998 -3.320998)'), GeomFromEWKT('SRID=4674;POINT (-38.383073 -3.321069)'))) / (select extract(epoch from '2026-07-18 12:32:15'::timestamp) - extract(epoch from '2026-07-18 12:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.382998 -3.320998)'), GeomFromEWKT('SRID=4674;POINT (-38.383073 -3.321069)'))) / (select extract(epoch from '2026-07-18 12:32:15'::timestamp) - extract(epoch from '2026-07-18 12:32:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.383155 -3.321139)', '2026-07-18 12:32:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383073 -3.321069)'), GeomFromEWKT('SRID=4674;POINT (-38.383155 -3.321139)'))) / (select extract(epoch from '2026-07-18 12:32:21'::timestamp) - extract(epoch from '2026-07-18 12:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383073 -3.321069)'), GeomFromEWKT('SRID=4674;POINT (-38.383155 -3.321139)'))) / (select extract(epoch from '2026-07-18 12:32:21'::timestamp) - extract(epoch from '2026-07-18 12:32:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.383266 -3.321226)', '2026-07-18 12:32:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383155 -3.321139)'), GeomFromEWKT('SRID=4674;POINT (-38.383266 -3.321226)'))) / (select extract(epoch from '2026-07-18 12:32:29'::timestamp) - extract(epoch from '2026-07-18 12:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383155 -3.321139)'), GeomFromEWKT('SRID=4674;POINT (-38.383266 -3.321226)'))) / (select extract(epoch from '2026-07-18 12:32:29'::timestamp) - extract(epoch from '2026-07-18 12:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.383353 -3.321324)', '2026-07-18 12:32:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383266 -3.321226)'), GeomFromEWKT('SRID=4674;POINT (-38.383353 -3.321324)'))) / (select extract(epoch from '2026-07-18 12:32:36'::timestamp) - extract(epoch from '2026-07-18 12:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383266 -3.321226)'), GeomFromEWKT('SRID=4674;POINT (-38.383353 -3.321324)'))) / (select extract(epoch from '2026-07-18 12:32:36'::timestamp) - extract(epoch from '2026-07-18 12:32:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.383423 -3.321393)', '2026-07-18 12:32:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383353 -3.321324)'), GeomFromEWKT('SRID=4674;POINT (-38.383423 -3.321393)'))) / (select extract(epoch from '2026-07-18 12:32:41'::timestamp) - extract(epoch from '2026-07-18 12:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383353 -3.321324)'), GeomFromEWKT('SRID=4674;POINT (-38.383423 -3.321393)'))) / (select extract(epoch from '2026-07-18 12:32:41'::timestamp) - extract(epoch from '2026-07-18 12:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.38347 -3.321429)', '2026-07-18 12:32:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383423 -3.321393)'), GeomFromEWKT('SRID=4674;POINT (-38.38347 -3.321429)'))) / (select extract(epoch from '2026-07-18 12:32:45'::timestamp) - extract(epoch from '2026-07-18 12:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383423 -3.321393)'), GeomFromEWKT('SRID=4674;POINT (-38.38347 -3.321429)'))) / (select extract(epoch from '2026-07-18 12:32:45'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.383535 -3.321492)', '2026-07-18 12:32:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38347 -3.321429)'), GeomFromEWKT('SRID=4674;POINT (-38.383535 -3.321492)'))) / (select extract(epoch from '2026-07-18 12:32:50'::timestamp) - extract(epoch from '2026-07-18 12:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38347 -3.321429)'), GeomFromEWKT('SRID=4674;POINT (-38.383535 -3.321492)'))) / (select extract(epoch from '2026-07-18 12:32:50'::timestamp) - extract(epoch from '2026-07-18 12:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.383608 -3.321568)', '2026-07-18 12:32:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383535 -3.321492)'), GeomFromEWKT('SRID=4674;POINT (-38.383608 -3.321568)'))) / (select extract(epoch from '2026-07-18 12:32:55'::timestamp) - extract(epoch from '2026-07-18 12:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383535 -3.321492)'), GeomFromEWKT('SRID=4674;POINT (-38.383608 -3.321568)'))) / (select extract(epoch from '2026-07-18 12:32:55'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.383672 -3.321646)', '2026-07-18 12:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383608 -3.321568)'), GeomFromEWKT('SRID=4674;POINT (-38.383672 -3.321646)'))) / (select extract(epoch from '2026-07-18 12:33:00'::timestamp) - extract(epoch from '2026-07-18 12:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383608 -3.321568)'), GeomFromEWKT('SRID=4674;POINT (-38.383672 -3.321646)'))) / (select extract(epoch from '2026-07-18 12:33:00'::timestamp) - extract(epoch from '2026-07-18 12:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.383725 -3.321716)', '2026-07-18 12:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383672 -3.321646)'), GeomFromEWKT('SRID=4674;POINT (-38.383725 -3.321716)'))) / (select extract(epoch from '2026-07-18 12:33:05'::timestamp) - extract(epoch from '2026-07-18 12:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383672 -3.321646)'), GeomFromEWKT('SRID=4674;POINT (-38.383725 -3.321716)'))) / (select extract(epoch from '2026-07-18 12:33:05'::timestamp) - extract(epoch from '2026-07-18 12:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.383796 -3.321812)', '2026-07-18 12:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383725 -3.321716)'), GeomFromEWKT('SRID=4674;POINT (-38.383796 -3.321812)'))) / (select extract(epoch from '2026-07-18 12:33:11'::timestamp) - extract(epoch from '2026-07-18 12:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383725 -3.321716)'), GeomFromEWKT('SRID=4674;POINT (-38.383796 -3.321812)'))) / (select extract(epoch from '2026-07-18 12:33:11'::timestamp) - extract(epoch from '2026-07-18 12:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.383871 -3.321888)', '2026-07-18 12:33:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383796 -3.321812)'), GeomFromEWKT('SRID=4674;POINT (-38.383871 -3.321888)'))) / (select extract(epoch from '2026-07-18 12:33:16'::timestamp) - extract(epoch from '2026-07-18 12:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383796 -3.321812)'), GeomFromEWKT('SRID=4674;POINT (-38.383871 -3.321888)'))) / (select extract(epoch from '2026-07-18 12:33:16'::timestamp) - extract(epoch from '2026-07-18 12:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.383931 -3.321964)', '2026-07-18 12:33:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383871 -3.321888)'), GeomFromEWKT('SRID=4674;POINT (-38.383931 -3.321964)'))) / (select extract(epoch from '2026-07-18 12:33:21'::timestamp) - extract(epoch from '2026-07-18 12:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383871 -3.321888)'), GeomFromEWKT('SRID=4674;POINT (-38.383931 -3.321964)'))) / (select extract(epoch from '2026-07-18 12:33:21'::timestamp) - extract(epoch from '2026-07-18 12:33:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384009 -3.322049)', '2026-07-18 12:33:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383931 -3.321964)'), GeomFromEWKT('SRID=4674;POINT (-38.384009 -3.322049)'))) / (select extract(epoch from '2026-07-18 12:33:27'::timestamp) - extract(epoch from '2026-07-18 12:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.383931 -3.321964)'), GeomFromEWKT('SRID=4674;POINT (-38.384009 -3.322049)'))) / (select extract(epoch from '2026-07-18 12:33:27'::timestamp) - extract(epoch from '2026-07-18 12:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384085 -3.322136)', '2026-07-18 12:33:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384009 -3.322049)'), GeomFromEWKT('SRID=4674;POINT (-38.384085 -3.322136)'))) / (select extract(epoch from '2026-07-18 12:33:33'::timestamp) - extract(epoch from '2026-07-18 12:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384009 -3.322049)'), GeomFromEWKT('SRID=4674;POINT (-38.384085 -3.322136)'))) / (select extract(epoch from '2026-07-18 12:33:33'::timestamp) - extract(epoch from '2026-07-18 12:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384137 -3.322212)', '2026-07-18 12:33:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384085 -3.322136)'), GeomFromEWKT('SRID=4674;POINT (-38.384137 -3.322212)'))) / (select extract(epoch from '2026-07-18 12:33:38'::timestamp) - extract(epoch from '2026-07-18 12:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384085 -3.322136)'), GeomFromEWKT('SRID=4674;POINT (-38.384137 -3.322212)'))) / (select extract(epoch from '2026-07-18 12:33:38'::timestamp) - extract(epoch from '2026-07-18 12:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384169 -3.32225)', '2026-07-18 12:33:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384137 -3.322212)'), GeomFromEWKT('SRID=4674;POINT (-38.384169 -3.32225)'))) / (select extract(epoch from '2026-07-18 12:33:41'::timestamp) - extract(epoch from '2026-07-18 12:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384137 -3.322212)'), GeomFromEWKT('SRID=4674;POINT (-38.384169 -3.32225)'))) / (select extract(epoch from '2026-07-18 12:33:41'::timestamp) - extract(epoch from '2026-07-18 12:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384197 -3.322275)', '2026-07-18 12:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384169 -3.32225)'), GeomFromEWKT('SRID=4674;POINT (-38.384197 -3.322275)'))) / (select extract(epoch from '2026-07-18 12:33:43'::timestamp) - extract(epoch from '2026-07-18 12:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384169 -3.32225)'), GeomFromEWKT('SRID=4674;POINT (-38.384197 -3.322275)'))) / (select extract(epoch from '2026-07-18 12:33:43'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.384224 -3.322323)', '2026-07-18 12:33:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384197 -3.322275)'), GeomFromEWKT('SRID=4674;POINT (-38.384224 -3.322323)'))) / (select extract(epoch from '2026-07-18 12:33:46'::timestamp) - extract(epoch from '2026-07-18 12:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384197 -3.322275)'), GeomFromEWKT('SRID=4674;POINT (-38.384224 -3.322323)'))) / (select extract(epoch from '2026-07-18 12:33:46'::timestamp) - extract(epoch from '2026-07-18 12:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384253 -3.322339)', '2026-07-18 12:33:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384224 -3.322323)'), GeomFromEWKT('SRID=4674;POINT (-38.384253 -3.322339)'))) / (select extract(epoch from '2026-07-18 12:33:48'::timestamp) - extract(epoch from '2026-07-18 12:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384224 -3.322323)'), GeomFromEWKT('SRID=4674;POINT (-38.384253 -3.322339)'))) / (select extract(epoch from '2026-07-18 12:33:48'::timestamp) - extract(epoch from '2026-07-18 12:33:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384274 -3.322361)', '2026-07-18 12:33:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384253 -3.322339)'), GeomFromEWKT('SRID=4674;POINT (-38.384274 -3.322361)'))) / (select extract(epoch from '2026-07-18 12:33:50'::timestamp) - extract(epoch from '2026-07-18 12:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384253 -3.322339)'), GeomFromEWKT('SRID=4674;POINT (-38.384274 -3.322361)'))) / (select extract(epoch from '2026-07-18 12:33:50'::timestamp) - extract(epoch from '2026-07-18 12:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.38429 -3.322392)', '2026-07-18 12:33:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384274 -3.322361)'), GeomFromEWKT('SRID=4674;POINT (-38.38429 -3.322392)'))) / (select extract(epoch from '2026-07-18 12:33:52'::timestamp) - extract(epoch from '2026-07-18 12:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384274 -3.322361)'), GeomFromEWKT('SRID=4674;POINT (-38.38429 -3.322392)'))) / (select extract(epoch from '2026-07-18 12:33:52'::timestamp) - extract(epoch from '2026-07-18 12:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384363 -3.32248)', '2026-07-18 12:33:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38429 -3.322392)'), GeomFromEWKT('SRID=4674;POINT (-38.384363 -3.32248)'))) / (select extract(epoch from '2026-07-18 12:33:58'::timestamp) - extract(epoch from '2026-07-18 12:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.38429 -3.322392)'), GeomFromEWKT('SRID=4674;POINT (-38.384363 -3.32248)'))) / (select extract(epoch from '2026-07-18 12:33:58'::timestamp) - extract(epoch from '2026-07-18 12:33:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.384422 -3.322549)', '2026-07-18 12:34:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384363 -3.32248)'), GeomFromEWKT('SRID=4674;POINT (-38.384422 -3.322549)'))) / (select extract(epoch from '2026-07-18 12:34:03'::timestamp) - extract(epoch from '2026-07-18 12:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384363 -3.32248)'), GeomFromEWKT('SRID=4674;POINT (-38.384422 -3.322549)'))) / (select extract(epoch from '2026-07-18 12:34:03'::timestamp) - extract(epoch from '2026-07-18 12: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'), 47391, 'SRID=4674;POINT (-38.384485 -3.322641)', '2026-07-18 12:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384422 -3.322549)'), GeomFromEWKT('SRID=4674;POINT (-38.384485 -3.322641)'))) / (select extract(epoch from '2026-07-18 12:34:09'::timestamp) - extract(epoch from '2026-07-18 12:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.384422 -3.322549)'), GeomFromEWKT('SRID=4674;POINT (-38.384485 -3.322641)'))) / (select extract(epoch from '2026-07-18 12:34:09'::timestamp) - extract(epoch from '2026-07-18 12:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
