 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.366072 -3.418642)', '2026-06-08 16:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366132 -3.418739)'), GeomFromEWKT('SRID=4674;POINT (-38.366072 -3.418642)'))) / (select extract(epoch from '2026-06-08 16:12:42'::timestamp) - extract(epoch from '2026-06-08 16:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366132 -3.418739)'), GeomFromEWKT('SRID=4674;POINT (-38.366072 -3.418642)'))) / (select extract(epoch from '2026-06-08 16:12:42'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.365996 -3.418553)', '2026-06-08 16:12:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366072 -3.418642)'), GeomFromEWKT('SRID=4674;POINT (-38.365996 -3.418553)'))) / (select extract(epoch from '2026-06-08 16:12:49'::timestamp) - extract(epoch from '2026-06-08 16:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.366072 -3.418642)'), GeomFromEWKT('SRID=4674;POINT (-38.365996 -3.418553)'))) / (select extract(epoch from '2026-06-08 16:12:49'::timestamp) - extract(epoch from '2026-06-08 16:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.365939 -3.41846)', '2026-06-08 16:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365996 -3.418553)'), GeomFromEWKT('SRID=4674;POINT (-38.365939 -3.41846)'))) / (select extract(epoch from '2026-06-08 16:12:56'::timestamp) - extract(epoch from '2026-06-08 16:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365996 -3.418553)'), GeomFromEWKT('SRID=4674;POINT (-38.365939 -3.41846)'))) / (select extract(epoch from '2026-06-08 16:12:56'::timestamp) - extract(epoch from '2026-06-08 16:12:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.365885 -3.418392)', '2026-06-08 16:13:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365939 -3.41846)'), GeomFromEWKT('SRID=4674;POINT (-38.365885 -3.418392)'))) / (select extract(epoch from '2026-06-08 16:13:01'::timestamp) - extract(epoch from '2026-06-08 16:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365939 -3.41846)'), GeomFromEWKT('SRID=4674;POINT (-38.365885 -3.418392)'))) / (select extract(epoch from '2026-06-08 16:13:01'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.365821 -3.418322)', '2026-06-08 16:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365885 -3.418392)'), GeomFromEWKT('SRID=4674;POINT (-38.365821 -3.418322)'))) / (select extract(epoch from '2026-06-08 16:13:06'::timestamp) - extract(epoch from '2026-06-08 16:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365885 -3.418392)'), GeomFromEWKT('SRID=4674;POINT (-38.365821 -3.418322)'))) / (select extract(epoch from '2026-06-08 16:13:06'::timestamp) - extract(epoch from '2026-06-08 16:13: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'), 46534, 'SRID=4674;POINT (-38.365744 -3.418223)', '2026-06-08 16:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365821 -3.418322)'), GeomFromEWKT('SRID=4674;POINT (-38.365744 -3.418223)'))) / (select extract(epoch from '2026-06-08 16:13:13'::timestamp) - extract(epoch from '2026-06-08 16:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365821 -3.418322)'), GeomFromEWKT('SRID=4674;POINT (-38.365744 -3.418223)'))) / (select extract(epoch from '2026-06-08 16:13:13'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.365684 -3.418138)', '2026-06-08 16:13:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365744 -3.418223)'), GeomFromEWKT('SRID=4674;POINT (-38.365684 -3.418138)'))) / (select extract(epoch from '2026-06-08 16:13:19'::timestamp) - extract(epoch from '2026-06-08 16:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365744 -3.418223)'), GeomFromEWKT('SRID=4674;POINT (-38.365684 -3.418138)'))) / (select extract(epoch from '2026-06-08 16:13:19'::timestamp) - extract(epoch from '2026-06-08 16:13: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'), 46534, 'SRID=4674;POINT (-38.365674 -3.418123)', '2026-06-08 16:13:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365684 -3.418138)'), GeomFromEWKT('SRID=4674;POINT (-38.365674 -3.418123)'))) / (select extract(epoch from '2026-06-08 16:13:20'::timestamp) - extract(epoch from '2026-06-08 16:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365684 -3.418138)'), GeomFromEWKT('SRID=4674;POINT (-38.365674 -3.418123)'))) / (select extract(epoch from '2026-06-08 16:13:20'::timestamp) - extract(epoch from '2026-06-08 16:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.365633 -3.418057)', '2026-06-08 16:13:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365674 -3.418123)'), GeomFromEWKT('SRID=4674;POINT (-38.365633 -3.418057)'))) / (select extract(epoch from '2026-06-08 16:13:24'::timestamp) - extract(epoch from '2026-06-08 16:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365674 -3.418123)'), GeomFromEWKT('SRID=4674;POINT (-38.365633 -3.418057)'))) / (select extract(epoch from '2026-06-08 16:13:24'::timestamp) - extract(epoch from '2026-06-08 16:13: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'), 46534, 'SRID=4674;POINT (-38.365561 -3.417957)', '2026-06-08 16:13:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365633 -3.418057)'), GeomFromEWKT('SRID=4674;POINT (-38.365561 -3.417957)'))) / (select extract(epoch from '2026-06-08 16:13:31'::timestamp) - extract(epoch from '2026-06-08 16:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365633 -3.418057)'), GeomFromEWKT('SRID=4674;POINT (-38.365561 -3.417957)'))) / (select extract(epoch from '2026-06-08 16:13:31'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.365489 -3.417833)', '2026-06-08 16:13:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365561 -3.417957)'), GeomFromEWKT('SRID=4674;POINT (-38.365489 -3.417833)'))) / (select extract(epoch from '2026-06-08 16:13:39'::timestamp) - extract(epoch from '2026-06-08 16:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365561 -3.417957)'), GeomFromEWKT('SRID=4674;POINT (-38.365489 -3.417833)'))) / (select extract(epoch from '2026-06-08 16:13:39'::timestamp) - extract(epoch from '2026-06-08 16:13:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.365429 -3.41773)', '2026-06-08 16:13:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365489 -3.417833)'), GeomFromEWKT('SRID=4674;POINT (-38.365429 -3.41773)'))) / (select extract(epoch from '2026-06-08 16:13:47'::timestamp) - extract(epoch from '2026-06-08 16:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365489 -3.417833)'), GeomFromEWKT('SRID=4674;POINT (-38.365429 -3.41773)'))) / (select extract(epoch from '2026-06-08 16:13:47'::timestamp) - extract(epoch from '2026-06-08 16:13: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'), 46534, 'SRID=4674;POINT (-38.365381 -3.417649)', '2026-06-08 16:13:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365429 -3.41773)'), GeomFromEWKT('SRID=4674;POINT (-38.365381 -3.417649)'))) / (select extract(epoch from '2026-06-08 16:13:53'::timestamp) - extract(epoch from '2026-06-08 16:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365429 -3.41773)'), GeomFromEWKT('SRID=4674;POINT (-38.365381 -3.417649)'))) / (select extract(epoch from '2026-06-08 16:13:53'::timestamp) - extract(epoch from '2026-06-08 16:13: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'), 46534, 'SRID=4674;POINT (-38.365318 -3.417563)', '2026-06-08 16:13:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365381 -3.417649)'), GeomFromEWKT('SRID=4674;POINT (-38.365318 -3.417563)'))) / (select extract(epoch from '2026-06-08 16:13:59'::timestamp) - extract(epoch from '2026-06-08 16:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365381 -3.417649)'), GeomFromEWKT('SRID=4674;POINT (-38.365318 -3.417563)'))) / (select extract(epoch from '2026-06-08 16:13:59'::timestamp) - extract(epoch from '2026-06-08 16:13: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'), 46534, 'SRID=4674;POINT (-38.365261 -3.417459)', '2026-06-08 16:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365318 -3.417563)'), GeomFromEWKT('SRID=4674;POINT (-38.365261 -3.417459)'))) / (select extract(epoch from '2026-06-08 16:14:06'::timestamp) - extract(epoch from '2026-06-08 16:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365318 -3.417563)'), GeomFromEWKT('SRID=4674;POINT (-38.365261 -3.417459)'))) / (select extract(epoch from '2026-06-08 16:14:06'::timestamp) - extract(epoch from '2026-06-08 16:13: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'), 46534, 'SRID=4674;POINT (-38.365186 -3.417344)', '2026-06-08 16:14:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365261 -3.417459)'), GeomFromEWKT('SRID=4674;POINT (-38.365186 -3.417344)'))) / (select extract(epoch from '2026-06-08 16:14:14'::timestamp) - extract(epoch from '2026-06-08 16:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365261 -3.417459)'), GeomFromEWKT('SRID=4674;POINT (-38.365186 -3.417344)'))) / (select extract(epoch from '2026-06-08 16:14:14'::timestamp) - extract(epoch from '2026-06-08 16:14:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.365145 -3.417279)', '2026-06-08 16:14:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365186 -3.417344)'), GeomFromEWKT('SRID=4674;POINT (-38.365145 -3.417279)'))) / (select extract(epoch from '2026-06-08 16:14:19'::timestamp) - extract(epoch from '2026-06-08 16:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365186 -3.417344)'), GeomFromEWKT('SRID=4674;POINT (-38.365145 -3.417279)'))) / (select extract(epoch from '2026-06-08 16:14:19'::timestamp) - extract(epoch from '2026-06-08 16:14: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'), 46534, 'SRID=4674;POINT (-38.365091 -3.417177)', '2026-06-08 16:14:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365145 -3.417279)'), GeomFromEWKT('SRID=4674;POINT (-38.365091 -3.417177)'))) / (select extract(epoch from '2026-06-08 16:14:26'::timestamp) - extract(epoch from '2026-06-08 16:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365145 -3.417279)'), GeomFromEWKT('SRID=4674;POINT (-38.365091 -3.417177)'))) / (select extract(epoch from '2026-06-08 16:14:26'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.365028 -3.417055)', '2026-06-08 16:14:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365091 -3.417177)'), GeomFromEWKT('SRID=4674;POINT (-38.365028 -3.417055)'))) / (select extract(epoch from '2026-06-08 16:14:34'::timestamp) - extract(epoch from '2026-06-08 16:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365091 -3.417177)'), GeomFromEWKT('SRID=4674;POINT (-38.365028 -3.417055)'))) / (select extract(epoch from '2026-06-08 16:14:34'::timestamp) - extract(epoch from '2026-06-08 16:14:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.364986 -3.41694)', '2026-06-08 16:14:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365028 -3.417055)'), GeomFromEWKT('SRID=4674;POINT (-38.364986 -3.41694)'))) / (select extract(epoch from '2026-06-08 16:14:41'::timestamp) - extract(epoch from '2026-06-08 16:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.365028 -3.417055)'), GeomFromEWKT('SRID=4674;POINT (-38.364986 -3.41694)'))) / (select extract(epoch from '2026-06-08 16:14:41'::timestamp) - extract(epoch from '2026-06-08 16:14: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'), 46534, 'SRID=4674;POINT (-38.364931 -3.416814)', '2026-06-08 16:14:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364986 -3.41694)'), GeomFromEWKT('SRID=4674;POINT (-38.364931 -3.416814)'))) / (select extract(epoch from '2026-06-08 16:14:49'::timestamp) - extract(epoch from '2026-06-08 16:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364986 -3.41694)'), GeomFromEWKT('SRID=4674;POINT (-38.364931 -3.416814)'))) / (select extract(epoch from '2026-06-08 16:14:49'::timestamp) - extract(epoch from '2026-06-08 16:14: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'), 46534, 'SRID=4674;POINT (-38.364865 -3.41667)', '2026-06-08 16:14:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364931 -3.416814)'), GeomFromEWKT('SRID=4674;POINT (-38.364865 -3.41667)'))) / (select extract(epoch from '2026-06-08 16:14:57'::timestamp) - extract(epoch from '2026-06-08 16:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364931 -3.416814)'), GeomFromEWKT('SRID=4674;POINT (-38.364865 -3.41667)'))) / (select extract(epoch from '2026-06-08 16:14:57'::timestamp) - extract(epoch from '2026-06-08 16:14: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'), 46534, 'SRID=4674;POINT (-38.364823 -3.416549)', '2026-06-08 16:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364865 -3.41667)'), GeomFromEWKT('SRID=4674;POINT (-38.364823 -3.416549)'))) / (select extract(epoch from '2026-06-08 16:15:04'::timestamp) - extract(epoch from '2026-06-08 16:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364865 -3.41667)'), GeomFromEWKT('SRID=4674;POINT (-38.364823 -3.416549)'))) / (select extract(epoch from '2026-06-08 16:15:04'::timestamp) - extract(epoch from '2026-06-08 16:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.36478 -3.416426)', '2026-06-08 16:15:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364823 -3.416549)'), GeomFromEWKT('SRID=4674;POINT (-38.36478 -3.416426)'))) / (select extract(epoch from '2026-06-08 16:15:11'::timestamp) - extract(epoch from '2026-06-08 16:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364823 -3.416549)'), GeomFromEWKT('SRID=4674;POINT (-38.36478 -3.416426)'))) / (select extract(epoch from '2026-06-08 16:15:11'::timestamp) - extract(epoch from '2026-06-08 16:15: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'), 46534, 'SRID=4674;POINT (-38.364731 -3.416308)', '2026-06-08 16:15:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36478 -3.416426)'), GeomFromEWKT('SRID=4674;POINT (-38.364731 -3.416308)'))) / (select extract(epoch from '2026-06-08 16:15:18'::timestamp) - extract(epoch from '2026-06-08 16:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36478 -3.416426)'), GeomFromEWKT('SRID=4674;POINT (-38.364731 -3.416308)'))) / (select extract(epoch from '2026-06-08 16:15:18'::timestamp) - extract(epoch from '2026-06-08 16:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.364681 -3.416175)', '2026-06-08 16:15:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364731 -3.416308)'), GeomFromEWKT('SRID=4674;POINT (-38.364681 -3.416175)'))) / (select extract(epoch from '2026-06-08 16:15:26'::timestamp) - extract(epoch from '2026-06-08 16:15:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364731 -3.416308)'), GeomFromEWKT('SRID=4674;POINT (-38.364681 -3.416175)'))) / (select extract(epoch from '2026-06-08 16:15:26'::timestamp) - extract(epoch from '2026-06-08 16:15:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.364638 -3.416071)', '2026-06-08 16:15:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364681 -3.416175)'), GeomFromEWKT('SRID=4674;POINT (-38.364638 -3.416071)'))) / (select extract(epoch from '2026-06-08 16:15:32'::timestamp) - extract(epoch from '2026-06-08 16:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364681 -3.416175)'), GeomFromEWKT('SRID=4674;POINT (-38.364638 -3.416071)'))) / (select extract(epoch from '2026-06-08 16:15:32'::timestamp) - extract(epoch from '2026-06-08 16:15: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'), 46534, 'SRID=4674;POINT (-38.364595 -3.415967)', '2026-06-08 16:15:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364638 -3.416071)'), GeomFromEWKT('SRID=4674;POINT (-38.364595 -3.415967)'))) / (select extract(epoch from '2026-06-08 16:15:38'::timestamp) - extract(epoch from '2026-06-08 16:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364638 -3.416071)'), GeomFromEWKT('SRID=4674;POINT (-38.364595 -3.415967)'))) / (select extract(epoch from '2026-06-08 16:15:38'::timestamp) - extract(epoch from '2026-06-08 16:15: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'), 46534, 'SRID=4674;POINT (-38.364553 -3.415873)', '2026-06-08 16:15:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364595 -3.415967)'), GeomFromEWKT('SRID=4674;POINT (-38.364553 -3.415873)'))) / (select extract(epoch from '2026-06-08 16:15:44'::timestamp) - extract(epoch from '2026-06-08 16:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364595 -3.415967)'), GeomFromEWKT('SRID=4674;POINT (-38.364553 -3.415873)'))) / (select extract(epoch from '2026-06-08 16:15:44'::timestamp) - extract(epoch from '2026-06-08 16:15:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.364507 -3.415775)', '2026-06-08 16:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364553 -3.415873)'), GeomFromEWKT('SRID=4674;POINT (-38.364507 -3.415775)'))) / (select extract(epoch from '2026-06-08 16:15:50'::timestamp) - extract(epoch from '2026-06-08 16:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364553 -3.415873)'), GeomFromEWKT('SRID=4674;POINT (-38.364507 -3.415775)'))) / (select extract(epoch from '2026-06-08 16:15:50'::timestamp) - extract(epoch from '2026-06-08 16:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.364433 -3.415621)', '2026-06-08 16:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364507 -3.415775)'), GeomFromEWKT('SRID=4674;POINT (-38.364433 -3.415621)'))) / (select extract(epoch from '2026-06-08 16:15:58'::timestamp) - extract(epoch from '2026-06-08 16:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364507 -3.415775)'), GeomFromEWKT('SRID=4674;POINT (-38.364433 -3.415621)'))) / (select extract(epoch from '2026-06-08 16:15:58'::timestamp) - extract(epoch from '2026-06-08 16:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.364374 -3.415507)', '2026-06-08 16:16:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364433 -3.415621)'), GeomFromEWKT('SRID=4674;POINT (-38.364374 -3.415507)'))) / (select extract(epoch from '2026-06-08 16:16:05'::timestamp) - extract(epoch from '2026-06-08 16:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364433 -3.415621)'), GeomFromEWKT('SRID=4674;POINT (-38.364374 -3.415507)'))) / (select extract(epoch from '2026-06-08 16:16:05'::timestamp) - extract(epoch from '2026-06-08 16:15: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'), 46534, 'SRID=4674;POINT (-38.364331 -3.415406)', '2026-06-08 16:16:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364374 -3.415507)'), GeomFromEWKT('SRID=4674;POINT (-38.364331 -3.415406)'))) / (select extract(epoch from '2026-06-08 16:16:11'::timestamp) - extract(epoch from '2026-06-08 16:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364374 -3.415507)'), GeomFromEWKT('SRID=4674;POINT (-38.364331 -3.415406)'))) / (select extract(epoch from '2026-06-08 16:16:11'::timestamp) - extract(epoch from '2026-06-08 16:16: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'), 46534, 'SRID=4674;POINT (-38.364279 -3.415306)', '2026-06-08 16:16:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364331 -3.415406)'), GeomFromEWKT('SRID=4674;POINT (-38.364279 -3.415306)'))) / (select extract(epoch from '2026-06-08 16:16:17'::timestamp) - extract(epoch from '2026-06-08 16:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364331 -3.415406)'), GeomFromEWKT('SRID=4674;POINT (-38.364279 -3.415306)'))) / (select extract(epoch from '2026-06-08 16:16:17'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.364231 -3.415207)', '2026-06-08 16:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364279 -3.415306)'), GeomFromEWKT('SRID=4674;POINT (-38.364231 -3.415207)'))) / (select extract(epoch from '2026-06-08 16:16:23'::timestamp) - extract(epoch from '2026-06-08 16:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364279 -3.415306)'), GeomFromEWKT('SRID=4674;POINT (-38.364231 -3.415207)'))) / (select extract(epoch from '2026-06-08 16:16:23'::timestamp) - extract(epoch from '2026-06-08 16:16: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'), 46534, 'SRID=4674;POINT (-38.364183 -3.415106)', '2026-06-08 16:16:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364231 -3.415207)'), GeomFromEWKT('SRID=4674;POINT (-38.364183 -3.415106)'))) / (select extract(epoch from '2026-06-08 16:16:29'::timestamp) - extract(epoch from '2026-06-08 16:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364231 -3.415207)'), GeomFromEWKT('SRID=4674;POINT (-38.364183 -3.415106)'))) / (select extract(epoch from '2026-06-08 16:16:29'::timestamp) - extract(epoch from '2026-06-08 16:16: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'), 46534, 'SRID=4674;POINT (-38.36413 -3.414985)', '2026-06-08 16:16:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364183 -3.415106)'), GeomFromEWKT('SRID=4674;POINT (-38.36413 -3.414985)'))) / (select extract(epoch from '2026-06-08 16:16:36'::timestamp) - extract(epoch from '2026-06-08 16:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364183 -3.415106)'), GeomFromEWKT('SRID=4674;POINT (-38.36413 -3.414985)'))) / (select extract(epoch from '2026-06-08 16:16:36'::timestamp) - extract(epoch from '2026-06-08 16:16:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.364091 -3.414884)', '2026-06-08 16:16:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36413 -3.414985)'), GeomFromEWKT('SRID=4674;POINT (-38.364091 -3.414884)'))) / (select extract(epoch from '2026-06-08 16:16:42'::timestamp) - extract(epoch from '2026-06-08 16:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36413 -3.414985)'), GeomFromEWKT('SRID=4674;POINT (-38.364091 -3.414884)'))) / (select extract(epoch from '2026-06-08 16:16:42'::timestamp) - extract(epoch from '2026-06-08 16:16: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'), 46534, 'SRID=4674;POINT (-38.364054 -3.414782)', '2026-06-08 16:16:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364091 -3.414884)'), GeomFromEWKT('SRID=4674;POINT (-38.364054 -3.414782)'))) / (select extract(epoch from '2026-06-08 16:16:48'::timestamp) - extract(epoch from '2026-06-08 16:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364091 -3.414884)'), GeomFromEWKT('SRID=4674;POINT (-38.364054 -3.414782)'))) / (select extract(epoch from '2026-06-08 16:16:48'::timestamp) - extract(epoch from '2026-06-08 16:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.364005 -3.414659)', '2026-06-08 16:16:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364054 -3.414782)'), GeomFromEWKT('SRID=4674;POINT (-38.364005 -3.414659)'))) / (select extract(epoch from '2026-06-08 16:16:55'::timestamp) - extract(epoch from '2026-06-08 16:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364054 -3.414782)'), GeomFromEWKT('SRID=4674;POINT (-38.364005 -3.414659)'))) / (select extract(epoch from '2026-06-08 16:16:55'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.363957 -3.414542)', '2026-06-08 16:17:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364005 -3.414659)'), GeomFromEWKT('SRID=4674;POINT (-38.363957 -3.414542)'))) / (select extract(epoch from '2026-06-08 16:17:02'::timestamp) - extract(epoch from '2026-06-08 16:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.364005 -3.414659)'), GeomFromEWKT('SRID=4674;POINT (-38.363957 -3.414542)'))) / (select extract(epoch from '2026-06-08 16:17:02'::timestamp) - extract(epoch from '2026-06-08 16:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.363895 -3.414409)', '2026-06-08 16:17:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363957 -3.414542)'), GeomFromEWKT('SRID=4674;POINT (-38.363895 -3.414409)'))) / (select extract(epoch from '2026-06-08 16:17:10'::timestamp) - extract(epoch from '2026-06-08 16:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363957 -3.414542)'), GeomFromEWKT('SRID=4674;POINT (-38.363895 -3.414409)'))) / (select extract(epoch from '2026-06-08 16:17:10'::timestamp) - extract(epoch from '2026-06-08 16:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.363832 -3.414284)', '2026-06-08 16:17:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363895 -3.414409)'), GeomFromEWKT('SRID=4674;POINT (-38.363832 -3.414284)'))) / (select extract(epoch from '2026-06-08 16:17:17'::timestamp) - extract(epoch from '2026-06-08 16:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363895 -3.414409)'), GeomFromEWKT('SRID=4674;POINT (-38.363832 -3.414284)'))) / (select extract(epoch from '2026-06-08 16:17:17'::timestamp) - extract(epoch from '2026-06-08 16:17: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'), 46534, 'SRID=4674;POINT (-38.363822 -3.41427)', '2026-06-08 16:17:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363832 -3.414284)'), GeomFromEWKT('SRID=4674;POINT (-38.363822 -3.41427)'))) / (select extract(epoch from '2026-06-08 16:17:18'::timestamp) - extract(epoch from '2026-06-08 16:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363832 -3.414284)'), GeomFromEWKT('SRID=4674;POINT (-38.363822 -3.41427)'))) / (select extract(epoch from '2026-06-08 16:17:18'::timestamp) - extract(epoch from '2026-06-08 16:17: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'), 46534, 'SRID=4674;POINT (-38.363793 -3.414218)', '2026-06-08 16:17:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363822 -3.41427)'), GeomFromEWKT('SRID=4674;POINT (-38.363793 -3.414218)'))) / (select extract(epoch from '2026-06-08 16:17:21'::timestamp) - extract(epoch from '2026-06-08 16:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363822 -3.41427)'), GeomFromEWKT('SRID=4674;POINT (-38.363793 -3.414218)'))) / (select extract(epoch from '2026-06-08 16:17:21'::timestamp) - extract(epoch from '2026-06-08 16:17: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'), 46534, 'SRID=4674;POINT (-38.363748 -3.414114)', '2026-06-08 16:17:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363793 -3.414218)'), GeomFromEWKT('SRID=4674;POINT (-38.363748 -3.414114)'))) / (select extract(epoch from '2026-06-08 16:17:27'::timestamp) - extract(epoch from '2026-06-08 16:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363793 -3.414218)'), GeomFromEWKT('SRID=4674;POINT (-38.363748 -3.414114)'))) / (select extract(epoch from '2026-06-08 16:17:27'::timestamp) - extract(epoch from '2026-06-08 16:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.363697 -3.413995)', '2026-06-08 16:17:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363748 -3.414114)'), GeomFromEWKT('SRID=4674;POINT (-38.363697 -3.413995)'))) / (select extract(epoch from '2026-06-08 16:17:34'::timestamp) - extract(epoch from '2026-06-08 16:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363748 -3.414114)'), GeomFromEWKT('SRID=4674;POINT (-38.363697 -3.413995)'))) / (select extract(epoch from '2026-06-08 16:17:34'::timestamp) - extract(epoch from '2026-06-08 16:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.363639 -3.413874)', '2026-06-08 16:17:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363697 -3.413995)'), GeomFromEWKT('SRID=4674;POINT (-38.363639 -3.413874)'))) / (select extract(epoch from '2026-06-08 16:17:41'::timestamp) - extract(epoch from '2026-06-08 16:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363697 -3.413995)'), GeomFromEWKT('SRID=4674;POINT (-38.363639 -3.413874)'))) / (select extract(epoch from '2026-06-08 16:17:41'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.363583 -3.413777)', '2026-06-08 16:17:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363639 -3.413874)'), GeomFromEWKT('SRID=4674;POINT (-38.363583 -3.413777)'))) / (select extract(epoch from '2026-06-08 16:17:47'::timestamp) - extract(epoch from '2026-06-08 16:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363639 -3.413874)'), GeomFromEWKT('SRID=4674;POINT (-38.363583 -3.413777)'))) / (select extract(epoch from '2026-06-08 16:17:47'::timestamp) - extract(epoch from '2026-06-08 16:17: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'), 46534, 'SRID=4674;POINT (-38.363537 -3.41369)', '2026-06-08 16:17:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363583 -3.413777)'), GeomFromEWKT('SRID=4674;POINT (-38.363537 -3.41369)'))) / (select extract(epoch from '2026-06-08 16:17:53'::timestamp) - extract(epoch from '2026-06-08 16:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363583 -3.413777)'), GeomFromEWKT('SRID=4674;POINT (-38.363537 -3.41369)'))) / (select extract(epoch from '2026-06-08 16:17:53'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.363478 -3.413595)', '2026-06-08 16:18:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363537 -3.41369)'), GeomFromEWKT('SRID=4674;POINT (-38.363478 -3.413595)'))) / (select extract(epoch from '2026-06-08 16:18:00'::timestamp) - extract(epoch from '2026-06-08 16:17:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363537 -3.41369)'), GeomFromEWKT('SRID=4674;POINT (-38.363478 -3.413595)'))) / (select extract(epoch from '2026-06-08 16:18:00'::timestamp) - extract(epoch from '2026-06-08 16:17:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.363431 -3.413516)', '2026-06-08 16:18:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363478 -3.413595)'), GeomFromEWKT('SRID=4674;POINT (-38.363431 -3.413516)'))) / (select extract(epoch from '2026-06-08 16:18:05'::timestamp) - extract(epoch from '2026-06-08 16:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363478 -3.413595)'), GeomFromEWKT('SRID=4674;POINT (-38.363431 -3.413516)'))) / (select extract(epoch from '2026-06-08 16:18:05'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.363404 -3.413442)', '2026-06-08 16:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363431 -3.413516)'), GeomFromEWKT('SRID=4674;POINT (-38.363404 -3.413442)'))) / (select extract(epoch from '2026-06-08 16:18:10'::timestamp) - extract(epoch from '2026-06-08 16:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363431 -3.413516)'), GeomFromEWKT('SRID=4674;POINT (-38.363404 -3.413442)'))) / (select extract(epoch from '2026-06-08 16:18:10'::timestamp) - extract(epoch from '2026-06-08 16:18:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.363363 -3.413333)', '2026-06-08 16:18:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363404 -3.413442)'), GeomFromEWKT('SRID=4674;POINT (-38.363363 -3.413333)'))) / (select extract(epoch from '2026-06-08 16:18:17'::timestamp) - extract(epoch from '2026-06-08 16:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363404 -3.413442)'), GeomFromEWKT('SRID=4674;POINT (-38.363363 -3.413333)'))) / (select extract(epoch from '2026-06-08 16:18:17'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.363323 -3.413226)', '2026-06-08 16:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363363 -3.413333)'), GeomFromEWKT('SRID=4674;POINT (-38.363323 -3.413226)'))) / (select extract(epoch from '2026-06-08 16:18:24'::timestamp) - extract(epoch from '2026-06-08 16:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363363 -3.413333)'), GeomFromEWKT('SRID=4674;POINT (-38.363323 -3.413226)'))) / (select extract(epoch from '2026-06-08 16:18:24'::timestamp) - extract(epoch from '2026-06-08 16:18:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.363269 -3.413134)', '2026-06-08 16:18:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363323 -3.413226)'), GeomFromEWKT('SRID=4674;POINT (-38.363269 -3.413134)'))) / (select extract(epoch from '2026-06-08 16:18:30'::timestamp) - extract(epoch from '2026-06-08 16:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363323 -3.413226)'), GeomFromEWKT('SRID=4674;POINT (-38.363269 -3.413134)'))) / (select extract(epoch from '2026-06-08 16:18:30'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.363223 -3.413052)', '2026-06-08 16:18:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363269 -3.413134)'), GeomFromEWKT('SRID=4674;POINT (-38.363223 -3.413052)'))) / (select extract(epoch from '2026-06-08 16:18:35'::timestamp) - extract(epoch from '2026-06-08 16:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363269 -3.413134)'), GeomFromEWKT('SRID=4674;POINT (-38.363223 -3.413052)'))) / (select extract(epoch from '2026-06-08 16:18:35'::timestamp) - extract(epoch from '2026-06-08 16:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.363212 -3.41304)', '2026-06-08 16:18:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363223 -3.413052)'), GeomFromEWKT('SRID=4674;POINT (-38.363212 -3.41304)'))) / (select extract(epoch from '2026-06-08 16:18:36'::timestamp) - extract(epoch from '2026-06-08 16:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363223 -3.413052)'), GeomFromEWKT('SRID=4674;POINT (-38.363212 -3.41304)'))) / (select extract(epoch from '2026-06-08 16:18:36'::timestamp) - extract(epoch from '2026-06-08 16:18: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'), 46534, 'SRID=4674;POINT (-38.363157 -3.412947)', '2026-06-08 16:18:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363212 -3.41304)'), GeomFromEWKT('SRID=4674;POINT (-38.363157 -3.412947)'))) / (select extract(epoch from '2026-06-08 16:18:42'::timestamp) - extract(epoch from '2026-06-08 16:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363212 -3.41304)'), GeomFromEWKT('SRID=4674;POINT (-38.363157 -3.412947)'))) / (select extract(epoch from '2026-06-08 16:18:42'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.363105 -3.412842)', '2026-06-08 16:18:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363157 -3.412947)'), GeomFromEWKT('SRID=4674;POINT (-38.363105 -3.412842)'))) / (select extract(epoch from '2026-06-08 16:18:49'::timestamp) - extract(epoch from '2026-06-08 16:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363157 -3.412947)'), GeomFromEWKT('SRID=4674;POINT (-38.363105 -3.412842)'))) / (select extract(epoch from '2026-06-08 16:18:49'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.363047 -3.412735)', '2026-06-08 16:18:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363105 -3.412842)'), GeomFromEWKT('SRID=4674;POINT (-38.363047 -3.412735)'))) / (select extract(epoch from '2026-06-08 16:18:56'::timestamp) - extract(epoch from '2026-06-08 16:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363105 -3.412842)'), GeomFromEWKT('SRID=4674;POINT (-38.363047 -3.412735)'))) / (select extract(epoch from '2026-06-08 16:18:56'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.362983 -3.412623)', '2026-06-08 16:19:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363047 -3.412735)'), GeomFromEWKT('SRID=4674;POINT (-38.362983 -3.412623)'))) / (select extract(epoch from '2026-06-08 16:19:03'::timestamp) - extract(epoch from '2026-06-08 16:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.363047 -3.412735)'), GeomFromEWKT('SRID=4674;POINT (-38.362983 -3.412623)'))) / (select extract(epoch from '2026-06-08 16:19:03'::timestamp) - extract(epoch from '2026-06-08 16:18: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'), 46534, 'SRID=4674;POINT (-38.362899 -3.412505)', '2026-06-08 16:19:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362983 -3.412623)'), GeomFromEWKT('SRID=4674;POINT (-38.362899 -3.412505)'))) / (select extract(epoch from '2026-06-08 16:19:11'::timestamp) - extract(epoch from '2026-06-08 16:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362983 -3.412623)'), GeomFromEWKT('SRID=4674;POINT (-38.362899 -3.412505)'))) / (select extract(epoch from '2026-06-08 16:19:11'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.362845 -3.41241)', '2026-06-08 16:19:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362899 -3.412505)'), GeomFromEWKT('SRID=4674;POINT (-38.362845 -3.41241)'))) / (select extract(epoch from '2026-06-08 16:19:17'::timestamp) - extract(epoch from '2026-06-08 16:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362899 -3.412505)'), GeomFromEWKT('SRID=4674;POINT (-38.362845 -3.41241)'))) / (select extract(epoch from '2026-06-08 16:19:17'::timestamp) - extract(epoch from '2026-06-08 16:19: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'), 46534, 'SRID=4674;POINT (-38.362788 -3.412305)', '2026-06-08 16:19:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362845 -3.41241)'), GeomFromEWKT('SRID=4674;POINT (-38.362788 -3.412305)'))) / (select extract(epoch from '2026-06-08 16:19:24'::timestamp) - extract(epoch from '2026-06-08 16:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362845 -3.41241)'), GeomFromEWKT('SRID=4674;POINT (-38.362788 -3.412305)'))) / (select extract(epoch from '2026-06-08 16:19:24'::timestamp) - extract(epoch from '2026-06-08 16:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.362743 -3.412198)', '2026-06-08 16:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362788 -3.412305)'), GeomFromEWKT('SRID=4674;POINT (-38.362743 -3.412198)'))) / (select extract(epoch from '2026-06-08 16:19:31'::timestamp) - extract(epoch from '2026-06-08 16:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362788 -3.412305)'), GeomFromEWKT('SRID=4674;POINT (-38.362743 -3.412198)'))) / (select extract(epoch from '2026-06-08 16:19:31'::timestamp) - extract(epoch from '2026-06-08 16:19:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.362702 -3.412077)', '2026-06-08 16:19:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362743 -3.412198)'), GeomFromEWKT('SRID=4674;POINT (-38.362702 -3.412077)'))) / (select extract(epoch from '2026-06-08 16:19:38'::timestamp) - extract(epoch from '2026-06-08 16:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362743 -3.412198)'), GeomFromEWKT('SRID=4674;POINT (-38.362702 -3.412077)'))) / (select extract(epoch from '2026-06-08 16:19:38'::timestamp) - extract(epoch from '2026-06-08 16:19: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'), 46534, 'SRID=4674;POINT (-38.362664 -3.411962)', '2026-06-08 16:19:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362702 -3.412077)'), GeomFromEWKT('SRID=4674;POINT (-38.362664 -3.411962)'))) / (select extract(epoch from '2026-06-08 16:19:45'::timestamp) - extract(epoch from '2026-06-08 16:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362702 -3.412077)'), GeomFromEWKT('SRID=4674;POINT (-38.362664 -3.411962)'))) / (select extract(epoch from '2026-06-08 16:19:45'::timestamp) - extract(epoch from '2026-06-08 16:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.362611 -3.411835)', '2026-06-08 16:19:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362664 -3.411962)'), GeomFromEWKT('SRID=4674;POINT (-38.362611 -3.411835)'))) / (select extract(epoch from '2026-06-08 16:19:52'::timestamp) - extract(epoch from '2026-06-08 16:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362664 -3.411962)'), GeomFromEWKT('SRID=4674;POINT (-38.362611 -3.411835)'))) / (select extract(epoch from '2026-06-08 16:19:52'::timestamp) - extract(epoch from '2026-06-08 16:19:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.362563 -3.411729)', '2026-06-08 16:19:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362611 -3.411835)'), GeomFromEWKT('SRID=4674;POINT (-38.362563 -3.411729)'))) / (select extract(epoch from '2026-06-08 16:19:58'::timestamp) - extract(epoch from '2026-06-08 16:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362611 -3.411835)'), GeomFromEWKT('SRID=4674;POINT (-38.362563 -3.411729)'))) / (select extract(epoch from '2026-06-08 16:19:58'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.362528 -3.411646)', '2026-06-08 16:20:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362563 -3.411729)'), GeomFromEWKT('SRID=4674;POINT (-38.362528 -3.411646)'))) / (select extract(epoch from '2026-06-08 16:20:03'::timestamp) - extract(epoch from '2026-06-08 16:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362563 -3.411729)'), GeomFromEWKT('SRID=4674;POINT (-38.362528 -3.411646)'))) / (select extract(epoch from '2026-06-08 16:20:03'::timestamp) - extract(epoch from '2026-06-08 16:19: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'), 46534, 'SRID=4674;POINT (-38.362479 -3.411521)', '2026-06-08 16:20:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362528 -3.411646)'), GeomFromEWKT('SRID=4674;POINT (-38.362479 -3.411521)'))) / (select extract(epoch from '2026-06-08 16:20:10'::timestamp) - extract(epoch from '2026-06-08 16:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362528 -3.411646)'), GeomFromEWKT('SRID=4674;POINT (-38.362479 -3.411521)'))) / (select extract(epoch from '2026-06-08 16:20:10'::timestamp) - extract(epoch from '2026-06-08 16:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.36244 -3.411406)', '2026-06-08 16:20:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362479 -3.411521)'), GeomFromEWKT('SRID=4674;POINT (-38.36244 -3.411406)'))) / (select extract(epoch from '2026-06-08 16:20:17'::timestamp) - extract(epoch from '2026-06-08 16:20:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362479 -3.411521)'), GeomFromEWKT('SRID=4674;POINT (-38.36244 -3.411406)'))) / (select extract(epoch from '2026-06-08 16:20:17'::timestamp) - extract(epoch from '2026-06-08 16:20:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.362385 -3.411274)', '2026-06-08 16:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36244 -3.411406)'), GeomFromEWKT('SRID=4674;POINT (-38.362385 -3.411274)'))) / (select extract(epoch from '2026-06-08 16:20:25'::timestamp) - extract(epoch from '2026-06-08 16:20:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36244 -3.411406)'), GeomFromEWKT('SRID=4674;POINT (-38.362385 -3.411274)'))) / (select extract(epoch from '2026-06-08 16:20:25'::timestamp) - extract(epoch from '2026-06-08 16:20: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'), 46534, 'SRID=4674;POINT (-38.362333 -3.411125)', '2026-06-08 16:20:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362385 -3.411274)'), GeomFromEWKT('SRID=4674;POINT (-38.362333 -3.411125)'))) / (select extract(epoch from '2026-06-08 16:20:34'::timestamp) - extract(epoch from '2026-06-08 16:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362385 -3.411274)'), GeomFromEWKT('SRID=4674;POINT (-38.362333 -3.411125)'))) / (select extract(epoch from '2026-06-08 16:20:34'::timestamp) - extract(epoch from '2026-06-08 16:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.362285 -3.411015)', '2026-06-08 16:20:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362333 -3.411125)'), GeomFromEWKT('SRID=4674;POINT (-38.362285 -3.411015)'))) / (select extract(epoch from '2026-06-08 16:20:41'::timestamp) - extract(epoch from '2026-06-08 16:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362333 -3.411125)'), GeomFromEWKT('SRID=4674;POINT (-38.362285 -3.411015)'))) / (select extract(epoch from '2026-06-08 16:20:41'::timestamp) - extract(epoch from '2026-06-08 16:20:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.362238 -3.410903)', '2026-06-08 16:20:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362285 -3.411015)'), GeomFromEWKT('SRID=4674;POINT (-38.362238 -3.410903)'))) / (select extract(epoch from '2026-06-08 16:20:48'::timestamp) - extract(epoch from '2026-06-08 16:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362285 -3.411015)'), GeomFromEWKT('SRID=4674;POINT (-38.362238 -3.410903)'))) / (select extract(epoch from '2026-06-08 16:20:48'::timestamp) - extract(epoch from '2026-06-08 16:20: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'), 46534, 'SRID=4674;POINT (-38.362184 -3.410794)', '2026-06-08 16:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362238 -3.410903)'), GeomFromEWKT('SRID=4674;POINT (-38.362184 -3.410794)'))) / (select extract(epoch from '2026-06-08 16:20:55'::timestamp) - extract(epoch from '2026-06-08 16:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362238 -3.410903)'), GeomFromEWKT('SRID=4674;POINT (-38.362184 -3.410794)'))) / (select extract(epoch from '2026-06-08 16:20:55'::timestamp) - extract(epoch from '2026-06-08 16:20: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'), 46534, 'SRID=4674;POINT (-38.362139 -3.410696)', '2026-06-08 16:21:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362184 -3.410794)'), GeomFromEWKT('SRID=4674;POINT (-38.362139 -3.410696)'))) / (select extract(epoch from '2026-06-08 16:21:01'::timestamp) - extract(epoch from '2026-06-08 16:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362184 -3.410794)'), GeomFromEWKT('SRID=4674;POINT (-38.362139 -3.410696)'))) / (select extract(epoch from '2026-06-08 16:21:01'::timestamp) - extract(epoch from '2026-06-08 16:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.362085 -3.410586)', '2026-06-08 16:21:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362139 -3.410696)'), GeomFromEWKT('SRID=4674;POINT (-38.362085 -3.410586)'))) / (select extract(epoch from '2026-06-08 16:21:08'::timestamp) - extract(epoch from '2026-06-08 16:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362139 -3.410696)'), GeomFromEWKT('SRID=4674;POINT (-38.362085 -3.410586)'))) / (select extract(epoch from '2026-06-08 16:21:08'::timestamp) - extract(epoch from '2026-06-08 16:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.362016 -3.41046)', '2026-06-08 16:21:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362085 -3.410586)'), GeomFromEWKT('SRID=4674;POINT (-38.362016 -3.41046)'))) / (select extract(epoch from '2026-06-08 16:21:16'::timestamp) - extract(epoch from '2026-06-08 16:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362085 -3.410586)'), GeomFromEWKT('SRID=4674;POINT (-38.362016 -3.41046)'))) / (select extract(epoch from '2026-06-08 16:21:16'::timestamp) - extract(epoch from '2026-06-08 16:21:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361978 -3.410364)', '2026-06-08 16:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362016 -3.41046)'), GeomFromEWKT('SRID=4674;POINT (-38.361978 -3.410364)'))) / (select extract(epoch from '2026-06-08 16:21:22'::timestamp) - extract(epoch from '2026-06-08 16:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.362016 -3.41046)'), GeomFromEWKT('SRID=4674;POINT (-38.361978 -3.410364)'))) / (select extract(epoch from '2026-06-08 16:21:22'::timestamp) - extract(epoch from '2026-06-08 16:21: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'), 46534, 'SRID=4674;POINT (-38.361955 -3.410275)', '2026-06-08 16:21:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361978 -3.410364)'), GeomFromEWKT('SRID=4674;POINT (-38.361955 -3.410275)'))) / (select extract(epoch from '2026-06-08 16:21:27'::timestamp) - extract(epoch from '2026-06-08 16:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361978 -3.410364)'), GeomFromEWKT('SRID=4674;POINT (-38.361955 -3.410275)'))) / (select extract(epoch from '2026-06-08 16:21:27'::timestamp) - extract(epoch from '2026-06-08 16:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361944 -3.410151)', '2026-06-08 16:21:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361955 -3.410275)'), GeomFromEWKT('SRID=4674;POINT (-38.361944 -3.410151)'))) / (select extract(epoch from '2026-06-08 16:21:34'::timestamp) - extract(epoch from '2026-06-08 16:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361955 -3.410275)'), GeomFromEWKT('SRID=4674;POINT (-38.361944 -3.410151)'))) / (select extract(epoch from '2026-06-08 16:21:34'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.361919 -3.41002)', '2026-06-08 16:21:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361944 -3.410151)'), GeomFromEWKT('SRID=4674;POINT (-38.361919 -3.41002)'))) / (select extract(epoch from '2026-06-08 16:21:41'::timestamp) - extract(epoch from '2026-06-08 16:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361944 -3.410151)'), GeomFromEWKT('SRID=4674;POINT (-38.361919 -3.41002)'))) / (select extract(epoch from '2026-06-08 16:21:41'::timestamp) - extract(epoch from '2026-06-08 16:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361885 -3.409904)', '2026-06-08 16:21:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361919 -3.41002)'), GeomFromEWKT('SRID=4674;POINT (-38.361885 -3.409904)'))) / (select extract(epoch from '2026-06-08 16:21:47'::timestamp) - extract(epoch from '2026-06-08 16:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361919 -3.41002)'), GeomFromEWKT('SRID=4674;POINT (-38.361885 -3.409904)'))) / (select extract(epoch from '2026-06-08 16:21:47'::timestamp) - extract(epoch from '2026-06-08 16:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361833 -3.409748)', '2026-06-08 16:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361885 -3.409904)'), GeomFromEWKT('SRID=4674;POINT (-38.361833 -3.409748)'))) / (select extract(epoch from '2026-06-08 16:21:55'::timestamp) - extract(epoch from '2026-06-08 16:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361885 -3.409904)'), GeomFromEWKT('SRID=4674;POINT (-38.361833 -3.409748)'))) / (select extract(epoch from '2026-06-08 16:21:55'::timestamp) - extract(epoch from '2026-06-08 16:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361794 -3.409615)', '2026-06-08 16:22:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361833 -3.409748)'), GeomFromEWKT('SRID=4674;POINT (-38.361794 -3.409615)'))) / (select extract(epoch from '2026-06-08 16:22:02'::timestamp) - extract(epoch from '2026-06-08 16:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361833 -3.409748)'), GeomFromEWKT('SRID=4674;POINT (-38.361794 -3.409615)'))) / (select extract(epoch from '2026-06-08 16:22:02'::timestamp) - extract(epoch from '2026-06-08 16:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361746 -3.409496)', '2026-06-08 16:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361794 -3.409615)'), GeomFromEWKT('SRID=4674;POINT (-38.361746 -3.409496)'))) / (select extract(epoch from '2026-06-08 16:22:09'::timestamp) - extract(epoch from '2026-06-08 16:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361794 -3.409615)'), GeomFromEWKT('SRID=4674;POINT (-38.361746 -3.409496)'))) / (select extract(epoch from '2026-06-08 16:22:09'::timestamp) - extract(epoch from '2026-06-08 16:22:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361708 -3.409397)', '2026-06-08 16:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361746 -3.409496)'), GeomFromEWKT('SRID=4674;POINT (-38.361708 -3.409397)'))) / (select extract(epoch from '2026-06-08 16:22:15'::timestamp) - extract(epoch from '2026-06-08 16:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361746 -3.409496)'), GeomFromEWKT('SRID=4674;POINT (-38.361708 -3.409397)'))) / (select extract(epoch from '2026-06-08 16:22:15'::timestamp) - extract(epoch from '2026-06-08 16:22: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'), 46534, 'SRID=4674;POINT (-38.36166 -3.409266)', '2026-06-08 16:22:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361708 -3.409397)'), GeomFromEWKT('SRID=4674;POINT (-38.36166 -3.409266)'))) / (select extract(epoch from '2026-06-08 16:22:22'::timestamp) - extract(epoch from '2026-06-08 16:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361708 -3.409397)'), GeomFromEWKT('SRID=4674;POINT (-38.36166 -3.409266)'))) / (select extract(epoch from '2026-06-08 16:22:22'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.361618 -3.409139)', '2026-06-08 16:22:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36166 -3.409266)'), GeomFromEWKT('SRID=4674;POINT (-38.361618 -3.409139)'))) / (select extract(epoch from '2026-06-08 16:22:29'::timestamp) - extract(epoch from '2026-06-08 16:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36166 -3.409266)'), GeomFromEWKT('SRID=4674;POINT (-38.361618 -3.409139)'))) / (select extract(epoch from '2026-06-08 16:22:29'::timestamp) - extract(epoch from '2026-06-08 16:22:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361582 -3.409039)', '2026-06-08 16:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361618 -3.409139)'), GeomFromEWKT('SRID=4674;POINT (-38.361582 -3.409039)'))) / (select extract(epoch from '2026-06-08 16:22:35'::timestamp) - extract(epoch from '2026-06-08 16:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361618 -3.409139)'), GeomFromEWKT('SRID=4674;POINT (-38.361582 -3.409039)'))) / (select extract(epoch from '2026-06-08 16:22:35'::timestamp) - extract(epoch from '2026-06-08 16:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361548 -3.408908)', '2026-06-08 16:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361582 -3.409039)'), GeomFromEWKT('SRID=4674;POINT (-38.361548 -3.408908)'))) / (select extract(epoch from '2026-06-08 16:22:42'::timestamp) - extract(epoch from '2026-06-08 16:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361582 -3.409039)'), GeomFromEWKT('SRID=4674;POINT (-38.361548 -3.408908)'))) / (select extract(epoch from '2026-06-08 16:22:42'::timestamp) - extract(epoch from '2026-06-08 16:22: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'), 46534, 'SRID=4674;POINT (-38.361522 -3.408767)', '2026-06-08 16:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361548 -3.408908)'), GeomFromEWKT('SRID=4674;POINT (-38.361522 -3.408767)'))) / (select extract(epoch from '2026-06-08 16:22:50'::timestamp) - extract(epoch from '2026-06-08 16:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361548 -3.408908)'), GeomFromEWKT('SRID=4674;POINT (-38.361522 -3.408767)'))) / (select extract(epoch from '2026-06-08 16:22:50'::timestamp) - extract(epoch from '2026-06-08 16:22: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'), 46534, 'SRID=4674;POINT (-38.361482 -3.408621)', '2026-06-08 16:22:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361522 -3.408767)'), GeomFromEWKT('SRID=4674;POINT (-38.361482 -3.408621)'))) / (select extract(epoch from '2026-06-08 16:22:58'::timestamp) - extract(epoch from '2026-06-08 16:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361522 -3.408767)'), GeomFromEWKT('SRID=4674;POINT (-38.361482 -3.408621)'))) / (select extract(epoch from '2026-06-08 16:22:58'::timestamp) - extract(epoch from '2026-06-08 16:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361439 -3.408503)', '2026-06-08 16:23:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361482 -3.408621)'), GeomFromEWKT('SRID=4674;POINT (-38.361439 -3.408503)'))) / (select extract(epoch from '2026-06-08 16:23:05'::timestamp) - extract(epoch from '2026-06-08 16:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361482 -3.408621)'), GeomFromEWKT('SRID=4674;POINT (-38.361439 -3.408503)'))) / (select extract(epoch from '2026-06-08 16:23:05'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.361409 -3.408396)', '2026-06-08 16:23:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361439 -3.408503)'), GeomFromEWKT('SRID=4674;POINT (-38.361409 -3.408396)'))) / (select extract(epoch from '2026-06-08 16:23:11'::timestamp) - extract(epoch from '2026-06-08 16:23:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361439 -3.408503)'), GeomFromEWKT('SRID=4674;POINT (-38.361409 -3.408396)'))) / (select extract(epoch from '2026-06-08 16:23:11'::timestamp) - extract(epoch from '2026-06-08 16:23:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361369 -3.40827)', '2026-06-08 16:23:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361409 -3.408396)'), GeomFromEWKT('SRID=4674;POINT (-38.361369 -3.40827)'))) / (select extract(epoch from '2026-06-08 16:23:18'::timestamp) - extract(epoch from '2026-06-08 16:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361409 -3.408396)'), GeomFromEWKT('SRID=4674;POINT (-38.361369 -3.40827)'))) / (select extract(epoch from '2026-06-08 16:23:18'::timestamp) - extract(epoch from '2026-06-08 16:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361344 -3.408134)', '2026-06-08 16:23:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361369 -3.40827)'), GeomFromEWKT('SRID=4674;POINT (-38.361344 -3.408134)'))) / (select extract(epoch from '2026-06-08 16:23:26'::timestamp) - extract(epoch from '2026-06-08 16:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361369 -3.40827)'), GeomFromEWKT('SRID=4674;POINT (-38.361344 -3.408134)'))) / (select extract(epoch from '2026-06-08 16:23:26'::timestamp) - extract(epoch from '2026-06-08 16:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361321 -3.408024)', '2026-06-08 16:23:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361344 -3.408134)'), GeomFromEWKT('SRID=4674;POINT (-38.361321 -3.408024)'))) / (select extract(epoch from '2026-06-08 16:23:32'::timestamp) - extract(epoch from '2026-06-08 16:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361344 -3.408134)'), GeomFromEWKT('SRID=4674;POINT (-38.361321 -3.408024)'))) / (select extract(epoch from '2026-06-08 16:23:32'::timestamp) - extract(epoch from '2026-06-08 16:23:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361285 -3.407875)', '2026-06-08 16:23:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361321 -3.408024)'), GeomFromEWKT('SRID=4674;POINT (-38.361285 -3.407875)'))) / (select extract(epoch from '2026-06-08 16:23:40'::timestamp) - extract(epoch from '2026-06-08 16:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361321 -3.408024)'), GeomFromEWKT('SRID=4674;POINT (-38.361285 -3.407875)'))) / (select extract(epoch from '2026-06-08 16:23:40'::timestamp) - extract(epoch from '2026-06-08 16:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361229 -3.407734)', '2026-06-08 16:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361285 -3.407875)'), GeomFromEWKT('SRID=4674;POINT (-38.361229 -3.407734)'))) / (select extract(epoch from '2026-06-08 16:23:48'::timestamp) - extract(epoch from '2026-06-08 16:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361285 -3.407875)'), GeomFromEWKT('SRID=4674;POINT (-38.361229 -3.407734)'))) / (select extract(epoch from '2026-06-08 16:23:48'::timestamp) - extract(epoch from '2026-06-08 16:23:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361183 -3.407611)', '2026-06-08 16:23:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361229 -3.407734)'), GeomFromEWKT('SRID=4674;POINT (-38.361183 -3.407611)'))) / (select extract(epoch from '2026-06-08 16:23:55'::timestamp) - extract(epoch from '2026-06-08 16:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361229 -3.407734)'), GeomFromEWKT('SRID=4674;POINT (-38.361183 -3.407611)'))) / (select extract(epoch from '2026-06-08 16:23:55'::timestamp) - extract(epoch from '2026-06-08 16:23:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.361141 -3.407484)', '2026-06-08 16:24:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361183 -3.407611)'), GeomFromEWKT('SRID=4674;POINT (-38.361141 -3.407484)'))) / (select extract(epoch from '2026-06-08 16:24:02'::timestamp) - extract(epoch from '2026-06-08 16:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361183 -3.407611)'), GeomFromEWKT('SRID=4674;POINT (-38.361141 -3.407484)'))) / (select extract(epoch from '2026-06-08 16:24:02'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.361085 -3.407325)', '2026-06-08 16:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361141 -3.407484)'), GeomFromEWKT('SRID=4674;POINT (-38.361085 -3.407325)'))) / (select extract(epoch from '2026-06-08 16:24:11'::timestamp) - extract(epoch from '2026-06-08 16:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361141 -3.407484)'), GeomFromEWKT('SRID=4674;POINT (-38.361085 -3.407325)'))) / (select extract(epoch from '2026-06-08 16:24:11'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.361016 -3.407147)', '2026-06-08 16:24:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361085 -3.407325)'), GeomFromEWKT('SRID=4674;POINT (-38.361016 -3.407147)'))) / (select extract(epoch from '2026-06-08 16:24:21'::timestamp) - extract(epoch from '2026-06-08 16:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361085 -3.407325)'), GeomFromEWKT('SRID=4674;POINT (-38.361016 -3.407147)'))) / (select extract(epoch from '2026-06-08 16:24:21'::timestamp) - extract(epoch from '2026-06-08 16:24: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'), 46534, 'SRID=4674;POINT (-38.360967 -3.407004)', '2026-06-08 16:24:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361016 -3.407147)'), GeomFromEWKT('SRID=4674;POINT (-38.360967 -3.407004)'))) / (select extract(epoch from '2026-06-08 16:24:29'::timestamp) - extract(epoch from '2026-06-08 16:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.361016 -3.407147)'), GeomFromEWKT('SRID=4674;POINT (-38.360967 -3.407004)'))) / (select extract(epoch from '2026-06-08 16:24:29'::timestamp) - extract(epoch from '2026-06-08 16:24: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'), 46534, 'SRID=4674;POINT (-38.360911 -3.406861)', '2026-06-08 16:24:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360967 -3.407004)'), GeomFromEWKT('SRID=4674;POINT (-38.360911 -3.406861)'))) / (select extract(epoch from '2026-06-08 16:24:37'::timestamp) - extract(epoch from '2026-06-08 16:24:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360967 -3.407004)'), GeomFromEWKT('SRID=4674;POINT (-38.360911 -3.406861)'))) / (select extract(epoch from '2026-06-08 16:24:37'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.36087 -3.406735)', '2026-06-08 16:24:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360911 -3.406861)'), GeomFromEWKT('SRID=4674;POINT (-38.36087 -3.406735)'))) / (select extract(epoch from '2026-06-08 16:24:44'::timestamp) - extract(epoch from '2026-06-08 16:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360911 -3.406861)'), GeomFromEWKT('SRID=4674;POINT (-38.36087 -3.406735)'))) / (select extract(epoch from '2026-06-08 16:24:44'::timestamp) - extract(epoch from '2026-06-08 16:24: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'), 46534, 'SRID=4674;POINT (-38.36083 -3.406651)', '2026-06-08 16:24:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36087 -3.406735)'), GeomFromEWKT('SRID=4674;POINT (-38.36083 -3.406651)'))) / (select extract(epoch from '2026-06-08 16:24:49'::timestamp) - extract(epoch from '2026-06-08 16:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36087 -3.406735)'), GeomFromEWKT('SRID=4674;POINT (-38.36083 -3.406651)'))) / (select extract(epoch from '2026-06-08 16:24:49'::timestamp) - extract(epoch from '2026-06-08 16:24:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.360764 -3.40652)', '2026-06-08 16:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36083 -3.406651)'), GeomFromEWKT('SRID=4674;POINT (-38.360764 -3.40652)'))) / (select extract(epoch from '2026-06-08 16:24:57'::timestamp) - extract(epoch from '2026-06-08 16:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36083 -3.406651)'), GeomFromEWKT('SRID=4674;POINT (-38.360764 -3.40652)'))) / (select extract(epoch from '2026-06-08 16:24:57'::timestamp) - extract(epoch from '2026-06-08 16:24:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.360706 -3.406388)', '2026-06-08 16:25:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360764 -3.40652)'), GeomFromEWKT('SRID=4674;POINT (-38.360706 -3.406388)'))) / (select extract(epoch from '2026-06-08 16:25:05'::timestamp) - extract(epoch from '2026-06-08 16:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360764 -3.40652)'), GeomFromEWKT('SRID=4674;POINT (-38.360706 -3.406388)'))) / (select extract(epoch from '2026-06-08 16:25:05'::timestamp) - extract(epoch from '2026-06-08 16:24: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'), 46534, 'SRID=4674;POINT (-38.360668 -3.406287)', '2026-06-08 16:25:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360706 -3.406388)'), GeomFromEWKT('SRID=4674;POINT (-38.360668 -3.406287)'))) / (select extract(epoch from '2026-06-08 16:25:11'::timestamp) - extract(epoch from '2026-06-08 16:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360706 -3.406388)'), GeomFromEWKT('SRID=4674;POINT (-38.360668 -3.406287)'))) / (select extract(epoch from '2026-06-08 16:25:11'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.360634 -3.406183)', '2026-06-08 16:25:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360668 -3.406287)'), GeomFromEWKT('SRID=4674;POINT (-38.360634 -3.406183)'))) / (select extract(epoch from '2026-06-08 16:25:17'::timestamp) - extract(epoch from '2026-06-08 16:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360668 -3.406287)'), GeomFromEWKT('SRID=4674;POINT (-38.360634 -3.406183)'))) / (select extract(epoch from '2026-06-08 16:25:17'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.360588 -3.406079)', '2026-06-08 16:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360634 -3.406183)'), GeomFromEWKT('SRID=4674;POINT (-38.360588 -3.406079)'))) / (select extract(epoch from '2026-06-08 16:25:23'::timestamp) - extract(epoch from '2026-06-08 16:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360634 -3.406183)'), GeomFromEWKT('SRID=4674;POINT (-38.360588 -3.406079)'))) / (select extract(epoch from '2026-06-08 16:25:23'::timestamp) - extract(epoch from '2026-06-08 16:25: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'), 46534, 'SRID=4674;POINT (-38.360542 -3.405948)', '2026-06-08 16:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360588 -3.406079)'), GeomFromEWKT('SRID=4674;POINT (-38.360542 -3.405948)'))) / (select extract(epoch from '2026-06-08 16:25:30'::timestamp) - extract(epoch from '2026-06-08 16:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360588 -3.406079)'), GeomFromEWKT('SRID=4674;POINT (-38.360542 -3.405948)'))) / (select extract(epoch from '2026-06-08 16:25:30'::timestamp) - extract(epoch from '2026-06-08 16:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.360507 -3.405844)', '2026-06-08 16:25:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360542 -3.405948)'), GeomFromEWKT('SRID=4674;POINT (-38.360507 -3.405844)'))) / (select extract(epoch from '2026-06-08 16:25:36'::timestamp) - extract(epoch from '2026-06-08 16:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360542 -3.405948)'), GeomFromEWKT('SRID=4674;POINT (-38.360507 -3.405844)'))) / (select extract(epoch from '2026-06-08 16:25:36'::timestamp) - extract(epoch from '2026-06-08 16:25:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.360455 -3.405705)', '2026-06-08 16:25:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360507 -3.405844)'), GeomFromEWKT('SRID=4674;POINT (-38.360455 -3.405705)'))) / (select extract(epoch from '2026-06-08 16:25:45'::timestamp) - extract(epoch from '2026-06-08 16:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360507 -3.405844)'), GeomFromEWKT('SRID=4674;POINT (-38.360455 -3.405705)'))) / (select extract(epoch from '2026-06-08 16:25:45'::timestamp) - extract(epoch from '2026-06-08 16:25: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'), 46534, 'SRID=4674;POINT (-38.36042 -3.405608)', '2026-06-08 16:25:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360455 -3.405705)'), GeomFromEWKT('SRID=4674;POINT (-38.36042 -3.405608)'))) / (select extract(epoch from '2026-06-08 16:25:51'::timestamp) - extract(epoch from '2026-06-08 16:25:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360455 -3.405705)'), GeomFromEWKT('SRID=4674;POINT (-38.36042 -3.405608)'))) / (select extract(epoch from '2026-06-08 16:25:51'::timestamp) - extract(epoch from '2026-06-08 16:25:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.36042 -3.405593)', '2026-06-08 16:25:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36042 -3.405608)'), GeomFromEWKT('SRID=4674;POINT (-38.36042 -3.405593)'))) / (select extract(epoch from '2026-06-08 16:25:52'::timestamp) - extract(epoch from '2026-06-08 16:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36042 -3.405608)'), GeomFromEWKT('SRID=4674;POINT (-38.36042 -3.405593)'))) / (select extract(epoch from '2026-06-08 16:25:52'::timestamp) - extract(epoch from '2026-06-08 16:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.360392 -3.405499)', '2026-06-08 16:25:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36042 -3.405593)'), GeomFromEWKT('SRID=4674;POINT (-38.360392 -3.405499)'))) / (select extract(epoch from '2026-06-08 16:25:57'::timestamp) - extract(epoch from '2026-06-08 16:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36042 -3.405593)'), GeomFromEWKT('SRID=4674;POINT (-38.360392 -3.405499)'))) / (select extract(epoch from '2026-06-08 16:25:57'::timestamp) - extract(epoch from '2026-06-08 16:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.360363 -3.405386)', '2026-06-08 16:26:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360392 -3.405499)'), GeomFromEWKT('SRID=4674;POINT (-38.360363 -3.405386)'))) / (select extract(epoch from '2026-06-08 16:26:03'::timestamp) - extract(epoch from '2026-06-08 16:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360392 -3.405499)'), GeomFromEWKT('SRID=4674;POINT (-38.360363 -3.405386)'))) / (select extract(epoch from '2026-06-08 16:26:03'::timestamp) - extract(epoch from '2026-06-08 16:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.360321 -3.405278)', '2026-06-08 16:26:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360363 -3.405386)'), GeomFromEWKT('SRID=4674;POINT (-38.360321 -3.405278)'))) / (select extract(epoch from '2026-06-08 16:26:09'::timestamp) - extract(epoch from '2026-06-08 16:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360363 -3.405386)'), GeomFromEWKT('SRID=4674;POINT (-38.360321 -3.405278)'))) / (select extract(epoch from '2026-06-08 16:26:09'::timestamp) - extract(epoch from '2026-06-08 16:26: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'), 46534, 'SRID=4674;POINT (-38.360268 -3.405144)', '2026-06-08 16:26:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360321 -3.405278)'), GeomFromEWKT('SRID=4674;POINT (-38.360268 -3.405144)'))) / (select extract(epoch from '2026-06-08 16:26:17'::timestamp) - extract(epoch from '2026-06-08 16:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360321 -3.405278)'), GeomFromEWKT('SRID=4674;POINT (-38.360268 -3.405144)'))) / (select extract(epoch from '2026-06-08 16:26:17'::timestamp) - extract(epoch from '2026-06-08 16:26: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'), 46534, 'SRID=4674;POINT (-38.360214 -3.405008)', '2026-06-08 16:26:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360268 -3.405144)'), GeomFromEWKT('SRID=4674;POINT (-38.360214 -3.405008)'))) / (select extract(epoch from '2026-06-08 16:26:25'::timestamp) - extract(epoch from '2026-06-08 16:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360268 -3.405144)'), GeomFromEWKT('SRID=4674;POINT (-38.360214 -3.405008)'))) / (select extract(epoch from '2026-06-08 16:26:25'::timestamp) - extract(epoch from '2026-06-08 16:26: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'), 46534, 'SRID=4674;POINT (-38.360184 -3.404915)', '2026-06-08 16:26:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360214 -3.405008)'), GeomFromEWKT('SRID=4674;POINT (-38.360184 -3.404915)'))) / (select extract(epoch from '2026-06-08 16:26:31'::timestamp) - extract(epoch from '2026-06-08 16:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360214 -3.405008)'), GeomFromEWKT('SRID=4674;POINT (-38.360184 -3.404915)'))) / (select extract(epoch from '2026-06-08 16:26:31'::timestamp) - extract(epoch from '2026-06-08 16:26:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.360138 -3.40481)', '2026-06-08 16:26:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360184 -3.404915)'), GeomFromEWKT('SRID=4674;POINT (-38.360138 -3.40481)'))) / (select extract(epoch from '2026-06-08 16:26:38'::timestamp) - extract(epoch from '2026-06-08 16:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360184 -3.404915)'), GeomFromEWKT('SRID=4674;POINT (-38.360138 -3.40481)'))) / (select extract(epoch from '2026-06-08 16:26:38'::timestamp) - extract(epoch from '2026-06-08 16:26: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'), 46534, 'SRID=4674;POINT (-38.360105 -3.404709)', '2026-06-08 16:26:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360138 -3.40481)'), GeomFromEWKT('SRID=4674;POINT (-38.360105 -3.404709)'))) / (select extract(epoch from '2026-06-08 16:26:44'::timestamp) - extract(epoch from '2026-06-08 16:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360138 -3.40481)'), GeomFromEWKT('SRID=4674;POINT (-38.360105 -3.404709)'))) / (select extract(epoch from '2026-06-08 16:26:44'::timestamp) - extract(epoch from '2026-06-08 16:26:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.360082 -3.404621)', '2026-06-08 16:26:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360105 -3.404709)'), GeomFromEWKT('SRID=4674;POINT (-38.360082 -3.404621)'))) / (select extract(epoch from '2026-06-08 16:26:49'::timestamp) - extract(epoch from '2026-06-08 16:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360105 -3.404709)'), GeomFromEWKT('SRID=4674;POINT (-38.360082 -3.404621)'))) / (select extract(epoch from '2026-06-08 16:26:49'::timestamp) - extract(epoch from '2026-06-08 16:26: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'), 46534, 'SRID=4674;POINT (-38.360055 -3.40454)', '2026-06-08 16:26:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360082 -3.404621)'), GeomFromEWKT('SRID=4674;POINT (-38.360055 -3.40454)'))) / (select extract(epoch from '2026-06-08 16:26:54'::timestamp) - extract(epoch from '2026-06-08 16:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360082 -3.404621)'), GeomFromEWKT('SRID=4674;POINT (-38.360055 -3.40454)'))) / (select extract(epoch from '2026-06-08 16:26:54'::timestamp) - extract(epoch from '2026-06-08 16:26:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359998 -3.404405)', '2026-06-08 16:27:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360055 -3.40454)'), GeomFromEWKT('SRID=4674;POINT (-38.359998 -3.404405)'))) / (select extract(epoch from '2026-06-08 16:27:02'::timestamp) - extract(epoch from '2026-06-08 16:26:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.360055 -3.40454)'), GeomFromEWKT('SRID=4674;POINT (-38.359998 -3.404405)'))) / (select extract(epoch from '2026-06-08 16:27:02'::timestamp) - extract(epoch from '2026-06-08 16:26: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'), 46534, 'SRID=4674;POINT (-38.359965 -3.404302)', '2026-06-08 16:27:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359998 -3.404405)'), GeomFromEWKT('SRID=4674;POINT (-38.359965 -3.404302)'))) / (select extract(epoch from '2026-06-08 16:27:08'::timestamp) - extract(epoch from '2026-06-08 16:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359998 -3.404405)'), GeomFromEWKT('SRID=4674;POINT (-38.359965 -3.404302)'))) / (select extract(epoch from '2026-06-08 16:27:08'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.359925 -3.404203)', '2026-06-08 16:27:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359965 -3.404302)'), GeomFromEWKT('SRID=4674;POINT (-38.359925 -3.404203)'))) / (select extract(epoch from '2026-06-08 16:27:14'::timestamp) - extract(epoch from '2026-06-08 16:27:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359965 -3.404302)'), GeomFromEWKT('SRID=4674;POINT (-38.359925 -3.404203)'))) / (select extract(epoch from '2026-06-08 16:27:14'::timestamp) - extract(epoch from '2026-06-08 16:27:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359892 -3.404085)', '2026-06-08 16:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359925 -3.404203)'), GeomFromEWKT('SRID=4674;POINT (-38.359892 -3.404085)'))) / (select extract(epoch from '2026-06-08 16:27:21'::timestamp) - extract(epoch from '2026-06-08 16:27:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359925 -3.404203)'), GeomFromEWKT('SRID=4674;POINT (-38.359892 -3.404085)'))) / (select extract(epoch from '2026-06-08 16:27:21'::timestamp) - extract(epoch from '2026-06-08 16:27:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.35985 -3.403975)', '2026-06-08 16:27:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359892 -3.404085)'), GeomFromEWKT('SRID=4674;POINT (-38.35985 -3.403975)'))) / (select extract(epoch from '2026-06-08 16:27:27'::timestamp) - extract(epoch from '2026-06-08 16:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359892 -3.404085)'), GeomFromEWKT('SRID=4674;POINT (-38.35985 -3.403975)'))) / (select extract(epoch from '2026-06-08 16:27:27'::timestamp) - extract(epoch from '2026-06-08 16:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359787 -3.40386)', '2026-06-08 16:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35985 -3.403975)'), GeomFromEWKT('SRID=4674;POINT (-38.359787 -3.40386)'))) / (select extract(epoch from '2026-06-08 16:27:34'::timestamp) - extract(epoch from '2026-06-08 16:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35985 -3.403975)'), GeomFromEWKT('SRID=4674;POINT (-38.359787 -3.40386)'))) / (select extract(epoch from '2026-06-08 16:27:34'::timestamp) - extract(epoch from '2026-06-08 16:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359714 -3.403735)', '2026-06-08 16:27:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359787 -3.40386)'), GeomFromEWKT('SRID=4674;POINT (-38.359714 -3.403735)'))) / (select extract(epoch from '2026-06-08 16:27:42'::timestamp) - extract(epoch from '2026-06-08 16:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359787 -3.40386)'), GeomFromEWKT('SRID=4674;POINT (-38.359714 -3.403735)'))) / (select extract(epoch from '2026-06-08 16:27:42'::timestamp) - extract(epoch from '2026-06-08 16:27:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359665 -3.403645)', '2026-06-08 16:27:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359714 -3.403735)'), GeomFromEWKT('SRID=4674;POINT (-38.359665 -3.403645)'))) / (select extract(epoch from '2026-06-08 16:27:48'::timestamp) - extract(epoch from '2026-06-08 16:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359714 -3.403735)'), GeomFromEWKT('SRID=4674;POINT (-38.359665 -3.403645)'))) / (select extract(epoch from '2026-06-08 16:27:48'::timestamp) - extract(epoch from '2026-06-08 16:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359625 -3.403563)', '2026-06-08 16:27:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359665 -3.403645)'), GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.403563)'))) / (select extract(epoch from '2026-06-08 16:27:53'::timestamp) - extract(epoch from '2026-06-08 16:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359665 -3.403645)'), GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.403563)'))) / (select extract(epoch from '2026-06-08 16:27:53'::timestamp) - extract(epoch from '2026-06-08 16:27: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'), 46534, 'SRID=4674;POINT (-38.359567 -3.403452)', '2026-06-08 16:28:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.403563)'), GeomFromEWKT('SRID=4674;POINT (-38.359567 -3.403452)'))) / (select extract(epoch from '2026-06-08 16:28:00'::timestamp) - extract(epoch from '2026-06-08 16:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.403563)'), GeomFromEWKT('SRID=4674;POINT (-38.359567 -3.403452)'))) / (select extract(epoch from '2026-06-08 16:28:00'::timestamp) - extract(epoch from '2026-06-08 16:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359512 -3.403308)', '2026-06-08 16:28:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359567 -3.403452)'), GeomFromEWKT('SRID=4674;POINT (-38.359512 -3.403308)'))) / (select extract(epoch from '2026-06-08 16:28:09'::timestamp) - extract(epoch from '2026-06-08 16:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359567 -3.403452)'), GeomFromEWKT('SRID=4674;POINT (-38.359512 -3.403308)'))) / (select extract(epoch from '2026-06-08 16:28:09'::timestamp) - extract(epoch from '2026-06-08 16:28: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'), 46534, 'SRID=4674;POINT (-38.359464 -3.403196)', '2026-06-08 16:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359512 -3.403308)'), GeomFromEWKT('SRID=4674;POINT (-38.359464 -3.403196)'))) / (select extract(epoch from '2026-06-08 16:28:16'::timestamp) - extract(epoch from '2026-06-08 16:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359512 -3.403308)'), GeomFromEWKT('SRID=4674;POINT (-38.359464 -3.403196)'))) / (select extract(epoch from '2026-06-08 16:28:16'::timestamp) - extract(epoch from '2026-06-08 16:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359405 -3.403055)', '2026-06-08 16:28:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359464 -3.403196)'), GeomFromEWKT('SRID=4674;POINT (-38.359405 -3.403055)'))) / (select extract(epoch from '2026-06-08 16:28:24'::timestamp) - extract(epoch from '2026-06-08 16:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359464 -3.403196)'), GeomFromEWKT('SRID=4674;POINT (-38.359405 -3.403055)'))) / (select extract(epoch from '2026-06-08 16:28:24'::timestamp) - extract(epoch from '2026-06-08 16:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359359 -3.402963)', '2026-06-08 16:28:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359405 -3.403055)'), GeomFromEWKT('SRID=4674;POINT (-38.359359 -3.402963)'))) / (select extract(epoch from '2026-06-08 16:28:30'::timestamp) - extract(epoch from '2026-06-08 16:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359405 -3.403055)'), GeomFromEWKT('SRID=4674;POINT (-38.359359 -3.402963)'))) / (select extract(epoch from '2026-06-08 16:28:30'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.359315 -3.402869)', '2026-06-08 16:28:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359359 -3.402963)'), GeomFromEWKT('SRID=4674;POINT (-38.359315 -3.402869)'))) / (select extract(epoch from '2026-06-08 16:28:36'::timestamp) - extract(epoch from '2026-06-08 16:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359359 -3.402963)'), GeomFromEWKT('SRID=4674;POINT (-38.359315 -3.402869)'))) / (select extract(epoch from '2026-06-08 16:28:36'::timestamp) - extract(epoch from '2026-06-08 16:28: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'), 46534, 'SRID=4674;POINT (-38.359275 -3.402788)', '2026-06-08 16:28:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359315 -3.402869)'), GeomFromEWKT('SRID=4674;POINT (-38.359275 -3.402788)'))) / (select extract(epoch from '2026-06-08 16:28:41'::timestamp) - extract(epoch from '2026-06-08 16:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359315 -3.402869)'), GeomFromEWKT('SRID=4674;POINT (-38.359275 -3.402788)'))) / (select extract(epoch from '2026-06-08 16:28:41'::timestamp) - extract(epoch from '2026-06-08 16:28:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359221 -3.402661)', '2026-06-08 16:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359275 -3.402788)'), GeomFromEWKT('SRID=4674;POINT (-38.359221 -3.402661)'))) / (select extract(epoch from '2026-06-08 16:28:49'::timestamp) - extract(epoch from '2026-06-08 16:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359275 -3.402788)'), GeomFromEWKT('SRID=4674;POINT (-38.359221 -3.402661)'))) / (select extract(epoch from '2026-06-08 16:28:49'::timestamp) - extract(epoch from '2026-06-08 16:28: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'), 46534, 'SRID=4674;POINT (-38.359171 -3.402541)', '2026-06-08 16:28:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359221 -3.402661)'), GeomFromEWKT('SRID=4674;POINT (-38.359171 -3.402541)'))) / (select extract(epoch from '2026-06-08 16:28:57'::timestamp) - extract(epoch from '2026-06-08 16:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359221 -3.402661)'), GeomFromEWKT('SRID=4674;POINT (-38.359171 -3.402541)'))) / (select extract(epoch from '2026-06-08 16:28:57'::timestamp) - extract(epoch from '2026-06-08 16:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359116 -3.402425)', '2026-06-08 16:29:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359171 -3.402541)'), GeomFromEWKT('SRID=4674;POINT (-38.359116 -3.402425)'))) / (select extract(epoch from '2026-06-08 16:29:04'::timestamp) - extract(epoch from '2026-06-08 16:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359171 -3.402541)'), GeomFromEWKT('SRID=4674;POINT (-38.359116 -3.402425)'))) / (select extract(epoch from '2026-06-08 16:29:04'::timestamp) - extract(epoch from '2026-06-08 16:28: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'), 46534, 'SRID=4674;POINT (-38.359079 -3.402302)', '2026-06-08 16:29:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359116 -3.402425)'), GeomFromEWKT('SRID=4674;POINT (-38.359079 -3.402302)'))) / (select extract(epoch from '2026-06-08 16:29:11'::timestamp) - extract(epoch from '2026-06-08 16:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359116 -3.402425)'), GeomFromEWKT('SRID=4674;POINT (-38.359079 -3.402302)'))) / (select extract(epoch from '2026-06-08 16:29:11'::timestamp) - extract(epoch from '2026-06-08 16:29:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359043 -3.402152)', '2026-06-08 16:29:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359079 -3.402302)'), GeomFromEWKT('SRID=4674;POINT (-38.359043 -3.402152)'))) / (select extract(epoch from '2026-06-08 16:29:19'::timestamp) - extract(epoch from '2026-06-08 16:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359079 -3.402302)'), GeomFromEWKT('SRID=4674;POINT (-38.359043 -3.402152)'))) / (select extract(epoch from '2026-06-08 16:29:19'::timestamp) - extract(epoch from '2026-06-08 16:29:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358996 -3.402026)', '2026-06-08 16:29:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359043 -3.402152)'), GeomFromEWKT('SRID=4674;POINT (-38.358996 -3.402026)'))) / (select extract(epoch from '2026-06-08 16:29:26'::timestamp) - extract(epoch from '2026-06-08 16:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359043 -3.402152)'), GeomFromEWKT('SRID=4674;POINT (-38.358996 -3.402026)'))) / (select extract(epoch from '2026-06-08 16:29:26'::timestamp) - extract(epoch from '2026-06-08 16:29:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358958 -3.401911)', '2026-06-08 16:29:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358996 -3.402026)'), GeomFromEWKT('SRID=4674;POINT (-38.358958 -3.401911)'))) / (select extract(epoch from '2026-06-08 16:29:32'::timestamp) - extract(epoch from '2026-06-08 16:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358996 -3.402026)'), GeomFromEWKT('SRID=4674;POINT (-38.358958 -3.401911)'))) / (select extract(epoch from '2026-06-08 16:29:32'::timestamp) - extract(epoch from '2026-06-08 16:29: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'), 46534, 'SRID=4674;POINT (-38.358932 -3.401817)', '2026-06-08 16:29:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358958 -3.401911)'), GeomFromEWKT('SRID=4674;POINT (-38.358932 -3.401817)'))) / (select extract(epoch from '2026-06-08 16:29:37'::timestamp) - extract(epoch from '2026-06-08 16:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358958 -3.401911)'), GeomFromEWKT('SRID=4674;POINT (-38.358932 -3.401817)'))) / (select extract(epoch from '2026-06-08 16:29:37'::timestamp) - extract(epoch from '2026-06-08 16:29: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'), 46534, 'SRID=4674;POINT (-38.358916 -3.401693)', '2026-06-08 16:29:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358932 -3.401817)'), GeomFromEWKT('SRID=4674;POINT (-38.358916 -3.401693)'))) / (select extract(epoch from '2026-06-08 16:29:44'::timestamp) - extract(epoch from '2026-06-08 16:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358932 -3.401817)'), GeomFromEWKT('SRID=4674;POINT (-38.358916 -3.401693)'))) / (select extract(epoch from '2026-06-08 16:29:44'::timestamp) - extract(epoch from '2026-06-08 16:29:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358895 -3.401567)', '2026-06-08 16:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358916 -3.401693)'), GeomFromEWKT('SRID=4674;POINT (-38.358895 -3.401567)'))) / (select extract(epoch from '2026-06-08 16:29:51'::timestamp) - extract(epoch from '2026-06-08 16:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358916 -3.401693)'), GeomFromEWKT('SRID=4674;POINT (-38.358895 -3.401567)'))) / (select extract(epoch from '2026-06-08 16:29:51'::timestamp) - extract(epoch from '2026-06-08 16:29: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'), 46534, 'SRID=4674;POINT (-38.358873 -3.401411)', '2026-06-08 16:29:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358895 -3.401567)'), GeomFromEWKT('SRID=4674;POINT (-38.358873 -3.401411)'))) / (select extract(epoch from '2026-06-08 16:29:59'::timestamp) - extract(epoch from '2026-06-08 16:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358895 -3.401567)'), GeomFromEWKT('SRID=4674;POINT (-38.358873 -3.401411)'))) / (select extract(epoch from '2026-06-08 16:29:59'::timestamp) - extract(epoch from '2026-06-08 16:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358833 -3.401267)', '2026-06-08 16:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358873 -3.401411)'), GeomFromEWKT('SRID=4674;POINT (-38.358833 -3.401267)'))) / (select extract(epoch from '2026-06-08 16:30:07'::timestamp) - extract(epoch from '2026-06-08 16:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358873 -3.401411)'), GeomFromEWKT('SRID=4674;POINT (-38.358833 -3.401267)'))) / (select extract(epoch from '2026-06-08 16:30:07'::timestamp) - extract(epoch from '2026-06-08 16:29: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'), 46534, 'SRID=4674;POINT (-38.358793 -3.401127)', '2026-06-08 16:30:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358833 -3.401267)'), GeomFromEWKT('SRID=4674;POINT (-38.358793 -3.401127)'))) / (select extract(epoch from '2026-06-08 16:30:15'::timestamp) - extract(epoch from '2026-06-08 16:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358833 -3.401267)'), GeomFromEWKT('SRID=4674;POINT (-38.358793 -3.401127)'))) / (select extract(epoch from '2026-06-08 16:30:15'::timestamp) - extract(epoch from '2026-06-08 16:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358766 -3.401008)', '2026-06-08 16:30:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358793 -3.401127)'), GeomFromEWKT('SRID=4674;POINT (-38.358766 -3.401008)'))) / (select extract(epoch from '2026-06-08 16:30:22'::timestamp) - extract(epoch from '2026-06-08 16:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358793 -3.401127)'), GeomFromEWKT('SRID=4674;POINT (-38.358766 -3.401008)'))) / (select extract(epoch from '2026-06-08 16:30:22'::timestamp) - extract(epoch from '2026-06-08 16:30:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358728 -3.400886)', '2026-06-08 16:30:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358766 -3.401008)'), GeomFromEWKT('SRID=4674;POINT (-38.358728 -3.400886)'))) / (select extract(epoch from '2026-06-08 16:30:29'::timestamp) - extract(epoch from '2026-06-08 16:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358766 -3.401008)'), GeomFromEWKT('SRID=4674;POINT (-38.358728 -3.400886)'))) / (select extract(epoch from '2026-06-08 16:30:29'::timestamp) - extract(epoch from '2026-06-08 16:30:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358691 -3.40076)', '2026-06-08 16:30:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358728 -3.400886)'), GeomFromEWKT('SRID=4674;POINT (-38.358691 -3.40076)'))) / (select extract(epoch from '2026-06-08 16:30:36'::timestamp) - extract(epoch from '2026-06-08 16:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358728 -3.400886)'), GeomFromEWKT('SRID=4674;POINT (-38.358691 -3.40076)'))) / (select extract(epoch from '2026-06-08 16:30:36'::timestamp) - extract(epoch from '2026-06-08 16:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358638 -3.400653)', '2026-06-08 16:30:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358691 -3.40076)'), GeomFromEWKT('SRID=4674;POINT (-38.358638 -3.400653)'))) / (select extract(epoch from '2026-06-08 16:30:43'::timestamp) - extract(epoch from '2026-06-08 16:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358691 -3.40076)'), GeomFromEWKT('SRID=4674;POINT (-38.358638 -3.400653)'))) / (select extract(epoch from '2026-06-08 16:30:43'::timestamp) - extract(epoch from '2026-06-08 16:30: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'), 46534, 'SRID=4674;POINT (-38.358586 -3.400543)', '2026-06-08 16:30:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358638 -3.400653)'), GeomFromEWKT('SRID=4674;POINT (-38.358586 -3.400543)'))) / (select extract(epoch from '2026-06-08 16:30:50'::timestamp) - extract(epoch from '2026-06-08 16:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358638 -3.400653)'), GeomFromEWKT('SRID=4674;POINT (-38.358586 -3.400543)'))) / (select extract(epoch from '2026-06-08 16:30:50'::timestamp) - extract(epoch from '2026-06-08 16:30: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'), 46534, 'SRID=4674;POINT (-38.358537 -3.400419)', '2026-06-08 16:30:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358586 -3.400543)'), GeomFromEWKT('SRID=4674;POINT (-38.358537 -3.400419)'))) / (select extract(epoch from '2026-06-08 16:30:58'::timestamp) - extract(epoch from '2026-06-08 16:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358586 -3.400543)'), GeomFromEWKT('SRID=4674;POINT (-38.358537 -3.400419)'))) / (select extract(epoch from '2026-06-08 16:30:58'::timestamp) - extract(epoch from '2026-06-08 16:30: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'), 46534, 'SRID=4674;POINT (-38.358507 -3.400337)', '2026-06-08 16:31:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358537 -3.400419)'), GeomFromEWKT('SRID=4674;POINT (-38.358507 -3.400337)'))) / (select extract(epoch from '2026-06-08 16:31:03'::timestamp) - extract(epoch from '2026-06-08 16:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358537 -3.400419)'), GeomFromEWKT('SRID=4674;POINT (-38.358507 -3.400337)'))) / (select extract(epoch from '2026-06-08 16:31:03'::timestamp) - extract(epoch from '2026-06-08 16:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358468 -3.400234)', '2026-06-08 16:31:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358507 -3.400337)'), GeomFromEWKT('SRID=4674;POINT (-38.358468 -3.400234)'))) / (select extract(epoch from '2026-06-08 16:31:09'::timestamp) - extract(epoch from '2026-06-08 16:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358507 -3.400337)'), GeomFromEWKT('SRID=4674;POINT (-38.358468 -3.400234)'))) / (select extract(epoch from '2026-06-08 16:31:09'::timestamp) - extract(epoch from '2026-06-08 16:31: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'), 46534, 'SRID=4674;POINT (-38.358435 -3.400107)', '2026-06-08 16:31:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358468 -3.400234)'), GeomFromEWKT('SRID=4674;POINT (-38.358435 -3.400107)'))) / (select extract(epoch from '2026-06-08 16:31:16'::timestamp) - extract(epoch from '2026-06-08 16:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358468 -3.400234)'), GeomFromEWKT('SRID=4674;POINT (-38.358435 -3.400107)'))) / (select extract(epoch from '2026-06-08 16:31:16'::timestamp) - extract(epoch from '2026-06-08 16:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358413 -3.399974)', '2026-06-08 16:31:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358435 -3.400107)'), GeomFromEWKT('SRID=4674;POINT (-38.358413 -3.399974)'))) / (select extract(epoch from '2026-06-08 16:31:23'::timestamp) - extract(epoch from '2026-06-08 16:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358435 -3.400107)'), GeomFromEWKT('SRID=4674;POINT (-38.358413 -3.399974)'))) / (select extract(epoch from '2026-06-08 16:31:23'::timestamp) - extract(epoch from '2026-06-08 16:31:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358401 -3.399867)', '2026-06-08 16:31:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358413 -3.399974)'), GeomFromEWKT('SRID=4674;POINT (-38.358401 -3.399867)'))) / (select extract(epoch from '2026-06-08 16:31:29'::timestamp) - extract(epoch from '2026-06-08 16:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358413 -3.399974)'), GeomFromEWKT('SRID=4674;POINT (-38.358401 -3.399867)'))) / (select extract(epoch from '2026-06-08 16:31:29'::timestamp) - extract(epoch from '2026-06-08 16:31: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'), 46534, 'SRID=4674;POINT (-38.358384 -3.399732)', '2026-06-08 16:31:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358401 -3.399867)'), GeomFromEWKT('SRID=4674;POINT (-38.358384 -3.399732)'))) / (select extract(epoch from '2026-06-08 16:31:36'::timestamp) - extract(epoch from '2026-06-08 16:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358401 -3.399867)'), GeomFromEWKT('SRID=4674;POINT (-38.358384 -3.399732)'))) / (select extract(epoch from '2026-06-08 16:31:36'::timestamp) - extract(epoch from '2026-06-08 16:31: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'), 46534, 'SRID=4674;POINT (-38.358385 -3.39961)', '2026-06-08 16:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358384 -3.399732)'), GeomFromEWKT('SRID=4674;POINT (-38.358385 -3.39961)'))) / (select extract(epoch from '2026-06-08 16:31:42'::timestamp) - extract(epoch from '2026-06-08 16:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358384 -3.399732)'), GeomFromEWKT('SRID=4674;POINT (-38.358385 -3.39961)'))) / (select extract(epoch from '2026-06-08 16:31:42'::timestamp) - extract(epoch from '2026-06-08 16:31: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'), 46534, 'SRID=4674;POINT (-38.358401 -3.399463)', '2026-06-08 16:31:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358385 -3.39961)'), GeomFromEWKT('SRID=4674;POINT (-38.358401 -3.399463)'))) / (select extract(epoch from '2026-06-08 16:31:49'::timestamp) - extract(epoch from '2026-06-08 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358385 -3.39961)'), GeomFromEWKT('SRID=4674;POINT (-38.358401 -3.399463)'))) / (select extract(epoch from '2026-06-08 16:31:49'::timestamp) - extract(epoch from '2026-06-08 16:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358383 -3.399312)', '2026-06-08 16:31:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358401 -3.399463)'), GeomFromEWKT('SRID=4674;POINT (-38.358383 -3.399312)'))) / (select extract(epoch from '2026-06-08 16:31:57'::timestamp) - extract(epoch from '2026-06-08 16:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358401 -3.399463)'), GeomFromEWKT('SRID=4674;POINT (-38.358383 -3.399312)'))) / (select extract(epoch from '2026-06-08 16:31:57'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.358355 -3.399184)', '2026-06-08 16:32:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358383 -3.399312)'), GeomFromEWKT('SRID=4674;POINT (-38.358355 -3.399184)'))) / (select extract(epoch from '2026-06-08 16:32:04'::timestamp) - extract(epoch from '2026-06-08 16:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358383 -3.399312)'), GeomFromEWKT('SRID=4674;POINT (-38.358355 -3.399184)'))) / (select extract(epoch from '2026-06-08 16:32:04'::timestamp) - extract(epoch from '2026-06-08 16:31: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'), 46534, 'SRID=4674;POINT (-38.358336 -3.399051)', '2026-06-08 16:32:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358355 -3.399184)'), GeomFromEWKT('SRID=4674;POINT (-38.358336 -3.399051)'))) / (select extract(epoch from '2026-06-08 16:32:11'::timestamp) - extract(epoch from '2026-06-08 16:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358355 -3.399184)'), GeomFromEWKT('SRID=4674;POINT (-38.358336 -3.399051)'))) / (select extract(epoch from '2026-06-08 16:32:11'::timestamp) - extract(epoch from '2026-06-08 16:32: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'), 46534, 'SRID=4674;POINT (-38.358333 -3.398915)', '2026-06-08 16:32:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358336 -3.399051)'), GeomFromEWKT('SRID=4674;POINT (-38.358333 -3.398915)'))) / (select extract(epoch from '2026-06-08 16:32:18'::timestamp) - extract(epoch from '2026-06-08 16:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358336 -3.399051)'), GeomFromEWKT('SRID=4674;POINT (-38.358333 -3.398915)'))) / (select extract(epoch from '2026-06-08 16:32:18'::timestamp) - extract(epoch from '2026-06-08 16:32:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358318 -3.398772)', '2026-06-08 16:32:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358333 -3.398915)'), GeomFromEWKT('SRID=4674;POINT (-38.358318 -3.398772)'))) / (select extract(epoch from '2026-06-08 16:32:25'::timestamp) - extract(epoch from '2026-06-08 16:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358333 -3.398915)'), GeomFromEWKT('SRID=4674;POINT (-38.358318 -3.398772)'))) / (select extract(epoch from '2026-06-08 16:32:25'::timestamp) - extract(epoch from '2026-06-08 16:32: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'), 46534, 'SRID=4674;POINT (-38.358294 -3.398639)', '2026-06-08 16:32:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358318 -3.398772)'), GeomFromEWKT('SRID=4674;POINT (-38.358294 -3.398639)'))) / (select extract(epoch from '2026-06-08 16:32:32'::timestamp) - extract(epoch from '2026-06-08 16:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358318 -3.398772)'), GeomFromEWKT('SRID=4674;POINT (-38.358294 -3.398639)'))) / (select extract(epoch from '2026-06-08 16:32:32'::timestamp) - extract(epoch from '2026-06-08 16:32: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'), 46534, 'SRID=4674;POINT (-38.358264 -3.398505)', '2026-06-08 16:32:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358294 -3.398639)'), GeomFromEWKT('SRID=4674;POINT (-38.358264 -3.398505)'))) / (select extract(epoch from '2026-06-08 16:32:40'::timestamp) - extract(epoch from '2026-06-08 16:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358294 -3.398639)'), GeomFromEWKT('SRID=4674;POINT (-38.358264 -3.398505)'))) / (select extract(epoch from '2026-06-08 16:32:40'::timestamp) - extract(epoch from '2026-06-08 16:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358235 -3.398404)', '2026-06-08 16:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358264 -3.398505)'), GeomFromEWKT('SRID=4674;POINT (-38.358235 -3.398404)'))) / (select extract(epoch from '2026-06-08 16:32:46'::timestamp) - extract(epoch from '2026-06-08 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358264 -3.398505)'), GeomFromEWKT('SRID=4674;POINT (-38.358235 -3.398404)'))) / (select extract(epoch from '2026-06-08 16:32:46'::timestamp) - extract(epoch from '2026-06-08 16:32: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'), 46534, 'SRID=4674;POINT (-38.358203 -3.39829)', '2026-06-08 16:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358235 -3.398404)'), GeomFromEWKT('SRID=4674;POINT (-38.358203 -3.39829)'))) / (select extract(epoch from '2026-06-08 16:32:52'::timestamp) - extract(epoch from '2026-06-08 16:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358235 -3.398404)'), GeomFromEWKT('SRID=4674;POINT (-38.358203 -3.39829)'))) / (select extract(epoch from '2026-06-08 16:32:52'::timestamp) - extract(epoch from '2026-06-08 16:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358166 -3.398168)', '2026-06-08 16:32:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358203 -3.39829)'), GeomFromEWKT('SRID=4674;POINT (-38.358166 -3.398168)'))) / (select extract(epoch from '2026-06-08 16:32:59'::timestamp) - extract(epoch from '2026-06-08 16:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358203 -3.39829)'), GeomFromEWKT('SRID=4674;POINT (-38.358166 -3.398168)'))) / (select extract(epoch from '2026-06-08 16:32:59'::timestamp) - extract(epoch from '2026-06-08 16:32: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'), 46534, 'SRID=4674;POINT (-38.358165 -3.398152)', '2026-06-08 16:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358166 -3.398168)'), GeomFromEWKT('SRID=4674;POINT (-38.358165 -3.398152)'))) / (select extract(epoch from '2026-06-08 16:33:00'::timestamp) - extract(epoch from '2026-06-08 16:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358166 -3.398168)'), GeomFromEWKT('SRID=4674;POINT (-38.358165 -3.398152)'))) / (select extract(epoch from '2026-06-08 16:33:00'::timestamp) - extract(epoch from '2026-06-08 16:32: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'), 46534, 'SRID=4674;POINT (-38.358161 -3.398093)', '2026-06-08 16:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358165 -3.398152)'), GeomFromEWKT('SRID=4674;POINT (-38.358161 -3.398093)'))) / (select extract(epoch from '2026-06-08 16:33:03'::timestamp) - extract(epoch from '2026-06-08 16:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358165 -3.398152)'), GeomFromEWKT('SRID=4674;POINT (-38.358161 -3.398093)'))) / (select extract(epoch from '2026-06-08 16:33:03'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.358153 -3.398058)', '2026-06-08 16:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358161 -3.398093)'), GeomFromEWKT('SRID=4674;POINT (-38.358153 -3.398058)'))) / (select extract(epoch from '2026-06-08 16:33:05'::timestamp) - extract(epoch from '2026-06-08 16:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358161 -3.398093)'), GeomFromEWKT('SRID=4674;POINT (-38.358153 -3.398058)'))) / (select extract(epoch from '2026-06-08 16:33:05'::timestamp) - extract(epoch from '2026-06-08 16:33: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'), 46534, 'SRID=4674;POINT (-38.358152 -3.398)', '2026-06-08 16:33:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358153 -3.398058)'), GeomFromEWKT('SRID=4674;POINT (-38.358152 -3.398)'))) / (select extract(epoch from '2026-06-08 16:33:08'::timestamp) - extract(epoch from '2026-06-08 16:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358153 -3.398058)'), GeomFromEWKT('SRID=4674;POINT (-38.358152 -3.398)'))) / (select extract(epoch from '2026-06-08 16:33:08'::timestamp) - extract(epoch from '2026-06-08 16:33:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358133 -3.397881)', '2026-06-08 16:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358152 -3.398)'), GeomFromEWKT('SRID=4674;POINT (-38.358133 -3.397881)'))) / (select extract(epoch from '2026-06-08 16:33:15'::timestamp) - extract(epoch from '2026-06-08 16:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358152 -3.398)'), GeomFromEWKT('SRID=4674;POINT (-38.358133 -3.397881)'))) / (select extract(epoch from '2026-06-08 16:33:15'::timestamp) - extract(epoch from '2026-06-08 16:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358091 -3.397743)', '2026-06-08 16:33:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358133 -3.397881)'), GeomFromEWKT('SRID=4674;POINT (-38.358091 -3.397743)'))) / (select extract(epoch from '2026-06-08 16:33:23'::timestamp) - extract(epoch from '2026-06-08 16:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358133 -3.397881)'), GeomFromEWKT('SRID=4674;POINT (-38.358091 -3.397743)'))) / (select extract(epoch from '2026-06-08 16:33:23'::timestamp) - extract(epoch from '2026-06-08 16:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358075 -3.397614)', '2026-06-08 16:33:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358091 -3.397743)'), GeomFromEWKT('SRID=4674;POINT (-38.358075 -3.397614)'))) / (select extract(epoch from '2026-06-08 16:33:30'::timestamp) - extract(epoch from '2026-06-08 16:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358091 -3.397743)'), GeomFromEWKT('SRID=4674;POINT (-38.358075 -3.397614)'))) / (select extract(epoch from '2026-06-08 16:33:30'::timestamp) - extract(epoch from '2026-06-08 16:33:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358052 -3.397506)', '2026-06-08 16:33:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358075 -3.397614)'), GeomFromEWKT('SRID=4674;POINT (-38.358052 -3.397506)'))) / (select extract(epoch from '2026-06-08 16:33:36'::timestamp) - extract(epoch from '2026-06-08 16:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358075 -3.397614)'), GeomFromEWKT('SRID=4674;POINT (-38.358052 -3.397506)'))) / (select extract(epoch from '2026-06-08 16:33:36'::timestamp) - extract(epoch from '2026-06-08 16:33: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'), 46534, 'SRID=4674;POINT (-38.35803 -3.397404)', '2026-06-08 16:33:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358052 -3.397506)'), GeomFromEWKT('SRID=4674;POINT (-38.35803 -3.397404)'))) / (select extract(epoch from '2026-06-08 16:33:42'::timestamp) - extract(epoch from '2026-06-08 16:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358052 -3.397506)'), GeomFromEWKT('SRID=4674;POINT (-38.35803 -3.397404)'))) / (select extract(epoch from '2026-06-08 16:33:42'::timestamp) - extract(epoch from '2026-06-08 16:33: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'), 46534, 'SRID=4674;POINT (-38.357987 -3.397257)', '2026-06-08 16:33:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35803 -3.397404)'), GeomFromEWKT('SRID=4674;POINT (-38.357987 -3.397257)'))) / (select extract(epoch from '2026-06-08 16:33:50'::timestamp) - extract(epoch from '2026-06-08 16:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35803 -3.397404)'), GeomFromEWKT('SRID=4674;POINT (-38.357987 -3.397257)'))) / (select extract(epoch from '2026-06-08 16:33:50'::timestamp) - extract(epoch from '2026-06-08 16:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357949 -3.397113)', '2026-06-08 16:33:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357987 -3.397257)'), GeomFromEWKT('SRID=4674;POINT (-38.357949 -3.397113)'))) / (select extract(epoch from '2026-06-08 16:33:58'::timestamp) - extract(epoch from '2026-06-08 16:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357987 -3.397257)'), GeomFromEWKT('SRID=4674;POINT (-38.357949 -3.397113)'))) / (select extract(epoch from '2026-06-08 16:33:58'::timestamp) - extract(epoch from '2026-06-08 16:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357912 -3.396993)', '2026-06-08 16:34:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357949 -3.397113)'), GeomFromEWKT('SRID=4674;POINT (-38.357912 -3.396993)'))) / (select extract(epoch from '2026-06-08 16:34:05'::timestamp) - extract(epoch from '2026-06-08 16:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357949 -3.397113)'), GeomFromEWKT('SRID=4674;POINT (-38.357912 -3.396993)'))) / (select extract(epoch from '2026-06-08 16:34:05'::timestamp) - extract(epoch from '2026-06-08 16:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357872 -3.396869)', '2026-06-08 16:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357912 -3.396993)'), GeomFromEWKT('SRID=4674;POINT (-38.357872 -3.396869)'))) / (select extract(epoch from '2026-06-08 16:34:12'::timestamp) - extract(epoch from '2026-06-08 16:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357912 -3.396993)'), GeomFromEWKT('SRID=4674;POINT (-38.357872 -3.396869)'))) / (select extract(epoch from '2026-06-08 16:34:12'::timestamp) - extract(epoch from '2026-06-08 16:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357844 -3.396762)', '2026-06-08 16:34:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357872 -3.396869)'), GeomFromEWKT('SRID=4674;POINT (-38.357844 -3.396762)'))) / (select extract(epoch from '2026-06-08 16:34:18'::timestamp) - extract(epoch from '2026-06-08 16:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357872 -3.396869)'), GeomFromEWKT('SRID=4674;POINT (-38.357844 -3.396762)'))) / (select extract(epoch from '2026-06-08 16:34:18'::timestamp) - extract(epoch from '2026-06-08 16:34:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357817 -3.39663)', '2026-06-08 16:34:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357844 -3.396762)'), GeomFromEWKT('SRID=4674;POINT (-38.357817 -3.39663)'))) / (select extract(epoch from '2026-06-08 16:34:25'::timestamp) - extract(epoch from '2026-06-08 16:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357844 -3.396762)'), GeomFromEWKT('SRID=4674;POINT (-38.357817 -3.39663)'))) / (select extract(epoch from '2026-06-08 16:34:25'::timestamp) - extract(epoch from '2026-06-08 16:34: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'), 46534, 'SRID=4674;POINT (-38.3578 -3.396526)', '2026-06-08 16:34:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357817 -3.39663)'), GeomFromEWKT('SRID=4674;POINT (-38.3578 -3.396526)'))) / (select extract(epoch from '2026-06-08 16:34:31'::timestamp) - extract(epoch from '2026-06-08 16:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357817 -3.39663)'), GeomFromEWKT('SRID=4674;POINT (-38.3578 -3.396526)'))) / (select extract(epoch from '2026-06-08 16:34:31'::timestamp) - extract(epoch from '2026-06-08 16:34:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357789 -3.396421)', '2026-06-08 16:34:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3578 -3.396526)'), GeomFromEWKT('SRID=4674;POINT (-38.357789 -3.396421)'))) / (select extract(epoch from '2026-06-08 16:34:37'::timestamp) - extract(epoch from '2026-06-08 16:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3578 -3.396526)'), GeomFromEWKT('SRID=4674;POINT (-38.357789 -3.396421)'))) / (select extract(epoch from '2026-06-08 16:34:37'::timestamp) - extract(epoch from '2026-06-08 16:34: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'), 46534, 'SRID=4674;POINT (-38.357763 -3.396295)', '2026-06-08 16:34:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357789 -3.396421)'), GeomFromEWKT('SRID=4674;POINT (-38.357763 -3.396295)'))) / (select extract(epoch from '2026-06-08 16:34:44'::timestamp) - extract(epoch from '2026-06-08 16:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357789 -3.396421)'), GeomFromEWKT('SRID=4674;POINT (-38.357763 -3.396295)'))) / (select extract(epoch from '2026-06-08 16:34:44'::timestamp) - extract(epoch from '2026-06-08 16:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357737 -3.39618)', '2026-06-08 16:34:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357763 -3.396295)'), GeomFromEWKT('SRID=4674;POINT (-38.357737 -3.39618)'))) / (select extract(epoch from '2026-06-08 16:34:50'::timestamp) - extract(epoch from '2026-06-08 16:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357763 -3.396295)'), GeomFromEWKT('SRID=4674;POINT (-38.357737 -3.39618)'))) / (select extract(epoch from '2026-06-08 16:34:50'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.357719 -3.396057)', '2026-06-08 16:34:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357737 -3.39618)'), GeomFromEWKT('SRID=4674;POINT (-38.357719 -3.396057)'))) / (select extract(epoch from '2026-06-08 16:34:56'::timestamp) - extract(epoch from '2026-06-08 16:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357737 -3.39618)'), GeomFromEWKT('SRID=4674;POINT (-38.357719 -3.396057)'))) / (select extract(epoch from '2026-06-08 16:34:56'::timestamp) - extract(epoch from '2026-06-08 16:34: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'), 46534, 'SRID=4674;POINT (-38.357703 -3.395924)', '2026-06-08 16:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357719 -3.396057)'), GeomFromEWKT('SRID=4674;POINT (-38.357703 -3.395924)'))) / (select extract(epoch from '2026-06-08 16:35:03'::timestamp) - extract(epoch from '2026-06-08 16:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357719 -3.396057)'), GeomFromEWKT('SRID=4674;POINT (-38.357703 -3.395924)'))) / (select extract(epoch from '2026-06-08 16:35:03'::timestamp) - extract(epoch from '2026-06-08 16:34: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'), 46534, 'SRID=4674;POINT (-38.357669 -3.395786)', '2026-06-08 16:35:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357703 -3.395924)'), GeomFromEWKT('SRID=4674;POINT (-38.357669 -3.395786)'))) / (select extract(epoch from '2026-06-08 16:35:11'::timestamp) - extract(epoch from '2026-06-08 16:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357703 -3.395924)'), GeomFromEWKT('SRID=4674;POINT (-38.357669 -3.395786)'))) / (select extract(epoch from '2026-06-08 16:35:11'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.357651 -3.395685)', '2026-06-08 16:35:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357669 -3.395786)'), GeomFromEWKT('SRID=4674;POINT (-38.357651 -3.395685)'))) / (select extract(epoch from '2026-06-08 16:35:17'::timestamp) - extract(epoch from '2026-06-08 16:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357669 -3.395786)'), GeomFromEWKT('SRID=4674;POINT (-38.357651 -3.395685)'))) / (select extract(epoch from '2026-06-08 16:35:17'::timestamp) - extract(epoch from '2026-06-08 16:35: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'), 46534, 'SRID=4674;POINT (-38.357623 -3.39554)', '2026-06-08 16:35:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357651 -3.395685)'), GeomFromEWKT('SRID=4674;POINT (-38.357623 -3.39554)'))) / (select extract(epoch from '2026-06-08 16:35:25'::timestamp) - extract(epoch from '2026-06-08 16:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357651 -3.395685)'), GeomFromEWKT('SRID=4674;POINT (-38.357623 -3.39554)'))) / (select extract(epoch from '2026-06-08 16:35:25'::timestamp) - extract(epoch from '2026-06-08 16:35: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'), 46534, 'SRID=4674;POINT (-38.357605 -3.395448)', '2026-06-08 16:35:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357623 -3.39554)'), GeomFromEWKT('SRID=4674;POINT (-38.357605 -3.395448)'))) / (select extract(epoch from '2026-06-08 16:35:30'::timestamp) - extract(epoch from '2026-06-08 16:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357623 -3.39554)'), GeomFromEWKT('SRID=4674;POINT (-38.357605 -3.395448)'))) / (select extract(epoch from '2026-06-08 16:35:30'::timestamp) - extract(epoch from '2026-06-08 16:35:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357581 -3.395318)', '2026-06-08 16:35:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357605 -3.395448)'), GeomFromEWKT('SRID=4674;POINT (-38.357581 -3.395318)'))) / (select extract(epoch from '2026-06-08 16:35:37'::timestamp) - extract(epoch from '2026-06-08 16:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357605 -3.395448)'), GeomFromEWKT('SRID=4674;POINT (-38.357581 -3.395318)'))) / (select extract(epoch from '2026-06-08 16:35:37'::timestamp) - extract(epoch from '2026-06-08 16:35: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'), 46534, 'SRID=4674;POINT (-38.357546 -3.395155)', '2026-06-08 16:35:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357581 -3.395318)'), GeomFromEWKT('SRID=4674;POINT (-38.357546 -3.395155)'))) / (select extract(epoch from '2026-06-08 16:35:46'::timestamp) - extract(epoch from '2026-06-08 16:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357581 -3.395318)'), GeomFromEWKT('SRID=4674;POINT (-38.357546 -3.395155)'))) / (select extract(epoch from '2026-06-08 16:35:46'::timestamp) - extract(epoch from '2026-06-08 16:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357508 -3.395011)', '2026-06-08 16:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357546 -3.395155)'), GeomFromEWKT('SRID=4674;POINT (-38.357508 -3.395011)'))) / (select extract(epoch from '2026-06-08 16:35:54'::timestamp) - extract(epoch from '2026-06-08 16:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357546 -3.395155)'), GeomFromEWKT('SRID=4674;POINT (-38.357508 -3.395011)'))) / (select extract(epoch from '2026-06-08 16:35:54'::timestamp) - extract(epoch from '2026-06-08 16:35:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357482 -3.394892)', '2026-06-08 16:36:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357508 -3.395011)'), GeomFromEWKT('SRID=4674;POINT (-38.357482 -3.394892)'))) / (select extract(epoch from '2026-06-08 16:36:00'::timestamp) - extract(epoch from '2026-06-08 16:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357508 -3.395011)'), GeomFromEWKT('SRID=4674;POINT (-38.357482 -3.394892)'))) / (select extract(epoch from '2026-06-08 16:36:00'::timestamp) - extract(epoch from '2026-06-08 16:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357462 -3.394764)', '2026-06-08 16:36:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357482 -3.394892)'), GeomFromEWKT('SRID=4674;POINT (-38.357462 -3.394764)'))) / (select extract(epoch from '2026-06-08 16:36:07'::timestamp) - extract(epoch from '2026-06-08 16:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357482 -3.394892)'), GeomFromEWKT('SRID=4674;POINT (-38.357462 -3.394764)'))) / (select extract(epoch from '2026-06-08 16:36:07'::timestamp) - extract(epoch from '2026-06-08 16:36:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357437 -3.394656)', '2026-06-08 16:36:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357462 -3.394764)'), GeomFromEWKT('SRID=4674;POINT (-38.357437 -3.394656)'))) / (select extract(epoch from '2026-06-08 16:36:13'::timestamp) - extract(epoch from '2026-06-08 16:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357462 -3.394764)'), GeomFromEWKT('SRID=4674;POINT (-38.357437 -3.394656)'))) / (select extract(epoch from '2026-06-08 16:36:13'::timestamp) - extract(epoch from '2026-06-08 16:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357398 -3.394526)', '2026-06-08 16:36:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357437 -3.394656)'), GeomFromEWKT('SRID=4674;POINT (-38.357398 -3.394526)'))) / (select extract(epoch from '2026-06-08 16:36:20'::timestamp) - extract(epoch from '2026-06-08 16:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357437 -3.394656)'), GeomFromEWKT('SRID=4674;POINT (-38.357398 -3.394526)'))) / (select extract(epoch from '2026-06-08 16:36:20'::timestamp) - extract(epoch from '2026-06-08 16:36:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357378 -3.394429)', '2026-06-08 16:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357398 -3.394526)'), GeomFromEWKT('SRID=4674;POINT (-38.357378 -3.394429)'))) / (select extract(epoch from '2026-06-08 16:36:25'::timestamp) - extract(epoch from '2026-06-08 16:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357398 -3.394526)'), GeomFromEWKT('SRID=4674;POINT (-38.357378 -3.394429)'))) / (select extract(epoch from '2026-06-08 16:36:25'::timestamp) - extract(epoch from '2026-06-08 16:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357355 -3.394302)', '2026-06-08 16:36:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357378 -3.394429)'), GeomFromEWKT('SRID=4674;POINT (-38.357355 -3.394302)'))) / (select extract(epoch from '2026-06-08 16:36:32'::timestamp) - extract(epoch from '2026-06-08 16:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357378 -3.394429)'), GeomFromEWKT('SRID=4674;POINT (-38.357355 -3.394302)'))) / (select extract(epoch from '2026-06-08 16:36:32'::timestamp) - extract(epoch from '2026-06-08 16:36: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'), 46534, 'SRID=4674;POINT (-38.357343 -3.3942)', '2026-06-08 16:36:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357355 -3.394302)'), GeomFromEWKT('SRID=4674;POINT (-38.357343 -3.3942)'))) / (select extract(epoch from '2026-06-08 16:36:38'::timestamp) - extract(epoch from '2026-06-08 16:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357355 -3.394302)'), GeomFromEWKT('SRID=4674;POINT (-38.357343 -3.3942)'))) / (select extract(epoch from '2026-06-08 16:36:38'::timestamp) - extract(epoch from '2026-06-08 16:36: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'), 46534, 'SRID=4674;POINT (-38.357322 -3.394095)', '2026-06-08 16:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357343 -3.3942)'), GeomFromEWKT('SRID=4674;POINT (-38.357322 -3.394095)'))) / (select extract(epoch from '2026-06-08 16:36:44'::timestamp) - extract(epoch from '2026-06-08 16:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357343 -3.3942)'), GeomFromEWKT('SRID=4674;POINT (-38.357322 -3.394095)'))) / (select extract(epoch from '2026-06-08 16:36:44'::timestamp) - extract(epoch from '2026-06-08 16:36: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'), 46534, 'SRID=4674;POINT (-38.357289 -3.393952)', '2026-06-08 16:36:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357322 -3.394095)'), GeomFromEWKT('SRID=4674;POINT (-38.357289 -3.393952)'))) / (select extract(epoch from '2026-06-08 16:36:52'::timestamp) - extract(epoch from '2026-06-08 16:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357322 -3.394095)'), GeomFromEWKT('SRID=4674;POINT (-38.357289 -3.393952)'))) / (select extract(epoch from '2026-06-08 16:36:52'::timestamp) - extract(epoch from '2026-06-08 16:36: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'), 46534, 'SRID=4674;POINT (-38.357254 -3.393844)', '2026-06-08 16:36:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357289 -3.393952)'), GeomFromEWKT('SRID=4674;POINT (-38.357254 -3.393844)'))) / (select extract(epoch from '2026-06-08 16:36:58'::timestamp) - extract(epoch from '2026-06-08 16:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357289 -3.393952)'), GeomFromEWKT('SRID=4674;POINT (-38.357254 -3.393844)'))) / (select extract(epoch from '2026-06-08 16:36:58'::timestamp) - extract(epoch from '2026-06-08 16:36: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'), 46534, 'SRID=4674;POINT (-38.357222 -3.393711)', '2026-06-08 16:37:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357254 -3.393844)'), GeomFromEWKT('SRID=4674;POINT (-38.357222 -3.393711)'))) / (select extract(epoch from '2026-06-08 16:37:05'::timestamp) - extract(epoch from '2026-06-08 16:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357254 -3.393844)'), GeomFromEWKT('SRID=4674;POINT (-38.357222 -3.393711)'))) / (select extract(epoch from '2026-06-08 16:37:05'::timestamp) - extract(epoch from '2026-06-08 16:36: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'), 46534, 'SRID=4674;POINT (-38.357193 -3.393572)', '2026-06-08 16:37:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357222 -3.393711)'), GeomFromEWKT('SRID=4674;POINT (-38.357193 -3.393572)'))) / (select extract(epoch from '2026-06-08 16:37:12'::timestamp) - extract(epoch from '2026-06-08 16:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357222 -3.393711)'), GeomFromEWKT('SRID=4674;POINT (-38.357193 -3.393572)'))) / (select extract(epoch from '2026-06-08 16:37:12'::timestamp) - extract(epoch from '2026-06-08 16:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357174 -3.393462)', '2026-06-08 16:37:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357193 -3.393572)'), GeomFromEWKT('SRID=4674;POINT (-38.357174 -3.393462)'))) / (select extract(epoch from '2026-06-08 16:37:18'::timestamp) - extract(epoch from '2026-06-08 16:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357193 -3.393572)'), GeomFromEWKT('SRID=4674;POINT (-38.357174 -3.393462)'))) / (select extract(epoch from '2026-06-08 16:37:18'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.357155 -3.393339)', '2026-06-08 16:37:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357174 -3.393462)'), GeomFromEWKT('SRID=4674;POINT (-38.357155 -3.393339)'))) / (select extract(epoch from '2026-06-08 16:37:25'::timestamp) - extract(epoch from '2026-06-08 16:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357174 -3.393462)'), GeomFromEWKT('SRID=4674;POINT (-38.357155 -3.393339)'))) / (select extract(epoch from '2026-06-08 16:37:25'::timestamp) - extract(epoch from '2026-06-08 16:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357139 -3.393171)', '2026-06-08 16:37:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357155 -3.393339)'), GeomFromEWKT('SRID=4674;POINT (-38.357139 -3.393171)'))) / (select extract(epoch from '2026-06-08 16:37:33'::timestamp) - extract(epoch from '2026-06-08 16:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357155 -3.393339)'), GeomFromEWKT('SRID=4674;POINT (-38.357139 -3.393171)'))) / (select extract(epoch from '2026-06-08 16:37:33'::timestamp) - extract(epoch from '2026-06-08 16:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357133 -3.393072)', '2026-06-08 16:37:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357139 -3.393171)'), GeomFromEWKT('SRID=4674;POINT (-38.357133 -3.393072)'))) / (select extract(epoch from '2026-06-08 16:37:38'::timestamp) - extract(epoch from '2026-06-08 16:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357139 -3.393171)'), GeomFromEWKT('SRID=4674;POINT (-38.357133 -3.393072)'))) / (select extract(epoch from '2026-06-08 16:37:38'::timestamp) - extract(epoch from '2026-06-08 16:37: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'), 46534, 'SRID=4674;POINT (-38.357113 -3.392938)', '2026-06-08 16:37:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357133 -3.393072)'), GeomFromEWKT('SRID=4674;POINT (-38.357113 -3.392938)'))) / (select extract(epoch from '2026-06-08 16:37:45'::timestamp) - extract(epoch from '2026-06-08 16:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357133 -3.393072)'), GeomFromEWKT('SRID=4674;POINT (-38.357113 -3.392938)'))) / (select extract(epoch from '2026-06-08 16:37:45'::timestamp) - extract(epoch from '2026-06-08 16:37: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'), 46534, 'SRID=4674;POINT (-38.357089 -3.392812)', '2026-06-08 16:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357113 -3.392938)'), GeomFromEWKT('SRID=4674;POINT (-38.357089 -3.392812)'))) / (select extract(epoch from '2026-06-08 16:37:52'::timestamp) - extract(epoch from '2026-06-08 16:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357113 -3.392938)'), GeomFromEWKT('SRID=4674;POINT (-38.357089 -3.392812)'))) / (select extract(epoch from '2026-06-08 16:37:52'::timestamp) - extract(epoch from '2026-06-08 16:37: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'), 46534, 'SRID=4674;POINT (-38.357056 -3.392636)', '2026-06-08 16:38:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357089 -3.392812)'), GeomFromEWKT('SRID=4674;POINT (-38.357056 -3.392636)'))) / (select extract(epoch from '2026-06-08 16:38:02'::timestamp) - extract(epoch from '2026-06-08 16:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357089 -3.392812)'), GeomFromEWKT('SRID=4674;POINT (-38.357056 -3.392636)'))) / (select extract(epoch from '2026-06-08 16:38:02'::timestamp) - extract(epoch from '2026-06-08 16:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357025 -3.3925)', '2026-06-08 16:38:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357056 -3.392636)'), GeomFromEWKT('SRID=4674;POINT (-38.357025 -3.3925)'))) / (select extract(epoch from '2026-06-08 16:38:09'::timestamp) - extract(epoch from '2026-06-08 16:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357056 -3.392636)'), GeomFromEWKT('SRID=4674;POINT (-38.357025 -3.3925)'))) / (select extract(epoch from '2026-06-08 16:38:09'::timestamp) - extract(epoch from '2026-06-08 16:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357005 -3.392382)', '2026-06-08 16:38:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357025 -3.3925)'), GeomFromEWKT('SRID=4674;POINT (-38.357005 -3.392382)'))) / (select extract(epoch from '2026-06-08 16:38:15'::timestamp) - extract(epoch from '2026-06-08 16:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357025 -3.3925)'), GeomFromEWKT('SRID=4674;POINT (-38.357005 -3.392382)'))) / (select extract(epoch from '2026-06-08 16:38:15'::timestamp) - extract(epoch from '2026-06-08 16:38: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'), 46534, 'SRID=4674;POINT (-38.356976 -3.392246)', '2026-06-08 16:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357005 -3.392382)'), GeomFromEWKT('SRID=4674;POINT (-38.356976 -3.392246)'))) / (select extract(epoch from '2026-06-08 16:38:22'::timestamp) - extract(epoch from '2026-06-08 16:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357005 -3.392382)'), GeomFromEWKT('SRID=4674;POINT (-38.356976 -3.392246)'))) / (select extract(epoch from '2026-06-08 16:38:22'::timestamp) - extract(epoch from '2026-06-08 16:38: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'), 46534, 'SRID=4674;POINT (-38.356949 -3.392118)', '2026-06-08 16:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356976 -3.392246)'), GeomFromEWKT('SRID=4674;POINT (-38.356949 -3.392118)'))) / (select extract(epoch from '2026-06-08 16:38:29'::timestamp) - extract(epoch from '2026-06-08 16:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356976 -3.392246)'), GeomFromEWKT('SRID=4674;POINT (-38.356949 -3.392118)'))) / (select extract(epoch from '2026-06-08 16:38:29'::timestamp) - extract(epoch from '2026-06-08 16:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.356926 -3.391968)', '2026-06-08 16:38:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356949 -3.392118)'), GeomFromEWKT('SRID=4674;POINT (-38.356926 -3.391968)'))) / (select extract(epoch from '2026-06-08 16:38:37'::timestamp) - extract(epoch from '2026-06-08 16:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356949 -3.392118)'), GeomFromEWKT('SRID=4674;POINT (-38.356926 -3.391968)'))) / (select extract(epoch from '2026-06-08 16:38:37'::timestamp) - extract(epoch from '2026-06-08 16:38: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'), 46534, 'SRID=4674;POINT (-38.356919 -3.39183)', '2026-06-08 16:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356926 -3.391968)'), GeomFromEWKT('SRID=4674;POINT (-38.356919 -3.39183)'))) / (select extract(epoch from '2026-06-08 16:38:44'::timestamp) - extract(epoch from '2026-06-08 16:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356926 -3.391968)'), GeomFromEWKT('SRID=4674;POINT (-38.356919 -3.39183)'))) / (select extract(epoch from '2026-06-08 16:38:44'::timestamp) - extract(epoch from '2026-06-08 16:38: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'), 46534, 'SRID=4674;POINT (-38.356933 -3.39168)', '2026-06-08 16:38:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356919 -3.39183)'), GeomFromEWKT('SRID=4674;POINT (-38.356933 -3.39168)'))) / (select extract(epoch from '2026-06-08 16:38:52'::timestamp) - extract(epoch from '2026-06-08 16:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356919 -3.39183)'), GeomFromEWKT('SRID=4674;POINT (-38.356933 -3.39168)'))) / (select extract(epoch from '2026-06-08 16:38:52'::timestamp) - extract(epoch from '2026-06-08 16:38: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'), 46534, 'SRID=4674;POINT (-38.356944 -3.391573)', '2026-06-08 16:38:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356933 -3.39168)'), GeomFromEWKT('SRID=4674;POINT (-38.356944 -3.391573)'))) / (select extract(epoch from '2026-06-08 16:38:58'::timestamp) - extract(epoch from '2026-06-08 16:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356933 -3.39168)'), GeomFromEWKT('SRID=4674;POINT (-38.356944 -3.391573)'))) / (select extract(epoch from '2026-06-08 16:38:58'::timestamp) - extract(epoch from '2026-06-08 16:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.356949 -3.391453)', '2026-06-08 16:39:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356944 -3.391573)'), GeomFromEWKT('SRID=4674;POINT (-38.356949 -3.391453)'))) / (select extract(epoch from '2026-06-08 16:39:04'::timestamp) - extract(epoch from '2026-06-08 16:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356944 -3.391573)'), GeomFromEWKT('SRID=4674;POINT (-38.356949 -3.391453)'))) / (select extract(epoch from '2026-06-08 16:39:04'::timestamp) - extract(epoch from '2026-06-08 16:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.356948 -3.391332)', '2026-06-08 16:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356949 -3.391453)'), GeomFromEWKT('SRID=4674;POINT (-38.356948 -3.391332)'))) / (select extract(epoch from '2026-06-08 16:39:10'::timestamp) - extract(epoch from '2026-06-08 16:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356949 -3.391453)'), GeomFromEWKT('SRID=4674;POINT (-38.356948 -3.391332)'))) / (select extract(epoch from '2026-06-08 16:39:10'::timestamp) - extract(epoch from '2026-06-08 16:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.356955 -3.391193)', '2026-06-08 16:39:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356948 -3.391332)'), GeomFromEWKT('SRID=4674;POINT (-38.356955 -3.391193)'))) / (select extract(epoch from '2026-06-08 16:39:17'::timestamp) - extract(epoch from '2026-06-08 16:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356948 -3.391332)'), GeomFromEWKT('SRID=4674;POINT (-38.356955 -3.391193)'))) / (select extract(epoch from '2026-06-08 16:39:17'::timestamp) - extract(epoch from '2026-06-08 16:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.356982 -3.39107)', '2026-06-08 16:39:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356955 -3.391193)'), GeomFromEWKT('SRID=4674;POINT (-38.356982 -3.39107)'))) / (select extract(epoch from '2026-06-08 16:39:23'::timestamp) - extract(epoch from '2026-06-08 16:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356955 -3.391193)'), GeomFromEWKT('SRID=4674;POINT (-38.356982 -3.39107)'))) / (select extract(epoch from '2026-06-08 16:39:23'::timestamp) - extract(epoch from '2026-06-08 16:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357032 -3.390944)', '2026-06-08 16:39:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356982 -3.39107)'), GeomFromEWKT('SRID=4674;POINT (-38.357032 -3.390944)'))) / (select extract(epoch from '2026-06-08 16:39:29'::timestamp) - extract(epoch from '2026-06-08 16:39:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.356982 -3.39107)'), GeomFromEWKT('SRID=4674;POINT (-38.357032 -3.390944)'))) / (select extract(epoch from '2026-06-08 16:39:29'::timestamp) - extract(epoch from '2026-06-08 16:39: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'), 46534, 'SRID=4674;POINT (-38.357126 -3.390835)', '2026-06-08 16:39:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357032 -3.390944)'), GeomFromEWKT('SRID=4674;POINT (-38.357126 -3.390835)'))) / (select extract(epoch from '2026-06-08 16:39:36'::timestamp) - extract(epoch from '2026-06-08 16:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357032 -3.390944)'), GeomFromEWKT('SRID=4674;POINT (-38.357126 -3.390835)'))) / (select extract(epoch from '2026-06-08 16:39:36'::timestamp) - extract(epoch from '2026-06-08 16:39: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'), 46534, 'SRID=4674;POINT (-38.357236 -3.390745)', '2026-06-08 16:39:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357126 -3.390835)'), GeomFromEWKT('SRID=4674;POINT (-38.357236 -3.390745)'))) / (select extract(epoch from '2026-06-08 16:39:43'::timestamp) - extract(epoch from '2026-06-08 16:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357126 -3.390835)'), GeomFromEWKT('SRID=4674;POINT (-38.357236 -3.390745)'))) / (select extract(epoch from '2026-06-08 16:39:43'::timestamp) - extract(epoch from '2026-06-08 16:39: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'), 46534, 'SRID=4674;POINT (-38.357339 -3.390682)', '2026-06-08 16:39:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357236 -3.390745)'), GeomFromEWKT('SRID=4674;POINT (-38.357339 -3.390682)'))) / (select extract(epoch from '2026-06-08 16:39:49'::timestamp) - extract(epoch from '2026-06-08 16:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357236 -3.390745)'), GeomFromEWKT('SRID=4674;POINT (-38.357339 -3.390682)'))) / (select extract(epoch from '2026-06-08 16:39:49'::timestamp) - extract(epoch from '2026-06-08 16:39: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'), 46534, 'SRID=4674;POINT (-38.357431 -3.39064)', '2026-06-08 16:39:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357339 -3.390682)'), GeomFromEWKT('SRID=4674;POINT (-38.357431 -3.39064)'))) / (select extract(epoch from '2026-06-08 16:39:54'::timestamp) - extract(epoch from '2026-06-08 16:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357339 -3.390682)'), GeomFromEWKT('SRID=4674;POINT (-38.357431 -3.39064)'))) / (select extract(epoch from '2026-06-08 16:39:54'::timestamp) - extract(epoch from '2026-06-08 16:39: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'), 46534, 'SRID=4674;POINT (-38.357529 -3.390587)', '2026-06-08 16:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357431 -3.39064)'), GeomFromEWKT('SRID=4674;POINT (-38.357529 -3.390587)'))) / (select extract(epoch from '2026-06-08 16:40:00'::timestamp) - extract(epoch from '2026-06-08 16:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357431 -3.39064)'), GeomFromEWKT('SRID=4674;POINT (-38.357529 -3.390587)'))) / (select extract(epoch from '2026-06-08 16:40:00'::timestamp) - extract(epoch from '2026-06-08 16:39: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'), 46534, 'SRID=4674;POINT (-38.357644 -3.390537)', '2026-06-08 16:40:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357529 -3.390587)'), GeomFromEWKT('SRID=4674;POINT (-38.357644 -3.390537)'))) / (select extract(epoch from '2026-06-08 16:40:06'::timestamp) - extract(epoch from '2026-06-08 16:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357529 -3.390587)'), GeomFromEWKT('SRID=4674;POINT (-38.357644 -3.390537)'))) / (select extract(epoch from '2026-06-08 16:40:06'::timestamp) - extract(epoch from '2026-06-08 16:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357749 -3.390511)', '2026-06-08 16:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357644 -3.390537)'), GeomFromEWKT('SRID=4674;POINT (-38.357749 -3.390511)'))) / (select extract(epoch from '2026-06-08 16:40:11'::timestamp) - extract(epoch from '2026-06-08 16:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357644 -3.390537)'), GeomFromEWKT('SRID=4674;POINT (-38.357749 -3.390511)'))) / (select extract(epoch from '2026-06-08 16:40:11'::timestamp) - extract(epoch from '2026-06-08 16:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357837 -3.390498)', '2026-06-08 16:40:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357749 -3.390511)'), GeomFromEWKT('SRID=4674;POINT (-38.357837 -3.390498)'))) / (select extract(epoch from '2026-06-08 16:40:17'::timestamp) - extract(epoch from '2026-06-08 16:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357749 -3.390511)'), GeomFromEWKT('SRID=4674;POINT (-38.357837 -3.390498)'))) / (select extract(epoch from '2026-06-08 16:40:17'::timestamp) - extract(epoch from '2026-06-08 16:40: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'), 46534, 'SRID=4674;POINT (-38.357898 -3.390498)', '2026-06-08 16:40:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357837 -3.390498)'), GeomFromEWKT('SRID=4674;POINT (-38.357898 -3.390498)'))) / (select extract(epoch from '2026-06-08 16:40:23'::timestamp) - extract(epoch from '2026-06-08 16:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357837 -3.390498)'), GeomFromEWKT('SRID=4674;POINT (-38.357898 -3.390498)'))) / (select extract(epoch from '2026-06-08 16:40:23'::timestamp) - extract(epoch from '2026-06-08 16:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.357973 -3.390499)', '2026-06-08 16:40:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357898 -3.390498)'), GeomFromEWKT('SRID=4674;POINT (-38.357973 -3.390499)'))) / (select extract(epoch from '2026-06-08 16:40:32'::timestamp) - extract(epoch from '2026-06-08 16:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357898 -3.390498)'), GeomFromEWKT('SRID=4674;POINT (-38.357973 -3.390499)'))) / (select extract(epoch from '2026-06-08 16:40:32'::timestamp) - extract(epoch from '2026-06-08 16:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358039 -3.390492)', '2026-06-08 16:40:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357973 -3.390499)'), GeomFromEWKT('SRID=4674;POINT (-38.358039 -3.390492)'))) / (select extract(epoch from '2026-06-08 16:40:41'::timestamp) - extract(epoch from '2026-06-08 16:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.357973 -3.390499)'), GeomFromEWKT('SRID=4674;POINT (-38.358039 -3.390492)'))) / (select extract(epoch from '2026-06-08 16:40:41'::timestamp) - extract(epoch from '2026-06-08 16:40:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358138 -3.390499)', '2026-06-08 16:40:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358039 -3.390492)'), GeomFromEWKT('SRID=4674;POINT (-38.358138 -3.390499)'))) / (select extract(epoch from '2026-06-08 16:40:55'::timestamp) - extract(epoch from '2026-06-08 16:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358039 -3.390492)'), GeomFromEWKT('SRID=4674;POINT (-38.358138 -3.390499)'))) / (select extract(epoch from '2026-06-08 16:40:55'::timestamp) - extract(epoch from '2026-06-08 16:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358183 -3.390489)', '2026-06-08 16:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358138 -3.390499)'), GeomFromEWKT('SRID=4674;POINT (-38.358183 -3.390489)'))) / (select extract(epoch from '2026-06-08 16:41:02'::timestamp) - extract(epoch from '2026-06-08 16:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358138 -3.390499)'), GeomFromEWKT('SRID=4674;POINT (-38.358183 -3.390489)'))) / (select extract(epoch from '2026-06-08 16:41:02'::timestamp) - extract(epoch from '2026-06-08 16:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358224 -3.390475)', '2026-06-08 16:41:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358183 -3.390489)'), GeomFromEWKT('SRID=4674;POINT (-38.358224 -3.390475)'))) / (select extract(epoch from '2026-06-08 16:41:08'::timestamp) - extract(epoch from '2026-06-08 16:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358183 -3.390489)'), GeomFromEWKT('SRID=4674;POINT (-38.358224 -3.390475)'))) / (select extract(epoch from '2026-06-08 16:41:08'::timestamp) - extract(epoch from '2026-06-08 16:41: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'), 46534, 'SRID=4674;POINT (-38.358277 -3.390463)', '2026-06-08 16:41:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358224 -3.390475)'), GeomFromEWKT('SRID=4674;POINT (-38.358277 -3.390463)'))) / (select extract(epoch from '2026-06-08 16:41:15'::timestamp) - extract(epoch from '2026-06-08 16:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358224 -3.390475)'), GeomFromEWKT('SRID=4674;POINT (-38.358277 -3.390463)'))) / (select extract(epoch from '2026-06-08 16:41:15'::timestamp) - extract(epoch from '2026-06-08 16:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358322 -3.390464)', '2026-06-08 16:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358277 -3.390463)'), GeomFromEWKT('SRID=4674;POINT (-38.358322 -3.390464)'))) / (select extract(epoch from '2026-06-08 16:41:20'::timestamp) - extract(epoch from '2026-06-08 16:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358277 -3.390463)'), GeomFromEWKT('SRID=4674;POINT (-38.358322 -3.390464)'))) / (select extract(epoch from '2026-06-08 16:41:20'::timestamp) - extract(epoch from '2026-06-08 16:41: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'), 46534, 'SRID=4674;POINT (-38.358393 -3.390453)', '2026-06-08 16:41:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358322 -3.390464)'), GeomFromEWKT('SRID=4674;POINT (-38.358393 -3.390453)'))) / (select extract(epoch from '2026-06-08 16:41:29'::timestamp) - extract(epoch from '2026-06-08 16:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358322 -3.390464)'), GeomFromEWKT('SRID=4674;POINT (-38.358393 -3.390453)'))) / (select extract(epoch from '2026-06-08 16:41:29'::timestamp) - extract(epoch from '2026-06-08 16:41: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'), 46534, 'SRID=4674;POINT (-38.358476 -3.390451)', '2026-06-08 16:41:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358393 -3.390453)'), GeomFromEWKT('SRID=4674;POINT (-38.358476 -3.390451)'))) / (select extract(epoch from '2026-06-08 16:41:40'::timestamp) - extract(epoch from '2026-06-08 16:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358393 -3.390453)'), GeomFromEWKT('SRID=4674;POINT (-38.358476 -3.390451)'))) / (select extract(epoch from '2026-06-08 16:41:40'::timestamp) - extract(epoch from '2026-06-08 16:41: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'), 46534, 'SRID=4674;POINT (-38.358554 -3.390454)', '2026-06-08 16:41:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358476 -3.390451)'), GeomFromEWKT('SRID=4674;POINT (-38.358554 -3.390454)'))) / (select extract(epoch from '2026-06-08 16:41:50'::timestamp) - extract(epoch from '2026-06-08 16:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358476 -3.390451)'), GeomFromEWKT('SRID=4674;POINT (-38.358554 -3.390454)'))) / (select extract(epoch from '2026-06-08 16:41:50'::timestamp) - extract(epoch from '2026-06-08 16:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358627 -3.390444)', '2026-06-08 16:42:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358554 -3.390454)'), GeomFromEWKT('SRID=4674;POINT (-38.358627 -3.390444)'))) / (select extract(epoch from '2026-06-08 16:42:01'::timestamp) - extract(epoch from '2026-06-08 16:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358554 -3.390454)'), GeomFromEWKT('SRID=4674;POINT (-38.358627 -3.390444)'))) / (select extract(epoch from '2026-06-08 16:42:01'::timestamp) - extract(epoch from '2026-06-08 16:41: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'), 46534, 'SRID=4674;POINT (-38.358707 -3.390422)', '2026-06-08 16:42:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358627 -3.390444)'), GeomFromEWKT('SRID=4674;POINT (-38.358707 -3.390422)'))) / (select extract(epoch from '2026-06-08 16:42:14'::timestamp) - extract(epoch from '2026-06-08 16:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358627 -3.390444)'), GeomFromEWKT('SRID=4674;POINT (-38.358707 -3.390422)'))) / (select extract(epoch from '2026-06-08 16:42:14'::timestamp) - extract(epoch from '2026-06-08 16:42: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'), 46534, 'SRID=4674;POINT (-38.35878 -3.390383)', '2026-06-08 16:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358707 -3.390422)'), GeomFromEWKT('SRID=4674;POINT (-38.35878 -3.390383)'))) / (select extract(epoch from '2026-06-08 16:42:26'::timestamp) - extract(epoch from '2026-06-08 16:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358707 -3.390422)'), GeomFromEWKT('SRID=4674;POINT (-38.35878 -3.390383)'))) / (select extract(epoch from '2026-06-08 16:42:26'::timestamp) - extract(epoch from '2026-06-08 16:42:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.358846 -3.390366)', '2026-06-08 16:42:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35878 -3.390383)'), GeomFromEWKT('SRID=4674;POINT (-38.358846 -3.390366)'))) / (select extract(epoch from '2026-06-08 16:42:36'::timestamp) - extract(epoch from '2026-06-08 16:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35878 -3.390383)'), GeomFromEWKT('SRID=4674;POINT (-38.358846 -3.390366)'))) / (select extract(epoch from '2026-06-08 16:42:36'::timestamp) - extract(epoch from '2026-06-08 16:42: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'), 46534, 'SRID=4674;POINT (-38.358893 -3.390364)', '2026-06-08 16:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358846 -3.390366)'), GeomFromEWKT('SRID=4674;POINT (-38.358893 -3.390364)'))) / (select extract(epoch from '2026-06-08 16:42:47'::timestamp) - extract(epoch from '2026-06-08 16:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358846 -3.390366)'), GeomFromEWKT('SRID=4674;POINT (-38.358893 -3.390364)'))) / (select extract(epoch from '2026-06-08 16:42:47'::timestamp) - extract(epoch from '2026-06-08 16:42: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'), 46534, 'SRID=4674;POINT (-38.358948 -3.39033)', '2026-06-08 16:43:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358893 -3.390364)'), GeomFromEWKT('SRID=4674;POINT (-38.358948 -3.39033)'))) / (select extract(epoch from '2026-06-08 16:43:00'::timestamp) - extract(epoch from '2026-06-08 16:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358893 -3.390364)'), GeomFromEWKT('SRID=4674;POINT (-38.358948 -3.39033)'))) / (select extract(epoch from '2026-06-08 16:43:00'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.359 -3.390304)', '2026-06-08 16:43:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358948 -3.39033)'), GeomFromEWKT('SRID=4674;POINT (-38.359 -3.390304)'))) / (select extract(epoch from '2026-06-08 16:43:12'::timestamp) - extract(epoch from '2026-06-08 16:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.358948 -3.39033)'), GeomFromEWKT('SRID=4674;POINT (-38.359 -3.390304)'))) / (select extract(epoch from '2026-06-08 16:43:12'::timestamp) - extract(epoch from '2026-06-08 16:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359052 -3.390277)', '2026-06-08 16:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359 -3.390304)'), GeomFromEWKT('SRID=4674;POINT (-38.359052 -3.390277)'))) / (select extract(epoch from '2026-06-08 16:43:22'::timestamp) - extract(epoch from '2026-06-08 16:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359 -3.390304)'), GeomFromEWKT('SRID=4674;POINT (-38.359052 -3.390277)'))) / (select extract(epoch from '2026-06-08 16:43:22'::timestamp) - extract(epoch from '2026-06-08 16:43:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359092 -3.390254)', '2026-06-08 16:43:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359052 -3.390277)'), GeomFromEWKT('SRID=4674;POINT (-38.359092 -3.390254)'))) / (select extract(epoch from '2026-06-08 16:43:31'::timestamp) - extract(epoch from '2026-06-08 16:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359052 -3.390277)'), GeomFromEWKT('SRID=4674;POINT (-38.359092 -3.390254)'))) / (select extract(epoch from '2026-06-08 16:43:31'::timestamp) - extract(epoch from '2026-06-08 16:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.35914 -3.390222)', '2026-06-08 16:43:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359092 -3.390254)'), GeomFromEWKT('SRID=4674;POINT (-38.35914 -3.390222)'))) / (select extract(epoch from '2026-06-08 16:43:42'::timestamp) - extract(epoch from '2026-06-08 16:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359092 -3.390254)'), GeomFromEWKT('SRID=4674;POINT (-38.35914 -3.390222)'))) / (select extract(epoch from '2026-06-08 16:43:42'::timestamp) - extract(epoch from '2026-06-08 16:43: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'), 46534, 'SRID=4674;POINT (-38.359181 -3.390214)', '2026-06-08 16:43:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35914 -3.390222)'), GeomFromEWKT('SRID=4674;POINT (-38.359181 -3.390214)'))) / (select extract(epoch from '2026-06-08 16:43:49'::timestamp) - extract(epoch from '2026-06-08 16:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.35914 -3.390222)'), GeomFromEWKT('SRID=4674;POINT (-38.359181 -3.390214)'))) / (select extract(epoch from '2026-06-08 16:43:49'::timestamp) - extract(epoch from '2026-06-08 16:43: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'), 46534, 'SRID=4674;POINT (-38.359232 -3.390198)', '2026-06-08 16:43:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359181 -3.390214)'), GeomFromEWKT('SRID=4674;POINT (-38.359232 -3.390198)'))) / (select extract(epoch from '2026-06-08 16:43:57'::timestamp) - extract(epoch from '2026-06-08 16:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359181 -3.390214)'), GeomFromEWKT('SRID=4674;POINT (-38.359232 -3.390198)'))) / (select extract(epoch from '2026-06-08 16:43:57'::timestamp) - extract(epoch from '2026-06-08 16:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359255 -3.390183)', '2026-06-08 16:44:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359232 -3.390198)'), GeomFromEWKT('SRID=4674;POINT (-38.359255 -3.390183)'))) / (select extract(epoch from '2026-06-08 16:44:02'::timestamp) - extract(epoch from '2026-06-08 16:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359232 -3.390198)'), GeomFromEWKT('SRID=4674;POINT (-38.359255 -3.390183)'))) / (select extract(epoch from '2026-06-08 16:44:02'::timestamp) - extract(epoch from '2026-06-08 16:43: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'), 46534, 'SRID=4674;POINT (-38.359285 -3.390179)', '2026-06-08 16:44:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359255 -3.390183)'), GeomFromEWKT('SRID=4674;POINT (-38.359285 -3.390179)'))) / (select extract(epoch from '2026-06-08 16:44:08'::timestamp) - extract(epoch from '2026-06-08 16:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359255 -3.390183)'), GeomFromEWKT('SRID=4674;POINT (-38.359285 -3.390179)'))) / (select extract(epoch from '2026-06-08 16:44:08'::timestamp) - extract(epoch from '2026-06-08 16:44: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'), 46534, 'SRID=4674;POINT (-38.359323 -3.390164)', '2026-06-08 16:44:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359285 -3.390179)'), GeomFromEWKT('SRID=4674;POINT (-38.359323 -3.390164)'))) / (select extract(epoch from '2026-06-08 16:44:15'::timestamp) - extract(epoch from '2026-06-08 16:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359285 -3.390179)'), GeomFromEWKT('SRID=4674;POINT (-38.359323 -3.390164)'))) / (select extract(epoch from '2026-06-08 16:44:15'::timestamp) - extract(epoch from '2026-06-08 16:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359364 -3.390146)', '2026-06-08 16:44:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359323 -3.390164)'), GeomFromEWKT('SRID=4674;POINT (-38.359364 -3.390146)'))) / (select extract(epoch from '2026-06-08 16:44:22'::timestamp) - extract(epoch from '2026-06-08 16:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359323 -3.390164)'), GeomFromEWKT('SRID=4674;POINT (-38.359364 -3.390146)'))) / (select extract(epoch from '2026-06-08 16:44:22'::timestamp) - extract(epoch from '2026-06-08 16:44:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359398 -3.390128)', '2026-06-08 16:44:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359364 -3.390146)'), GeomFromEWKT('SRID=4674;POINT (-38.359398 -3.390128)'))) / (select extract(epoch from '2026-06-08 16:44:30'::timestamp) - extract(epoch from '2026-06-08 16:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359364 -3.390146)'), GeomFromEWKT('SRID=4674;POINT (-38.359398 -3.390128)'))) / (select extract(epoch from '2026-06-08 16:44:30'::timestamp) - extract(epoch from '2026-06-08 16:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359446 -3.39011)', '2026-06-08 16:44:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359398 -3.390128)'), GeomFromEWKT('SRID=4674;POINT (-38.359446 -3.39011)'))) / (select extract(epoch from '2026-06-08 16:44:39'::timestamp) - extract(epoch from '2026-06-08 16:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359398 -3.390128)'), GeomFromEWKT('SRID=4674;POINT (-38.359446 -3.39011)'))) / (select extract(epoch from '2026-06-08 16:44:39'::timestamp) - extract(epoch from '2026-06-08 16:44: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'), 46534, 'SRID=4674;POINT (-38.359482 -3.390097)', '2026-06-08 16:44:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359446 -3.39011)'), GeomFromEWKT('SRID=4674;POINT (-38.359482 -3.390097)'))) / (select extract(epoch from '2026-06-08 16:44:48'::timestamp) - extract(epoch from '2026-06-08 16:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359446 -3.39011)'), GeomFromEWKT('SRID=4674;POINT (-38.359482 -3.390097)'))) / (select extract(epoch from '2026-06-08 16:44:48'::timestamp) - extract(epoch from '2026-06-08 16:44: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'), 46534, 'SRID=4674;POINT (-38.359487 -3.390086)', '2026-06-08 16:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359482 -3.390097)'), GeomFromEWKT('SRID=4674;POINT (-38.359487 -3.390086)'))) / (select extract(epoch from '2026-06-08 16:44:57'::timestamp) - extract(epoch from '2026-06-08 16:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359482 -3.390097)'), GeomFromEWKT('SRID=4674;POINT (-38.359487 -3.390086)'))) / (select extract(epoch from '2026-06-08 16:44:57'::timestamp) - extract(epoch from '2026-06-08 16:44: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'), 46534, 'SRID=4674;POINT (-38.359476 -3.390082)', '2026-06-08 16:45:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359487 -3.390086)'), GeomFromEWKT('SRID=4674;POINT (-38.359476 -3.390082)'))) / (select extract(epoch from '2026-06-08 16:45:08'::timestamp) - extract(epoch from '2026-06-08 16:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359487 -3.390086)'), GeomFromEWKT('SRID=4674;POINT (-38.359476 -3.390082)'))) / (select extract(epoch from '2026-06-08 16:45:08'::timestamp) - extract(epoch from '2026-06-08 16:44: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'), 46534, 'SRID=4674;POINT (-38.359477 -3.390077)', '2026-06-08 16:45:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359476 -3.390082)'), GeomFromEWKT('SRID=4674;POINT (-38.359477 -3.390077)'))) / (select extract(epoch from '2026-06-08 16:45:17'::timestamp) - extract(epoch from '2026-06-08 16:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359476 -3.390082)'), GeomFromEWKT('SRID=4674;POINT (-38.359477 -3.390077)'))) / (select extract(epoch from '2026-06-08 16:45:17'::timestamp) - extract(epoch from '2026-06-08 16:45: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'), 46534, 'SRID=4674;POINT (-38.359479 -3.390079)', '2026-06-08 16:45:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359477 -3.390077)'), GeomFromEWKT('SRID=4674;POINT (-38.359479 -3.390079)'))) / (select extract(epoch from '2026-06-08 16:45:27'::timestamp) - extract(epoch from '2026-06-08 16:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359477 -3.390077)'), GeomFromEWKT('SRID=4674;POINT (-38.359479 -3.390079)'))) / (select extract(epoch from '2026-06-08 16:45:27'::timestamp) - extract(epoch from '2026-06-08 16:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359478 -3.390076)', '2026-06-08 16:45:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359479 -3.390079)'), GeomFromEWKT('SRID=4674;POINT (-38.359478 -3.390076)'))) / (select extract(epoch from '2026-06-08 16:45:37'::timestamp) - extract(epoch from '2026-06-08 16:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359479 -3.390079)'), GeomFromEWKT('SRID=4674;POINT (-38.359478 -3.390076)'))) / (select extract(epoch from '2026-06-08 16:45:37'::timestamp) - extract(epoch from '2026-06-08 16:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359474 -3.390065)', '2026-06-08 16:45:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359478 -3.390076)'), GeomFromEWKT('SRID=4674;POINT (-38.359474 -3.390065)'))) / (select extract(epoch from '2026-06-08 16:45:46'::timestamp) - extract(epoch from '2026-06-08 16:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359478 -3.390076)'), GeomFromEWKT('SRID=4674;POINT (-38.359474 -3.390065)'))) / (select extract(epoch from '2026-06-08 16:45:46'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.359465 -3.390057)', '2026-06-08 16:46:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359474 -3.390065)'), GeomFromEWKT('SRID=4674;POINT (-38.359465 -3.390057)'))) / (select extract(epoch from '2026-06-08 16:46:00'::timestamp) - extract(epoch from '2026-06-08 16:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359474 -3.390065)'), GeomFromEWKT('SRID=4674;POINT (-38.359465 -3.390057)'))) / (select extract(epoch from '2026-06-08 16:46:00'::timestamp) - extract(epoch from '2026-06-08 16:45:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359471 -3.390058)', '2026-06-08 16:46:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359465 -3.390057)'), GeomFromEWKT('SRID=4674;POINT (-38.359471 -3.390058)'))) / (select extract(epoch from '2026-06-08 16:46:11'::timestamp) - extract(epoch from '2026-06-08 16:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359465 -3.390057)'), GeomFromEWKT('SRID=4674;POINT (-38.359471 -3.390058)'))) / (select extract(epoch from '2026-06-08 16:46:11'::timestamp) - extract(epoch from '2026-06-08 16:46: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'), 46534, 'SRID=4674;POINT (-38.359467 -3.390053)', '2026-06-08 16:46:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359471 -3.390058)'), GeomFromEWKT('SRID=4674;POINT (-38.359467 -3.390053)'))) / (select extract(epoch from '2026-06-08 16:46:24'::timestamp) - extract(epoch from '2026-06-08 16:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359471 -3.390058)'), GeomFromEWKT('SRID=4674;POINT (-38.359467 -3.390053)'))) / (select extract(epoch from '2026-06-08 16:46:24'::timestamp) - extract(epoch from '2026-06-08 16:46: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'), 46534, 'SRID=4674;POINT (-38.359464 -3.39005)', '2026-06-08 16:46:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359467 -3.390053)'), GeomFromEWKT('SRID=4674;POINT (-38.359464 -3.39005)'))) / (select extract(epoch from '2026-06-08 16:46:33'::timestamp) - extract(epoch from '2026-06-08 16:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359467 -3.390053)'), GeomFromEWKT('SRID=4674;POINT (-38.359464 -3.39005)'))) / (select extract(epoch from '2026-06-08 16:46:33'::timestamp) - extract(epoch from '2026-06-08 16:46:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359476 -3.390039)', '2026-06-08 16:46:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359464 -3.39005)'), GeomFromEWKT('SRID=4674;POINT (-38.359476 -3.390039)'))) / (select extract(epoch from '2026-06-08 16:46:40'::timestamp) - extract(epoch from '2026-06-08 16:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359464 -3.39005)'), GeomFromEWKT('SRID=4674;POINT (-38.359476 -3.390039)'))) / (select extract(epoch from '2026-06-08 16:46:40'::timestamp) - extract(epoch from '2026-06-08 16:46: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'), 46534, 'SRID=4674;POINT (-38.359514 -3.390026)', '2026-06-08 16:46:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359476 -3.390039)'), GeomFromEWKT('SRID=4674;POINT (-38.359514 -3.390026)'))) / (select extract(epoch from '2026-06-08 16:46:49'::timestamp) - extract(epoch from '2026-06-08 16:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359476 -3.390039)'), GeomFromEWKT('SRID=4674;POINT (-38.359514 -3.390026)'))) / (select extract(epoch from '2026-06-08 16:46:49'::timestamp) - extract(epoch from '2026-06-08 16:46: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'), 46534, 'SRID=4674;POINT (-38.359575 -3.390004)', '2026-06-08 16:46:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359514 -3.390026)'), GeomFromEWKT('SRID=4674;POINT (-38.359575 -3.390004)'))) / (select extract(epoch from '2026-06-08 16:46:59'::timestamp) - extract(epoch from '2026-06-08 16:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359514 -3.390026)'), GeomFromEWKT('SRID=4674;POINT (-38.359575 -3.390004)'))) / (select extract(epoch from '2026-06-08 16:46:59'::timestamp) - extract(epoch from '2026-06-08 16:46: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'), 46534, 'SRID=4674;POINT (-38.359628 -3.389984)', '2026-06-08 16:47:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359575 -3.390004)'), GeomFromEWKT('SRID=4674;POINT (-38.359628 -3.389984)'))) / (select extract(epoch from '2026-06-08 16:47:07'::timestamp) - extract(epoch from '2026-06-08 16:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359575 -3.390004)'), GeomFromEWKT('SRID=4674;POINT (-38.359628 -3.389984)'))) / (select extract(epoch from '2026-06-08 16:47:07'::timestamp) - extract(epoch from '2026-06-08 16:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359647 -3.389978)', '2026-06-08 16:47:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359628 -3.389984)'), GeomFromEWKT('SRID=4674;POINT (-38.359647 -3.389978)'))) / (select extract(epoch from '2026-06-08 16:47:15'::timestamp) - extract(epoch from '2026-06-08 16:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359628 -3.389984)'), GeomFromEWKT('SRID=4674;POINT (-38.359647 -3.389978)'))) / (select extract(epoch from '2026-06-08 16:47:15'::timestamp) - extract(epoch from '2026-06-08 16:47: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'), 46534, 'SRID=4674;POINT (-38.359637 -3.389976)', '2026-06-08 16:47:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359647 -3.389978)'), GeomFromEWKT('SRID=4674;POINT (-38.359637 -3.389976)'))) / (select extract(epoch from '2026-06-08 16:47:22'::timestamp) - extract(epoch from '2026-06-08 16:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359647 -3.389978)'), GeomFromEWKT('SRID=4674;POINT (-38.359637 -3.389976)'))) / (select extract(epoch from '2026-06-08 16:47:22'::timestamp) - extract(epoch from '2026-06-08 16:47: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'), 46534, 'SRID=4674;POINT (-38.359631 -3.389987)', '2026-06-08 16:47:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359637 -3.389976)'), GeomFromEWKT('SRID=4674;POINT (-38.359631 -3.389987)'))) / (select extract(epoch from '2026-06-08 16:47:34'::timestamp) - extract(epoch from '2026-06-08 16:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359637 -3.389976)'), GeomFromEWKT('SRID=4674;POINT (-38.359631 -3.389987)'))) / (select extract(epoch from '2026-06-08 16:47:34'::timestamp) - extract(epoch from '2026-06-08 16:47: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'), 46534, 'SRID=4674;POINT (-38.359634 -3.389988)', '2026-06-08 16:47:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359631 -3.389987)'), GeomFromEWKT('SRID=4674;POINT (-38.359634 -3.389988)'))) / (select extract(epoch from '2026-06-08 16:47:47'::timestamp) - extract(epoch from '2026-06-08 16:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359631 -3.389987)'), GeomFromEWKT('SRID=4674;POINT (-38.359634 -3.389988)'))) / (select extract(epoch from '2026-06-08 16:47:47'::timestamp) - extract(epoch from '2026-06-08 16:47: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'), 46534, 'SRID=4674;POINT (-38.359632 -3.389977)', '2026-06-08 16:47:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359634 -3.389988)'), GeomFromEWKT('SRID=4674;POINT (-38.359632 -3.389977)'))) / (select extract(epoch from '2026-06-08 16:47:55'::timestamp) - extract(epoch from '2026-06-08 16:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359634 -3.389988)'), GeomFromEWKT('SRID=4674;POINT (-38.359632 -3.389977)'))) / (select extract(epoch from '2026-06-08 16:47:55'::timestamp) - extract(epoch from '2026-06-08 16:47: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'), 46534, 'SRID=4674;POINT (-38.359625 -3.389972)', '2026-06-08 16:48:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359632 -3.389977)'), GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.389972)'))) / (select extract(epoch from '2026-06-08 16:48:05'::timestamp) - extract(epoch from '2026-06-08 16:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359632 -3.389977)'), GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.389972)'))) / (select extract(epoch from '2026-06-08 16:48:05'::timestamp) - extract(epoch from '2026-06-08 16:47: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'), 46534, 'SRID=4674;POINT (-38.359625 -3.389968)', '2026-06-08 16:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.389972)'), GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.389968)'))) / (select extract(epoch from '2026-06-08 16:48:18'::timestamp) - extract(epoch from '2026-06-08 16:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.389972)'), GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.389968)'))) / (select extract(epoch from '2026-06-08 16:48:18'::timestamp) - extract(epoch from '2026-06-08 16:48:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.359627 -3.389961)', '2026-06-08 16:48:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.389968)'), GeomFromEWKT('SRID=4674;POINT (-38.359627 -3.389961)'))) / (select extract(epoch from '2026-06-08 16:48:26'::timestamp) - extract(epoch from '2026-06-08 16:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359625 -3.389968)'), GeomFromEWKT('SRID=4674;POINT (-38.359627 -3.389961)'))) / (select extract(epoch from '2026-06-08 16:48:26'::timestamp) - extract(epoch from '2026-06-08 16: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'), 46534, 'SRID=4674;POINT (-38.369022 -3.387219)', '2026-06-09 12:46:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359627 -3.389961)'), GeomFromEWKT('SRID=4674;POINT (-38.369022 -3.387219)'))) / (select extract(epoch from '2026-06-09 12:46:23'::timestamp) - extract(epoch from '2026-06-08 16:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.359627 -3.389961)'), GeomFromEWKT('SRID=4674;POINT (-38.369022 -3.387219)'))) / (select extract(epoch from '2026-06-09 12:46:23'::timestamp) - extract(epoch from '2026-06-08 16:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.369043 -3.387255)', '2026-06-09 12:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369022 -3.387219)'), GeomFromEWKT('SRID=4674;POINT (-38.369043 -3.387255)'))) / (select extract(epoch from '2026-06-09 12:46:25'::timestamp) - extract(epoch from '2026-06-09 12:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369022 -3.387219)'), GeomFromEWKT('SRID=4674;POINT (-38.369043 -3.387255)'))) / (select extract(epoch from '2026-06-09 12:46:25'::timestamp) - extract(epoch from '2026-06-09 12:46: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'), 46534, 'SRID=4674;POINT (-38.369101 -3.387317)', '2026-06-09 12:46:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369043 -3.387255)'), GeomFromEWKT('SRID=4674;POINT (-38.369101 -3.387317)'))) / (select extract(epoch from '2026-06-09 12:46:31'::timestamp) - extract(epoch from '2026-06-09 12:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369043 -3.387255)'), GeomFromEWKT('SRID=4674;POINT (-38.369101 -3.387317)'))) / (select extract(epoch from '2026-06-09 12:46:31'::timestamp) - extract(epoch from '2026-06-09 12:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.369134 -3.387349)', '2026-06-09 12:46:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369101 -3.387317)'), GeomFromEWKT('SRID=4674;POINT (-38.369134 -3.387349)'))) / (select extract(epoch from '2026-06-09 12:46:33'::timestamp) - extract(epoch from '2026-06-09 12:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369101 -3.387317)'), GeomFromEWKT('SRID=4674;POINT (-38.369134 -3.387349)'))) / (select extract(epoch from '2026-06-09 12:46:33'::timestamp) - extract(epoch from '2026-06-09 12:46:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.369173 -3.38739)', '2026-06-09 12:46:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369134 -3.387349)'), GeomFromEWKT('SRID=4674;POINT (-38.369173 -3.38739)'))) / (select extract(epoch from '2026-06-09 12:46:36'::timestamp) - extract(epoch from '2026-06-09 12:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369134 -3.387349)'), GeomFromEWKT('SRID=4674;POINT (-38.369173 -3.38739)'))) / (select extract(epoch from '2026-06-09 12:46:36'::timestamp) - extract(epoch from '2026-06-09 12:46: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'), 46534, 'SRID=4674;POINT (-38.369245 -3.387483)', '2026-06-09 12:46:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369173 -3.38739)'), GeomFromEWKT('SRID=4674;POINT (-38.369245 -3.387483)'))) / (select extract(epoch from '2026-06-09 12:46:42'::timestamp) - extract(epoch from '2026-06-09 12:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369173 -3.38739)'), GeomFromEWKT('SRID=4674;POINT (-38.369245 -3.387483)'))) / (select extract(epoch from '2026-06-09 12:46:42'::timestamp) - extract(epoch from '2026-06-09 12:46:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.369283 -3.387546)', '2026-06-09 12:46:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369245 -3.387483)'), GeomFromEWKT('SRID=4674;POINT (-38.369283 -3.387546)'))) / (select extract(epoch from '2026-06-09 12:46:46'::timestamp) - extract(epoch from '2026-06-09 12:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369245 -3.387483)'), GeomFromEWKT('SRID=4674;POINT (-38.369283 -3.387546)'))) / (select extract(epoch from '2026-06-09 12:46:46'::timestamp) - extract(epoch from '2026-06-09 12:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.369295 -3.387561)', '2026-06-09 12:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369283 -3.387546)'), GeomFromEWKT('SRID=4674;POINT (-38.369295 -3.387561)'))) / (select extract(epoch from '2026-06-09 12:46:47'::timestamp) - extract(epoch from '2026-06-09 12:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369283 -3.387546)'), GeomFromEWKT('SRID=4674;POINT (-38.369295 -3.387561)'))) / (select extract(epoch from '2026-06-09 12:46:47'::timestamp) - extract(epoch from '2026-06-09 12:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.369309 -3.387581)', '2026-06-09 12:46:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369295 -3.387561)'), GeomFromEWKT('SRID=4674;POINT (-38.369309 -3.387581)'))) / (select extract(epoch from '2026-06-09 12:46:49'::timestamp) - extract(epoch from '2026-06-09 12:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369295 -3.387561)'), GeomFromEWKT('SRID=4674;POINT (-38.369309 -3.387581)'))) / (select extract(epoch from '2026-06-09 12:46:49'::timestamp) - extract(epoch from '2026-06-09 12:46: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'), 46534, 'SRID=4674;POINT (-38.369338 -3.387621)', '2026-06-09 12:46:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369309 -3.387581)'), GeomFromEWKT('SRID=4674;POINT (-38.369338 -3.387621)'))) / (select extract(epoch from '2026-06-09 12:46:52'::timestamp) - extract(epoch from '2026-06-09 12:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369309 -3.387581)'), GeomFromEWKT('SRID=4674;POINT (-38.369338 -3.387621)'))) / (select extract(epoch from '2026-06-09 12:46:52'::timestamp) - extract(epoch from '2026-06-09 12:46: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'), 46534, 'SRID=4674;POINT (-38.369365 -3.387667)', '2026-06-09 12:46:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369338 -3.387621)'), GeomFromEWKT('SRID=4674;POINT (-38.369365 -3.387667)'))) / (select extract(epoch from '2026-06-09 12:46:56'::timestamp) - extract(epoch from '2026-06-09 12:46:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369338 -3.387621)'), GeomFromEWKT('SRID=4674;POINT (-38.369365 -3.387667)'))) / (select extract(epoch from '2026-06-09 12:46:56'::timestamp) - extract(epoch from '2026-06-09 12:46:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.369377 -3.387676)', '2026-06-09 12:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369365 -3.387667)'), GeomFromEWKT('SRID=4674;POINT (-38.369377 -3.387676)'))) / (select extract(epoch from '2026-06-09 12:46:57'::timestamp) - extract(epoch from '2026-06-09 12:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369365 -3.387667)'), GeomFromEWKT('SRID=4674;POINT (-38.369377 -3.387676)'))) / (select extract(epoch from '2026-06-09 12:46:57'::timestamp) - extract(epoch from '2026-06-09 12:46: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'), 46534, 'SRID=4674;POINT (-38.369394 -3.387697)', '2026-06-09 12:47:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369377 -3.387676)'), GeomFromEWKT('SRID=4674;POINT (-38.369394 -3.387697)'))) / (select extract(epoch from '2026-06-09 12:47:01'::timestamp) - extract(epoch from '2026-06-09 12:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369377 -3.387676)'), GeomFromEWKT('SRID=4674;POINT (-38.369394 -3.387697)'))) / (select extract(epoch from '2026-06-09 12:47:01'::timestamp) - extract(epoch from '2026-06-09 12:46: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'), 46534, 'SRID=4674;POINT (-38.369404 -3.387703)', '2026-06-09 12:47:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369394 -3.387697)'), GeomFromEWKT('SRID=4674;POINT (-38.369404 -3.387703)'))) / (select extract(epoch from '2026-06-09 12:47:02'::timestamp) - extract(epoch from '2026-06-09 12:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369394 -3.387697)'), GeomFromEWKT('SRID=4674;POINT (-38.369404 -3.387703)'))) / (select extract(epoch from '2026-06-09 12:47:02'::timestamp) - extract(epoch from '2026-06-09 12:47: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'), 46534, 'SRID=4674;POINT (-38.369418 -3.387722)', '2026-06-09 12:47:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369404 -3.387703)'), GeomFromEWKT('SRID=4674;POINT (-38.369418 -3.387722)'))) / (select extract(epoch from '2026-06-09 12:47:05'::timestamp) - extract(epoch from '2026-06-09 12:47:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369404 -3.387703)'), GeomFromEWKT('SRID=4674;POINT (-38.369418 -3.387722)'))) / (select extract(epoch from '2026-06-09 12:47:05'::timestamp) - extract(epoch from '2026-06-09 12:47: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'), 46534, 'SRID=4674;POINT (-38.369461 -3.387786)', '2026-06-09 12:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369418 -3.387722)'), GeomFromEWKT('SRID=4674;POINT (-38.369461 -3.387786)'))) / (select extract(epoch from '2026-06-09 12:47:10'::timestamp) - extract(epoch from '2026-06-09 12:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369418 -3.387722)'), GeomFromEWKT('SRID=4674;POINT (-38.369461 -3.387786)'))) / (select extract(epoch from '2026-06-09 12:47:10'::timestamp) - extract(epoch from '2026-06-09 12:47: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'), 46534, 'SRID=4674;POINT (-38.369536 -3.387868)', '2026-06-09 12:47:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369461 -3.387786)'), GeomFromEWKT('SRID=4674;POINT (-38.369536 -3.387868)'))) / (select extract(epoch from '2026-06-09 12:47:17'::timestamp) - extract(epoch from '2026-06-09 12:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369461 -3.387786)'), GeomFromEWKT('SRID=4674;POINT (-38.369536 -3.387868)'))) / (select extract(epoch from '2026-06-09 12:47:17'::timestamp) - extract(epoch from '2026-06-09 12:47: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'), 46534, 'SRID=4674;POINT (-38.36961 -3.387977)', '2026-06-09 12:47:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369536 -3.387868)'), GeomFromEWKT('SRID=4674;POINT (-38.36961 -3.387977)'))) / (select extract(epoch from '2026-06-09 12:47:24'::timestamp) - extract(epoch from '2026-06-09 12:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369536 -3.387868)'), GeomFromEWKT('SRID=4674;POINT (-38.36961 -3.387977)'))) / (select extract(epoch from '2026-06-09 12:47:24'::timestamp) - extract(epoch from '2026-06-09 12:47: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'), 46534, 'SRID=4674;POINT (-38.369654 -3.388054)', '2026-06-09 12:47:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36961 -3.387977)'), GeomFromEWKT('SRID=4674;POINT (-38.369654 -3.388054)'))) / (select extract(epoch from '2026-06-09 12:47:30'::timestamp) - extract(epoch from '2026-06-09 12:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36961 -3.387977)'), GeomFromEWKT('SRID=4674;POINT (-38.369654 -3.388054)'))) / (select extract(epoch from '2026-06-09 12:47:30'::timestamp) - extract(epoch from '2026-06-09 12:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.369748 -3.388106)', '2026-06-09 12:47:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369654 -3.388054)'), GeomFromEWKT('SRID=4674;POINT (-38.369748 -3.388106)'))) / (select extract(epoch from '2026-06-09 12:47:34'::timestamp) - extract(epoch from '2026-06-09 12:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369654 -3.388054)'), GeomFromEWKT('SRID=4674;POINT (-38.369748 -3.388106)'))) / (select extract(epoch from '2026-06-09 12:47:34'::timestamp) - extract(epoch from '2026-06-09 12:47:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.369768 -3.388115)', '2026-06-09 12:47:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369748 -3.388106)'), GeomFromEWKT('SRID=4674;POINT (-38.369768 -3.388115)'))) / (select extract(epoch from '2026-06-09 12:47:35'::timestamp) - extract(epoch from '2026-06-09 12:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369748 -3.388106)'), GeomFromEWKT('SRID=4674;POINT (-38.369768 -3.388115)'))) / (select extract(epoch from '2026-06-09 12:47:35'::timestamp) - extract(epoch from '2026-06-09 12:47: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'), 46534, 'SRID=4674;POINT (-38.369836 -3.388186)', '2026-06-09 12:47:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369768 -3.388115)'), GeomFromEWKT('SRID=4674;POINT (-38.369836 -3.388186)'))) / (select extract(epoch from '2026-06-09 12:47:40'::timestamp) - extract(epoch from '2026-06-09 12:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369768 -3.388115)'), GeomFromEWKT('SRID=4674;POINT (-38.369836 -3.388186)'))) / (select extract(epoch from '2026-06-09 12:47:40'::timestamp) - extract(epoch from '2026-06-09 12:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.369888 -3.388244)', '2026-06-09 12:47:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369836 -3.388186)'), GeomFromEWKT('SRID=4674;POINT (-38.369888 -3.388244)'))) / (select extract(epoch from '2026-06-09 12:47:44'::timestamp) - extract(epoch from '2026-06-09 12:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369836 -3.388186)'), GeomFromEWKT('SRID=4674;POINT (-38.369888 -3.388244)'))) / (select extract(epoch from '2026-06-09 12:47:44'::timestamp) - extract(epoch from '2026-06-09 12:47: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'), 46534, 'SRID=4674;POINT (-38.369903 -3.388256)', '2026-06-09 12:47:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369888 -3.388244)'), GeomFromEWKT('SRID=4674;POINT (-38.369903 -3.388256)'))) / (select extract(epoch from '2026-06-09 12:47:45'::timestamp) - extract(epoch from '2026-06-09 12:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369888 -3.388244)'), GeomFromEWKT('SRID=4674;POINT (-38.369903 -3.388256)'))) / (select extract(epoch from '2026-06-09 12:47:45'::timestamp) - extract(epoch from '2026-06-09 12:47:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.36993 -3.388289)', '2026-06-09 12:47:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369903 -3.388256)'), GeomFromEWKT('SRID=4674;POINT (-38.36993 -3.388289)'))) / (select extract(epoch from '2026-06-09 12:47:48'::timestamp) - extract(epoch from '2026-06-09 12:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369903 -3.388256)'), GeomFromEWKT('SRID=4674;POINT (-38.36993 -3.388289)'))) / (select extract(epoch from '2026-06-09 12:47:48'::timestamp) - extract(epoch from '2026-06-09 12:47: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'), 46534, 'SRID=4674;POINT (-38.369937 -3.38832)', '2026-06-09 12:47:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36993 -3.388289)'), GeomFromEWKT('SRID=4674;POINT (-38.369937 -3.38832)'))) / (select extract(epoch from '2026-06-09 12:47:51'::timestamp) - extract(epoch from '2026-06-09 12:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36993 -3.388289)'), GeomFromEWKT('SRID=4674;POINT (-38.369937 -3.38832)'))) / (select extract(epoch from '2026-06-09 12:47:51'::timestamp) - extract(epoch from '2026-06-09 12:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.369952 -3.388347)', '2026-06-09 12:47:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369937 -3.38832)'), GeomFromEWKT('SRID=4674;POINT (-38.369952 -3.388347)'))) / (select extract(epoch from '2026-06-09 12:47:54'::timestamp) - extract(epoch from '2026-06-09 12:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369937 -3.38832)'), GeomFromEWKT('SRID=4674;POINT (-38.369952 -3.388347)'))) / (select extract(epoch from '2026-06-09 12:47:54'::timestamp) - extract(epoch from '2026-06-09 12:47:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.36996 -3.388365)', '2026-06-09 12:47:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369952 -3.388347)'), GeomFromEWKT('SRID=4674;POINT (-38.36996 -3.388365)'))) / (select extract(epoch from '2026-06-09 12:47:56'::timestamp) - extract(epoch from '2026-06-09 12:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.369952 -3.388347)'), GeomFromEWKT('SRID=4674;POINT (-38.36996 -3.388365)'))) / (select extract(epoch from '2026-06-09 12:47:56'::timestamp) - extract(epoch from '2026-06-09 12:47: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'), 46534, 'SRID=4674;POINT (-38.36997 -3.388371)', '2026-06-09 12:47:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36996 -3.388365)'), GeomFromEWKT('SRID=4674;POINT (-38.36997 -3.388371)'))) / (select extract(epoch from '2026-06-09 12:47:57'::timestamp) - extract(epoch from '2026-06-09 12:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36996 -3.388365)'), GeomFromEWKT('SRID=4674;POINT (-38.36997 -3.388371)'))) / (select extract(epoch from '2026-06-09 12:47:57'::timestamp) - extract(epoch from '2026-06-09 12:47:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.370013 -3.388417)', '2026-06-09 12:48:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36997 -3.388371)'), GeomFromEWKT('SRID=4674;POINT (-38.370013 -3.388417)'))) / (select extract(epoch from '2026-06-09 12:48:02'::timestamp) - extract(epoch from '2026-06-09 12:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.36997 -3.388371)'), GeomFromEWKT('SRID=4674;POINT (-38.370013 -3.388417)'))) / (select extract(epoch from '2026-06-09 12:48:02'::timestamp) - extract(epoch from '2026-06-09 12: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'), 46534, 'SRID=4674;POINT (-38.370033 -3.388443)', '2026-06-09 12:48:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370013 -3.388417)'), GeomFromEWKT('SRID=4674;POINT (-38.370033 -3.388443)'))) / (select extract(epoch from '2026-06-09 12:48:04'::timestamp) - extract(epoch from '2026-06-09 12:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370013 -3.388417)'), GeomFromEWKT('SRID=4674;POINT (-38.370033 -3.388443)'))) / (select extract(epoch from '2026-06-09 12:48:04'::timestamp) - extract(epoch from '2026-06-09 12:48: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'), 46534, 'SRID=4674;POINT (-38.370068 -3.388465)', '2026-06-09 12:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370033 -3.388443)'), GeomFromEWKT('SRID=4674;POINT (-38.370068 -3.388465)'))) / (select extract(epoch from '2026-06-09 12:48:07'::timestamp) - extract(epoch from '2026-06-09 12:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370033 -3.388443)'), GeomFromEWKT('SRID=4674;POINT (-38.370068 -3.388465)'))) / (select extract(epoch from '2026-06-09 12:48:07'::timestamp) - extract(epoch from '2026-06-09 12:48: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'), 46534, 'SRID=4674;POINT (-38.370155 -3.388535)', '2026-06-09 12:48:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370068 -3.388465)'), GeomFromEWKT('SRID=4674;POINT (-38.370155 -3.388535)'))) / (select extract(epoch from '2026-06-09 12:48:13'::timestamp) - extract(epoch from '2026-06-09 12:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370068 -3.388465)'), GeomFromEWKT('SRID=4674;POINT (-38.370155 -3.388535)'))) / (select extract(epoch from '2026-06-09 12:48:13'::timestamp) - extract(epoch from '2026-06-09 12:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.370201 -3.388571)', '2026-06-09 12:48:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370155 -3.388535)'), GeomFromEWKT('SRID=4674;POINT (-38.370201 -3.388571)'))) / (select extract(epoch from '2026-06-09 12:48:16'::timestamp) - extract(epoch from '2026-06-09 12:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370155 -3.388535)'), GeomFromEWKT('SRID=4674;POINT (-38.370201 -3.388571)'))) / (select extract(epoch from '2026-06-09 12:48:16'::timestamp) - extract(epoch from '2026-06-09 12:48: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'), 46534, 'SRID=4674;POINT (-38.37022 -3.388601)', '2026-06-09 12:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370201 -3.388571)'), GeomFromEWKT('SRID=4674;POINT (-38.37022 -3.388601)'))) / (select extract(epoch from '2026-06-09 12:48:18'::timestamp) - extract(epoch from '2026-06-09 12:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370201 -3.388571)'), GeomFromEWKT('SRID=4674;POINT (-38.37022 -3.388601)'))) / (select extract(epoch from '2026-06-09 12:48:18'::timestamp) - extract(epoch from '2026-06-09 12:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.370271 -3.38867)', '2026-06-09 12:48:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37022 -3.388601)'), GeomFromEWKT('SRID=4674;POINT (-38.370271 -3.38867)'))) / (select extract(epoch from '2026-06-09 12:48:23'::timestamp) - extract(epoch from '2026-06-09 12:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37022 -3.388601)'), GeomFromEWKT('SRID=4674;POINT (-38.370271 -3.38867)'))) / (select extract(epoch from '2026-06-09 12:48:23'::timestamp) - extract(epoch from '2026-06-09 12: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'), 46534, 'SRID=4674;POINT (-38.370283 -3.388679)', '2026-06-09 12:48:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370271 -3.38867)'), GeomFromEWKT('SRID=4674;POINT (-38.370283 -3.388679)'))) / (select extract(epoch from '2026-06-09 12:48:24'::timestamp) - extract(epoch from '2026-06-09 12:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370271 -3.38867)'), GeomFromEWKT('SRID=4674;POINT (-38.370283 -3.388679)'))) / (select extract(epoch from '2026-06-09 12:48:24'::timestamp) - extract(epoch from '2026-06-09 12:48:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.370334 -3.388737)', '2026-06-09 12:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370283 -3.388679)'), GeomFromEWKT('SRID=4674;POINT (-38.370334 -3.388737)'))) / (select extract(epoch from '2026-06-09 12:48:29'::timestamp) - extract(epoch from '2026-06-09 12:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370283 -3.388679)'), GeomFromEWKT('SRID=4674;POINT (-38.370334 -3.388737)'))) / (select extract(epoch from '2026-06-09 12:48:29'::timestamp) - extract(epoch from '2026-06-09 12:48: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'), 46534, 'SRID=4674;POINT (-38.370396 -3.388821)', '2026-06-09 12:48:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370334 -3.388737)'), GeomFromEWKT('SRID=4674;POINT (-38.370396 -3.388821)'))) / (select extract(epoch from '2026-06-09 12:48:35'::timestamp) - extract(epoch from '2026-06-09 12:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370334 -3.388737)'), GeomFromEWKT('SRID=4674;POINT (-38.370396 -3.388821)'))) / (select extract(epoch from '2026-06-09 12:48:35'::timestamp) - extract(epoch from '2026-06-09 12:48: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'), 46534, 'SRID=4674;POINT (-38.370463 -3.388908)', '2026-06-09 12:48:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370396 -3.388821)'), GeomFromEWKT('SRID=4674;POINT (-38.370463 -3.388908)'))) / (select extract(epoch from '2026-06-09 12:48:41'::timestamp) - extract(epoch from '2026-06-09 12:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370396 -3.388821)'), GeomFromEWKT('SRID=4674;POINT (-38.370463 -3.388908)'))) / (select extract(epoch from '2026-06-09 12:48:41'::timestamp) - extract(epoch from '2026-06-09 12:48: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'), 46534, 'SRID=4674;POINT (-38.370531 -3.389002)', '2026-06-09 12:48:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370463 -3.388908)'), GeomFromEWKT('SRID=4674;POINT (-38.370531 -3.389002)'))) / (select extract(epoch from '2026-06-09 12:48:47'::timestamp) - extract(epoch from '2026-06-09 12:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370463 -3.388908)'), GeomFromEWKT('SRID=4674;POINT (-38.370531 -3.389002)'))) / (select extract(epoch from '2026-06-09 12:48:47'::timestamp) - extract(epoch from '2026-06-09 12:48: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'), 46534, 'SRID=4674;POINT (-38.370581 -3.389094)', '2026-06-09 12:48:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370531 -3.389002)'), GeomFromEWKT('SRID=4674;POINT (-38.370581 -3.389094)'))) / (select extract(epoch from '2026-06-09 12:48:52'::timestamp) - extract(epoch from '2026-06-09 12:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370531 -3.389002)'), GeomFromEWKT('SRID=4674;POINT (-38.370581 -3.389094)'))) / (select extract(epoch from '2026-06-09 12:48:52'::timestamp) - extract(epoch from '2026-06-09 12:48: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'), 46534, 'SRID=4674;POINT (-38.370606 -3.389141)', '2026-06-09 12:48:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370581 -3.389094)'), GeomFromEWKT('SRID=4674;POINT (-38.370606 -3.389141)'))) / (select extract(epoch from '2026-06-09 12:48:55'::timestamp) - extract(epoch from '2026-06-09 12:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370581 -3.389094)'), GeomFromEWKT('SRID=4674;POINT (-38.370606 -3.389141)'))) / (select extract(epoch from '2026-06-09 12:48:55'::timestamp) - extract(epoch from '2026-06-09 12:48: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'), 46534, 'SRID=4674;POINT (-38.370615 -3.389173)', '2026-06-09 12:48:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370606 -3.389141)'), GeomFromEWKT('SRID=4674;POINT (-38.370615 -3.389173)'))) / (select extract(epoch from '2026-06-09 12:48:57'::timestamp) - extract(epoch from '2026-06-09 12:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370606 -3.389141)'), GeomFromEWKT('SRID=4674;POINT (-38.370615 -3.389173)'))) / (select extract(epoch from '2026-06-09 12:48:57'::timestamp) - extract(epoch from '2026-06-09 12:48: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'), 46534, 'SRID=4674;POINT (-38.370673 -3.389278)', '2026-06-09 12:49:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370615 -3.389173)'), GeomFromEWKT('SRID=4674;POINT (-38.370673 -3.389278)'))) / (select extract(epoch from '2026-06-09 12:49:04'::timestamp) - extract(epoch from '2026-06-09 12:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370615 -3.389173)'), GeomFromEWKT('SRID=4674;POINT (-38.370673 -3.389278)'))) / (select extract(epoch from '2026-06-09 12:49:04'::timestamp) - extract(epoch from '2026-06-09 12:48:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.37072 -3.389368)', '2026-06-09 12:49:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370673 -3.389278)'), GeomFromEWKT('SRID=4674;POINT (-38.37072 -3.389368)'))) / (select extract(epoch from '2026-06-09 12:49:10'::timestamp) - extract(epoch from '2026-06-09 12:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370673 -3.389278)'), GeomFromEWKT('SRID=4674;POINT (-38.37072 -3.389368)'))) / (select extract(epoch from '2026-06-09 12:49:10'::timestamp) - extract(epoch from '2026-06-09 12:49:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.370791 -3.389449)', '2026-06-09 12:49:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37072 -3.389368)'), GeomFromEWKT('SRID=4674;POINT (-38.370791 -3.389449)'))) / (select extract(epoch from '2026-06-09 12:49:16'::timestamp) - extract(epoch from '2026-06-09 12:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37072 -3.389368)'), GeomFromEWKT('SRID=4674;POINT (-38.370791 -3.389449)'))) / (select extract(epoch from '2026-06-09 12:49:16'::timestamp) - extract(epoch from '2026-06-09 12:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.370807 -3.389464)', '2026-06-09 12:49:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370791 -3.389449)'), GeomFromEWKT('SRID=4674;POINT (-38.370807 -3.389464)'))) / (select extract(epoch from '2026-06-09 12:49:17'::timestamp) - extract(epoch from '2026-06-09 12:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370791 -3.389449)'), GeomFromEWKT('SRID=4674;POINT (-38.370807 -3.389464)'))) / (select extract(epoch from '2026-06-09 12:49:17'::timestamp) - extract(epoch from '2026-06-09 12:49: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'), 46534, 'SRID=4674;POINT (-38.370832 -3.389512)', '2026-06-09 12:49:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370807 -3.389464)'), GeomFromEWKT('SRID=4674;POINT (-38.370832 -3.389512)'))) / (select extract(epoch from '2026-06-09 12:49:20'::timestamp) - extract(epoch from '2026-06-09 12:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370807 -3.389464)'), GeomFromEWKT('SRID=4674;POINT (-38.370832 -3.389512)'))) / (select extract(epoch from '2026-06-09 12:49:20'::timestamp) - extract(epoch from '2026-06-09 12:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.370896 -3.389604)', '2026-06-09 12:49:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370832 -3.389512)'), GeomFromEWKT('SRID=4674;POINT (-38.370896 -3.389604)'))) / (select extract(epoch from '2026-06-09 12:49:26'::timestamp) - extract(epoch from '2026-06-09 12:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370832 -3.389512)'), GeomFromEWKT('SRID=4674;POINT (-38.370896 -3.389604)'))) / (select extract(epoch from '2026-06-09 12:49:26'::timestamp) - extract(epoch from '2026-06-09 12: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'), 46534, 'SRID=4674;POINT (-38.37098 -3.389704)', '2026-06-09 12:49:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370896 -3.389604)'), GeomFromEWKT('SRID=4674;POINT (-38.37098 -3.389704)'))) / (select extract(epoch from '2026-06-09 12:49:33'::timestamp) - extract(epoch from '2026-06-09 12:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.370896 -3.389604)'), GeomFromEWKT('SRID=4674;POINT (-38.37098 -3.389704)'))) / (select extract(epoch from '2026-06-09 12:49:33'::timestamp) - extract(epoch from '2026-06-09 12:49: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'), 46534, 'SRID=4674;POINT (-38.37106 -3.389822)', '2026-06-09 12:49:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37098 -3.389704)'), GeomFromEWKT('SRID=4674;POINT (-38.37106 -3.389822)'))) / (select extract(epoch from '2026-06-09 12:49:41'::timestamp) - extract(epoch from '2026-06-09 12:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37098 -3.389704)'), GeomFromEWKT('SRID=4674;POINT (-38.37106 -3.389822)'))) / (select extract(epoch from '2026-06-09 12:49:41'::timestamp) - extract(epoch from '2026-06-09 12:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.371127 -3.389945)', '2026-06-09 12:49:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37106 -3.389822)'), GeomFromEWKT('SRID=4674;POINT (-38.371127 -3.389945)'))) / (select extract(epoch from '2026-06-09 12:49:49'::timestamp) - extract(epoch from '2026-06-09 12:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37106 -3.389822)'), GeomFromEWKT('SRID=4674;POINT (-38.371127 -3.389945)'))) / (select extract(epoch from '2026-06-09 12:49:49'::timestamp) - extract(epoch from '2026-06-09 12:49: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'), 46534, 'SRID=4674;POINT (-38.371172 -3.390033)', '2026-06-09 12:49:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371127 -3.389945)'), GeomFromEWKT('SRID=4674;POINT (-38.371172 -3.390033)'))) / (select extract(epoch from '2026-06-09 12:49:55'::timestamp) - extract(epoch from '2026-06-09 12:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371127 -3.389945)'), GeomFromEWKT('SRID=4674;POINT (-38.371172 -3.390033)'))) / (select extract(epoch from '2026-06-09 12:49:55'::timestamp) - extract(epoch from '2026-06-09 12:49: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'), 46534, 'SRID=4674;POINT (-38.371232 -3.390112)', '2026-06-09 12:50:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371172 -3.390033)'), GeomFromEWKT('SRID=4674;POINT (-38.371232 -3.390112)'))) / (select extract(epoch from '2026-06-09 12:50:00'::timestamp) - extract(epoch from '2026-06-09 12:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371172 -3.390033)'), GeomFromEWKT('SRID=4674;POINT (-38.371232 -3.390112)'))) / (select extract(epoch from '2026-06-09 12:50:00'::timestamp) - extract(epoch from '2026-06-09 12:49: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'), 46534, 'SRID=4674;POINT (-38.371305 -3.390189)', '2026-06-09 12:50:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371232 -3.390112)'), GeomFromEWKT('SRID=4674;POINT (-38.371305 -3.390189)'))) / (select extract(epoch from '2026-06-09 12:50:06'::timestamp) - extract(epoch from '2026-06-09 12:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371232 -3.390112)'), GeomFromEWKT('SRID=4674;POINT (-38.371305 -3.390189)'))) / (select extract(epoch from '2026-06-09 12:50:06'::timestamp) - extract(epoch from '2026-06-09 12:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.371357 -3.390277)', '2026-06-09 12:50:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371305 -3.390189)'), GeomFromEWKT('SRID=4674;POINT (-38.371357 -3.390277)'))) / (select extract(epoch from '2026-06-09 12:50:12'::timestamp) - extract(epoch from '2026-06-09 12:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371305 -3.390189)'), GeomFromEWKT('SRID=4674;POINT (-38.371357 -3.390277)'))) / (select extract(epoch from '2026-06-09 12:50:12'::timestamp) - extract(epoch from '2026-06-09 12:50: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'), 46534, 'SRID=4674;POINT (-38.371373 -3.390301)', '2026-06-09 12:50:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371357 -3.390277)'), GeomFromEWKT('SRID=4674;POINT (-38.371373 -3.390301)'))) / (select extract(epoch from '2026-06-09 12:50:14'::timestamp) - extract(epoch from '2026-06-09 12:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371357 -3.390277)'), GeomFromEWKT('SRID=4674;POINT (-38.371373 -3.390301)'))) / (select extract(epoch from '2026-06-09 12:50:14'::timestamp) - extract(epoch from '2026-06-09 12:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.3714 -3.390336)', '2026-06-09 12:50:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371373 -3.390301)'), GeomFromEWKT('SRID=4674;POINT (-38.3714 -3.390336)'))) / (select extract(epoch from '2026-06-09 12:50:17'::timestamp) - extract(epoch from '2026-06-09 12:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371373 -3.390301)'), GeomFromEWKT('SRID=4674;POINT (-38.3714 -3.390336)'))) / (select extract(epoch from '2026-06-09 12:50:17'::timestamp) - extract(epoch from '2026-06-09 12:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.371477 -3.390418)', '2026-06-09 12:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3714 -3.390336)'), GeomFromEWKT('SRID=4674;POINT (-38.371477 -3.390418)'))) / (select extract(epoch from '2026-06-09 12:50:23'::timestamp) - extract(epoch from '2026-06-09 12:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3714 -3.390336)'), GeomFromEWKT('SRID=4674;POINT (-38.371477 -3.390418)'))) / (select extract(epoch from '2026-06-09 12:50:23'::timestamp) - extract(epoch from '2026-06-09 12:50: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'), 46534, 'SRID=4674;POINT (-38.37154 -3.390493)', '2026-06-09 12:50:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371477 -3.390418)'), GeomFromEWKT('SRID=4674;POINT (-38.37154 -3.390493)'))) / (select extract(epoch from '2026-06-09 12:50:28'::timestamp) - extract(epoch from '2026-06-09 12:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371477 -3.390418)'), GeomFromEWKT('SRID=4674;POINT (-38.37154 -3.390493)'))) / (select extract(epoch from '2026-06-09 12:50:28'::timestamp) - extract(epoch from '2026-06-09 12:50: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'), 46534, 'SRID=4674;POINT (-38.371602 -3.390593)', '2026-06-09 12:50:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37154 -3.390493)'), GeomFromEWKT('SRID=4674;POINT (-38.371602 -3.390593)'))) / (select extract(epoch from '2026-06-09 12:50:35'::timestamp) - extract(epoch from '2026-06-09 12:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37154 -3.390493)'), GeomFromEWKT('SRID=4674;POINT (-38.371602 -3.390593)'))) / (select extract(epoch from '2026-06-09 12:50:35'::timestamp) - extract(epoch from '2026-06-09 12:50:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.371656 -3.390658)', '2026-06-09 12:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371602 -3.390593)'), GeomFromEWKT('SRID=4674;POINT (-38.371656 -3.390658)'))) / (select extract(epoch from '2026-06-09 12:50:41'::timestamp) - extract(epoch from '2026-06-09 12:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371602 -3.390593)'), GeomFromEWKT('SRID=4674;POINT (-38.371656 -3.390658)'))) / (select extract(epoch from '2026-06-09 12:50:41'::timestamp) - extract(epoch from '2026-06-09 12:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.371702 -3.390723)', '2026-06-09 12:50:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371656 -3.390658)'), GeomFromEWKT('SRID=4674;POINT (-38.371702 -3.390723)'))) / (select extract(epoch from '2026-06-09 12:50:46'::timestamp) - extract(epoch from '2026-06-09 12:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371656 -3.390658)'), GeomFromEWKT('SRID=4674;POINT (-38.371702 -3.390723)'))) / (select extract(epoch from '2026-06-09 12:50:46'::timestamp) - extract(epoch from '2026-06-09 12: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'), 46534, 'SRID=4674;POINT (-38.371761 -3.39079)', '2026-06-09 12:50:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371702 -3.390723)'), GeomFromEWKT('SRID=4674;POINT (-38.371761 -3.39079)'))) / (select extract(epoch from '2026-06-09 12:50:51'::timestamp) - extract(epoch from '2026-06-09 12:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371702 -3.390723)'), GeomFromEWKT('SRID=4674;POINT (-38.371761 -3.39079)'))) / (select extract(epoch from '2026-06-09 12:50:51'::timestamp) - extract(epoch from '2026-06-09 12:50:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.371843 -3.39088)', '2026-06-09 12:50:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371761 -3.39079)'), GeomFromEWKT('SRID=4674;POINT (-38.371843 -3.39088)'))) / (select extract(epoch from '2026-06-09 12:50:58'::timestamp) - extract(epoch from '2026-06-09 12:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371761 -3.39079)'), GeomFromEWKT('SRID=4674;POINT (-38.371843 -3.39088)'))) / (select extract(epoch from '2026-06-09 12:50:58'::timestamp) - extract(epoch from '2026-06-09 12:50:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.371906 -3.390968)', '2026-06-09 12:51:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371843 -3.39088)'), GeomFromEWKT('SRID=4674;POINT (-38.371906 -3.390968)'))) / (select extract(epoch from '2026-06-09 12:51:04'::timestamp) - extract(epoch from '2026-06-09 12:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371843 -3.39088)'), GeomFromEWKT('SRID=4674;POINT (-38.371906 -3.390968)'))) / (select extract(epoch from '2026-06-09 12:51:04'::timestamp) - extract(epoch from '2026-06-09 12:50: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'), 46534, 'SRID=4674;POINT (-38.371965 -3.391036)', '2026-06-09 12:51:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371906 -3.390968)'), GeomFromEWKT('SRID=4674;POINT (-38.371965 -3.391036)'))) / (select extract(epoch from '2026-06-09 12:51:09'::timestamp) - extract(epoch from '2026-06-09 12:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371906 -3.390968)'), GeomFromEWKT('SRID=4674;POINT (-38.371965 -3.391036)'))) / (select extract(epoch from '2026-06-09 12:51:09'::timestamp) - extract(epoch from '2026-06-09 12:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.372048 -3.391151)', '2026-06-09 12:51:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371965 -3.391036)'), GeomFromEWKT('SRID=4674;POINT (-38.372048 -3.391151)'))) / (select extract(epoch from '2026-06-09 12:51:18'::timestamp) - extract(epoch from '2026-06-09 12:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.371965 -3.391036)'), GeomFromEWKT('SRID=4674;POINT (-38.372048 -3.391151)'))) / (select extract(epoch from '2026-06-09 12:51:18'::timestamp) - extract(epoch from '2026-06-09 12:51:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.372114 -3.391229)', '2026-06-09 12:51:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372048 -3.391151)'), GeomFromEWKT('SRID=4674;POINT (-38.372114 -3.391229)'))) / (select extract(epoch from '2026-06-09 12:51:24'::timestamp) - extract(epoch from '2026-06-09 12:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372048 -3.391151)'), GeomFromEWKT('SRID=4674;POINT (-38.372114 -3.391229)'))) / (select extract(epoch from '2026-06-09 12:51:24'::timestamp) - extract(epoch from '2026-06-09 12: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'), 46534, 'SRID=4674;POINT (-38.372195 -3.391318)', '2026-06-09 12:51:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372114 -3.391229)'), GeomFromEWKT('SRID=4674;POINT (-38.372195 -3.391318)'))) / (select extract(epoch from '2026-06-09 12:51:31'::timestamp) - extract(epoch from '2026-06-09 12:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372114 -3.391229)'), GeomFromEWKT('SRID=4674;POINT (-38.372195 -3.391318)'))) / (select extract(epoch from '2026-06-09 12:51:31'::timestamp) - extract(epoch from '2026-06-09 12:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.37227 -3.391404)', '2026-06-09 12:51:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372195 -3.391318)'), GeomFromEWKT('SRID=4674;POINT (-38.37227 -3.391404)'))) / (select extract(epoch from '2026-06-09 12:51:37'::timestamp) - extract(epoch from '2026-06-09 12:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372195 -3.391318)'), GeomFromEWKT('SRID=4674;POINT (-38.37227 -3.391404)'))) / (select extract(epoch from '2026-06-09 12:51:37'::timestamp) - extract(epoch from '2026-06-09 12: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'), 46534, 'SRID=4674;POINT (-38.372347 -3.391511)', '2026-06-09 12:51:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37227 -3.391404)'), GeomFromEWKT('SRID=4674;POINT (-38.372347 -3.391511)'))) / (select extract(epoch from '2026-06-09 12:51:43'::timestamp) - extract(epoch from '2026-06-09 12:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37227 -3.391404)'), GeomFromEWKT('SRID=4674;POINT (-38.372347 -3.391511)'))) / (select extract(epoch from '2026-06-09 12:51:43'::timestamp) - extract(epoch from '2026-06-09 12:51:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.372363 -3.391538)', '2026-06-09 12:51:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372347 -3.391511)'), GeomFromEWKT('SRID=4674;POINT (-38.372363 -3.391538)'))) / (select extract(epoch from '2026-06-09 12:51:45'::timestamp) - extract(epoch from '2026-06-09 12:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372347 -3.391511)'), GeomFromEWKT('SRID=4674;POINT (-38.372363 -3.391538)'))) / (select extract(epoch from '2026-06-09 12:51:45'::timestamp) - extract(epoch from '2026-06-09 12:51: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'), 46534, 'SRID=4674;POINT (-38.372397 -3.39158)', '2026-06-09 12:51:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372363 -3.391538)'), GeomFromEWKT('SRID=4674;POINT (-38.372397 -3.39158)'))) / (select extract(epoch from '2026-06-09 12:51:48'::timestamp) - extract(epoch from '2026-06-09 12:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372363 -3.391538)'), GeomFromEWKT('SRID=4674;POINT (-38.372397 -3.39158)'))) / (select extract(epoch from '2026-06-09 12:51:48'::timestamp) - extract(epoch from '2026-06-09 12:51: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'), 46534, 'SRID=4674;POINT (-38.372414 -3.39162)', '2026-06-09 12:51:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372397 -3.39158)'), GeomFromEWKT('SRID=4674;POINT (-38.372414 -3.39162)'))) / (select extract(epoch from '2026-06-09 12:51:51'::timestamp) - extract(epoch from '2026-06-09 12:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372397 -3.39158)'), GeomFromEWKT('SRID=4674;POINT (-38.372414 -3.39162)'))) / (select extract(epoch from '2026-06-09 12:51:51'::timestamp) - extract(epoch from '2026-06-09 12:51: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'), 46534, 'SRID=4674;POINT (-38.372437 -3.391645)', '2026-06-09 12:51:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372414 -3.39162)'), GeomFromEWKT('SRID=4674;POINT (-38.372437 -3.391645)'))) / (select extract(epoch from '2026-06-09 12:51:53'::timestamp) - extract(epoch from '2026-06-09 12:51:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372414 -3.39162)'), GeomFromEWKT('SRID=4674;POINT (-38.372437 -3.391645)'))) / (select extract(epoch from '2026-06-09 12:51:53'::timestamp) - extract(epoch from '2026-06-09 12:51: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'), 46534, 'SRID=4674;POINT (-38.372469 -3.391687)', '2026-06-09 12:51:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372437 -3.391645)'), GeomFromEWKT('SRID=4674;POINT (-38.372469 -3.391687)'))) / (select extract(epoch from '2026-06-09 12:51:57'::timestamp) - extract(epoch from '2026-06-09 12:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372437 -3.391645)'), GeomFromEWKT('SRID=4674;POINT (-38.372469 -3.391687)'))) / (select extract(epoch from '2026-06-09 12:51:57'::timestamp) - extract(epoch from '2026-06-09 12:51: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'), 46534, 'SRID=4674;POINT (-38.372545 -3.391751)', '2026-06-09 12:52:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372469 -3.391687)'), GeomFromEWKT('SRID=4674;POINT (-38.372545 -3.391751)'))) / (select extract(epoch from '2026-06-09 12:52:03'::timestamp) - extract(epoch from '2026-06-09 12:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372469 -3.391687)'), GeomFromEWKT('SRID=4674;POINT (-38.372545 -3.391751)'))) / (select extract(epoch from '2026-06-09 12:52:03'::timestamp) - extract(epoch from '2026-06-09 12:51: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'), 46534, 'SRID=4674;POINT (-38.372623 -3.39183)', '2026-06-09 12:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372545 -3.391751)'), GeomFromEWKT('SRID=4674;POINT (-38.372623 -3.39183)'))) / (select extract(epoch from '2026-06-09 12:52:09'::timestamp) - extract(epoch from '2026-06-09 12:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372545 -3.391751)'), GeomFromEWKT('SRID=4674;POINT (-38.372623 -3.39183)'))) / (select extract(epoch from '2026-06-09 12:52:09'::timestamp) - extract(epoch from '2026-06-09 12:52: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'), 46534, 'SRID=4674;POINT (-38.372701 -3.391926)', '2026-06-09 12:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372623 -3.39183)'), GeomFromEWKT('SRID=4674;POINT (-38.372701 -3.391926)'))) / (select extract(epoch from '2026-06-09 12:52:16'::timestamp) - extract(epoch from '2026-06-09 12:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372623 -3.39183)'), GeomFromEWKT('SRID=4674;POINT (-38.372701 -3.391926)'))) / (select extract(epoch from '2026-06-09 12:52:16'::timestamp) - extract(epoch from '2026-06-09 12:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.372757 -3.392)', '2026-06-09 12:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372701 -3.391926)'), GeomFromEWKT('SRID=4674;POINT (-38.372757 -3.392)'))) / (select extract(epoch from '2026-06-09 12:52:21'::timestamp) - extract(epoch from '2026-06-09 12:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372701 -3.391926)'), GeomFromEWKT('SRID=4674;POINT (-38.372757 -3.392)'))) / (select extract(epoch from '2026-06-09 12:52:21'::timestamp) - extract(epoch from '2026-06-09 12:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.372818 -3.392082)', '2026-06-09 12:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372757 -3.392)'), GeomFromEWKT('SRID=4674;POINT (-38.372818 -3.392082)'))) / (select extract(epoch from '2026-06-09 12:52:26'::timestamp) - extract(epoch from '2026-06-09 12:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372757 -3.392)'), GeomFromEWKT('SRID=4674;POINT (-38.372818 -3.392082)'))) / (select extract(epoch from '2026-06-09 12:52:26'::timestamp) - extract(epoch from '2026-06-09 12:52: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'), 46534, 'SRID=4674;POINT (-38.372888 -3.392182)', '2026-06-09 12:52:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372818 -3.392082)'), GeomFromEWKT('SRID=4674;POINT (-38.372888 -3.392182)'))) / (select extract(epoch from '2026-06-09 12:52:33'::timestamp) - extract(epoch from '2026-06-09 12:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372818 -3.392082)'), GeomFromEWKT('SRID=4674;POINT (-38.372888 -3.392182)'))) / (select extract(epoch from '2026-06-09 12:52:33'::timestamp) - extract(epoch from '2026-06-09 12:52:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.372936 -3.392252)', '2026-06-09 12:52:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372888 -3.392182)'), GeomFromEWKT('SRID=4674;POINT (-38.372936 -3.392252)'))) / (select extract(epoch from '2026-06-09 12:52:38'::timestamp) - extract(epoch from '2026-06-09 12:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372888 -3.392182)'), GeomFromEWKT('SRID=4674;POINT (-38.372936 -3.392252)'))) / (select extract(epoch from '2026-06-09 12:52:38'::timestamp) - extract(epoch from '2026-06-09 12:52:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.372988 -3.39233)', '2026-06-09 12:52:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372936 -3.392252)'), GeomFromEWKT('SRID=4674;POINT (-38.372988 -3.39233)'))) / (select extract(epoch from '2026-06-09 12:52:43'::timestamp) - extract(epoch from '2026-06-09 12:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372936 -3.392252)'), GeomFromEWKT('SRID=4674;POINT (-38.372988 -3.39233)'))) / (select extract(epoch from '2026-06-09 12:52:43'::timestamp) - extract(epoch from '2026-06-09 12: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'), 46534, 'SRID=4674;POINT (-38.373001 -3.392342)', '2026-06-09 12:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372988 -3.39233)'), GeomFromEWKT('SRID=4674;POINT (-38.373001 -3.392342)'))) / (select extract(epoch from '2026-06-09 12:52:44'::timestamp) - extract(epoch from '2026-06-09 12:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.372988 -3.39233)'), GeomFromEWKT('SRID=4674;POINT (-38.373001 -3.392342)'))) / (select extract(epoch from '2026-06-09 12:52:44'::timestamp) - extract(epoch from '2026-06-09 12:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.373074 -3.392451)', '2026-06-09 12:52:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373001 -3.392342)'), GeomFromEWKT('SRID=4674;POINT (-38.373074 -3.392451)'))) / (select extract(epoch from '2026-06-09 12:52:51'::timestamp) - extract(epoch from '2026-06-09 12:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373001 -3.392342)'), GeomFromEWKT('SRID=4674;POINT (-38.373074 -3.392451)'))) / (select extract(epoch from '2026-06-09 12:52:51'::timestamp) - extract(epoch from '2026-06-09 12:52: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'), 46534, 'SRID=4674;POINT (-38.373133 -3.392549)', '2026-06-09 12:52:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373074 -3.392451)'), GeomFromEWKT('SRID=4674;POINT (-38.373133 -3.392549)'))) / (select extract(epoch from '2026-06-09 12:52:57'::timestamp) - extract(epoch from '2026-06-09 12:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373074 -3.392451)'), GeomFromEWKT('SRID=4674;POINT (-38.373133 -3.392549)'))) / (select extract(epoch from '2026-06-09 12:52:57'::timestamp) - extract(epoch from '2026-06-09 12: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'), 46534, 'SRID=4674;POINT (-38.373156 -3.392611)', '2026-06-09 12:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373133 -3.392549)'), GeomFromEWKT('SRID=4674;POINT (-38.373156 -3.392611)'))) / (select extract(epoch from '2026-06-09 12:53:02'::timestamp) - extract(epoch from '2026-06-09 12:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373133 -3.392549)'), GeomFromEWKT('SRID=4674;POINT (-38.373156 -3.392611)'))) / (select extract(epoch from '2026-06-09 12:53:02'::timestamp) - extract(epoch from '2026-06-09 12:52:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.373213 -3.392687)', '2026-06-09 12:53:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373156 -3.392611)'), GeomFromEWKT('SRID=4674;POINT (-38.373213 -3.392687)'))) / (select extract(epoch from '2026-06-09 12:53:08'::timestamp) - extract(epoch from '2026-06-09 12:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373156 -3.392611)'), GeomFromEWKT('SRID=4674;POINT (-38.373213 -3.392687)'))) / (select extract(epoch from '2026-06-09 12:53:08'::timestamp) - extract(epoch from '2026-06-09 12:53: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'), 46534, 'SRID=4674;POINT (-38.373227 -3.392694)', '2026-06-09 12:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373213 -3.392687)'), GeomFromEWKT('SRID=4674;POINT (-38.373227 -3.392694)'))) / (select extract(epoch from '2026-06-09 12:53:09'::timestamp) - extract(epoch from '2026-06-09 12:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373213 -3.392687)'), GeomFromEWKT('SRID=4674;POINT (-38.373227 -3.392694)'))) / (select extract(epoch from '2026-06-09 12:53:09'::timestamp) - extract(epoch from '2026-06-09 12:53: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'), 46534, 'SRID=4674;POINT (-38.373341 -3.392798)', '2026-06-09 12:53:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373227 -3.392694)'), GeomFromEWKT('SRID=4674;POINT (-38.373341 -3.392798)'))) / (select extract(epoch from '2026-06-09 12:53:17'::timestamp) - extract(epoch from '2026-06-09 12:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373227 -3.392694)'), GeomFromEWKT('SRID=4674;POINT (-38.373341 -3.392798)'))) / (select extract(epoch from '2026-06-09 12:53:17'::timestamp) - extract(epoch from '2026-06-09 12:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.373433 -3.392904)', '2026-06-09 12:53:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373341 -3.392798)'), GeomFromEWKT('SRID=4674;POINT (-38.373433 -3.392904)'))) / (select extract(epoch from '2026-06-09 12:53:24'::timestamp) - extract(epoch from '2026-06-09 12:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373341 -3.392798)'), GeomFromEWKT('SRID=4674;POINT (-38.373433 -3.392904)'))) / (select extract(epoch from '2026-06-09 12:53:24'::timestamp) - extract(epoch from '2026-06-09 12:53:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.373523 -3.393005)', '2026-06-09 12:53:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373433 -3.392904)'), GeomFromEWKT('SRID=4674;POINT (-38.373523 -3.393005)'))) / (select extract(epoch from '2026-06-09 12:53:31'::timestamp) - extract(epoch from '2026-06-09 12:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373433 -3.392904)'), GeomFromEWKT('SRID=4674;POINT (-38.373523 -3.393005)'))) / (select extract(epoch from '2026-06-09 12:53:31'::timestamp) - extract(epoch from '2026-06-09 12:53: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'), 46534, 'SRID=4674;POINT (-38.373587 -3.393102)', '2026-06-09 12:53:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373523 -3.393005)'), GeomFromEWKT('SRID=4674;POINT (-38.373587 -3.393102)'))) / (select extract(epoch from '2026-06-09 12:53:38'::timestamp) - extract(epoch from '2026-06-09 12:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373523 -3.393005)'), GeomFromEWKT('SRID=4674;POINT (-38.373587 -3.393102)'))) / (select extract(epoch from '2026-06-09 12:53:38'::timestamp) - extract(epoch from '2026-06-09 12:53: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'), 46534, 'SRID=4674;POINT (-38.373636 -3.393181)', '2026-06-09 12:53:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373587 -3.393102)'), GeomFromEWKT('SRID=4674;POINT (-38.373636 -3.393181)'))) / (select extract(epoch from '2026-06-09 12:53:43'::timestamp) - extract(epoch from '2026-06-09 12:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373587 -3.393102)'), GeomFromEWKT('SRID=4674;POINT (-38.373636 -3.393181)'))) / (select extract(epoch from '2026-06-09 12:53:43'::timestamp) - extract(epoch from '2026-06-09 12:53: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'), 46534, 'SRID=4674;POINT (-38.373659 -3.393228)', '2026-06-09 12:53:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373636 -3.393181)'), GeomFromEWKT('SRID=4674;POINT (-38.373659 -3.393228)'))) / (select extract(epoch from '2026-06-09 12:53:46'::timestamp) - extract(epoch from '2026-06-09 12:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373636 -3.393181)'), GeomFromEWKT('SRID=4674;POINT (-38.373659 -3.393228)'))) / (select extract(epoch from '2026-06-09 12:53:46'::timestamp) - extract(epoch from '2026-06-09 12:53: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'), 46534, 'SRID=4674;POINT (-38.3737 -3.393266)', '2026-06-09 12:53:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373659 -3.393228)'), GeomFromEWKT('SRID=4674;POINT (-38.3737 -3.393266)'))) / (select extract(epoch from '2026-06-09 12:53:49'::timestamp) - extract(epoch from '2026-06-09 12:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373659 -3.393228)'), GeomFromEWKT('SRID=4674;POINT (-38.3737 -3.393266)'))) / (select extract(epoch from '2026-06-09 12:53:49'::timestamp) - extract(epoch from '2026-06-09 12:53:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.373771 -3.393351)', '2026-06-09 12:53:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3737 -3.393266)'), GeomFromEWKT('SRID=4674;POINT (-38.373771 -3.393351)'))) / (select extract(epoch from '2026-06-09 12:53:55'::timestamp) - extract(epoch from '2026-06-09 12:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3737 -3.393266)'), GeomFromEWKT('SRID=4674;POINT (-38.373771 -3.393351)'))) / (select extract(epoch from '2026-06-09 12:53:55'::timestamp) - extract(epoch from '2026-06-09 12:53: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'), 46534, 'SRID=4674;POINT (-38.373821 -3.393424)', '2026-06-09 12:54:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373771 -3.393351)'), GeomFromEWKT('SRID=4674;POINT (-38.373821 -3.393424)'))) / (select extract(epoch from '2026-06-09 12:54:00'::timestamp) - extract(epoch from '2026-06-09 12:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373771 -3.393351)'), GeomFromEWKT('SRID=4674;POINT (-38.373821 -3.393424)'))) / (select extract(epoch from '2026-06-09 12:54:00'::timestamp) - extract(epoch from '2026-06-09 12:53: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'), 46534, 'SRID=4674;POINT (-38.373834 -3.393437)', '2026-06-09 12:54:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373821 -3.393424)'), GeomFromEWKT('SRID=4674;POINT (-38.373834 -3.393437)'))) / (select extract(epoch from '2026-06-09 12:54:01'::timestamp) - extract(epoch from '2026-06-09 12:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373821 -3.393424)'), GeomFromEWKT('SRID=4674;POINT (-38.373834 -3.393437)'))) / (select extract(epoch from '2026-06-09 12:54:01'::timestamp) - extract(epoch from '2026-06-09 12:54:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.373902 -3.393503)', '2026-06-09 12:54:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373834 -3.393437)'), GeomFromEWKT('SRID=4674;POINT (-38.373902 -3.393503)'))) / (select extract(epoch from '2026-06-09 12:54:07'::timestamp) - extract(epoch from '2026-06-09 12:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373834 -3.393437)'), GeomFromEWKT('SRID=4674;POINT (-38.373902 -3.393503)'))) / (select extract(epoch from '2026-06-09 12:54:07'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.373911 -3.393514)', '2026-06-09 12:54:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373902 -3.393503)'), GeomFromEWKT('SRID=4674;POINT (-38.373911 -3.393514)'))) / (select extract(epoch from '2026-06-09 12:54:08'::timestamp) - extract(epoch from '2026-06-09 12:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373902 -3.393503)'), GeomFromEWKT('SRID=4674;POINT (-38.373911 -3.393514)'))) / (select extract(epoch from '2026-06-09 12:54:08'::timestamp) - extract(epoch from '2026-06-09 12:54:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.37393 -3.393542)', '2026-06-09 12:54:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373911 -3.393514)'), GeomFromEWKT('SRID=4674;POINT (-38.37393 -3.393542)'))) / (select extract(epoch from '2026-06-09 12:54:10'::timestamp) - extract(epoch from '2026-06-09 12:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373911 -3.393514)'), GeomFromEWKT('SRID=4674;POINT (-38.37393 -3.393542)'))) / (select extract(epoch from '2026-06-09 12:54:10'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.37396 -3.393561)', '2026-06-09 12:54:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37393 -3.393542)'), GeomFromEWKT('SRID=4674;POINT (-38.37396 -3.393561)'))) / (select extract(epoch from '2026-06-09 12:54:12'::timestamp) - extract(epoch from '2026-06-09 12:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37393 -3.393542)'), GeomFromEWKT('SRID=4674;POINT (-38.37396 -3.393561)'))) / (select extract(epoch from '2026-06-09 12:54:12'::timestamp) - extract(epoch from '2026-06-09 12:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.373969 -3.393575)', '2026-06-09 12:54:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37396 -3.393561)'), GeomFromEWKT('SRID=4674;POINT (-38.373969 -3.393575)'))) / (select extract(epoch from '2026-06-09 12:54:13'::timestamp) - extract(epoch from '2026-06-09 12:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37396 -3.393561)'), GeomFromEWKT('SRID=4674;POINT (-38.373969 -3.393575)'))) / (select extract(epoch from '2026-06-09 12:54:13'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.374021 -3.39363)', '2026-06-09 12:54:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373969 -3.393575)'), GeomFromEWKT('SRID=4674;POINT (-38.374021 -3.39363)'))) / (select extract(epoch from '2026-06-09 12:54:17'::timestamp) - extract(epoch from '2026-06-09 12:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.373969 -3.393575)'), GeomFromEWKT('SRID=4674;POINT (-38.374021 -3.39363)'))) / (select extract(epoch from '2026-06-09 12:54:17'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.374093 -3.393715)', '2026-06-09 12:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374021 -3.39363)'), GeomFromEWKT('SRID=4674;POINT (-38.374093 -3.393715)'))) / (select extract(epoch from '2026-06-09 12:54:23'::timestamp) - extract(epoch from '2026-06-09 12:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374021 -3.39363)'), GeomFromEWKT('SRID=4674;POINT (-38.374093 -3.393715)'))) / (select extract(epoch from '2026-06-09 12:54:23'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.37416 -3.393798)', '2026-06-09 12:54:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374093 -3.393715)'), GeomFromEWKT('SRID=4674;POINT (-38.37416 -3.393798)'))) / (select extract(epoch from '2026-06-09 12:54:28'::timestamp) - extract(epoch from '2026-06-09 12:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374093 -3.393715)'), GeomFromEWKT('SRID=4674;POINT (-38.37416 -3.393798)'))) / (select extract(epoch from '2026-06-09 12:54:28'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.374209 -3.393887)', '2026-06-09 12:54:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37416 -3.393798)'), GeomFromEWKT('SRID=4674;POINT (-38.374209 -3.393887)'))) / (select extract(epoch from '2026-06-09 12:54:34'::timestamp) - extract(epoch from '2026-06-09 12:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37416 -3.393798)'), GeomFromEWKT('SRID=4674;POINT (-38.374209 -3.393887)'))) / (select extract(epoch from '2026-06-09 12:54:34'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.374267 -3.393989)', '2026-06-09 12:54:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374209 -3.393887)'), GeomFromEWKT('SRID=4674;POINT (-38.374267 -3.393989)'))) / (select extract(epoch from '2026-06-09 12:54:41'::timestamp) - extract(epoch from '2026-06-09 12:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374209 -3.393887)'), GeomFromEWKT('SRID=4674;POINT (-38.374267 -3.393989)'))) / (select extract(epoch from '2026-06-09 12:54:41'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.374319 -3.394082)', '2026-06-09 12:54:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374267 -3.393989)'), GeomFromEWKT('SRID=4674;POINT (-38.374319 -3.394082)'))) / (select extract(epoch from '2026-06-09 12:54:47'::timestamp) - extract(epoch from '2026-06-09 12:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374267 -3.393989)'), GeomFromEWKT('SRID=4674;POINT (-38.374319 -3.394082)'))) / (select extract(epoch from '2026-06-09 12:54:47'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.374329 -3.394098)', '2026-06-09 12:54:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374319 -3.394082)'), GeomFromEWKT('SRID=4674;POINT (-38.374329 -3.394098)'))) / (select extract(epoch from '2026-06-09 12:54:48'::timestamp) - extract(epoch from '2026-06-09 12:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374319 -3.394082)'), GeomFromEWKT('SRID=4674;POINT (-38.374329 -3.394098)'))) / (select extract(epoch from '2026-06-09 12:54:48'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.374367 -3.394149)', '2026-06-09 12:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374329 -3.394098)'), GeomFromEWKT('SRID=4674;POINT (-38.374367 -3.394149)'))) / (select extract(epoch from '2026-06-09 12:54:51'::timestamp) - extract(epoch from '2026-06-09 12:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374329 -3.394098)'), GeomFromEWKT('SRID=4674;POINT (-38.374367 -3.394149)'))) / (select extract(epoch from '2026-06-09 12:54:51'::timestamp) - extract(epoch from '2026-06-09 12:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.374413 -3.394226)', '2026-06-09 12:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374367 -3.394149)'), GeomFromEWKT('SRID=4674;POINT (-38.374413 -3.394226)'))) / (select extract(epoch from '2026-06-09 12:54:56'::timestamp) - extract(epoch from '2026-06-09 12:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374367 -3.394149)'), GeomFromEWKT('SRID=4674;POINT (-38.374413 -3.394226)'))) / (select extract(epoch from '2026-06-09 12:54:56'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.374486 -3.394343)', '2026-06-09 12:55:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374413 -3.394226)'), GeomFromEWKT('SRID=4674;POINT (-38.374486 -3.394343)'))) / (select extract(epoch from '2026-06-09 12:55:03'::timestamp) - extract(epoch from '2026-06-09 12:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374413 -3.394226)'), GeomFromEWKT('SRID=4674;POINT (-38.374486 -3.394343)'))) / (select extract(epoch from '2026-06-09 12:55:03'::timestamp) - extract(epoch from '2026-06-09 12:54: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'), 46534, 'SRID=4674;POINT (-38.374549 -3.394424)', '2026-06-09 12:55:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374486 -3.394343)'), GeomFromEWKT('SRID=4674;POINT (-38.374549 -3.394424)'))) / (select extract(epoch from '2026-06-09 12:55:08'::timestamp) - extract(epoch from '2026-06-09 12:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374486 -3.394343)'), GeomFromEWKT('SRID=4674;POINT (-38.374549 -3.394424)'))) / (select extract(epoch from '2026-06-09 12:55:08'::timestamp) - extract(epoch from '2026-06-09 12:55: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'), 46534, 'SRID=4674;POINT (-38.374601 -3.394528)', '2026-06-09 12:55:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374549 -3.394424)'), GeomFromEWKT('SRID=4674;POINT (-38.374601 -3.394528)'))) / (select extract(epoch from '2026-06-09 12:55:14'::timestamp) - extract(epoch from '2026-06-09 12:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374549 -3.394424)'), GeomFromEWKT('SRID=4674;POINT (-38.374601 -3.394528)'))) / (select extract(epoch from '2026-06-09 12:55:14'::timestamp) - extract(epoch from '2026-06-09 12:55: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'), 46534, 'SRID=4674;POINT (-38.374634 -3.394594)', '2026-06-09 12:55:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374601 -3.394528)'), GeomFromEWKT('SRID=4674;POINT (-38.374634 -3.394594)'))) / (select extract(epoch from '2026-06-09 12:55:18'::timestamp) - extract(epoch from '2026-06-09 12:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374601 -3.394528)'), GeomFromEWKT('SRID=4674;POINT (-38.374634 -3.394594)'))) / (select extract(epoch from '2026-06-09 12:55:18'::timestamp) - extract(epoch from '2026-06-09 12:55: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'), 46534, 'SRID=4674;POINT (-38.374643 -3.394609)', '2026-06-09 12:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374634 -3.394594)'), GeomFromEWKT('SRID=4674;POINT (-38.374643 -3.394609)'))) / (select extract(epoch from '2026-06-09 12:55:19'::timestamp) - extract(epoch from '2026-06-09 12:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374634 -3.394594)'), GeomFromEWKT('SRID=4674;POINT (-38.374643 -3.394609)'))) / (select extract(epoch from '2026-06-09 12:55:19'::timestamp) - extract(epoch from '2026-06-09 12:55: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'), 46534, 'SRID=4674;POINT (-38.374732 -3.394742)', '2026-06-09 12:55:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374643 -3.394609)'), GeomFromEWKT('SRID=4674;POINT (-38.374732 -3.394742)'))) / (select extract(epoch from '2026-06-09 12:55:27'::timestamp) - extract(epoch from '2026-06-09 12:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374643 -3.394609)'), GeomFromEWKT('SRID=4674;POINT (-38.374732 -3.394742)'))) / (select extract(epoch from '2026-06-09 12:55:27'::timestamp) - extract(epoch from '2026-06-09 12:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.374801 -3.39486)', '2026-06-09 12:55:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374732 -3.394742)'), GeomFromEWKT('SRID=4674;POINT (-38.374801 -3.39486)'))) / (select extract(epoch from '2026-06-09 12:55:34'::timestamp) - extract(epoch from '2026-06-09 12:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374732 -3.394742)'), GeomFromEWKT('SRID=4674;POINT (-38.374801 -3.39486)'))) / (select extract(epoch from '2026-06-09 12:55:34'::timestamp) - extract(epoch from '2026-06-09 12:55: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'), 46534, 'SRID=4674;POINT (-38.374865 -3.394958)', '2026-06-09 12:55:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374801 -3.39486)'), GeomFromEWKT('SRID=4674;POINT (-38.374865 -3.394958)'))) / (select extract(epoch from '2026-06-09 12:55:40'::timestamp) - extract(epoch from '2026-06-09 12:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374801 -3.39486)'), GeomFromEWKT('SRID=4674;POINT (-38.374865 -3.394958)'))) / (select extract(epoch from '2026-06-09 12:55:40'::timestamp) - extract(epoch from '2026-06-09 12:55: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'), 46534, 'SRID=4674;POINT (-38.374914 -3.395036)', '2026-06-09 12:55:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374865 -3.394958)'), GeomFromEWKT('SRID=4674;POINT (-38.374914 -3.395036)'))) / (select extract(epoch from '2026-06-09 12:55:45'::timestamp) - extract(epoch from '2026-06-09 12:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374865 -3.394958)'), GeomFromEWKT('SRID=4674;POINT (-38.374914 -3.395036)'))) / (select extract(epoch from '2026-06-09 12:55:45'::timestamp) - extract(epoch from '2026-06-09 12:55: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'), 46534, 'SRID=4674;POINT (-38.374961 -3.395097)', '2026-06-09 12:55:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374914 -3.395036)'), GeomFromEWKT('SRID=4674;POINT (-38.374961 -3.395097)'))) / (select extract(epoch from '2026-06-09 12:55:49'::timestamp) - extract(epoch from '2026-06-09 12:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374914 -3.395036)'), GeomFromEWKT('SRID=4674;POINT (-38.374961 -3.395097)'))) / (select extract(epoch from '2026-06-09 12:55:49'::timestamp) - extract(epoch from '2026-06-09 12:55:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.375019 -3.395188)', '2026-06-09 12:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374961 -3.395097)'), GeomFromEWKT('SRID=4674;POINT (-38.375019 -3.395188)'))) / (select extract(epoch from '2026-06-09 12:55:55'::timestamp) - extract(epoch from '2026-06-09 12:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.374961 -3.395097)'), GeomFromEWKT('SRID=4674;POINT (-38.375019 -3.395188)'))) / (select extract(epoch from '2026-06-09 12:55:55'::timestamp) - extract(epoch from '2026-06-09 12:55: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'), 46534, 'SRID=4674;POINT (-38.375077 -3.395271)', '2026-06-09 12:56:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375019 -3.395188)'), GeomFromEWKT('SRID=4674;POINT (-38.375077 -3.395271)'))) / (select extract(epoch from '2026-06-09 12:56:01'::timestamp) - extract(epoch from '2026-06-09 12:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375019 -3.395188)'), GeomFromEWKT('SRID=4674;POINT (-38.375077 -3.395271)'))) / (select extract(epoch from '2026-06-09 12:56:01'::timestamp) - extract(epoch from '2026-06-09 12:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.375129 -3.395339)', '2026-06-09 12:56:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375077 -3.395271)'), GeomFromEWKT('SRID=4674;POINT (-38.375129 -3.395339)'))) / (select extract(epoch from '2026-06-09 12:56:06'::timestamp) - extract(epoch from '2026-06-09 12:56:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375077 -3.395271)'), GeomFromEWKT('SRID=4674;POINT (-38.375129 -3.395339)'))) / (select extract(epoch from '2026-06-09 12:56:06'::timestamp) - extract(epoch from '2026-06-09 12:56: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'), 46534, 'SRID=4674;POINT (-38.375142 -3.39535)', '2026-06-09 12:56:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375129 -3.395339)'), GeomFromEWKT('SRID=4674;POINT (-38.375142 -3.39535)'))) / (select extract(epoch from '2026-06-09 12:56:07'::timestamp) - extract(epoch from '2026-06-09 12:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375129 -3.395339)'), GeomFromEWKT('SRID=4674;POINT (-38.375142 -3.39535)'))) / (select extract(epoch from '2026-06-09 12:56:07'::timestamp) - extract(epoch from '2026-06-09 12:56: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'), 46534, 'SRID=4674;POINT (-38.375191 -3.395443)', '2026-06-09 12:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375142 -3.39535)'), GeomFromEWKT('SRID=4674;POINT (-38.375191 -3.395443)'))) / (select extract(epoch from '2026-06-09 12:56:13'::timestamp) - extract(epoch from '2026-06-09 12:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375142 -3.39535)'), GeomFromEWKT('SRID=4674;POINT (-38.375191 -3.395443)'))) / (select extract(epoch from '2026-06-09 12:56:13'::timestamp) - extract(epoch from '2026-06-09 12:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.375264 -3.395553)', '2026-06-09 12:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375191 -3.395443)'), GeomFromEWKT('SRID=4674;POINT (-38.375264 -3.395553)'))) / (select extract(epoch from '2026-06-09 12:56:21'::timestamp) - extract(epoch from '2026-06-09 12:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375191 -3.395443)'), GeomFromEWKT('SRID=4674;POINT (-38.375264 -3.395553)'))) / (select extract(epoch from '2026-06-09 12:56:21'::timestamp) - extract(epoch from '2026-06-09 12: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'), 46534, 'SRID=4674;POINT (-38.375282 -3.395576)', '2026-06-09 12:56:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375264 -3.395553)'), GeomFromEWKT('SRID=4674;POINT (-38.375282 -3.395576)'))) / (select extract(epoch from '2026-06-09 12:56:23'::timestamp) - extract(epoch from '2026-06-09 12:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375264 -3.395553)'), GeomFromEWKT('SRID=4674;POINT (-38.375282 -3.395576)'))) / (select extract(epoch from '2026-06-09 12:56:23'::timestamp) - extract(epoch from '2026-06-09 12:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.3753 -3.395582)', '2026-06-09 12:56:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375282 -3.395576)'), GeomFromEWKT('SRID=4674;POINT (-38.3753 -3.395582)'))) / (select extract(epoch from '2026-06-09 12:56:25'::timestamp) - extract(epoch from '2026-06-09 12:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375282 -3.395576)'), GeomFromEWKT('SRID=4674;POINT (-38.3753 -3.395582)'))) / (select extract(epoch from '2026-06-09 12:56:25'::timestamp) - extract(epoch from '2026-06-09 12:56: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'), 46534, 'SRID=4674;POINT (-38.37531 -3.395592)', '2026-06-09 12:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3753 -3.395582)'), GeomFromEWKT('SRID=4674;POINT (-38.37531 -3.395592)'))) / (select extract(epoch from '2026-06-09 12:56:26'::timestamp) - extract(epoch from '2026-06-09 12:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.3753 -3.395582)'), GeomFromEWKT('SRID=4674;POINT (-38.37531 -3.395592)'))) / (select extract(epoch from '2026-06-09 12:56:26'::timestamp) - extract(epoch from '2026-06-09 12:56:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.37538 -3.395672)', '2026-06-09 12:56:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37531 -3.395592)'), GeomFromEWKT('SRID=4674;POINT (-38.37538 -3.395672)'))) / (select extract(epoch from '2026-06-09 12:56:32'::timestamp) - extract(epoch from '2026-06-09 12:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37531 -3.395592)'), GeomFromEWKT('SRID=4674;POINT (-38.37538 -3.395672)'))) / (select extract(epoch from '2026-06-09 12:56:32'::timestamp) - extract(epoch from '2026-06-09 12:56: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'), 46534, 'SRID=4674;POINT (-38.375455 -3.395749)', '2026-06-09 12:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37538 -3.395672)'), GeomFromEWKT('SRID=4674;POINT (-38.375455 -3.395749)'))) / (select extract(epoch from '2026-06-09 12:56:38'::timestamp) - extract(epoch from '2026-06-09 12:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37538 -3.395672)'), GeomFromEWKT('SRID=4674;POINT (-38.375455 -3.395749)'))) / (select extract(epoch from '2026-06-09 12:56:38'::timestamp) - extract(epoch from '2026-06-09 12:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.375515 -3.395831)', '2026-06-09 12:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375455 -3.395749)'), GeomFromEWKT('SRID=4674;POINT (-38.375515 -3.395831)'))) / (select extract(epoch from '2026-06-09 12:56:44'::timestamp) - extract(epoch from '2026-06-09 12:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375455 -3.395749)'), GeomFromEWKT('SRID=4674;POINT (-38.375515 -3.395831)'))) / (select extract(epoch from '2026-06-09 12:56:44'::timestamp) - extract(epoch from '2026-06-09 12:56: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'), 46534, 'SRID=4674;POINT (-38.37552 -3.395842)', '2026-06-09 12:56:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375515 -3.395831)'), GeomFromEWKT('SRID=4674;POINT (-38.37552 -3.395842)'))) / (select extract(epoch from '2026-06-09 12:56:45'::timestamp) - extract(epoch from '2026-06-09 12:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375515 -3.395831)'), GeomFromEWKT('SRID=4674;POINT (-38.37552 -3.395842)'))) / (select extract(epoch from '2026-06-09 12:56:45'::timestamp) - extract(epoch from '2026-06-09 12:56: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'), 46534, 'SRID=4674;POINT (-38.375567 -3.395899)', '2026-06-09 12:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37552 -3.395842)'), GeomFromEWKT('SRID=4674;POINT (-38.375567 -3.395899)'))) / (select extract(epoch from '2026-06-09 12:56:49'::timestamp) - extract(epoch from '2026-06-09 12:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37552 -3.395842)'), GeomFromEWKT('SRID=4674;POINT (-38.375567 -3.395899)'))) / (select extract(epoch from '2026-06-09 12:56:49'::timestamp) - extract(epoch from '2026-06-09 12:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.375636 -3.395976)', '2026-06-09 12:56:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375567 -3.395899)'), GeomFromEWKT('SRID=4674;POINT (-38.375636 -3.395976)'))) / (select extract(epoch from '2026-06-09 12:56:54'::timestamp) - extract(epoch from '2026-06-09 12:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375567 -3.395899)'), GeomFromEWKT('SRID=4674;POINT (-38.375636 -3.395976)'))) / (select extract(epoch from '2026-06-09 12:56:54'::timestamp) - extract(epoch from '2026-06-09 12:56: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'), 46534, 'SRID=4674;POINT (-38.375639 -3.395991)', '2026-06-09 12:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375636 -3.395976)'), GeomFromEWKT('SRID=4674;POINT (-38.375639 -3.395991)'))) / (select extract(epoch from '2026-06-09 12:56:55'::timestamp) - extract(epoch from '2026-06-09 12:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375636 -3.395976)'), GeomFromEWKT('SRID=4674;POINT (-38.375639 -3.395991)'))) / (select extract(epoch from '2026-06-09 12:56:55'::timestamp) - extract(epoch from '2026-06-09 12:56: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'), 46534, 'SRID=4674;POINT (-38.375684 -3.396066)', '2026-06-09 12:57:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375639 -3.395991)'), GeomFromEWKT('SRID=4674;POINT (-38.375684 -3.396066)'))) / (select extract(epoch from '2026-06-09 12:57:00'::timestamp) - extract(epoch from '2026-06-09 12:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375639 -3.395991)'), GeomFromEWKT('SRID=4674;POINT (-38.375684 -3.396066)'))) / (select extract(epoch from '2026-06-09 12:57:00'::timestamp) - extract(epoch from '2026-06-09 12:56: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'), 46534, 'SRID=4674;POINT (-38.375697 -3.396101)', '2026-06-09 12:57:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375684 -3.396066)'), GeomFromEWKT('SRID=4674;POINT (-38.375697 -3.396101)'))) / (select extract(epoch from '2026-06-09 12:57:03'::timestamp) - extract(epoch from '2026-06-09 12:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375684 -3.396066)'), GeomFromEWKT('SRID=4674;POINT (-38.375697 -3.396101)'))) / (select extract(epoch from '2026-06-09 12:57:03'::timestamp) - extract(epoch from '2026-06-09 12:57: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'), 46534, 'SRID=4674;POINT (-38.375717 -3.396113)', '2026-06-09 12:57:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375697 -3.396101)'), GeomFromEWKT('SRID=4674;POINT (-38.375717 -3.396113)'))) / (select extract(epoch from '2026-06-09 12:57:05'::timestamp) - extract(epoch from '2026-06-09 12:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375697 -3.396101)'), GeomFromEWKT('SRID=4674;POINT (-38.375717 -3.396113)'))) / (select extract(epoch from '2026-06-09 12:57:05'::timestamp) - extract(epoch from '2026-06-09 12:57: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'), 46534, 'SRID=4674;POINT (-38.375788 -3.39619)', '2026-06-09 12:57:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375717 -3.396113)'), GeomFromEWKT('SRID=4674;POINT (-38.375788 -3.39619)'))) / (select extract(epoch from '2026-06-09 12:57:12'::timestamp) - extract(epoch from '2026-06-09 12:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375717 -3.396113)'), GeomFromEWKT('SRID=4674;POINT (-38.375788 -3.39619)'))) / (select extract(epoch from '2026-06-09 12:57:12'::timestamp) - extract(epoch from '2026-06-09 12:57: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'), 46534, 'SRID=4674;POINT (-38.375848 -3.396244)', '2026-06-09 12:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375788 -3.39619)'), GeomFromEWKT('SRID=4674;POINT (-38.375848 -3.396244)'))) / (select extract(epoch from '2026-06-09 12:57:17'::timestamp) - extract(epoch from '2026-06-09 12:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375788 -3.39619)'), GeomFromEWKT('SRID=4674;POINT (-38.375848 -3.396244)'))) / (select extract(epoch from '2026-06-09 12:57:17'::timestamp) - extract(epoch from '2026-06-09 12:57: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'), 46534, 'SRID=4674;POINT (-38.375861 -3.396257)', '2026-06-09 12:57:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375848 -3.396244)'), GeomFromEWKT('SRID=4674;POINT (-38.375861 -3.396257)'))) / (select extract(epoch from '2026-06-09 12:57:18'::timestamp) - extract(epoch from '2026-06-09 12:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375848 -3.396244)'), GeomFromEWKT('SRID=4674;POINT (-38.375861 -3.396257)'))) / (select extract(epoch from '2026-06-09 12:57:18'::timestamp) - extract(epoch from '2026-06-09 12: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'), 46534, 'SRID=4674;POINT (-38.375917 -3.396309)', '2026-06-09 12:57:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375861 -3.396257)'), GeomFromEWKT('SRID=4674;POINT (-38.375917 -3.396309)'))) / (select extract(epoch from '2026-06-09 12:57:22'::timestamp) - extract(epoch from '2026-06-09 12:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375861 -3.396257)'), GeomFromEWKT('SRID=4674;POINT (-38.375917 -3.396309)'))) / (select extract(epoch from '2026-06-09 12:57:22'::timestamp) - extract(epoch from '2026-06-09 12:57: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'), 46534, 'SRID=4674;POINT (-38.375981 -3.396384)', '2026-06-09 12:57:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375917 -3.396309)'), GeomFromEWKT('SRID=4674;POINT (-38.375981 -3.396384)'))) / (select extract(epoch from '2026-06-09 12:57:28'::timestamp) - extract(epoch from '2026-06-09 12:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375917 -3.396309)'), GeomFromEWKT('SRID=4674;POINT (-38.375981 -3.396384)'))) / (select extract(epoch from '2026-06-09 12:57:28'::timestamp) - extract(epoch from '2026-06-09 12:57: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'), 46534, 'SRID=4674;POINT (-38.376043 -3.396492)', '2026-06-09 12:57:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375981 -3.396384)'), GeomFromEWKT('SRID=4674;POINT (-38.376043 -3.396492)'))) / (select extract(epoch from '2026-06-09 12:57:35'::timestamp) - extract(epoch from '2026-06-09 12:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.375981 -3.396384)'), GeomFromEWKT('SRID=4674;POINT (-38.376043 -3.396492)'))) / (select extract(epoch from '2026-06-09 12:57:35'::timestamp) - extract(epoch from '2026-06-09 12:57: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'), 46534, 'SRID=4674;POINT (-38.376109 -3.396593)', '2026-06-09 12:57:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376043 -3.396492)'), GeomFromEWKT('SRID=4674;POINT (-38.376109 -3.396593)'))) / (select extract(epoch from '2026-06-09 12:57:42'::timestamp) - extract(epoch from '2026-06-09 12:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376043 -3.396492)'), GeomFromEWKT('SRID=4674;POINT (-38.376109 -3.396593)'))) / (select extract(epoch from '2026-06-09 12:57:42'::timestamp) - extract(epoch from '2026-06-09 12:57: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'), 46534, 'SRID=4674;POINT (-38.37617 -3.39668)', '2026-06-09 12:57:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376109 -3.396593)'), GeomFromEWKT('SRID=4674;POINT (-38.37617 -3.39668)'))) / (select extract(epoch from '2026-06-09 12:57:48'::timestamp) - extract(epoch from '2026-06-09 12:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376109 -3.396593)'), GeomFromEWKT('SRID=4674;POINT (-38.37617 -3.39668)'))) / (select extract(epoch from '2026-06-09 12:57:48'::timestamp) - extract(epoch from '2026-06-09 12:57: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'), 46534, 'SRID=4674;POINT (-38.376222 -3.396739)', '2026-06-09 12:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37617 -3.39668)'), GeomFromEWKT('SRID=4674;POINT (-38.376222 -3.396739)'))) / (select extract(epoch from '2026-06-09 12:57:54'::timestamp) - extract(epoch from '2026-06-09 12:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37617 -3.39668)'), GeomFromEWKT('SRID=4674;POINT (-38.376222 -3.396739)'))) / (select extract(epoch from '2026-06-09 12:57:54'::timestamp) - extract(epoch from '2026-06-09 12:57: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'), 46534, 'SRID=4674;POINT (-38.376299 -3.396823)', '2026-06-09 12:58:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376222 -3.396739)'), GeomFromEWKT('SRID=4674;POINT (-38.376299 -3.396823)'))) / (select extract(epoch from '2026-06-09 12:58:01'::timestamp) - extract(epoch from '2026-06-09 12:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376222 -3.396739)'), GeomFromEWKT('SRID=4674;POINT (-38.376299 -3.396823)'))) / (select extract(epoch from '2026-06-09 12:58:01'::timestamp) - extract(epoch from '2026-06-09 12:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.376368 -3.396901)', '2026-06-09 12:58:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376299 -3.396823)'), GeomFromEWKT('SRID=4674;POINT (-38.376368 -3.396901)'))) / (select extract(epoch from '2026-06-09 12:58:07'::timestamp) - extract(epoch from '2026-06-09 12:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376299 -3.396823)'), GeomFromEWKT('SRID=4674;POINT (-38.376368 -3.396901)'))) / (select extract(epoch from '2026-06-09 12:58:07'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.376425 -3.396994)', '2026-06-09 12:58:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376368 -3.396901)'), GeomFromEWKT('SRID=4674;POINT (-38.376425 -3.396994)'))) / (select extract(epoch from '2026-06-09 12:58:13'::timestamp) - extract(epoch from '2026-06-09 12:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376368 -3.396901)'), GeomFromEWKT('SRID=4674;POINT (-38.376425 -3.396994)'))) / (select extract(epoch from '2026-06-09 12:58:13'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.376456 -3.397028)', '2026-06-09 12:58:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376425 -3.396994)'), GeomFromEWKT('SRID=4674;POINT (-38.376456 -3.397028)'))) / (select extract(epoch from '2026-06-09 12:58:16'::timestamp) - extract(epoch from '2026-06-09 12:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376425 -3.396994)'), GeomFromEWKT('SRID=4674;POINT (-38.376456 -3.397028)'))) / (select extract(epoch from '2026-06-09 12:58:16'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.376464 -3.39705)', '2026-06-09 12:58:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376456 -3.397028)'), GeomFromEWKT('SRID=4674;POINT (-38.376464 -3.39705)'))) / (select extract(epoch from '2026-06-09 12:58:18'::timestamp) - extract(epoch from '2026-06-09 12:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376456 -3.397028)'), GeomFromEWKT('SRID=4674;POINT (-38.376464 -3.39705)'))) / (select extract(epoch from '2026-06-09 12:58:18'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.376523 -3.397128)', '2026-06-09 12:58:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376464 -3.39705)'), GeomFromEWKT('SRID=4674;POINT (-38.376523 -3.397128)'))) / (select extract(epoch from '2026-06-09 12:58:23'::timestamp) - extract(epoch from '2026-06-09 12:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376464 -3.39705)'), GeomFromEWKT('SRID=4674;POINT (-38.376523 -3.397128)'))) / (select extract(epoch from '2026-06-09 12:58:23'::timestamp) - extract(epoch from '2026-06-09 12:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46534, 'SRID=4674;POINT (-38.376586 -3.397203)', '2026-06-09 12:58:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376523 -3.397128)'), GeomFromEWKT('SRID=4674;POINT (-38.376586 -3.397203)'))) / (select extract(epoch from '2026-06-09 12:58:28'::timestamp) - extract(epoch from '2026-06-09 12:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376523 -3.397128)'), GeomFromEWKT('SRID=4674;POINT (-38.376586 -3.397203)'))) / (select extract(epoch from '2026-06-09 12:58:28'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.376647 -3.397306)', '2026-06-09 12:58:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376586 -3.397203)'), GeomFromEWKT('SRID=4674;POINT (-38.376647 -3.397306)'))) / (select extract(epoch from '2026-06-09 12:58:34'::timestamp) - extract(epoch from '2026-06-09 12:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376586 -3.397203)'), GeomFromEWKT('SRID=4674;POINT (-38.376647 -3.397306)'))) / (select extract(epoch from '2026-06-09 12:58:34'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.376702 -3.397368)', '2026-06-09 12:58:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376647 -3.397306)'), GeomFromEWKT('SRID=4674;POINT (-38.376702 -3.397368)'))) / (select extract(epoch from '2026-06-09 12:58:39'::timestamp) - extract(epoch from '2026-06-09 12:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376647 -3.397306)'), GeomFromEWKT('SRID=4674;POINT (-38.376702 -3.397368)'))) / (select extract(epoch from '2026-06-09 12:58:39'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.376767 -3.397437)', '2026-06-09 12:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376702 -3.397368)'), GeomFromEWKT('SRID=4674;POINT (-38.376767 -3.397437)'))) / (select extract(epoch from '2026-06-09 12:58:44'::timestamp) - extract(epoch from '2026-06-09 12:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376702 -3.397368)'), GeomFromEWKT('SRID=4674;POINT (-38.376767 -3.397437)'))) / (select extract(epoch from '2026-06-09 12:58:44'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.376813 -3.397514)', '2026-06-09 12:58:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376767 -3.397437)'), GeomFromEWKT('SRID=4674;POINT (-38.376813 -3.397514)'))) / (select extract(epoch from '2026-06-09 12:58:48'::timestamp) - extract(epoch from '2026-06-09 12:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376767 -3.397437)'), GeomFromEWKT('SRID=4674;POINT (-38.376813 -3.397514)'))) / (select extract(epoch from '2026-06-09 12:58:48'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.376834 -3.397542)', '2026-06-09 12:58:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376813 -3.397514)'), GeomFromEWKT('SRID=4674;POINT (-38.376834 -3.397542)'))) / (select extract(epoch from '2026-06-09 12:58:50'::timestamp) - extract(epoch from '2026-06-09 12:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376813 -3.397514)'), GeomFromEWKT('SRID=4674;POINT (-38.376834 -3.397542)'))) / (select extract(epoch from '2026-06-09 12:58:50'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.37685 -3.397578)', '2026-06-09 12:58:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376834 -3.397542)'), GeomFromEWKT('SRID=4674;POINT (-38.37685 -3.397578)'))) / (select extract(epoch from '2026-06-09 12:58:52'::timestamp) - extract(epoch from '2026-06-09 12:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376834 -3.397542)'), GeomFromEWKT('SRID=4674;POINT (-38.37685 -3.397578)'))) / (select extract(epoch from '2026-06-09 12:58:52'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.376907 -3.397675)', '2026-06-09 12:58:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37685 -3.397578)'), GeomFromEWKT('SRID=4674;POINT (-38.376907 -3.397675)'))) / (select extract(epoch from '2026-06-09 12:58:57'::timestamp) - extract(epoch from '2026-06-09 12:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.37685 -3.397578)'), GeomFromEWKT('SRID=4674;POINT (-38.376907 -3.397675)'))) / (select extract(epoch from '2026-06-09 12:58:57'::timestamp) - extract(epoch from '2026-06-09 12:58: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'), 46534, 'SRID=4674;POINT (-38.37697 -3.39778)', '2026-06-09 12:59:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376907 -3.397675)'), GeomFromEWKT('SRID=4674;POINT (-38.37697 -3.39778)'))) / (select extract(epoch from '2026-06-09 12:59:03'::timestamp) - extract(epoch from '2026-06-09 12:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.376907 -3.397675)'), GeomFromEWKT('SRID=4674;POINT (-38.37697 -3.39778)'))) / (select extract(epoch from '2026-06-09 12:59:03'::timestamp) - extract(epoch from '2026-06-09 12:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
