BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.044068 -2.843482)', '2026-07-04 09:44:12', 0, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.044011 -2.843459)', '2026-07-04 09:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044068 -2.843482)'), GeomFromEWKT('SRID=4674;POINT (-40.044011 -2.843459)'))) / (select extract(epoch from '2026-07-04 09:44:17'::timestamp) - extract(epoch from '2026-07-04 09:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044068 -2.843482)'), GeomFromEWKT('SRID=4674;POINT (-40.044011 -2.843459)'))) / (select extract(epoch from '2026-07-04 09:44:17'::timestamp) - extract(epoch from '2026-07-04 09:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.044024 -2.843405)', '2026-07-04 09:44:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044011 -2.843459)'), GeomFromEWKT('SRID=4674;POINT (-40.044024 -2.843405)'))) / (select extract(epoch from '2026-07-04 09:44:20'::timestamp) - extract(epoch from '2026-07-04 09:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044011 -2.843459)'), GeomFromEWKT('SRID=4674;POINT (-40.044024 -2.843405)'))) / (select extract(epoch from '2026-07-04 09:44:20'::timestamp) - extract(epoch from '2026-07-04 09:44: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'), 47624, 'SRID=4674;POINT (-40.043909 -2.843353)', '2026-07-04 09:44:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044024 -2.843405)'), GeomFromEWKT('SRID=4674;POINT (-40.043909 -2.843353)'))) / (select extract(epoch from '2026-07-04 09:44:31'::timestamp) - extract(epoch from '2026-07-04 09:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044024 -2.843405)'), GeomFromEWKT('SRID=4674;POINT (-40.043909 -2.843353)'))) / (select extract(epoch from '2026-07-04 09:44:31'::timestamp) - extract(epoch from '2026-07-04 09:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043721 -2.843367)', '2026-07-04 09:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043909 -2.843353)'), GeomFromEWKT('SRID=4674;POINT (-40.043721 -2.843367)'))) / (select extract(epoch from '2026-07-04 09:44:42'::timestamp) - extract(epoch from '2026-07-04 09:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043909 -2.843353)'), GeomFromEWKT('SRID=4674;POINT (-40.043721 -2.843367)'))) / (select extract(epoch from '2026-07-04 09:44:42'::timestamp) - extract(epoch from '2026-07-04 09:44:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043507 -2.843331)', '2026-07-04 09:44:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043721 -2.843367)'), GeomFromEWKT('SRID=4674;POINT (-40.043507 -2.843331)'))) / (select extract(epoch from '2026-07-04 09:44:55'::timestamp) - extract(epoch from '2026-07-04 09:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043721 -2.843367)'), GeomFromEWKT('SRID=4674;POINT (-40.043507 -2.843331)'))) / (select extract(epoch from '2026-07-04 09:44:55'::timestamp) - extract(epoch from '2026-07-04 09:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043251 -2.843301)', '2026-07-04 09:45:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043507 -2.843331)'), GeomFromEWKT('SRID=4674;POINT (-40.043251 -2.843301)'))) / (select extract(epoch from '2026-07-04 09:45:11'::timestamp) - extract(epoch from '2026-07-04 09:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043507 -2.843331)'), GeomFromEWKT('SRID=4674;POINT (-40.043251 -2.843301)'))) / (select extract(epoch from '2026-07-04 09:45:11'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042979 -2.84322)', '2026-07-04 09:45:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043251 -2.843301)'), GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.84322)'))) / (select extract(epoch from '2026-07-04 09:45:29'::timestamp) - extract(epoch from '2026-07-04 09:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043251 -2.843301)'), GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.84322)'))) / (select extract(epoch from '2026-07-04 09:45:29'::timestamp) - extract(epoch from '2026-07-04 09:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.04286 -2.843159)', '2026-07-04 09:45:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.84322)'), GeomFromEWKT('SRID=4674;POINT (-40.04286 -2.843159)'))) / (select extract(epoch from '2026-07-04 09:45:37'::timestamp) - extract(epoch from '2026-07-04 09:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042979 -2.84322)'), GeomFromEWKT('SRID=4674;POINT (-40.04286 -2.843159)'))) / (select extract(epoch from '2026-07-04 09:45:37'::timestamp) - extract(epoch from '2026-07-04 09:45: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'), 47624, 'SRID=4674;POINT (-40.042764 -2.843103)', '2026-07-04 09:45:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04286 -2.843159)'), GeomFromEWKT('SRID=4674;POINT (-40.042764 -2.843103)'))) / (select extract(epoch from '2026-07-04 09:45:44'::timestamp) - extract(epoch from '2026-07-04 09:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04286 -2.843159)'), GeomFromEWKT('SRID=4674;POINT (-40.042764 -2.843103)'))) / (select extract(epoch from '2026-07-04 09:45:44'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042596 -2.842971)', '2026-07-04 09:45:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042764 -2.843103)'), GeomFromEWKT('SRID=4674;POINT (-40.042596 -2.842971)'))) / (select extract(epoch from '2026-07-04 09:45:58'::timestamp) - extract(epoch from '2026-07-04 09:45:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042764 -2.843103)'), GeomFromEWKT('SRID=4674;POINT (-40.042596 -2.842971)'))) / (select extract(epoch from '2026-07-04 09:45:58'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042512 -2.842794)', '2026-07-04 09:46:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042596 -2.842971)'), GeomFromEWKT('SRID=4674;POINT (-40.042512 -2.842794)'))) / (select extract(epoch from '2026-07-04 09:46:10'::timestamp) - extract(epoch from '2026-07-04 09:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042596 -2.842971)'), GeomFromEWKT('SRID=4674;POINT (-40.042512 -2.842794)'))) / (select extract(epoch from '2026-07-04 09:46:10'::timestamp) - extract(epoch from '2026-07-04 09:45: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'), 47624, 'SRID=4674;POINT (-40.042542 -2.842605)', '2026-07-04 09:46:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042512 -2.842794)'), GeomFromEWKT('SRID=4674;POINT (-40.042542 -2.842605)'))) / (select extract(epoch from '2026-07-04 09:46:21'::timestamp) - extract(epoch from '2026-07-04 09:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042512 -2.842794)'), GeomFromEWKT('SRID=4674;POINT (-40.042542 -2.842605)'))) / (select extract(epoch from '2026-07-04 09:46:21'::timestamp) - extract(epoch from '2026-07-04 09:46: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'), 47624, 'SRID=4674;POINT (-40.042613 -2.842422)', '2026-07-04 09:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042542 -2.842605)'), GeomFromEWKT('SRID=4674;POINT (-40.042613 -2.842422)'))) / (select extract(epoch from '2026-07-04 09:46:32'::timestamp) - extract(epoch from '2026-07-04 09:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042542 -2.842605)'), GeomFromEWKT('SRID=4674;POINT (-40.042613 -2.842422)'))) / (select extract(epoch from '2026-07-04 09:46:32'::timestamp) - extract(epoch from '2026-07-04 09:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.0427 -2.842109)', '2026-07-04 09:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042613 -2.842422)'), GeomFromEWKT('SRID=4674;POINT (-40.0427 -2.842109)'))) / (select extract(epoch from '2026-07-04 09:46:50'::timestamp) - extract(epoch from '2026-07-04 09:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042613 -2.842422)'), GeomFromEWKT('SRID=4674;POINT (-40.0427 -2.842109)'))) / (select extract(epoch from '2026-07-04 09:46:50'::timestamp) - extract(epoch from '2026-07-04 09:46: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'), 47624, 'SRID=4674;POINT (-40.042794 -2.841893)', '2026-07-04 09:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0427 -2.842109)'), GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.841893)'))) / (select extract(epoch from '2026-07-04 09:47:03'::timestamp) - extract(epoch from '2026-07-04 09:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0427 -2.842109)'), GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.841893)'))) / (select extract(epoch from '2026-07-04 09:47:03'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.04291 -2.841639)', '2026-07-04 09:47:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.841893)'), GeomFromEWKT('SRID=4674;POINT (-40.04291 -2.841639)'))) / (select extract(epoch from '2026-07-04 09:47:18'::timestamp) - extract(epoch from '2026-07-04 09:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042794 -2.841893)'), GeomFromEWKT('SRID=4674;POINT (-40.04291 -2.841639)'))) / (select extract(epoch from '2026-07-04 09:47:18'::timestamp) - extract(epoch from '2026-07-04 09:47: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'), 47624, 'SRID=4674;POINT (-40.042968 -2.84139)', '2026-07-04 09:47:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04291 -2.841639)'), GeomFromEWKT('SRID=4674;POINT (-40.042968 -2.84139)'))) / (select extract(epoch from '2026-07-04 09:47:33'::timestamp) - extract(epoch from '2026-07-04 09:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04291 -2.841639)'), GeomFromEWKT('SRID=4674;POINT (-40.042968 -2.84139)'))) / (select extract(epoch from '2026-07-04 09:47:33'::timestamp) - extract(epoch from '2026-07-04 09:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042959 -2.84122)', '2026-07-04 09:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042968 -2.84139)'), GeomFromEWKT('SRID=4674;POINT (-40.042959 -2.84122)'))) / (select extract(epoch from '2026-07-04 09:47:43'::timestamp) - extract(epoch from '2026-07-04 09:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042968 -2.84139)'), GeomFromEWKT('SRID=4674;POINT (-40.042959 -2.84122)'))) / (select extract(epoch from '2026-07-04 09:47:43'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042958 -2.840981)', '2026-07-04 09:47:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042959 -2.84122)'), GeomFromEWKT('SRID=4674;POINT (-40.042958 -2.840981)'))) / (select extract(epoch from '2026-07-04 09:47:57'::timestamp) - extract(epoch from '2026-07-04 09:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042959 -2.84122)'), GeomFromEWKT('SRID=4674;POINT (-40.042958 -2.840981)'))) / (select extract(epoch from '2026-07-04 09:47:57'::timestamp) - extract(epoch from '2026-07-04 09:47: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'), 47624, 'SRID=4674;POINT (-40.043001 -2.840736)', '2026-07-04 09:48:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042958 -2.840981)'), GeomFromEWKT('SRID=4674;POINT (-40.043001 -2.840736)'))) / (select extract(epoch from '2026-07-04 09:48:11'::timestamp) - extract(epoch from '2026-07-04 09:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042958 -2.840981)'), GeomFromEWKT('SRID=4674;POINT (-40.043001 -2.840736)'))) / (select extract(epoch from '2026-07-04 09:48:11'::timestamp) - extract(epoch from '2026-07-04 09:47: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'), 47624, 'SRID=4674;POINT (-40.043041 -2.840624)', '2026-07-04 09:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043001 -2.840736)'), GeomFromEWKT('SRID=4674;POINT (-40.043041 -2.840624)'))) / (select extract(epoch from '2026-07-04 09:48:18'::timestamp) - extract(epoch from '2026-07-04 09:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043001 -2.840736)'), GeomFromEWKT('SRID=4674;POINT (-40.043041 -2.840624)'))) / (select extract(epoch from '2026-07-04 09:48:18'::timestamp) - extract(epoch from '2026-07-04 09:48: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'), 47624, 'SRID=4674;POINT (-40.043123 -2.840419)', '2026-07-04 09:48:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043041 -2.840624)'), GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.840419)'))) / (select extract(epoch from '2026-07-04 09:48:30'::timestamp) - extract(epoch from '2026-07-04 09:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043041 -2.840624)'), GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.840419)'))) / (select extract(epoch from '2026-07-04 09:48:30'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.043129 -2.840219)', '2026-07-04 09:48:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.840419)'), GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.840219)'))) / (select extract(epoch from '2026-07-04 09:48:39'::timestamp) - extract(epoch from '2026-07-04 09:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.840419)'), GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.840219)'))) / (select extract(epoch from '2026-07-04 09:48:39'::timestamp) - extract(epoch from '2026-07-04 09:48: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'), 47624, 'SRID=4674;POINT (-40.043086 -2.839863)', '2026-07-04 09:48:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.840219)'), GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.839863)'))) / (select extract(epoch from '2026-07-04 09:48:54'::timestamp) - extract(epoch from '2026-07-04 09:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043129 -2.840219)'), GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.839863)'))) / (select extract(epoch from '2026-07-04 09:48:54'::timestamp) - extract(epoch from '2026-07-04 09:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043028 -2.839584)', '2026-07-04 09:49:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.839863)'), GeomFromEWKT('SRID=4674;POINT (-40.043028 -2.839584)'))) / (select extract(epoch from '2026-07-04 09:49:06'::timestamp) - extract(epoch from '2026-07-04 09:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043086 -2.839863)'), GeomFromEWKT('SRID=4674;POINT (-40.043028 -2.839584)'))) / (select extract(epoch from '2026-07-04 09:49:06'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042937 -2.839293)', '2026-07-04 09:49:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043028 -2.839584)'), GeomFromEWKT('SRID=4674;POINT (-40.042937 -2.839293)'))) / (select extract(epoch from '2026-07-04 09:49:20'::timestamp) - extract(epoch from '2026-07-04 09:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043028 -2.839584)'), GeomFromEWKT('SRID=4674;POINT (-40.042937 -2.839293)'))) / (select extract(epoch from '2026-07-04 09:49:20'::timestamp) - extract(epoch from '2026-07-04 09:49: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'), 47624, 'SRID=4674;POINT (-40.04289 -2.838967)', '2026-07-04 09:49:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042937 -2.839293)'), GeomFromEWKT('SRID=4674;POINT (-40.04289 -2.838967)'))) / (select extract(epoch from '2026-07-04 09:49:35'::timestamp) - extract(epoch from '2026-07-04 09:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042937 -2.839293)'), GeomFromEWKT('SRID=4674;POINT (-40.04289 -2.838967)'))) / (select extract(epoch from '2026-07-04 09:49:35'::timestamp) - extract(epoch from '2026-07-04 09:49: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'), 47624, 'SRID=4674;POINT (-40.042827 -2.838693)', '2026-07-04 09:49:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04289 -2.838967)'), GeomFromEWKT('SRID=4674;POINT (-40.042827 -2.838693)'))) / (select extract(epoch from '2026-07-04 09:49:48'::timestamp) - extract(epoch from '2026-07-04 09:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04289 -2.838967)'), GeomFromEWKT('SRID=4674;POINT (-40.042827 -2.838693)'))) / (select extract(epoch from '2026-07-04 09:49:48'::timestamp) - extract(epoch from '2026-07-04 09:49: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'), 47624, 'SRID=4674;POINT (-40.042732 -2.838424)', '2026-07-04 09:50:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042827 -2.838693)'), GeomFromEWKT('SRID=4674;POINT (-40.042732 -2.838424)'))) / (select extract(epoch from '2026-07-04 09:50:02'::timestamp) - extract(epoch from '2026-07-04 09:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042827 -2.838693)'), GeomFromEWKT('SRID=4674;POINT (-40.042732 -2.838424)'))) / (select extract(epoch from '2026-07-04 09:50:02'::timestamp) - extract(epoch from '2026-07-04 09:49: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'), 47624, 'SRID=4674;POINT (-40.042613 -2.838189)', '2026-07-04 09:50:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042732 -2.838424)'), GeomFromEWKT('SRID=4674;POINT (-40.042613 -2.838189)'))) / (select extract(epoch from '2026-07-04 09:50:15'::timestamp) - extract(epoch from '2026-07-04 09:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042732 -2.838424)'), GeomFromEWKT('SRID=4674;POINT (-40.042613 -2.838189)'))) / (select extract(epoch from '2026-07-04 09:50:15'::timestamp) - extract(epoch from '2026-07-04 09:50: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'), 47624, 'SRID=4674;POINT (-40.042553 -2.83798)', '2026-07-04 09:50:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042613 -2.838189)'), GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.83798)'))) / (select extract(epoch from '2026-07-04 09:50:26'::timestamp) - extract(epoch from '2026-07-04 09:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042613 -2.838189)'), GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.83798)'))) / (select extract(epoch from '2026-07-04 09:50:26'::timestamp) - extract(epoch from '2026-07-04 09:50: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'), 47624, 'SRID=4674;POINT (-40.042533 -2.837692)', '2026-07-04 09:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.83798)'), GeomFromEWKT('SRID=4674;POINT (-40.042533 -2.837692)'))) / (select extract(epoch from '2026-07-04 09:50:41'::timestamp) - extract(epoch from '2026-07-04 09:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.83798)'), GeomFromEWKT('SRID=4674;POINT (-40.042533 -2.837692)'))) / (select extract(epoch from '2026-07-04 09:50:41'::timestamp) - extract(epoch from '2026-07-04 09:50: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'), 47624, 'SRID=4674;POINT (-40.042511 -2.837428)', '2026-07-04 09:50:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042533 -2.837692)'), GeomFromEWKT('SRID=4674;POINT (-40.042511 -2.837428)'))) / (select extract(epoch from '2026-07-04 09:50:55'::timestamp) - extract(epoch from '2026-07-04 09:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042533 -2.837692)'), GeomFromEWKT('SRID=4674;POINT (-40.042511 -2.837428)'))) / (select extract(epoch from '2026-07-04 09:50:55'::timestamp) - extract(epoch from '2026-07-04 09:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042493 -2.837219)', '2026-07-04 09:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042511 -2.837428)'), GeomFromEWKT('SRID=4674;POINT (-40.042493 -2.837219)'))) / (select extract(epoch from '2026-07-04 09:51:06'::timestamp) - extract(epoch from '2026-07-04 09:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042511 -2.837428)'), GeomFromEWKT('SRID=4674;POINT (-40.042493 -2.837219)'))) / (select extract(epoch from '2026-07-04 09:51:06'::timestamp) - extract(epoch from '2026-07-04 09:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042497 -2.836993)', '2026-07-04 09:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042493 -2.837219)'), GeomFromEWKT('SRID=4674;POINT (-40.042497 -2.836993)'))) / (select extract(epoch from '2026-07-04 09:51:18'::timestamp) - extract(epoch from '2026-07-04 09:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042493 -2.837219)'), GeomFromEWKT('SRID=4674;POINT (-40.042497 -2.836993)'))) / (select extract(epoch from '2026-07-04 09:51:18'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042518 -2.836744)', '2026-07-04 09:51:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042497 -2.836993)'), GeomFromEWKT('SRID=4674;POINT (-40.042518 -2.836744)'))) / (select extract(epoch from '2026-07-04 09:51:31'::timestamp) - extract(epoch from '2026-07-04 09:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042497 -2.836993)'), GeomFromEWKT('SRID=4674;POINT (-40.042518 -2.836744)'))) / (select extract(epoch from '2026-07-04 09:51:31'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042533 -2.836591)', '2026-07-04 09:51:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042518 -2.836744)'), GeomFromEWKT('SRID=4674;POINT (-40.042533 -2.836591)'))) / (select extract(epoch from '2026-07-04 09:51:39'::timestamp) - extract(epoch from '2026-07-04 09:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042518 -2.836744)'), GeomFromEWKT('SRID=4674;POINT (-40.042533 -2.836591)'))) / (select extract(epoch from '2026-07-04 09:51:39'::timestamp) - extract(epoch from '2026-07-04 09:51: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'), 47624, 'SRID=4674;POINT (-40.042531 -2.836403)', '2026-07-04 09:51:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042533 -2.836591)'), GeomFromEWKT('SRID=4674;POINT (-40.042531 -2.836403)'))) / (select extract(epoch from '2026-07-04 09:51:49'::timestamp) - extract(epoch from '2026-07-04 09:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042533 -2.836591)'), GeomFromEWKT('SRID=4674;POINT (-40.042531 -2.836403)'))) / (select extract(epoch from '2026-07-04 09:51:49'::timestamp) - extract(epoch from '2026-07-04 09:51: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'), 47624, 'SRID=4674;POINT (-40.042473 -2.836183)', '2026-07-04 09:52:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042531 -2.836403)'), GeomFromEWKT('SRID=4674;POINT (-40.042473 -2.836183)'))) / (select extract(epoch from '2026-07-04 09:52:02'::timestamp) - extract(epoch from '2026-07-04 09:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042531 -2.836403)'), GeomFromEWKT('SRID=4674;POINT (-40.042473 -2.836183)'))) / (select extract(epoch from '2026-07-04 09:52:02'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.04241 -2.835964)', '2026-07-04 09:52:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042473 -2.836183)'), GeomFromEWKT('SRID=4674;POINT (-40.04241 -2.835964)'))) / (select extract(epoch from '2026-07-04 09:52:15'::timestamp) - extract(epoch from '2026-07-04 09:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042473 -2.836183)'), GeomFromEWKT('SRID=4674;POINT (-40.04241 -2.835964)'))) / (select extract(epoch from '2026-07-04 09:52:15'::timestamp) - extract(epoch from '2026-07-04 09:52:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042401 -2.83572)', '2026-07-04 09:52:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04241 -2.835964)'), GeomFromEWKT('SRID=4674;POINT (-40.042401 -2.83572)'))) / (select extract(epoch from '2026-07-04 09:52:28'::timestamp) - extract(epoch from '2026-07-04 09:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04241 -2.835964)'), GeomFromEWKT('SRID=4674;POINT (-40.042401 -2.83572)'))) / (select extract(epoch from '2026-07-04 09:52:28'::timestamp) - extract(epoch from '2026-07-04 09:52:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042417 -2.835528)', '2026-07-04 09:52:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042401 -2.83572)'), GeomFromEWKT('SRID=4674;POINT (-40.042417 -2.835528)'))) / (select extract(epoch from '2026-07-04 09:52:38'::timestamp) - extract(epoch from '2026-07-04 09:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042401 -2.83572)'), GeomFromEWKT('SRID=4674;POINT (-40.042417 -2.835528)'))) / (select extract(epoch from '2026-07-04 09:52:38'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042474 -2.835279)', '2026-07-04 09:52:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042417 -2.835528)'), GeomFromEWKT('SRID=4674;POINT (-40.042474 -2.835279)'))) / (select extract(epoch from '2026-07-04 09:52:51'::timestamp) - extract(epoch from '2026-07-04 09:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042417 -2.835528)'), GeomFromEWKT('SRID=4674;POINT (-40.042474 -2.835279)'))) / (select extract(epoch from '2026-07-04 09:52:51'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042553 -2.835035)', '2026-07-04 09:53:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042474 -2.835279)'), GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.835035)'))) / (select extract(epoch from '2026-07-04 09:53:04'::timestamp) - extract(epoch from '2026-07-04 09:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042474 -2.835279)'), GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.835035)'))) / (select extract(epoch from '2026-07-04 09:53:04'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042624 -2.834807)', '2026-07-04 09:53:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.835035)'), GeomFromEWKT('SRID=4674;POINT (-40.042624 -2.834807)'))) / (select extract(epoch from '2026-07-04 09:53:15'::timestamp) - extract(epoch from '2026-07-04 09:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042553 -2.835035)'), GeomFromEWKT('SRID=4674;POINT (-40.042624 -2.834807)'))) / (select extract(epoch from '2026-07-04 09:53:15'::timestamp) - extract(epoch from '2026-07-04 09:53: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'), 47624, 'SRID=4674;POINT (-40.042693 -2.834561)', '2026-07-04 09:53:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042624 -2.834807)'), GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.834561)'))) / (select extract(epoch from '2026-07-04 09:53:26'::timestamp) - extract(epoch from '2026-07-04 09:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042624 -2.834807)'), GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.834561)'))) / (select extract(epoch from '2026-07-04 09:53:26'::timestamp) - extract(epoch from '2026-07-04 09:53: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'), 47624, 'SRID=4674;POINT (-40.042732 -2.834252)', '2026-07-04 09:53:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.834561)'), GeomFromEWKT('SRID=4674;POINT (-40.042732 -2.834252)'))) / (select extract(epoch from '2026-07-04 09:53:40'::timestamp) - extract(epoch from '2026-07-04 09:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.834561)'), GeomFromEWKT('SRID=4674;POINT (-40.042732 -2.834252)'))) / (select extract(epoch from '2026-07-04 09:53:40'::timestamp) - extract(epoch from '2026-07-04 09:53: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'), 47624, 'SRID=4674;POINT (-40.042734 -2.833904)', '2026-07-04 09:53:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042732 -2.834252)'), GeomFromEWKT('SRID=4674;POINT (-40.042734 -2.833904)'))) / (select extract(epoch from '2026-07-04 09:53:56'::timestamp) - extract(epoch from '2026-07-04 09:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042732 -2.834252)'), GeomFromEWKT('SRID=4674;POINT (-40.042734 -2.833904)'))) / (select extract(epoch from '2026-07-04 09:53:56'::timestamp) - extract(epoch from '2026-07-04 09:53: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'), 47624, 'SRID=4674;POINT (-40.042717 -2.833623)', '2026-07-04 09:54:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042734 -2.833904)'), GeomFromEWKT('SRID=4674;POINT (-40.042717 -2.833623)'))) / (select extract(epoch from '2026-07-04 09:54:09'::timestamp) - extract(epoch from '2026-07-04 09:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042734 -2.833904)'), GeomFromEWKT('SRID=4674;POINT (-40.042717 -2.833623)'))) / (select extract(epoch from '2026-07-04 09:54:09'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042703 -2.833383)', '2026-07-04 09:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042717 -2.833623)'), GeomFromEWKT('SRID=4674;POINT (-40.042703 -2.833383)'))) / (select extract(epoch from '2026-07-04 09:54:20'::timestamp) - extract(epoch from '2026-07-04 09:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042717 -2.833623)'), GeomFromEWKT('SRID=4674;POINT (-40.042703 -2.833383)'))) / (select extract(epoch from '2026-07-04 09:54:20'::timestamp) - extract(epoch from '2026-07-04 09:54: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'), 47624, 'SRID=4674;POINT (-40.042697 -2.833169)', '2026-07-04 09:54:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042703 -2.833383)'), GeomFromEWKT('SRID=4674;POINT (-40.042697 -2.833169)'))) / (select extract(epoch from '2026-07-04 09:54:30'::timestamp) - extract(epoch from '2026-07-04 09:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042703 -2.833383)'), GeomFromEWKT('SRID=4674;POINT (-40.042697 -2.833169)'))) / (select extract(epoch from '2026-07-04 09:54:30'::timestamp) - extract(epoch from '2026-07-04 09:54: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'), 47624, 'SRID=4674;POINT (-40.042691 -2.832916)', '2026-07-04 09:54:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042697 -2.833169)'), GeomFromEWKT('SRID=4674;POINT (-40.042691 -2.832916)'))) / (select extract(epoch from '2026-07-04 09:54:42'::timestamp) - extract(epoch from '2026-07-04 09:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042697 -2.833169)'), GeomFromEWKT('SRID=4674;POINT (-40.042691 -2.832916)'))) / (select extract(epoch from '2026-07-04 09:54:42'::timestamp) - extract(epoch from '2026-07-04 09:54: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'), 47624, 'SRID=4674;POINT (-40.042706 -2.832674)', '2026-07-04 09:54:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042691 -2.832916)'), GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.832674)'))) / (select extract(epoch from '2026-07-04 09:54:54'::timestamp) - extract(epoch from '2026-07-04 09:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042691 -2.832916)'), GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.832674)'))) / (select extract(epoch from '2026-07-04 09:54:54'::timestamp) - extract(epoch from '2026-07-04 09:54:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042724 -2.832425)', '2026-07-04 09:55:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.832674)'), GeomFromEWKT('SRID=4674;POINT (-40.042724 -2.832425)'))) / (select extract(epoch from '2026-07-04 09:55:06'::timestamp) - extract(epoch from '2026-07-04 09:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042706 -2.832674)'), GeomFromEWKT('SRID=4674;POINT (-40.042724 -2.832425)'))) / (select extract(epoch from '2026-07-04 09:55:06'::timestamp) - extract(epoch from '2026-07-04 09:54: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'), 47624, 'SRID=4674;POINT (-40.042736 -2.832195)', '2026-07-04 09:55:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042724 -2.832425)'), GeomFromEWKT('SRID=4674;POINT (-40.042736 -2.832195)'))) / (select extract(epoch from '2026-07-04 09:55:17'::timestamp) - extract(epoch from '2026-07-04 09:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042724 -2.832425)'), GeomFromEWKT('SRID=4674;POINT (-40.042736 -2.832195)'))) / (select extract(epoch from '2026-07-04 09:55:17'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042753 -2.831904)', '2026-07-04 09:55:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042736 -2.832195)'), GeomFromEWKT('SRID=4674;POINT (-40.042753 -2.831904)'))) / (select extract(epoch from '2026-07-04 09:55:31'::timestamp) - extract(epoch from '2026-07-04 09:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042736 -2.832195)'), GeomFromEWKT('SRID=4674;POINT (-40.042753 -2.831904)'))) / (select extract(epoch from '2026-07-04 09:55:31'::timestamp) - extract(epoch from '2026-07-04 09:55: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'), 47624, 'SRID=4674;POINT (-40.042773 -2.83157)', '2026-07-04 09:55:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042753 -2.831904)'), GeomFromEWKT('SRID=4674;POINT (-40.042773 -2.83157)'))) / (select extract(epoch from '2026-07-04 09:55:47'::timestamp) - extract(epoch from '2026-07-04 09:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042753 -2.831904)'), GeomFromEWKT('SRID=4674;POINT (-40.042773 -2.83157)'))) / (select extract(epoch from '2026-07-04 09:55:47'::timestamp) - extract(epoch from '2026-07-04 09:55: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'), 47624, 'SRID=4674;POINT (-40.042787 -2.831299)', '2026-07-04 09:56:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042773 -2.83157)'), GeomFromEWKT('SRID=4674;POINT (-40.042787 -2.831299)'))) / (select extract(epoch from '2026-07-04 09:56:00'::timestamp) - extract(epoch from '2026-07-04 09:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042773 -2.83157)'), GeomFromEWKT('SRID=4674;POINT (-40.042787 -2.831299)'))) / (select extract(epoch from '2026-07-04 09:56:00'::timestamp) - extract(epoch from '2026-07-04 09:55: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'), 47624, 'SRID=4674;POINT (-40.042796 -2.831022)', '2026-07-04 09:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042787 -2.831299)'), GeomFromEWKT('SRID=4674;POINT (-40.042796 -2.831022)'))) / (select extract(epoch from '2026-07-04 09:56:13'::timestamp) - extract(epoch from '2026-07-04 09:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042787 -2.831299)'), GeomFromEWKT('SRID=4674;POINT (-40.042796 -2.831022)'))) / (select extract(epoch from '2026-07-04 09:56:13'::timestamp) - extract(epoch from '2026-07-04 09:56:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042806 -2.830723)', '2026-07-04 09:56:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042796 -2.831022)'), GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.830723)'))) / (select extract(epoch from '2026-07-04 09:56:27'::timestamp) - extract(epoch from '2026-07-04 09:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042796 -2.831022)'), GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.830723)'))) / (select extract(epoch from '2026-07-04 09:56:27'::timestamp) - extract(epoch from '2026-07-04 09:56:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042823 -2.830516)', '2026-07-04 09:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.830723)'), GeomFromEWKT('SRID=4674;POINT (-40.042823 -2.830516)'))) / (select extract(epoch from '2026-07-04 09:56:37'::timestamp) - extract(epoch from '2026-07-04 09:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.830723)'), GeomFromEWKT('SRID=4674;POINT (-40.042823 -2.830516)'))) / (select extract(epoch from '2026-07-04 09:56:37'::timestamp) - extract(epoch from '2026-07-04 09:56: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'), 47624, 'SRID=4674;POINT (-40.042856 -2.830291)', '2026-07-04 09:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042823 -2.830516)'), GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.830291)'))) / (select extract(epoch from '2026-07-04 09:56:48'::timestamp) - extract(epoch from '2026-07-04 09:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042823 -2.830516)'), GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.830291)'))) / (select extract(epoch from '2026-07-04 09:56:48'::timestamp) - extract(epoch from '2026-07-04 09:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042886 -2.83008)', '2026-07-04 09:56:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.830291)'), GeomFromEWKT('SRID=4674;POINT (-40.042886 -2.83008)'))) / (select extract(epoch from '2026-07-04 09:56:58'::timestamp) - extract(epoch from '2026-07-04 09:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042856 -2.830291)'), GeomFromEWKT('SRID=4674;POINT (-40.042886 -2.83008)'))) / (select extract(epoch from '2026-07-04 09:56:58'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.042924 -2.829872)', '2026-07-04 09:57:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042886 -2.83008)'), GeomFromEWKT('SRID=4674;POINT (-40.042924 -2.829872)'))) / (select extract(epoch from '2026-07-04 09:57:08'::timestamp) - extract(epoch from '2026-07-04 09:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042886 -2.83008)'), GeomFromEWKT('SRID=4674;POINT (-40.042924 -2.829872)'))) / (select extract(epoch from '2026-07-04 09:57:08'::timestamp) - extract(epoch from '2026-07-04 09:56: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'), 47624, 'SRID=4674;POINT (-40.042962 -2.829683)', '2026-07-04 09:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042924 -2.829872)'), GeomFromEWKT('SRID=4674;POINT (-40.042962 -2.829683)'))) / (select extract(epoch from '2026-07-04 09:57:17'::timestamp) - extract(epoch from '2026-07-04 09:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042924 -2.829872)'), GeomFromEWKT('SRID=4674;POINT (-40.042962 -2.829683)'))) / (select extract(epoch from '2026-07-04 09:57:17'::timestamp) - extract(epoch from '2026-07-04 09:57: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'), 47624, 'SRID=4674;POINT (-40.042977 -2.82947)', '2026-07-04 09:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042962 -2.829683)'), GeomFromEWKT('SRID=4674;POINT (-40.042977 -2.82947)'))) / (select extract(epoch from '2026-07-04 09:57:27'::timestamp) - extract(epoch from '2026-07-04 09:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042962 -2.829683)'), GeomFromEWKT('SRID=4674;POINT (-40.042977 -2.82947)'))) / (select extract(epoch from '2026-07-04 09:57:27'::timestamp) - extract(epoch from '2026-07-04 09:57: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'), 47624, 'SRID=4674;POINT (-40.042995 -2.829279)', '2026-07-04 09:57:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042977 -2.82947)'), GeomFromEWKT('SRID=4674;POINT (-40.042995 -2.829279)'))) / (select extract(epoch from '2026-07-04 09:57:36'::timestamp) - extract(epoch from '2026-07-04 09:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042977 -2.82947)'), GeomFromEWKT('SRID=4674;POINT (-40.042995 -2.829279)'))) / (select extract(epoch from '2026-07-04 09:57:36'::timestamp) - extract(epoch from '2026-07-04 09:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043052 -2.829006)', '2026-07-04 09:57:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042995 -2.829279)'), GeomFromEWKT('SRID=4674;POINT (-40.043052 -2.829006)'))) / (select extract(epoch from '2026-07-04 09:57:49'::timestamp) - extract(epoch from '2026-07-04 09:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042995 -2.829279)'), GeomFromEWKT('SRID=4674;POINT (-40.043052 -2.829006)'))) / (select extract(epoch from '2026-07-04 09:57:49'::timestamp) - extract(epoch from '2026-07-04 09:57: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'), 47624, 'SRID=4674;POINT (-40.0431 -2.828814)', '2026-07-04 09:57:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043052 -2.829006)'), GeomFromEWKT('SRID=4674;POINT (-40.0431 -2.828814)'))) / (select extract(epoch from '2026-07-04 09:57:58'::timestamp) - extract(epoch from '2026-07-04 09:57:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043052 -2.829006)'), GeomFromEWKT('SRID=4674;POINT (-40.0431 -2.828814)'))) / (select extract(epoch from '2026-07-04 09:57:58'::timestamp) - extract(epoch from '2026-07-04 09:57: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'), 47624, 'SRID=4674;POINT (-40.043159 -2.828518)', '2026-07-04 09:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0431 -2.828814)'), GeomFromEWKT('SRID=4674;POINT (-40.043159 -2.828518)'))) / (select extract(epoch from '2026-07-04 09:58:12'::timestamp) - extract(epoch from '2026-07-04 09:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0431 -2.828814)'), GeomFromEWKT('SRID=4674;POINT (-40.043159 -2.828518)'))) / (select extract(epoch from '2026-07-04 09:58:12'::timestamp) - extract(epoch from '2026-07-04 09:57:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043162 -2.828306)', '2026-07-04 09:58:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043159 -2.828518)'), GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.828306)'))) / (select extract(epoch from '2026-07-04 09:58:22'::timestamp) - extract(epoch from '2026-07-04 09:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043159 -2.828518)'), GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.828306)'))) / (select extract(epoch from '2026-07-04 09:58:22'::timestamp) - extract(epoch from '2026-07-04 09:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043155 -2.828035)', '2026-07-04 09:58:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.828306)'), GeomFromEWKT('SRID=4674;POINT (-40.043155 -2.828035)'))) / (select extract(epoch from '2026-07-04 09:58:35'::timestamp) - extract(epoch from '2026-07-04 09:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.828306)'), GeomFromEWKT('SRID=4674;POINT (-40.043155 -2.828035)'))) / (select extract(epoch from '2026-07-04 09:58:35'::timestamp) - extract(epoch from '2026-07-04 09:58: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'), 47624, 'SRID=4674;POINT (-40.04315 -2.827786)', '2026-07-04 09:58:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043155 -2.828035)'), GeomFromEWKT('SRID=4674;POINT (-40.04315 -2.827786)'))) / (select extract(epoch from '2026-07-04 09:58:47'::timestamp) - extract(epoch from '2026-07-04 09:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043155 -2.828035)'), GeomFromEWKT('SRID=4674;POINT (-40.04315 -2.827786)'))) / (select extract(epoch from '2026-07-04 09:58:47'::timestamp) - extract(epoch from '2026-07-04 09:58: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'), 47624, 'SRID=4674;POINT (-40.043158 -2.827618)', '2026-07-04 09:58:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04315 -2.827786)'), GeomFromEWKT('SRID=4674;POINT (-40.043158 -2.827618)'))) / (select extract(epoch from '2026-07-04 09:58:55'::timestamp) - extract(epoch from '2026-07-04 09:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04315 -2.827786)'), GeomFromEWKT('SRID=4674;POINT (-40.043158 -2.827618)'))) / (select extract(epoch from '2026-07-04 09:58:55'::timestamp) - extract(epoch from '2026-07-04 09:58: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'), 47624, 'SRID=4674;POINT (-40.043173 -2.827451)', '2026-07-04 09:59:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043158 -2.827618)'), GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.827451)'))) / (select extract(epoch from '2026-07-04 09:59:03'::timestamp) - extract(epoch from '2026-07-04 09:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043158 -2.827618)'), GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.827451)'))) / (select extract(epoch from '2026-07-04 09:59:03'::timestamp) - extract(epoch from '2026-07-04 09:58: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'), 47624, 'SRID=4674;POINT (-40.043197 -2.827301)', '2026-07-04 09:59:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.827451)'), GeomFromEWKT('SRID=4674;POINT (-40.043197 -2.827301)'))) / (select extract(epoch from '2026-07-04 09:59:10'::timestamp) - extract(epoch from '2026-07-04 09:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.827451)'), GeomFromEWKT('SRID=4674;POINT (-40.043197 -2.827301)'))) / (select extract(epoch from '2026-07-04 09:59:10'::timestamp) - extract(epoch from '2026-07-04 09:59: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'), 47624, 'SRID=4674;POINT (-40.043231 -2.827134)', '2026-07-04 09:59:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043197 -2.827301)'), GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.827134)'))) / (select extract(epoch from '2026-07-04 09:59:18'::timestamp) - extract(epoch from '2026-07-04 09:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043197 -2.827301)'), GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.827134)'))) / (select extract(epoch from '2026-07-04 09:59:18'::timestamp) - extract(epoch from '2026-07-04 09: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'), 47624, 'SRID=4674;POINT (-40.043258 -2.827006)', '2026-07-04 09:59:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.827134)'), GeomFromEWKT('SRID=4674;POINT (-40.043258 -2.827006)'))) / (select extract(epoch from '2026-07-04 09:59:24'::timestamp) - extract(epoch from '2026-07-04 09:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.827134)'), GeomFromEWKT('SRID=4674;POINT (-40.043258 -2.827006)'))) / (select extract(epoch from '2026-07-04 09:59:24'::timestamp) - extract(epoch from '2026-07-04 09:59: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'), 47624, 'SRID=4674;POINT (-40.043296 -2.826795)', '2026-07-04 09:59:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043258 -2.827006)'), GeomFromEWKT('SRID=4674;POINT (-40.043296 -2.826795)'))) / (select extract(epoch from '2026-07-04 09:59:34'::timestamp) - extract(epoch from '2026-07-04 09:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043258 -2.827006)'), GeomFromEWKT('SRID=4674;POINT (-40.043296 -2.826795)'))) / (select extract(epoch from '2026-07-04 09:59:34'::timestamp) - extract(epoch from '2026-07-04 09:59: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'), 47624, 'SRID=4674;POINT (-40.04332 -2.826585)', '2026-07-04 09:59:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043296 -2.826795)'), GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.826585)'))) / (select extract(epoch from '2026-07-04 09:59:44'::timestamp) - extract(epoch from '2026-07-04 09:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043296 -2.826795)'), GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.826585)'))) / (select extract(epoch from '2026-07-04 09:59:44'::timestamp) - extract(epoch from '2026-07-04 09:59: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'), 47624, 'SRID=4674;POINT (-40.043344 -2.82635)', '2026-07-04 09:59:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.826585)'), GeomFromEWKT('SRID=4674;POINT (-40.043344 -2.82635)'))) / (select extract(epoch from '2026-07-04 09:59:55'::timestamp) - extract(epoch from '2026-07-04 09:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.826585)'), GeomFromEWKT('SRID=4674;POINT (-40.043344 -2.82635)'))) / (select extract(epoch from '2026-07-04 09:59:55'::timestamp) - extract(epoch from '2026-07-04 09:59: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'), 47624, 'SRID=4674;POINT (-40.043358 -2.826137)', '2026-07-04 10:00:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043344 -2.82635)'), GeomFromEWKT('SRID=4674;POINT (-40.043358 -2.826137)'))) / (select extract(epoch from '2026-07-04 10:00:05'::timestamp) - extract(epoch from '2026-07-04 09:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043344 -2.82635)'), GeomFromEWKT('SRID=4674;POINT (-40.043358 -2.826137)'))) / (select extract(epoch from '2026-07-04 10:00:05'::timestamp) - extract(epoch from '2026-07-04 09:59: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'), 47624, 'SRID=4674;POINT (-40.043342 -2.825927)', '2026-07-04 10:00:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043358 -2.826137)'), GeomFromEWKT('SRID=4674;POINT (-40.043342 -2.825927)'))) / (select extract(epoch from '2026-07-04 10:00:15'::timestamp) - extract(epoch from '2026-07-04 10:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043358 -2.826137)'), GeomFromEWKT('SRID=4674;POINT (-40.043342 -2.825927)'))) / (select extract(epoch from '2026-07-04 10:00:15'::timestamp) - extract(epoch from '2026-07-04 10:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043303 -2.82574)', '2026-07-04 10:00:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043342 -2.825927)'), GeomFromEWKT('SRID=4674;POINT (-40.043303 -2.82574)'))) / (select extract(epoch from '2026-07-04 10:00:25'::timestamp) - extract(epoch from '2026-07-04 10:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043342 -2.825927)'), GeomFromEWKT('SRID=4674;POINT (-40.043303 -2.82574)'))) / (select extract(epoch from '2026-07-04 10:00:25'::timestamp) - extract(epoch from '2026-07-04 10:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043307 -2.825563)', '2026-07-04 10:00:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043303 -2.82574)'), GeomFromEWKT('SRID=4674;POINT (-40.043307 -2.825563)'))) / (select extract(epoch from '2026-07-04 10:00:37'::timestamp) - extract(epoch from '2026-07-04 10:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043303 -2.82574)'), GeomFromEWKT('SRID=4674;POINT (-40.043307 -2.825563)'))) / (select extract(epoch from '2026-07-04 10:00:37'::timestamp) - extract(epoch from '2026-07-04 10:00: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'), 47624, 'SRID=4674;POINT (-40.043325 -2.825376)', '2026-07-04 10:00:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043307 -2.825563)'), GeomFromEWKT('SRID=4674;POINT (-40.043325 -2.825376)'))) / (select extract(epoch from '2026-07-04 10:00:50'::timestamp) - extract(epoch from '2026-07-04 10:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043307 -2.825563)'), GeomFromEWKT('SRID=4674;POINT (-40.043325 -2.825376)'))) / (select extract(epoch from '2026-07-04 10:00:50'::timestamp) - extract(epoch from '2026-07-04 10:00: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'), 47624, 'SRID=4674;POINT (-40.043351 -2.825203)', '2026-07-04 10:01:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043325 -2.825376)'), GeomFromEWKT('SRID=4674;POINT (-40.043351 -2.825203)'))) / (select extract(epoch from '2026-07-04 10:01:01'::timestamp) - extract(epoch from '2026-07-04 10:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043325 -2.825376)'), GeomFromEWKT('SRID=4674;POINT (-40.043351 -2.825203)'))) / (select extract(epoch from '2026-07-04 10:01:01'::timestamp) - extract(epoch from '2026-07-04 10:00: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'), 47624, 'SRID=4674;POINT (-40.043384 -2.825029)', '2026-07-04 10:01:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043351 -2.825203)'), GeomFromEWKT('SRID=4674;POINT (-40.043384 -2.825029)'))) / (select extract(epoch from '2026-07-04 10:01:11'::timestamp) - extract(epoch from '2026-07-04 10:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043351 -2.825203)'), GeomFromEWKT('SRID=4674;POINT (-40.043384 -2.825029)'))) / (select extract(epoch from '2026-07-04 10:01:11'::timestamp) - extract(epoch from '2026-07-04 10:01: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'), 47624, 'SRID=4674;POINT (-40.043419 -2.824868)', '2026-07-04 10:01:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043384 -2.825029)'), GeomFromEWKT('SRID=4674;POINT (-40.043419 -2.824868)'))) / (select extract(epoch from '2026-07-04 10:01:20'::timestamp) - extract(epoch from '2026-07-04 10:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043384 -2.825029)'), GeomFromEWKT('SRID=4674;POINT (-40.043419 -2.824868)'))) / (select extract(epoch from '2026-07-04 10:01:20'::timestamp) - extract(epoch from '2026-07-04 10:01: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'), 47624, 'SRID=4674;POINT (-40.04346 -2.82471)', '2026-07-04 10:01:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043419 -2.824868)'), GeomFromEWKT('SRID=4674;POINT (-40.04346 -2.82471)'))) / (select extract(epoch from '2026-07-04 10:01:29'::timestamp) - extract(epoch from '2026-07-04 10:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043419 -2.824868)'), GeomFromEWKT('SRID=4674;POINT (-40.04346 -2.82471)'))) / (select extract(epoch from '2026-07-04 10:01:29'::timestamp) - extract(epoch from '2026-07-04 10:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043496 -2.8245)', '2026-07-04 10:01:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04346 -2.82471)'), GeomFromEWKT('SRID=4674;POINT (-40.043496 -2.8245)'))) / (select extract(epoch from '2026-07-04 10:01:41'::timestamp) - extract(epoch from '2026-07-04 10:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04346 -2.82471)'), GeomFromEWKT('SRID=4674;POINT (-40.043496 -2.8245)'))) / (select extract(epoch from '2026-07-04 10:01:41'::timestamp) - extract(epoch from '2026-07-04 10:01: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'), 47624, 'SRID=4674;POINT (-40.043523 -2.824353)', '2026-07-04 10:01:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043496 -2.8245)'), GeomFromEWKT('SRID=4674;POINT (-40.043523 -2.824353)'))) / (select extract(epoch from '2026-07-04 10:01:51'::timestamp) - extract(epoch from '2026-07-04 10:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043496 -2.8245)'), GeomFromEWKT('SRID=4674;POINT (-40.043523 -2.824353)'))) / (select extract(epoch from '2026-07-04 10:01:51'::timestamp) - extract(epoch from '2026-07-04 10:01: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'), 47624, 'SRID=4674;POINT (-40.043552 -2.82418)', '2026-07-04 10:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043523 -2.824353)'), GeomFromEWKT('SRID=4674;POINT (-40.043552 -2.82418)'))) / (select extract(epoch from '2026-07-04 10:02:02'::timestamp) - extract(epoch from '2026-07-04 10:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043523 -2.824353)'), GeomFromEWKT('SRID=4674;POINT (-40.043552 -2.82418)'))) / (select extract(epoch from '2026-07-04 10:02:02'::timestamp) - extract(epoch from '2026-07-04 10:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043567 -2.824041)', '2026-07-04 10:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043552 -2.82418)'), GeomFromEWKT('SRID=4674;POINT (-40.043567 -2.824041)'))) / (select extract(epoch from '2026-07-04 10:02:11'::timestamp) - extract(epoch from '2026-07-04 10:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043552 -2.82418)'), GeomFromEWKT('SRID=4674;POINT (-40.043567 -2.824041)'))) / (select extract(epoch from '2026-07-04 10:02:11'::timestamp) - extract(epoch from '2026-07-04 10:02: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'), 47624, 'SRID=4674;POINT (-40.043575 -2.82396)', '2026-07-04 10:02:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043567 -2.824041)'), GeomFromEWKT('SRID=4674;POINT (-40.043575 -2.82396)'))) / (select extract(epoch from '2026-07-04 10:02:17'::timestamp) - extract(epoch from '2026-07-04 10:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043567 -2.824041)'), GeomFromEWKT('SRID=4674;POINT (-40.043575 -2.82396)'))) / (select extract(epoch from '2026-07-04 10:02:17'::timestamp) - extract(epoch from '2026-07-04 10:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043583 -2.823833)', '2026-07-04 10:02:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043575 -2.82396)'), GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.823833)'))) / (select extract(epoch from '2026-07-04 10:02:27'::timestamp) - extract(epoch from '2026-07-04 10:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043575 -2.82396)'), GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.823833)'))) / (select extract(epoch from '2026-07-04 10:02:27'::timestamp) - extract(epoch from '2026-07-04 10:02:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043593 -2.823745)', '2026-07-04 10:02:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.823833)'), GeomFromEWKT('SRID=4674;POINT (-40.043593 -2.823745)'))) / (select extract(epoch from '2026-07-04 10:02:35'::timestamp) - extract(epoch from '2026-07-04 10:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043583 -2.823833)'), GeomFromEWKT('SRID=4674;POINT (-40.043593 -2.823745)'))) / (select extract(epoch from '2026-07-04 10:02:35'::timestamp) - extract(epoch from '2026-07-04 10:02: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'), 47624, 'SRID=4674;POINT (-40.043594 -2.823713)', '2026-07-04 10:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043593 -2.823745)'), GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.823713)'))) / (select extract(epoch from '2026-07-04 10:02:39'::timestamp) - extract(epoch from '2026-07-04 10:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043593 -2.823745)'), GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.823713)'))) / (select extract(epoch from '2026-07-04 10:02:39'::timestamp) - extract(epoch from '2026-07-04 10:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043596 -2.823699)', '2026-07-04 10:02:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.823713)'), GeomFromEWKT('SRID=4674;POINT (-40.043596 -2.823699)'))) / (select extract(epoch from '2026-07-04 10:02:41'::timestamp) - extract(epoch from '2026-07-04 10:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.823713)'), GeomFromEWKT('SRID=4674;POINT (-40.043596 -2.823699)'))) / (select extract(epoch from '2026-07-04 10:02:41'::timestamp) - extract(epoch from '2026-07-04 10:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043622 -2.823646)', '2026-07-04 10:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043596 -2.823699)'), GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.823646)'))) / (select extract(epoch from '2026-07-04 10:02:52'::timestamp) - extract(epoch from '2026-07-04 10:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043596 -2.823699)'), GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.823646)'))) / (select extract(epoch from '2026-07-04 10:02:52'::timestamp) - extract(epoch from '2026-07-04 10:02: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'), 47624, 'SRID=4674;POINT (-40.043629 -2.823614)', '2026-07-04 10:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.823646)'), GeomFromEWKT('SRID=4674;POINT (-40.043629 -2.823614)'))) / (select extract(epoch from '2026-07-04 10:03:11'::timestamp) - extract(epoch from '2026-07-04 10:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.823646)'), GeomFromEWKT('SRID=4674;POINT (-40.043629 -2.823614)'))) / (select extract(epoch from '2026-07-04 10:03:11'::timestamp) - extract(epoch from '2026-07-04 10:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043626 -2.823611)', '2026-07-04 10:03:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043629 -2.823614)'), GeomFromEWKT('SRID=4674;POINT (-40.043626 -2.823611)'))) / (select extract(epoch from '2026-07-04 10:03:33'::timestamp) - extract(epoch from '2026-07-04 10:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043629 -2.823614)'), GeomFromEWKT('SRID=4674;POINT (-40.043626 -2.823611)'))) / (select extract(epoch from '2026-07-04 10:03:33'::timestamp) - extract(epoch from '2026-07-04 10:03: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'), 47624, 'SRID=4674;POINT (-40.043617 -2.823602)', '2026-07-04 10:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043626 -2.823611)'), GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.823602)'))) / (select extract(epoch from '2026-07-04 10:04:03'::timestamp) - extract(epoch from '2026-07-04 10:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043626 -2.823611)'), GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.823602)'))) / (select extract(epoch from '2026-07-04 10:04:03'::timestamp) - extract(epoch from '2026-07-04 10:03:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043627 -2.823608)', '2026-07-04 10:04:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.043627 -2.823608)'))) / (select extract(epoch from '2026-07-04 10:04:15'::timestamp) - extract(epoch from '2026-07-04 10:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.043627 -2.823608)'))) / (select extract(epoch from '2026-07-04 10:04:15'::timestamp) - extract(epoch from '2026-07-04 10:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043613 -2.823596)', '2026-07-04 10:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043627 -2.823608)'), GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.823596)'))) / (select extract(epoch from '2026-07-04 10:04:35'::timestamp) - extract(epoch from '2026-07-04 10:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043627 -2.823608)'), GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.823596)'))) / (select extract(epoch from '2026-07-04 10:04:35'::timestamp) - extract(epoch from '2026-07-04 10:04: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'), 47624, 'SRID=4674;POINT (-40.043619 -2.82361)', '2026-07-04 10:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.823596)'), GeomFromEWKT('SRID=4674;POINT (-40.043619 -2.82361)'))) / (select extract(epoch from '2026-07-04 10:04:52'::timestamp) - extract(epoch from '2026-07-04 10:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.823596)'), GeomFromEWKT('SRID=4674;POINT (-40.043619 -2.82361)'))) / (select extract(epoch from '2026-07-04 10:04:52'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043638 -2.823618)', '2026-07-04 10:05:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043619 -2.82361)'), GeomFromEWKT('SRID=4674;POINT (-40.043638 -2.823618)'))) / (select extract(epoch from '2026-07-04 10:05:12'::timestamp) - extract(epoch from '2026-07-04 10:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043619 -2.82361)'), GeomFromEWKT('SRID=4674;POINT (-40.043638 -2.823618)'))) / (select extract(epoch from '2026-07-04 10:05:12'::timestamp) - extract(epoch from '2026-07-04 10:04: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'), 47624, 'SRID=4674;POINT (-40.043608 -2.8236)', '2026-07-04 10:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043638 -2.823618)'), GeomFromEWKT('SRID=4674;POINT (-40.043608 -2.8236)'))) / (select extract(epoch from '2026-07-04 10:05:23'::timestamp) - extract(epoch from '2026-07-04 10:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043638 -2.823618)'), GeomFromEWKT('SRID=4674;POINT (-40.043608 -2.8236)'))) / (select extract(epoch from '2026-07-04 10:05:23'::timestamp) - extract(epoch from '2026-07-04 10:05: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'), 47624, 'SRID=4674;POINT (-40.043613 -2.823592)', '2026-07-04 10:05:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043608 -2.8236)'), GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.823592)'))) / (select extract(epoch from '2026-07-04 10:05:43'::timestamp) - extract(epoch from '2026-07-04 10:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043608 -2.8236)'), GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.823592)'))) / (select extract(epoch from '2026-07-04 10:05:43'::timestamp) - extract(epoch from '2026-07-04 10:05: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'), 47624, 'SRID=4674;POINT (-40.04364 -2.823608)', '2026-07-04 10:05:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.823592)'), GeomFromEWKT('SRID=4674;POINT (-40.04364 -2.823608)'))) / (select extract(epoch from '2026-07-04 10:05:59'::timestamp) - extract(epoch from '2026-07-04 10:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.823592)'), GeomFromEWKT('SRID=4674;POINT (-40.04364 -2.823608)'))) / (select extract(epoch from '2026-07-04 10:05:59'::timestamp) - extract(epoch from '2026-07-04 10:05: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'), 47624, 'SRID=4674;POINT (-40.043614 -2.823589)', '2026-07-04 10:06:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04364 -2.823608)'), GeomFromEWKT('SRID=4674;POINT (-40.043614 -2.823589)'))) / (select extract(epoch from '2026-07-04 10:06:14'::timestamp) - extract(epoch from '2026-07-04 10:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04364 -2.823608)'), GeomFromEWKT('SRID=4674;POINT (-40.043614 -2.823589)'))) / (select extract(epoch from '2026-07-04 10:06:14'::timestamp) - extract(epoch from '2026-07-04 10:05: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'), 47624, 'SRID=4674;POINT (-40.043616 -2.8236)', '2026-07-04 10:06:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043614 -2.823589)'), GeomFromEWKT('SRID=4674;POINT (-40.043616 -2.8236)'))) / (select extract(epoch from '2026-07-04 10:06:35'::timestamp) - extract(epoch from '2026-07-04 10:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043614 -2.823589)'), GeomFromEWKT('SRID=4674;POINT (-40.043616 -2.8236)'))) / (select extract(epoch from '2026-07-04 10:06:35'::timestamp) - extract(epoch from '2026-07-04 10:06: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'), 47624, 'SRID=4674;POINT (-40.043634 -2.823615)', '2026-07-04 10:07:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043616 -2.8236)'), GeomFromEWKT('SRID=4674;POINT (-40.043634 -2.823615)'))) / (select extract(epoch from '2026-07-04 10:07:03'::timestamp) - extract(epoch from '2026-07-04 10:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043616 -2.8236)'), GeomFromEWKT('SRID=4674;POINT (-40.043634 -2.823615)'))) / (select extract(epoch from '2026-07-04 10:07:03'::timestamp) - extract(epoch from '2026-07-04 10:06: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'), 47624, 'SRID=4674;POINT (-40.043617 -2.823599)', '2026-07-04 10:07:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043634 -2.823615)'), GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.823599)'))) / (select extract(epoch from '2026-07-04 10:07:23'::timestamp) - extract(epoch from '2026-07-04 10:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043634 -2.823615)'), GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.823599)'))) / (select extract(epoch from '2026-07-04 10:07:23'::timestamp) - extract(epoch from '2026-07-04 10:07: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'), 47624, 'SRID=4674;POINT (-40.04362 -2.823605)', '2026-07-04 10:07:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.823599)'), GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.823605)'))) / (select extract(epoch from '2026-07-04 10:07:39'::timestamp) - extract(epoch from '2026-07-04 10:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.823599)'), GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.823605)'))) / (select extract(epoch from '2026-07-04 10:07:39'::timestamp) - extract(epoch from '2026-07-04 10:07: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'), 47624, 'SRID=4674;POINT (-40.043641 -2.823612)', '2026-07-04 10:07:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.823605)'), GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.823612)'))) / (select extract(epoch from '2026-07-04 10:07:57'::timestamp) - extract(epoch from '2026-07-04 10:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.823605)'), GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.823612)'))) / (select extract(epoch from '2026-07-04 10:07:57'::timestamp) - extract(epoch from '2026-07-04 10:07: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'), 47624, 'SRID=4674;POINT (-40.043645 -2.823621)', '2026-07-04 10:08:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.823612)'), GeomFromEWKT('SRID=4674;POINT (-40.043645 -2.823621)'))) / (select extract(epoch from '2026-07-04 10:08:12'::timestamp) - extract(epoch from '2026-07-04 10:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.823612)'), GeomFromEWKT('SRID=4674;POINT (-40.043645 -2.823621)'))) / (select extract(epoch from '2026-07-04 10:08:12'::timestamp) - extract(epoch from '2026-07-04 10:07: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'), 47624, 'SRID=4674;POINT (-40.043634 -2.823611)', '2026-07-04 10:08:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043645 -2.823621)'), GeomFromEWKT('SRID=4674;POINT (-40.043634 -2.823611)'))) / (select extract(epoch from '2026-07-04 10:08:38'::timestamp) - extract(epoch from '2026-07-04 10:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043645 -2.823621)'), GeomFromEWKT('SRID=4674;POINT (-40.043634 -2.823611)'))) / (select extract(epoch from '2026-07-04 10:08:38'::timestamp) - extract(epoch from '2026-07-04 10:08: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'), 47624, 'SRID=4674;POINT (-40.043624 -2.8236)', '2026-07-04 10:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043634 -2.823611)'), GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.8236)'))) / (select extract(epoch from '2026-07-04 10:08:56'::timestamp) - extract(epoch from '2026-07-04 10:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043634 -2.823611)'), GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.8236)'))) / (select extract(epoch from '2026-07-04 10:08:56'::timestamp) - extract(epoch from '2026-07-04 10:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043641 -2.823608)', '2026-07-04 10:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.8236)'), GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.823608)'))) / (select extract(epoch from '2026-07-04 10:09:18'::timestamp) - extract(epoch from '2026-07-04 10:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.8236)'), GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.823608)'))) / (select extract(epoch from '2026-07-04 10:09:18'::timestamp) - extract(epoch from '2026-07-04 10:08: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'), 47624, 'SRID=4674;POINT (-40.043648 -2.823616)', '2026-07-04 10:09:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.823608)'), GeomFromEWKT('SRID=4674;POINT (-40.043648 -2.823616)'))) / (select extract(epoch from '2026-07-04 10:09:48'::timestamp) - extract(epoch from '2026-07-04 10:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043641 -2.823608)'), GeomFromEWKT('SRID=4674;POINT (-40.043648 -2.823616)'))) / (select extract(epoch from '2026-07-04 10:09:48'::timestamp) - extract(epoch from '2026-07-04 10:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043631 -2.823603)', '2026-07-04 10:10:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043648 -2.823616)'), GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.823603)'))) / (select extract(epoch from '2026-07-04 10:10:06'::timestamp) - extract(epoch from '2026-07-04 10:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043648 -2.823616)'), GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.823603)'))) / (select extract(epoch from '2026-07-04 10:10:06'::timestamp) - extract(epoch from '2026-07-04 10:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043646 -2.823619)', '2026-07-04 10:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.823603)'), GeomFromEWKT('SRID=4674;POINT (-40.043646 -2.823619)'))) / (select extract(epoch from '2026-07-04 10:10:26'::timestamp) - extract(epoch from '2026-07-04 10:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.823603)'), GeomFromEWKT('SRID=4674;POINT (-40.043646 -2.823619)'))) / (select extract(epoch from '2026-07-04 10:10:26'::timestamp) - extract(epoch from '2026-07-04 10:10: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'), 47624, 'SRID=4674;POINT (-40.04362 -2.823593)', '2026-07-04 10:10:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043646 -2.823619)'), GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.823593)'))) / (select extract(epoch from '2026-07-04 10:10:48'::timestamp) - extract(epoch from '2026-07-04 10:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043646 -2.823619)'), GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.823593)'))) / (select extract(epoch from '2026-07-04 10:10:48'::timestamp) - extract(epoch from '2026-07-04 10:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043628 -2.823609)', '2026-07-04 10:11:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.823593)'), GeomFromEWKT('SRID=4674;POINT (-40.043628 -2.823609)'))) / (select extract(epoch from '2026-07-04 10:11:03'::timestamp) - extract(epoch from '2026-07-04 10:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.823593)'), GeomFromEWKT('SRID=4674;POINT (-40.043628 -2.823609)'))) / (select extract(epoch from '2026-07-04 10:11:03'::timestamp) - extract(epoch from '2026-07-04 10:10:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043623 -2.823602)', '2026-07-04 10:11:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043628 -2.823609)'), GeomFromEWKT('SRID=4674;POINT (-40.043623 -2.823602)'))) / (select extract(epoch from '2026-07-04 10:11:27'::timestamp) - extract(epoch from '2026-07-04 10:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043628 -2.823609)'), GeomFromEWKT('SRID=4674;POINT (-40.043623 -2.823602)'))) / (select extract(epoch from '2026-07-04 10:11:27'::timestamp) - extract(epoch from '2026-07-04 10:11: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'), 47624, 'SRID=4674;POINT (-40.043638 -2.823607)', '2026-07-04 10:11:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043623 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.043638 -2.823607)'))) / (select extract(epoch from '2026-07-04 10:11:51'::timestamp) - extract(epoch from '2026-07-04 10:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043623 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.043638 -2.823607)'))) / (select extract(epoch from '2026-07-04 10:11:51'::timestamp) - extract(epoch from '2026-07-04 10:11: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'), 47624, 'SRID=4674;POINT (-40.043623 -2.823595)', '2026-07-04 10:12:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043638 -2.823607)'), GeomFromEWKT('SRID=4674;POINT (-40.043623 -2.823595)'))) / (select extract(epoch from '2026-07-04 10:12:14'::timestamp) - extract(epoch from '2026-07-04 10:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043638 -2.823607)'), GeomFromEWKT('SRID=4674;POINT (-40.043623 -2.823595)'))) / (select extract(epoch from '2026-07-04 10:12:14'::timestamp) - extract(epoch from '2026-07-04 10:11: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'), 47624, 'SRID=4674;POINT (-40.043639 -2.8236)', '2026-07-04 10:12:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043623 -2.823595)'), GeomFromEWKT('SRID=4674;POINT (-40.043639 -2.8236)'))) / (select extract(epoch from '2026-07-04 10:12:35'::timestamp) - extract(epoch from '2026-07-04 10:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043623 -2.823595)'), GeomFromEWKT('SRID=4674;POINT (-40.043639 -2.8236)'))) / (select extract(epoch from '2026-07-04 10:12:35'::timestamp) - extract(epoch from '2026-07-04 10:12: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'), 47624, 'SRID=4674;POINT (-40.043637 -2.823599)', '2026-07-04 10:13:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043639 -2.8236)'), GeomFromEWKT('SRID=4674;POINT (-40.043637 -2.823599)'))) / (select extract(epoch from '2026-07-04 10:13:04'::timestamp) - extract(epoch from '2026-07-04 10:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043639 -2.8236)'), GeomFromEWKT('SRID=4674;POINT (-40.043637 -2.823599)'))) / (select extract(epoch from '2026-07-04 10:13:04'::timestamp) - extract(epoch from '2026-07-04 10:12: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'), 47624, 'SRID=4674;POINT (-40.043633 -2.823602)', '2026-07-04 10:13:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043637 -2.823599)'), GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823602)'))) / (select extract(epoch from '2026-07-04 10:13:25'::timestamp) - extract(epoch from '2026-07-04 10:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043637 -2.823599)'), GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823602)'))) / (select extract(epoch from '2026-07-04 10:13:25'::timestamp) - extract(epoch from '2026-07-04 10:13:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043622 -2.823596)', '2026-07-04 10:13:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.823596)'))) / (select extract(epoch from '2026-07-04 10:13:41'::timestamp) - extract(epoch from '2026-07-04 10:13:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.823596)'))) / (select extract(epoch from '2026-07-04 10:13:41'::timestamp) - extract(epoch from '2026-07-04 10:13: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'), 47624, 'SRID=4674;POINT (-40.04363 -2.823603)', '2026-07-04 10:13:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.823596)'), GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.823603)'))) / (select extract(epoch from '2026-07-04 10:13:54'::timestamp) - extract(epoch from '2026-07-04 10:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043622 -2.823596)'), GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.823603)'))) / (select extract(epoch from '2026-07-04 10:13:54'::timestamp) - extract(epoch from '2026-07-04 10:13: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'), 47624, 'SRID=4674;POINT (-40.043633 -2.823603)', '2026-07-04 10:14:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.823603)'), GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823603)'))) / (select extract(epoch from '2026-07-04 10:14:15'::timestamp) - extract(epoch from '2026-07-04 10:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04363 -2.823603)'), GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823603)'))) / (select extract(epoch from '2026-07-04 10:14:15'::timestamp) - extract(epoch from '2026-07-04 10:13:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043633 -2.823603)', '2026-07-04 10:14:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823603)'), GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823603)'))) / (select extract(epoch from '2026-07-04 10:14:32'::timestamp) - extract(epoch from '2026-07-04 10:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823603)'), GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823603)'))) / (select extract(epoch from '2026-07-04 10:14:32'::timestamp) - extract(epoch from '2026-07-04 10:14: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'), 47624, 'SRID=4674;POINT (-40.04364 -2.823604)', '2026-07-04 10:14:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823603)'), GeomFromEWKT('SRID=4674;POINT (-40.04364 -2.823604)'))) / (select extract(epoch from '2026-07-04 10:14:52'::timestamp) - extract(epoch from '2026-07-04 10:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043633 -2.823603)'), GeomFromEWKT('SRID=4674;POINT (-40.04364 -2.823604)'))) / (select extract(epoch from '2026-07-04 10:14:52'::timestamp) - extract(epoch from '2026-07-04 10:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043629 -2.823596)', '2026-07-04 10:15:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04364 -2.823604)'), GeomFromEWKT('SRID=4674;POINT (-40.043629 -2.823596)'))) / (select extract(epoch from '2026-07-04 10:15:15'::timestamp) - extract(epoch from '2026-07-04 10:14:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04364 -2.823604)'), GeomFromEWKT('SRID=4674;POINT (-40.043629 -2.823596)'))) / (select extract(epoch from '2026-07-04 10:15:15'::timestamp) - extract(epoch from '2026-07-04 10:14: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'), 47624, 'SRID=4674;POINT (-40.043644 -2.823602)', '2026-07-04 10:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043629 -2.823596)'), GeomFromEWKT('SRID=4674;POINT (-40.043644 -2.823602)'))) / (select extract(epoch from '2026-07-04 10:15:33'::timestamp) - extract(epoch from '2026-07-04 10:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043629 -2.823596)'), GeomFromEWKT('SRID=4674;POINT (-40.043644 -2.823602)'))) / (select extract(epoch from '2026-07-04 10:15:33'::timestamp) - extract(epoch from '2026-07-04 10:15: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'), 47624, 'SRID=4674;POINT (-40.043621 -2.823584)', '2026-07-04 10:15:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043644 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.043621 -2.823584)'))) / (select extract(epoch from '2026-07-04 10:15:49'::timestamp) - extract(epoch from '2026-07-04 10:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043644 -2.823602)'), GeomFromEWKT('SRID=4674;POINT (-40.043621 -2.823584)'))) / (select extract(epoch from '2026-07-04 10:15:49'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043626 -2.823599)', '2026-07-04 10:16:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043621 -2.823584)'), GeomFromEWKT('SRID=4674;POINT (-40.043626 -2.823599)'))) / (select extract(epoch from '2026-07-04 10:16:09'::timestamp) - extract(epoch from '2026-07-04 10:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043621 -2.823584)'), GeomFromEWKT('SRID=4674;POINT (-40.043626 -2.823599)'))) / (select extract(epoch from '2026-07-04 10:16:09'::timestamp) - extract(epoch from '2026-07-04 10:15:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043616 -2.823588)', '2026-07-04 10:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043626 -2.823599)'), GeomFromEWKT('SRID=4674;POINT (-40.043616 -2.823588)'))) / (select extract(epoch from '2026-07-04 10:16:35'::timestamp) - extract(epoch from '2026-07-04 10:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043626 -2.823599)'), GeomFromEWKT('SRID=4674;POINT (-40.043616 -2.823588)'))) / (select extract(epoch from '2026-07-04 10:16:35'::timestamp) - extract(epoch from '2026-07-04 10:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043613 -2.82359)', '2026-07-04 10:17:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043616 -2.823588)'), GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.82359)'))) / (select extract(epoch from '2026-07-04 10:17:01'::timestamp) - extract(epoch from '2026-07-04 10:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043616 -2.823588)'), GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.82359)'))) / (select extract(epoch from '2026-07-04 10:17:01'::timestamp) - extract(epoch from '2026-07-04 10:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043588 -2.823605)', '2026-07-04 10:17:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.82359)'), GeomFromEWKT('SRID=4674;POINT (-40.043588 -2.823605)'))) / (select extract(epoch from '2026-07-04 10:17:22'::timestamp) - extract(epoch from '2026-07-04 10:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.82359)'), GeomFromEWKT('SRID=4674;POINT (-40.043588 -2.823605)'))) / (select extract(epoch from '2026-07-04 10:17:22'::timestamp) - extract(epoch from '2026-07-04 10:17:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043576 -2.823655)', '2026-07-04 10:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043588 -2.823605)'), GeomFromEWKT('SRID=4674;POINT (-40.043576 -2.823655)'))) / (select extract(epoch from '2026-07-04 10:17:32'::timestamp) - extract(epoch from '2026-07-04 10:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043588 -2.823605)'), GeomFromEWKT('SRID=4674;POINT (-40.043576 -2.823655)'))) / (select extract(epoch from '2026-07-04 10:17:32'::timestamp) - extract(epoch from '2026-07-04 10:17:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043611 -2.823696)', '2026-07-04 10:17:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043576 -2.823655)'), GeomFromEWKT('SRID=4674;POINT (-40.043611 -2.823696)'))) / (select extract(epoch from '2026-07-04 10:17:48'::timestamp) - extract(epoch from '2026-07-04 10:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043576 -2.823655)'), GeomFromEWKT('SRID=4674;POINT (-40.043611 -2.823696)'))) / (select extract(epoch from '2026-07-04 10:17:48'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043683 -2.823668)', '2026-07-04 10:17:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043611 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.043683 -2.823668)'))) / (select extract(epoch from '2026-07-04 10:17:54'::timestamp) - extract(epoch from '2026-07-04 10:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043611 -2.823696)'), GeomFromEWKT('SRID=4674;POINT (-40.043683 -2.823668)'))) / (select extract(epoch from '2026-07-04 10:17:54'::timestamp) - extract(epoch from '2026-07-04 10:17: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'), 47624, 'SRID=4674;POINT (-40.043713 -2.82358)', '2026-07-04 10:18:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043683 -2.823668)'), GeomFromEWKT('SRID=4674;POINT (-40.043713 -2.82358)'))) / (select extract(epoch from '2026-07-04 10:18:00'::timestamp) - extract(epoch from '2026-07-04 10:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043683 -2.823668)'), GeomFromEWKT('SRID=4674;POINT (-40.043713 -2.82358)'))) / (select extract(epoch from '2026-07-04 10:18:00'::timestamp) - extract(epoch from '2026-07-04 10:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043668 -2.823444)', '2026-07-04 10:18:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043713 -2.82358)'), GeomFromEWKT('SRID=4674;POINT (-40.043668 -2.823444)'))) / (select extract(epoch from '2026-07-04 10:18:08'::timestamp) - extract(epoch from '2026-07-04 10:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043713 -2.82358)'), GeomFromEWKT('SRID=4674;POINT (-40.043668 -2.823444)'))) / (select extract(epoch from '2026-07-04 10:18:08'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043601 -2.823315)', '2026-07-04 10:18:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043668 -2.823444)'), GeomFromEWKT('SRID=4674;POINT (-40.043601 -2.823315)'))) / (select extract(epoch from '2026-07-04 10:18:16'::timestamp) - extract(epoch from '2026-07-04 10:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043668 -2.823444)'), GeomFromEWKT('SRID=4674;POINT (-40.043601 -2.823315)'))) / (select extract(epoch from '2026-07-04 10:18:16'::timestamp) - extract(epoch from '2026-07-04 10:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043564 -2.823222)', '2026-07-04 10:18:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043601 -2.823315)'), GeomFromEWKT('SRID=4674;POINT (-40.043564 -2.823222)'))) / (select extract(epoch from '2026-07-04 10:18:22'::timestamp) - extract(epoch from '2026-07-04 10:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043601 -2.823315)'), GeomFromEWKT('SRID=4674;POINT (-40.043564 -2.823222)'))) / (select extract(epoch from '2026-07-04 10:18:22'::timestamp) - extract(epoch from '2026-07-04 10:18: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'), 47624, 'SRID=4674;POINT (-40.043553 -2.823191)', '2026-07-04 10:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043564 -2.823222)'), GeomFromEWKT('SRID=4674;POINT (-40.043553 -2.823191)'))) / (select extract(epoch from '2026-07-04 10:18:24'::timestamp) - extract(epoch from '2026-07-04 10:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043564 -2.823222)'), GeomFromEWKT('SRID=4674;POINT (-40.043553 -2.823191)'))) / (select extract(epoch from '2026-07-04 10:18:24'::timestamp) - extract(epoch from '2026-07-04 10:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043531 -2.823109)', '2026-07-04 10:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043553 -2.823191)'), GeomFromEWKT('SRID=4674;POINT (-40.043531 -2.823109)'))) / (select extract(epoch from '2026-07-04 10:18:31'::timestamp) - extract(epoch from '2026-07-04 10:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043553 -2.823191)'), GeomFromEWKT('SRID=4674;POINT (-40.043531 -2.823109)'))) / (select extract(epoch from '2026-07-04 10:18:31'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043522 -2.823073)', '2026-07-04 10:18:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043531 -2.823109)'), GeomFromEWKT('SRID=4674;POINT (-40.043522 -2.823073)'))) / (select extract(epoch from '2026-07-04 10:18:34'::timestamp) - extract(epoch from '2026-07-04 10:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043531 -2.823109)'), GeomFromEWKT('SRID=4674;POINT (-40.043522 -2.823073)'))) / (select extract(epoch from '2026-07-04 10:18:34'::timestamp) - extract(epoch from '2026-07-04 10:18: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'), 47624, 'SRID=4674;POINT (-40.043515 -2.823048)', '2026-07-04 10:18:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043522 -2.823073)'), GeomFromEWKT('SRID=4674;POINT (-40.043515 -2.823048)'))) / (select extract(epoch from '2026-07-04 10:18:36'::timestamp) - extract(epoch from '2026-07-04 10:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043522 -2.823073)'), GeomFromEWKT('SRID=4674;POINT (-40.043515 -2.823048)'))) / (select extract(epoch from '2026-07-04 10:18:36'::timestamp) - extract(epoch from '2026-07-04 10:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043492 -2.822975)', '2026-07-04 10:18:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043515 -2.823048)'), GeomFromEWKT('SRID=4674;POINT (-40.043492 -2.822975)'))) / (select extract(epoch from '2026-07-04 10:18:42'::timestamp) - extract(epoch from '2026-07-04 10:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043515 -2.823048)'), GeomFromEWKT('SRID=4674;POINT (-40.043492 -2.822975)'))) / (select extract(epoch from '2026-07-04 10:18:42'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043466 -2.822871)', '2026-07-04 10:18:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043492 -2.822975)'), GeomFromEWKT('SRID=4674;POINT (-40.043466 -2.822871)'))) / (select extract(epoch from '2026-07-04 10:18:49'::timestamp) - extract(epoch from '2026-07-04 10:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043492 -2.822975)'), GeomFromEWKT('SRID=4674;POINT (-40.043466 -2.822871)'))) / (select extract(epoch from '2026-07-04 10:18:49'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043443 -2.822743)', '2026-07-04 10:18:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043466 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.043443 -2.822743)'))) / (select extract(epoch from '2026-07-04 10:18:57'::timestamp) - extract(epoch from '2026-07-04 10:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043466 -2.822871)'), GeomFromEWKT('SRID=4674;POINT (-40.043443 -2.822743)'))) / (select extract(epoch from '2026-07-04 10:18:57'::timestamp) - extract(epoch from '2026-07-04 10:18: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'), 47624, 'SRID=4674;POINT (-40.043426 -2.822627)', '2026-07-04 10:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043443 -2.822743)'), GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.822627)'))) / (select extract(epoch from '2026-07-04 10:19:03'::timestamp) - extract(epoch from '2026-07-04 10:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043443 -2.822743)'), GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.822627)'))) / (select extract(epoch from '2026-07-04 10:19:03'::timestamp) - extract(epoch from '2026-07-04 10:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043447 -2.822472)', '2026-07-04 10:19:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.822627)'), GeomFromEWKT('SRID=4674;POINT (-40.043447 -2.822472)'))) / (select extract(epoch from '2026-07-04 10:19:10'::timestamp) - extract(epoch from '2026-07-04 10:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.822627)'), GeomFromEWKT('SRID=4674;POINT (-40.043447 -2.822472)'))) / (select extract(epoch from '2026-07-04 10:19:10'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043514 -2.82228)', '2026-07-04 10:19:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043447 -2.822472)'), GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.82228)'))) / (select extract(epoch from '2026-07-04 10:19:19'::timestamp) - extract(epoch from '2026-07-04 10:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043447 -2.822472)'), GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.82228)'))) / (select extract(epoch from '2026-07-04 10:19:19'::timestamp) - extract(epoch from '2026-07-04 10:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043543 -2.822086)', '2026-07-04 10:19:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.82228)'), GeomFromEWKT('SRID=4674;POINT (-40.043543 -2.822086)'))) / (select extract(epoch from '2026-07-04 10:19:28'::timestamp) - extract(epoch from '2026-07-04 10:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.82228)'), GeomFromEWKT('SRID=4674;POINT (-40.043543 -2.822086)'))) / (select extract(epoch from '2026-07-04 10:19:28'::timestamp) - extract(epoch from '2026-07-04 10:19: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'), 47624, 'SRID=4674;POINT (-40.043565 -2.821936)', '2026-07-04 10:19:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043543 -2.822086)'), GeomFromEWKT('SRID=4674;POINT (-40.043565 -2.821936)'))) / (select extract(epoch from '2026-07-04 10:19:35'::timestamp) - extract(epoch from '2026-07-04 10:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043543 -2.822086)'), GeomFromEWKT('SRID=4674;POINT (-40.043565 -2.821936)'))) / (select extract(epoch from '2026-07-04 10:19:35'::timestamp) - extract(epoch from '2026-07-04 10:19: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'), 47624, 'SRID=4674;POINT (-40.043586 -2.821786)', '2026-07-04 10:19:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043565 -2.821936)'), GeomFromEWKT('SRID=4674;POINT (-40.043586 -2.821786)'))) / (select extract(epoch from '2026-07-04 10:19:42'::timestamp) - extract(epoch from '2026-07-04 10:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043565 -2.821936)'), GeomFromEWKT('SRID=4674;POINT (-40.043586 -2.821786)'))) / (select extract(epoch from '2026-07-04 10:19:42'::timestamp) - extract(epoch from '2026-07-04 10:19: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'), 47624, 'SRID=4674;POINT (-40.043613 -2.82161)', '2026-07-04 10:19:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043586 -2.821786)'), GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.82161)'))) / (select extract(epoch from '2026-07-04 10:19:50'::timestamp) - extract(epoch from '2026-07-04 10:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043586 -2.821786)'), GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.82161)'))) / (select extract(epoch from '2026-07-04 10:19:50'::timestamp) - extract(epoch from '2026-07-04 10:19: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'), 47624, 'SRID=4674;POINT (-40.043631 -2.8215)', '2026-07-04 10:19:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.82161)'), GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.8215)'))) / (select extract(epoch from '2026-07-04 10:19:55'::timestamp) - extract(epoch from '2026-07-04 10:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043613 -2.82161)'), GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.8215)'))) / (select extract(epoch from '2026-07-04 10:19:55'::timestamp) - extract(epoch from '2026-07-04 10:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043669 -2.82131)', '2026-07-04 10:20:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.8215)'), GeomFromEWKT('SRID=4674;POINT (-40.043669 -2.82131)'))) / (select extract(epoch from '2026-07-04 10:20:04'::timestamp) - extract(epoch from '2026-07-04 10:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043631 -2.8215)'), GeomFromEWKT('SRID=4674;POINT (-40.043669 -2.82131)'))) / (select extract(epoch from '2026-07-04 10:20:04'::timestamp) - extract(epoch from '2026-07-04 10:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043738 -2.821156)', '2026-07-04 10:20:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043669 -2.82131)'), GeomFromEWKT('SRID=4674;POINT (-40.043738 -2.821156)'))) / (select extract(epoch from '2026-07-04 10:20:12'::timestamp) - extract(epoch from '2026-07-04 10:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043669 -2.82131)'), GeomFromEWKT('SRID=4674;POINT (-40.043738 -2.821156)'))) / (select extract(epoch from '2026-07-04 10:20:12'::timestamp) - extract(epoch from '2026-07-04 10:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043777 -2.821003)', '2026-07-04 10:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043738 -2.821156)'), GeomFromEWKT('SRID=4674;POINT (-40.043777 -2.821003)'))) / (select extract(epoch from '2026-07-04 10:20:19'::timestamp) - extract(epoch from '2026-07-04 10:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043738 -2.821156)'), GeomFromEWKT('SRID=4674;POINT (-40.043777 -2.821003)'))) / (select extract(epoch from '2026-07-04 10:20:19'::timestamp) - extract(epoch from '2026-07-04 10:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043817 -2.820854)', '2026-07-04 10:20:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043777 -2.821003)'), GeomFromEWKT('SRID=4674;POINT (-40.043817 -2.820854)'))) / (select extract(epoch from '2026-07-04 10:20:26'::timestamp) - extract(epoch from '2026-07-04 10:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043777 -2.821003)'), GeomFromEWKT('SRID=4674;POINT (-40.043817 -2.820854)'))) / (select extract(epoch from '2026-07-04 10:20:26'::timestamp) - extract(epoch from '2026-07-04 10:20: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'), 47624, 'SRID=4674;POINT (-40.043868 -2.82062)', '2026-07-04 10:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043817 -2.820854)'), GeomFromEWKT('SRID=4674;POINT (-40.043868 -2.82062)'))) / (select extract(epoch from '2026-07-04 10:20:37'::timestamp) - extract(epoch from '2026-07-04 10:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043817 -2.820854)'), GeomFromEWKT('SRID=4674;POINT (-40.043868 -2.82062)'))) / (select extract(epoch from '2026-07-04 10:20:37'::timestamp) - extract(epoch from '2026-07-04 10:20: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'), 47624, 'SRID=4674;POINT (-40.04389 -2.820448)', '2026-07-04 10:20:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043868 -2.82062)'), GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.820448)'))) / (select extract(epoch from '2026-07-04 10:20:45'::timestamp) - extract(epoch from '2026-07-04 10:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043868 -2.82062)'), GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.820448)'))) / (select extract(epoch from '2026-07-04 10:20:45'::timestamp) - extract(epoch from '2026-07-04 10:20: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'), 47624, 'SRID=4674;POINT (-40.043902 -2.820342)', '2026-07-04 10:20:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.820448)'), GeomFromEWKT('SRID=4674;POINT (-40.043902 -2.820342)'))) / (select extract(epoch from '2026-07-04 10:20:50'::timestamp) - extract(epoch from '2026-07-04 10:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.820448)'), GeomFromEWKT('SRID=4674;POINT (-40.043902 -2.820342)'))) / (select extract(epoch from '2026-07-04 10:20:50'::timestamp) - extract(epoch from '2026-07-04 10:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043911 -2.820213)', '2026-07-04 10:20:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043902 -2.820342)'), GeomFromEWKT('SRID=4674;POINT (-40.043911 -2.820213)'))) / (select extract(epoch from '2026-07-04 10:20:56'::timestamp) - extract(epoch from '2026-07-04 10:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043902 -2.820342)'), GeomFromEWKT('SRID=4674;POINT (-40.043911 -2.820213)'))) / (select extract(epoch from '2026-07-04 10:20:56'::timestamp) - extract(epoch from '2026-07-04 10:20: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'), 47624, 'SRID=4674;POINT (-40.043927 -2.820039)', '2026-07-04 10:21:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043911 -2.820213)'), GeomFromEWKT('SRID=4674;POINT (-40.043927 -2.820039)'))) / (select extract(epoch from '2026-07-04 10:21:04'::timestamp) - extract(epoch from '2026-07-04 10:20:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043911 -2.820213)'), GeomFromEWKT('SRID=4674;POINT (-40.043927 -2.820039)'))) / (select extract(epoch from '2026-07-04 10:21:04'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043945 -2.819872)', '2026-07-04 10:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043927 -2.820039)'), GeomFromEWKT('SRID=4674;POINT (-40.043945 -2.819872)'))) / (select extract(epoch from '2026-07-04 10:21:12'::timestamp) - extract(epoch from '2026-07-04 10:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043927 -2.820039)'), GeomFromEWKT('SRID=4674;POINT (-40.043945 -2.819872)'))) / (select extract(epoch from '2026-07-04 10:21:12'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043961 -2.819688)', '2026-07-04 10:21:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043945 -2.819872)'), GeomFromEWKT('SRID=4674;POINT (-40.043961 -2.819688)'))) / (select extract(epoch from '2026-07-04 10:21:21'::timestamp) - extract(epoch from '2026-07-04 10:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043945 -2.819872)'), GeomFromEWKT('SRID=4674;POINT (-40.043961 -2.819688)'))) / (select extract(epoch from '2026-07-04 10:21:21'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043976 -2.819477)', '2026-07-04 10:21:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043961 -2.819688)'), GeomFromEWKT('SRID=4674;POINT (-40.043976 -2.819477)'))) / (select extract(epoch from '2026-07-04 10:21:31'::timestamp) - extract(epoch from '2026-07-04 10:21:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043961 -2.819688)'), GeomFromEWKT('SRID=4674;POINT (-40.043976 -2.819477)'))) / (select extract(epoch from '2026-07-04 10:21:31'::timestamp) - extract(epoch from '2026-07-04 10:21: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'), 47624, 'SRID=4674;POINT (-40.043976 -2.819334)', '2026-07-04 10:21:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043976 -2.819477)'), GeomFromEWKT('SRID=4674;POINT (-40.043976 -2.819334)'))) / (select extract(epoch from '2026-07-04 10:21:38'::timestamp) - extract(epoch from '2026-07-04 10:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043976 -2.819477)'), GeomFromEWKT('SRID=4674;POINT (-40.043976 -2.819334)'))) / (select extract(epoch from '2026-07-04 10:21:38'::timestamp) - extract(epoch from '2026-07-04 10:21: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'), 47624, 'SRID=4674;POINT (-40.043979 -2.819233)', '2026-07-04 10:21:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043976 -2.819334)'), GeomFromEWKT('SRID=4674;POINT (-40.043979 -2.819233)'))) / (select extract(epoch from '2026-07-04 10:21:43'::timestamp) - extract(epoch from '2026-07-04 10:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043976 -2.819334)'), GeomFromEWKT('SRID=4674;POINT (-40.043979 -2.819233)'))) / (select extract(epoch from '2026-07-04 10:21:43'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043963 -2.819067)', '2026-07-04 10:21:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043979 -2.819233)'), GeomFromEWKT('SRID=4674;POINT (-40.043963 -2.819067)'))) / (select extract(epoch from '2026-07-04 10:21:51'::timestamp) - extract(epoch from '2026-07-04 10:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043979 -2.819233)'), GeomFromEWKT('SRID=4674;POINT (-40.043963 -2.819067)'))) / (select extract(epoch from '2026-07-04 10:21:51'::timestamp) - extract(epoch from '2026-07-04 10:21: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'), 47624, 'SRID=4674;POINT (-40.043938 -2.818898)', '2026-07-04 10:21:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043963 -2.819067)'), GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.818898)'))) / (select extract(epoch from '2026-07-04 10:21:59'::timestamp) - extract(epoch from '2026-07-04 10:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043963 -2.819067)'), GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.818898)'))) / (select extract(epoch from '2026-07-04 10:21:59'::timestamp) - extract(epoch from '2026-07-04 10:21:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043933 -2.81875)', '2026-07-04 10:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.818898)'), GeomFromEWKT('SRID=4674;POINT (-40.043933 -2.81875)'))) / (select extract(epoch from '2026-07-04 10:22:06'::timestamp) - extract(epoch from '2026-07-04 10:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.818898)'), GeomFromEWKT('SRID=4674;POINT (-40.043933 -2.81875)'))) / (select extract(epoch from '2026-07-04 10:22:06'::timestamp) - extract(epoch from '2026-07-04 10:21:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043938 -2.818579)', '2026-07-04 10:22:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043933 -2.81875)'), GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.818579)'))) / (select extract(epoch from '2026-07-04 10:22:14'::timestamp) - extract(epoch from '2026-07-04 10:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043933 -2.81875)'), GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.818579)'))) / (select extract(epoch from '2026-07-04 10:22:14'::timestamp) - extract(epoch from '2026-07-04 10:22: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'), 47624, 'SRID=4674;POINT (-40.04394 -2.818477)', '2026-07-04 10:22:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.818579)'), GeomFromEWKT('SRID=4674;POINT (-40.04394 -2.818477)'))) / (select extract(epoch from '2026-07-04 10:22:19'::timestamp) - extract(epoch from '2026-07-04 10:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043938 -2.818579)'), GeomFromEWKT('SRID=4674;POINT (-40.04394 -2.818477)'))) / (select extract(epoch from '2026-07-04 10:22:19'::timestamp) - extract(epoch from '2026-07-04 10:22: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'), 47624, 'SRID=4674;POINT (-40.043937 -2.818351)', '2026-07-04 10:22:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04394 -2.818477)'), GeomFromEWKT('SRID=4674;POINT (-40.043937 -2.818351)'))) / (select extract(epoch from '2026-07-04 10:22:25'::timestamp) - extract(epoch from '2026-07-04 10:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04394 -2.818477)'), GeomFromEWKT('SRID=4674;POINT (-40.043937 -2.818351)'))) / (select extract(epoch from '2026-07-04 10:22:25'::timestamp) - extract(epoch from '2026-07-04 10:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043935 -2.818247)', '2026-07-04 10:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043937 -2.818351)'), GeomFromEWKT('SRID=4674;POINT (-40.043935 -2.818247)'))) / (select extract(epoch from '2026-07-04 10:22:30'::timestamp) - extract(epoch from '2026-07-04 10:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043937 -2.818351)'), GeomFromEWKT('SRID=4674;POINT (-40.043935 -2.818247)'))) / (select extract(epoch from '2026-07-04 10:22:30'::timestamp) - extract(epoch from '2026-07-04 10:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043928 -2.818101)', '2026-07-04 10:22:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043935 -2.818247)'), GeomFromEWKT('SRID=4674;POINT (-40.043928 -2.818101)'))) / (select extract(epoch from '2026-07-04 10:22:37'::timestamp) - extract(epoch from '2026-07-04 10:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043935 -2.818247)'), GeomFromEWKT('SRID=4674;POINT (-40.043928 -2.818101)'))) / (select extract(epoch from '2026-07-04 10:22:37'::timestamp) - extract(epoch from '2026-07-04 10:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043925 -2.817963)', '2026-07-04 10:22:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043928 -2.818101)'), GeomFromEWKT('SRID=4674;POINT (-40.043925 -2.817963)'))) / (select extract(epoch from '2026-07-04 10:22:44'::timestamp) - extract(epoch from '2026-07-04 10:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043928 -2.818101)'), GeomFromEWKT('SRID=4674;POINT (-40.043925 -2.817963)'))) / (select extract(epoch from '2026-07-04 10:22:44'::timestamp) - extract(epoch from '2026-07-04 10:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043926 -2.8178)', '2026-07-04 10:22:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043925 -2.817963)'), GeomFromEWKT('SRID=4674;POINT (-40.043926 -2.8178)'))) / (select extract(epoch from '2026-07-04 10:22:52'::timestamp) - extract(epoch from '2026-07-04 10:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043925 -2.817963)'), GeomFromEWKT('SRID=4674;POINT (-40.043926 -2.8178)'))) / (select extract(epoch from '2026-07-04 10:22:52'::timestamp) - extract(epoch from '2026-07-04 10:22: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'), 47624, 'SRID=4674;POINT (-40.043934 -2.817675)', '2026-07-04 10:22:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043926 -2.8178)'), GeomFromEWKT('SRID=4674;POINT (-40.043934 -2.817675)'))) / (select extract(epoch from '2026-07-04 10:22:58'::timestamp) - extract(epoch from '2026-07-04 10:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043926 -2.8178)'), GeomFromEWKT('SRID=4674;POINT (-40.043934 -2.817675)'))) / (select extract(epoch from '2026-07-04 10:22:58'::timestamp) - extract(epoch from '2026-07-04 10:22: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'), 47624, 'SRID=4674;POINT (-40.043933 -2.817483)', '2026-07-04 10:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043934 -2.817675)'), GeomFromEWKT('SRID=4674;POINT (-40.043933 -2.817483)'))) / (select extract(epoch from '2026-07-04 10:23:07'::timestamp) - extract(epoch from '2026-07-04 10:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043934 -2.817675)'), GeomFromEWKT('SRID=4674;POINT (-40.043933 -2.817483)'))) / (select extract(epoch from '2026-07-04 10:23:07'::timestamp) - extract(epoch from '2026-07-04 10:22:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043915 -2.817279)', '2026-07-04 10:23:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043933 -2.817483)'), GeomFromEWKT('SRID=4674;POINT (-40.043915 -2.817279)'))) / (select extract(epoch from '2026-07-04 10:23:17'::timestamp) - extract(epoch from '2026-07-04 10:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043933 -2.817483)'), GeomFromEWKT('SRID=4674;POINT (-40.043915 -2.817279)'))) / (select extract(epoch from '2026-07-04 10:23:17'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043884 -2.817056)', '2026-07-04 10:23:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043915 -2.817279)'), GeomFromEWKT('SRID=4674;POINT (-40.043884 -2.817056)'))) / (select extract(epoch from '2026-07-04 10:23:28'::timestamp) - extract(epoch from '2026-07-04 10:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043915 -2.817279)'), GeomFromEWKT('SRID=4674;POINT (-40.043884 -2.817056)'))) / (select extract(epoch from '2026-07-04 10:23:28'::timestamp) - extract(epoch from '2026-07-04 10:23:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043862 -2.816933)', '2026-07-04 10:23:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043884 -2.817056)'), GeomFromEWKT('SRID=4674;POINT (-40.043862 -2.816933)'))) / (select extract(epoch from '2026-07-04 10:23:34'::timestamp) - extract(epoch from '2026-07-04 10:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043884 -2.817056)'), GeomFromEWKT('SRID=4674;POINT (-40.043862 -2.816933)'))) / (select extract(epoch from '2026-07-04 10:23:34'::timestamp) - extract(epoch from '2026-07-04 10:23: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'), 47624, 'SRID=4674;POINT (-40.043855 -2.816763)', '2026-07-04 10:23:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043862 -2.816933)'), GeomFromEWKT('SRID=4674;POINT (-40.043855 -2.816763)'))) / (select extract(epoch from '2026-07-04 10:23:42'::timestamp) - extract(epoch from '2026-07-04 10:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043862 -2.816933)'), GeomFromEWKT('SRID=4674;POINT (-40.043855 -2.816763)'))) / (select extract(epoch from '2026-07-04 10:23:42'::timestamp) - extract(epoch from '2026-07-04 10:23: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'), 47624, 'SRID=4674;POINT (-40.043865 -2.816657)', '2026-07-04 10:23:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043855 -2.816763)'), GeomFromEWKT('SRID=4674;POINT (-40.043865 -2.816657)'))) / (select extract(epoch from '2026-07-04 10:23:47'::timestamp) - extract(epoch from '2026-07-04 10:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043855 -2.816763)'), GeomFromEWKT('SRID=4674;POINT (-40.043865 -2.816657)'))) / (select extract(epoch from '2026-07-04 10:23:47'::timestamp) - extract(epoch from '2026-07-04 10:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.04389 -2.816486)', '2026-07-04 10:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043865 -2.816657)'), GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.816486)'))) / (select extract(epoch from '2026-07-04 10:23:55'::timestamp) - extract(epoch from '2026-07-04 10:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043865 -2.816657)'), GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.816486)'))) / (select extract(epoch from '2026-07-04 10:23:55'::timestamp) - extract(epoch from '2026-07-04 10:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043907 -2.816337)', '2026-07-04 10:24:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.816486)'), GeomFromEWKT('SRID=4674;POINT (-40.043907 -2.816337)'))) / (select extract(epoch from '2026-07-04 10:24:02'::timestamp) - extract(epoch from '2026-07-04 10:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.816486)'), GeomFromEWKT('SRID=4674;POINT (-40.043907 -2.816337)'))) / (select extract(epoch from '2026-07-04 10:24:02'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043913 -2.816184)', '2026-07-04 10:24:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043907 -2.816337)'), GeomFromEWKT('SRID=4674;POINT (-40.043913 -2.816184)'))) / (select extract(epoch from '2026-07-04 10:24:09'::timestamp) - extract(epoch from '2026-07-04 10:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043907 -2.816337)'), GeomFromEWKT('SRID=4674;POINT (-40.043913 -2.816184)'))) / (select extract(epoch from '2026-07-04 10:24:09'::timestamp) - extract(epoch from '2026-07-04 10:24: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'), 47624, 'SRID=4674;POINT (-40.043922 -2.816075)', '2026-07-04 10:24:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043913 -2.816184)'), GeomFromEWKT('SRID=4674;POINT (-40.043922 -2.816075)'))) / (select extract(epoch from '2026-07-04 10:24:14'::timestamp) - extract(epoch from '2026-07-04 10:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043913 -2.816184)'), GeomFromEWKT('SRID=4674;POINT (-40.043922 -2.816075)'))) / (select extract(epoch from '2026-07-04 10:24:14'::timestamp) - extract(epoch from '2026-07-04 10:24: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'), 47624, 'SRID=4674;POINT (-40.043922 -2.815992)', '2026-07-04 10:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043922 -2.816075)'), GeomFromEWKT('SRID=4674;POINT (-40.043922 -2.815992)'))) / (select extract(epoch from '2026-07-04 10:24:18'::timestamp) - extract(epoch from '2026-07-04 10:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043922 -2.816075)'), GeomFromEWKT('SRID=4674;POINT (-40.043922 -2.815992)'))) / (select extract(epoch from '2026-07-04 10:24:18'::timestamp) - extract(epoch from '2026-07-04 10:24: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'), 47624, 'SRID=4674;POINT (-40.043917 -2.815866)', '2026-07-04 10:24:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043922 -2.815992)'), GeomFromEWKT('SRID=4674;POINT (-40.043917 -2.815866)'))) / (select extract(epoch from '2026-07-04 10:24:24'::timestamp) - extract(epoch from '2026-07-04 10:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043922 -2.815992)'), GeomFromEWKT('SRID=4674;POINT (-40.043917 -2.815866)'))) / (select extract(epoch from '2026-07-04 10:24:24'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043895 -2.815742)', '2026-07-04 10:24:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043917 -2.815866)'), GeomFromEWKT('SRID=4674;POINT (-40.043895 -2.815742)'))) / (select extract(epoch from '2026-07-04 10:24:30'::timestamp) - extract(epoch from '2026-07-04 10:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043917 -2.815866)'), GeomFromEWKT('SRID=4674;POINT (-40.043895 -2.815742)'))) / (select extract(epoch from '2026-07-04 10:24:30'::timestamp) - extract(epoch from '2026-07-04 10:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043892 -2.8157)', '2026-07-04 10:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043895 -2.815742)'), GeomFromEWKT('SRID=4674;POINT (-40.043892 -2.8157)'))) / (select extract(epoch from '2026-07-04 10:24:32'::timestamp) - extract(epoch from '2026-07-04 10:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043895 -2.815742)'), GeomFromEWKT('SRID=4674;POINT (-40.043892 -2.8157)'))) / (select extract(epoch from '2026-07-04 10:24:32'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.04389 -2.81566)', '2026-07-04 10:24:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043892 -2.8157)'), GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.81566)'))) / (select extract(epoch from '2026-07-04 10:24:34'::timestamp) - extract(epoch from '2026-07-04 10:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043892 -2.8157)'), GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.81566)'))) / (select extract(epoch from '2026-07-04 10:24:34'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043872 -2.815538)', '2026-07-04 10:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.81566)'), GeomFromEWKT('SRID=4674;POINT (-40.043872 -2.815538)'))) / (select extract(epoch from '2026-07-04 10:24:40'::timestamp) - extract(epoch from '2026-07-04 10:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04389 -2.81566)'), GeomFromEWKT('SRID=4674;POINT (-40.043872 -2.815538)'))) / (select extract(epoch from '2026-07-04 10:24:40'::timestamp) - extract(epoch from '2026-07-04 10: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'), 47624, 'SRID=4674;POINT (-40.043866 -2.815384)', '2026-07-04 10:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043872 -2.815538)'), GeomFromEWKT('SRID=4674;POINT (-40.043866 -2.815384)'))) / (select extract(epoch from '2026-07-04 10:24:47'::timestamp) - extract(epoch from '2026-07-04 10:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043872 -2.815538)'), GeomFromEWKT('SRID=4674;POINT (-40.043866 -2.815384)'))) / (select extract(epoch from '2026-07-04 10:24:47'::timestamp) - extract(epoch from '2026-07-04 10:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043865 -2.815202)', '2026-07-04 10:24:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043866 -2.815384)'), GeomFromEWKT('SRID=4674;POINT (-40.043865 -2.815202)'))) / (select extract(epoch from '2026-07-04 10:24:55'::timestamp) - extract(epoch from '2026-07-04 10:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043866 -2.815384)'), GeomFromEWKT('SRID=4674;POINT (-40.043865 -2.815202)'))) / (select extract(epoch from '2026-07-04 10:24:55'::timestamp) - extract(epoch from '2026-07-04 10:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.04388 -2.81502)', '2026-07-04 10:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043865 -2.815202)'), GeomFromEWKT('SRID=4674;POINT (-40.04388 -2.81502)'))) / (select extract(epoch from '2026-07-04 10:25:03'::timestamp) - extract(epoch from '2026-07-04 10:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043865 -2.815202)'), GeomFromEWKT('SRID=4674;POINT (-40.04388 -2.81502)'))) / (select extract(epoch from '2026-07-04 10:25:03'::timestamp) - extract(epoch from '2026-07-04 10:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043887 -2.814843)', '2026-07-04 10:25:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04388 -2.81502)'), GeomFromEWKT('SRID=4674;POINT (-40.043887 -2.814843)'))) / (select extract(epoch from '2026-07-04 10:25:11'::timestamp) - extract(epoch from '2026-07-04 10:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04388 -2.81502)'), GeomFromEWKT('SRID=4674;POINT (-40.043887 -2.814843)'))) / (select extract(epoch from '2026-07-04 10:25:11'::timestamp) - extract(epoch from '2026-07-04 10:25: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'), 47624, 'SRID=4674;POINT (-40.043894 -2.814743)', '2026-07-04 10:25:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043887 -2.814843)'), GeomFromEWKT('SRID=4674;POINT (-40.043894 -2.814743)'))) / (select extract(epoch from '2026-07-04 10:25:16'::timestamp) - extract(epoch from '2026-07-04 10:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043887 -2.814843)'), GeomFromEWKT('SRID=4674;POINT (-40.043894 -2.814743)'))) / (select extract(epoch from '2026-07-04 10:25:16'::timestamp) - extract(epoch from '2026-07-04 10:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043909 -2.814653)', '2026-07-04 10:25:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043894 -2.814743)'), GeomFromEWKT('SRID=4674;POINT (-40.043909 -2.814653)'))) / (select extract(epoch from '2026-07-04 10:25:21'::timestamp) - extract(epoch from '2026-07-04 10:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043894 -2.814743)'), GeomFromEWKT('SRID=4674;POINT (-40.043909 -2.814653)'))) / (select extract(epoch from '2026-07-04 10:25:21'::timestamp) - extract(epoch from '2026-07-04 10:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.04413 -2.818932)', '2026-07-04 11:12:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043909 -2.814653)'), GeomFromEWKT('SRID=4674;POINT (-40.04413 -2.818932)'))) / (select extract(epoch from '2026-07-04 11:12:27'::timestamp) - extract(epoch from '2026-07-04 10:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043909 -2.814653)'), GeomFromEWKT('SRID=4674;POINT (-40.04413 -2.818932)'))) / (select extract(epoch from '2026-07-04 11:12:27'::timestamp) - extract(epoch from '2026-07-04 10:25: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'), 47624, 'SRID=4674;POINT (-40.044116 -2.819078)', '2026-07-04 11:12:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04413 -2.818932)'), GeomFromEWKT('SRID=4674;POINT (-40.044116 -2.819078)'))) / (select extract(epoch from '2026-07-04 11:12:36'::timestamp) - extract(epoch from '2026-07-04 11:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04413 -2.818932)'), GeomFromEWKT('SRID=4674;POINT (-40.044116 -2.819078)'))) / (select extract(epoch from '2026-07-04 11:12:36'::timestamp) - extract(epoch from '2026-07-04 11:12: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'), 47624, 'SRID=4674;POINT (-40.044095 -2.819198)', '2026-07-04 11:12:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044116 -2.819078)'), GeomFromEWKT('SRID=4674;POINT (-40.044095 -2.819198)'))) / (select extract(epoch from '2026-07-04 11:12:44'::timestamp) - extract(epoch from '2026-07-04 11:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044116 -2.819078)'), GeomFromEWKT('SRID=4674;POINT (-40.044095 -2.819198)'))) / (select extract(epoch from '2026-07-04 11:12:44'::timestamp) - extract(epoch from '2026-07-04 11:12: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'), 47624, 'SRID=4674;POINT (-40.04411 -2.819364)', '2026-07-04 11:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044095 -2.819198)'), GeomFromEWKT('SRID=4674;POINT (-40.04411 -2.819364)'))) / (select extract(epoch from '2026-07-04 11:12:56'::timestamp) - extract(epoch from '2026-07-04 11:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044095 -2.819198)'), GeomFromEWKT('SRID=4674;POINT (-40.04411 -2.819364)'))) / (select extract(epoch from '2026-07-04 11:12:56'::timestamp) - extract(epoch from '2026-07-04 11:12: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'), 47624, 'SRID=4674;POINT (-40.044141 -2.819511)', '2026-07-04 11:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04411 -2.819364)'), GeomFromEWKT('SRID=4674;POINT (-40.044141 -2.819511)'))) / (select extract(epoch from '2026-07-04 11:13:06'::timestamp) - extract(epoch from '2026-07-04 11:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04411 -2.819364)'), GeomFromEWKT('SRID=4674;POINT (-40.044141 -2.819511)'))) / (select extract(epoch from '2026-07-04 11:13:06'::timestamp) - extract(epoch from '2026-07-04 11:12: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'), 47624, 'SRID=4674;POINT (-40.044171 -2.81966)', '2026-07-04 11:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044141 -2.819511)'), GeomFromEWKT('SRID=4674;POINT (-40.044171 -2.81966)'))) / (select extract(epoch from '2026-07-04 11:13:16'::timestamp) - extract(epoch from '2026-07-04 11:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044141 -2.819511)'), GeomFromEWKT('SRID=4674;POINT (-40.044171 -2.81966)'))) / (select extract(epoch from '2026-07-04 11:13:16'::timestamp) - extract(epoch from '2026-07-04 11:13: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'), 47624, 'SRID=4674;POINT (-40.044174 -2.819775)', '2026-07-04 11:13:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044171 -2.81966)'), GeomFromEWKT('SRID=4674;POINT (-40.044174 -2.819775)'))) / (select extract(epoch from '2026-07-04 11:13:24'::timestamp) - extract(epoch from '2026-07-04 11:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044171 -2.81966)'), GeomFromEWKT('SRID=4674;POINT (-40.044174 -2.819775)'))) / (select extract(epoch from '2026-07-04 11:13:24'::timestamp) - extract(epoch from '2026-07-04 11:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.044197 -2.819912)', '2026-07-04 11:13:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044174 -2.819775)'), GeomFromEWKT('SRID=4674;POINT (-40.044197 -2.819912)'))) / (select extract(epoch from '2026-07-04 11:13:33'::timestamp) - extract(epoch from '2026-07-04 11:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044174 -2.819775)'), GeomFromEWKT('SRID=4674;POINT (-40.044197 -2.819912)'))) / (select extract(epoch from '2026-07-04 11:13:33'::timestamp) - extract(epoch from '2026-07-04 11:13: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'), 47624, 'SRID=4674;POINT (-40.044209 -2.820054)', '2026-07-04 11:13:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044197 -2.819912)'), GeomFromEWKT('SRID=4674;POINT (-40.044209 -2.820054)'))) / (select extract(epoch from '2026-07-04 11:13:43'::timestamp) - extract(epoch from '2026-07-04 11:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044197 -2.819912)'), GeomFromEWKT('SRID=4674;POINT (-40.044209 -2.820054)'))) / (select extract(epoch from '2026-07-04 11:13:43'::timestamp) - extract(epoch from '2026-07-04 11:13: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'), 47624, 'SRID=4674;POINT (-40.044232 -2.820201)', '2026-07-04 11:13:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044209 -2.820054)'), GeomFromEWKT('SRID=4674;POINT (-40.044232 -2.820201)'))) / (select extract(epoch from '2026-07-04 11:13:54'::timestamp) - extract(epoch from '2026-07-04 11:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044209 -2.820054)'), GeomFromEWKT('SRID=4674;POINT (-40.044232 -2.820201)'))) / (select extract(epoch from '2026-07-04 11:13:54'::timestamp) - extract(epoch from '2026-07-04 11:13: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'), 47624, 'SRID=4674;POINT (-40.044227 -2.820322)', '2026-07-04 11:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044232 -2.820201)'), GeomFromEWKT('SRID=4674;POINT (-40.044227 -2.820322)'))) / (select extract(epoch from '2026-07-04 11:14:03'::timestamp) - extract(epoch from '2026-07-04 11:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044232 -2.820201)'), GeomFromEWKT('SRID=4674;POINT (-40.044227 -2.820322)'))) / (select extract(epoch from '2026-07-04 11:14:03'::timestamp) - extract(epoch from '2026-07-04 11:13:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.044181 -2.82054)', '2026-07-04 11:14:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044227 -2.820322)'), GeomFromEWKT('SRID=4674;POINT (-40.044181 -2.82054)'))) / (select extract(epoch from '2026-07-04 11:14:19'::timestamp) - extract(epoch from '2026-07-04 11:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044227 -2.820322)'), GeomFromEWKT('SRID=4674;POINT (-40.044181 -2.82054)'))) / (select extract(epoch from '2026-07-04 11:14:19'::timestamp) - extract(epoch from '2026-07-04 11:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.044128 -2.820707)', '2026-07-04 11:14:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044181 -2.82054)'), GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.820707)'))) / (select extract(epoch from '2026-07-04 11:14:31'::timestamp) - extract(epoch from '2026-07-04 11:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044181 -2.82054)'), GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.820707)'))) / (select extract(epoch from '2026-07-04 11:14:31'::timestamp) - extract(epoch from '2026-07-04 11:14: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'), 47624, 'SRID=4674;POINT (-40.044098 -2.820828)', '2026-07-04 11:14:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.820707)'), GeomFromEWKT('SRID=4674;POINT (-40.044098 -2.820828)'))) / (select extract(epoch from '2026-07-04 11:14:40'::timestamp) - extract(epoch from '2026-07-04 11:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044128 -2.820707)'), GeomFromEWKT('SRID=4674;POINT (-40.044098 -2.820828)'))) / (select extract(epoch from '2026-07-04 11:14:40'::timestamp) - extract(epoch from '2026-07-04 11:14: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'), 47624, 'SRID=4674;POINT (-40.044046 -2.820977)', '2026-07-04 11:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044098 -2.820828)'), GeomFromEWKT('SRID=4674;POINT (-40.044046 -2.820977)'))) / (select extract(epoch from '2026-07-04 11:14:51'::timestamp) - extract(epoch from '2026-07-04 11:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044098 -2.820828)'), GeomFromEWKT('SRID=4674;POINT (-40.044046 -2.820977)'))) / (select extract(epoch from '2026-07-04 11:14:51'::timestamp) - extract(epoch from '2026-07-04 11:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.044028 -2.82112)', '2026-07-04 11:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044046 -2.820977)'), GeomFromEWKT('SRID=4674;POINT (-40.044028 -2.82112)'))) / (select extract(epoch from '2026-07-04 11:15:01'::timestamp) - extract(epoch from '2026-07-04 11:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044046 -2.820977)'), GeomFromEWKT('SRID=4674;POINT (-40.044028 -2.82112)'))) / (select extract(epoch from '2026-07-04 11:15:01'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.043986 -2.821242)', '2026-07-04 11:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044028 -2.82112)'), GeomFromEWKT('SRID=4674;POINT (-40.043986 -2.821242)'))) / (select extract(epoch from '2026-07-04 11:15:10'::timestamp) - extract(epoch from '2026-07-04 11:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044028 -2.82112)'), GeomFromEWKT('SRID=4674;POINT (-40.043986 -2.821242)'))) / (select extract(epoch from '2026-07-04 11:15:10'::timestamp) - extract(epoch from '2026-07-04 11:15: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'), 47624, 'SRID=4674;POINT (-40.043925 -2.82137)', '2026-07-04 11:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043986 -2.821242)'), GeomFromEWKT('SRID=4674;POINT (-40.043925 -2.82137)'))) / (select extract(epoch from '2026-07-04 11:15:20'::timestamp) - extract(epoch from '2026-07-04 11:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043986 -2.821242)'), GeomFromEWKT('SRID=4674;POINT (-40.043925 -2.82137)'))) / (select extract(epoch from '2026-07-04 11:15:20'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.043868 -2.821522)', '2026-07-04 11:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043925 -2.82137)'), GeomFromEWKT('SRID=4674;POINT (-40.043868 -2.821522)'))) / (select extract(epoch from '2026-07-04 11:15:31'::timestamp) - extract(epoch from '2026-07-04 11:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043925 -2.82137)'), GeomFromEWKT('SRID=4674;POINT (-40.043868 -2.821522)'))) / (select extract(epoch from '2026-07-04 11:15:31'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.043795 -2.821672)', '2026-07-04 11:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043868 -2.821522)'), GeomFromEWKT('SRID=4674;POINT (-40.043795 -2.821672)'))) / (select extract(epoch from '2026-07-04 11:15:43'::timestamp) - extract(epoch from '2026-07-04 11:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043868 -2.821522)'), GeomFromEWKT('SRID=4674;POINT (-40.043795 -2.821672)'))) / (select extract(epoch from '2026-07-04 11:15:43'::timestamp) - extract(epoch from '2026-07-04 11:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043722 -2.821855)', '2026-07-04 11:15:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043795 -2.821672)'), GeomFromEWKT('SRID=4674;POINT (-40.043722 -2.821855)'))) / (select extract(epoch from '2026-07-04 11:15:57'::timestamp) - extract(epoch from '2026-07-04 11:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043795 -2.821672)'), GeomFromEWKT('SRID=4674;POINT (-40.043722 -2.821855)'))) / (select extract(epoch from '2026-07-04 11:15:57'::timestamp) - extract(epoch from '2026-07-04 11:15: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'), 47624, 'SRID=4674;POINT (-40.043656 -2.822039)', '2026-07-04 11:16:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043722 -2.821855)'), GeomFromEWKT('SRID=4674;POINT (-40.043656 -2.822039)'))) / (select extract(epoch from '2026-07-04 11:16:11'::timestamp) - extract(epoch from '2026-07-04 11:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043722 -2.821855)'), GeomFromEWKT('SRID=4674;POINT (-40.043656 -2.822039)'))) / (select extract(epoch from '2026-07-04 11:16:11'::timestamp) - extract(epoch from '2026-07-04 11:15: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'), 47624, 'SRID=4674;POINT (-40.043632 -2.822179)', '2026-07-04 11:16:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043656 -2.822039)'), GeomFromEWKT('SRID=4674;POINT (-40.043632 -2.822179)'))) / (select extract(epoch from '2026-07-04 11:16:21'::timestamp) - extract(epoch from '2026-07-04 11:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043656 -2.822039)'), GeomFromEWKT('SRID=4674;POINT (-40.043632 -2.822179)'))) / (select extract(epoch from '2026-07-04 11:16:21'::timestamp) - extract(epoch from '2026-07-04 11:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043584 -2.822359)', '2026-07-04 11:16:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043632 -2.822179)'), GeomFromEWKT('SRID=4674;POINT (-40.043584 -2.822359)'))) / (select extract(epoch from '2026-07-04 11:16:34'::timestamp) - extract(epoch from '2026-07-04 11:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043632 -2.822179)'), GeomFromEWKT('SRID=4674;POINT (-40.043584 -2.822359)'))) / (select extract(epoch from '2026-07-04 11:16:34'::timestamp) - extract(epoch from '2026-07-04 11:16: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'), 47624, 'SRID=4674;POINT (-40.043511 -2.82254)', '2026-07-04 11:16:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043584 -2.822359)'), GeomFromEWKT('SRID=4674;POINT (-40.043511 -2.82254)'))) / (select extract(epoch from '2026-07-04 11:16:48'::timestamp) - extract(epoch from '2026-07-04 11:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043584 -2.822359)'), GeomFromEWKT('SRID=4674;POINT (-40.043511 -2.82254)'))) / (select extract(epoch from '2026-07-04 11:16:48'::timestamp) - extract(epoch from '2026-07-04 11:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043407 -2.822739)', '2026-07-04 11:17:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043511 -2.82254)'), GeomFromEWKT('SRID=4674;POINT (-40.043407 -2.822739)'))) / (select extract(epoch from '2026-07-04 11:17:03'::timestamp) - extract(epoch from '2026-07-04 11:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043511 -2.82254)'), GeomFromEWKT('SRID=4674;POINT (-40.043407 -2.822739)'))) / (select extract(epoch from '2026-07-04 11:17:03'::timestamp) - extract(epoch from '2026-07-04 11:16:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043351 -2.822926)', '2026-07-04 11:17:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043407 -2.822739)'), GeomFromEWKT('SRID=4674;POINT (-40.043351 -2.822926)'))) / (select extract(epoch from '2026-07-04 11:17:16'::timestamp) - extract(epoch from '2026-07-04 11:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043407 -2.822739)'), GeomFromEWKT('SRID=4674;POINT (-40.043351 -2.822926)'))) / (select extract(epoch from '2026-07-04 11:17:16'::timestamp) - extract(epoch from '2026-07-04 11:17: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'), 47624, 'SRID=4674;POINT (-40.043365 -2.823023)', '2026-07-04 11:17:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043351 -2.822926)'), GeomFromEWKT('SRID=4674;POINT (-40.043365 -2.823023)'))) / (select extract(epoch from '2026-07-04 11:17:23'::timestamp) - extract(epoch from '2026-07-04 11:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043351 -2.822926)'), GeomFromEWKT('SRID=4674;POINT (-40.043365 -2.823023)'))) / (select extract(epoch from '2026-07-04 11:17:23'::timestamp) - extract(epoch from '2026-07-04 11:17: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'), 47624, 'SRID=4674;POINT (-40.043331 -2.823176)', '2026-07-04 11:17:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043365 -2.823023)'), GeomFromEWKT('SRID=4674;POINT (-40.043331 -2.823176)'))) / (select extract(epoch from '2026-07-04 11:17:34'::timestamp) - extract(epoch from '2026-07-04 11:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043365 -2.823023)'), GeomFromEWKT('SRID=4674;POINT (-40.043331 -2.823176)'))) / (select extract(epoch from '2026-07-04 11:17:34'::timestamp) - extract(epoch from '2026-07-04 11:17: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'), 47624, 'SRID=4674;POINT (-40.043272 -2.823353)', '2026-07-04 11:17:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043331 -2.823176)'), GeomFromEWKT('SRID=4674;POINT (-40.043272 -2.823353)'))) / (select extract(epoch from '2026-07-04 11:17:47'::timestamp) - extract(epoch from '2026-07-04 11:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043331 -2.823176)'), GeomFromEWKT('SRID=4674;POINT (-40.043272 -2.823353)'))) / (select extract(epoch from '2026-07-04 11:17:47'::timestamp) - extract(epoch from '2026-07-04 11:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043206 -2.823516)', '2026-07-04 11:17:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043272 -2.823353)'), GeomFromEWKT('SRID=4674;POINT (-40.043206 -2.823516)'))) / (select extract(epoch from '2026-07-04 11:17:59'::timestamp) - extract(epoch from '2026-07-04 11:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043272 -2.823353)'), GeomFromEWKT('SRID=4674;POINT (-40.043206 -2.823516)'))) / (select extract(epoch from '2026-07-04 11:17:59'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.043159 -2.823671)', '2026-07-04 11:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043206 -2.823516)'), GeomFromEWKT('SRID=4674;POINT (-40.043159 -2.823671)'))) / (select extract(epoch from '2026-07-04 11:18:10'::timestamp) - extract(epoch from '2026-07-04 11:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043206 -2.823516)'), GeomFromEWKT('SRID=4674;POINT (-40.043159 -2.823671)'))) / (select extract(epoch from '2026-07-04 11:18:10'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.043101 -2.823874)', '2026-07-04 11:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043159 -2.823671)'), GeomFromEWKT('SRID=4674;POINT (-40.043101 -2.823874)'))) / (select extract(epoch from '2026-07-04 11:18:24'::timestamp) - extract(epoch from '2026-07-04 11:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043159 -2.823671)'), GeomFromEWKT('SRID=4674;POINT (-40.043101 -2.823874)'))) / (select extract(epoch from '2026-07-04 11:18:24'::timestamp) - extract(epoch from '2026-07-04 11:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043067 -2.824111)', '2026-07-04 11:18:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043101 -2.823874)'), GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.824111)'))) / (select extract(epoch from '2026-07-04 11:18:39'::timestamp) - extract(epoch from '2026-07-04 11:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043101 -2.823874)'), GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.824111)'))) / (select extract(epoch from '2026-07-04 11:18:39'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.043072 -2.824276)', '2026-07-04 11:18:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.824111)'), GeomFromEWKT('SRID=4674;POINT (-40.043072 -2.824276)'))) / (select extract(epoch from '2026-07-04 11:18:49'::timestamp) - extract(epoch from '2026-07-04 11:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.824111)'), GeomFromEWKT('SRID=4674;POINT (-40.043072 -2.824276)'))) / (select extract(epoch from '2026-07-04 11:18:49'::timestamp) - extract(epoch from '2026-07-04 11:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043142 -2.824388)', '2026-07-04 11:18:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043072 -2.824276)'), GeomFromEWKT('SRID=4674;POINT (-40.043142 -2.824388)'))) / (select extract(epoch from '2026-07-04 11:18:57'::timestamp) - extract(epoch from '2026-07-04 11:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043072 -2.824276)'), GeomFromEWKT('SRID=4674;POINT (-40.043142 -2.824388)'))) / (select extract(epoch from '2026-07-04 11:18:57'::timestamp) - extract(epoch from '2026-07-04 11:18: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'), 47624, 'SRID=4674;POINT (-40.043192 -2.824483)', '2026-07-04 11:19:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043142 -2.824388)'), GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.824483)'))) / (select extract(epoch from '2026-07-04 11:19:04'::timestamp) - extract(epoch from '2026-07-04 11:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043142 -2.824388)'), GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.824483)'))) / (select extract(epoch from '2026-07-04 11:19:04'::timestamp) - extract(epoch from '2026-07-04 11:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043166 -2.824629)', '2026-07-04 11:19:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.824483)'), GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.824629)'))) / (select extract(epoch from '2026-07-04 11:19:14'::timestamp) - extract(epoch from '2026-07-04 11:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043192 -2.824483)'), GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.824629)'))) / (select extract(epoch from '2026-07-04 11:19:14'::timestamp) - extract(epoch from '2026-07-04 11:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.0432 -2.824739)', '2026-07-04 11:19:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.824629)'), GeomFromEWKT('SRID=4674;POINT (-40.0432 -2.824739)'))) / (select extract(epoch from '2026-07-04 11:19:22'::timestamp) - extract(epoch from '2026-07-04 11:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.824629)'), GeomFromEWKT('SRID=4674;POINT (-40.0432 -2.824739)'))) / (select extract(epoch from '2026-07-04 11:19:22'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.043199 -2.824845)', '2026-07-04 11:19:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0432 -2.824739)'), GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.824845)'))) / (select extract(epoch from '2026-07-04 11:19:30'::timestamp) - extract(epoch from '2026-07-04 11:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0432 -2.824739)'), GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.824845)'))) / (select extract(epoch from '2026-07-04 11:19:30'::timestamp) - extract(epoch from '2026-07-04 11:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043187 -2.824954)', '2026-07-04 11:19:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.824845)'), GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.824954)'))) / (select extract(epoch from '2026-07-04 11:19:39'::timestamp) - extract(epoch from '2026-07-04 11:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.824845)'), GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.824954)'))) / (select extract(epoch from '2026-07-04 11:19:39'::timestamp) - extract(epoch from '2026-07-04 11:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043187 -2.825091)', '2026-07-04 11:19:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.824954)'), GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.825091)'))) / (select extract(epoch from '2026-07-04 11:19:52'::timestamp) - extract(epoch from '2026-07-04 11:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.824954)'), GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.825091)'))) / (select extract(epoch from '2026-07-04 11:19:52'::timestamp) - extract(epoch from '2026-07-04 11:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043173 -2.825221)', '2026-07-04 11:20:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.825091)'), GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.825221)'))) / (select extract(epoch from '2026-07-04 11:20:02'::timestamp) - extract(epoch from '2026-07-04 11:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043187 -2.825091)'), GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.825221)'))) / (select extract(epoch from '2026-07-04 11:20:02'::timestamp) - extract(epoch from '2026-07-04 11:19: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'), 47624, 'SRID=4674;POINT (-40.043141 -2.825428)', '2026-07-04 11:20:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.825221)'), GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.825428)'))) / (select extract(epoch from '2026-07-04 11:20:15'::timestamp) - extract(epoch from '2026-07-04 11:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043173 -2.825221)'), GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.825428)'))) / (select extract(epoch from '2026-07-04 11:20:15'::timestamp) - extract(epoch from '2026-07-04 11:20:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043081 -2.825556)', '2026-07-04 11:20:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.825428)'), GeomFromEWKT('SRID=4674;POINT (-40.043081 -2.825556)'))) / (select extract(epoch from '2026-07-04 11:20:24'::timestamp) - extract(epoch from '2026-07-04 11:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043141 -2.825428)'), GeomFromEWKT('SRID=4674;POINT (-40.043081 -2.825556)'))) / (select extract(epoch from '2026-07-04 11:20:24'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.043067 -2.825765)', '2026-07-04 11:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043081 -2.825556)'), GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.825765)'))) / (select extract(epoch from '2026-07-04 11:20:37'::timestamp) - extract(epoch from '2026-07-04 11:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043081 -2.825556)'), GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.825765)'))) / (select extract(epoch from '2026-07-04 11:20:37'::timestamp) - extract(epoch from '2026-07-04 11:20:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043049 -2.825995)', '2026-07-04 11:20:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.825765)'), GeomFromEWKT('SRID=4674;POINT (-40.043049 -2.825995)'))) / (select extract(epoch from '2026-07-04 11:20:51'::timestamp) - extract(epoch from '2026-07-04 11:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.825765)'), GeomFromEWKT('SRID=4674;POINT (-40.043049 -2.825995)'))) / (select extract(epoch from '2026-07-04 11:20:51'::timestamp) - extract(epoch from '2026-07-04 11:20: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'), 47624, 'SRID=4674;POINT (-40.043065 -2.826165)', '2026-07-04 11:21:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043049 -2.825995)'), GeomFromEWKT('SRID=4674;POINT (-40.043065 -2.826165)'))) / (select extract(epoch from '2026-07-04 11:21:02'::timestamp) - extract(epoch from '2026-07-04 11:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043049 -2.825995)'), GeomFromEWKT('SRID=4674;POINT (-40.043065 -2.826165)'))) / (select extract(epoch from '2026-07-04 11:21:02'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042989 -2.826297)', '2026-07-04 11:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043065 -2.826165)'), GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.826297)'))) / (select extract(epoch from '2026-07-04 11:21:12'::timestamp) - extract(epoch from '2026-07-04 11:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043065 -2.826165)'), GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.826297)'))) / (select extract(epoch from '2026-07-04 11:21:12'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042862 -2.826495)', '2026-07-04 11:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.826297)'), GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.826495)'))) / (select extract(epoch from '2026-07-04 11:21:27'::timestamp) - extract(epoch from '2026-07-04 11:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042989 -2.826297)'), GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.826495)'))) / (select extract(epoch from '2026-07-04 11:21:27'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042853 -2.82665)', '2026-07-04 11:21:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.826495)'), GeomFromEWKT('SRID=4674;POINT (-40.042853 -2.82665)'))) / (select extract(epoch from '2026-07-04 11:21:37'::timestamp) - extract(epoch from '2026-07-04 11:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042862 -2.826495)'), GeomFromEWKT('SRID=4674;POINT (-40.042853 -2.82665)'))) / (select extract(epoch from '2026-07-04 11:21:37'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042798 -2.826811)', '2026-07-04 11:21:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042853 -2.82665)'), GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.826811)'))) / (select extract(epoch from '2026-07-04 11:21:48'::timestamp) - extract(epoch from '2026-07-04 11:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042853 -2.82665)'), GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.826811)'))) / (select extract(epoch from '2026-07-04 11:21:48'::timestamp) - extract(epoch from '2026-07-04 11:21:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042737 -2.827006)', '2026-07-04 11:22:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.826811)'), GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.827006)'))) / (select extract(epoch from '2026-07-04 11:22:01'::timestamp) - extract(epoch from '2026-07-04 11:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042798 -2.826811)'), GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.827006)'))) / (select extract(epoch from '2026-07-04 11:22:01'::timestamp) - extract(epoch from '2026-07-04 11:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042735 -2.827229)', '2026-07-04 11:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.827006)'), GeomFromEWKT('SRID=4674;POINT (-40.042735 -2.827229)'))) / (select extract(epoch from '2026-07-04 11:22:15'::timestamp) - extract(epoch from '2026-07-04 11:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.827006)'), GeomFromEWKT('SRID=4674;POINT (-40.042735 -2.827229)'))) / (select extract(epoch from '2026-07-04 11:22:15'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042786 -2.827369)', '2026-07-04 11:22:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042735 -2.827229)'), GeomFromEWKT('SRID=4674;POINT (-40.042786 -2.827369)'))) / (select extract(epoch from '2026-07-04 11:22:24'::timestamp) - extract(epoch from '2026-07-04 11:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042735 -2.827229)'), GeomFromEWKT('SRID=4674;POINT (-40.042786 -2.827369)'))) / (select extract(epoch from '2026-07-04 11:22:24'::timestamp) - extract(epoch from '2026-07-04 11:22: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'), 47624, 'SRID=4674;POINT (-40.042807 -2.8275)', '2026-07-04 11:22:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042786 -2.827369)'), GeomFromEWKT('SRID=4674;POINT (-40.042807 -2.8275)'))) / (select extract(epoch from '2026-07-04 11:22:32'::timestamp) - extract(epoch from '2026-07-04 11:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042786 -2.827369)'), GeomFromEWKT('SRID=4674;POINT (-40.042807 -2.8275)'))) / (select extract(epoch from '2026-07-04 11:22:32'::timestamp) - extract(epoch from '2026-07-04 11:22: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'), 47624, 'SRID=4674;POINT (-40.042841 -2.827683)', '2026-07-04 11:22:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042807 -2.8275)'), GeomFromEWKT('SRID=4674;POINT (-40.042841 -2.827683)'))) / (select extract(epoch from '2026-07-04 11:22:43'::timestamp) - extract(epoch from '2026-07-04 11:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042807 -2.8275)'), GeomFromEWKT('SRID=4674;POINT (-40.042841 -2.827683)'))) / (select extract(epoch from '2026-07-04 11:22:43'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042857 -2.827891)', '2026-07-04 11:22:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042841 -2.827683)'), GeomFromEWKT('SRID=4674;POINT (-40.042857 -2.827891)'))) / (select extract(epoch from '2026-07-04 11:22:56'::timestamp) - extract(epoch from '2026-07-04 11:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042841 -2.827683)'), GeomFromEWKT('SRID=4674;POINT (-40.042857 -2.827891)'))) / (select extract(epoch from '2026-07-04 11:22:56'::timestamp) - extract(epoch from '2026-07-04 11:22: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'), 47624, 'SRID=4674;POINT (-40.042854 -2.828102)', '2026-07-04 11:23:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042857 -2.827891)'), GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.828102)'))) / (select extract(epoch from '2026-07-04 11:23:09'::timestamp) - extract(epoch from '2026-07-04 11:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042857 -2.827891)'), GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.828102)'))) / (select extract(epoch from '2026-07-04 11:23:09'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042848 -2.828311)', '2026-07-04 11:23:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.828102)'), GeomFromEWKT('SRID=4674;POINT (-40.042848 -2.828311)'))) / (select extract(epoch from '2026-07-04 11:23:22'::timestamp) - extract(epoch from '2026-07-04 11:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.828102)'), GeomFromEWKT('SRID=4674;POINT (-40.042848 -2.828311)'))) / (select extract(epoch from '2026-07-04 11:23:22'::timestamp) - extract(epoch from '2026-07-04 11:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042854 -2.828494)', '2026-07-04 11:23:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042848 -2.828311)'), GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.828494)'))) / (select extract(epoch from '2026-07-04 11:23:34'::timestamp) - extract(epoch from '2026-07-04 11:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042848 -2.828311)'), GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.828494)'))) / (select extract(epoch from '2026-07-04 11:23:34'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042861 -2.828643)', '2026-07-04 11:23:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.828494)'), GeomFromEWKT('SRID=4674;POINT (-40.042861 -2.828643)'))) / (select extract(epoch from '2026-07-04 11:23:44'::timestamp) - extract(epoch from '2026-07-04 11:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042854 -2.828494)'), GeomFromEWKT('SRID=4674;POINT (-40.042861 -2.828643)'))) / (select extract(epoch from '2026-07-04 11:23:44'::timestamp) - extract(epoch from '2026-07-04 11:23: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'), 47624, 'SRID=4674;POINT (-40.042882 -2.828821)', '2026-07-04 11:23:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042861 -2.828643)'), GeomFromEWKT('SRID=4674;POINT (-40.042882 -2.828821)'))) / (select extract(epoch from '2026-07-04 11:23:58'::timestamp) - extract(epoch from '2026-07-04 11:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042861 -2.828643)'), GeomFromEWKT('SRID=4674;POINT (-40.042882 -2.828821)'))) / (select extract(epoch from '2026-07-04 11:23:58'::timestamp) - extract(epoch from '2026-07-04 11:23: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'), 47624, 'SRID=4674;POINT (-40.042867 -2.828928)', '2026-07-04 11:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042882 -2.828821)'), GeomFromEWKT('SRID=4674;POINT (-40.042867 -2.828928)'))) / (select extract(epoch from '2026-07-04 11:24:06'::timestamp) - extract(epoch from '2026-07-04 11:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042882 -2.828821)'), GeomFromEWKT('SRID=4674;POINT (-40.042867 -2.828928)'))) / (select extract(epoch from '2026-07-04 11:24:06'::timestamp) - extract(epoch from '2026-07-04 11:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042806 -2.829089)', '2026-07-04 11:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042867 -2.828928)'), GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.829089)'))) / (select extract(epoch from '2026-07-04 11:24:17'::timestamp) - extract(epoch from '2026-07-04 11:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042867 -2.828928)'), GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.829089)'))) / (select extract(epoch from '2026-07-04 11:24:17'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042747 -2.82927)', '2026-07-04 11:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.829089)'), GeomFromEWKT('SRID=4674;POINT (-40.042747 -2.82927)'))) / (select extract(epoch from '2026-07-04 11:24:29'::timestamp) - extract(epoch from '2026-07-04 11:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.829089)'), GeomFromEWKT('SRID=4674;POINT (-40.042747 -2.82927)'))) / (select extract(epoch from '2026-07-04 11:24:29'::timestamp) - extract(epoch from '2026-07-04 11:24: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'), 47624, 'SRID=4674;POINT (-40.042717 -2.829423)', '2026-07-04 11:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042747 -2.82927)'), GeomFromEWKT('SRID=4674;POINT (-40.042717 -2.829423)'))) / (select extract(epoch from '2026-07-04 11:24:40'::timestamp) - extract(epoch from '2026-07-04 11:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042747 -2.82927)'), GeomFromEWKT('SRID=4674;POINT (-40.042717 -2.829423)'))) / (select extract(epoch from '2026-07-04 11:24:40'::timestamp) - extract(epoch from '2026-07-04 11:24: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'), 47624, 'SRID=4674;POINT (-40.042707 -2.829545)', '2026-07-04 11:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042717 -2.829423)'), GeomFromEWKT('SRID=4674;POINT (-40.042707 -2.829545)'))) / (select extract(epoch from '2026-07-04 11:24:51'::timestamp) - extract(epoch from '2026-07-04 11:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042717 -2.829423)'), GeomFromEWKT('SRID=4674;POINT (-40.042707 -2.829545)'))) / (select extract(epoch from '2026-07-04 11:24:51'::timestamp) - extract(epoch from '2026-07-04 11:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042718 -2.829668)', '2026-07-04 11:25:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042707 -2.829545)'), GeomFromEWKT('SRID=4674;POINT (-40.042718 -2.829668)'))) / (select extract(epoch from '2026-07-04 11:25:05'::timestamp) - extract(epoch from '2026-07-04 11:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042707 -2.829545)'), GeomFromEWKT('SRID=4674;POINT (-40.042718 -2.829668)'))) / (select extract(epoch from '2026-07-04 11:25:05'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042687 -2.829785)', '2026-07-04 11:25:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042718 -2.829668)'), GeomFromEWKT('SRID=4674;POINT (-40.042687 -2.829785)'))) / (select extract(epoch from '2026-07-04 11:25:16'::timestamp) - extract(epoch from '2026-07-04 11:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042718 -2.829668)'), GeomFromEWKT('SRID=4674;POINT (-40.042687 -2.829785)'))) / (select extract(epoch from '2026-07-04 11:25:16'::timestamp) - extract(epoch from '2026-07-04 11:25:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042649 -2.829917)', '2026-07-04 11:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042687 -2.829785)'), GeomFromEWKT('SRID=4674;POINT (-40.042649 -2.829917)'))) / (select extract(epoch from '2026-07-04 11:25:25'::timestamp) - extract(epoch from '2026-07-04 11:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042687 -2.829785)'), GeomFromEWKT('SRID=4674;POINT (-40.042649 -2.829917)'))) / (select extract(epoch from '2026-07-04 11:25:25'::timestamp) - extract(epoch from '2026-07-04 11:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042621 -2.830042)', '2026-07-04 11:25:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042649 -2.829917)'), GeomFromEWKT('SRID=4674;POINT (-40.042621 -2.830042)'))) / (select extract(epoch from '2026-07-04 11:25:33'::timestamp) - extract(epoch from '2026-07-04 11:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042649 -2.829917)'), GeomFromEWKT('SRID=4674;POINT (-40.042621 -2.830042)'))) / (select extract(epoch from '2026-07-04 11:25:33'::timestamp) - extract(epoch from '2026-07-04 11:25:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042517 -2.830165)', '2026-07-04 11:25:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042621 -2.830042)'), GeomFromEWKT('SRID=4674;POINT (-40.042517 -2.830165)'))) / (select extract(epoch from '2026-07-04 11:25:43'::timestamp) - extract(epoch from '2026-07-04 11:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042621 -2.830042)'), GeomFromEWKT('SRID=4674;POINT (-40.042517 -2.830165)'))) / (select extract(epoch from '2026-07-04 11:25:43'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042317 -2.83037)', '2026-07-04 11:26:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042517 -2.830165)'), GeomFromEWKT('SRID=4674;POINT (-40.042317 -2.83037)'))) / (select extract(epoch from '2026-07-04 11:26:00'::timestamp) - extract(epoch from '2026-07-04 11:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042517 -2.830165)'), GeomFromEWKT('SRID=4674;POINT (-40.042317 -2.83037)'))) / (select extract(epoch from '2026-07-04 11:26:00'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.042193 -2.830537)', '2026-07-04 11:26:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042317 -2.83037)'), GeomFromEWKT('SRID=4674;POINT (-40.042193 -2.830537)'))) / (select extract(epoch from '2026-07-04 11:26:13'::timestamp) - extract(epoch from '2026-07-04 11:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042317 -2.83037)'), GeomFromEWKT('SRID=4674;POINT (-40.042193 -2.830537)'))) / (select extract(epoch from '2026-07-04 11:26:13'::timestamp) - extract(epoch from '2026-07-04 11:26: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'), 47624, 'SRID=4674;POINT (-40.042096 -2.830681)', '2026-07-04 11:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042193 -2.830537)'), GeomFromEWKT('SRID=4674;POINT (-40.042096 -2.830681)'))) / (select extract(epoch from '2026-07-04 11:26:24'::timestamp) - extract(epoch from '2026-07-04 11:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042193 -2.830537)'), GeomFromEWKT('SRID=4674;POINT (-40.042096 -2.830681)'))) / (select extract(epoch from '2026-07-04 11:26:24'::timestamp) - extract(epoch from '2026-07-04 11:26: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'), 47624, 'SRID=4674;POINT (-40.042039 -2.830775)', '2026-07-04 11:26:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042096 -2.830681)'), GeomFromEWKT('SRID=4674;POINT (-40.042039 -2.830775)'))) / (select extract(epoch from '2026-07-04 11:26:32'::timestamp) - extract(epoch from '2026-07-04 11:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042096 -2.830681)'), GeomFromEWKT('SRID=4674;POINT (-40.042039 -2.830775)'))) / (select extract(epoch from '2026-07-04 11:26:32'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.041956 -2.830763)', '2026-07-04 11:26:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042039 -2.830775)'), GeomFromEWKT('SRID=4674;POINT (-40.041956 -2.830763)'))) / (select extract(epoch from '2026-07-04 11:26:39'::timestamp) - extract(epoch from '2026-07-04 11:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042039 -2.830775)'), GeomFromEWKT('SRID=4674;POINT (-40.041956 -2.830763)'))) / (select extract(epoch from '2026-07-04 11:26:39'::timestamp) - extract(epoch from '2026-07-04 11:26: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'), 47624, 'SRID=4674;POINT (-40.041797 -2.830711)', '2026-07-04 11:26:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041956 -2.830763)'), GeomFromEWKT('SRID=4674;POINT (-40.041797 -2.830711)'))) / (select extract(epoch from '2026-07-04 11:26:50'::timestamp) - extract(epoch from '2026-07-04 11:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041956 -2.830763)'), GeomFromEWKT('SRID=4674;POINT (-40.041797 -2.830711)'))) / (select extract(epoch from '2026-07-04 11:26:50'::timestamp) - extract(epoch from '2026-07-04 11:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.041614 -2.830736)', '2026-07-04 11:27:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041797 -2.830711)'), GeomFromEWKT('SRID=4674;POINT (-40.041614 -2.830736)'))) / (select extract(epoch from '2026-07-04 11:27:02'::timestamp) - extract(epoch from '2026-07-04 11:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041797 -2.830711)'), GeomFromEWKT('SRID=4674;POINT (-40.041614 -2.830736)'))) / (select extract(epoch from '2026-07-04 11:27:02'::timestamp) - extract(epoch from '2026-07-04 11:26: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'), 47624, 'SRID=4674;POINT (-40.041511 -2.83082)', '2026-07-04 11:27:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041614 -2.830736)'), GeomFromEWKT('SRID=4674;POINT (-40.041511 -2.83082)'))) / (select extract(epoch from '2026-07-04 11:27:11'::timestamp) - extract(epoch from '2026-07-04 11:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041614 -2.830736)'), GeomFromEWKT('SRID=4674;POINT (-40.041511 -2.83082)'))) / (select extract(epoch from '2026-07-04 11:27:11'::timestamp) - extract(epoch from '2026-07-04 11:27: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'), 47624, 'SRID=4674;POINT (-40.041389 -2.830955)', '2026-07-04 11:27:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041511 -2.83082)'), GeomFromEWKT('SRID=4674;POINT (-40.041389 -2.830955)'))) / (select extract(epoch from '2026-07-04 11:27:23'::timestamp) - extract(epoch from '2026-07-04 11:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041511 -2.83082)'), GeomFromEWKT('SRID=4674;POINT (-40.041389 -2.830955)'))) / (select extract(epoch from '2026-07-04 11:27:23'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.041224 -2.831169)', '2026-07-04 11:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041389 -2.830955)'), GeomFromEWKT('SRID=4674;POINT (-40.041224 -2.831169)'))) / (select extract(epoch from '2026-07-04 11:27:40'::timestamp) - extract(epoch from '2026-07-04 11:27:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041389 -2.830955)'), GeomFromEWKT('SRID=4674;POINT (-40.041224 -2.831169)'))) / (select extract(epoch from '2026-07-04 11:27:40'::timestamp) - extract(epoch from '2026-07-04 11:27: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'), 47624, 'SRID=4674;POINT (-40.041109 -2.831298)', '2026-07-04 11:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041224 -2.831169)'), GeomFromEWKT('SRID=4674;POINT (-40.041109 -2.831298)'))) / (select extract(epoch from '2026-07-04 11:27:51'::timestamp) - extract(epoch from '2026-07-04 11:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041224 -2.831169)'), GeomFromEWKT('SRID=4674;POINT (-40.041109 -2.831298)'))) / (select extract(epoch from '2026-07-04 11:27:51'::timestamp) - extract(epoch from '2026-07-04 11:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.040987 -2.831378)', '2026-07-04 11:28:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041109 -2.831298)'), GeomFromEWKT('SRID=4674;POINT (-40.040987 -2.831378)'))) / (select extract(epoch from '2026-07-04 11:28:01'::timestamp) - extract(epoch from '2026-07-04 11:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041109 -2.831298)'), GeomFromEWKT('SRID=4674;POINT (-40.040987 -2.831378)'))) / (select extract(epoch from '2026-07-04 11:28:01'::timestamp) - extract(epoch from '2026-07-04 11:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.040881 -2.83152)', '2026-07-04 11:28:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040987 -2.831378)'), GeomFromEWKT('SRID=4674;POINT (-40.040881 -2.83152)'))) / (select extract(epoch from '2026-07-04 11:28:13'::timestamp) - extract(epoch from '2026-07-04 11:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040987 -2.831378)'), GeomFromEWKT('SRID=4674;POINT (-40.040881 -2.83152)'))) / (select extract(epoch from '2026-07-04 11:28:13'::timestamp) - extract(epoch from '2026-07-04 11:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.040794 -2.831662)', '2026-07-04 11:28:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040881 -2.83152)'), GeomFromEWKT('SRID=4674;POINT (-40.040794 -2.831662)'))) / (select extract(epoch from '2026-07-04 11:28:24'::timestamp) - extract(epoch from '2026-07-04 11:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040881 -2.83152)'), GeomFromEWKT('SRID=4674;POINT (-40.040794 -2.831662)'))) / (select extract(epoch from '2026-07-04 11:28:24'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.040735 -2.83177)', '2026-07-04 11:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040794 -2.831662)'), GeomFromEWKT('SRID=4674;POINT (-40.040735 -2.83177)'))) / (select extract(epoch from '2026-07-04 11:28:32'::timestamp) - extract(epoch from '2026-07-04 11:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040794 -2.831662)'), GeomFromEWKT('SRID=4674;POINT (-40.040735 -2.83177)'))) / (select extract(epoch from '2026-07-04 11:28:32'::timestamp) - extract(epoch from '2026-07-04 11:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.04057 -2.831859)', '2026-07-04 11:28:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040735 -2.83177)'), GeomFromEWKT('SRID=4674;POINT (-40.04057 -2.831859)'))) / (select extract(epoch from '2026-07-04 11:28:44'::timestamp) - extract(epoch from '2026-07-04 11:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040735 -2.83177)'), GeomFromEWKT('SRID=4674;POINT (-40.04057 -2.831859)'))) / (select extract(epoch from '2026-07-04 11:28:44'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.040408 -2.832008)', '2026-07-04 11:28:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04057 -2.831859)'), GeomFromEWKT('SRID=4674;POINT (-40.040408 -2.832008)'))) / (select extract(epoch from '2026-07-04 11:28:59'::timestamp) - extract(epoch from '2026-07-04 11:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04057 -2.831859)'), GeomFromEWKT('SRID=4674;POINT (-40.040408 -2.832008)'))) / (select extract(epoch from '2026-07-04 11:28:59'::timestamp) - extract(epoch from '2026-07-04 11:28: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'), 47624, 'SRID=4674;POINT (-40.040302 -2.832193)', '2026-07-04 11:29:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040408 -2.832008)'), GeomFromEWKT('SRID=4674;POINT (-40.040302 -2.832193)'))) / (select extract(epoch from '2026-07-04 11:29:13'::timestamp) - extract(epoch from '2026-07-04 11:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040408 -2.832008)'), GeomFromEWKT('SRID=4674;POINT (-40.040302 -2.832193)'))) / (select extract(epoch from '2026-07-04 11:29:13'::timestamp) - extract(epoch from '2026-07-04 11:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.040239 -2.832438)', '2026-07-04 11:29:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040302 -2.832193)'), GeomFromEWKT('SRID=4674;POINT (-40.040239 -2.832438)'))) / (select extract(epoch from '2026-07-04 11:29:30'::timestamp) - extract(epoch from '2026-07-04 11:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040302 -2.832193)'), GeomFromEWKT('SRID=4674;POINT (-40.040239 -2.832438)'))) / (select extract(epoch from '2026-07-04 11:29:30'::timestamp) - extract(epoch from '2026-07-04 11:29:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.040204 -2.832624)', '2026-07-04 11:29:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040239 -2.832438)'), GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.832624)'))) / (select extract(epoch from '2026-07-04 11:29:43'::timestamp) - extract(epoch from '2026-07-04 11:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040239 -2.832438)'), GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.832624)'))) / (select extract(epoch from '2026-07-04 11:29:43'::timestamp) - extract(epoch from '2026-07-04 11:29: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'), 47624, 'SRID=4674;POINT (-40.040138 -2.832855)', '2026-07-04 11:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.832624)'), GeomFromEWKT('SRID=4674;POINT (-40.040138 -2.832855)'))) / (select extract(epoch from '2026-07-04 11:30:00'::timestamp) - extract(epoch from '2026-07-04 11:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040204 -2.832624)'), GeomFromEWKT('SRID=4674;POINT (-40.040138 -2.832855)'))) / (select extract(epoch from '2026-07-04 11:30:00'::timestamp) - extract(epoch from '2026-07-04 11:29:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.040078 -2.833068)', '2026-07-04 11:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040138 -2.832855)'), GeomFromEWKT('SRID=4674;POINT (-40.040078 -2.833068)'))) / (select extract(epoch from '2026-07-04 11:30:16'::timestamp) - extract(epoch from '2026-07-04 11:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040138 -2.832855)'), GeomFromEWKT('SRID=4674;POINT (-40.040078 -2.833068)'))) / (select extract(epoch from '2026-07-04 11:30:16'::timestamp) - extract(epoch from '2026-07-04 11:30:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.040001 -2.833247)', '2026-07-04 11:30:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040078 -2.833068)'), GeomFromEWKT('SRID=4674;POINT (-40.040001 -2.833247)'))) / (select extract(epoch from '2026-07-04 11:30:30'::timestamp) - extract(epoch from '2026-07-04 11:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040078 -2.833068)'), GeomFromEWKT('SRID=4674;POINT (-40.040001 -2.833247)'))) / (select extract(epoch from '2026-07-04 11:30:30'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.039962 -2.83339)', '2026-07-04 11:30:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040001 -2.833247)'), GeomFromEWKT('SRID=4674;POINT (-40.039962 -2.83339)'))) / (select extract(epoch from '2026-07-04 11:30:40'::timestamp) - extract(epoch from '2026-07-04 11:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040001 -2.833247)'), GeomFromEWKT('SRID=4674;POINT (-40.039962 -2.83339)'))) / (select extract(epoch from '2026-07-04 11:30:40'::timestamp) - extract(epoch from '2026-07-04 11:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.039868 -2.833601)', '2026-07-04 11:30:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039962 -2.83339)'), GeomFromEWKT('SRID=4674;POINT (-40.039868 -2.833601)'))) / (select extract(epoch from '2026-07-04 11:30:55'::timestamp) - extract(epoch from '2026-07-04 11:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039962 -2.83339)'), GeomFromEWKT('SRID=4674;POINT (-40.039868 -2.833601)'))) / (select extract(epoch from '2026-07-04 11:30:55'::timestamp) - extract(epoch from '2026-07-04 11:30: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'), 47624, 'SRID=4674;POINT (-40.039814 -2.833837)', '2026-07-04 11:31:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039868 -2.833601)'), GeomFromEWKT('SRID=4674;POINT (-40.039814 -2.833837)'))) / (select extract(epoch from '2026-07-04 11:31:11'::timestamp) - extract(epoch from '2026-07-04 11:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039868 -2.833601)'), GeomFromEWKT('SRID=4674;POINT (-40.039814 -2.833837)'))) / (select extract(epoch from '2026-07-04 11:31:11'::timestamp) - extract(epoch from '2026-07-04 11:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.039801 -2.834133)', '2026-07-04 11:31:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039814 -2.833837)'), GeomFromEWKT('SRID=4674;POINT (-40.039801 -2.834133)'))) / (select extract(epoch from '2026-07-04 11:31:30'::timestamp) - extract(epoch from '2026-07-04 11:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039814 -2.833837)'), GeomFromEWKT('SRID=4674;POINT (-40.039801 -2.834133)'))) / (select extract(epoch from '2026-07-04 11:31:30'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.039868 -2.83443)', '2026-07-04 11:31:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039801 -2.834133)'), GeomFromEWKT('SRID=4674;POINT (-40.039868 -2.83443)'))) / (select extract(epoch from '2026-07-04 11:31:49'::timestamp) - extract(epoch from '2026-07-04 11:31:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039801 -2.834133)'), GeomFromEWKT('SRID=4674;POINT (-40.039868 -2.83443)'))) / (select extract(epoch from '2026-07-04 11:31:49'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.039975 -2.834695)', '2026-07-04 11:32:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039868 -2.83443)'), GeomFromEWKT('SRID=4674;POINT (-40.039975 -2.834695)'))) / (select extract(epoch from '2026-07-04 11:32:07'::timestamp) - extract(epoch from '2026-07-04 11:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039868 -2.83443)'), GeomFromEWKT('SRID=4674;POINT (-40.039975 -2.834695)'))) / (select extract(epoch from '2026-07-04 11:32:07'::timestamp) - extract(epoch from '2026-07-04 11:31: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'), 47624, 'SRID=4674;POINT (-40.040045 -2.835001)', '2026-07-04 11:32:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039975 -2.834695)'), GeomFromEWKT('SRID=4674;POINT (-40.040045 -2.835001)'))) / (select extract(epoch from '2026-07-04 11:32:28'::timestamp) - extract(epoch from '2026-07-04 11:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.039975 -2.834695)'), GeomFromEWKT('SRID=4674;POINT (-40.040045 -2.835001)'))) / (select extract(epoch from '2026-07-04 11:32:28'::timestamp) - extract(epoch from '2026-07-04 11:32: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'), 47624, 'SRID=4674;POINT (-40.040127 -2.835224)', '2026-07-04 11:32:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040045 -2.835001)'), GeomFromEWKT('SRID=4674;POINT (-40.040127 -2.835224)'))) / (select extract(epoch from '2026-07-04 11:32:43'::timestamp) - extract(epoch from '2026-07-04 11:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040045 -2.835001)'), GeomFromEWKT('SRID=4674;POINT (-40.040127 -2.835224)'))) / (select extract(epoch from '2026-07-04 11:32:43'::timestamp) - extract(epoch from '2026-07-04 11:32: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'), 47624, 'SRID=4674;POINT (-40.040241 -2.83547)', '2026-07-04 11:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040127 -2.835224)'), GeomFromEWKT('SRID=4674;POINT (-40.040241 -2.83547)'))) / (select extract(epoch from '2026-07-04 11:33:00'::timestamp) - extract(epoch from '2026-07-04 11:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040127 -2.835224)'), GeomFromEWKT('SRID=4674;POINT (-40.040241 -2.83547)'))) / (select extract(epoch from '2026-07-04 11:33:00'::timestamp) - extract(epoch from '2026-07-04 11:32:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.04035 -2.835717)', '2026-07-04 11:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040241 -2.83547)'), GeomFromEWKT('SRID=4674;POINT (-40.04035 -2.835717)'))) / (select extract(epoch from '2026-07-04 11:33:17'::timestamp) - extract(epoch from '2026-07-04 11:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040241 -2.83547)'), GeomFromEWKT('SRID=4674;POINT (-40.04035 -2.835717)'))) / (select extract(epoch from '2026-07-04 11:33:17'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.040489 -2.835947)', '2026-07-04 11:33:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04035 -2.835717)'), GeomFromEWKT('SRID=4674;POINT (-40.040489 -2.835947)'))) / (select extract(epoch from '2026-07-04 11:33:34'::timestamp) - extract(epoch from '2026-07-04 11:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04035 -2.835717)'), GeomFromEWKT('SRID=4674;POINT (-40.040489 -2.835947)'))) / (select extract(epoch from '2026-07-04 11:33:34'::timestamp) - extract(epoch from '2026-07-04 11:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.040674 -2.836185)', '2026-07-04 11:33:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040489 -2.835947)'), GeomFromEWKT('SRID=4674;POINT (-40.040674 -2.836185)'))) / (select extract(epoch from '2026-07-04 11:33:53'::timestamp) - extract(epoch from '2026-07-04 11:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040489 -2.835947)'), GeomFromEWKT('SRID=4674;POINT (-40.040674 -2.836185)'))) / (select extract(epoch from '2026-07-04 11:33:53'::timestamp) - extract(epoch from '2026-07-04 11:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.040814 -2.836394)', '2026-07-04 11:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040674 -2.836185)'), GeomFromEWKT('SRID=4674;POINT (-40.040814 -2.836394)'))) / (select extract(epoch from '2026-07-04 11:34:09'::timestamp) - extract(epoch from '2026-07-04 11:33:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040674 -2.836185)'), GeomFromEWKT('SRID=4674;POINT (-40.040814 -2.836394)'))) / (select extract(epoch from '2026-07-04 11:34:09'::timestamp) - extract(epoch from '2026-07-04 11:33: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'), 47624, 'SRID=4674;POINT (-40.040962 -2.836632)', '2026-07-04 11:34:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040814 -2.836394)'), GeomFromEWKT('SRID=4674;POINT (-40.040962 -2.836632)'))) / (select extract(epoch from '2026-07-04 11:34:27'::timestamp) - extract(epoch from '2026-07-04 11:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040814 -2.836394)'), GeomFromEWKT('SRID=4674;POINT (-40.040962 -2.836632)'))) / (select extract(epoch from '2026-07-04 11:34:27'::timestamp) - extract(epoch from '2026-07-04 11:34: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'), 47624, 'SRID=4674;POINT (-40.04114 -2.836833)', '2026-07-04 11:34:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040962 -2.836632)'), GeomFromEWKT('SRID=4674;POINT (-40.04114 -2.836833)'))) / (select extract(epoch from '2026-07-04 11:34:44'::timestamp) - extract(epoch from '2026-07-04 11:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040962 -2.836632)'), GeomFromEWKT('SRID=4674;POINT (-40.04114 -2.836833)'))) / (select extract(epoch from '2026-07-04 11:34:44'::timestamp) - extract(epoch from '2026-07-04 11:34: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'), 47624, 'SRID=4674;POINT (-40.041343 -2.837055)', '2026-07-04 11:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04114 -2.836833)'), GeomFromEWKT('SRID=4674;POINT (-40.041343 -2.837055)'))) / (select extract(epoch from '2026-07-04 11:35:03'::timestamp) - extract(epoch from '2026-07-04 11:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04114 -2.836833)'), GeomFromEWKT('SRID=4674;POINT (-40.041343 -2.837055)'))) / (select extract(epoch from '2026-07-04 11:35:03'::timestamp) - extract(epoch from '2026-07-04 11:34: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'), 47624, 'SRID=4674;POINT (-40.041561 -2.837285)', '2026-07-04 11:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041343 -2.837055)'), GeomFromEWKT('SRID=4674;POINT (-40.041561 -2.837285)'))) / (select extract(epoch from '2026-07-04 11:35:24'::timestamp) - extract(epoch from '2026-07-04 11:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041343 -2.837055)'), GeomFromEWKT('SRID=4674;POINT (-40.041561 -2.837285)'))) / (select extract(epoch from '2026-07-04 11:35:24'::timestamp) - extract(epoch from '2026-07-04 11:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.041711 -2.837453)', '2026-07-04 11:35:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041561 -2.837285)'), GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.837453)'))) / (select extract(epoch from '2026-07-04 11:35:39'::timestamp) - extract(epoch from '2026-07-04 11:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041561 -2.837285)'), GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.837453)'))) / (select extract(epoch from '2026-07-04 11:35:39'::timestamp) - extract(epoch from '2026-07-04 11:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.041875 -2.83767)', '2026-07-04 11:35:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.837453)'), GeomFromEWKT('SRID=4674;POINT (-40.041875 -2.83767)'))) / (select extract(epoch from '2026-07-04 11:35:57'::timestamp) - extract(epoch from '2026-07-04 11:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041711 -2.837453)'), GeomFromEWKT('SRID=4674;POINT (-40.041875 -2.83767)'))) / (select extract(epoch from '2026-07-04 11:35:57'::timestamp) - extract(epoch from '2026-07-04 11:35: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'), 47624, 'SRID=4674;POINT (-40.042063 -2.837921)', '2026-07-04 11:36:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041875 -2.83767)'), GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.837921)'))) / (select extract(epoch from '2026-07-04 11:36:17'::timestamp) - extract(epoch from '2026-07-04 11:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041875 -2.83767)'), GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.837921)'))) / (select extract(epoch from '2026-07-04 11:36:17'::timestamp) - extract(epoch from '2026-07-04 11:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042299 -2.838141)', '2026-07-04 11:36:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.837921)'), GeomFromEWKT('SRID=4674;POINT (-40.042299 -2.838141)'))) / (select extract(epoch from '2026-07-04 11:36:37'::timestamp) - extract(epoch from '2026-07-04 11:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.837921)'), GeomFromEWKT('SRID=4674;POINT (-40.042299 -2.838141)'))) / (select extract(epoch from '2026-07-04 11:36:37'::timestamp) - extract(epoch from '2026-07-04 11:36:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042525 -2.838307)', '2026-07-04 11:36:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042299 -2.838141)'), GeomFromEWKT('SRID=4674;POINT (-40.042525 -2.838307)'))) / (select extract(epoch from '2026-07-04 11:36:54'::timestamp) - extract(epoch from '2026-07-04 11:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042299 -2.838141)'), GeomFromEWKT('SRID=4674;POINT (-40.042525 -2.838307)'))) / (select extract(epoch from '2026-07-04 11:36:54'::timestamp) - extract(epoch from '2026-07-04 11:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042746 -2.838497)', '2026-07-04 11:37:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042525 -2.838307)'), GeomFromEWKT('SRID=4674;POINT (-40.042746 -2.838497)'))) / (select extract(epoch from '2026-07-04 11:37:12'::timestamp) - extract(epoch from '2026-07-04 11:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042525 -2.838307)'), GeomFromEWKT('SRID=4674;POINT (-40.042746 -2.838497)'))) / (select extract(epoch from '2026-07-04 11:37:12'::timestamp) - extract(epoch from '2026-07-04 11:36: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'), 47624, 'SRID=4674;POINT (-40.043004 -2.838709)', '2026-07-04 11:37:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042746 -2.838497)'), GeomFromEWKT('SRID=4674;POINT (-40.043004 -2.838709)'))) / (select extract(epoch from '2026-07-04 11:37:32'::timestamp) - extract(epoch from '2026-07-04 11:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042746 -2.838497)'), GeomFromEWKT('SRID=4674;POINT (-40.043004 -2.838709)'))) / (select extract(epoch from '2026-07-04 11:37:32'::timestamp) - extract(epoch from '2026-07-04 11:37:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043167 -2.838909)', '2026-07-04 11:37:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043004 -2.838709)'), GeomFromEWKT('SRID=4674;POINT (-40.043167 -2.838909)'))) / (select extract(epoch from '2026-07-04 11:37:48'::timestamp) - extract(epoch from '2026-07-04 11:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043004 -2.838709)'), GeomFromEWKT('SRID=4674;POINT (-40.043167 -2.838909)'))) / (select extract(epoch from '2026-07-04 11:37:48'::timestamp) - extract(epoch from '2026-07-04 11:37:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043228 -2.839102)', '2026-07-04 11:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043167 -2.838909)'), GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.839102)'))) / (select extract(epoch from '2026-07-04 11:38:01'::timestamp) - extract(epoch from '2026-07-04 11:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043167 -2.838909)'), GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.839102)'))) / (select extract(epoch from '2026-07-04 11:38:01'::timestamp) - extract(epoch from '2026-07-04 11:37: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'), 47624, 'SRID=4674;POINT (-40.043314 -2.83936)', '2026-07-04 11:38:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.839102)'), GeomFromEWKT('SRID=4674;POINT (-40.043314 -2.83936)'))) / (select extract(epoch from '2026-07-04 11:38:18'::timestamp) - extract(epoch from '2026-07-04 11:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.839102)'), GeomFromEWKT('SRID=4674;POINT (-40.043314 -2.83936)'))) / (select extract(epoch from '2026-07-04 11:38:18'::timestamp) - extract(epoch from '2026-07-04 11:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043426 -2.839576)', '2026-07-04 11:38:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043314 -2.83936)'), GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.839576)'))) / (select extract(epoch from '2026-07-04 11:38:33'::timestamp) - extract(epoch from '2026-07-04 11:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043314 -2.83936)'), GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.839576)'))) / (select extract(epoch from '2026-07-04 11:38:33'::timestamp) - extract(epoch from '2026-07-04 11:38: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'), 47624, 'SRID=4674;POINT (-40.043501 -2.8398)', '2026-07-04 11:38:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.839576)'), GeomFromEWKT('SRID=4674;POINT (-40.043501 -2.8398)'))) / (select extract(epoch from '2026-07-04 11:38:48'::timestamp) - extract(epoch from '2026-07-04 11:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043426 -2.839576)'), GeomFromEWKT('SRID=4674;POINT (-40.043501 -2.8398)'))) / (select extract(epoch from '2026-07-04 11:38:48'::timestamp) - extract(epoch from '2026-07-04 11:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043547 -2.840106)', '2026-07-04 11:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043501 -2.8398)'), GeomFromEWKT('SRID=4674;POINT (-40.043547 -2.840106)'))) / (select extract(epoch from '2026-07-04 11:39:07'::timestamp) - extract(epoch from '2026-07-04 11:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043501 -2.8398)'), GeomFromEWKT('SRID=4674;POINT (-40.043547 -2.840106)'))) / (select extract(epoch from '2026-07-04 11:39:07'::timestamp) - extract(epoch from '2026-07-04 11:38: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'), 47624, 'SRID=4674;POINT (-40.043574 -2.840405)', '2026-07-04 11:39:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043547 -2.840106)'), GeomFromEWKT('SRID=4674;POINT (-40.043574 -2.840405)'))) / (select extract(epoch from '2026-07-04 11:39:25'::timestamp) - extract(epoch from '2026-07-04 11:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043547 -2.840106)'), GeomFromEWKT('SRID=4674;POINT (-40.043574 -2.840405)'))) / (select extract(epoch from '2026-07-04 11:39:25'::timestamp) - extract(epoch from '2026-07-04 11:39:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043537 -2.840637)', '2026-07-04 11:39:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043574 -2.840405)'), GeomFromEWKT('SRID=4674;POINT (-40.043537 -2.840637)'))) / (select extract(epoch from '2026-07-04 11:39:39'::timestamp) - extract(epoch from '2026-07-04 11:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043574 -2.840405)'), GeomFromEWKT('SRID=4674;POINT (-40.043537 -2.840637)'))) / (select extract(epoch from '2026-07-04 11:39:39'::timestamp) - extract(epoch from '2026-07-04 11:39:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043459 -2.840816)', '2026-07-04 11:39:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043537 -2.840637)'), GeomFromEWKT('SRID=4674;POINT (-40.043459 -2.840816)'))) / (select extract(epoch from '2026-07-04 11:39:50'::timestamp) - extract(epoch from '2026-07-04 11:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043537 -2.840637)'), GeomFromEWKT('SRID=4674;POINT (-40.043459 -2.840816)'))) / (select extract(epoch from '2026-07-04 11:39:50'::timestamp) - extract(epoch from '2026-07-04 11:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043325 -2.841025)', '2026-07-04 11:40:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043459 -2.840816)'), GeomFromEWKT('SRID=4674;POINT (-40.043325 -2.841025)'))) / (select extract(epoch from '2026-07-04 11:40:04'::timestamp) - extract(epoch from '2026-07-04 11:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043459 -2.840816)'), GeomFromEWKT('SRID=4674;POINT (-40.043325 -2.841025)'))) / (select extract(epoch from '2026-07-04 11:40:04'::timestamp) - extract(epoch from '2026-07-04 11:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043122 -2.841249)', '2026-07-04 11:40:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043325 -2.841025)'), GeomFromEWKT('SRID=4674;POINT (-40.043122 -2.841249)'))) / (select extract(epoch from '2026-07-04 11:40:21'::timestamp) - extract(epoch from '2026-07-04 11:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043325 -2.841025)'), GeomFromEWKT('SRID=4674;POINT (-40.043122 -2.841249)'))) / (select extract(epoch from '2026-07-04 11:40:21'::timestamp) - extract(epoch from '2026-07-04 11:40: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'), 47624, 'SRID=4674;POINT (-40.042936 -2.841472)', '2026-07-04 11:40:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043122 -2.841249)'), GeomFromEWKT('SRID=4674;POINT (-40.042936 -2.841472)'))) / (select extract(epoch from '2026-07-04 11:40:38'::timestamp) - extract(epoch from '2026-07-04 11:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043122 -2.841249)'), GeomFromEWKT('SRID=4674;POINT (-40.042936 -2.841472)'))) / (select extract(epoch from '2026-07-04 11:40:38'::timestamp) - extract(epoch from '2026-07-04 11:40: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'), 47624, 'SRID=4674;POINT (-40.042836 -2.841666)', '2026-07-04 11:40:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042936 -2.841472)'), GeomFromEWKT('SRID=4674;POINT (-40.042836 -2.841666)'))) / (select extract(epoch from '2026-07-04 11:40:51'::timestamp) - extract(epoch from '2026-07-04 11:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042936 -2.841472)'), GeomFromEWKT('SRID=4674;POINT (-40.042836 -2.841666)'))) / (select extract(epoch from '2026-07-04 11:40:51'::timestamp) - extract(epoch from '2026-07-04 11:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042748 -2.841751)', '2026-07-04 11:41:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042836 -2.841666)'), GeomFromEWKT('SRID=4674;POINT (-40.042748 -2.841751)'))) / (select extract(epoch from '2026-07-04 11:41:00'::timestamp) - extract(epoch from '2026-07-04 11:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042836 -2.841666)'), GeomFromEWKT('SRID=4674;POINT (-40.042748 -2.841751)'))) / (select extract(epoch from '2026-07-04 11:41:00'::timestamp) - extract(epoch from '2026-07-04 11:40: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'), 47624, 'SRID=4674;POINT (-40.042596 -2.841942)', '2026-07-04 11:41:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042748 -2.841751)'), GeomFromEWKT('SRID=4674;POINT (-40.042596 -2.841942)'))) / (select extract(epoch from '2026-07-04 11:41:14'::timestamp) - extract(epoch from '2026-07-04 11:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042748 -2.841751)'), GeomFromEWKT('SRID=4674;POINT (-40.042596 -2.841942)'))) / (select extract(epoch from '2026-07-04 11:41:14'::timestamp) - extract(epoch from '2026-07-04 11:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042502 -2.842147)', '2026-07-04 11:41:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042596 -2.841942)'), GeomFromEWKT('SRID=4674;POINT (-40.042502 -2.842147)'))) / (select extract(epoch from '2026-07-04 11:41:26'::timestamp) - extract(epoch from '2026-07-04 11:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042596 -2.841942)'), GeomFromEWKT('SRID=4674;POINT (-40.042502 -2.842147)'))) / (select extract(epoch from '2026-07-04 11:41:26'::timestamp) - extract(epoch from '2026-07-04 11:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.04243 -2.842431)', '2026-07-04 11:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042502 -2.842147)'), GeomFromEWKT('SRID=4674;POINT (-40.04243 -2.842431)'))) / (select extract(epoch from '2026-07-04 11:41:42'::timestamp) - extract(epoch from '2026-07-04 11:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042502 -2.842147)'), GeomFromEWKT('SRID=4674;POINT (-40.04243 -2.842431)'))) / (select extract(epoch from '2026-07-04 11:41:42'::timestamp) - extract(epoch from '2026-07-04 11:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042386 -2.842756)', '2026-07-04 11:42:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04243 -2.842431)'), GeomFromEWKT('SRID=4674;POINT (-40.042386 -2.842756)'))) / (select extract(epoch from '2026-07-04 11:42:00'::timestamp) - extract(epoch from '2026-07-04 11:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04243 -2.842431)'), GeomFromEWKT('SRID=4674;POINT (-40.042386 -2.842756)'))) / (select extract(epoch from '2026-07-04 11:42:00'::timestamp) - extract(epoch from '2026-07-04 11:41: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'), 47624, 'SRID=4674;POINT (-40.04232 -2.842917)', '2026-07-04 11:42:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042386 -2.842756)'), GeomFromEWKT('SRID=4674;POINT (-40.04232 -2.842917)'))) / (select extract(epoch from '2026-07-04 11:42:11'::timestamp) - extract(epoch from '2026-07-04 11:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042386 -2.842756)'), GeomFromEWKT('SRID=4674;POINT (-40.04232 -2.842917)'))) / (select extract(epoch from '2026-07-04 11:42:11'::timestamp) - extract(epoch from '2026-07-04 11:42: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'), 47624, 'SRID=4674;POINT (-40.042241 -2.84295)', '2026-07-04 11:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04232 -2.842917)'), GeomFromEWKT('SRID=4674;POINT (-40.042241 -2.84295)'))) / (select extract(epoch from '2026-07-04 11:42:20'::timestamp) - extract(epoch from '2026-07-04 11:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04232 -2.842917)'), GeomFromEWKT('SRID=4674;POINT (-40.042241 -2.84295)'))) / (select extract(epoch from '2026-07-04 11:42:20'::timestamp) - extract(epoch from '2026-07-04 11:42: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'), 47624, 'SRID=4674;POINT (-40.042167 -2.843011)', '2026-07-04 11:42:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042241 -2.84295)'), GeomFromEWKT('SRID=4674;POINT (-40.042167 -2.843011)'))) / (select extract(epoch from '2026-07-04 11:42:29'::timestamp) - extract(epoch from '2026-07-04 11:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042241 -2.84295)'), GeomFromEWKT('SRID=4674;POINT (-40.042167 -2.843011)'))) / (select extract(epoch from '2026-07-04 11:42:29'::timestamp) - extract(epoch from '2026-07-04 11:42: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'), 47624, 'SRID=4674;POINT (-40.042169 -2.843125)', '2026-07-04 11:42:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042167 -2.843011)'), GeomFromEWKT('SRID=4674;POINT (-40.042169 -2.843125)'))) / (select extract(epoch from '2026-07-04 11:42:38'::timestamp) - extract(epoch from '2026-07-04 11:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042167 -2.843011)'), GeomFromEWKT('SRID=4674;POINT (-40.042169 -2.843125)'))) / (select extract(epoch from '2026-07-04 11:42:38'::timestamp) - extract(epoch from '2026-07-04 11:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042277 -2.843205)', '2026-07-04 11:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042169 -2.843125)'), GeomFromEWKT('SRID=4674;POINT (-40.042277 -2.843205)'))) / (select extract(epoch from '2026-07-04 11:42:47'::timestamp) - extract(epoch from '2026-07-04 11:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042169 -2.843125)'), GeomFromEWKT('SRID=4674;POINT (-40.042277 -2.843205)'))) / (select extract(epoch from '2026-07-04 11:42:47'::timestamp) - extract(epoch from '2026-07-04 11:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.04236 -2.843253)', '2026-07-04 11:42:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042277 -2.843205)'), GeomFromEWKT('SRID=4674;POINT (-40.04236 -2.843253)'))) / (select extract(epoch from '2026-07-04 11:42:56'::timestamp) - extract(epoch from '2026-07-04 11:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042277 -2.843205)'), GeomFromEWKT('SRID=4674;POINT (-40.04236 -2.843253)'))) / (select extract(epoch from '2026-07-04 11:42:56'::timestamp) - extract(epoch from '2026-07-04 11:42: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'), 47624, 'SRID=4674;POINT (-40.042451 -2.843272)', '2026-07-04 11:43:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04236 -2.843253)'), GeomFromEWKT('SRID=4674;POINT (-40.042451 -2.843272)'))) / (select extract(epoch from '2026-07-04 11:43:07'::timestamp) - extract(epoch from '2026-07-04 11:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04236 -2.843253)'), GeomFromEWKT('SRID=4674;POINT (-40.042451 -2.843272)'))) / (select extract(epoch from '2026-07-04 11:43:07'::timestamp) - extract(epoch from '2026-07-04 11:42:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042591 -2.843287)', '2026-07-04 11:43:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042451 -2.843272)'), GeomFromEWKT('SRID=4674;POINT (-40.042591 -2.843287)'))) / (select extract(epoch from '2026-07-04 11:43:21'::timestamp) - extract(epoch from '2026-07-04 11:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042451 -2.843272)'), GeomFromEWKT('SRID=4674;POINT (-40.042591 -2.843287)'))) / (select extract(epoch from '2026-07-04 11:43:21'::timestamp) - extract(epoch from '2026-07-04 11:43:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042729 -2.843317)', '2026-07-04 11:43:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042591 -2.843287)'), GeomFromEWKT('SRID=4674;POINT (-40.042729 -2.843317)'))) / (select extract(epoch from '2026-07-04 11:43:34'::timestamp) - extract(epoch from '2026-07-04 11:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042591 -2.843287)'), GeomFromEWKT('SRID=4674;POINT (-40.042729 -2.843317)'))) / (select extract(epoch from '2026-07-04 11:43:34'::timestamp) - extract(epoch from '2026-07-04 11:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.042875 -2.84334)', '2026-07-04 11:43:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042729 -2.843317)'), GeomFromEWKT('SRID=4674;POINT (-40.042875 -2.84334)'))) / (select extract(epoch from '2026-07-04 11:43:48'::timestamp) - extract(epoch from '2026-07-04 11:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042729 -2.843317)'), GeomFromEWKT('SRID=4674;POINT (-40.042875 -2.84334)'))) / (select extract(epoch from '2026-07-04 11:43:48'::timestamp) - extract(epoch from '2026-07-04 11:43: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'), 47624, 'SRID=4674;POINT (-40.043033 -2.843324)', '2026-07-04 11:44:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042875 -2.84334)'), GeomFromEWKT('SRID=4674;POINT (-40.043033 -2.843324)'))) / (select extract(epoch from '2026-07-04 11:44:04'::timestamp) - extract(epoch from '2026-07-04 11:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042875 -2.84334)'), GeomFromEWKT('SRID=4674;POINT (-40.043033 -2.843324)'))) / (select extract(epoch from '2026-07-04 11:44:04'::timestamp) - extract(epoch from '2026-07-04 11:43: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'), 47624, 'SRID=4674;POINT (-40.043184 -2.84329)', '2026-07-04 11:44:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043033 -2.843324)'), GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.84329)'))) / (select extract(epoch from '2026-07-04 11:44:20'::timestamp) - extract(epoch from '2026-07-04 11:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043033 -2.843324)'), GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.84329)'))) / (select extract(epoch from '2026-07-04 11:44:20'::timestamp) - extract(epoch from '2026-07-04 11:44: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'), 47624, 'SRID=4674;POINT (-40.043358 -2.843282)', '2026-07-04 11:44:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.84329)'), GeomFromEWKT('SRID=4674;POINT (-40.043358 -2.843282)'))) / (select extract(epoch from '2026-07-04 11:44:38'::timestamp) - extract(epoch from '2026-07-04 11:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043184 -2.84329)'), GeomFromEWKT('SRID=4674;POINT (-40.043358 -2.843282)'))) / (select extract(epoch from '2026-07-04 11:44:38'::timestamp) - extract(epoch from '2026-07-04 11:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47624, 'SRID=4674;POINT (-40.043514 -2.843332)', '2026-07-04 11:44:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043358 -2.843282)'), GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.843332)'))) / (select extract(epoch from '2026-07-04 11:44:56'::timestamp) - extract(epoch from '2026-07-04 11:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043358 -2.843282)'), GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.843332)'))) / (select extract(epoch from '2026-07-04 11:44:56'::timestamp) - extract(epoch from '2026-07-04 11:44: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'), 47624, 'SRID=4674;POINT (-40.043673 -2.843367)', '2026-07-04 11:45:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.843332)'), GeomFromEWKT('SRID=4674;POINT (-40.043673 -2.843367)'))) / (select extract(epoch from '2026-07-04 11:45:16'::timestamp) - extract(epoch from '2026-07-04 11:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043514 -2.843332)'), GeomFromEWKT('SRID=4674;POINT (-40.043673 -2.843367)'))) / (select extract(epoch from '2026-07-04 11:45:16'::timestamp) - extract(epoch from '2026-07-04 11: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'), 47624, 'SRID=4674;POINT (-40.04381 -2.8434)', '2026-07-04 11:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043673 -2.843367)'), GeomFromEWKT('SRID=4674;POINT (-40.04381 -2.8434)'))) / (select extract(epoch from '2026-07-04 11:45:34'::timestamp) - extract(epoch from '2026-07-04 11:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043673 -2.843367)'), GeomFromEWKT('SRID=4674;POINT (-40.04381 -2.8434)'))) / (select extract(epoch from '2026-07-04 11:45:34'::timestamp) - extract(epoch from '2026-07-04 11:45: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'), 47624, 'SRID=4674;POINT (-40.043928 -2.843428)', '2026-07-04 11:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04381 -2.8434)'), GeomFromEWKT('SRID=4674;POINT (-40.043928 -2.843428)'))) / (select extract(epoch from '2026-07-04 11:45:49'::timestamp) - extract(epoch from '2026-07-04 11:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04381 -2.8434)'), GeomFromEWKT('SRID=4674;POINT (-40.043928 -2.843428)'))) / (select extract(epoch from '2026-07-04 11:45:49'::timestamp) - extract(epoch from '2026-07-04 11:45: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'), 47624, 'SRID=4674;POINT (-40.044074 -2.843463)', '2026-07-04 11:46:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043928 -2.843428)'), GeomFromEWKT('SRID=4674;POINT (-40.044074 -2.843463)'))) / (select extract(epoch from '2026-07-04 11:46:08'::timestamp) - extract(epoch from '2026-07-04 11:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043928 -2.843428)'), GeomFromEWKT('SRID=4674;POINT (-40.044074 -2.843463)'))) / (select extract(epoch from '2026-07-04 11:46:08'::timestamp) - extract(epoch from '2026-07-04 11:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
