 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466514 -3.424986)', '2026-07-18 14:41:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466499 -3.424953)'), GeomFromEWKT('SRID=4674;POINT (-38.466514 -3.424986)'))) / (select extract(epoch from '2026-07-18 14:41:44'::timestamp) - extract(epoch from '2026-07-18 14:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466499 -3.424953)'), GeomFromEWKT('SRID=4674;POINT (-38.466514 -3.424986)'))) / (select extract(epoch from '2026-07-18 14:41:44'::timestamp) - extract(epoch from '2026-07-18 14:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466547 -3.425043)', '2026-07-18 14:41:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466514 -3.424986)'), GeomFromEWKT('SRID=4674;POINT (-38.466547 -3.425043)'))) / (select extract(epoch from '2026-07-18 14:41:48'::timestamp) - extract(epoch from '2026-07-18 14:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466514 -3.424986)'), GeomFromEWKT('SRID=4674;POINT (-38.466547 -3.425043)'))) / (select extract(epoch from '2026-07-18 14:41:48'::timestamp) - extract(epoch from '2026-07-18 14:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466569 -3.425072)', '2026-07-18 14:41:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466547 -3.425043)'), GeomFromEWKT('SRID=4674;POINT (-38.466569 -3.425072)'))) / (select extract(epoch from '2026-07-18 14:41:50'::timestamp) - extract(epoch from '2026-07-18 14:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466547 -3.425043)'), GeomFromEWKT('SRID=4674;POINT (-38.466569 -3.425072)'))) / (select extract(epoch from '2026-07-18 14:41:50'::timestamp) - extract(epoch from '2026-07-18 14:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466599 -3.425136)', '2026-07-18 14:41:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466569 -3.425072)'), GeomFromEWKT('SRID=4674;POINT (-38.466599 -3.425136)'))) / (select extract(epoch from '2026-07-18 14:41:54'::timestamp) - extract(epoch from '2026-07-18 14:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466569 -3.425072)'), GeomFromEWKT('SRID=4674;POINT (-38.466599 -3.425136)'))) / (select extract(epoch from '2026-07-18 14:41:54'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.466669 -3.425244)', '2026-07-18 14:42:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466599 -3.425136)'), GeomFromEWKT('SRID=4674;POINT (-38.466669 -3.425244)'))) / (select extract(epoch from '2026-07-18 14:42:01'::timestamp) - extract(epoch from '2026-07-18 14:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466599 -3.425136)'), GeomFromEWKT('SRID=4674;POINT (-38.466669 -3.425244)'))) / (select extract(epoch from '2026-07-18 14:42:01'::timestamp) - extract(epoch from '2026-07-18 14:41:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466725 -3.425336)', '2026-07-18 14:42:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466669 -3.425244)'), GeomFromEWKT('SRID=4674;POINT (-38.466725 -3.425336)'))) / (select extract(epoch from '2026-07-18 14:42:06'::timestamp) - extract(epoch from '2026-07-18 14:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466669 -3.425244)'), GeomFromEWKT('SRID=4674;POINT (-38.466725 -3.425336)'))) / (select extract(epoch from '2026-07-18 14:42:06'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.466781 -3.425446)', '2026-07-18 14:42:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466725 -3.425336)'), GeomFromEWKT('SRID=4674;POINT (-38.466781 -3.425446)'))) / (select extract(epoch from '2026-07-18 14:42:12'::timestamp) - extract(epoch from '2026-07-18 14:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466725 -3.425336)'), GeomFromEWKT('SRID=4674;POINT (-38.466781 -3.425446)'))) / (select extract(epoch from '2026-07-18 14:42:12'::timestamp) - extract(epoch from '2026-07-18 14:42:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46684 -3.425536)', '2026-07-18 14:42:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466781 -3.425446)'), GeomFromEWKT('SRID=4674;POINT (-38.46684 -3.425536)'))) / (select extract(epoch from '2026-07-18 14:42:17'::timestamp) - extract(epoch from '2026-07-18 14:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466781 -3.425446)'), GeomFromEWKT('SRID=4674;POINT (-38.46684 -3.425536)'))) / (select extract(epoch from '2026-07-18 14:42:17'::timestamp) - extract(epoch from '2026-07-18 14:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466883 -3.425619)', '2026-07-18 14:42:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46684 -3.425536)'), GeomFromEWKT('SRID=4674;POINT (-38.466883 -3.425619)'))) / (select extract(epoch from '2026-07-18 14:42:21'::timestamp) - extract(epoch from '2026-07-18 14:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46684 -3.425536)'), GeomFromEWKT('SRID=4674;POINT (-38.466883 -3.425619)'))) / (select extract(epoch from '2026-07-18 14:42:21'::timestamp) - extract(epoch from '2026-07-18 14:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466937 -3.425702)', '2026-07-18 14:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466883 -3.425619)'), GeomFromEWKT('SRID=4674;POINT (-38.466937 -3.425702)'))) / (select extract(epoch from '2026-07-18 14:42:26'::timestamp) - extract(epoch from '2026-07-18 14:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466883 -3.425619)'), GeomFromEWKT('SRID=4674;POINT (-38.466937 -3.425702)'))) / (select extract(epoch from '2026-07-18 14:42:26'::timestamp) - extract(epoch from '2026-07-18 14:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.466993 -3.425786)', '2026-07-18 14:42:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466937 -3.425702)'), GeomFromEWKT('SRID=4674;POINT (-38.466993 -3.425786)'))) / (select extract(epoch from '2026-07-18 14:42:32'::timestamp) - extract(epoch from '2026-07-18 14:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466937 -3.425702)'), GeomFromEWKT('SRID=4674;POINT (-38.466993 -3.425786)'))) / (select extract(epoch from '2026-07-18 14:42:32'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.46704 -3.425872)', '2026-07-18 14:42:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466993 -3.425786)'), GeomFromEWKT('SRID=4674;POINT (-38.46704 -3.425872)'))) / (select extract(epoch from '2026-07-18 14:42:38'::timestamp) - extract(epoch from '2026-07-18 14:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.466993 -3.425786)'), GeomFromEWKT('SRID=4674;POINT (-38.46704 -3.425872)'))) / (select extract(epoch from '2026-07-18 14:42:38'::timestamp) - extract(epoch from '2026-07-18 14:42:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467098 -3.425958)', '2026-07-18 14:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46704 -3.425872)'), GeomFromEWKT('SRID=4674;POINT (-38.467098 -3.425958)'))) / (select extract(epoch from '2026-07-18 14:42:44'::timestamp) - extract(epoch from '2026-07-18 14:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46704 -3.425872)'), GeomFromEWKT('SRID=4674;POINT (-38.467098 -3.425958)'))) / (select extract(epoch from '2026-07-18 14:42:44'::timestamp) - extract(epoch from '2026-07-18 14:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467107 -3.425973)', '2026-07-18 14:42:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467098 -3.425958)'), GeomFromEWKT('SRID=4674;POINT (-38.467107 -3.425973)'))) / (select extract(epoch from '2026-07-18 14:42:45'::timestamp) - extract(epoch from '2026-07-18 14:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467098 -3.425958)'), GeomFromEWKT('SRID=4674;POINT (-38.467107 -3.425973)'))) / (select extract(epoch from '2026-07-18 14:42:45'::timestamp) - extract(epoch from '2026-07-18 14:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46714 -3.426031)', '2026-07-18 14:42:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467107 -3.425973)'), GeomFromEWKT('SRID=4674;POINT (-38.46714 -3.426031)'))) / (select extract(epoch from '2026-07-18 14:42:49'::timestamp) - extract(epoch from '2026-07-18 14:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467107 -3.425973)'), GeomFromEWKT('SRID=4674;POINT (-38.46714 -3.426031)'))) / (select extract(epoch from '2026-07-18 14:42:49'::timestamp) - extract(epoch from '2026-07-18 14:42:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467199 -3.426119)', '2026-07-18 14:42:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46714 -3.426031)'), GeomFromEWKT('SRID=4674;POINT (-38.467199 -3.426119)'))) / (select extract(epoch from '2026-07-18 14:42:55'::timestamp) - extract(epoch from '2026-07-18 14:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46714 -3.426031)'), GeomFromEWKT('SRID=4674;POINT (-38.467199 -3.426119)'))) / (select extract(epoch from '2026-07-18 14:42:55'::timestamp) - extract(epoch from '2026-07-18 14:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46724 -3.426189)', '2026-07-18 14:43:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467199 -3.426119)'), GeomFromEWKT('SRID=4674;POINT (-38.46724 -3.426189)'))) / (select extract(epoch from '2026-07-18 14:43:00'::timestamp) - extract(epoch from '2026-07-18 14:42:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467199 -3.426119)'), GeomFromEWKT('SRID=4674;POINT (-38.46724 -3.426189)'))) / (select extract(epoch from '2026-07-18 14:43:00'::timestamp) - extract(epoch from '2026-07-18 14:42:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467248 -3.426205)', '2026-07-18 14:43:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46724 -3.426189)'), GeomFromEWKT('SRID=4674;POINT (-38.467248 -3.426205)'))) / (select extract(epoch from '2026-07-18 14:43:01'::timestamp) - extract(epoch from '2026-07-18 14:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46724 -3.426189)'), GeomFromEWKT('SRID=4674;POINT (-38.467248 -3.426205)'))) / (select extract(epoch from '2026-07-18 14:43:01'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.467273 -3.426248)', '2026-07-18 14:43:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467248 -3.426205)'), GeomFromEWKT('SRID=4674;POINT (-38.467273 -3.426248)'))) / (select extract(epoch from '2026-07-18 14:43:04'::timestamp) - extract(epoch from '2026-07-18 14:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467248 -3.426205)'), GeomFromEWKT('SRID=4674;POINT (-38.467273 -3.426248)'))) / (select extract(epoch from '2026-07-18 14:43:04'::timestamp) - extract(epoch from '2026-07-18 14:43:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467333 -3.42633)', '2026-07-18 14:43:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467273 -3.426248)'), GeomFromEWKT('SRID=4674;POINT (-38.467333 -3.42633)'))) / (select extract(epoch from '2026-07-18 14:43:10'::timestamp) - extract(epoch from '2026-07-18 14:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467273 -3.426248)'), GeomFromEWKT('SRID=4674;POINT (-38.467333 -3.42633)'))) / (select extract(epoch from '2026-07-18 14:43:10'::timestamp) - extract(epoch from '2026-07-18 14:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467381 -3.426396)', '2026-07-18 14:43:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467333 -3.42633)'), GeomFromEWKT('SRID=4674;POINT (-38.467381 -3.426396)'))) / (select extract(epoch from '2026-07-18 14:43:14'::timestamp) - extract(epoch from '2026-07-18 14:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467333 -3.42633)'), GeomFromEWKT('SRID=4674;POINT (-38.467381 -3.426396)'))) / (select extract(epoch from '2026-07-18 14:43:14'::timestamp) - extract(epoch from '2026-07-18 14:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467407 -3.426413)', '2026-07-18 14:43:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467381 -3.426396)'), GeomFromEWKT('SRID=4674;POINT (-38.467407 -3.426413)'))) / (select extract(epoch from '2026-07-18 14:43:16'::timestamp) - extract(epoch from '2026-07-18 14:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467381 -3.426396)'), GeomFromEWKT('SRID=4674;POINT (-38.467407 -3.426413)'))) / (select extract(epoch from '2026-07-18 14:43:16'::timestamp) - extract(epoch from '2026-07-18 14:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467452 -3.4265)', '2026-07-18 14:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467407 -3.426413)'), GeomFromEWKT('SRID=4674;POINT (-38.467452 -3.4265)'))) / (select extract(epoch from '2026-07-18 14:43:22'::timestamp) - extract(epoch from '2026-07-18 14:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467407 -3.426413)'), GeomFromEWKT('SRID=4674;POINT (-38.467452 -3.4265)'))) / (select extract(epoch from '2026-07-18 14:43:22'::timestamp) - extract(epoch from '2026-07-18 14:43:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467484 -3.426549)', '2026-07-18 14:43:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467452 -3.4265)'), GeomFromEWKT('SRID=4674;POINT (-38.467484 -3.426549)'))) / (select extract(epoch from '2026-07-18 14:43:26'::timestamp) - extract(epoch from '2026-07-18 14:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467452 -3.4265)'), GeomFromEWKT('SRID=4674;POINT (-38.467484 -3.426549)'))) / (select extract(epoch from '2026-07-18 14:43:26'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.467497 -3.426562)', '2026-07-18 14:43:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467484 -3.426549)'), GeomFromEWKT('SRID=4674;POINT (-38.467497 -3.426562)'))) / (select extract(epoch from '2026-07-18 14:43:27'::timestamp) - extract(epoch from '2026-07-18 14:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467484 -3.426549)'), GeomFromEWKT('SRID=4674;POINT (-38.467497 -3.426562)'))) / (select extract(epoch from '2026-07-18 14:43:27'::timestamp) - extract(epoch from '2026-07-18 14:43:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46752 -3.426592)', '2026-07-18 14:43:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467497 -3.426562)'), GeomFromEWKT('SRID=4674;POINT (-38.46752 -3.426592)'))) / (select extract(epoch from '2026-07-18 14:43:29'::timestamp) - extract(epoch from '2026-07-18 14:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467497 -3.426562)'), GeomFromEWKT('SRID=4674;POINT (-38.46752 -3.426592)'))) / (select extract(epoch from '2026-07-18 14:43:29'::timestamp) - extract(epoch from '2026-07-18 14:43:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467545 -3.426629)', '2026-07-18 14:43:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46752 -3.426592)'), GeomFromEWKT('SRID=4674;POINT (-38.467545 -3.426629)'))) / (select extract(epoch from '2026-07-18 14:43:32'::timestamp) - extract(epoch from '2026-07-18 14:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46752 -3.426592)'), GeomFromEWKT('SRID=4674;POINT (-38.467545 -3.426629)'))) / (select extract(epoch from '2026-07-18 14:43:32'::timestamp) - extract(epoch from '2026-07-18 14:43:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467586 -3.426688)', '2026-07-18 14:43:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467545 -3.426629)'), GeomFromEWKT('SRID=4674;POINT (-38.467586 -3.426688)'))) / (select extract(epoch from '2026-07-18 14:43:35'::timestamp) - extract(epoch from '2026-07-18 14:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467545 -3.426629)'), GeomFromEWKT('SRID=4674;POINT (-38.467586 -3.426688)'))) / (select extract(epoch from '2026-07-18 14:43:35'::timestamp) - extract(epoch from '2026-07-18 14:43:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467599 -3.426703)', '2026-07-18 14:43:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467586 -3.426688)'), GeomFromEWKT('SRID=4674;POINT (-38.467599 -3.426703)'))) / (select extract(epoch from '2026-07-18 14:43:36'::timestamp) - extract(epoch from '2026-07-18 14:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467586 -3.426688)'), GeomFromEWKT('SRID=4674;POINT (-38.467599 -3.426703)'))) / (select extract(epoch from '2026-07-18 14:43:36'::timestamp) - extract(epoch from '2026-07-18 14:43:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467608 -3.426716)', '2026-07-18 14:43:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467599 -3.426703)'), GeomFromEWKT('SRID=4674;POINT (-38.467608 -3.426716)'))) / (select extract(epoch from '2026-07-18 14:43:37'::timestamp) - extract(epoch from '2026-07-18 14:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467599 -3.426703)'), GeomFromEWKT('SRID=4674;POINT (-38.467608 -3.426716)'))) / (select extract(epoch from '2026-07-18 14:43:37'::timestamp) - extract(epoch from '2026-07-18 14:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467633 -3.426764)', '2026-07-18 14:43:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467608 -3.426716)'), GeomFromEWKT('SRID=4674;POINT (-38.467633 -3.426764)'))) / (select extract(epoch from '2026-07-18 14:43:40'::timestamp) - extract(epoch from '2026-07-18 14:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467608 -3.426716)'), GeomFromEWKT('SRID=4674;POINT (-38.467633 -3.426764)'))) / (select extract(epoch from '2026-07-18 14:43:40'::timestamp) - extract(epoch from '2026-07-18 14:43:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467669 -3.426819)', '2026-07-18 14:43:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467633 -3.426764)'), GeomFromEWKT('SRID=4674;POINT (-38.467669 -3.426819)'))) / (select extract(epoch from '2026-07-18 14:43:43'::timestamp) - extract(epoch from '2026-07-18 14:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467633 -3.426764)'), GeomFromEWKT('SRID=4674;POINT (-38.467669 -3.426819)'))) / (select extract(epoch from '2026-07-18 14:43:43'::timestamp) - extract(epoch from '2026-07-18 14:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467685 -3.426846)', '2026-07-18 14:43:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467669 -3.426819)'), GeomFromEWKT('SRID=4674;POINT (-38.467685 -3.426846)'))) / (select extract(epoch from '2026-07-18 14:43:45'::timestamp) - extract(epoch from '2026-07-18 14:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467669 -3.426819)'), GeomFromEWKT('SRID=4674;POINT (-38.467685 -3.426846)'))) / (select extract(epoch from '2026-07-18 14:43:45'::timestamp) - extract(epoch from '2026-07-18 14:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467726 -3.426913)', '2026-07-18 14:43:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467685 -3.426846)'), GeomFromEWKT('SRID=4674;POINT (-38.467726 -3.426913)'))) / (select extract(epoch from '2026-07-18 14:43:51'::timestamp) - extract(epoch from '2026-07-18 14:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467685 -3.426846)'), GeomFromEWKT('SRID=4674;POINT (-38.467726 -3.426913)'))) / (select extract(epoch from '2026-07-18 14:43:51'::timestamp) - extract(epoch from '2026-07-18 14:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467746 -3.426943)', '2026-07-18 14:43:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467726 -3.426913)'), GeomFromEWKT('SRID=4674;POINT (-38.467746 -3.426943)'))) / (select extract(epoch from '2026-07-18 14:43:54'::timestamp) - extract(epoch from '2026-07-18 14:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467726 -3.426913)'), GeomFromEWKT('SRID=4674;POINT (-38.467746 -3.426943)'))) / (select extract(epoch from '2026-07-18 14:43:54'::timestamp) - extract(epoch from '2026-07-18 14:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467776 -3.426983)', '2026-07-18 14:43:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467746 -3.426943)'), GeomFromEWKT('SRID=4674;POINT (-38.467776 -3.426983)'))) / (select extract(epoch from '2026-07-18 14:43:57'::timestamp) - extract(epoch from '2026-07-18 14:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467746 -3.426943)'), GeomFromEWKT('SRID=4674;POINT (-38.467776 -3.426983)'))) / (select extract(epoch from '2026-07-18 14:43:57'::timestamp) - extract(epoch from '2026-07-18 14:43:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467855 -3.427078)', '2026-07-18 14:44:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467776 -3.426983)'), GeomFromEWKT('SRID=4674;POINT (-38.467855 -3.427078)'))) / (select extract(epoch from '2026-07-18 14:44:03'::timestamp) - extract(epoch from '2026-07-18 14:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467776 -3.426983)'), GeomFromEWKT('SRID=4674;POINT (-38.467855 -3.427078)'))) / (select extract(epoch from '2026-07-18 14:44:03'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.467868 -3.42709)', '2026-07-18 14:44:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467855 -3.427078)'), GeomFromEWKT('SRID=4674;POINT (-38.467868 -3.42709)'))) / (select extract(epoch from '2026-07-18 14:44:04'::timestamp) - extract(epoch from '2026-07-18 14:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467855 -3.427078)'), GeomFromEWKT('SRID=4674;POINT (-38.467868 -3.42709)'))) / (select extract(epoch from '2026-07-18 14:44:04'::timestamp) - extract(epoch from '2026-07-18 14:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467896 -3.427134)', '2026-07-18 14:44:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467868 -3.42709)'), GeomFromEWKT('SRID=4674;POINT (-38.467896 -3.427134)'))) / (select extract(epoch from '2026-07-18 14:44:07'::timestamp) - extract(epoch from '2026-07-18 14:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467868 -3.42709)'), GeomFromEWKT('SRID=4674;POINT (-38.467896 -3.427134)'))) / (select extract(epoch from '2026-07-18 14:44:07'::timestamp) - extract(epoch from '2026-07-18 14:44:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467946 -3.427212)', '2026-07-18 14:44:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467896 -3.427134)'), GeomFromEWKT('SRID=4674;POINT (-38.467946 -3.427212)'))) / (select extract(epoch from '2026-07-18 14:44:12'::timestamp) - extract(epoch from '2026-07-18 14:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467896 -3.427134)'), GeomFromEWKT('SRID=4674;POINT (-38.467946 -3.427212)'))) / (select extract(epoch from '2026-07-18 14:44:12'::timestamp) - extract(epoch from '2026-07-18 14:44:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.467982 -3.427296)', '2026-07-18 14:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467946 -3.427212)'), GeomFromEWKT('SRID=4674;POINT (-38.467982 -3.427296)'))) / (select extract(epoch from '2026-07-18 14:44:17'::timestamp) - extract(epoch from '2026-07-18 14:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467946 -3.427212)'), GeomFromEWKT('SRID=4674;POINT (-38.467982 -3.427296)'))) / (select extract(epoch from '2026-07-18 14:44:17'::timestamp) - extract(epoch from '2026-07-18 14:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468011 -3.427366)', '2026-07-18 14:44:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467982 -3.427296)'), GeomFromEWKT('SRID=4674;POINT (-38.468011 -3.427366)'))) / (select extract(epoch from '2026-07-18 14:44:21'::timestamp) - extract(epoch from '2026-07-18 14:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.467982 -3.427296)'), GeomFromEWKT('SRID=4674;POINT (-38.468011 -3.427366)'))) / (select extract(epoch from '2026-07-18 14:44:21'::timestamp) - extract(epoch from '2026-07-18 14:44:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468035 -3.427422)', '2026-07-18 14:44:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468011 -3.427366)'), GeomFromEWKT('SRID=4674;POINT (-38.468035 -3.427422)'))) / (select extract(epoch from '2026-07-18 14:44:24'::timestamp) - extract(epoch from '2026-07-18 14:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468011 -3.427366)'), GeomFromEWKT('SRID=4674;POINT (-38.468035 -3.427422)'))) / (select extract(epoch from '2026-07-18 14:44:24'::timestamp) - extract(epoch from '2026-07-18 14:44:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468058 -3.427454)', '2026-07-18 14:44:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468035 -3.427422)'), GeomFromEWKT('SRID=4674;POINT (-38.468058 -3.427454)'))) / (select extract(epoch from '2026-07-18 14:44:26'::timestamp) - extract(epoch from '2026-07-18 14:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468035 -3.427422)'), GeomFromEWKT('SRID=4674;POINT (-38.468058 -3.427454)'))) / (select extract(epoch from '2026-07-18 14:44:26'::timestamp) - extract(epoch from '2026-07-18 14:44:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468104 -3.42754)', '2026-07-18 14:44:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468058 -3.427454)'), GeomFromEWKT('SRID=4674;POINT (-38.468104 -3.42754)'))) / (select extract(epoch from '2026-07-18 14:44:31'::timestamp) - extract(epoch from '2026-07-18 14:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468058 -3.427454)'), GeomFromEWKT('SRID=4674;POINT (-38.468104 -3.42754)'))) / (select extract(epoch from '2026-07-18 14:44:31'::timestamp) - extract(epoch from '2026-07-18 14:44:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46811 -3.427558)', '2026-07-18 14:44:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468104 -3.42754)'), GeomFromEWKT('SRID=4674;POINT (-38.46811 -3.427558)'))) / (select extract(epoch from '2026-07-18 14:44:32'::timestamp) - extract(epoch from '2026-07-18 14:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468104 -3.42754)'), GeomFromEWKT('SRID=4674;POINT (-38.46811 -3.427558)'))) / (select extract(epoch from '2026-07-18 14:44:32'::timestamp) - extract(epoch from '2026-07-18 14:44:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468153 -3.427632)', '2026-07-18 14:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46811 -3.427558)'), GeomFromEWKT('SRID=4674;POINT (-38.468153 -3.427632)'))) / (select extract(epoch from '2026-07-18 14:44:36'::timestamp) - extract(epoch from '2026-07-18 14:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46811 -3.427558)'), GeomFromEWKT('SRID=4674;POINT (-38.468153 -3.427632)'))) / (select extract(epoch from '2026-07-18 14:44:36'::timestamp) - extract(epoch from '2026-07-18 14:44:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468198 -3.427709)', '2026-07-18 14:44:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468153 -3.427632)'), GeomFromEWKT('SRID=4674;POINT (-38.468198 -3.427709)'))) / (select extract(epoch from '2026-07-18 14:44:41'::timestamp) - extract(epoch from '2026-07-18 14:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468153 -3.427632)'), GeomFromEWKT('SRID=4674;POINT (-38.468198 -3.427709)'))) / (select extract(epoch from '2026-07-18 14:44:41'::timestamp) - extract(epoch from '2026-07-18 14:44:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468231 -3.427769)', '2026-07-18 14:44:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468198 -3.427709)'), GeomFromEWKT('SRID=4674;POINT (-38.468231 -3.427769)'))) / (select extract(epoch from '2026-07-18 14:44:45'::timestamp) - extract(epoch from '2026-07-18 14:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468198 -3.427709)'), GeomFromEWKT('SRID=4674;POINT (-38.468231 -3.427769)'))) / (select extract(epoch from '2026-07-18 14:44:45'::timestamp) - extract(epoch from '2026-07-18 14:44:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468265 -3.427845)', '2026-07-18 14:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468231 -3.427769)'), GeomFromEWKT('SRID=4674;POINT (-38.468265 -3.427845)'))) / (select extract(epoch from '2026-07-18 14:44:49'::timestamp) - extract(epoch from '2026-07-18 14:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468231 -3.427769)'), GeomFromEWKT('SRID=4674;POINT (-38.468265 -3.427845)'))) / (select extract(epoch from '2026-07-18 14:44:49'::timestamp) - extract(epoch from '2026-07-18 14:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468295 -3.427913)', '2026-07-18 14:44:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468265 -3.427845)'), GeomFromEWKT('SRID=4674;POINT (-38.468295 -3.427913)'))) / (select extract(epoch from '2026-07-18 14:44:53'::timestamp) - extract(epoch from '2026-07-18 14:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468265 -3.427845)'), GeomFromEWKT('SRID=4674;POINT (-38.468295 -3.427913)'))) / (select extract(epoch from '2026-07-18 14:44:53'::timestamp) - extract(epoch from '2026-07-18 14:44:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468322 -3.42796)', '2026-07-18 14:44:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468295 -3.427913)'), GeomFromEWKT('SRID=4674;POINT (-38.468322 -3.42796)'))) / (select extract(epoch from '2026-07-18 14:44:56'::timestamp) - extract(epoch from '2026-07-18 14:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468295 -3.427913)'), GeomFromEWKT('SRID=4674;POINT (-38.468322 -3.42796)'))) / (select extract(epoch from '2026-07-18 14:44:56'::timestamp) - extract(epoch from '2026-07-18 14:44:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468329 -3.42798)', '2026-07-18 14:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468322 -3.42796)'), GeomFromEWKT('SRID=4674;POINT (-38.468329 -3.42798)'))) / (select extract(epoch from '2026-07-18 14:44:57'::timestamp) - extract(epoch from '2026-07-18 14:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468322 -3.42796)'), GeomFromEWKT('SRID=4674;POINT (-38.468329 -3.42798)'))) / (select extract(epoch from '2026-07-18 14:44:57'::timestamp) - extract(epoch from '2026-07-18 14:44:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468349 -3.428009)', '2026-07-18 14:44:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468329 -3.42798)'), GeomFromEWKT('SRID=4674;POINT (-38.468349 -3.428009)'))) / (select extract(epoch from '2026-07-18 14:44:59'::timestamp) - extract(epoch from '2026-07-18 14:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468329 -3.42798)'), GeomFromEWKT('SRID=4674;POINT (-38.468349 -3.428009)'))) / (select extract(epoch from '2026-07-18 14:44:59'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.468379 -3.428037)', '2026-07-18 14:45:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468349 -3.428009)'), GeomFromEWKT('SRID=4674;POINT (-38.468379 -3.428037)'))) / (select extract(epoch from '2026-07-18 14:45:01'::timestamp) - extract(epoch from '2026-07-18 14:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468349 -3.428009)'), GeomFromEWKT('SRID=4674;POINT (-38.468379 -3.428037)'))) / (select extract(epoch from '2026-07-18 14:45:01'::timestamp) - extract(epoch from '2026-07-18 14:44:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468399 -3.428079)', '2026-07-18 14:45:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468379 -3.428037)'), GeomFromEWKT('SRID=4674;POINT (-38.468399 -3.428079)'))) / (select extract(epoch from '2026-07-18 14:45:04'::timestamp) - extract(epoch from '2026-07-18 14:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468379 -3.428037)'), GeomFromEWKT('SRID=4674;POINT (-38.468399 -3.428079)'))) / (select extract(epoch from '2026-07-18 14:45:04'::timestamp) - extract(epoch from '2026-07-18 14:45:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468443 -3.428143)', '2026-07-18 14:45:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468399 -3.428079)'), GeomFromEWKT('SRID=4674;POINT (-38.468443 -3.428143)'))) / (select extract(epoch from '2026-07-18 14:45:08'::timestamp) - extract(epoch from '2026-07-18 14:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468399 -3.428079)'), GeomFromEWKT('SRID=4674;POINT (-38.468443 -3.428143)'))) / (select extract(epoch from '2026-07-18 14:45:08'::timestamp) - extract(epoch from '2026-07-18 14:45:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468462 -3.428167)', '2026-07-18 14:45:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468443 -3.428143)'), GeomFromEWKT('SRID=4674;POINT (-38.468462 -3.428167)'))) / (select extract(epoch from '2026-07-18 14:45:10'::timestamp) - extract(epoch from '2026-07-18 14:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468443 -3.428143)'), GeomFromEWKT('SRID=4674;POINT (-38.468462 -3.428167)'))) / (select extract(epoch from '2026-07-18 14:45:10'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.468488 -3.428223)', '2026-07-18 14:45:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468462 -3.428167)'), GeomFromEWKT('SRID=4674;POINT (-38.468488 -3.428223)'))) / (select extract(epoch from '2026-07-18 14:45:13'::timestamp) - extract(epoch from '2026-07-18 14:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468462 -3.428167)'), GeomFromEWKT('SRID=4674;POINT (-38.468488 -3.428223)'))) / (select extract(epoch from '2026-07-18 14:45:13'::timestamp) - extract(epoch from '2026-07-18 14:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468527 -3.428314)', '2026-07-18 14:45:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468488 -3.428223)'), GeomFromEWKT('SRID=4674;POINT (-38.468527 -3.428314)'))) / (select extract(epoch from '2026-07-18 14:45:18'::timestamp) - extract(epoch from '2026-07-18 14:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468488 -3.428223)'), GeomFromEWKT('SRID=4674;POINT (-38.468527 -3.428314)'))) / (select extract(epoch from '2026-07-18 14:45:18'::timestamp) - extract(epoch from '2026-07-18 14:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468588 -3.428425)', '2026-07-18 14:45:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468527 -3.428314)'), GeomFromEWKT('SRID=4674;POINT (-38.468588 -3.428425)'))) / (select extract(epoch from '2026-07-18 14:45:25'::timestamp) - extract(epoch from '2026-07-18 14:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468527 -3.428314)'), GeomFromEWKT('SRID=4674;POINT (-38.468588 -3.428425)'))) / (select extract(epoch from '2026-07-18 14:45:25'::timestamp) - extract(epoch from '2026-07-18 14:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468633 -3.428509)', '2026-07-18 14:45:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468588 -3.428425)'), GeomFromEWKT('SRID=4674;POINT (-38.468633 -3.428509)'))) / (select extract(epoch from '2026-07-18 14:45:30'::timestamp) - extract(epoch from '2026-07-18 14:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468588 -3.428425)'), GeomFromEWKT('SRID=4674;POINT (-38.468633 -3.428509)'))) / (select extract(epoch from '2026-07-18 14:45:30'::timestamp) - extract(epoch from '2026-07-18 14:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468638 -3.428524)', '2026-07-18 14:45:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468633 -3.428509)'), GeomFromEWKT('SRID=4674;POINT (-38.468638 -3.428524)'))) / (select extract(epoch from '2026-07-18 14:45:31'::timestamp) - extract(epoch from '2026-07-18 14:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468633 -3.428509)'), GeomFromEWKT('SRID=4674;POINT (-38.468638 -3.428524)'))) / (select extract(epoch from '2026-07-18 14:45:31'::timestamp) - extract(epoch from '2026-07-18 14:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468658 -3.428574)', '2026-07-18 14:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468638 -3.428524)'), GeomFromEWKT('SRID=4674;POINT (-38.468658 -3.428574)'))) / (select extract(epoch from '2026-07-18 14:45:34'::timestamp) - extract(epoch from '2026-07-18 14:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468638 -3.428524)'), GeomFromEWKT('SRID=4674;POINT (-38.468658 -3.428574)'))) / (select extract(epoch from '2026-07-18 14:45:34'::timestamp) - extract(epoch from '2026-07-18 14:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468666 -3.428591)', '2026-07-18 14:45:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468658 -3.428574)'), GeomFromEWKT('SRID=4674;POINT (-38.468666 -3.428591)'))) / (select extract(epoch from '2026-07-18 14:45:35'::timestamp) - extract(epoch from '2026-07-18 14:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468658 -3.428574)'), GeomFromEWKT('SRID=4674;POINT (-38.468666 -3.428591)'))) / (select extract(epoch from '2026-07-18 14:45:35'::timestamp) - extract(epoch from '2026-07-18 14:45:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468692 -3.428637)', '2026-07-18 14:45:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468666 -3.428591)'), GeomFromEWKT('SRID=4674;POINT (-38.468692 -3.428637)'))) / (select extract(epoch from '2026-07-18 14:45:38'::timestamp) - extract(epoch from '2026-07-18 14:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468666 -3.428591)'), GeomFromEWKT('SRID=4674;POINT (-38.468692 -3.428637)'))) / (select extract(epoch from '2026-07-18 14:45:38'::timestamp) - extract(epoch from '2026-07-18 14:45:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468741 -3.428734)', '2026-07-18 14:45:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468692 -3.428637)'), GeomFromEWKT('SRID=4674;POINT (-38.468741 -3.428734)'))) / (select extract(epoch from '2026-07-18 14:45:43'::timestamp) - extract(epoch from '2026-07-18 14:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468692 -3.428637)'), GeomFromEWKT('SRID=4674;POINT (-38.468741 -3.428734)'))) / (select extract(epoch from '2026-07-18 14:45:43'::timestamp) - extract(epoch from '2026-07-18 14:45:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468783 -3.428822)', '2026-07-18 14:45:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468741 -3.428734)'), GeomFromEWKT('SRID=4674;POINT (-38.468783 -3.428822)'))) / (select extract(epoch from '2026-07-18 14:45:48'::timestamp) - extract(epoch from '2026-07-18 14:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468741 -3.428734)'), GeomFromEWKT('SRID=4674;POINT (-38.468783 -3.428822)'))) / (select extract(epoch from '2026-07-18 14:45:48'::timestamp) - extract(epoch from '2026-07-18 14:45:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468823 -3.428904)', '2026-07-18 14:45:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468783 -3.428822)'), GeomFromEWKT('SRID=4674;POINT (-38.468823 -3.428904)'))) / (select extract(epoch from '2026-07-18 14:45:53'::timestamp) - extract(epoch from '2026-07-18 14:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468783 -3.428822)'), GeomFromEWKT('SRID=4674;POINT (-38.468823 -3.428904)'))) / (select extract(epoch from '2026-07-18 14:45:53'::timestamp) - extract(epoch from '2026-07-18 14:45:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468861 -3.429007)', '2026-07-18 14:45:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468823 -3.428904)'), GeomFromEWKT('SRID=4674;POINT (-38.468861 -3.429007)'))) / (select extract(epoch from '2026-07-18 14:45:59'::timestamp) - extract(epoch from '2026-07-18 14:45:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468823 -3.428904)'), GeomFromEWKT('SRID=4674;POINT (-38.468861 -3.429007)'))) / (select extract(epoch from '2026-07-18 14:45:59'::timestamp) - extract(epoch from '2026-07-18 14:45:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468877 -3.429041)', '2026-07-18 14:46:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468861 -3.429007)'), GeomFromEWKT('SRID=4674;POINT (-38.468877 -3.429041)'))) / (select extract(epoch from '2026-07-18 14:46:01'::timestamp) - extract(epoch from '2026-07-18 14:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468861 -3.429007)'), GeomFromEWKT('SRID=4674;POINT (-38.468877 -3.429041)'))) / (select extract(epoch from '2026-07-18 14:46:01'::timestamp) - extract(epoch from '2026-07-18 14:45:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468904 -3.429087)', '2026-07-18 14:46:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468877 -3.429041)'), GeomFromEWKT('SRID=4674;POINT (-38.468904 -3.429087)'))) / (select extract(epoch from '2026-07-18 14:46:04'::timestamp) - extract(epoch from '2026-07-18 14:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468877 -3.429041)'), GeomFromEWKT('SRID=4674;POINT (-38.468904 -3.429087)'))) / (select extract(epoch from '2026-07-18 14:46:04'::timestamp) - extract(epoch from '2026-07-18 14:46:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468955 -3.429178)', '2026-07-18 14:46:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468904 -3.429087)'), GeomFromEWKT('SRID=4674;POINT (-38.468955 -3.429178)'))) / (select extract(epoch from '2026-07-18 14:46:10'::timestamp) - extract(epoch from '2026-07-18 14:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468904 -3.429087)'), GeomFromEWKT('SRID=4674;POINT (-38.468955 -3.429178)'))) / (select extract(epoch from '2026-07-18 14:46:10'::timestamp) - extract(epoch from '2026-07-18 14:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.468995 -3.42928)', '2026-07-18 14:46:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468955 -3.429178)'), GeomFromEWKT('SRID=4674;POINT (-38.468995 -3.42928)'))) / (select extract(epoch from '2026-07-18 14:46:16'::timestamp) - extract(epoch from '2026-07-18 14:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468955 -3.429178)'), GeomFromEWKT('SRID=4674;POINT (-38.468995 -3.42928)'))) / (select extract(epoch from '2026-07-18 14:46:16'::timestamp) - extract(epoch from '2026-07-18 14:46:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46903 -3.429356)', '2026-07-18 14:46:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468995 -3.42928)'), GeomFromEWKT('SRID=4674;POINT (-38.46903 -3.429356)'))) / (select extract(epoch from '2026-07-18 14:46:21'::timestamp) - extract(epoch from '2026-07-18 14:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.468995 -3.42928)'), GeomFromEWKT('SRID=4674;POINT (-38.46903 -3.429356)'))) / (select extract(epoch from '2026-07-18 14:46:21'::timestamp) - extract(epoch from '2026-07-18 14:46:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469065 -3.429424)', '2026-07-18 14:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46903 -3.429356)'), GeomFromEWKT('SRID=4674;POINT (-38.469065 -3.429424)'))) / (select extract(epoch from '2026-07-18 14:46:25'::timestamp) - extract(epoch from '2026-07-18 14:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46903 -3.429356)'), GeomFromEWKT('SRID=4674;POINT (-38.469065 -3.429424)'))) / (select extract(epoch from '2026-07-18 14:46:25'::timestamp) - extract(epoch from '2026-07-18 14:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469079 -3.429439)', '2026-07-18 14:46:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469065 -3.429424)'), GeomFromEWKT('SRID=4674;POINT (-38.469079 -3.429439)'))) / (select extract(epoch from '2026-07-18 14:46:26'::timestamp) - extract(epoch from '2026-07-18 14:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469065 -3.429424)'), GeomFromEWKT('SRID=4674;POINT (-38.469079 -3.429439)'))) / (select extract(epoch from '2026-07-18 14:46:26'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.469108 -3.429491)', '2026-07-18 14:46:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469079 -3.429439)'), GeomFromEWKT('SRID=4674;POINT (-38.469108 -3.429491)'))) / (select extract(epoch from '2026-07-18 14:46:29'::timestamp) - extract(epoch from '2026-07-18 14:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469079 -3.429439)'), GeomFromEWKT('SRID=4674;POINT (-38.469108 -3.429491)'))) / (select extract(epoch from '2026-07-18 14:46:29'::timestamp) - extract(epoch from '2026-07-18 14:46:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469151 -3.429575)', '2026-07-18 14:46:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469108 -3.429491)'), GeomFromEWKT('SRID=4674;POINT (-38.469151 -3.429575)'))) / (select extract(epoch from '2026-07-18 14:46:34'::timestamp) - extract(epoch from '2026-07-18 14:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469108 -3.429491)'), GeomFromEWKT('SRID=4674;POINT (-38.469151 -3.429575)'))) / (select extract(epoch from '2026-07-18 14:46:34'::timestamp) - extract(epoch from '2026-07-18 14:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469187 -3.429645)', '2026-07-18 14:46:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469151 -3.429575)'), GeomFromEWKT('SRID=4674;POINT (-38.469187 -3.429645)'))) / (select extract(epoch from '2026-07-18 14:46:38'::timestamp) - extract(epoch from '2026-07-18 14:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469151 -3.429575)'), GeomFromEWKT('SRID=4674;POINT (-38.469187 -3.429645)'))) / (select extract(epoch from '2026-07-18 14:46:38'::timestamp) - extract(epoch from '2026-07-18 14:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46922 -3.42971)', '2026-07-18 14:46:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469187 -3.429645)'), GeomFromEWKT('SRID=4674;POINT (-38.46922 -3.42971)'))) / (select extract(epoch from '2026-07-18 14:46:43'::timestamp) - extract(epoch from '2026-07-18 14:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469187 -3.429645)'), GeomFromEWKT('SRID=4674;POINT (-38.46922 -3.42971)'))) / (select extract(epoch from '2026-07-18 14:46:43'::timestamp) - extract(epoch from '2026-07-18 14:46:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469258 -3.429779)', '2026-07-18 14:46:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46922 -3.42971)'), GeomFromEWKT('SRID=4674;POINT (-38.469258 -3.429779)'))) / (select extract(epoch from '2026-07-18 14:46:48'::timestamp) - extract(epoch from '2026-07-18 14:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46922 -3.42971)'), GeomFromEWKT('SRID=4674;POINT (-38.469258 -3.429779)'))) / (select extract(epoch from '2026-07-18 14:46:48'::timestamp) - extract(epoch from '2026-07-18 14:46:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469299 -3.429874)', '2026-07-18 14:46:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469258 -3.429779)'), GeomFromEWKT('SRID=4674;POINT (-38.469299 -3.429874)'))) / (select extract(epoch from '2026-07-18 14:46:54'::timestamp) - extract(epoch from '2026-07-18 14:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469258 -3.429779)'), GeomFromEWKT('SRID=4674;POINT (-38.469299 -3.429874)'))) / (select extract(epoch from '2026-07-18 14:46:54'::timestamp) - extract(epoch from '2026-07-18 14:46:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469348 -3.42998)', '2026-07-18 14:47:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469299 -3.429874)'), GeomFromEWKT('SRID=4674;POINT (-38.469348 -3.42998)'))) / (select extract(epoch from '2026-07-18 14:47:00'::timestamp) - extract(epoch from '2026-07-18 14:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469299 -3.429874)'), GeomFromEWKT('SRID=4674;POINT (-38.469348 -3.42998)'))) / (select extract(epoch from '2026-07-18 14:47:00'::timestamp) - extract(epoch from '2026-07-18 14:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469399 -3.430072)', '2026-07-18 14:47:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469348 -3.42998)'), GeomFromEWKT('SRID=4674;POINT (-38.469399 -3.430072)'))) / (select extract(epoch from '2026-07-18 14:47:06'::timestamp) - extract(epoch from '2026-07-18 14:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469348 -3.42998)'), GeomFromEWKT('SRID=4674;POINT (-38.469399 -3.430072)'))) / (select extract(epoch from '2026-07-18 14:47:06'::timestamp) - extract(epoch from '2026-07-18 14:47:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469422 -3.430116)', '2026-07-18 14:47:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469399 -3.430072)'), GeomFromEWKT('SRID=4674;POINT (-38.469422 -3.430116)'))) / (select extract(epoch from '2026-07-18 14:47:09'::timestamp) - extract(epoch from '2026-07-18 14:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469399 -3.430072)'), GeomFromEWKT('SRID=4674;POINT (-38.469422 -3.430116)'))) / (select extract(epoch from '2026-07-18 14:47:09'::timestamp) - extract(epoch from '2026-07-18 14:47:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469435 -3.430128)', '2026-07-18 14:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469422 -3.430116)'), GeomFromEWKT('SRID=4674;POINT (-38.469435 -3.430128)'))) / (select extract(epoch from '2026-07-18 14:47:10'::timestamp) - extract(epoch from '2026-07-18 14:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469422 -3.430116)'), GeomFromEWKT('SRID=4674;POINT (-38.469435 -3.430128)'))) / (select extract(epoch from '2026-07-18 14:47:10'::timestamp) - extract(epoch from '2026-07-18 14:47:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469469 -3.430175)', '2026-07-18 14:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469435 -3.430128)'), GeomFromEWKT('SRID=4674;POINT (-38.469469 -3.430175)'))) / (select extract(epoch from '2026-07-18 14:47:13'::timestamp) - extract(epoch from '2026-07-18 14:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469435 -3.430128)'), GeomFromEWKT('SRID=4674;POINT (-38.469469 -3.430175)'))) / (select extract(epoch from '2026-07-18 14:47:13'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.469484 -3.430198)', '2026-07-18 14:47:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469469 -3.430175)'), GeomFromEWKT('SRID=4674;POINT (-38.469484 -3.430198)'))) / (select extract(epoch from '2026-07-18 14:47:15'::timestamp) - extract(epoch from '2026-07-18 14:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469469 -3.430175)'), GeomFromEWKT('SRID=4674;POINT (-38.469484 -3.430198)'))) / (select extract(epoch from '2026-07-18 14:47:15'::timestamp) - extract(epoch from '2026-07-18 14:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46954 -3.430287)', '2026-07-18 14:47:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469484 -3.430198)'), GeomFromEWKT('SRID=4674;POINT (-38.46954 -3.430287)'))) / (select extract(epoch from '2026-07-18 14:47:21'::timestamp) - extract(epoch from '2026-07-18 14:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469484 -3.430198)'), GeomFromEWKT('SRID=4674;POINT (-38.46954 -3.430287)'))) / (select extract(epoch from '2026-07-18 14:47:21'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.469589 -3.430345)', '2026-07-18 14:47:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46954 -3.430287)'), GeomFromEWKT('SRID=4674;POINT (-38.469589 -3.430345)'))) / (select extract(epoch from '2026-07-18 14:47:26'::timestamp) - extract(epoch from '2026-07-18 14:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46954 -3.430287)'), GeomFromEWKT('SRID=4674;POINT (-38.469589 -3.430345)'))) / (select extract(epoch from '2026-07-18 14:47:26'::timestamp) - extract(epoch from '2026-07-18 14:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469602 -3.430358)', '2026-07-18 14:47:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469589 -3.430345)'), GeomFromEWKT('SRID=4674;POINT (-38.469602 -3.430358)'))) / (select extract(epoch from '2026-07-18 14:47:27'::timestamp) - extract(epoch from '2026-07-18 14:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469589 -3.430345)'), GeomFromEWKT('SRID=4674;POINT (-38.469602 -3.430358)'))) / (select extract(epoch from '2026-07-18 14:47:27'::timestamp) - extract(epoch from '2026-07-18 14:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469637 -3.430409)', '2026-07-18 14:47:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469602 -3.430358)'), GeomFromEWKT('SRID=4674;POINT (-38.469637 -3.430409)'))) / (select extract(epoch from '2026-07-18 14:47:30'::timestamp) - extract(epoch from '2026-07-18 14:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469602 -3.430358)'), GeomFromEWKT('SRID=4674;POINT (-38.469637 -3.430409)'))) / (select extract(epoch from '2026-07-18 14:47:30'::timestamp) - extract(epoch from '2026-07-18 14:47:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469655 -3.430436)', '2026-07-18 14:47:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469637 -3.430409)'), GeomFromEWKT('SRID=4674;POINT (-38.469655 -3.430436)'))) / (select extract(epoch from '2026-07-18 14:47:32'::timestamp) - extract(epoch from '2026-07-18 14:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469637 -3.430409)'), GeomFromEWKT('SRID=4674;POINT (-38.469655 -3.430436)'))) / (select extract(epoch from '2026-07-18 14:47:32'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.469674 -3.430463)', '2026-07-18 14:47:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469655 -3.430436)'), GeomFromEWKT('SRID=4674;POINT (-38.469674 -3.430463)'))) / (select extract(epoch from '2026-07-18 14:47:34'::timestamp) - extract(epoch from '2026-07-18 14:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469655 -3.430436)'), GeomFromEWKT('SRID=4674;POINT (-38.469674 -3.430463)'))) / (select extract(epoch from '2026-07-18 14:47:34'::timestamp) - extract(epoch from '2026-07-18 14:47:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469701 -3.430511)', '2026-07-18 14:47:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469674 -3.430463)'), GeomFromEWKT('SRID=4674;POINT (-38.469701 -3.430511)'))) / (select extract(epoch from '2026-07-18 14:47:37'::timestamp) - extract(epoch from '2026-07-18 14:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469674 -3.430463)'), GeomFromEWKT('SRID=4674;POINT (-38.469701 -3.430511)'))) / (select extract(epoch from '2026-07-18 14:47:37'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.469707 -3.430531)', '2026-07-18 14:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469701 -3.430511)'), GeomFromEWKT('SRID=4674;POINT (-38.469707 -3.430531)'))) / (select extract(epoch from '2026-07-18 14:47:38'::timestamp) - extract(epoch from '2026-07-18 14:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469701 -3.430511)'), GeomFromEWKT('SRID=4674;POINT (-38.469707 -3.430531)'))) / (select extract(epoch from '2026-07-18 14:47:38'::timestamp) - extract(epoch from '2026-07-18 14:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469772 -3.430662)', '2026-07-18 14:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469707 -3.430531)'), GeomFromEWKT('SRID=4674;POINT (-38.469772 -3.430662)'))) / (select extract(epoch from '2026-07-18 14:47:46'::timestamp) - extract(epoch from '2026-07-18 14:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469707 -3.430531)'), GeomFromEWKT('SRID=4674;POINT (-38.469772 -3.430662)'))) / (select extract(epoch from '2026-07-18 14:47:46'::timestamp) - extract(epoch from '2026-07-18 14:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.46983 -3.430775)', '2026-07-18 14:47:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469772 -3.430662)'), GeomFromEWKT('SRID=4674;POINT (-38.46983 -3.430775)'))) / (select extract(epoch from '2026-07-18 14:47:52'::timestamp) - extract(epoch from '2026-07-18 14:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469772 -3.430662)'), GeomFromEWKT('SRID=4674;POINT (-38.46983 -3.430775)'))) / (select extract(epoch from '2026-07-18 14:47:52'::timestamp) - extract(epoch from '2026-07-18 14:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469873 -3.430885)', '2026-07-18 14:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46983 -3.430775)'), GeomFromEWKT('SRID=4674;POINT (-38.469873 -3.430885)'))) / (select extract(epoch from '2026-07-18 14:47:58'::timestamp) - extract(epoch from '2026-07-18 14:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.46983 -3.430775)'), GeomFromEWKT('SRID=4674;POINT (-38.469873 -3.430885)'))) / (select extract(epoch from '2026-07-18 14:47:58'::timestamp) - extract(epoch from '2026-07-18 14:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469914 -3.430964)', '2026-07-18 14:48:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469873 -3.430885)'), GeomFromEWKT('SRID=4674;POINT (-38.469914 -3.430964)'))) / (select extract(epoch from '2026-07-18 14:48:03'::timestamp) - extract(epoch from '2026-07-18 14:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469873 -3.430885)'), GeomFromEWKT('SRID=4674;POINT (-38.469914 -3.430964)'))) / (select extract(epoch from '2026-07-18 14:48:03'::timestamp) - extract(epoch from '2026-07-18 14:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.469963 -3.431073)', '2026-07-18 14:48:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469914 -3.430964)'), GeomFromEWKT('SRID=4674;POINT (-38.469963 -3.431073)'))) / (select extract(epoch from '2026-07-18 14:48:09'::timestamp) - extract(epoch from '2026-07-18 14:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469914 -3.430964)'), GeomFromEWKT('SRID=4674;POINT (-38.469963 -3.431073)'))) / (select extract(epoch from '2026-07-18 14:48:09'::timestamp) - extract(epoch from '2026-07-18 14:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470017 -3.43119)', '2026-07-18 14:48:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469963 -3.431073)'), GeomFromEWKT('SRID=4674;POINT (-38.470017 -3.43119)'))) / (select extract(epoch from '2026-07-18 14:48:16'::timestamp) - extract(epoch from '2026-07-18 14:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.469963 -3.431073)'), GeomFromEWKT('SRID=4674;POINT (-38.470017 -3.43119)'))) / (select extract(epoch from '2026-07-18 14:48:16'::timestamp) - extract(epoch from '2026-07-18 14:48:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470053 -3.431268)', '2026-07-18 14:48:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470017 -3.43119)'), GeomFromEWKT('SRID=4674;POINT (-38.470053 -3.431268)'))) / (select extract(epoch from '2026-07-18 14:48:21'::timestamp) - extract(epoch from '2026-07-18 14:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470017 -3.43119)'), GeomFromEWKT('SRID=4674;POINT (-38.470053 -3.431268)'))) / (select extract(epoch from '2026-07-18 14:48:21'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.470112 -3.431378)', '2026-07-18 14:48:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470053 -3.431268)'), GeomFromEWKT('SRID=4674;POINT (-38.470112 -3.431378)'))) / (select extract(epoch from '2026-07-18 14:48:28'::timestamp) - extract(epoch from '2026-07-18 14:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470053 -3.431268)'), GeomFromEWKT('SRID=4674;POINT (-38.470112 -3.431378)'))) / (select extract(epoch from '2026-07-18 14:48:28'::timestamp) - extract(epoch from '2026-07-18 14:48:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470121 -3.431391)', '2026-07-18 14:48:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470112 -3.431378)'), GeomFromEWKT('SRID=4674;POINT (-38.470121 -3.431391)'))) / (select extract(epoch from '2026-07-18 14:48:29'::timestamp) - extract(epoch from '2026-07-18 14:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470112 -3.431378)'), GeomFromEWKT('SRID=4674;POINT (-38.470121 -3.431391)'))) / (select extract(epoch from '2026-07-18 14:48:29'::timestamp) - extract(epoch from '2026-07-18 14:48:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470156 -3.431435)', '2026-07-18 14:48:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470121 -3.431391)'), GeomFromEWKT('SRID=4674;POINT (-38.470156 -3.431435)'))) / (select extract(epoch from '2026-07-18 14:48:32'::timestamp) - extract(epoch from '2026-07-18 14:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470121 -3.431391)'), GeomFromEWKT('SRID=4674;POINT (-38.470156 -3.431435)'))) / (select extract(epoch from '2026-07-18 14:48:32'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.470222 -3.431542)', '2026-07-18 14:48:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470156 -3.431435)'), GeomFromEWKT('SRID=4674;POINT (-38.470222 -3.431542)'))) / (select extract(epoch from '2026-07-18 14:48:38'::timestamp) - extract(epoch from '2026-07-18 14:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470156 -3.431435)'), GeomFromEWKT('SRID=4674;POINT (-38.470222 -3.431542)'))) / (select extract(epoch from '2026-07-18 14:48:38'::timestamp) - extract(epoch from '2026-07-18 14:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47026 -3.431615)', '2026-07-18 14:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470222 -3.431542)'), GeomFromEWKT('SRID=4674;POINT (-38.47026 -3.431615)'))) / (select extract(epoch from '2026-07-18 14:48:42'::timestamp) - extract(epoch from '2026-07-18 14:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470222 -3.431542)'), GeomFromEWKT('SRID=4674;POINT (-38.47026 -3.431615)'))) / (select extract(epoch from '2026-07-18 14:48:42'::timestamp) - extract(epoch from '2026-07-18 14:48:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470279 -3.431674)', '2026-07-18 14:48:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47026 -3.431615)'), GeomFromEWKT('SRID=4674;POINT (-38.470279 -3.431674)'))) / (select extract(epoch from '2026-07-18 14:48:46'::timestamp) - extract(epoch from '2026-07-18 14:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47026 -3.431615)'), GeomFromEWKT('SRID=4674;POINT (-38.470279 -3.431674)'))) / (select extract(epoch from '2026-07-18 14:48:46'::timestamp) - extract(epoch from '2026-07-18 14:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470311 -3.431759)', '2026-07-18 14:48:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470279 -3.431674)'), GeomFromEWKT('SRID=4674;POINT (-38.470311 -3.431759)'))) / (select extract(epoch from '2026-07-18 14:48:52'::timestamp) - extract(epoch from '2026-07-18 14:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470279 -3.431674)'), GeomFromEWKT('SRID=4674;POINT (-38.470311 -3.431759)'))) / (select extract(epoch from '2026-07-18 14:48:52'::timestamp) - extract(epoch from '2026-07-18 14:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470357 -3.431817)', '2026-07-18 14:48:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470311 -3.431759)'), GeomFromEWKT('SRID=4674;POINT (-38.470357 -3.431817)'))) / (select extract(epoch from '2026-07-18 14:48:56'::timestamp) - extract(epoch from '2026-07-18 14:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470311 -3.431759)'), GeomFromEWKT('SRID=4674;POINT (-38.470357 -3.431817)'))) / (select extract(epoch from '2026-07-18 14:48:56'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.4704 -3.431873)', '2026-07-18 14:48:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470357 -3.431817)'), GeomFromEWKT('SRID=4674;POINT (-38.4704 -3.431873)'))) / (select extract(epoch from '2026-07-18 14:48:59'::timestamp) - extract(epoch from '2026-07-18 14:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470357 -3.431817)'), GeomFromEWKT('SRID=4674;POINT (-38.4704 -3.431873)'))) / (select extract(epoch from '2026-07-18 14:48:59'::timestamp) - extract(epoch from '2026-07-18 14:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470466 -3.43196)', '2026-07-18 14:49:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4704 -3.431873)'), GeomFromEWKT('SRID=4674;POINT (-38.470466 -3.43196)'))) / (select extract(epoch from '2026-07-18 14:49:05'::timestamp) - extract(epoch from '2026-07-18 14:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4704 -3.431873)'), GeomFromEWKT('SRID=4674;POINT (-38.470466 -3.43196)'))) / (select extract(epoch from '2026-07-18 14:49:05'::timestamp) - extract(epoch from '2026-07-18 14:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470504 -3.432016)', '2026-07-18 14:49:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470466 -3.43196)'), GeomFromEWKT('SRID=4674;POINT (-38.470504 -3.432016)'))) / (select extract(epoch from '2026-07-18 14:49:08'::timestamp) - extract(epoch from '2026-07-18 14:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470466 -3.43196)'), GeomFromEWKT('SRID=4674;POINT (-38.470504 -3.432016)'))) / (select extract(epoch from '2026-07-18 14:49:08'::timestamp) - extract(epoch from '2026-07-18 14:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47054 -3.432087)', '2026-07-18 14:49:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470504 -3.432016)'), GeomFromEWKT('SRID=4674;POINT (-38.47054 -3.432087)'))) / (select extract(epoch from '2026-07-18 14:49:13'::timestamp) - extract(epoch from '2026-07-18 14:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470504 -3.432016)'), GeomFromEWKT('SRID=4674;POINT (-38.47054 -3.432087)'))) / (select extract(epoch from '2026-07-18 14:49:13'::timestamp) - extract(epoch from '2026-07-18 14:49:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470594 -3.432183)', '2026-07-18 14:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47054 -3.432087)'), GeomFromEWKT('SRID=4674;POINT (-38.470594 -3.432183)'))) / (select extract(epoch from '2026-07-18 14:49:19'::timestamp) - extract(epoch from '2026-07-18 14:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47054 -3.432087)'), GeomFromEWKT('SRID=4674;POINT (-38.470594 -3.432183)'))) / (select extract(epoch from '2026-07-18 14:49:19'::timestamp) - extract(epoch from '2026-07-18 14:49:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470644 -3.432268)', '2026-07-18 14:49:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470594 -3.432183)'), GeomFromEWKT('SRID=4674;POINT (-38.470644 -3.432268)'))) / (select extract(epoch from '2026-07-18 14:49:25'::timestamp) - extract(epoch from '2026-07-18 14:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470594 -3.432183)'), GeomFromEWKT('SRID=4674;POINT (-38.470644 -3.432268)'))) / (select extract(epoch from '2026-07-18 14:49:25'::timestamp) - extract(epoch from '2026-07-18 14:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470658 -3.432295)', '2026-07-18 14:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470644 -3.432268)'), GeomFromEWKT('SRID=4674;POINT (-38.470658 -3.432295)'))) / (select extract(epoch from '2026-07-18 14:49:27'::timestamp) - extract(epoch from '2026-07-18 14:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470644 -3.432268)'), GeomFromEWKT('SRID=4674;POINT (-38.470658 -3.432295)'))) / (select extract(epoch from '2026-07-18 14:49:27'::timestamp) - extract(epoch from '2026-07-18 14:49:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470678 -3.432321)', '2026-07-18 14:49:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470658 -3.432295)'), GeomFromEWKT('SRID=4674;POINT (-38.470678 -3.432321)'))) / (select extract(epoch from '2026-07-18 14:49:29'::timestamp) - extract(epoch from '2026-07-18 14:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470658 -3.432295)'), GeomFromEWKT('SRID=4674;POINT (-38.470678 -3.432321)'))) / (select extract(epoch from '2026-07-18 14:49:29'::timestamp) - extract(epoch from '2026-07-18 14:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470717 -3.432395)', '2026-07-18 14:49:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470678 -3.432321)'), GeomFromEWKT('SRID=4674;POINT (-38.470717 -3.432395)'))) / (select extract(epoch from '2026-07-18 14:49:34'::timestamp) - extract(epoch from '2026-07-18 14:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470678 -3.432321)'), GeomFromEWKT('SRID=4674;POINT (-38.470717 -3.432395)'))) / (select extract(epoch from '2026-07-18 14:49:34'::timestamp) - extract(epoch from '2026-07-18 14:49:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470734 -3.432412)', '2026-07-18 14:49:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470717 -3.432395)'), GeomFromEWKT('SRID=4674;POINT (-38.470734 -3.432412)'))) / (select extract(epoch from '2026-07-18 14:49:35'::timestamp) - extract(epoch from '2026-07-18 14:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470717 -3.432395)'), GeomFromEWKT('SRID=4674;POINT (-38.470734 -3.432412)'))) / (select extract(epoch from '2026-07-18 14:49:35'::timestamp) - extract(epoch from '2026-07-18 14:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470792 -3.432484)', '2026-07-18 14:49:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470734 -3.432412)'), GeomFromEWKT('SRID=4674;POINT (-38.470792 -3.432484)'))) / (select extract(epoch from '2026-07-18 14:49:40'::timestamp) - extract(epoch from '2026-07-18 14:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470734 -3.432412)'), GeomFromEWKT('SRID=4674;POINT (-38.470792 -3.432484)'))) / (select extract(epoch from '2026-07-18 14:49:40'::timestamp) - extract(epoch from '2026-07-18 14:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470828 -3.43251)', '2026-07-18 14:49:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470792 -3.432484)'), GeomFromEWKT('SRID=4674;POINT (-38.470828 -3.43251)'))) / (select extract(epoch from '2026-07-18 14:49:42'::timestamp) - extract(epoch from '2026-07-18 14:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470792 -3.432484)'), GeomFromEWKT('SRID=4674;POINT (-38.470828 -3.43251)'))) / (select extract(epoch from '2026-07-18 14:49:42'::timestamp) - extract(epoch from '2026-07-18 14:49:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470844 -3.432547)', '2026-07-18 14:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470828 -3.43251)'), GeomFromEWKT('SRID=4674;POINT (-38.470844 -3.432547)'))) / (select extract(epoch from '2026-07-18 14:49:44'::timestamp) - extract(epoch from '2026-07-18 14:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470828 -3.43251)'), GeomFromEWKT('SRID=4674;POINT (-38.470844 -3.432547)'))) / (select extract(epoch from '2026-07-18 14:49:44'::timestamp) - extract(epoch from '2026-07-18 14:49:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470902 -3.43265)', '2026-07-18 14:49:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470844 -3.432547)'), GeomFromEWKT('SRID=4674;POINT (-38.470902 -3.43265)'))) / (select extract(epoch from '2026-07-18 14:49:51'::timestamp) - extract(epoch from '2026-07-18 14:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470844 -3.432547)'), GeomFromEWKT('SRID=4674;POINT (-38.470902 -3.43265)'))) / (select extract(epoch from '2026-07-18 14:49:51'::timestamp) - extract(epoch from '2026-07-18 14:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470951 -3.432744)', '2026-07-18 14:49:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470902 -3.43265)'), GeomFromEWKT('SRID=4674;POINT (-38.470951 -3.432744)'))) / (select extract(epoch from '2026-07-18 14:49:57'::timestamp) - extract(epoch from '2026-07-18 14:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470902 -3.43265)'), GeomFromEWKT('SRID=4674;POINT (-38.470951 -3.432744)'))) / (select extract(epoch from '2026-07-18 14:49:57'::timestamp) - extract(epoch from '2026-07-18 14:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470969 -3.43278)', '2026-07-18 14:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470951 -3.432744)'), GeomFromEWKT('SRID=4674;POINT (-38.470969 -3.43278)'))) / (select extract(epoch from '2026-07-18 14:49:59'::timestamp) - extract(epoch from '2026-07-18 14:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470951 -3.432744)'), GeomFromEWKT('SRID=4674;POINT (-38.470969 -3.43278)'))) / (select extract(epoch from '2026-07-18 14:49:59'::timestamp) - extract(epoch from '2026-07-18 14:49:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.470993 -3.43283)', '2026-07-18 14:50:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470969 -3.43278)'), GeomFromEWKT('SRID=4674;POINT (-38.470993 -3.43283)'))) / (select extract(epoch from '2026-07-18 14:50:02'::timestamp) - extract(epoch from '2026-07-18 14:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470969 -3.43278)'), GeomFromEWKT('SRID=4674;POINT (-38.470993 -3.43283)'))) / (select extract(epoch from '2026-07-18 14:50:02'::timestamp) - extract(epoch from '2026-07-18 14:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471025 -3.432916)', '2026-07-18 14:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470993 -3.43283)'), GeomFromEWKT('SRID=4674;POINT (-38.471025 -3.432916)'))) / (select extract(epoch from '2026-07-18 14:50:07'::timestamp) - extract(epoch from '2026-07-18 14:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.470993 -3.43283)'), GeomFromEWKT('SRID=4674;POINT (-38.471025 -3.432916)'))) / (select extract(epoch from '2026-07-18 14:50:07'::timestamp) - extract(epoch from '2026-07-18 14:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471034 -3.432931)', '2026-07-18 14:50:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471025 -3.432916)'), GeomFromEWKT('SRID=4674;POINT (-38.471034 -3.432931)'))) / (select extract(epoch from '2026-07-18 14:50:08'::timestamp) - extract(epoch from '2026-07-18 14:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471025 -3.432916)'), GeomFromEWKT('SRID=4674;POINT (-38.471034 -3.432931)'))) / (select extract(epoch from '2026-07-18 14:50:08'::timestamp) - extract(epoch from '2026-07-18 14:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471062 -3.43303)', '2026-07-18 14:50:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471034 -3.432931)'), GeomFromEWKT('SRID=4674;POINT (-38.471062 -3.43303)'))) / (select extract(epoch from '2026-07-18 14:50:13'::timestamp) - extract(epoch from '2026-07-18 14:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471034 -3.432931)'), GeomFromEWKT('SRID=4674;POINT (-38.471062 -3.43303)'))) / (select extract(epoch from '2026-07-18 14:50:13'::timestamp) - extract(epoch from '2026-07-18 14:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4711 -3.433117)', '2026-07-18 14:50:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471062 -3.43303)'), GeomFromEWKT('SRID=4674;POINT (-38.4711 -3.433117)'))) / (select extract(epoch from '2026-07-18 14:50:18'::timestamp) - extract(epoch from '2026-07-18 14:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471062 -3.43303)'), GeomFromEWKT('SRID=4674;POINT (-38.4711 -3.433117)'))) / (select extract(epoch from '2026-07-18 14:50:18'::timestamp) - extract(epoch from '2026-07-18 14:50:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471135 -3.433192)', '2026-07-18 14:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4711 -3.433117)'), GeomFromEWKT('SRID=4674;POINT (-38.471135 -3.433192)'))) / (select extract(epoch from '2026-07-18 14:50:23'::timestamp) - extract(epoch from '2026-07-18 14:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4711 -3.433117)'), GeomFromEWKT('SRID=4674;POINT (-38.471135 -3.433192)'))) / (select extract(epoch from '2026-07-18 14:50:23'::timestamp) - extract(epoch from '2026-07-18 14:50:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471182 -3.43327)', '2026-07-18 14:50:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471135 -3.433192)'), GeomFromEWKT('SRID=4674;POINT (-38.471182 -3.43327)'))) / (select extract(epoch from '2026-07-18 14:50:28'::timestamp) - extract(epoch from '2026-07-18 14:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471135 -3.433192)'), GeomFromEWKT('SRID=4674;POINT (-38.471182 -3.43327)'))) / (select extract(epoch from '2026-07-18 14:50:28'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.471239 -3.433393)', '2026-07-18 14:50:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471182 -3.43327)'), GeomFromEWKT('SRID=4674;POINT (-38.471239 -3.433393)'))) / (select extract(epoch from '2026-07-18 14:50:35'::timestamp) - extract(epoch from '2026-07-18 14:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471182 -3.43327)'), GeomFromEWKT('SRID=4674;POINT (-38.471239 -3.433393)'))) / (select extract(epoch from '2026-07-18 14:50:35'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.471275 -3.433459)', '2026-07-18 14:50:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471239 -3.433393)'), GeomFromEWKT('SRID=4674;POINT (-38.471275 -3.433459)'))) / (select extract(epoch from '2026-07-18 14:50:39'::timestamp) - extract(epoch from '2026-07-18 14:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471239 -3.433393)'), GeomFromEWKT('SRID=4674;POINT (-38.471275 -3.433459)'))) / (select extract(epoch from '2026-07-18 14:50:39'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.471316 -3.433541)', '2026-07-18 14:50:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471275 -3.433459)'), GeomFromEWKT('SRID=4674;POINT (-38.471316 -3.433541)'))) / (select extract(epoch from '2026-07-18 14:50:44'::timestamp) - extract(epoch from '2026-07-18 14:50:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471275 -3.433459)'), GeomFromEWKT('SRID=4674;POINT (-38.471316 -3.433541)'))) / (select extract(epoch from '2026-07-18 14:50:44'::timestamp) - extract(epoch from '2026-07-18 14:50:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471359 -3.433636)', '2026-07-18 14:50:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471316 -3.433541)'), GeomFromEWKT('SRID=4674;POINT (-38.471359 -3.433636)'))) / (select extract(epoch from '2026-07-18 14:50:50'::timestamp) - extract(epoch from '2026-07-18 14:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471316 -3.433541)'), GeomFromEWKT('SRID=4674;POINT (-38.471359 -3.433636)'))) / (select extract(epoch from '2026-07-18 14:50:50'::timestamp) - extract(epoch from '2026-07-18 14:50:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471391 -3.433725)', '2026-07-18 14:50:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471359 -3.433636)'), GeomFromEWKT('SRID=4674;POINT (-38.471391 -3.433725)'))) / (select extract(epoch from '2026-07-18 14:50:55'::timestamp) - extract(epoch from '2026-07-18 14:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471359 -3.433636)'), GeomFromEWKT('SRID=4674;POINT (-38.471391 -3.433725)'))) / (select extract(epoch from '2026-07-18 14:50:55'::timestamp) - extract(epoch from '2026-07-18 14:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471442 -3.433819)', '2026-07-18 14:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471391 -3.433725)'), GeomFromEWKT('SRID=4674;POINT (-38.471442 -3.433819)'))) / (select extract(epoch from '2026-07-18 14:51:01'::timestamp) - extract(epoch from '2026-07-18 14:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471391 -3.433725)'), GeomFromEWKT('SRID=4674;POINT (-38.471442 -3.433819)'))) / (select extract(epoch from '2026-07-18 14:51:01'::timestamp) - extract(epoch from '2026-07-18 14:50:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471493 -3.433893)', '2026-07-18 14:51:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471442 -3.433819)'), GeomFromEWKT('SRID=4674;POINT (-38.471493 -3.433893)'))) / (select extract(epoch from '2026-07-18 14:51:06'::timestamp) - extract(epoch from '2026-07-18 14:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471442 -3.433819)'), GeomFromEWKT('SRID=4674;POINT (-38.471493 -3.433893)'))) / (select extract(epoch from '2026-07-18 14:51:06'::timestamp) - extract(epoch from '2026-07-18 14:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471558 -3.433983)', '2026-07-18 14:51:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471493 -3.433893)'), GeomFromEWKT('SRID=4674;POINT (-38.471558 -3.433983)'))) / (select extract(epoch from '2026-07-18 14:51:12'::timestamp) - extract(epoch from '2026-07-18 14:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471493 -3.433893)'), GeomFromEWKT('SRID=4674;POINT (-38.471558 -3.433983)'))) / (select extract(epoch from '2026-07-18 14:51:12'::timestamp) - extract(epoch from '2026-07-18 14:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471657 -3.434147)', '2026-07-18 14:51:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471558 -3.433983)'), GeomFromEWKT('SRID=4674;POINT (-38.471657 -3.434147)'))) / (select extract(epoch from '2026-07-18 14:51:21'::timestamp) - extract(epoch from '2026-07-18 14:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471558 -3.433983)'), GeomFromEWKT('SRID=4674;POINT (-38.471657 -3.434147)'))) / (select extract(epoch from '2026-07-18 14:51:21'::timestamp) - extract(epoch from '2026-07-18 14:51:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47171 -3.434248)', '2026-07-18 14:51:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471657 -3.434147)'), GeomFromEWKT('SRID=4674;POINT (-38.47171 -3.434248)'))) / (select extract(epoch from '2026-07-18 14:51:27'::timestamp) - extract(epoch from '2026-07-18 14:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471657 -3.434147)'), GeomFromEWKT('SRID=4674;POINT (-38.47171 -3.434248)'))) / (select extract(epoch from '2026-07-18 14:51:27'::timestamp) - extract(epoch from '2026-07-18 14:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471763 -3.434362)', '2026-07-18 14:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47171 -3.434248)'), GeomFromEWKT('SRID=4674;POINT (-38.471763 -3.434362)'))) / (select extract(epoch from '2026-07-18 14:51:34'::timestamp) - extract(epoch from '2026-07-18 14:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47171 -3.434248)'), GeomFromEWKT('SRID=4674;POINT (-38.471763 -3.434362)'))) / (select extract(epoch from '2026-07-18 14:51:34'::timestamp) - extract(epoch from '2026-07-18 14:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471798 -3.434434)', '2026-07-18 14:51:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471763 -3.434362)'), GeomFromEWKT('SRID=4674;POINT (-38.471798 -3.434434)'))) / (select extract(epoch from '2026-07-18 14:51:39'::timestamp) - extract(epoch from '2026-07-18 14:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471763 -3.434362)'), GeomFromEWKT('SRID=4674;POINT (-38.471798 -3.434434)'))) / (select extract(epoch from '2026-07-18 14:51:39'::timestamp) - extract(epoch from '2026-07-18 14:51:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471852 -3.434513)', '2026-07-18 14:51:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471798 -3.434434)'), GeomFromEWKT('SRID=4674;POINT (-38.471852 -3.434513)'))) / (select extract(epoch from '2026-07-18 14:51:43'::timestamp) - extract(epoch from '2026-07-18 14:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471798 -3.434434)'), GeomFromEWKT('SRID=4674;POINT (-38.471852 -3.434513)'))) / (select extract(epoch from '2026-07-18 14:51:43'::timestamp) - extract(epoch from '2026-07-18 14:51:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.471907 -3.434576)', '2026-07-18 14:51:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471852 -3.434513)'), GeomFromEWKT('SRID=4674;POINT (-38.471907 -3.434576)'))) / (select extract(epoch from '2026-07-18 14:51:48'::timestamp) - extract(epoch from '2026-07-18 14:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471852 -3.434513)'), GeomFromEWKT('SRID=4674;POINT (-38.471907 -3.434576)'))) / (select extract(epoch from '2026-07-18 14:51:48'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.471952 -3.434662)', '2026-07-18 14:51:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471907 -3.434576)'), GeomFromEWKT('SRID=4674;POINT (-38.471952 -3.434662)'))) / (select extract(epoch from '2026-07-18 14:51:53'::timestamp) - extract(epoch from '2026-07-18 14:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471907 -3.434576)'), GeomFromEWKT('SRID=4674;POINT (-38.471952 -3.434662)'))) / (select extract(epoch from '2026-07-18 14:51:53'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.472007 -3.434759)', '2026-07-18 14:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471952 -3.434662)'), GeomFromEWKT('SRID=4674;POINT (-38.472007 -3.434759)'))) / (select extract(epoch from '2026-07-18 14:51:58'::timestamp) - extract(epoch from '2026-07-18 14:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.471952 -3.434662)'), GeomFromEWKT('SRID=4674;POINT (-38.472007 -3.434759)'))) / (select extract(epoch from '2026-07-18 14:51:58'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.472045 -3.434839)', '2026-07-18 14:52:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472007 -3.434759)'), GeomFromEWKT('SRID=4674;POINT (-38.472045 -3.434839)'))) / (select extract(epoch from '2026-07-18 14:52:03'::timestamp) - extract(epoch from '2026-07-18 14:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472007 -3.434759)'), GeomFromEWKT('SRID=4674;POINT (-38.472045 -3.434839)'))) / (select extract(epoch from '2026-07-18 14:52:03'::timestamp) - extract(epoch from '2026-07-18 14:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472103 -3.434956)', '2026-07-18 14:52:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472045 -3.434839)'), GeomFromEWKT('SRID=4674;POINT (-38.472103 -3.434956)'))) / (select extract(epoch from '2026-07-18 14:52:10'::timestamp) - extract(epoch from '2026-07-18 14:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472045 -3.434839)'), GeomFromEWKT('SRID=4674;POINT (-38.472103 -3.434956)'))) / (select extract(epoch from '2026-07-18 14:52:10'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.472164 -3.435058)', '2026-07-18 14:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472103 -3.434956)'), GeomFromEWKT('SRID=4674;POINT (-38.472164 -3.435058)'))) / (select extract(epoch from '2026-07-18 14:52:16'::timestamp) - extract(epoch from '2026-07-18 14:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472103 -3.434956)'), GeomFromEWKT('SRID=4674;POINT (-38.472164 -3.435058)'))) / (select extract(epoch from '2026-07-18 14:52:16'::timestamp) - extract(epoch from '2026-07-18 14:52:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472207 -3.435146)', '2026-07-18 14:52:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472164 -3.435058)'), GeomFromEWKT('SRID=4674;POINT (-38.472207 -3.435146)'))) / (select extract(epoch from '2026-07-18 14:52:21'::timestamp) - extract(epoch from '2026-07-18 14:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472164 -3.435058)'), GeomFromEWKT('SRID=4674;POINT (-38.472207 -3.435146)'))) / (select extract(epoch from '2026-07-18 14:52:21'::timestamp) - extract(epoch from '2026-07-18 14:52:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472249 -3.435247)', '2026-07-18 14:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472207 -3.435146)'), GeomFromEWKT('SRID=4674;POINT (-38.472249 -3.435247)'))) / (select extract(epoch from '2026-07-18 14:52:26'::timestamp) - extract(epoch from '2026-07-18 14:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472207 -3.435146)'), GeomFromEWKT('SRID=4674;POINT (-38.472249 -3.435247)'))) / (select extract(epoch from '2026-07-18 14:52:26'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.472269 -3.435296)', '2026-07-18 14:52:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472249 -3.435247)'), GeomFromEWKT('SRID=4674;POINT (-38.472269 -3.435296)'))) / (select extract(epoch from '2026-07-18 14:52:29'::timestamp) - extract(epoch from '2026-07-18 14:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472249 -3.435247)'), GeomFromEWKT('SRID=4674;POINT (-38.472269 -3.435296)'))) / (select extract(epoch from '2026-07-18 14:52:29'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.472297 -3.43533)', '2026-07-18 14:52:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472269 -3.435296)'), GeomFromEWKT('SRID=4674;POINT (-38.472297 -3.43533)'))) / (select extract(epoch from '2026-07-18 14:52:31'::timestamp) - extract(epoch from '2026-07-18 14:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472269 -3.435296)'), GeomFromEWKT('SRID=4674;POINT (-38.472297 -3.43533)'))) / (select extract(epoch from '2026-07-18 14:52:31'::timestamp) - extract(epoch from '2026-07-18 14:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472306 -3.435346)', '2026-07-18 14:52:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472297 -3.43533)'), GeomFromEWKT('SRID=4674;POINT (-38.472306 -3.435346)'))) / (select extract(epoch from '2026-07-18 14:52:32'::timestamp) - extract(epoch from '2026-07-18 14:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472297 -3.43533)'), GeomFromEWKT('SRID=4674;POINT (-38.472306 -3.435346)'))) / (select extract(epoch from '2026-07-18 14:52:32'::timestamp) - extract(epoch from '2026-07-18 14:52:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472315 -3.435406)', '2026-07-18 14:52:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472306 -3.435346)'), GeomFromEWKT('SRID=4674;POINT (-38.472315 -3.435406)'))) / (select extract(epoch from '2026-07-18 14:52:35'::timestamp) - extract(epoch from '2026-07-18 14:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472306 -3.435346)'), GeomFromEWKT('SRID=4674;POINT (-38.472315 -3.435406)'))) / (select extract(epoch from '2026-07-18 14:52:35'::timestamp) - extract(epoch from '2026-07-18 14:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472348 -3.435475)', '2026-07-18 14:52:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472315 -3.435406)'), GeomFromEWKT('SRID=4674;POINT (-38.472348 -3.435475)'))) / (select extract(epoch from '2026-07-18 14:52:39'::timestamp) - extract(epoch from '2026-07-18 14:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472315 -3.435406)'), GeomFromEWKT('SRID=4674;POINT (-38.472348 -3.435475)'))) / (select extract(epoch from '2026-07-18 14:52:39'::timestamp) - extract(epoch from '2026-07-18 14:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47235 -3.435493)', '2026-07-18 14:52:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472348 -3.435475)'), GeomFromEWKT('SRID=4674;POINT (-38.47235 -3.435493)'))) / (select extract(epoch from '2026-07-18 14:52:40'::timestamp) - extract(epoch from '2026-07-18 14:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472348 -3.435475)'), GeomFromEWKT('SRID=4674;POINT (-38.47235 -3.435493)'))) / (select extract(epoch from '2026-07-18 14:52:40'::timestamp) - extract(epoch from '2026-07-18 14:52:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472385 -3.435574)', '2026-07-18 14:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47235 -3.435493)'), GeomFromEWKT('SRID=4674;POINT (-38.472385 -3.435574)'))) / (select extract(epoch from '2026-07-18 14:52:44'::timestamp) - extract(epoch from '2026-07-18 14:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47235 -3.435493)'), GeomFromEWKT('SRID=4674;POINT (-38.472385 -3.435574)'))) / (select extract(epoch from '2026-07-18 14:52:44'::timestamp) - extract(epoch from '2026-07-18 14:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472433 -3.435683)', '2026-07-18 14:52:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472385 -3.435574)'), GeomFromEWKT('SRID=4674;POINT (-38.472433 -3.435683)'))) / (select extract(epoch from '2026-07-18 14:52:50'::timestamp) - extract(epoch from '2026-07-18 14:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472385 -3.435574)'), GeomFromEWKT('SRID=4674;POINT (-38.472433 -3.435683)'))) / (select extract(epoch from '2026-07-18 14:52:50'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.472484 -3.435819)', '2026-07-18 14:52:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472433 -3.435683)'), GeomFromEWKT('SRID=4674;POINT (-38.472484 -3.435819)'))) / (select extract(epoch from '2026-07-18 14:52:57'::timestamp) - extract(epoch from '2026-07-18 14:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472433 -3.435683)'), GeomFromEWKT('SRID=4674;POINT (-38.472484 -3.435819)'))) / (select extract(epoch from '2026-07-18 14:52:57'::timestamp) - extract(epoch from '2026-07-18 14:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472503 -3.435869)', '2026-07-18 14:53:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472484 -3.435819)'), GeomFromEWKT('SRID=4674;POINT (-38.472503 -3.435869)'))) / (select extract(epoch from '2026-07-18 14:53:00'::timestamp) - extract(epoch from '2026-07-18 14:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472484 -3.435819)'), GeomFromEWKT('SRID=4674;POINT (-38.472503 -3.435869)'))) / (select extract(epoch from '2026-07-18 14:53:00'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.472527 -3.4359)', '2026-07-18 14:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472503 -3.435869)'), GeomFromEWKT('SRID=4674;POINT (-38.472527 -3.4359)'))) / (select extract(epoch from '2026-07-18 14:53:02'::timestamp) - extract(epoch from '2026-07-18 14:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472503 -3.435869)'), GeomFromEWKT('SRID=4674;POINT (-38.472527 -3.4359)'))) / (select extract(epoch from '2026-07-18 14:53:02'::timestamp) - extract(epoch from '2026-07-18 14:53:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472541 -3.43593)', '2026-07-18 14:53:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472527 -3.4359)'), GeomFromEWKT('SRID=4674;POINT (-38.472541 -3.43593)'))) / (select extract(epoch from '2026-07-18 14:53:04'::timestamp) - extract(epoch from '2026-07-18 14:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472527 -3.4359)'), GeomFromEWKT('SRID=4674;POINT (-38.472541 -3.43593)'))) / (select extract(epoch from '2026-07-18 14:53:04'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.472568 -3.435962)', '2026-07-18 14:53:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472541 -3.43593)'), GeomFromEWKT('SRID=4674;POINT (-38.472568 -3.435962)'))) / (select extract(epoch from '2026-07-18 14:53:07'::timestamp) - extract(epoch from '2026-07-18 14:53:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472541 -3.43593)'), GeomFromEWKT('SRID=4674;POINT (-38.472568 -3.435962)'))) / (select extract(epoch from '2026-07-18 14:53:07'::timestamp) - extract(epoch from '2026-07-18 14:53:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472636 -3.43606)', '2026-07-18 14:53:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472568 -3.435962)'), GeomFromEWKT('SRID=4674;POINT (-38.472636 -3.43606)'))) / (select extract(epoch from '2026-07-18 14:53:13'::timestamp) - extract(epoch from '2026-07-18 14:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472568 -3.435962)'), GeomFromEWKT('SRID=4674;POINT (-38.472636 -3.43606)'))) / (select extract(epoch from '2026-07-18 14:53:13'::timestamp) - extract(epoch from '2026-07-18 14:53:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472696 -3.436143)', '2026-07-18 14:53:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472636 -3.43606)'), GeomFromEWKT('SRID=4674;POINT (-38.472696 -3.436143)'))) / (select extract(epoch from '2026-07-18 14:53:19'::timestamp) - extract(epoch from '2026-07-18 14:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472636 -3.43606)'), GeomFromEWKT('SRID=4674;POINT (-38.472696 -3.436143)'))) / (select extract(epoch from '2026-07-18 14:53:19'::timestamp) - extract(epoch from '2026-07-18 14:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472733 -3.436226)', '2026-07-18 14:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472696 -3.436143)'), GeomFromEWKT('SRID=4674;POINT (-38.472733 -3.436226)'))) / (select extract(epoch from '2026-07-18 14:53:25'::timestamp) - extract(epoch from '2026-07-18 14:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472696 -3.436143)'), GeomFromEWKT('SRID=4674;POINT (-38.472733 -3.436226)'))) / (select extract(epoch from '2026-07-18 14:53:25'::timestamp) - extract(epoch from '2026-07-18 14:53:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47277 -3.436298)', '2026-07-18 14:53:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472733 -3.436226)'), GeomFromEWKT('SRID=4674;POINT (-38.47277 -3.436298)'))) / (select extract(epoch from '2026-07-18 14:53:30'::timestamp) - extract(epoch from '2026-07-18 14:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472733 -3.436226)'), GeomFromEWKT('SRID=4674;POINT (-38.47277 -3.436298)'))) / (select extract(epoch from '2026-07-18 14:53:30'::timestamp) - extract(epoch from '2026-07-18 14:53:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472828 -3.436372)', '2026-07-18 14:53:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47277 -3.436298)'), GeomFromEWKT('SRID=4674;POINT (-38.472828 -3.436372)'))) / (select extract(epoch from '2026-07-18 14:53:35'::timestamp) - extract(epoch from '2026-07-18 14:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47277 -3.436298)'), GeomFromEWKT('SRID=4674;POINT (-38.472828 -3.436372)'))) / (select extract(epoch from '2026-07-18 14:53:35'::timestamp) - extract(epoch from '2026-07-18 14:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472875 -3.436479)', '2026-07-18 14:53:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472828 -3.436372)'), GeomFromEWKT('SRID=4674;POINT (-38.472875 -3.436479)'))) / (select extract(epoch from '2026-07-18 14:53:41'::timestamp) - extract(epoch from '2026-07-18 14:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472828 -3.436372)'), GeomFromEWKT('SRID=4674;POINT (-38.472875 -3.436479)'))) / (select extract(epoch from '2026-07-18 14:53:41'::timestamp) - extract(epoch from '2026-07-18 14:53:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472912 -3.43657)', '2026-07-18 14:53:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472875 -3.436479)'), GeomFromEWKT('SRID=4674;POINT (-38.472912 -3.43657)'))) / (select extract(epoch from '2026-07-18 14:53:46'::timestamp) - extract(epoch from '2026-07-18 14:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472875 -3.436479)'), GeomFromEWKT('SRID=4674;POINT (-38.472912 -3.43657)'))) / (select extract(epoch from '2026-07-18 14:53:46'::timestamp) - extract(epoch from '2026-07-18 14:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.472952 -3.43665)', '2026-07-18 14:53:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472912 -3.43657)'), GeomFromEWKT('SRID=4674;POINT (-38.472952 -3.43665)'))) / (select extract(epoch from '2026-07-18 14:53:51'::timestamp) - extract(epoch from '2026-07-18 14:53:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472912 -3.43657)'), GeomFromEWKT('SRID=4674;POINT (-38.472952 -3.43665)'))) / (select extract(epoch from '2026-07-18 14:53:51'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.472985 -3.436695)', '2026-07-18 14:53:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472952 -3.43665)'), GeomFromEWKT('SRID=4674;POINT (-38.472985 -3.436695)'))) / (select extract(epoch from '2026-07-18 14:53:54'::timestamp) - extract(epoch from '2026-07-18 14:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472952 -3.43665)'), GeomFromEWKT('SRID=4674;POINT (-38.472985 -3.436695)'))) / (select extract(epoch from '2026-07-18 14:53:54'::timestamp) - extract(epoch from '2026-07-18 14:53:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473001 -3.436725)', '2026-07-18 14:53:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472985 -3.436695)'), GeomFromEWKT('SRID=4674;POINT (-38.473001 -3.436725)'))) / (select extract(epoch from '2026-07-18 14:53:56'::timestamp) - extract(epoch from '2026-07-18 14:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.472985 -3.436695)'), GeomFromEWKT('SRID=4674;POINT (-38.473001 -3.436725)'))) / (select extract(epoch from '2026-07-18 14:53:56'::timestamp) - extract(epoch from '2026-07-18 14:53:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473054 -3.4368)', '2026-07-18 14:54:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473001 -3.436725)'), GeomFromEWKT('SRID=4674;POINT (-38.473054 -3.4368)'))) / (select extract(epoch from '2026-07-18 14:54:01'::timestamp) - extract(epoch from '2026-07-18 14:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473001 -3.436725)'), GeomFromEWKT('SRID=4674;POINT (-38.473054 -3.4368)'))) / (select extract(epoch from '2026-07-18 14:54:01'::timestamp) - extract(epoch from '2026-07-18 14:53:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473099 -3.436894)', '2026-07-18 14:54:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473054 -3.4368)'), GeomFromEWKT('SRID=4674;POINT (-38.473099 -3.436894)'))) / (select extract(epoch from '2026-07-18 14:54:06'::timestamp) - extract(epoch from '2026-07-18 14:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473054 -3.4368)'), GeomFromEWKT('SRID=4674;POINT (-38.473099 -3.436894)'))) / (select extract(epoch from '2026-07-18 14:54:06'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.473157 -3.436991)', '2026-07-18 14:54:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473099 -3.436894)'), GeomFromEWKT('SRID=4674;POINT (-38.473157 -3.436991)'))) / (select extract(epoch from '2026-07-18 14:54:12'::timestamp) - extract(epoch from '2026-07-18 14:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473099 -3.436894)'), GeomFromEWKT('SRID=4674;POINT (-38.473157 -3.436991)'))) / (select extract(epoch from '2026-07-18 14:54:12'::timestamp) - extract(epoch from '2026-07-18 14:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473215 -3.437138)', '2026-07-18 14:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473157 -3.436991)'), GeomFromEWKT('SRID=4674;POINT (-38.473215 -3.437138)'))) / (select extract(epoch from '2026-07-18 14:54:20'::timestamp) - extract(epoch from '2026-07-18 14:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473157 -3.436991)'), GeomFromEWKT('SRID=4674;POINT (-38.473215 -3.437138)'))) / (select extract(epoch from '2026-07-18 14:54:20'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.47326 -3.437212)', '2026-07-18 14:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473215 -3.437138)'), GeomFromEWKT('SRID=4674;POINT (-38.47326 -3.437212)'))) / (select extract(epoch from '2026-07-18 14:54:25'::timestamp) - extract(epoch from '2026-07-18 14:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473215 -3.437138)'), GeomFromEWKT('SRID=4674;POINT (-38.47326 -3.437212)'))) / (select extract(epoch from '2026-07-18 14:54:25'::timestamp) - extract(epoch from '2026-07-18 14:54:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473275 -3.437242)', '2026-07-18 14:54:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47326 -3.437212)'), GeomFromEWKT('SRID=4674;POINT (-38.473275 -3.437242)'))) / (select extract(epoch from '2026-07-18 14:54:27'::timestamp) - extract(epoch from '2026-07-18 14:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47326 -3.437212)'), GeomFromEWKT('SRID=4674;POINT (-38.473275 -3.437242)'))) / (select extract(epoch from '2026-07-18 14:54:27'::timestamp) - extract(epoch from '2026-07-18 14:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473301 -3.437269)', '2026-07-18 14:54:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473275 -3.437242)'), GeomFromEWKT('SRID=4674;POINT (-38.473301 -3.437269)'))) / (select extract(epoch from '2026-07-18 14:54:29'::timestamp) - extract(epoch from '2026-07-18 14:54:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473275 -3.437242)'), GeomFromEWKT('SRID=4674;POINT (-38.473301 -3.437269)'))) / (select extract(epoch from '2026-07-18 14:54:29'::timestamp) - extract(epoch from '2026-07-18 14:54:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473346 -3.437369)', '2026-07-18 14:54:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473301 -3.437269)'), GeomFromEWKT('SRID=4674;POINT (-38.473346 -3.437369)'))) / (select extract(epoch from '2026-07-18 14:54:35'::timestamp) - extract(epoch from '2026-07-18 14:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473301 -3.437269)'), GeomFromEWKT('SRID=4674;POINT (-38.473346 -3.437369)'))) / (select extract(epoch from '2026-07-18 14:54:35'::timestamp) - extract(epoch from '2026-07-18 14:54:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473373 -3.437429)', '2026-07-18 14:54:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473346 -3.437369)'), GeomFromEWKT('SRID=4674;POINT (-38.473373 -3.437429)'))) / (select extract(epoch from '2026-07-18 14:54:39'::timestamp) - extract(epoch from '2026-07-18 14:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473346 -3.437369)'), GeomFromEWKT('SRID=4674;POINT (-38.473373 -3.437429)'))) / (select extract(epoch from '2026-07-18 14:54:39'::timestamp) - extract(epoch from '2026-07-18 14:54:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473385 -3.437439)', '2026-07-18 14:54:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473373 -3.437429)'), GeomFromEWKT('SRID=4674;POINT (-38.473385 -3.437439)'))) / (select extract(epoch from '2026-07-18 14:54:40'::timestamp) - extract(epoch from '2026-07-18 14:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473373 -3.437429)'), GeomFromEWKT('SRID=4674;POINT (-38.473385 -3.437439)'))) / (select extract(epoch from '2026-07-18 14:54:40'::timestamp) - extract(epoch from '2026-07-18 14:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473441 -3.437522)', '2026-07-18 14:54:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473385 -3.437439)'), GeomFromEWKT('SRID=4674;POINT (-38.473441 -3.437522)'))) / (select extract(epoch from '2026-07-18 14:54:45'::timestamp) - extract(epoch from '2026-07-18 14:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473385 -3.437439)'), GeomFromEWKT('SRID=4674;POINT (-38.473441 -3.437522)'))) / (select extract(epoch from '2026-07-18 14:54:45'::timestamp) - extract(epoch from '2026-07-18 14:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473491 -3.437617)', '2026-07-18 14:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473441 -3.437522)'), GeomFromEWKT('SRID=4674;POINT (-38.473491 -3.437617)'))) / (select extract(epoch from '2026-07-18 14:54:50'::timestamp) - extract(epoch from '2026-07-18 14:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473441 -3.437522)'), GeomFromEWKT('SRID=4674;POINT (-38.473491 -3.437617)'))) / (select extract(epoch from '2026-07-18 14:54:50'::timestamp) - extract(epoch from '2026-07-18 14:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473534 -3.437708)', '2026-07-18 14:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473491 -3.437617)'), GeomFromEWKT('SRID=4674;POINT (-38.473534 -3.437708)'))) / (select extract(epoch from '2026-07-18 14:54:55'::timestamp) - extract(epoch from '2026-07-18 14:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473491 -3.437617)'), GeomFromEWKT('SRID=4674;POINT (-38.473534 -3.437708)'))) / (select extract(epoch from '2026-07-18 14:54:55'::timestamp) - extract(epoch from '2026-07-18 14:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47358 -3.437798)', '2026-07-18 14:55:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473534 -3.437708)'), GeomFromEWKT('SRID=4674;POINT (-38.47358 -3.437798)'))) / (select extract(epoch from '2026-07-18 14:55:01'::timestamp) - extract(epoch from '2026-07-18 14:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473534 -3.437708)'), GeomFromEWKT('SRID=4674;POINT (-38.47358 -3.437798)'))) / (select extract(epoch from '2026-07-18 14:55:01'::timestamp) - extract(epoch from '2026-07-18 14:54:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473623 -3.437904)', '2026-07-18 14:55:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47358 -3.437798)'), GeomFromEWKT('SRID=4674;POINT (-38.473623 -3.437904)'))) / (select extract(epoch from '2026-07-18 14:55:07'::timestamp) - extract(epoch from '2026-07-18 14:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47358 -3.437798)'), GeomFromEWKT('SRID=4674;POINT (-38.473623 -3.437904)'))) / (select extract(epoch from '2026-07-18 14:55:07'::timestamp) - extract(epoch from '2026-07-18 14:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473656 -3.437988)', '2026-07-18 14:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473623 -3.437904)'), GeomFromEWKT('SRID=4674;POINT (-38.473656 -3.437988)'))) / (select extract(epoch from '2026-07-18 14:55:11'::timestamp) - extract(epoch from '2026-07-18 14:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473623 -3.437904)'), GeomFromEWKT('SRID=4674;POINT (-38.473656 -3.437988)'))) / (select extract(epoch from '2026-07-18 14:55:11'::timestamp) - extract(epoch from '2026-07-18 14:55:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473689 -3.43808)', '2026-07-18 14:55:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473656 -3.437988)'), GeomFromEWKT('SRID=4674;POINT (-38.473689 -3.43808)'))) / (select extract(epoch from '2026-07-18 14:55:16'::timestamp) - extract(epoch from '2026-07-18 14:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473656 -3.437988)'), GeomFromEWKT('SRID=4674;POINT (-38.473689 -3.43808)'))) / (select extract(epoch from '2026-07-18 14:55:16'::timestamp) - extract(epoch from '2026-07-18 14:55:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473719 -3.438153)', '2026-07-18 14:55:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473689 -3.43808)'), GeomFromEWKT('SRID=4674;POINT (-38.473719 -3.438153)'))) / (select extract(epoch from '2026-07-18 14:55:21'::timestamp) - extract(epoch from '2026-07-18 14:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473689 -3.43808)'), GeomFromEWKT('SRID=4674;POINT (-38.473719 -3.438153)'))) / (select extract(epoch from '2026-07-18 14:55:21'::timestamp) - extract(epoch from '2026-07-18 14:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473764 -3.438227)', '2026-07-18 14:55:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473719 -3.438153)'), GeomFromEWKT('SRID=4674;POINT (-38.473764 -3.438227)'))) / (select extract(epoch from '2026-07-18 14:55:26'::timestamp) - extract(epoch from '2026-07-18 14:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473719 -3.438153)'), GeomFromEWKT('SRID=4674;POINT (-38.473764 -3.438227)'))) / (select extract(epoch from '2026-07-18 14:55:26'::timestamp) - extract(epoch from '2026-07-18 14:55:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47383 -3.43833)', '2026-07-18 14:55:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473764 -3.438227)'), GeomFromEWKT('SRID=4674;POINT (-38.47383 -3.43833)'))) / (select extract(epoch from '2026-07-18 14:55:32'::timestamp) - extract(epoch from '2026-07-18 14:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473764 -3.438227)'), GeomFromEWKT('SRID=4674;POINT (-38.47383 -3.43833)'))) / (select extract(epoch from '2026-07-18 14:55:32'::timestamp) - extract(epoch from '2026-07-18 14:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473868 -3.438397)', '2026-07-18 14:55:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47383 -3.43833)'), GeomFromEWKT('SRID=4674;POINT (-38.473868 -3.438397)'))) / (select extract(epoch from '2026-07-18 14:55:36'::timestamp) - extract(epoch from '2026-07-18 14:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47383 -3.43833)'), GeomFromEWKT('SRID=4674;POINT (-38.473868 -3.438397)'))) / (select extract(epoch from '2026-07-18 14:55:36'::timestamp) - extract(epoch from '2026-07-18 14:55:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473898 -3.438492)', '2026-07-18 14:55:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473868 -3.438397)'), GeomFromEWKT('SRID=4674;POINT (-38.473898 -3.438492)'))) / (select extract(epoch from '2026-07-18 14:55:41'::timestamp) - extract(epoch from '2026-07-18 14:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473868 -3.438397)'), GeomFromEWKT('SRID=4674;POINT (-38.473898 -3.438492)'))) / (select extract(epoch from '2026-07-18 14:55:41'::timestamp) - extract(epoch from '2026-07-18 14:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.473943 -3.438579)', '2026-07-18 14:55:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473898 -3.438492)'), GeomFromEWKT('SRID=4674;POINT (-38.473943 -3.438579)'))) / (select extract(epoch from '2026-07-18 14:55:46'::timestamp) - extract(epoch from '2026-07-18 14:55:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473898 -3.438492)'), GeomFromEWKT('SRID=4674;POINT (-38.473943 -3.438579)'))) / (select extract(epoch from '2026-07-18 14:55:46'::timestamp) - extract(epoch from '2026-07-18 14:55:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47399 -3.438684)', '2026-07-18 14:55:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473943 -3.438579)'), GeomFromEWKT('SRID=4674;POINT (-38.47399 -3.438684)'))) / (select extract(epoch from '2026-07-18 14:55:52'::timestamp) - extract(epoch from '2026-07-18 14:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.473943 -3.438579)'), GeomFromEWKT('SRID=4674;POINT (-38.47399 -3.438684)'))) / (select extract(epoch from '2026-07-18 14:55:52'::timestamp) - extract(epoch from '2026-07-18 14:55:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47403 -3.438793)', '2026-07-18 14:55:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47399 -3.438684)'), GeomFromEWKT('SRID=4674;POINT (-38.47403 -3.438793)'))) / (select extract(epoch from '2026-07-18 14:55:58'::timestamp) - extract(epoch from '2026-07-18 14:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47399 -3.438684)'), GeomFromEWKT('SRID=4674;POINT (-38.47403 -3.438793)'))) / (select extract(epoch from '2026-07-18 14:55:58'::timestamp) - extract(epoch from '2026-07-18 14:55:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474046 -3.438875)', '2026-07-18 14:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47403 -3.438793)'), GeomFromEWKT('SRID=4674;POINT (-38.474046 -3.438875)'))) / (select extract(epoch from '2026-07-18 14:56:03'::timestamp) - extract(epoch from '2026-07-18 14:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47403 -3.438793)'), GeomFromEWKT('SRID=4674;POINT (-38.474046 -3.438875)'))) / (select extract(epoch from '2026-07-18 14:56:03'::timestamp) - extract(epoch from '2026-07-18 14:55:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474056 -3.438893)', '2026-07-18 14:56:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474046 -3.438875)'), GeomFromEWKT('SRID=4674;POINT (-38.474056 -3.438893)'))) / (select extract(epoch from '2026-07-18 14:56:04'::timestamp) - extract(epoch from '2026-07-18 14:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474046 -3.438875)'), GeomFromEWKT('SRID=4674;POINT (-38.474056 -3.438893)'))) / (select extract(epoch from '2026-07-18 14:56:04'::timestamp) - extract(epoch from '2026-07-18 14:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474073 -3.438929)', '2026-07-18 14:56:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474056 -3.438893)'), GeomFromEWKT('SRID=4674;POINT (-38.474073 -3.438929)'))) / (select extract(epoch from '2026-07-18 14:56:06'::timestamp) - extract(epoch from '2026-07-18 14:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474056 -3.438893)'), GeomFromEWKT('SRID=4674;POINT (-38.474073 -3.438929)'))) / (select extract(epoch from '2026-07-18 14:56:06'::timestamp) - extract(epoch from '2026-07-18 14:56:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474074 -3.438945)', '2026-07-18 14:56:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474073 -3.438929)'), GeomFromEWKT('SRID=4674;POINT (-38.474074 -3.438945)'))) / (select extract(epoch from '2026-07-18 14:56:07'::timestamp) - extract(epoch from '2026-07-18 14:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474073 -3.438929)'), GeomFromEWKT('SRID=4674;POINT (-38.474074 -3.438945)'))) / (select extract(epoch from '2026-07-18 14:56:07'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.474085 -3.438983)', '2026-07-18 14:56:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474074 -3.438945)'), GeomFromEWKT('SRID=4674;POINT (-38.474085 -3.438983)'))) / (select extract(epoch from '2026-07-18 14:56:09'::timestamp) - extract(epoch from '2026-07-18 14:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474074 -3.438945)'), GeomFromEWKT('SRID=4674;POINT (-38.474085 -3.438983)'))) / (select extract(epoch from '2026-07-18 14:56:09'::timestamp) - extract(epoch from '2026-07-18 14:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474113 -3.43901)', '2026-07-18 14:56:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474085 -3.438983)'), GeomFromEWKT('SRID=4674;POINT (-38.474113 -3.43901)'))) / (select extract(epoch from '2026-07-18 14:56:11'::timestamp) - extract(epoch from '2026-07-18 14:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474085 -3.438983)'), GeomFromEWKT('SRID=4674;POINT (-38.474113 -3.43901)'))) / (select extract(epoch from '2026-07-18 14:56:11'::timestamp) - extract(epoch from '2026-07-18 14:56:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474126 -3.439038)', '2026-07-18 14:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474113 -3.43901)'), GeomFromEWKT('SRID=4674;POINT (-38.474126 -3.439038)'))) / (select extract(epoch from '2026-07-18 14:56:13'::timestamp) - extract(epoch from '2026-07-18 14:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474113 -3.43901)'), GeomFromEWKT('SRID=4674;POINT (-38.474126 -3.439038)'))) / (select extract(epoch from '2026-07-18 14:56:13'::timestamp) - extract(epoch from '2026-07-18 14:56:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474153 -3.439083)', '2026-07-18 14:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474126 -3.439038)'), GeomFromEWKT('SRID=4674;POINT (-38.474153 -3.439083)'))) / (select extract(epoch from '2026-07-18 14:56:16'::timestamp) - extract(epoch from '2026-07-18 14:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474126 -3.439038)'), GeomFromEWKT('SRID=4674;POINT (-38.474153 -3.439083)'))) / (select extract(epoch from '2026-07-18 14:56:16'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.474204 -3.439185)', '2026-07-18 14:56:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474153 -3.439083)'), GeomFromEWKT('SRID=4674;POINT (-38.474204 -3.439185)'))) / (select extract(epoch from '2026-07-18 14:56:22'::timestamp) - extract(epoch from '2026-07-18 14:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474153 -3.439083)'), GeomFromEWKT('SRID=4674;POINT (-38.474204 -3.439185)'))) / (select extract(epoch from '2026-07-18 14:56:22'::timestamp) - extract(epoch from '2026-07-18 14:56:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474237 -3.439235)', '2026-07-18 14:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474204 -3.439185)'), GeomFromEWKT('SRID=4674;POINT (-38.474237 -3.439235)'))) / (select extract(epoch from '2026-07-18 14:56:26'::timestamp) - extract(epoch from '2026-07-18 14:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474204 -3.439185)'), GeomFromEWKT('SRID=4674;POINT (-38.474237 -3.439235)'))) / (select extract(epoch from '2026-07-18 14:56:26'::timestamp) - extract(epoch from '2026-07-18 14:56:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474273 -3.439318)', '2026-07-18 14:56:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474237 -3.439235)'), GeomFromEWKT('SRID=4674;POINT (-38.474273 -3.439318)'))) / (select extract(epoch from '2026-07-18 14:56:31'::timestamp) - extract(epoch from '2026-07-18 14:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474237 -3.439235)'), GeomFromEWKT('SRID=4674;POINT (-38.474273 -3.439318)'))) / (select extract(epoch from '2026-07-18 14:56:31'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.474305 -3.43942)', '2026-07-18 14:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474273 -3.439318)'), GeomFromEWKT('SRID=4674;POINT (-38.474305 -3.43942)'))) / (select extract(epoch from '2026-07-18 14:56:37'::timestamp) - extract(epoch from '2026-07-18 14:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474273 -3.439318)'), GeomFromEWKT('SRID=4674;POINT (-38.474305 -3.43942)'))) / (select extract(epoch from '2026-07-18 14:56:37'::timestamp) - extract(epoch from '2026-07-18 14:56:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474327 -3.439467)', '2026-07-18 14:56:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474305 -3.43942)'), GeomFromEWKT('SRID=4674;POINT (-38.474327 -3.439467)'))) / (select extract(epoch from '2026-07-18 14:56:40'::timestamp) - extract(epoch from '2026-07-18 14:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474305 -3.43942)'), GeomFromEWKT('SRID=4674;POINT (-38.474327 -3.439467)'))) / (select extract(epoch from '2026-07-18 14:56:40'::timestamp) - extract(epoch from '2026-07-18 14:56:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474327 -3.439485)', '2026-07-18 14:56:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474327 -3.439467)'), GeomFromEWKT('SRID=4674;POINT (-38.474327 -3.439485)'))) / (select extract(epoch from '2026-07-18 14:56:41'::timestamp) - extract(epoch from '2026-07-18 14:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474327 -3.439467)'), GeomFromEWKT('SRID=4674;POINT (-38.474327 -3.439485)'))) / (select extract(epoch from '2026-07-18 14:56:41'::timestamp) - extract(epoch from '2026-07-18 14:56:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474357 -3.439593)', '2026-07-18 14:56:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474327 -3.439485)'), GeomFromEWKT('SRID=4674;POINT (-38.474357 -3.439593)'))) / (select extract(epoch from '2026-07-18 14:56:47'::timestamp) - extract(epoch from '2026-07-18 14:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474327 -3.439485)'), GeomFromEWKT('SRID=4674;POINT (-38.474357 -3.439593)'))) / (select extract(epoch from '2026-07-18 14:56:47'::timestamp) - extract(epoch from '2026-07-18 14:56:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474395 -3.439685)', '2026-07-18 14:56:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474357 -3.439593)'), GeomFromEWKT('SRID=4674;POINT (-38.474395 -3.439685)'))) / (select extract(epoch from '2026-07-18 14:56:52'::timestamp) - extract(epoch from '2026-07-18 14:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474357 -3.439593)'), GeomFromEWKT('SRID=4674;POINT (-38.474395 -3.439685)'))) / (select extract(epoch from '2026-07-18 14:56:52'::timestamp) - extract(epoch from '2026-07-18 14:56:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474434 -3.439778)', '2026-07-18 14:56:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474395 -3.439685)'), GeomFromEWKT('SRID=4674;POINT (-38.474434 -3.439778)'))) / (select extract(epoch from '2026-07-18 14:56:57'::timestamp) - extract(epoch from '2026-07-18 14:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474395 -3.439685)'), GeomFromEWKT('SRID=4674;POINT (-38.474434 -3.439778)'))) / (select extract(epoch from '2026-07-18 14:56:57'::timestamp) - extract(epoch from '2026-07-18 14:56:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474471 -3.439843)', '2026-07-18 14:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474434 -3.439778)'), GeomFromEWKT('SRID=4674;POINT (-38.474471 -3.439843)'))) / (select extract(epoch from '2026-07-18 14:57:01'::timestamp) - extract(epoch from '2026-07-18 14:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474434 -3.439778)'), GeomFromEWKT('SRID=4674;POINT (-38.474471 -3.439843)'))) / (select extract(epoch from '2026-07-18 14:57:01'::timestamp) - extract(epoch from '2026-07-18 14:56:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474476 -3.43986)', '2026-07-18 14:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474471 -3.439843)'), GeomFromEWKT('SRID=4674;POINT (-38.474476 -3.43986)'))) / (select extract(epoch from '2026-07-18 14:57:02'::timestamp) - extract(epoch from '2026-07-18 14:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474471 -3.439843)'), GeomFromEWKT('SRID=4674;POINT (-38.474476 -3.43986)'))) / (select extract(epoch from '2026-07-18 14:57:02'::timestamp) - extract(epoch from '2026-07-18 14:57:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474492 -3.439888)', '2026-07-18 14:57:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474476 -3.43986)'), GeomFromEWKT('SRID=4674;POINT (-38.474492 -3.439888)'))) / (select extract(epoch from '2026-07-18 14:57:04'::timestamp) - extract(epoch from '2026-07-18 14:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474476 -3.43986)'), GeomFromEWKT('SRID=4674;POINT (-38.474492 -3.439888)'))) / (select extract(epoch from '2026-07-18 14:57:04'::timestamp) - extract(epoch from '2026-07-18 14:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474502 -3.439901)', '2026-07-18 14:57:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474492 -3.439888)'), GeomFromEWKT('SRID=4674;POINT (-38.474502 -3.439901)'))) / (select extract(epoch from '2026-07-18 14:57:05'::timestamp) - extract(epoch from '2026-07-18 14:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474492 -3.439888)'), GeomFromEWKT('SRID=4674;POINT (-38.474502 -3.439901)'))) / (select extract(epoch from '2026-07-18 14:57:05'::timestamp) - extract(epoch from '2026-07-18 14:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474509 -3.439914)', '2026-07-18 14:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474502 -3.439901)'), GeomFromEWKT('SRID=4674;POINT (-38.474509 -3.439914)'))) / (select extract(epoch from '2026-07-18 14:57:06'::timestamp) - extract(epoch from '2026-07-18 14:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474502 -3.439901)'), GeomFromEWKT('SRID=4674;POINT (-38.474509 -3.439914)'))) / (select extract(epoch from '2026-07-18 14:57:06'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.474527 -3.439975)', '2026-07-18 14:57:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474509 -3.439914)'), GeomFromEWKT('SRID=4674;POINT (-38.474527 -3.439975)'))) / (select extract(epoch from '2026-07-18 14:57:10'::timestamp) - extract(epoch from '2026-07-18 14:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474509 -3.439914)'), GeomFromEWKT('SRID=4674;POINT (-38.474527 -3.439975)'))) / (select extract(epoch from '2026-07-18 14:57:10'::timestamp) - extract(epoch from '2026-07-18 14:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474567 -3.440087)', '2026-07-18 14:57:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474527 -3.439975)'), GeomFromEWKT('SRID=4674;POINT (-38.474567 -3.440087)'))) / (select extract(epoch from '2026-07-18 14:57:16'::timestamp) - extract(epoch from '2026-07-18 14:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474527 -3.439975)'), GeomFromEWKT('SRID=4674;POINT (-38.474567 -3.440087)'))) / (select extract(epoch from '2026-07-18 14:57:16'::timestamp) - extract(epoch from '2026-07-18 14:57:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474606 -3.440194)', '2026-07-18 14:57:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474567 -3.440087)'), GeomFromEWKT('SRID=4674;POINT (-38.474606 -3.440194)'))) / (select extract(epoch from '2026-07-18 14:57:22'::timestamp) - extract(epoch from '2026-07-18 14:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474567 -3.440087)'), GeomFromEWKT('SRID=4674;POINT (-38.474606 -3.440194)'))) / (select extract(epoch from '2026-07-18 14:57:22'::timestamp) - extract(epoch from '2026-07-18 14:57:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474646 -3.440272)', '2026-07-18 14:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474606 -3.440194)'), GeomFromEWKT('SRID=4674;POINT (-38.474646 -3.440272)'))) / (select extract(epoch from '2026-07-18 14:57:27'::timestamp) - extract(epoch from '2026-07-18 14:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474606 -3.440194)'), GeomFromEWKT('SRID=4674;POINT (-38.474646 -3.440272)'))) / (select extract(epoch from '2026-07-18 14:57:27'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.474681 -3.440362)', '2026-07-18 14:57:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474646 -3.440272)'), GeomFromEWKT('SRID=4674;POINT (-38.474681 -3.440362)'))) / (select extract(epoch from '2026-07-18 14:57:33'::timestamp) - extract(epoch from '2026-07-18 14:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474646 -3.440272)'), GeomFromEWKT('SRID=4674;POINT (-38.474681 -3.440362)'))) / (select extract(epoch from '2026-07-18 14:57:33'::timestamp) - extract(epoch from '2026-07-18 14:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474734 -3.44047)', '2026-07-18 14:57:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474681 -3.440362)'), GeomFromEWKT('SRID=4674;POINT (-38.474734 -3.44047)'))) / (select extract(epoch from '2026-07-18 14:57:39'::timestamp) - extract(epoch from '2026-07-18 14:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474681 -3.440362)'), GeomFromEWKT('SRID=4674;POINT (-38.474734 -3.44047)'))) / (select extract(epoch from '2026-07-18 14:57:39'::timestamp) - extract(epoch from '2026-07-18 14:57:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47477 -3.440559)', '2026-07-18 14:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474734 -3.44047)'), GeomFromEWKT('SRID=4674;POINT (-38.47477 -3.440559)'))) / (select extract(epoch from '2026-07-18 14:57:44'::timestamp) - extract(epoch from '2026-07-18 14:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474734 -3.44047)'), GeomFromEWKT('SRID=4674;POINT (-38.47477 -3.440559)'))) / (select extract(epoch from '2026-07-18 14:57:44'::timestamp) - extract(epoch from '2026-07-18 14:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474812 -3.440669)', '2026-07-18 14:57:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47477 -3.440559)'), GeomFromEWKT('SRID=4674;POINT (-38.474812 -3.440669)'))) / (select extract(epoch from '2026-07-18 14:57:50'::timestamp) - extract(epoch from '2026-07-18 14:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47477 -3.440559)'), GeomFromEWKT('SRID=4674;POINT (-38.474812 -3.440669)'))) / (select extract(epoch from '2026-07-18 14:57:50'::timestamp) - extract(epoch from '2026-07-18 14:57:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474817 -3.440681)', '2026-07-18 14:57:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474812 -3.440669)'), GeomFromEWKT('SRID=4674;POINT (-38.474817 -3.440681)'))) / (select extract(epoch from '2026-07-18 14:57:51'::timestamp) - extract(epoch from '2026-07-18 14:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474812 -3.440669)'), GeomFromEWKT('SRID=4674;POINT (-38.474817 -3.440681)'))) / (select extract(epoch from '2026-07-18 14:57:51'::timestamp) - extract(epoch from '2026-07-18 14:57:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474847 -3.440757)', '2026-07-18 14:57:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474817 -3.440681)'), GeomFromEWKT('SRID=4674;POINT (-38.474847 -3.440757)'))) / (select extract(epoch from '2026-07-18 14:57:56'::timestamp) - extract(epoch from '2026-07-18 14:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474817 -3.440681)'), GeomFromEWKT('SRID=4674;POINT (-38.474847 -3.440757)'))) / (select extract(epoch from '2026-07-18 14:57:56'::timestamp) - extract(epoch from '2026-07-18 14:57:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474896 -3.440828)', '2026-07-18 14:58:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474847 -3.440757)'), GeomFromEWKT('SRID=4674;POINT (-38.474896 -3.440828)'))) / (select extract(epoch from '2026-07-18 14:58:01'::timestamp) - extract(epoch from '2026-07-18 14:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474847 -3.440757)'), GeomFromEWKT('SRID=4674;POINT (-38.474896 -3.440828)'))) / (select extract(epoch from '2026-07-18 14:58:01'::timestamp) - extract(epoch from '2026-07-18 14:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.474932 -3.440916)', '2026-07-18 14:58:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474896 -3.440828)'), GeomFromEWKT('SRID=4674;POINT (-38.474932 -3.440916)'))) / (select extract(epoch from '2026-07-18 14:58:06'::timestamp) - extract(epoch from '2026-07-18 14:58:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474896 -3.440828)'), GeomFromEWKT('SRID=4674;POINT (-38.474932 -3.440916)'))) / (select extract(epoch from '2026-07-18 14:58:06'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.474978 -3.44105)', '2026-07-18 14:58:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474932 -3.440916)'), GeomFromEWKT('SRID=4674;POINT (-38.474978 -3.44105)'))) / (select extract(epoch from '2026-07-18 14:58:13'::timestamp) - extract(epoch from '2026-07-18 14:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474932 -3.440916)'), GeomFromEWKT('SRID=4674;POINT (-38.474978 -3.44105)'))) / (select extract(epoch from '2026-07-18 14:58:13'::timestamp) - extract(epoch from '2026-07-18 14:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47502 -3.441132)', '2026-07-18 14:58:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474978 -3.44105)'), GeomFromEWKT('SRID=4674;POINT (-38.47502 -3.441132)'))) / (select extract(epoch from '2026-07-18 14:58:18'::timestamp) - extract(epoch from '2026-07-18 14:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.474978 -3.44105)'), GeomFromEWKT('SRID=4674;POINT (-38.47502 -3.441132)'))) / (select extract(epoch from '2026-07-18 14:58:18'::timestamp) - extract(epoch from '2026-07-18 14: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'), 47391, 'SRID=4674;POINT (-38.47506 -3.441198)', '2026-07-18 14:58:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47502 -3.441132)'), GeomFromEWKT('SRID=4674;POINT (-38.47506 -3.441198)'))) / (select extract(epoch from '2026-07-18 14:58:22'::timestamp) - extract(epoch from '2026-07-18 14:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47502 -3.441132)'), GeomFromEWKT('SRID=4674;POINT (-38.47506 -3.441198)'))) / (select extract(epoch from '2026-07-18 14:58:22'::timestamp) - extract(epoch from '2026-07-18 14:58:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475089 -3.441282)', '2026-07-18 14:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47506 -3.441198)'), GeomFromEWKT('SRID=4674;POINT (-38.475089 -3.441282)'))) / (select extract(epoch from '2026-07-18 14:58:27'::timestamp) - extract(epoch from '2026-07-18 14:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47506 -3.441198)'), GeomFromEWKT('SRID=4674;POINT (-38.475089 -3.441282)'))) / (select extract(epoch from '2026-07-18 14:58:27'::timestamp) - extract(epoch from '2026-07-18 14:58:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475109 -3.441319)', '2026-07-18 14:58:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475089 -3.441282)'), GeomFromEWKT('SRID=4674;POINT (-38.475109 -3.441319)'))) / (select extract(epoch from '2026-07-18 14:58:29'::timestamp) - extract(epoch from '2026-07-18 14:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475089 -3.441282)'), GeomFromEWKT('SRID=4674;POINT (-38.475109 -3.441319)'))) / (select extract(epoch from '2026-07-18 14:58:29'::timestamp) - extract(epoch from '2026-07-18 14:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475124 -3.441375)', '2026-07-18 14:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475109 -3.441319)'), GeomFromEWKT('SRID=4674;POINT (-38.475124 -3.441375)'))) / (select extract(epoch from '2026-07-18 14:58:32'::timestamp) - extract(epoch from '2026-07-18 14:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475109 -3.441319)'), GeomFromEWKT('SRID=4674;POINT (-38.475124 -3.441375)'))) / (select extract(epoch from '2026-07-18 14:58:32'::timestamp) - extract(epoch from '2026-07-18 14:58:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475154 -3.441431)', '2026-07-18 14:58:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475124 -3.441375)'), GeomFromEWKT('SRID=4674;POINT (-38.475154 -3.441431)'))) / (select extract(epoch from '2026-07-18 14:58:36'::timestamp) - extract(epoch from '2026-07-18 14:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475124 -3.441375)'), GeomFromEWKT('SRID=4674;POINT (-38.475154 -3.441431)'))) / (select extract(epoch from '2026-07-18 14:58:36'::timestamp) - extract(epoch from '2026-07-18 14:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475184 -3.441504)', '2026-07-18 14:58:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475154 -3.441431)'), GeomFromEWKT('SRID=4674;POINT (-38.475184 -3.441504)'))) / (select extract(epoch from '2026-07-18 14:58:41'::timestamp) - extract(epoch from '2026-07-18 14:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475154 -3.441431)'), GeomFromEWKT('SRID=4674;POINT (-38.475184 -3.441504)'))) / (select extract(epoch from '2026-07-18 14:58:41'::timestamp) - extract(epoch from '2026-07-18 14:58:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475226 -3.441578)', '2026-07-18 14:58:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475184 -3.441504)'), GeomFromEWKT('SRID=4674;POINT (-38.475226 -3.441578)'))) / (select extract(epoch from '2026-07-18 14:58:46'::timestamp) - extract(epoch from '2026-07-18 14:58:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475184 -3.441504)'), GeomFromEWKT('SRID=4674;POINT (-38.475226 -3.441578)'))) / (select extract(epoch from '2026-07-18 14:58:46'::timestamp) - extract(epoch from '2026-07-18 14:58:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47527 -3.441659)', '2026-07-18 14:58:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475226 -3.441578)'), GeomFromEWKT('SRID=4674;POINT (-38.47527 -3.441659)'))) / (select extract(epoch from '2026-07-18 14:58:51'::timestamp) - extract(epoch from '2026-07-18 14:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475226 -3.441578)'), GeomFromEWKT('SRID=4674;POINT (-38.47527 -3.441659)'))) / (select extract(epoch from '2026-07-18 14:58:51'::timestamp) - extract(epoch from '2026-07-18 14:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475289 -3.441695)', '2026-07-18 14:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47527 -3.441659)'), GeomFromEWKT('SRID=4674;POINT (-38.475289 -3.441695)'))) / (select extract(epoch from '2026-07-18 14:58:54'::timestamp) - extract(epoch from '2026-07-18 14:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47527 -3.441659)'), GeomFromEWKT('SRID=4674;POINT (-38.475289 -3.441695)'))) / (select extract(epoch from '2026-07-18 14:58:54'::timestamp) - extract(epoch from '2026-07-18 14:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475311 -3.441724)', '2026-07-18 14:58:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475289 -3.441695)'), GeomFromEWKT('SRID=4674;POINT (-38.475311 -3.441724)'))) / (select extract(epoch from '2026-07-18 14:58:56'::timestamp) - extract(epoch from '2026-07-18 14:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475289 -3.441695)'), GeomFromEWKT('SRID=4674;POINT (-38.475311 -3.441724)'))) / (select extract(epoch from '2026-07-18 14:58:56'::timestamp) - extract(epoch from '2026-07-18 14:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475353 -3.441805)', '2026-07-18 14:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475311 -3.441724)'), GeomFromEWKT('SRID=4674;POINT (-38.475353 -3.441805)'))) / (select extract(epoch from '2026-07-18 14:59:01'::timestamp) - extract(epoch from '2026-07-18 14:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475311 -3.441724)'), GeomFromEWKT('SRID=4674;POINT (-38.475353 -3.441805)'))) / (select extract(epoch from '2026-07-18 14:59:01'::timestamp) - extract(epoch from '2026-07-18 14:58:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475382 -3.441894)', '2026-07-18 14:59:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475353 -3.441805)'), GeomFromEWKT('SRID=4674;POINT (-38.475382 -3.441894)'))) / (select extract(epoch from '2026-07-18 14:59:06'::timestamp) - extract(epoch from '2026-07-18 14:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475353 -3.441805)'), GeomFromEWKT('SRID=4674;POINT (-38.475382 -3.441894)'))) / (select extract(epoch from '2026-07-18 14:59:06'::timestamp) - extract(epoch from '2026-07-18 14:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475408 -3.441988)', '2026-07-18 14:59:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475382 -3.441894)'), GeomFromEWKT('SRID=4674;POINT (-38.475408 -3.441988)'))) / (select extract(epoch from '2026-07-18 14:59:12'::timestamp) - extract(epoch from '2026-07-18 14:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475382 -3.441894)'), GeomFromEWKT('SRID=4674;POINT (-38.475408 -3.441988)'))) / (select extract(epoch from '2026-07-18 14:59:12'::timestamp) - extract(epoch from '2026-07-18 14:59:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475416 -3.442013)', '2026-07-18 14:59:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475408 -3.441988)'), GeomFromEWKT('SRID=4674;POINT (-38.475416 -3.442013)'))) / (select extract(epoch from '2026-07-18 14:59:14'::timestamp) - extract(epoch from '2026-07-18 14:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475408 -3.441988)'), GeomFromEWKT('SRID=4674;POINT (-38.475416 -3.442013)'))) / (select extract(epoch from '2026-07-18 14:59:14'::timestamp) - extract(epoch from '2026-07-18 14:59:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475447 -3.442059)', '2026-07-18 14:59:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475416 -3.442013)'), GeomFromEWKT('SRID=4674;POINT (-38.475447 -3.442059)'))) / (select extract(epoch from '2026-07-18 14:59:17'::timestamp) - extract(epoch from '2026-07-18 14:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475416 -3.442013)'), GeomFromEWKT('SRID=4674;POINT (-38.475447 -3.442059)'))) / (select extract(epoch from '2026-07-18 14:59:17'::timestamp) - extract(epoch from '2026-07-18 14:59:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475454 -3.442075)', '2026-07-18 14:59:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475447 -3.442059)'), GeomFromEWKT('SRID=4674;POINT (-38.475454 -3.442075)'))) / (select extract(epoch from '2026-07-18 14:59:18'::timestamp) - extract(epoch from '2026-07-18 14:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475447 -3.442059)'), GeomFromEWKT('SRID=4674;POINT (-38.475454 -3.442075)'))) / (select extract(epoch from '2026-07-18 14:59:18'::timestamp) - extract(epoch from '2026-07-18 14:59:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475465 -3.442103)', '2026-07-18 14:59:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475454 -3.442075)'), GeomFromEWKT('SRID=4674;POINT (-38.475465 -3.442103)'))) / (select extract(epoch from '2026-07-18 14:59:20'::timestamp) - extract(epoch from '2026-07-18 14:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475454 -3.442075)'), GeomFromEWKT('SRID=4674;POINT (-38.475465 -3.442103)'))) / (select extract(epoch from '2026-07-18 14:59:20'::timestamp) - extract(epoch from '2026-07-18 14:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475474 -3.442114)', '2026-07-18 14:59:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475465 -3.442103)'), GeomFromEWKT('SRID=4674;POINT (-38.475474 -3.442114)'))) / (select extract(epoch from '2026-07-18 14:59:21'::timestamp) - extract(epoch from '2026-07-18 14:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475465 -3.442103)'), GeomFromEWKT('SRID=4674;POINT (-38.475474 -3.442114)'))) / (select extract(epoch from '2026-07-18 14:59:21'::timestamp) - extract(epoch from '2026-07-18 14:59:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475505 -3.442171)', '2026-07-18 14:59:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475474 -3.442114)'), GeomFromEWKT('SRID=4674;POINT (-38.475505 -3.442171)'))) / (select extract(epoch from '2026-07-18 14:59:25'::timestamp) - extract(epoch from '2026-07-18 14:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475474 -3.442114)'), GeomFromEWKT('SRID=4674;POINT (-38.475505 -3.442171)'))) / (select extract(epoch from '2026-07-18 14:59:25'::timestamp) - extract(epoch from '2026-07-18 14:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475511 -3.442187)', '2026-07-18 14:59:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475505 -3.442171)'), GeomFromEWKT('SRID=4674;POINT (-38.475511 -3.442187)'))) / (select extract(epoch from '2026-07-18 14:59:26'::timestamp) - extract(epoch from '2026-07-18 14:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475505 -3.442171)'), GeomFromEWKT('SRID=4674;POINT (-38.475511 -3.442187)'))) / (select extract(epoch from '2026-07-18 14:59:26'::timestamp) - extract(epoch from '2026-07-18 14:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475561 -3.442249)', '2026-07-18 14:59:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475511 -3.442187)'), GeomFromEWKT('SRID=4674;POINT (-38.475561 -3.442249)'))) / (select extract(epoch from '2026-07-18 14:59:30'::timestamp) - extract(epoch from '2026-07-18 14:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475511 -3.442187)'), GeomFromEWKT('SRID=4674;POINT (-38.475561 -3.442249)'))) / (select extract(epoch from '2026-07-18 14:59:30'::timestamp) - extract(epoch from '2026-07-18 14:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475608 -3.442363)', '2026-07-18 14:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475561 -3.442249)'), GeomFromEWKT('SRID=4674;POINT (-38.475608 -3.442363)'))) / (select extract(epoch from '2026-07-18 14:59:36'::timestamp) - extract(epoch from '2026-07-18 14:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475561 -3.442249)'), GeomFromEWKT('SRID=4674;POINT (-38.475608 -3.442363)'))) / (select extract(epoch from '2026-07-18 14:59:36'::timestamp) - extract(epoch from '2026-07-18 14:59:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475644 -3.442483)', '2026-07-18 14:59:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475608 -3.442363)'), GeomFromEWKT('SRID=4674;POINT (-38.475644 -3.442483)'))) / (select extract(epoch from '2026-07-18 14:59:42'::timestamp) - extract(epoch from '2026-07-18 14:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475608 -3.442363)'), GeomFromEWKT('SRID=4674;POINT (-38.475644 -3.442483)'))) / (select extract(epoch from '2026-07-18 14:59:42'::timestamp) - extract(epoch from '2026-07-18 14:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475674 -3.44256)', '2026-07-18 14:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475644 -3.442483)'), GeomFromEWKT('SRID=4674;POINT (-38.475674 -3.44256)'))) / (select extract(epoch from '2026-07-18 14:59:46'::timestamp) - extract(epoch from '2026-07-18 14:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475644 -3.442483)'), GeomFromEWKT('SRID=4674;POINT (-38.475674 -3.44256)'))) / (select extract(epoch from '2026-07-18 14:59:46'::timestamp) - extract(epoch from '2026-07-18 14:59:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475706 -3.442637)', '2026-07-18 14:59:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475674 -3.44256)'), GeomFromEWKT('SRID=4674;POINT (-38.475706 -3.442637)'))) / (select extract(epoch from '2026-07-18 14:59:50'::timestamp) - extract(epoch from '2026-07-18 14:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475674 -3.44256)'), GeomFromEWKT('SRID=4674;POINT (-38.475706 -3.442637)'))) / (select extract(epoch from '2026-07-18 14:59:50'::timestamp) - extract(epoch from '2026-07-18 14:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475738 -3.442716)', '2026-07-18 14:59:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475706 -3.442637)'), GeomFromEWKT('SRID=4674;POINT (-38.475738 -3.442716)'))) / (select extract(epoch from '2026-07-18 14:59:54'::timestamp) - extract(epoch from '2026-07-18 14:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475706 -3.442637)'), GeomFromEWKT('SRID=4674;POINT (-38.475738 -3.442716)'))) / (select extract(epoch from '2026-07-18 14:59:54'::timestamp) - extract(epoch from '2026-07-18 14:59:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475776 -3.44279)', '2026-07-18 14:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475738 -3.442716)'), GeomFromEWKT('SRID=4674;POINT (-38.475776 -3.44279)'))) / (select extract(epoch from '2026-07-18 14:59:59'::timestamp) - extract(epoch from '2026-07-18 14:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475738 -3.442716)'), GeomFromEWKT('SRID=4674;POINT (-38.475776 -3.44279)'))) / (select extract(epoch from '2026-07-18 14:59:59'::timestamp) - extract(epoch from '2026-07-18 14:59:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475791 -3.442809)', '2026-07-18 15:00:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475776 -3.44279)'), GeomFromEWKT('SRID=4674;POINT (-38.475791 -3.442809)'))) / (select extract(epoch from '2026-07-18 15:00:01'::timestamp) - extract(epoch from '2026-07-18 14:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475776 -3.44279)'), GeomFromEWKT('SRID=4674;POINT (-38.475791 -3.442809)'))) / (select extract(epoch from '2026-07-18 15:00:01'::timestamp) - extract(epoch from '2026-07-18 14:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475806 -3.442833)', '2026-07-18 15:00:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475791 -3.442809)'), GeomFromEWKT('SRID=4674;POINT (-38.475806 -3.442833)'))) / (select extract(epoch from '2026-07-18 15:00:03'::timestamp) - extract(epoch from '2026-07-18 15:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475791 -3.442809)'), GeomFromEWKT('SRID=4674;POINT (-38.475806 -3.442833)'))) / (select extract(epoch from '2026-07-18 15:00:03'::timestamp) - extract(epoch from '2026-07-18 15:00:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475856 -3.442943)', '2026-07-18 15:00:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475806 -3.442833)'), GeomFromEWKT('SRID=4674;POINT (-38.475856 -3.442943)'))) / (select extract(epoch from '2026-07-18 15:00:09'::timestamp) - extract(epoch from '2026-07-18 15:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475806 -3.442833)'), GeomFromEWKT('SRID=4674;POINT (-38.475856 -3.442943)'))) / (select extract(epoch from '2026-07-18 15:00:09'::timestamp) - extract(epoch from '2026-07-18 15:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475884 -3.443036)', '2026-07-18 15:00:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475856 -3.442943)'), GeomFromEWKT('SRID=4674;POINT (-38.475884 -3.443036)'))) / (select extract(epoch from '2026-07-18 15:00:14'::timestamp) - extract(epoch from '2026-07-18 15:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475856 -3.442943)'), GeomFromEWKT('SRID=4674;POINT (-38.475884 -3.443036)'))) / (select extract(epoch from '2026-07-18 15:00:14'::timestamp) - extract(epoch from '2026-07-18 15:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475918 -3.44312)', '2026-07-18 15:00:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475884 -3.443036)'), GeomFromEWKT('SRID=4674;POINT (-38.475918 -3.44312)'))) / (select extract(epoch from '2026-07-18 15:00:19'::timestamp) - extract(epoch from '2026-07-18 15:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475884 -3.443036)'), GeomFromEWKT('SRID=4674;POINT (-38.475918 -3.44312)'))) / (select extract(epoch from '2026-07-18 15:00:19'::timestamp) - extract(epoch from '2026-07-18 15:00:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475952 -3.443187)', '2026-07-18 15:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475918 -3.44312)'), GeomFromEWKT('SRID=4674;POINT (-38.475952 -3.443187)'))) / (select extract(epoch from '2026-07-18 15:00:23'::timestamp) - extract(epoch from '2026-07-18 15:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475918 -3.44312)'), GeomFromEWKT('SRID=4674;POINT (-38.475952 -3.443187)'))) / (select extract(epoch from '2026-07-18 15:00:23'::timestamp) - extract(epoch from '2026-07-18 15:00:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475953 -3.4432)', '2026-07-18 15:00:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475952 -3.443187)'), GeomFromEWKT('SRID=4674;POINT (-38.475953 -3.4432)'))) / (select extract(epoch from '2026-07-18 15:00:24'::timestamp) - extract(epoch from '2026-07-18 15:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475952 -3.443187)'), GeomFromEWKT('SRID=4674;POINT (-38.475953 -3.4432)'))) / (select extract(epoch from '2026-07-18 15:00:24'::timestamp) - extract(epoch from '2026-07-18 15:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475957 -3.443212)', '2026-07-18 15:00:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475953 -3.4432)'), GeomFromEWKT('SRID=4674;POINT (-38.475957 -3.443212)'))) / (select extract(epoch from '2026-07-18 15:00:25'::timestamp) - extract(epoch from '2026-07-18 15:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475953 -3.4432)'), GeomFromEWKT('SRID=4674;POINT (-38.475957 -3.443212)'))) / (select extract(epoch from '2026-07-18 15:00:25'::timestamp) - extract(epoch from '2026-07-18 15:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.475988 -3.443237)', '2026-07-18 15:00:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475957 -3.443212)'), GeomFromEWKT('SRID=4674;POINT (-38.475988 -3.443237)'))) / (select extract(epoch from '2026-07-18 15:00:28'::timestamp) - extract(epoch from '2026-07-18 15:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475957 -3.443212)'), GeomFromEWKT('SRID=4674;POINT (-38.475988 -3.443237)'))) / (select extract(epoch from '2026-07-18 15:00:28'::timestamp) - extract(epoch from '2026-07-18 15:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476058 -3.443293)', '2026-07-18 15:00:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475988 -3.443237)'), GeomFromEWKT('SRID=4674;POINT (-38.476058 -3.443293)'))) / (select extract(epoch from '2026-07-18 15:00:36'::timestamp) - extract(epoch from '2026-07-18 15:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.475988 -3.443237)'), GeomFromEWKT('SRID=4674;POINT (-38.476058 -3.443293)'))) / (select extract(epoch from '2026-07-18 15:00:36'::timestamp) - extract(epoch from '2026-07-18 15:00:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476122 -3.443428)', '2026-07-18 15:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476058 -3.443293)'), GeomFromEWKT('SRID=4674;POINT (-38.476122 -3.443428)'))) / (select extract(epoch from '2026-07-18 15:00:44'::timestamp) - extract(epoch from '2026-07-18 15:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476058 -3.443293)'), GeomFromEWKT('SRID=4674;POINT (-38.476122 -3.443428)'))) / (select extract(epoch from '2026-07-18 15:00:44'::timestamp) - extract(epoch from '2026-07-18 15:00:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476154 -3.443522)', '2026-07-18 15:00:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476122 -3.443428)'), GeomFromEWKT('SRID=4674;POINT (-38.476154 -3.443522)'))) / (select extract(epoch from '2026-07-18 15:00:50'::timestamp) - extract(epoch from '2026-07-18 15:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476122 -3.443428)'), GeomFromEWKT('SRID=4674;POINT (-38.476154 -3.443522)'))) / (select extract(epoch from '2026-07-18 15:00:50'::timestamp) - extract(epoch from '2026-07-18 15:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476187 -3.44358)', '2026-07-18 15:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476154 -3.443522)'), GeomFromEWKT('SRID=4674;POINT (-38.476187 -3.44358)'))) / (select extract(epoch from '2026-07-18 15:00:55'::timestamp) - extract(epoch from '2026-07-18 15:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476154 -3.443522)'), GeomFromEWKT('SRID=4674;POINT (-38.476187 -3.44358)'))) / (select extract(epoch from '2026-07-18 15:00:55'::timestamp) - extract(epoch from '2026-07-18 15:00:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476198 -3.443589)', '2026-07-18 15:00:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476187 -3.44358)'), GeomFromEWKT('SRID=4674;POINT (-38.476198 -3.443589)'))) / (select extract(epoch from '2026-07-18 15:00:56'::timestamp) - extract(epoch from '2026-07-18 15:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476187 -3.44358)'), GeomFromEWKT('SRID=4674;POINT (-38.476198 -3.443589)'))) / (select extract(epoch from '2026-07-18 15:00:56'::timestamp) - extract(epoch from '2026-07-18 15:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476207 -3.443605)', '2026-07-18 15:00:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476198 -3.443589)'), GeomFromEWKT('SRID=4674;POINT (-38.476207 -3.443605)'))) / (select extract(epoch from '2026-07-18 15:00:57'::timestamp) - extract(epoch from '2026-07-18 15:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476198 -3.443589)'), GeomFromEWKT('SRID=4674;POINT (-38.476207 -3.443605)'))) / (select extract(epoch from '2026-07-18 15:00:57'::timestamp) - extract(epoch from '2026-07-18 15:00:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476243 -3.443673)', '2026-07-18 15:01:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476207 -3.443605)'), GeomFromEWKT('SRID=4674;POINT (-38.476243 -3.443673)'))) / (select extract(epoch from '2026-07-18 15:01:01'::timestamp) - extract(epoch from '2026-07-18 15:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476207 -3.443605)'), GeomFromEWKT('SRID=4674;POINT (-38.476243 -3.443673)'))) / (select extract(epoch from '2026-07-18 15:01:01'::timestamp) - extract(epoch from '2026-07-18 15:00:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476304 -3.443793)', '2026-07-18 15:01:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476243 -3.443673)'), GeomFromEWKT('SRID=4674;POINT (-38.476304 -3.443793)'))) / (select extract(epoch from '2026-07-18 15:01:08'::timestamp) - extract(epoch from '2026-07-18 15:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476243 -3.443673)'), GeomFromEWKT('SRID=4674;POINT (-38.476304 -3.443793)'))) / (select extract(epoch from '2026-07-18 15:01:08'::timestamp) - extract(epoch from '2026-07-18 15:01:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476343 -3.443835)', '2026-07-18 15:01:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476304 -3.443793)'), GeomFromEWKT('SRID=4674;POINT (-38.476343 -3.443835)'))) / (select extract(epoch from '2026-07-18 15:01:11'::timestamp) - extract(epoch from '2026-07-18 15:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476304 -3.443793)'), GeomFromEWKT('SRID=4674;POINT (-38.476343 -3.443835)'))) / (select extract(epoch from '2026-07-18 15:01:11'::timestamp) - extract(epoch from '2026-07-18 15:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476345 -3.443848)', '2026-07-18 15:01:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476343 -3.443835)'), GeomFromEWKT('SRID=4674;POINT (-38.476345 -3.443848)'))) / (select extract(epoch from '2026-07-18 15:01:12'::timestamp) - extract(epoch from '2026-07-18 15:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476343 -3.443835)'), GeomFromEWKT('SRID=4674;POINT (-38.476345 -3.443848)'))) / (select extract(epoch from '2026-07-18 15:01:12'::timestamp) - extract(epoch from '2026-07-18 15:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476388 -3.443916)', '2026-07-18 15:01:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476345 -3.443848)'), GeomFromEWKT('SRID=4674;POINT (-38.476388 -3.443916)'))) / (select extract(epoch from '2026-07-18 15:01:17'::timestamp) - extract(epoch from '2026-07-18 15:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476345 -3.443848)'), GeomFromEWKT('SRID=4674;POINT (-38.476388 -3.443916)'))) / (select extract(epoch from '2026-07-18 15:01:17'::timestamp) - extract(epoch from '2026-07-18 15:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476449 -3.444)', '2026-07-18 15:01:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476388 -3.443916)'), GeomFromEWKT('SRID=4674;POINT (-38.476449 -3.444)'))) / (select extract(epoch from '2026-07-18 15:01:23'::timestamp) - extract(epoch from '2026-07-18 15:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476388 -3.443916)'), GeomFromEWKT('SRID=4674;POINT (-38.476449 -3.444)'))) / (select extract(epoch from '2026-07-18 15:01:23'::timestamp) - extract(epoch from '2026-07-18 15:01:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476501 -3.444101)', '2026-07-18 15:01:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476449 -3.444)'), GeomFromEWKT('SRID=4674;POINT (-38.476501 -3.444101)'))) / (select extract(epoch from '2026-07-18 15:01:29'::timestamp) - extract(epoch from '2026-07-18 15:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476449 -3.444)'), GeomFromEWKT('SRID=4674;POINT (-38.476501 -3.444101)'))) / (select extract(epoch from '2026-07-18 15:01:29'::timestamp) - extract(epoch from '2026-07-18 15:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476553 -3.444206)', '2026-07-18 15:01:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476501 -3.444101)'), GeomFromEWKT('SRID=4674;POINT (-38.476553 -3.444206)'))) / (select extract(epoch from '2026-07-18 15:01:35'::timestamp) - extract(epoch from '2026-07-18 15:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476501 -3.444101)'), GeomFromEWKT('SRID=4674;POINT (-38.476553 -3.444206)'))) / (select extract(epoch from '2026-07-18 15:01:35'::timestamp) - extract(epoch from '2026-07-18 15:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476607 -3.444309)', '2026-07-18 15:01:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476553 -3.444206)'), GeomFromEWKT('SRID=4674;POINT (-38.476607 -3.444309)'))) / (select extract(epoch from '2026-07-18 15:01:41'::timestamp) - extract(epoch from '2026-07-18 15:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476553 -3.444206)'), GeomFromEWKT('SRID=4674;POINT (-38.476607 -3.444309)'))) / (select extract(epoch from '2026-07-18 15:01:41'::timestamp) - extract(epoch from '2026-07-18 15:01:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476638 -3.444375)', '2026-07-18 15:01:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476607 -3.444309)'), GeomFromEWKT('SRID=4674;POINT (-38.476638 -3.444375)'))) / (select extract(epoch from '2026-07-18 15:01:45'::timestamp) - extract(epoch from '2026-07-18 15:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476607 -3.444309)'), GeomFromEWKT('SRID=4674;POINT (-38.476638 -3.444375)'))) / (select extract(epoch from '2026-07-18 15:01:45'::timestamp) - extract(epoch from '2026-07-18 15:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476638 -3.444392)', '2026-07-18 15:01:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476638 -3.444375)'), GeomFromEWKT('SRID=4674;POINT (-38.476638 -3.444392)'))) / (select extract(epoch from '2026-07-18 15:01:46'::timestamp) - extract(epoch from '2026-07-18 15:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476638 -3.444375)'), GeomFromEWKT('SRID=4674;POINT (-38.476638 -3.444392)'))) / (select extract(epoch from '2026-07-18 15:01:46'::timestamp) - extract(epoch from '2026-07-18 15:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47668 -3.444489)', '2026-07-18 15:01:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476638 -3.444392)'), GeomFromEWKT('SRID=4674;POINT (-38.47668 -3.444489)'))) / (select extract(epoch from '2026-07-18 15:01:51'::timestamp) - extract(epoch from '2026-07-18 15:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476638 -3.444392)'), GeomFromEWKT('SRID=4674;POINT (-38.47668 -3.444489)'))) / (select extract(epoch from '2026-07-18 15:01:51'::timestamp) - extract(epoch from '2026-07-18 15:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476715 -3.444585)', '2026-07-18 15:01:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47668 -3.444489)'), GeomFromEWKT('SRID=4674;POINT (-38.476715 -3.444585)'))) / (select extract(epoch from '2026-07-18 15:01:56'::timestamp) - extract(epoch from '2026-07-18 15:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47668 -3.444489)'), GeomFromEWKT('SRID=4674;POINT (-38.476715 -3.444585)'))) / (select extract(epoch from '2026-07-18 15:01:56'::timestamp) - extract(epoch from '2026-07-18 15:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476755 -3.444699)', '2026-07-18 15:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476715 -3.444585)'), GeomFromEWKT('SRID=4674;POINT (-38.476755 -3.444699)'))) / (select extract(epoch from '2026-07-18 15:02:02'::timestamp) - extract(epoch from '2026-07-18 15:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476715 -3.444585)'), GeomFromEWKT('SRID=4674;POINT (-38.476755 -3.444699)'))) / (select extract(epoch from '2026-07-18 15:02:02'::timestamp) - extract(epoch from '2026-07-18 15:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476793 -3.444806)', '2026-07-18 15:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476755 -3.444699)'), GeomFromEWKT('SRID=4674;POINT (-38.476793 -3.444806)'))) / (select extract(epoch from '2026-07-18 15:02:08'::timestamp) - extract(epoch from '2026-07-18 15:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476755 -3.444699)'), GeomFromEWKT('SRID=4674;POINT (-38.476793 -3.444806)'))) / (select extract(epoch from '2026-07-18 15:02:08'::timestamp) - extract(epoch from '2026-07-18 15:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476835 -3.444904)', '2026-07-18 15:02:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476793 -3.444806)'), GeomFromEWKT('SRID=4674;POINT (-38.476835 -3.444904)'))) / (select extract(epoch from '2026-07-18 15:02:14'::timestamp) - extract(epoch from '2026-07-18 15:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476793 -3.444806)'), GeomFromEWKT('SRID=4674;POINT (-38.476835 -3.444904)'))) / (select extract(epoch from '2026-07-18 15:02:14'::timestamp) - extract(epoch from '2026-07-18 15:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476887 -3.444993)', '2026-07-18 15:02:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476835 -3.444904)'), GeomFromEWKT('SRID=4674;POINT (-38.476887 -3.444993)'))) / (select extract(epoch from '2026-07-18 15:02:20'::timestamp) - extract(epoch from '2026-07-18 15:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476835 -3.444904)'), GeomFromEWKT('SRID=4674;POINT (-38.476887 -3.444993)'))) / (select extract(epoch from '2026-07-18 15:02:20'::timestamp) - extract(epoch from '2026-07-18 15:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476899 -3.445025)', '2026-07-18 15:02:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476887 -3.444993)'), GeomFromEWKT('SRID=4674;POINT (-38.476899 -3.445025)'))) / (select extract(epoch from '2026-07-18 15:02:22'::timestamp) - extract(epoch from '2026-07-18 15:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476887 -3.444993)'), GeomFromEWKT('SRID=4674;POINT (-38.476899 -3.445025)'))) / (select extract(epoch from '2026-07-18 15:02:22'::timestamp) - extract(epoch from '2026-07-18 15:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476936 -3.445077)', '2026-07-18 15:02:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476899 -3.445025)'), GeomFromEWKT('SRID=4674;POINT (-38.476936 -3.445077)'))) / (select extract(epoch from '2026-07-18 15:02:25'::timestamp) - extract(epoch from '2026-07-18 15:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476899 -3.445025)'), GeomFromEWKT('SRID=4674;POINT (-38.476936 -3.445077)'))) / (select extract(epoch from '2026-07-18 15:02:25'::timestamp) - extract(epoch from '2026-07-18 15:02:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476942 -3.445104)', '2026-07-18 15:02:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476936 -3.445077)'), GeomFromEWKT('SRID=4674;POINT (-38.476942 -3.445104)'))) / (select extract(epoch from '2026-07-18 15:02:27'::timestamp) - extract(epoch from '2026-07-18 15:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476936 -3.445077)'), GeomFromEWKT('SRID=4674;POINT (-38.476942 -3.445104)'))) / (select extract(epoch from '2026-07-18 15:02:27'::timestamp) - extract(epoch from '2026-07-18 15:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.476961 -3.445133)', '2026-07-18 15:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476942 -3.445104)'), GeomFromEWKT('SRID=4674;POINT (-38.476961 -3.445133)'))) / (select extract(epoch from '2026-07-18 15:02:29'::timestamp) - extract(epoch from '2026-07-18 15:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476942 -3.445104)'), GeomFromEWKT('SRID=4674;POINT (-38.476961 -3.445133)'))) / (select extract(epoch from '2026-07-18 15:02:29'::timestamp) - extract(epoch from '2026-07-18 15:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477007 -3.445232)', '2026-07-18 15:02:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476961 -3.445133)'), GeomFromEWKT('SRID=4674;POINT (-38.477007 -3.445232)'))) / (select extract(epoch from '2026-07-18 15:02:35'::timestamp) - extract(epoch from '2026-07-18 15:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.476961 -3.445133)'), GeomFromEWKT('SRID=4674;POINT (-38.477007 -3.445232)'))) / (select extract(epoch from '2026-07-18 15:02:35'::timestamp) - extract(epoch from '2026-07-18 15:02:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477021 -3.445264)', '2026-07-18 15:02:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477007 -3.445232)'), GeomFromEWKT('SRID=4674;POINT (-38.477021 -3.445264)'))) / (select extract(epoch from '2026-07-18 15:02:37'::timestamp) - extract(epoch from '2026-07-18 15:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477007 -3.445232)'), GeomFromEWKT('SRID=4674;POINT (-38.477021 -3.445264)'))) / (select extract(epoch from '2026-07-18 15:02:37'::timestamp) - extract(epoch from '2026-07-18 15:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477032 -3.44528)', '2026-07-18 15:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477021 -3.445264)'), GeomFromEWKT('SRID=4674;POINT (-38.477032 -3.44528)'))) / (select extract(epoch from '2026-07-18 15:02:39'::timestamp) - extract(epoch from '2026-07-18 15:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477021 -3.445264)'), GeomFromEWKT('SRID=4674;POINT (-38.477032 -3.44528)'))) / (select extract(epoch from '2026-07-18 15:02:39'::timestamp) - extract(epoch from '2026-07-18 15:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477078 -3.445363)', '2026-07-18 15:02:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477032 -3.44528)'), GeomFromEWKT('SRID=4674;POINT (-38.477078 -3.445363)'))) / (select extract(epoch from '2026-07-18 15:02:44'::timestamp) - extract(epoch from '2026-07-18 15:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477032 -3.44528)'), GeomFromEWKT('SRID=4674;POINT (-38.477078 -3.445363)'))) / (select extract(epoch from '2026-07-18 15:02:44'::timestamp) - extract(epoch from '2026-07-18 15:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477121 -3.445449)', '2026-07-18 15:02:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477078 -3.445363)'), GeomFromEWKT('SRID=4674;POINT (-38.477121 -3.445449)'))) / (select extract(epoch from '2026-07-18 15:02:49'::timestamp) - extract(epoch from '2026-07-18 15:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477078 -3.445363)'), GeomFromEWKT('SRID=4674;POINT (-38.477121 -3.445449)'))) / (select extract(epoch from '2026-07-18 15:02:49'::timestamp) - extract(epoch from '2026-07-18 15:02:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477168 -3.445553)', '2026-07-18 15:02:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477121 -3.445449)'), GeomFromEWKT('SRID=4674;POINT (-38.477168 -3.445553)'))) / (select extract(epoch from '2026-07-18 15:02:56'::timestamp) - extract(epoch from '2026-07-18 15:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477121 -3.445449)'), GeomFromEWKT('SRID=4674;POINT (-38.477168 -3.445553)'))) / (select extract(epoch from '2026-07-18 15:02:56'::timestamp) - extract(epoch from '2026-07-18 15:02:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477221 -3.445652)', '2026-07-18 15:03:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477168 -3.445553)'), GeomFromEWKT('SRID=4674;POINT (-38.477221 -3.445652)'))) / (select extract(epoch from '2026-07-18 15:03:02'::timestamp) - extract(epoch from '2026-07-18 15:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477168 -3.445553)'), GeomFromEWKT('SRID=4674;POINT (-38.477221 -3.445652)'))) / (select extract(epoch from '2026-07-18 15:03:02'::timestamp) - extract(epoch from '2026-07-18 15:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477254 -3.445725)', '2026-07-18 15:03:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477221 -3.445652)'), GeomFromEWKT('SRID=4674;POINT (-38.477254 -3.445725)'))) / (select extract(epoch from '2026-07-18 15:03:06'::timestamp) - extract(epoch from '2026-07-18 15:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477221 -3.445652)'), GeomFromEWKT('SRID=4674;POINT (-38.477254 -3.445725)'))) / (select extract(epoch from '2026-07-18 15:03:06'::timestamp) - extract(epoch from '2026-07-18 15:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477301 -3.445818)', '2026-07-18 15:03:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477254 -3.445725)'), GeomFromEWKT('SRID=4674;POINT (-38.477301 -3.445818)'))) / (select extract(epoch from '2026-07-18 15:03:12'::timestamp) - extract(epoch from '2026-07-18 15:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477254 -3.445725)'), GeomFromEWKT('SRID=4674;POINT (-38.477301 -3.445818)'))) / (select extract(epoch from '2026-07-18 15:03:12'::timestamp) - extract(epoch from '2026-07-18 15:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477357 -3.4459)', '2026-07-18 15:03:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477301 -3.445818)'), GeomFromEWKT('SRID=4674;POINT (-38.477357 -3.4459)'))) / (select extract(epoch from '2026-07-18 15:03:18'::timestamp) - extract(epoch from '2026-07-18 15:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477301 -3.445818)'), GeomFromEWKT('SRID=4674;POINT (-38.477357 -3.4459)'))) / (select extract(epoch from '2026-07-18 15:03:18'::timestamp) - extract(epoch from '2026-07-18 15:03:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477409 -3.445984)', '2026-07-18 15:03:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477357 -3.4459)'), GeomFromEWKT('SRID=4674;POINT (-38.477409 -3.445984)'))) / (select extract(epoch from '2026-07-18 15:03:23'::timestamp) - extract(epoch from '2026-07-18 15:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477357 -3.4459)'), GeomFromEWKT('SRID=4674;POINT (-38.477409 -3.445984)'))) / (select extract(epoch from '2026-07-18 15:03:23'::timestamp) - extract(epoch from '2026-07-18 15:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477457 -3.446073)', '2026-07-18 15:03:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477409 -3.445984)'), GeomFromEWKT('SRID=4674;POINT (-38.477457 -3.446073)'))) / (select extract(epoch from '2026-07-18 15:03:28'::timestamp) - extract(epoch from '2026-07-18 15:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477409 -3.445984)'), GeomFromEWKT('SRID=4674;POINT (-38.477457 -3.446073)'))) / (select extract(epoch from '2026-07-18 15:03:28'::timestamp) - extract(epoch from '2026-07-18 15:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477506 -3.44618)', '2026-07-18 15:03:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477457 -3.446073)'), GeomFromEWKT('SRID=4674;POINT (-38.477506 -3.44618)'))) / (select extract(epoch from '2026-07-18 15:03:34'::timestamp) - extract(epoch from '2026-07-18 15:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477457 -3.446073)'), GeomFromEWKT('SRID=4674;POINT (-38.477506 -3.44618)'))) / (select extract(epoch from '2026-07-18 15:03:34'::timestamp) - extract(epoch from '2026-07-18 15:03:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477547 -3.446288)', '2026-07-18 15:03:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477506 -3.44618)'), GeomFromEWKT('SRID=4674;POINT (-38.477547 -3.446288)'))) / (select extract(epoch from '2026-07-18 15:03:40'::timestamp) - extract(epoch from '2026-07-18 15:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477506 -3.44618)'), GeomFromEWKT('SRID=4674;POINT (-38.477547 -3.446288)'))) / (select extract(epoch from '2026-07-18 15:03:40'::timestamp) - extract(epoch from '2026-07-18 15:03:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47757 -3.446318)', '2026-07-18 15:03:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477547 -3.446288)'), GeomFromEWKT('SRID=4674;POINT (-38.47757 -3.446318)'))) / (select extract(epoch from '2026-07-18 15:03:42'::timestamp) - extract(epoch from '2026-07-18 15:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477547 -3.446288)'), GeomFromEWKT('SRID=4674;POINT (-38.47757 -3.446318)'))) / (select extract(epoch from '2026-07-18 15:03:42'::timestamp) - extract(epoch from '2026-07-18 15:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477573 -3.446335)', '2026-07-18 15:03:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47757 -3.446318)'), GeomFromEWKT('SRID=4674;POINT (-38.477573 -3.446335)'))) / (select extract(epoch from '2026-07-18 15:03:44'::timestamp) - extract(epoch from '2026-07-18 15:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47757 -3.446318)'), GeomFromEWKT('SRID=4674;POINT (-38.477573 -3.446335)'))) / (select extract(epoch from '2026-07-18 15:03:44'::timestamp) - extract(epoch from '2026-07-18 15:03:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477605 -3.446402)', '2026-07-18 15:03:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477573 -3.446335)'), GeomFromEWKT('SRID=4674;POINT (-38.477605 -3.446402)'))) / (select extract(epoch from '2026-07-18 15:03:48'::timestamp) - extract(epoch from '2026-07-18 15:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477573 -3.446335)'), GeomFromEWKT('SRID=4674;POINT (-38.477605 -3.446402)'))) / (select extract(epoch from '2026-07-18 15:03:48'::timestamp) - extract(epoch from '2026-07-18 15:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477647 -3.446478)', '2026-07-18 15:03:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477605 -3.446402)'), GeomFromEWKT('SRID=4674;POINT (-38.477647 -3.446478)'))) / (select extract(epoch from '2026-07-18 15:03:52'::timestamp) - extract(epoch from '2026-07-18 15:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477605 -3.446402)'), GeomFromEWKT('SRID=4674;POINT (-38.477647 -3.446478)'))) / (select extract(epoch from '2026-07-18 15:03:52'::timestamp) - extract(epoch from '2026-07-18 15:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477706 -3.446591)', '2026-07-18 15:03:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477647 -3.446478)'), GeomFromEWKT('SRID=4674;POINT (-38.477706 -3.446591)'))) / (select extract(epoch from '2026-07-18 15:03:58'::timestamp) - extract(epoch from '2026-07-18 15:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477647 -3.446478)'), GeomFromEWKT('SRID=4674;POINT (-38.477706 -3.446591)'))) / (select extract(epoch from '2026-07-18 15:03:58'::timestamp) - extract(epoch from '2026-07-18 15:03:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47776 -3.446703)', '2026-07-18 15:04:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477706 -3.446591)'), GeomFromEWKT('SRID=4674;POINT (-38.47776 -3.446703)'))) / (select extract(epoch from '2026-07-18 15:04:04'::timestamp) - extract(epoch from '2026-07-18 15:03:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477706 -3.446591)'), GeomFromEWKT('SRID=4674;POINT (-38.47776 -3.446703)'))) / (select extract(epoch from '2026-07-18 15:04:04'::timestamp) - extract(epoch from '2026-07-18 15:03:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477813 -3.446787)', '2026-07-18 15:04:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47776 -3.446703)'), GeomFromEWKT('SRID=4674;POINT (-38.477813 -3.446787)'))) / (select extract(epoch from '2026-07-18 15:04:10'::timestamp) - extract(epoch from '2026-07-18 15:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47776 -3.446703)'), GeomFromEWKT('SRID=4674;POINT (-38.477813 -3.446787)'))) / (select extract(epoch from '2026-07-18 15:04:10'::timestamp) - extract(epoch from '2026-07-18 15:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477869 -3.446882)', '2026-07-18 15:04:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477813 -3.446787)'), GeomFromEWKT('SRID=4674;POINT (-38.477869 -3.446882)'))) / (select extract(epoch from '2026-07-18 15:04:16'::timestamp) - extract(epoch from '2026-07-18 15:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477813 -3.446787)'), GeomFromEWKT('SRID=4674;POINT (-38.477869 -3.446882)'))) / (select extract(epoch from '2026-07-18 15:04:16'::timestamp) - extract(epoch from '2026-07-18 15:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477874 -3.446901)', '2026-07-18 15:04:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477869 -3.446882)'), GeomFromEWKT('SRID=4674;POINT (-38.477874 -3.446901)'))) / (select extract(epoch from '2026-07-18 15:04:17'::timestamp) - extract(epoch from '2026-07-18 15:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477869 -3.446882)'), GeomFromEWKT('SRID=4674;POINT (-38.477874 -3.446901)'))) / (select extract(epoch from '2026-07-18 15:04:17'::timestamp) - extract(epoch from '2026-07-18 15:04:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477887 -3.446921)', '2026-07-18 15:04:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477874 -3.446901)'), GeomFromEWKT('SRID=4674;POINT (-38.477887 -3.446921)'))) / (select extract(epoch from '2026-07-18 15:04:18'::timestamp) - extract(epoch from '2026-07-18 15:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477874 -3.446901)'), GeomFromEWKT('SRID=4674;POINT (-38.477887 -3.446921)'))) / (select extract(epoch from '2026-07-18 15:04:18'::timestamp) - extract(epoch from '2026-07-18 15:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477914 -3.446967)', '2026-07-18 15:04:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477887 -3.446921)'), GeomFromEWKT('SRID=4674;POINT (-38.477914 -3.446967)'))) / (select extract(epoch from '2026-07-18 15:04:21'::timestamp) - extract(epoch from '2026-07-18 15:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477887 -3.446921)'), GeomFromEWKT('SRID=4674;POINT (-38.477914 -3.446967)'))) / (select extract(epoch from '2026-07-18 15:04:21'::timestamp) - extract(epoch from '2026-07-18 15:04:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477955 -3.447051)', '2026-07-18 15:04:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477914 -3.446967)'), GeomFromEWKT('SRID=4674;POINT (-38.477955 -3.447051)'))) / (select extract(epoch from '2026-07-18 15:04:26'::timestamp) - extract(epoch from '2026-07-18 15:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477914 -3.446967)'), GeomFromEWKT('SRID=4674;POINT (-38.477955 -3.447051)'))) / (select extract(epoch from '2026-07-18 15:04:26'::timestamp) - extract(epoch from '2026-07-18 15:04:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.477978 -3.447134)', '2026-07-18 15:04:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477955 -3.447051)'), GeomFromEWKT('SRID=4674;POINT (-38.477978 -3.447134)'))) / (select extract(epoch from '2026-07-18 15:04:31'::timestamp) - extract(epoch from '2026-07-18 15:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477955 -3.447051)'), GeomFromEWKT('SRID=4674;POINT (-38.477978 -3.447134)'))) / (select extract(epoch from '2026-07-18 15:04:31'::timestamp) - extract(epoch from '2026-07-18 15:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478 -3.447202)', '2026-07-18 15:04:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477978 -3.447134)'), GeomFromEWKT('SRID=4674;POINT (-38.478 -3.447202)'))) / (select extract(epoch from '2026-07-18 15:04:36'::timestamp) - extract(epoch from '2026-07-18 15:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.477978 -3.447134)'), GeomFromEWKT('SRID=4674;POINT (-38.478 -3.447202)'))) / (select extract(epoch from '2026-07-18 15:04:36'::timestamp) - extract(epoch from '2026-07-18 15:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478007 -3.447221)', '2026-07-18 15:04:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478 -3.447202)'), GeomFromEWKT('SRID=4674;POINT (-38.478007 -3.447221)'))) / (select extract(epoch from '2026-07-18 15:04:37'::timestamp) - extract(epoch from '2026-07-18 15:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478 -3.447202)'), GeomFromEWKT('SRID=4674;POINT (-38.478007 -3.447221)'))) / (select extract(epoch from '2026-07-18 15:04:37'::timestamp) - extract(epoch from '2026-07-18 15:04:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478029 -3.44726)', '2026-07-18 15:04:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478007 -3.447221)'), GeomFromEWKT('SRID=4674;POINT (-38.478029 -3.44726)'))) / (select extract(epoch from '2026-07-18 15:04:40'::timestamp) - extract(epoch from '2026-07-18 15:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478007 -3.447221)'), GeomFromEWKT('SRID=4674;POINT (-38.478029 -3.44726)'))) / (select extract(epoch from '2026-07-18 15:04:40'::timestamp) - extract(epoch from '2026-07-18 15:04:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47809 -3.44734)', '2026-07-18 15:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478029 -3.44726)'), GeomFromEWKT('SRID=4674;POINT (-38.47809 -3.44734)'))) / (select extract(epoch from '2026-07-18 15:04:46'::timestamp) - extract(epoch from '2026-07-18 15:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478029 -3.44726)'), GeomFromEWKT('SRID=4674;POINT (-38.47809 -3.44734)'))) / (select extract(epoch from '2026-07-18 15:04:46'::timestamp) - extract(epoch from '2026-07-18 15:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478093 -3.447355)', '2026-07-18 15:04:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47809 -3.44734)'), GeomFromEWKT('SRID=4674;POINT (-38.478093 -3.447355)'))) / (select extract(epoch from '2026-07-18 15:04:47'::timestamp) - extract(epoch from '2026-07-18 15:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47809 -3.44734)'), GeomFromEWKT('SRID=4674;POINT (-38.478093 -3.447355)'))) / (select extract(epoch from '2026-07-18 15:04:47'::timestamp) - extract(epoch from '2026-07-18 15:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478115 -3.447404)', '2026-07-18 15:04:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478093 -3.447355)'), GeomFromEWKT('SRID=4674;POINT (-38.478115 -3.447404)'))) / (select extract(epoch from '2026-07-18 15:04:50'::timestamp) - extract(epoch from '2026-07-18 15:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478093 -3.447355)'), GeomFromEWKT('SRID=4674;POINT (-38.478115 -3.447404)'))) / (select extract(epoch from '2026-07-18 15:04:50'::timestamp) - extract(epoch from '2026-07-18 15:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478152 -3.447459)', '2026-07-18 15:04:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478115 -3.447404)'), GeomFromEWKT('SRID=4674;POINT (-38.478152 -3.447459)'))) / (select extract(epoch from '2026-07-18 15:04:55'::timestamp) - extract(epoch from '2026-07-18 15:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478115 -3.447404)'), GeomFromEWKT('SRID=4674;POINT (-38.478152 -3.447459)'))) / (select extract(epoch from '2026-07-18 15:04:55'::timestamp) - extract(epoch from '2026-07-18 15:04:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478209 -3.447565)', '2026-07-18 15:05:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478152 -3.447459)'), GeomFromEWKT('SRID=4674;POINT (-38.478209 -3.447565)'))) / (select extract(epoch from '2026-07-18 15:05:01'::timestamp) - extract(epoch from '2026-07-18 15:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478152 -3.447459)'), GeomFromEWKT('SRID=4674;POINT (-38.478209 -3.447565)'))) / (select extract(epoch from '2026-07-18 15:05:01'::timestamp) - extract(epoch from '2026-07-18 15:04:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478287 -3.447727)', '2026-07-18 15:05:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478209 -3.447565)'), GeomFromEWKT('SRID=4674;POINT (-38.478287 -3.447727)'))) / (select extract(epoch from '2026-07-18 15:05:10'::timestamp) - extract(epoch from '2026-07-18 15:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478209 -3.447565)'), GeomFromEWKT('SRID=4674;POINT (-38.478287 -3.447727)'))) / (select extract(epoch from '2026-07-18 15:05:10'::timestamp) - extract(epoch from '2026-07-18 15:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478336 -3.447838)', '2026-07-18 15:05:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478287 -3.447727)'), GeomFromEWKT('SRID=4674;POINT (-38.478336 -3.447838)'))) / (select extract(epoch from '2026-07-18 15:05:16'::timestamp) - extract(epoch from '2026-07-18 15:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478287 -3.447727)'), GeomFromEWKT('SRID=4674;POINT (-38.478336 -3.447838)'))) / (select extract(epoch from '2026-07-18 15:05:16'::timestamp) - extract(epoch from '2026-07-18 15:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478388 -3.447958)', '2026-07-18 15:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478336 -3.447838)'), GeomFromEWKT('SRID=4674;POINT (-38.478388 -3.447958)'))) / (select extract(epoch from '2026-07-18 15:05:23'::timestamp) - extract(epoch from '2026-07-18 15:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478336 -3.447838)'), GeomFromEWKT('SRID=4674;POINT (-38.478388 -3.447958)'))) / (select extract(epoch from '2026-07-18 15:05:23'::timestamp) - extract(epoch from '2026-07-18 15:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478443 -3.448064)', '2026-07-18 15:05:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478388 -3.447958)'), GeomFromEWKT('SRID=4674;POINT (-38.478443 -3.448064)'))) / (select extract(epoch from '2026-07-18 15:05:30'::timestamp) - extract(epoch from '2026-07-18 15:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478388 -3.447958)'), GeomFromEWKT('SRID=4674;POINT (-38.478443 -3.448064)'))) / (select extract(epoch from '2026-07-18 15:05:30'::timestamp) - extract(epoch from '2026-07-18 15:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478504 -3.448132)', '2026-07-18 15:05:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478443 -3.448064)'), GeomFromEWKT('SRID=4674;POINT (-38.478504 -3.448132)'))) / (select extract(epoch from '2026-07-18 15:05:34'::timestamp) - extract(epoch from '2026-07-18 15:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478443 -3.448064)'), GeomFromEWKT('SRID=4674;POINT (-38.478504 -3.448132)'))) / (select extract(epoch from '2026-07-18 15:05:34'::timestamp) - extract(epoch from '2026-07-18 15:05:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478513 -3.448148)', '2026-07-18 15:05:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478504 -3.448132)'), GeomFromEWKT('SRID=4674;POINT (-38.478513 -3.448148)'))) / (select extract(epoch from '2026-07-18 15:05:35'::timestamp) - extract(epoch from '2026-07-18 15:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478504 -3.448132)'), GeomFromEWKT('SRID=4674;POINT (-38.478513 -3.448148)'))) / (select extract(epoch from '2026-07-18 15:05:35'::timestamp) - extract(epoch from '2026-07-18 15:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478526 -3.44818)', '2026-07-18 15:05:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478513 -3.448148)'), GeomFromEWKT('SRID=4674;POINT (-38.478526 -3.44818)'))) / (select extract(epoch from '2026-07-18 15:05:37'::timestamp) - extract(epoch from '2026-07-18 15:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478513 -3.448148)'), GeomFromEWKT('SRID=4674;POINT (-38.478526 -3.44818)'))) / (select extract(epoch from '2026-07-18 15:05:37'::timestamp) - extract(epoch from '2026-07-18 15:05:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478541 -3.448196)', '2026-07-18 15:05:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478526 -3.44818)'), GeomFromEWKT('SRID=4674;POINT (-38.478541 -3.448196)'))) / (select extract(epoch from '2026-07-18 15:05:38'::timestamp) - extract(epoch from '2026-07-18 15:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478526 -3.44818)'), GeomFromEWKT('SRID=4674;POINT (-38.478541 -3.448196)'))) / (select extract(epoch from '2026-07-18 15:05:38'::timestamp) - extract(epoch from '2026-07-18 15:05:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478599 -3.448307)', '2026-07-18 15:05:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478541 -3.448196)'), GeomFromEWKT('SRID=4674;POINT (-38.478599 -3.448307)'))) / (select extract(epoch from '2026-07-18 15:05:44'::timestamp) - extract(epoch from '2026-07-18 15:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478541 -3.448196)'), GeomFromEWKT('SRID=4674;POINT (-38.478599 -3.448307)'))) / (select extract(epoch from '2026-07-18 15:05:44'::timestamp) - extract(epoch from '2026-07-18 15:05:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478661 -3.448395)', '2026-07-18 15:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478599 -3.448307)'), GeomFromEWKT('SRID=4674;POINT (-38.478661 -3.448395)'))) / (select extract(epoch from '2026-07-18 15:05:51'::timestamp) - extract(epoch from '2026-07-18 15:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478599 -3.448307)'), GeomFromEWKT('SRID=4674;POINT (-38.478661 -3.448395)'))) / (select extract(epoch from '2026-07-18 15:05:51'::timestamp) - extract(epoch from '2026-07-18 15:05:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478687 -3.44845)', '2026-07-18 15:05:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478661 -3.448395)'), GeomFromEWKT('SRID=4674;POINT (-38.478687 -3.44845)'))) / (select extract(epoch from '2026-07-18 15:05:54'::timestamp) - extract(epoch from '2026-07-18 15:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478661 -3.448395)'), GeomFromEWKT('SRID=4674;POINT (-38.478687 -3.44845)'))) / (select extract(epoch from '2026-07-18 15:05:54'::timestamp) - extract(epoch from '2026-07-18 15:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478707 -3.448474)', '2026-07-18 15:05:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478687 -3.44845)'), GeomFromEWKT('SRID=4674;POINT (-38.478707 -3.448474)'))) / (select extract(epoch from '2026-07-18 15:05:56'::timestamp) - extract(epoch from '2026-07-18 15:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478687 -3.44845)'), GeomFromEWKT('SRID=4674;POINT (-38.478707 -3.448474)'))) / (select extract(epoch from '2026-07-18 15:05:56'::timestamp) - extract(epoch from '2026-07-18 15:05:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478743 -3.44856)', '2026-07-18 15:06:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478707 -3.448474)'), GeomFromEWKT('SRID=4674;POINT (-38.478743 -3.44856)'))) / (select extract(epoch from '2026-07-18 15:06:02'::timestamp) - extract(epoch from '2026-07-18 15:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478707 -3.448474)'), GeomFromEWKT('SRID=4674;POINT (-38.478743 -3.44856)'))) / (select extract(epoch from '2026-07-18 15:06:02'::timestamp) - extract(epoch from '2026-07-18 15:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478789 -3.448629)', '2026-07-18 15:06:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478743 -3.44856)'), GeomFromEWKT('SRID=4674;POINT (-38.478789 -3.448629)'))) / (select extract(epoch from '2026-07-18 15:06:07'::timestamp) - extract(epoch from '2026-07-18 15:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478743 -3.44856)'), GeomFromEWKT('SRID=4674;POINT (-38.478789 -3.448629)'))) / (select extract(epoch from '2026-07-18 15:06:07'::timestamp) - extract(epoch from '2026-07-18 15:06:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478833 -3.448714)', '2026-07-18 15:06:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478789 -3.448629)'), GeomFromEWKT('SRID=4674;POINT (-38.478833 -3.448714)'))) / (select extract(epoch from '2026-07-18 15:06:12'::timestamp) - extract(epoch from '2026-07-18 15:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478789 -3.448629)'), GeomFromEWKT('SRID=4674;POINT (-38.478833 -3.448714)'))) / (select extract(epoch from '2026-07-18 15:06:12'::timestamp) - extract(epoch from '2026-07-18 15:06:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478872 -3.448774)', '2026-07-18 15:06:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478833 -3.448714)'), GeomFromEWKT('SRID=4674;POINT (-38.478872 -3.448774)'))) / (select extract(epoch from '2026-07-18 15:06:16'::timestamp) - extract(epoch from '2026-07-18 15:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478833 -3.448714)'), GeomFromEWKT('SRID=4674;POINT (-38.478872 -3.448774)'))) / (select extract(epoch from '2026-07-18 15:06:16'::timestamp) - extract(epoch from '2026-07-18 15:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478902 -3.448866)', '2026-07-18 15:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478872 -3.448774)'), GeomFromEWKT('SRID=4674;POINT (-38.478902 -3.448866)'))) / (select extract(epoch from '2026-07-18 15:06:21'::timestamp) - extract(epoch from '2026-07-18 15:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478872 -3.448774)'), GeomFromEWKT('SRID=4674;POINT (-38.478902 -3.448866)'))) / (select extract(epoch from '2026-07-18 15:06:21'::timestamp) - extract(epoch from '2026-07-18 15:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478905 -3.448878)', '2026-07-18 15:06:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478902 -3.448866)'), GeomFromEWKT('SRID=4674;POINT (-38.478905 -3.448878)'))) / (select extract(epoch from '2026-07-18 15:06:22'::timestamp) - extract(epoch from '2026-07-18 15:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478902 -3.448866)'), GeomFromEWKT('SRID=4674;POINT (-38.478905 -3.448878)'))) / (select extract(epoch from '2026-07-18 15:06:22'::timestamp) - extract(epoch from '2026-07-18 15:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478938 -3.44894)', '2026-07-18 15:06:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478905 -3.448878)'), GeomFromEWKT('SRID=4674;POINT (-38.478938 -3.44894)'))) / (select extract(epoch from '2026-07-18 15:06:26'::timestamp) - extract(epoch from '2026-07-18 15:06:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478905 -3.448878)'), GeomFromEWKT('SRID=4674;POINT (-38.478938 -3.44894)'))) / (select extract(epoch from '2026-07-18 15:06:26'::timestamp) - extract(epoch from '2026-07-18 15:06:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478952 -3.448969)', '2026-07-18 15:06:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478938 -3.44894)'), GeomFromEWKT('SRID=4674;POINT (-38.478952 -3.448969)'))) / (select extract(epoch from '2026-07-18 15:06:28'::timestamp) - extract(epoch from '2026-07-18 15:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478938 -3.44894)'), GeomFromEWKT('SRID=4674;POINT (-38.478952 -3.448969)'))) / (select extract(epoch from '2026-07-18 15:06:28'::timestamp) - extract(epoch from '2026-07-18 15:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.478981 -3.449017)', '2026-07-18 15:06:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478952 -3.448969)'), GeomFromEWKT('SRID=4674;POINT (-38.478981 -3.449017)'))) / (select extract(epoch from '2026-07-18 15:06:31'::timestamp) - extract(epoch from '2026-07-18 15:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478952 -3.448969)'), GeomFromEWKT('SRID=4674;POINT (-38.478981 -3.449017)'))) / (select extract(epoch from '2026-07-18 15:06:31'::timestamp) - extract(epoch from '2026-07-18 15:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479 -3.449064)', '2026-07-18 15:06:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478981 -3.449017)'), GeomFromEWKT('SRID=4674;POINT (-38.479 -3.449064)'))) / (select extract(epoch from '2026-07-18 15:06:34'::timestamp) - extract(epoch from '2026-07-18 15:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.478981 -3.449017)'), GeomFromEWKT('SRID=4674;POINT (-38.479 -3.449064)'))) / (select extract(epoch from '2026-07-18 15:06:34'::timestamp) - extract(epoch from '2026-07-18 15:06:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479032 -3.449099)', '2026-07-18 15:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479 -3.449064)'), GeomFromEWKT('SRID=4674;POINT (-38.479032 -3.449099)'))) / (select extract(epoch from '2026-07-18 15:06:36'::timestamp) - extract(epoch from '2026-07-18 15:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479 -3.449064)'), GeomFromEWKT('SRID=4674;POINT (-38.479032 -3.449099)'))) / (select extract(epoch from '2026-07-18 15:06:36'::timestamp) - extract(epoch from '2026-07-18 15:06:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479077 -3.449193)', '2026-07-18 15:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479032 -3.449099)'), GeomFromEWKT('SRID=4674;POINT (-38.479077 -3.449193)'))) / (select extract(epoch from '2026-07-18 15:06:41'::timestamp) - extract(epoch from '2026-07-18 15:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479032 -3.449099)'), GeomFromEWKT('SRID=4674;POINT (-38.479077 -3.449193)'))) / (select extract(epoch from '2026-07-18 15:06:41'::timestamp) - extract(epoch from '2026-07-18 15:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479132 -3.449315)', '2026-07-18 15:06:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479077 -3.449193)'), GeomFromEWKT('SRID=4674;POINT (-38.479132 -3.449315)'))) / (select extract(epoch from '2026-07-18 15:06:48'::timestamp) - extract(epoch from '2026-07-18 15:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479077 -3.449193)'), GeomFromEWKT('SRID=4674;POINT (-38.479132 -3.449315)'))) / (select extract(epoch from '2026-07-18 15:06:48'::timestamp) - extract(epoch from '2026-07-18 15:06:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479182 -3.449419)', '2026-07-18 15:06:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479132 -3.449315)'), GeomFromEWKT('SRID=4674;POINT (-38.479182 -3.449419)'))) / (select extract(epoch from '2026-07-18 15:06:54'::timestamp) - extract(epoch from '2026-07-18 15:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479132 -3.449315)'), GeomFromEWKT('SRID=4674;POINT (-38.479182 -3.449419)'))) / (select extract(epoch from '2026-07-18 15:06:54'::timestamp) - extract(epoch from '2026-07-18 15:06:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479184 -3.449439)', '2026-07-18 15:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479182 -3.449419)'), GeomFromEWKT('SRID=4674;POINT (-38.479184 -3.449439)'))) / (select extract(epoch from '2026-07-18 15:06:55'::timestamp) - extract(epoch from '2026-07-18 15:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479182 -3.449419)'), GeomFromEWKT('SRID=4674;POINT (-38.479184 -3.449439)'))) / (select extract(epoch from '2026-07-18 15:06:55'::timestamp) - extract(epoch from '2026-07-18 15:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479191 -3.449473)', '2026-07-18 15:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479184 -3.449439)'), GeomFromEWKT('SRID=4674;POINT (-38.479191 -3.449473)'))) / (select extract(epoch from '2026-07-18 15:06:57'::timestamp) - extract(epoch from '2026-07-18 15:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479184 -3.449439)'), GeomFromEWKT('SRID=4674;POINT (-38.479191 -3.449473)'))) / (select extract(epoch from '2026-07-18 15:06:57'::timestamp) - extract(epoch from '2026-07-18 15:06:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479216 -3.449519)', '2026-07-18 15:07:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479191 -3.449473)'), GeomFromEWKT('SRID=4674;POINT (-38.479216 -3.449519)'))) / (select extract(epoch from '2026-07-18 15:07:00'::timestamp) - extract(epoch from '2026-07-18 15:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479191 -3.449473)'), GeomFromEWKT('SRID=4674;POINT (-38.479216 -3.449519)'))) / (select extract(epoch from '2026-07-18 15:07:00'::timestamp) - extract(epoch from '2026-07-18 15:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479274 -3.449644)', '2026-07-18 15:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479216 -3.449519)'), GeomFromEWKT('SRID=4674;POINT (-38.479274 -3.449644)'))) / (select extract(epoch from '2026-07-18 15:07:07'::timestamp) - extract(epoch from '2026-07-18 15:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479216 -3.449519)'), GeomFromEWKT('SRID=4674;POINT (-38.479274 -3.449644)'))) / (select extract(epoch from '2026-07-18 15:07:07'::timestamp) - extract(epoch from '2026-07-18 15:07:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479307 -3.449675)', '2026-07-18 15:07:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479274 -3.449644)'), GeomFromEWKT('SRID=4674;POINT (-38.479307 -3.449675)'))) / (select extract(epoch from '2026-07-18 15:07:09'::timestamp) - extract(epoch from '2026-07-18 15:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479274 -3.449644)'), GeomFromEWKT('SRID=4674;POINT (-38.479307 -3.449675)'))) / (select extract(epoch from '2026-07-18 15:07:09'::timestamp) - extract(epoch from '2026-07-18 15:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479327 -3.449723)', '2026-07-18 15:07:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479307 -3.449675)'), GeomFromEWKT('SRID=4674;POINT (-38.479327 -3.449723)'))) / (select extract(epoch from '2026-07-18 15:07:12'::timestamp) - extract(epoch from '2026-07-18 15:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479307 -3.449675)'), GeomFromEWKT('SRID=4674;POINT (-38.479327 -3.449723)'))) / (select extract(epoch from '2026-07-18 15:07:12'::timestamp) - extract(epoch from '2026-07-18 15:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.47939 -3.449796)', '2026-07-18 15:07:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479327 -3.449723)'), GeomFromEWKT('SRID=4674;POINT (-38.47939 -3.449796)'))) / (select extract(epoch from '2026-07-18 15:07:16'::timestamp) - extract(epoch from '2026-07-18 15:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479327 -3.449723)'), GeomFromEWKT('SRID=4674;POINT (-38.47939 -3.449796)'))) / (select extract(epoch from '2026-07-18 15:07:16'::timestamp) - extract(epoch from '2026-07-18 15:07:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479447 -3.449891)', '2026-07-18 15:07:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47939 -3.449796)'), GeomFromEWKT('SRID=4674;POINT (-38.479447 -3.449891)'))) / (select extract(epoch from '2026-07-18 15:07:22'::timestamp) - extract(epoch from '2026-07-18 15:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.47939 -3.449796)'), GeomFromEWKT('SRID=4674;POINT (-38.479447 -3.449891)'))) / (select extract(epoch from '2026-07-18 15:07:22'::timestamp) - extract(epoch from '2026-07-18 15:07:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4795 -3.45001)', '2026-07-18 15:07:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479447 -3.449891)'), GeomFromEWKT('SRID=4674;POINT (-38.4795 -3.45001)'))) / (select extract(epoch from '2026-07-18 15:07:28'::timestamp) - extract(epoch from '2026-07-18 15:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479447 -3.449891)'), GeomFromEWKT('SRID=4674;POINT (-38.4795 -3.45001)'))) / (select extract(epoch from '2026-07-18 15:07:28'::timestamp) - extract(epoch from '2026-07-18 15:07:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479511 -3.450047)', '2026-07-18 15:07:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4795 -3.45001)'), GeomFromEWKT('SRID=4674;POINT (-38.479511 -3.450047)'))) / (select extract(epoch from '2026-07-18 15:07:29'::timestamp) - extract(epoch from '2026-07-18 15:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4795 -3.45001)'), GeomFromEWKT('SRID=4674;POINT (-38.479511 -3.450047)'))) / (select extract(epoch from '2026-07-18 15:07:29'::timestamp) - extract(epoch from '2026-07-18 15:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479524 -3.450089)', '2026-07-18 15:07:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479511 -3.450047)'), GeomFromEWKT('SRID=4674;POINT (-38.479524 -3.450089)'))) / (select extract(epoch from '2026-07-18 15:07:31'::timestamp) - extract(epoch from '2026-07-18 15:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479511 -3.450047)'), GeomFromEWKT('SRID=4674;POINT (-38.479524 -3.450089)'))) / (select extract(epoch from '2026-07-18 15:07:31'::timestamp) - extract(epoch from '2026-07-18 15:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479543 -3.450114)', '2026-07-18 15:07:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479524 -3.450089)'), GeomFromEWKT('SRID=4674;POINT (-38.479543 -3.450114)'))) / (select extract(epoch from '2026-07-18 15:07:32'::timestamp) - extract(epoch from '2026-07-18 15:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479524 -3.450089)'), GeomFromEWKT('SRID=4674;POINT (-38.479543 -3.450114)'))) / (select extract(epoch from '2026-07-18 15:07:32'::timestamp) - extract(epoch from '2026-07-18 15:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479576 -3.450208)', '2026-07-18 15:07:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479543 -3.450114)'), GeomFromEWKT('SRID=4674;POINT (-38.479576 -3.450208)'))) / (select extract(epoch from '2026-07-18 15:07:37'::timestamp) - extract(epoch from '2026-07-18 15:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479543 -3.450114)'), GeomFromEWKT('SRID=4674;POINT (-38.479576 -3.450208)'))) / (select extract(epoch from '2026-07-18 15:07:37'::timestamp) - extract(epoch from '2026-07-18 15:07:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479583 -3.450238)', '2026-07-18 15:07:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479576 -3.450208)'), GeomFromEWKT('SRID=4674;POINT (-38.479583 -3.450238)'))) / (select extract(epoch from '2026-07-18 15:07:39'::timestamp) - extract(epoch from '2026-07-18 15:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479576 -3.450208)'), GeomFromEWKT('SRID=4674;POINT (-38.479583 -3.450238)'))) / (select extract(epoch from '2026-07-18 15:07:39'::timestamp) - extract(epoch from '2026-07-18 15:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479597 -3.450266)', '2026-07-18 15:07:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479583 -3.450238)'), GeomFromEWKT('SRID=4674;POINT (-38.479597 -3.450266)'))) / (select extract(epoch from '2026-07-18 15:07:41'::timestamp) - extract(epoch from '2026-07-18 15:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479583 -3.450238)'), GeomFromEWKT('SRID=4674;POINT (-38.479597 -3.450266)'))) / (select extract(epoch from '2026-07-18 15:07:41'::timestamp) - extract(epoch from '2026-07-18 15:07:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479599 -3.450281)', '2026-07-18 15:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479597 -3.450266)'), GeomFromEWKT('SRID=4674;POINT (-38.479599 -3.450281)'))) / (select extract(epoch from '2026-07-18 15:07:42'::timestamp) - extract(epoch from '2026-07-18 15:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479597 -3.450266)'), GeomFromEWKT('SRID=4674;POINT (-38.479599 -3.450281)'))) / (select extract(epoch from '2026-07-18 15:07:42'::timestamp) - extract(epoch from '2026-07-18 15:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479638 -3.450344)', '2026-07-18 15:07:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479599 -3.450281)'), GeomFromEWKT('SRID=4674;POINT (-38.479638 -3.450344)'))) / (select extract(epoch from '2026-07-18 15:07:46'::timestamp) - extract(epoch from '2026-07-18 15:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479599 -3.450281)'), GeomFromEWKT('SRID=4674;POINT (-38.479638 -3.450344)'))) / (select extract(epoch from '2026-07-18 15:07:46'::timestamp) - extract(epoch from '2026-07-18 15:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479689 -3.450405)', '2026-07-18 15:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479638 -3.450344)'), GeomFromEWKT('SRID=4674;POINT (-38.479689 -3.450405)'))) / (select extract(epoch from '2026-07-18 15:07:51'::timestamp) - extract(epoch from '2026-07-18 15:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479638 -3.450344)'), GeomFromEWKT('SRID=4674;POINT (-38.479689 -3.450405)'))) / (select extract(epoch from '2026-07-18 15:07:51'::timestamp) - extract(epoch from '2026-07-18 15:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479738 -3.450475)', '2026-07-18 15:07:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479689 -3.450405)'), GeomFromEWKT('SRID=4674;POINT (-38.479738 -3.450475)'))) / (select extract(epoch from '2026-07-18 15:07:56'::timestamp) - extract(epoch from '2026-07-18 15:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479689 -3.450405)'), GeomFromEWKT('SRID=4674;POINT (-38.479738 -3.450475)'))) / (select extract(epoch from '2026-07-18 15:07:56'::timestamp) - extract(epoch from '2026-07-18 15:07:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479805 -3.450583)', '2026-07-18 15:08:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479738 -3.450475)'), GeomFromEWKT('SRID=4674;POINT (-38.479805 -3.450583)'))) / (select extract(epoch from '2026-07-18 15:08:03'::timestamp) - extract(epoch from '2026-07-18 15:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479738 -3.450475)'), GeomFromEWKT('SRID=4674;POINT (-38.479805 -3.450583)'))) / (select extract(epoch from '2026-07-18 15:08:03'::timestamp) - extract(epoch from '2026-07-18 15:07:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479857 -3.450682)', '2026-07-18 15:08:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479805 -3.450583)'), GeomFromEWKT('SRID=4674;POINT (-38.479857 -3.450682)'))) / (select extract(epoch from '2026-07-18 15:08:09'::timestamp) - extract(epoch from '2026-07-18 15:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479805 -3.450583)'), GeomFromEWKT('SRID=4674;POINT (-38.479857 -3.450682)'))) / (select extract(epoch from '2026-07-18 15:08:09'::timestamp) - extract(epoch from '2026-07-18 15:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479897 -3.450739)', '2026-07-18 15:08:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479857 -3.450682)'), GeomFromEWKT('SRID=4674;POINT (-38.479897 -3.450739)'))) / (select extract(epoch from '2026-07-18 15:08:13'::timestamp) - extract(epoch from '2026-07-18 15:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479857 -3.450682)'), GeomFromEWKT('SRID=4674;POINT (-38.479897 -3.450739)'))) / (select extract(epoch from '2026-07-18 15:08:13'::timestamp) - extract(epoch from '2026-07-18 15:08:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479938 -3.450822)', '2026-07-18 15:08:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479897 -3.450739)'), GeomFromEWKT('SRID=4674;POINT (-38.479938 -3.450822)'))) / (select extract(epoch from '2026-07-18 15:08:19'::timestamp) - extract(epoch from '2026-07-18 15:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479897 -3.450739)'), GeomFromEWKT('SRID=4674;POINT (-38.479938 -3.450822)'))) / (select extract(epoch from '2026-07-18 15:08:19'::timestamp) - extract(epoch from '2026-07-18 15:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.479988 -3.450928)', '2026-07-18 15:08:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479938 -3.450822)'), GeomFromEWKT('SRID=4674;POINT (-38.479988 -3.450928)'))) / (select extract(epoch from '2026-07-18 15:08:25'::timestamp) - extract(epoch from '2026-07-18 15:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479938 -3.450822)'), GeomFromEWKT('SRID=4674;POINT (-38.479988 -3.450928)'))) / (select extract(epoch from '2026-07-18 15:08:25'::timestamp) - extract(epoch from '2026-07-18 15:08:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480051 -3.45105)', '2026-07-18 15:08:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479988 -3.450928)'), GeomFromEWKT('SRID=4674;POINT (-38.480051 -3.45105)'))) / (select extract(epoch from '2026-07-18 15:08:32'::timestamp) - extract(epoch from '2026-07-18 15:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.479988 -3.450928)'), GeomFromEWKT('SRID=4674;POINT (-38.480051 -3.45105)'))) / (select extract(epoch from '2026-07-18 15:08:32'::timestamp) - extract(epoch from '2026-07-18 15:08:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48008 -3.451119)', '2026-07-18 15:08:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480051 -3.45105)'), GeomFromEWKT('SRID=4674;POINT (-38.48008 -3.451119)'))) / (select extract(epoch from '2026-07-18 15:08:36'::timestamp) - extract(epoch from '2026-07-18 15:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480051 -3.45105)'), GeomFromEWKT('SRID=4674;POINT (-38.48008 -3.451119)'))) / (select extract(epoch from '2026-07-18 15:08:36'::timestamp) - extract(epoch from '2026-07-18 15:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480089 -3.451132)', '2026-07-18 15:08:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48008 -3.451119)'), GeomFromEWKT('SRID=4674;POINT (-38.480089 -3.451132)'))) / (select extract(epoch from '2026-07-18 15:08:37'::timestamp) - extract(epoch from '2026-07-18 15:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48008 -3.451119)'), GeomFromEWKT('SRID=4674;POINT (-38.480089 -3.451132)'))) / (select extract(epoch from '2026-07-18 15:08:37'::timestamp) - extract(epoch from '2026-07-18 15:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480133 -3.451234)', '2026-07-18 15:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480089 -3.451132)'), GeomFromEWKT('SRID=4674;POINT (-38.480133 -3.451234)'))) / (select extract(epoch from '2026-07-18 15:08:43'::timestamp) - extract(epoch from '2026-07-18 15:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480089 -3.451132)'), GeomFromEWKT('SRID=4674;POINT (-38.480133 -3.451234)'))) / (select extract(epoch from '2026-07-18 15:08:43'::timestamp) - extract(epoch from '2026-07-18 15:08:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48018 -3.451323)', '2026-07-18 15:08:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480133 -3.451234)'), GeomFromEWKT('SRID=4674;POINT (-38.48018 -3.451323)'))) / (select extract(epoch from '2026-07-18 15:08:49'::timestamp) - extract(epoch from '2026-07-18 15:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480133 -3.451234)'), GeomFromEWKT('SRID=4674;POINT (-38.48018 -3.451323)'))) / (select extract(epoch from '2026-07-18 15:08:49'::timestamp) - extract(epoch from '2026-07-18 15:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480243 -3.45143)', '2026-07-18 15:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48018 -3.451323)'), GeomFromEWKT('SRID=4674;POINT (-38.480243 -3.45143)'))) / (select extract(epoch from '2026-07-18 15:08:56'::timestamp) - extract(epoch from '2026-07-18 15:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48018 -3.451323)'), GeomFromEWKT('SRID=4674;POINT (-38.480243 -3.45143)'))) / (select extract(epoch from '2026-07-18 15:08:56'::timestamp) - extract(epoch from '2026-07-18 15:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480308 -3.451504)', '2026-07-18 15:09:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480243 -3.45143)'), GeomFromEWKT('SRID=4674;POINT (-38.480308 -3.451504)'))) / (select extract(epoch from '2026-07-18 15:09:01'::timestamp) - extract(epoch from '2026-07-18 15:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480243 -3.45143)'), GeomFromEWKT('SRID=4674;POINT (-38.480308 -3.451504)'))) / (select extract(epoch from '2026-07-18 15:09:01'::timestamp) - extract(epoch from '2026-07-18 15:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480353 -3.451578)', '2026-07-18 15:09:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480308 -3.451504)'), GeomFromEWKT('SRID=4674;POINT (-38.480353 -3.451578)'))) / (select extract(epoch from '2026-07-18 15:09:05'::timestamp) - extract(epoch from '2026-07-18 15:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480308 -3.451504)'), GeomFromEWKT('SRID=4674;POINT (-38.480353 -3.451578)'))) / (select extract(epoch from '2026-07-18 15:09:05'::timestamp) - extract(epoch from '2026-07-18 15:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480402 -3.451677)', '2026-07-18 15:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480353 -3.451578)'), GeomFromEWKT('SRID=4674;POINT (-38.480402 -3.451677)'))) / (select extract(epoch from '2026-07-18 15:09:11'::timestamp) - extract(epoch from '2026-07-18 15:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480353 -3.451578)'), GeomFromEWKT('SRID=4674;POINT (-38.480402 -3.451677)'))) / (select extract(epoch from '2026-07-18 15:09:11'::timestamp) - extract(epoch from '2026-07-18 15:09:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480427 -3.45172)', '2026-07-18 15:09:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480402 -3.451677)'), GeomFromEWKT('SRID=4674;POINT (-38.480427 -3.45172)'))) / (select extract(epoch from '2026-07-18 15:09:14'::timestamp) - extract(epoch from '2026-07-18 15:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480402 -3.451677)'), GeomFromEWKT('SRID=4674;POINT (-38.480427 -3.45172)'))) / (select extract(epoch from '2026-07-18 15:09:14'::timestamp) - extract(epoch from '2026-07-18 15:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48044 -3.451762)', '2026-07-18 15:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480427 -3.45172)'), GeomFromEWKT('SRID=4674;POINT (-38.48044 -3.451762)'))) / (select extract(epoch from '2026-07-18 15:09:16'::timestamp) - extract(epoch from '2026-07-18 15:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480427 -3.45172)'), GeomFromEWKT('SRID=4674;POINT (-38.48044 -3.451762)'))) / (select extract(epoch from '2026-07-18 15:09:16'::timestamp) - extract(epoch from '2026-07-18 15:09:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480453 -3.451778)', '2026-07-18 15:09:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48044 -3.451762)'), GeomFromEWKT('SRID=4674;POINT (-38.480453 -3.451778)'))) / (select extract(epoch from '2026-07-18 15:09:17'::timestamp) - extract(epoch from '2026-07-18 15:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48044 -3.451762)'), GeomFromEWKT('SRID=4674;POINT (-38.480453 -3.451778)'))) / (select extract(epoch from '2026-07-18 15:09:17'::timestamp) - extract(epoch from '2026-07-18 15:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48047 -3.451807)', '2026-07-18 15:09:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480453 -3.451778)'), GeomFromEWKT('SRID=4674;POINT (-38.48047 -3.451807)'))) / (select extract(epoch from '2026-07-18 15:09:19'::timestamp) - extract(epoch from '2026-07-18 15:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480453 -3.451778)'), GeomFromEWKT('SRID=4674;POINT (-38.48047 -3.451807)'))) / (select extract(epoch from '2026-07-18 15:09:19'::timestamp) - extract(epoch from '2026-07-18 15:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480473 -3.451823)', '2026-07-18 15:09:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48047 -3.451807)'), GeomFromEWKT('SRID=4674;POINT (-38.480473 -3.451823)'))) / (select extract(epoch from '2026-07-18 15:09:20'::timestamp) - extract(epoch from '2026-07-18 15:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48047 -3.451807)'), GeomFromEWKT('SRID=4674;POINT (-38.480473 -3.451823)'))) / (select extract(epoch from '2026-07-18 15:09:20'::timestamp) - extract(epoch from '2026-07-18 15:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480518 -3.45193)', '2026-07-18 15:09:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480473 -3.451823)'), GeomFromEWKT('SRID=4674;POINT (-38.480518 -3.45193)'))) / (select extract(epoch from '2026-07-18 15:09:27'::timestamp) - extract(epoch from '2026-07-18 15:09:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480473 -3.451823)'), GeomFromEWKT('SRID=4674;POINT (-38.480518 -3.45193)'))) / (select extract(epoch from '2026-07-18 15:09:27'::timestamp) - extract(epoch from '2026-07-18 15:09:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480537 -3.451969)', '2026-07-18 15:09:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480518 -3.45193)'), GeomFromEWKT('SRID=4674;POINT (-38.480537 -3.451969)'))) / (select extract(epoch from '2026-07-18 15:09:30'::timestamp) - extract(epoch from '2026-07-18 15:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480518 -3.45193)'), GeomFromEWKT('SRID=4674;POINT (-38.480537 -3.451969)'))) / (select extract(epoch from '2026-07-18 15:09:30'::timestamp) - extract(epoch from '2026-07-18 15:09:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480554 -3.452006)', '2026-07-18 15:09:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480537 -3.451969)'), GeomFromEWKT('SRID=4674;POINT (-38.480554 -3.452006)'))) / (select extract(epoch from '2026-07-18 15:09:32'::timestamp) - extract(epoch from '2026-07-18 15:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480537 -3.451969)'), GeomFromEWKT('SRID=4674;POINT (-38.480554 -3.452006)'))) / (select extract(epoch from '2026-07-18 15:09:32'::timestamp) - extract(epoch from '2026-07-18 15:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480597 -3.452089)', '2026-07-18 15:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480554 -3.452006)'), GeomFromEWKT('SRID=4674;POINT (-38.480597 -3.452089)'))) / (select extract(epoch from '2026-07-18 15:09:37'::timestamp) - extract(epoch from '2026-07-18 15:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480554 -3.452006)'), GeomFromEWKT('SRID=4674;POINT (-38.480597 -3.452089)'))) / (select extract(epoch from '2026-07-18 15:09:37'::timestamp) - extract(epoch from '2026-07-18 15:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48065 -3.452188)', '2026-07-18 15:09:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480597 -3.452089)'), GeomFromEWKT('SRID=4674;POINT (-38.48065 -3.452188)'))) / (select extract(epoch from '2026-07-18 15:09:43'::timestamp) - extract(epoch from '2026-07-18 15:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480597 -3.452089)'), GeomFromEWKT('SRID=4674;POINT (-38.48065 -3.452188)'))) / (select extract(epoch from '2026-07-18 15:09:43'::timestamp) - extract(epoch from '2026-07-18 15:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480705 -3.452297)', '2026-07-18 15:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48065 -3.452188)'), GeomFromEWKT('SRID=4674;POINT (-38.480705 -3.452297)'))) / (select extract(epoch from '2026-07-18 15:09:49'::timestamp) - extract(epoch from '2026-07-18 15:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48065 -3.452188)'), GeomFromEWKT('SRID=4674;POINT (-38.480705 -3.452297)'))) / (select extract(epoch from '2026-07-18 15:09:49'::timestamp) - extract(epoch from '2026-07-18 15:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48073 -3.452373)', '2026-07-18 15:09:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480705 -3.452297)'), GeomFromEWKT('SRID=4674;POINT (-38.48073 -3.452373)'))) / (select extract(epoch from '2026-07-18 15:09:53'::timestamp) - extract(epoch from '2026-07-18 15:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480705 -3.452297)'), GeomFromEWKT('SRID=4674;POINT (-38.48073 -3.452373)'))) / (select extract(epoch from '2026-07-18 15:09:53'::timestamp) - extract(epoch from '2026-07-18 15:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480757 -3.452406)', '2026-07-18 15:09:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48073 -3.452373)'), GeomFromEWKT('SRID=4674;POINT (-38.480757 -3.452406)'))) / (select extract(epoch from '2026-07-18 15:09:55'::timestamp) - extract(epoch from '2026-07-18 15:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48073 -3.452373)'), GeomFromEWKT('SRID=4674;POINT (-38.480757 -3.452406)'))) / (select extract(epoch from '2026-07-18 15:09:55'::timestamp) - extract(epoch from '2026-07-18 15:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480773 -3.452444)', '2026-07-18 15:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480757 -3.452406)'), GeomFromEWKT('SRID=4674;POINT (-38.480773 -3.452444)'))) / (select extract(epoch from '2026-07-18 15:09:57'::timestamp) - extract(epoch from '2026-07-18 15:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480757 -3.452406)'), GeomFromEWKT('SRID=4674;POINT (-38.480773 -3.452444)'))) / (select extract(epoch from '2026-07-18 15:09:57'::timestamp) - extract(epoch from '2026-07-18 15:09:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480779 -3.452483)', '2026-07-18 15:09:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480773 -3.452444)'), GeomFromEWKT('SRID=4674;POINT (-38.480779 -3.452483)'))) / (select extract(epoch from '2026-07-18 15:09:59'::timestamp) - extract(epoch from '2026-07-18 15:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480773 -3.452444)'), GeomFromEWKT('SRID=4674;POINT (-38.480779 -3.452483)'))) / (select extract(epoch from '2026-07-18 15:09:59'::timestamp) - extract(epoch from '2026-07-18 15:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480787 -3.4525)', '2026-07-18 15:10:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480779 -3.452483)'), GeomFromEWKT('SRID=4674;POINT (-38.480787 -3.4525)'))) / (select extract(epoch from '2026-07-18 15:10:00'::timestamp) - extract(epoch from '2026-07-18 15:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480779 -3.452483)'), GeomFromEWKT('SRID=4674;POINT (-38.480787 -3.4525)'))) / (select extract(epoch from '2026-07-18 15:10:00'::timestamp) - extract(epoch from '2026-07-18 15:09:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480817 -3.45255)', '2026-07-18 15:10:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480787 -3.4525)'), GeomFromEWKT('SRID=4674;POINT (-38.480817 -3.45255)'))) / (select extract(epoch from '2026-07-18 15:10:03'::timestamp) - extract(epoch from '2026-07-18 15:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480787 -3.4525)'), GeomFromEWKT('SRID=4674;POINT (-38.480817 -3.45255)'))) / (select extract(epoch from '2026-07-18 15:10:03'::timestamp) - extract(epoch from '2026-07-18 15:10:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48085 -3.452635)', '2026-07-18 15:10:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480817 -3.45255)'), GeomFromEWKT('SRID=4674;POINT (-38.48085 -3.452635)'))) / (select extract(epoch from '2026-07-18 15:10:08'::timestamp) - extract(epoch from '2026-07-18 15:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480817 -3.45255)'), GeomFromEWKT('SRID=4674;POINT (-38.48085 -3.452635)'))) / (select extract(epoch from '2026-07-18 15:10:08'::timestamp) - extract(epoch from '2026-07-18 15:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480897 -3.45274)', '2026-07-18 15:10:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48085 -3.452635)'), GeomFromEWKT('SRID=4674;POINT (-38.480897 -3.45274)'))) / (select extract(epoch from '2026-07-18 15:10:14'::timestamp) - extract(epoch from '2026-07-18 15:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48085 -3.452635)'), GeomFromEWKT('SRID=4674;POINT (-38.480897 -3.45274)'))) / (select extract(epoch from '2026-07-18 15:10:14'::timestamp) - extract(epoch from '2026-07-18 15:10:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480927 -3.452803)', '2026-07-18 15:10:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480897 -3.45274)'), GeomFromEWKT('SRID=4674;POINT (-38.480927 -3.452803)'))) / (select extract(epoch from '2026-07-18 15:10:18'::timestamp) - extract(epoch from '2026-07-18 15:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480897 -3.45274)'), GeomFromEWKT('SRID=4674;POINT (-38.480927 -3.452803)'))) / (select extract(epoch from '2026-07-18 15:10:18'::timestamp) - extract(epoch from '2026-07-18 15:10:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.480979 -3.452912)', '2026-07-18 15:10:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480927 -3.452803)'), GeomFromEWKT('SRID=4674;POINT (-38.480979 -3.452912)'))) / (select extract(epoch from '2026-07-18 15:10:24'::timestamp) - extract(epoch from '2026-07-18 15:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480927 -3.452803)'), GeomFromEWKT('SRID=4674;POINT (-38.480979 -3.452912)'))) / (select extract(epoch from '2026-07-18 15:10:24'::timestamp) - extract(epoch from '2026-07-18 15:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481022 -3.453007)', '2026-07-18 15:10:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480979 -3.452912)'), GeomFromEWKT('SRID=4674;POINT (-38.481022 -3.453007)'))) / (select extract(epoch from '2026-07-18 15:10:29'::timestamp) - extract(epoch from '2026-07-18 15:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.480979 -3.452912)'), GeomFromEWKT('SRID=4674;POINT (-38.481022 -3.453007)'))) / (select extract(epoch from '2026-07-18 15:10:29'::timestamp) - extract(epoch from '2026-07-18 15:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481056 -3.453084)', '2026-07-18 15:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481022 -3.453007)'), GeomFromEWKT('SRID=4674;POINT (-38.481056 -3.453084)'))) / (select extract(epoch from '2026-07-18 15:10:34'::timestamp) - extract(epoch from '2026-07-18 15:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481022 -3.453007)'), GeomFromEWKT('SRID=4674;POINT (-38.481056 -3.453084)'))) / (select extract(epoch from '2026-07-18 15:10:34'::timestamp) - extract(epoch from '2026-07-18 15:10:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481097 -3.453167)', '2026-07-18 15:10:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481056 -3.453084)'), GeomFromEWKT('SRID=4674;POINT (-38.481097 -3.453167)'))) / (select extract(epoch from '2026-07-18 15:10:39'::timestamp) - extract(epoch from '2026-07-18 15:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481056 -3.453084)'), GeomFromEWKT('SRID=4674;POINT (-38.481097 -3.453167)'))) / (select extract(epoch from '2026-07-18 15:10:39'::timestamp) - extract(epoch from '2026-07-18 15:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48114 -3.453263)', '2026-07-18 15:10:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481097 -3.453167)'), GeomFromEWKT('SRID=4674;POINT (-38.48114 -3.453263)'))) / (select extract(epoch from '2026-07-18 15:10:45'::timestamp) - extract(epoch from '2026-07-18 15:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481097 -3.453167)'), GeomFromEWKT('SRID=4674;POINT (-38.48114 -3.453263)'))) / (select extract(epoch from '2026-07-18 15:10:45'::timestamp) - extract(epoch from '2026-07-18 15:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481186 -3.453381)', '2026-07-18 15:10:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48114 -3.453263)'), GeomFromEWKT('SRID=4674;POINT (-38.481186 -3.453381)'))) / (select extract(epoch from '2026-07-18 15:10:52'::timestamp) - extract(epoch from '2026-07-18 15:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48114 -3.453263)'), GeomFromEWKT('SRID=4674;POINT (-38.481186 -3.453381)'))) / (select extract(epoch from '2026-07-18 15:10:52'::timestamp) - extract(epoch from '2026-07-18 15:10:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481212 -3.453449)', '2026-07-18 15:10:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481186 -3.453381)'), GeomFromEWKT('SRID=4674;POINT (-38.481212 -3.453449)'))) / (select extract(epoch from '2026-07-18 15:10:56'::timestamp) - extract(epoch from '2026-07-18 15:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481186 -3.453381)'), GeomFromEWKT('SRID=4674;POINT (-38.481212 -3.453449)'))) / (select extract(epoch from '2026-07-18 15:10:56'::timestamp) - extract(epoch from '2026-07-18 15:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481225 -3.453464)', '2026-07-18 15:10:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481212 -3.453449)'), GeomFromEWKT('SRID=4674;POINT (-38.481225 -3.453464)'))) / (select extract(epoch from '2026-07-18 15:10:57'::timestamp) - extract(epoch from '2026-07-18 15:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481212 -3.453449)'), GeomFromEWKT('SRID=4674;POINT (-38.481225 -3.453464)'))) / (select extract(epoch from '2026-07-18 15:10:57'::timestamp) - extract(epoch from '2026-07-18 15:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48126 -3.45356)', '2026-07-18 15:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481225 -3.453464)'), GeomFromEWKT('SRID=4674;POINT (-38.48126 -3.45356)'))) / (select extract(epoch from '2026-07-18 15:11:02'::timestamp) - extract(epoch from '2026-07-18 15:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481225 -3.453464)'), GeomFromEWKT('SRID=4674;POINT (-38.48126 -3.45356)'))) / (select extract(epoch from '2026-07-18 15:11:02'::timestamp) - extract(epoch from '2026-07-18 15:10:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4813 -3.453666)', '2026-07-18 15:11:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48126 -3.45356)'), GeomFromEWKT('SRID=4674;POINT (-38.4813 -3.453666)'))) / (select extract(epoch from '2026-07-18 15:11:08'::timestamp) - extract(epoch from '2026-07-18 15:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48126 -3.45356)'), GeomFromEWKT('SRID=4674;POINT (-38.4813 -3.453666)'))) / (select extract(epoch from '2026-07-18 15:11:08'::timestamp) - extract(epoch from '2026-07-18 15:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481358 -3.453766)', '2026-07-18 15:11:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4813 -3.453666)'), GeomFromEWKT('SRID=4674;POINT (-38.481358 -3.453766)'))) / (select extract(epoch from '2026-07-18 15:11:14'::timestamp) - extract(epoch from '2026-07-18 15:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4813 -3.453666)'), GeomFromEWKT('SRID=4674;POINT (-38.481358 -3.453766)'))) / (select extract(epoch from '2026-07-18 15:11:14'::timestamp) - extract(epoch from '2026-07-18 15:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481404 -3.453842)', '2026-07-18 15:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481358 -3.453766)'), GeomFromEWKT('SRID=4674;POINT (-38.481404 -3.453842)'))) / (select extract(epoch from '2026-07-18 15:11:18'::timestamp) - extract(epoch from '2026-07-18 15:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481358 -3.453766)'), GeomFromEWKT('SRID=4674;POINT (-38.481404 -3.453842)'))) / (select extract(epoch from '2026-07-18 15:11:18'::timestamp) - extract(epoch from '2026-07-18 15:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481441 -3.453933)', '2026-07-18 15:11:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481404 -3.453842)'), GeomFromEWKT('SRID=4674;POINT (-38.481441 -3.453933)'))) / (select extract(epoch from '2026-07-18 15:11:23'::timestamp) - extract(epoch from '2026-07-18 15:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481404 -3.453842)'), GeomFromEWKT('SRID=4674;POINT (-38.481441 -3.453933)'))) / (select extract(epoch from '2026-07-18 15:11:23'::timestamp) - extract(epoch from '2026-07-18 15:11:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481482 -3.454021)', '2026-07-18 15:11:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481441 -3.453933)'), GeomFromEWKT('SRID=4674;POINT (-38.481482 -3.454021)'))) / (select extract(epoch from '2026-07-18 15:11:28'::timestamp) - extract(epoch from '2026-07-18 15:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481441 -3.453933)'), GeomFromEWKT('SRID=4674;POINT (-38.481482 -3.454021)'))) / (select extract(epoch from '2026-07-18 15:11:28'::timestamp) - extract(epoch from '2026-07-18 15:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4815 -3.454082)', '2026-07-18 15:11:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481482 -3.454021)'), GeomFromEWKT('SRID=4674;POINT (-38.4815 -3.454082)'))) / (select extract(epoch from '2026-07-18 15:11:32'::timestamp) - extract(epoch from '2026-07-18 15:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481482 -3.454021)'), GeomFromEWKT('SRID=4674;POINT (-38.4815 -3.454082)'))) / (select extract(epoch from '2026-07-18 15:11:32'::timestamp) - extract(epoch from '2026-07-18 15:11:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481512 -3.454105)', '2026-07-18 15:11:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4815 -3.454082)'), GeomFromEWKT('SRID=4674;POINT (-38.481512 -3.454105)'))) / (select extract(epoch from '2026-07-18 15:11:34'::timestamp) - extract(epoch from '2026-07-18 15:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.4815 -3.454082)'), GeomFromEWKT('SRID=4674;POINT (-38.481512 -3.454105)'))) / (select extract(epoch from '2026-07-18 15:11:34'::timestamp) - extract(epoch from '2026-07-18 15:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481523 -3.454126)', '2026-07-18 15:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481512 -3.454105)'), GeomFromEWKT('SRID=4674;POINT (-38.481523 -3.454126)'))) / (select extract(epoch from '2026-07-18 15:11:36'::timestamp) - extract(epoch from '2026-07-18 15:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481512 -3.454105)'), GeomFromEWKT('SRID=4674;POINT (-38.481523 -3.454126)'))) / (select extract(epoch from '2026-07-18 15:11:36'::timestamp) - extract(epoch from '2026-07-18 15:11:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481563 -3.45416)', '2026-07-18 15:11:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481523 -3.454126)'), GeomFromEWKT('SRID=4674;POINT (-38.481563 -3.45416)'))) / (select extract(epoch from '2026-07-18 15:11:39'::timestamp) - extract(epoch from '2026-07-18 15:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481523 -3.454126)'), GeomFromEWKT('SRID=4674;POINT (-38.481563 -3.45416)'))) / (select extract(epoch from '2026-07-18 15:11:39'::timestamp) - extract(epoch from '2026-07-18 15:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481615 -3.454235)', '2026-07-18 15:11:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481563 -3.45416)'), GeomFromEWKT('SRID=4674;POINT (-38.481615 -3.454235)'))) / (select extract(epoch from '2026-07-18 15:11:44'::timestamp) - extract(epoch from '2026-07-18 15:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481563 -3.45416)'), GeomFromEWKT('SRID=4674;POINT (-38.481615 -3.454235)'))) / (select extract(epoch from '2026-07-18 15:11:44'::timestamp) - extract(epoch from '2026-07-18 15:11:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.48168 -3.454339)', '2026-07-18 15:11:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481615 -3.454235)'), GeomFromEWKT('SRID=4674;POINT (-38.48168 -3.454339)'))) / (select extract(epoch from '2026-07-18 15:11:50'::timestamp) - extract(epoch from '2026-07-18 15:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481615 -3.454235)'), GeomFromEWKT('SRID=4674;POINT (-38.48168 -3.454339)'))) / (select extract(epoch from '2026-07-18 15:11:50'::timestamp) - extract(epoch from '2026-07-18 15:11:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481723 -3.45447)', '2026-07-18 15:11:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48168 -3.454339)'), GeomFromEWKT('SRID=4674;POINT (-38.481723 -3.45447)'))) / (select extract(epoch from '2026-07-18 15:11:57'::timestamp) - extract(epoch from '2026-07-18 15:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.48168 -3.454339)'), GeomFromEWKT('SRID=4674;POINT (-38.481723 -3.45447)'))) / (select extract(epoch from '2026-07-18 15:11:57'::timestamp) - extract(epoch from '2026-07-18 15:11:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481751 -3.454562)', '2026-07-18 15:12:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481723 -3.45447)'), GeomFromEWKT('SRID=4674;POINT (-38.481751 -3.454562)'))) / (select extract(epoch from '2026-07-18 15:12:02'::timestamp) - extract(epoch from '2026-07-18 15:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481723 -3.45447)'), GeomFromEWKT('SRID=4674;POINT (-38.481751 -3.454562)'))) / (select extract(epoch from '2026-07-18 15:12:02'::timestamp) - extract(epoch from '2026-07-18 15:11:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481789 -3.454655)', '2026-07-18 15:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481751 -3.454562)'), GeomFromEWKT('SRID=4674;POINT (-38.481789 -3.454655)'))) / (select extract(epoch from '2026-07-18 15:12:08'::timestamp) - extract(epoch from '2026-07-18 15:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481751 -3.454562)'), GeomFromEWKT('SRID=4674;POINT (-38.481789 -3.454655)'))) / (select extract(epoch from '2026-07-18 15:12:08'::timestamp) - extract(epoch from '2026-07-18 15:12:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481846 -3.454768)', '2026-07-18 15:12:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481789 -3.454655)'), GeomFromEWKT('SRID=4674;POINT (-38.481846 -3.454768)'))) / (select extract(epoch from '2026-07-18 15:12:15'::timestamp) - extract(epoch from '2026-07-18 15:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481789 -3.454655)'), GeomFromEWKT('SRID=4674;POINT (-38.481846 -3.454768)'))) / (select extract(epoch from '2026-07-18 15:12:15'::timestamp) - extract(epoch from '2026-07-18 15:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481895 -3.454862)', '2026-07-18 15:12:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481846 -3.454768)'), GeomFromEWKT('SRID=4674;POINT (-38.481895 -3.454862)'))) / (select extract(epoch from '2026-07-18 15:12:20'::timestamp) - extract(epoch from '2026-07-18 15:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481846 -3.454768)'), GeomFromEWKT('SRID=4674;POINT (-38.481895 -3.454862)'))) / (select extract(epoch from '2026-07-18 15:12:20'::timestamp) - extract(epoch from '2026-07-18 15:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481941 -3.45494)', '2026-07-18 15:12:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481895 -3.454862)'), GeomFromEWKT('SRID=4674;POINT (-38.481941 -3.45494)'))) / (select extract(epoch from '2026-07-18 15:12:25'::timestamp) - extract(epoch from '2026-07-18 15:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481895 -3.454862)'), GeomFromEWKT('SRID=4674;POINT (-38.481941 -3.45494)'))) / (select extract(epoch from '2026-07-18 15:12:25'::timestamp) - extract(epoch from '2026-07-18 15:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481956 -3.454986)', '2026-07-18 15:12:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481941 -3.45494)'), GeomFromEWKT('SRID=4674;POINT (-38.481956 -3.454986)'))) / (select extract(epoch from '2026-07-18 15:12:28'::timestamp) - extract(epoch from '2026-07-18 15:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481941 -3.45494)'), GeomFromEWKT('SRID=4674;POINT (-38.481956 -3.454986)'))) / (select extract(epoch from '2026-07-18 15:12:28'::timestamp) - extract(epoch from '2026-07-18 15:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.481972 -3.455007)', '2026-07-18 15:12:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481956 -3.454986)'), GeomFromEWKT('SRID=4674;POINT (-38.481972 -3.455007)'))) / (select extract(epoch from '2026-07-18 15:12:30'::timestamp) - extract(epoch from '2026-07-18 15:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481956 -3.454986)'), GeomFromEWKT('SRID=4674;POINT (-38.481972 -3.455007)'))) / (select extract(epoch from '2026-07-18 15:12:30'::timestamp) - extract(epoch from '2026-07-18 15:12:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482021 -3.455085)', '2026-07-18 15:12:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481972 -3.455007)'), GeomFromEWKT('SRID=4674;POINT (-38.482021 -3.455085)'))) / (select extract(epoch from '2026-07-18 15:12:36'::timestamp) - extract(epoch from '2026-07-18 15:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.481972 -3.455007)'), GeomFromEWKT('SRID=4674;POINT (-38.482021 -3.455085)'))) / (select extract(epoch from '2026-07-18 15:12:36'::timestamp) - extract(epoch from '2026-07-18 15:12:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482073 -3.455174)', '2026-07-18 15:12:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482021 -3.455085)'), GeomFromEWKT('SRID=4674;POINT (-38.482073 -3.455174)'))) / (select extract(epoch from '2026-07-18 15:12:43'::timestamp) - extract(epoch from '2026-07-18 15:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482021 -3.455085)'), GeomFromEWKT('SRID=4674;POINT (-38.482073 -3.455174)'))) / (select extract(epoch from '2026-07-18 15:12:43'::timestamp) - extract(epoch from '2026-07-18 15:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482114 -3.455221)', '2026-07-18 15:12:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482073 -3.455174)'), GeomFromEWKT('SRID=4674;POINT (-38.482114 -3.455221)'))) / (select extract(epoch from '2026-07-18 15:12:46'::timestamp) - extract(epoch from '2026-07-18 15:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482073 -3.455174)'), GeomFromEWKT('SRID=4674;POINT (-38.482114 -3.455221)'))) / (select extract(epoch from '2026-07-18 15:12:46'::timestamp) - extract(epoch from '2026-07-18 15:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482136 -3.455256)', '2026-07-18 15:12:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482114 -3.455221)'), GeomFromEWKT('SRID=4674;POINT (-38.482136 -3.455256)'))) / (select extract(epoch from '2026-07-18 15:12:48'::timestamp) - extract(epoch from '2026-07-18 15:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482114 -3.455221)'), GeomFromEWKT('SRID=4674;POINT (-38.482136 -3.455256)'))) / (select extract(epoch from '2026-07-18 15:12:48'::timestamp) - extract(epoch from '2026-07-18 15:12:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482174 -3.455335)', '2026-07-18 15:12:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482136 -3.455256)'), GeomFromEWKT('SRID=4674;POINT (-38.482174 -3.455335)'))) / (select extract(epoch from '2026-07-18 15:12:53'::timestamp) - extract(epoch from '2026-07-18 15:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482136 -3.455256)'), GeomFromEWKT('SRID=4674;POINT (-38.482174 -3.455335)'))) / (select extract(epoch from '2026-07-18 15:12:53'::timestamp) - extract(epoch from '2026-07-18 15:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482186 -3.455367)', '2026-07-18 15:12:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482174 -3.455335)'), GeomFromEWKT('SRID=4674;POINT (-38.482186 -3.455367)'))) / (select extract(epoch from '2026-07-18 15:12:55'::timestamp) - extract(epoch from '2026-07-18 15:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482174 -3.455335)'), GeomFromEWKT('SRID=4674;POINT (-38.482186 -3.455367)'))) / (select extract(epoch from '2026-07-18 15:12:55'::timestamp) - extract(epoch from '2026-07-18 15:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482218 -3.455401)', '2026-07-18 15:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482186 -3.455367)'), GeomFromEWKT('SRID=4674;POINT (-38.482218 -3.455401)'))) / (select extract(epoch from '2026-07-18 15:12:58'::timestamp) - extract(epoch from '2026-07-18 15:12:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482186 -3.455367)'), GeomFromEWKT('SRID=4674;POINT (-38.482218 -3.455401)'))) / (select extract(epoch from '2026-07-18 15:12:58'::timestamp) - extract(epoch from '2026-07-18 15:12:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482291 -3.455506)', '2026-07-18 15:13:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482218 -3.455401)'), GeomFromEWKT('SRID=4674;POINT (-38.482291 -3.455506)'))) / (select extract(epoch from '2026-07-18 15:13:05'::timestamp) - extract(epoch from '2026-07-18 15:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482218 -3.455401)'), GeomFromEWKT('SRID=4674;POINT (-38.482291 -3.455506)'))) / (select extract(epoch from '2026-07-18 15:13:05'::timestamp) - extract(epoch from '2026-07-18 15:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482358 -3.455609)', '2026-07-18 15:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482291 -3.455506)'), GeomFromEWKT('SRID=4674;POINT (-38.482358 -3.455609)'))) / (select extract(epoch from '2026-07-18 15:13:11'::timestamp) - extract(epoch from '2026-07-18 15:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482291 -3.455506)'), GeomFromEWKT('SRID=4674;POINT (-38.482358 -3.455609)'))) / (select extract(epoch from '2026-07-18 15:13:11'::timestamp) - extract(epoch from '2026-07-18 15:13:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482408 -3.4557)', '2026-07-18 15:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482358 -3.455609)'), GeomFromEWKT('SRID=4674;POINT (-38.482408 -3.4557)'))) / (select extract(epoch from '2026-07-18 15:13:16'::timestamp) - extract(epoch from '2026-07-18 15:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482358 -3.455609)'), GeomFromEWKT('SRID=4674;POINT (-38.482408 -3.4557)'))) / (select extract(epoch from '2026-07-18 15:13:16'::timestamp) - extract(epoch from '2026-07-18 15:13:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482457 -3.455807)', '2026-07-18 15:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482408 -3.4557)'), GeomFromEWKT('SRID=4674;POINT (-38.482457 -3.455807)'))) / (select extract(epoch from '2026-07-18 15:13:22'::timestamp) - extract(epoch from '2026-07-18 15:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482408 -3.4557)'), GeomFromEWKT('SRID=4674;POINT (-38.482457 -3.455807)'))) / (select extract(epoch from '2026-07-18 15:13:22'::timestamp) - extract(epoch from '2026-07-18 15:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482489 -3.455884)', '2026-07-18 15:13:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482457 -3.455807)'), GeomFromEWKT('SRID=4674;POINT (-38.482489 -3.455884)'))) / (select extract(epoch from '2026-07-18 15:13:26'::timestamp) - extract(epoch from '2026-07-18 15:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482457 -3.455807)'), GeomFromEWKT('SRID=4674;POINT (-38.482489 -3.455884)'))) / (select extract(epoch from '2026-07-18 15:13:26'::timestamp) - extract(epoch from '2026-07-18 15:13:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482527 -3.455979)', '2026-07-18 15:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482489 -3.455884)'), GeomFromEWKT('SRID=4674;POINT (-38.482527 -3.455979)'))) / (select extract(epoch from '2026-07-18 15:13:32'::timestamp) - extract(epoch from '2026-07-18 15:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482489 -3.455884)'), GeomFromEWKT('SRID=4674;POINT (-38.482527 -3.455979)'))) / (select extract(epoch from '2026-07-18 15:13:32'::timestamp) - extract(epoch from '2026-07-18 15:13:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482593 -3.456086)', '2026-07-18 15:13:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482527 -3.455979)'), GeomFromEWKT('SRID=4674;POINT (-38.482593 -3.456086)'))) / (select extract(epoch from '2026-07-18 15:13:39'::timestamp) - extract(epoch from '2026-07-18 15:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482527 -3.455979)'), GeomFromEWKT('SRID=4674;POINT (-38.482593 -3.456086)'))) / (select extract(epoch from '2026-07-18 15:13:39'::timestamp) - extract(epoch from '2026-07-18 15:13:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482655 -3.456219)', '2026-07-18 15:13:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482593 -3.456086)'), GeomFromEWKT('SRID=4674;POINT (-38.482655 -3.456219)'))) / (select extract(epoch from '2026-07-18 15:13:47'::timestamp) - extract(epoch from '2026-07-18 15:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482593 -3.456086)'), GeomFromEWKT('SRID=4674;POINT (-38.482655 -3.456219)'))) / (select extract(epoch from '2026-07-18 15:13:47'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.482665 -3.456237)', '2026-07-18 15:13:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482655 -3.456219)'), GeomFromEWKT('SRID=4674;POINT (-38.482665 -3.456237)'))) / (select extract(epoch from '2026-07-18 15:13:48'::timestamp) - extract(epoch from '2026-07-18 15:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482655 -3.456219)'), GeomFromEWKT('SRID=4674;POINT (-38.482665 -3.456237)'))) / (select extract(epoch from '2026-07-18 15:13:48'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.482699 -3.456302)', '2026-07-18 15:13:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482665 -3.456237)'), GeomFromEWKT('SRID=4674;POINT (-38.482699 -3.456302)'))) / (select extract(epoch from '2026-07-18 15:13:52'::timestamp) - extract(epoch from '2026-07-18 15:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482665 -3.456237)'), GeomFromEWKT('SRID=4674;POINT (-38.482699 -3.456302)'))) / (select extract(epoch from '2026-07-18 15:13:52'::timestamp) - extract(epoch from '2026-07-18 15:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482743 -3.456394)', '2026-07-18 15:13:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482699 -3.456302)'), GeomFromEWKT('SRID=4674;POINT (-38.482743 -3.456394)'))) / (select extract(epoch from '2026-07-18 15:13:57'::timestamp) - extract(epoch from '2026-07-18 15:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482699 -3.456302)'), GeomFromEWKT('SRID=4674;POINT (-38.482743 -3.456394)'))) / (select extract(epoch from '2026-07-18 15:13:57'::timestamp) - extract(epoch from '2026-07-18 15:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482782 -3.456474)', '2026-07-18 15:14:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482743 -3.456394)'), GeomFromEWKT('SRID=4674;POINT (-38.482782 -3.456474)'))) / (select extract(epoch from '2026-07-18 15:14:02'::timestamp) - extract(epoch from '2026-07-18 15:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482743 -3.456394)'), GeomFromEWKT('SRID=4674;POINT (-38.482782 -3.456474)'))) / (select extract(epoch from '2026-07-18 15:14:02'::timestamp) - extract(epoch from '2026-07-18 15:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482787 -3.456491)', '2026-07-18 15:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482782 -3.456474)'), GeomFromEWKT('SRID=4674;POINT (-38.482787 -3.456491)'))) / (select extract(epoch from '2026-07-18 15:14:03'::timestamp) - extract(epoch from '2026-07-18 15:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482782 -3.456474)'), GeomFromEWKT('SRID=4674;POINT (-38.482787 -3.456491)'))) / (select extract(epoch from '2026-07-18 15:14:03'::timestamp) - extract(epoch from '2026-07-18 15:14:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482825 -3.456578)', '2026-07-18 15:14:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482787 -3.456491)'), GeomFromEWKT('SRID=4674;POINT (-38.482825 -3.456578)'))) / (select extract(epoch from '2026-07-18 15:14:09'::timestamp) - extract(epoch from '2026-07-18 15:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482787 -3.456491)'), GeomFromEWKT('SRID=4674;POINT (-38.482825 -3.456578)'))) / (select extract(epoch from '2026-07-18 15:14:09'::timestamp) - extract(epoch from '2026-07-18 15:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482878 -3.456661)', '2026-07-18 15:14:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482825 -3.456578)'), GeomFromEWKT('SRID=4674;POINT (-38.482878 -3.456661)'))) / (select extract(epoch from '2026-07-18 15:14:14'::timestamp) - extract(epoch from '2026-07-18 15:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482825 -3.456578)'), GeomFromEWKT('SRID=4674;POINT (-38.482878 -3.456661)'))) / (select extract(epoch from '2026-07-18 15:14:14'::timestamp) - extract(epoch from '2026-07-18 15:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482885 -3.456677)', '2026-07-18 15:14:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482878 -3.456661)'), GeomFromEWKT('SRID=4674;POINT (-38.482885 -3.456677)'))) / (select extract(epoch from '2026-07-18 15:14:15'::timestamp) - extract(epoch from '2026-07-18 15:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482878 -3.456661)'), GeomFromEWKT('SRID=4674;POINT (-38.482885 -3.456677)'))) / (select extract(epoch from '2026-07-18 15:14:15'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.482921 -3.456743)', '2026-07-18 15:14:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482885 -3.456677)'), GeomFromEWKT('SRID=4674;POINT (-38.482921 -3.456743)'))) / (select extract(epoch from '2026-07-18 15:14:19'::timestamp) - extract(epoch from '2026-07-18 15:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482885 -3.456677)'), GeomFromEWKT('SRID=4674;POINT (-38.482921 -3.456743)'))) / (select extract(epoch from '2026-07-18 15:14:19'::timestamp) - extract(epoch from '2026-07-18 15:14:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.482985 -3.45686)', '2026-07-18 15:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482921 -3.456743)'), GeomFromEWKT('SRID=4674;POINT (-38.482985 -3.45686)'))) / (select extract(epoch from '2026-07-18 15:14:25'::timestamp) - extract(epoch from '2026-07-18 15:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482921 -3.456743)'), GeomFromEWKT('SRID=4674;POINT (-38.482985 -3.45686)'))) / (select extract(epoch from '2026-07-18 15:14:25'::timestamp) - extract(epoch from '2026-07-18 15: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'), 47391, 'SRID=4674;POINT (-38.483035 -3.456969)', '2026-07-18 15:14:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482985 -3.45686)'), GeomFromEWKT('SRID=4674;POINT (-38.483035 -3.456969)'))) / (select extract(epoch from '2026-07-18 15:14:31'::timestamp) - extract(epoch from '2026-07-18 15:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.482985 -3.45686)'), GeomFromEWKT('SRID=4674;POINT (-38.483035 -3.456969)'))) / (select extract(epoch from '2026-07-18 15:14:31'::timestamp) - extract(epoch from '2026-07-18 15:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.483089 -3.457085)', '2026-07-18 15:14:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483035 -3.456969)'), GeomFromEWKT('SRID=4674;POINT (-38.483089 -3.457085)'))) / (select extract(epoch from '2026-07-18 15:14:37'::timestamp) - extract(epoch from '2026-07-18 15:14:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483035 -3.456969)'), GeomFromEWKT('SRID=4674;POINT (-38.483089 -3.457085)'))) / (select extract(epoch from '2026-07-18 15:14:37'::timestamp) - extract(epoch from '2026-07-18 15:14:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.4831 -3.457126)', '2026-07-18 15:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483089 -3.457085)'), GeomFromEWKT('SRID=4674;POINT (-38.4831 -3.457126)'))) / (select extract(epoch from '2026-07-18 15:14:39'::timestamp) - extract(epoch from '2026-07-18 15:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.483089 -3.457085)'), GeomFromEWKT('SRID=4674;POINT (-38.4831 -3.457126)'))) / (select extract(epoch from '2026-07-18 15:14:39'::timestamp) - extract(epoch from '2026-07-18 15:14:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
