 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51702 -3.548532)', '2026-07-18 16:45:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516993 -3.548505)'), GeomFromEWKT('SRID=4674;POINT (-38.51702 -3.548532)'))) / (select extract(epoch from '2026-07-18 16:45:41'::timestamp) - extract(epoch from '2026-07-18 16:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516993 -3.548505)'), GeomFromEWKT('SRID=4674;POINT (-38.51702 -3.548532)'))) / (select extract(epoch from '2026-07-18 16:45:41'::timestamp) - extract(epoch from '2026-07-18 16: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.517035 -3.548592)', '2026-07-18 16:45:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51702 -3.548532)'), GeomFromEWKT('SRID=4674;POINT (-38.517035 -3.548592)'))) / (select extract(epoch from '2026-07-18 16:45:47'::timestamp) - extract(epoch from '2026-07-18 16:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51702 -3.548532)'), GeomFromEWKT('SRID=4674;POINT (-38.517035 -3.548592)'))) / (select extract(epoch from '2026-07-18 16:45:47'::timestamp) - extract(epoch from '2026-07-18 16:45: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.517074 -3.548686)', '2026-07-18 16:45:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517035 -3.548592)'), GeomFromEWKT('SRID=4674;POINT (-38.517074 -3.548686)'))) / (select extract(epoch from '2026-07-18 16:45:54'::timestamp) - extract(epoch from '2026-07-18 16:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517035 -3.548592)'), GeomFromEWKT('SRID=4674;POINT (-38.517074 -3.548686)'))) / (select extract(epoch from '2026-07-18 16:45:54'::timestamp) - extract(epoch from '2026-07-18 16:45: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.517084 -3.548698)', '2026-07-18 16:45:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517074 -3.548686)'), GeomFromEWKT('SRID=4674;POINT (-38.517084 -3.548698)'))) / (select extract(epoch from '2026-07-18 16:45:55'::timestamp) - extract(epoch from '2026-07-18 16:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517074 -3.548686)'), GeomFromEWKT('SRID=4674;POINT (-38.517084 -3.548698)'))) / (select extract(epoch from '2026-07-18 16:45:55'::timestamp) - extract(epoch from '2026-07-18 16:45: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.517119 -3.54876)', '2026-07-18 16:45:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517084 -3.548698)'), GeomFromEWKT('SRID=4674;POINT (-38.517119 -3.54876)'))) / (select extract(epoch from '2026-07-18 16:45:59'::timestamp) - extract(epoch from '2026-07-18 16:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517084 -3.548698)'), GeomFromEWKT('SRID=4674;POINT (-38.517119 -3.54876)'))) / (select extract(epoch from '2026-07-18 16:45:59'::timestamp) - extract(epoch from '2026-07-18 16:45: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.517124 -3.548775)', '2026-07-18 16:46:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517119 -3.54876)'), GeomFromEWKT('SRID=4674;POINT (-38.517124 -3.548775)'))) / (select extract(epoch from '2026-07-18 16:46:00'::timestamp) - extract(epoch from '2026-07-18 16:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517119 -3.54876)'), GeomFromEWKT('SRID=4674;POINT (-38.517124 -3.548775)'))) / (select extract(epoch from '2026-07-18 16:46:00'::timestamp) - extract(epoch from '2026-07-18 16: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.517157 -3.548823)', '2026-07-18 16:46:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517124 -3.548775)'), GeomFromEWKT('SRID=4674;POINT (-38.517157 -3.548823)'))) / (select extract(epoch from '2026-07-18 16:46:03'::timestamp) - extract(epoch from '2026-07-18 16:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517124 -3.548775)'), GeomFromEWKT('SRID=4674;POINT (-38.517157 -3.548823)'))) / (select extract(epoch from '2026-07-18 16:46:03'::timestamp) - extract(epoch from '2026-07-18 16:46:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517159 -3.54885)', '2026-07-18 16:46:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517157 -3.548823)'), GeomFromEWKT('SRID=4674;POINT (-38.517159 -3.54885)'))) / (select extract(epoch from '2026-07-18 16:46:05'::timestamp) - extract(epoch from '2026-07-18 16:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517157 -3.548823)'), GeomFromEWKT('SRID=4674;POINT (-38.517159 -3.54885)'))) / (select extract(epoch from '2026-07-18 16:46:05'::timestamp) - extract(epoch from '2026-07-18 16:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517176 -3.548872)', '2026-07-18 16:46:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517159 -3.54885)'), GeomFromEWKT('SRID=4674;POINT (-38.517176 -3.548872)'))) / (select extract(epoch from '2026-07-18 16:46:07'::timestamp) - extract(epoch from '2026-07-18 16:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517159 -3.54885)'), GeomFromEWKT('SRID=4674;POINT (-38.517176 -3.548872)'))) / (select extract(epoch from '2026-07-18 16:46:07'::timestamp) - extract(epoch from '2026-07-18 16:46: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.517221 -3.548991)', '2026-07-18 16:46:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517176 -3.548872)'), GeomFromEWKT('SRID=4674;POINT (-38.517221 -3.548991)'))) / (select extract(epoch from '2026-07-18 16:46:14'::timestamp) - extract(epoch from '2026-07-18 16:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517176 -3.548872)'), GeomFromEWKT('SRID=4674;POINT (-38.517221 -3.548991)'))) / (select extract(epoch from '2026-07-18 16:46:14'::timestamp) - extract(epoch from '2026-07-18 16:46: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.517252 -3.549074)', '2026-07-18 16:46:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517221 -3.548991)'), GeomFromEWKT('SRID=4674;POINT (-38.517252 -3.549074)'))) / (select extract(epoch from '2026-07-18 16:46:19'::timestamp) - extract(epoch from '2026-07-18 16:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517221 -3.548991)'), GeomFromEWKT('SRID=4674;POINT (-38.517252 -3.549074)'))) / (select extract(epoch from '2026-07-18 16:46:19'::timestamp) - extract(epoch from '2026-07-18 16:46: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.517273 -3.549152)', '2026-07-18 16:46:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517252 -3.549074)'), GeomFromEWKT('SRID=4674;POINT (-38.517273 -3.549152)'))) / (select extract(epoch from '2026-07-18 16:46:24'::timestamp) - extract(epoch from '2026-07-18 16:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517252 -3.549074)'), GeomFromEWKT('SRID=4674;POINT (-38.517273 -3.549152)'))) / (select extract(epoch from '2026-07-18 16:46:24'::timestamp) - extract(epoch from '2026-07-18 16:46: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.517282 -3.549168)', '2026-07-18 16:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517273 -3.549152)'), GeomFromEWKT('SRID=4674;POINT (-38.517282 -3.549168)'))) / (select extract(epoch from '2026-07-18 16:46:25'::timestamp) - extract(epoch from '2026-07-18 16:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517273 -3.549152)'), GeomFromEWKT('SRID=4674;POINT (-38.517282 -3.549168)'))) / (select extract(epoch from '2026-07-18 16:46:25'::timestamp) - extract(epoch from '2026-07-18 16:46:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517298 -3.549198)', '2026-07-18 16:46:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517282 -3.549168)'), GeomFromEWKT('SRID=4674;POINT (-38.517298 -3.549198)'))) / (select extract(epoch from '2026-07-18 16:46:27'::timestamp) - extract(epoch from '2026-07-18 16:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517282 -3.549168)'), GeomFromEWKT('SRID=4674;POINT (-38.517298 -3.549198)'))) / (select extract(epoch from '2026-07-18 16:46:27'::timestamp) - extract(epoch from '2026-07-18 16: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.5173 -3.549213)', '2026-07-18 16:46:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517298 -3.549198)'), GeomFromEWKT('SRID=4674;POINT (-38.5173 -3.549213)'))) / (select extract(epoch from '2026-07-18 16:46:28'::timestamp) - extract(epoch from '2026-07-18 16:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517298 -3.549198)'), GeomFromEWKT('SRID=4674;POINT (-38.5173 -3.549213)'))) / (select extract(epoch from '2026-07-18 16:46:28'::timestamp) - extract(epoch from '2026-07-18 16:46: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.517309 -3.549239)', '2026-07-18 16:46:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5173 -3.549213)'), GeomFromEWKT('SRID=4674;POINT (-38.517309 -3.549239)'))) / (select extract(epoch from '2026-07-18 16:46:30'::timestamp) - extract(epoch from '2026-07-18 16:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5173 -3.549213)'), GeomFromEWKT('SRID=4674;POINT (-38.517309 -3.549239)'))) / (select extract(epoch from '2026-07-18 16:46:30'::timestamp) - extract(epoch from '2026-07-18 16:46: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.517345 -3.549305)', '2026-07-18 16:46:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517309 -3.549239)'), GeomFromEWKT('SRID=4674;POINT (-38.517345 -3.549305)'))) / (select extract(epoch from '2026-07-18 16:46:34'::timestamp) - extract(epoch from '2026-07-18 16:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517309 -3.549239)'), GeomFromEWKT('SRID=4674;POINT (-38.517345 -3.549305)'))) / (select extract(epoch from '2026-07-18 16:46:34'::timestamp) - extract(epoch from '2026-07-18 16:46: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.517391 -3.54941)', '2026-07-18 16:46:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517345 -3.549305)'), GeomFromEWKT('SRID=4674;POINT (-38.517391 -3.54941)'))) / (select extract(epoch from '2026-07-18 16:46:40'::timestamp) - extract(epoch from '2026-07-18 16:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517345 -3.549305)'), GeomFromEWKT('SRID=4674;POINT (-38.517391 -3.54941)'))) / (select extract(epoch from '2026-07-18 16:46:40'::timestamp) - extract(epoch from '2026-07-18 16: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.517412 -3.549501)', '2026-07-18 16:46:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517391 -3.54941)'), GeomFromEWKT('SRID=4674;POINT (-38.517412 -3.549501)'))) / (select extract(epoch from '2026-07-18 16:46:46'::timestamp) - extract(epoch from '2026-07-18 16:46:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517391 -3.54941)'), GeomFromEWKT('SRID=4674;POINT (-38.517412 -3.549501)'))) / (select extract(epoch from '2026-07-18 16:46:46'::timestamp) - extract(epoch from '2026-07-18 16:46:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517444 -3.549564)', '2026-07-18 16:46:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517412 -3.549501)'), GeomFromEWKT('SRID=4674;POINT (-38.517444 -3.549564)'))) / (select extract(epoch from '2026-07-18 16:46:50'::timestamp) - extract(epoch from '2026-07-18 16:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517412 -3.549501)'), GeomFromEWKT('SRID=4674;POINT (-38.517444 -3.549564)'))) / (select extract(epoch from '2026-07-18 16:46:50'::timestamp) - extract(epoch from '2026-07-18 16:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517448 -3.549584)', '2026-07-18 16:46:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517444 -3.549564)'), GeomFromEWKT('SRID=4674;POINT (-38.517448 -3.549584)'))) / (select extract(epoch from '2026-07-18 16:46:51'::timestamp) - extract(epoch from '2026-07-18 16:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517444 -3.549564)'), GeomFromEWKT('SRID=4674;POINT (-38.517448 -3.549584)'))) / (select extract(epoch from '2026-07-18 16:46:51'::timestamp) - extract(epoch from '2026-07-18 16:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517484 -3.54969)', '2026-07-18 16:46:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517448 -3.549584)'), GeomFromEWKT('SRID=4674;POINT (-38.517484 -3.54969)'))) / (select extract(epoch from '2026-07-18 16:46:57'::timestamp) - extract(epoch from '2026-07-18 16:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517448 -3.549584)'), GeomFromEWKT('SRID=4674;POINT (-38.517484 -3.54969)'))) / (select extract(epoch from '2026-07-18 16:46:57'::timestamp) - extract(epoch from '2026-07-18 16:46: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.517496 -3.549707)', '2026-07-18 16:46:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517484 -3.54969)'), GeomFromEWKT('SRID=4674;POINT (-38.517496 -3.549707)'))) / (select extract(epoch from '2026-07-18 16:46:58'::timestamp) - extract(epoch from '2026-07-18 16:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517484 -3.54969)'), GeomFromEWKT('SRID=4674;POINT (-38.517496 -3.549707)'))) / (select extract(epoch from '2026-07-18 16:46:58'::timestamp) - extract(epoch from '2026-07-18 16:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517519 -3.549739)', '2026-07-18 16:47:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517496 -3.549707)'), GeomFromEWKT('SRID=4674;POINT (-38.517519 -3.549739)'))) / (select extract(epoch from '2026-07-18 16:47:00'::timestamp) - extract(epoch from '2026-07-18 16:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517496 -3.549707)'), GeomFromEWKT('SRID=4674;POINT (-38.517519 -3.549739)'))) / (select extract(epoch from '2026-07-18 16:47:00'::timestamp) - extract(epoch from '2026-07-18 16:46: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.51752 -3.54976)', '2026-07-18 16:47:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517519 -3.549739)'), GeomFromEWKT('SRID=4674;POINT (-38.51752 -3.54976)'))) / (select extract(epoch from '2026-07-18 16:47:01'::timestamp) - extract(epoch from '2026-07-18 16:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517519 -3.549739)'), GeomFromEWKT('SRID=4674;POINT (-38.51752 -3.54976)'))) / (select extract(epoch from '2026-07-18 16:47:01'::timestamp) - extract(epoch from '2026-07-18 16: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.517527 -3.549794)', '2026-07-18 16:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51752 -3.54976)'), GeomFromEWKT('SRID=4674;POINT (-38.517527 -3.549794)'))) / (select extract(epoch from '2026-07-18 16:47:03'::timestamp) - extract(epoch from '2026-07-18 16:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51752 -3.54976)'), GeomFromEWKT('SRID=4674;POINT (-38.517527 -3.549794)'))) / (select extract(epoch from '2026-07-18 16:47:03'::timestamp) - extract(epoch from '2026-07-18 16:47:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517556 -3.549851)', '2026-07-18 16:47:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517527 -3.549794)'), GeomFromEWKT('SRID=4674;POINT (-38.517556 -3.549851)'))) / (select extract(epoch from '2026-07-18 16:47:06'::timestamp) - extract(epoch from '2026-07-18 16:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517527 -3.549794)'), GeomFromEWKT('SRID=4674;POINT (-38.517556 -3.549851)'))) / (select extract(epoch from '2026-07-18 16:47:06'::timestamp) - extract(epoch from '2026-07-18 16:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517601 -3.549994)', '2026-07-18 16:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517556 -3.549851)'), GeomFromEWKT('SRID=4674;POINT (-38.517601 -3.549994)'))) / (select extract(epoch from '2026-07-18 16:47:14'::timestamp) - extract(epoch from '2026-07-18 16:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517556 -3.549851)'), GeomFromEWKT('SRID=4674;POINT (-38.517601 -3.549994)'))) / (select extract(epoch from '2026-07-18 16:47:14'::timestamp) - extract(epoch from '2026-07-18 16: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.517622 -3.550086)', '2026-07-18 16:47:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517601 -3.549994)'), GeomFromEWKT('SRID=4674;POINT (-38.517622 -3.550086)'))) / (select extract(epoch from '2026-07-18 16:47:19'::timestamp) - extract(epoch from '2026-07-18 16:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517601 -3.549994)'), GeomFromEWKT('SRID=4674;POINT (-38.517622 -3.550086)'))) / (select extract(epoch from '2026-07-18 16:47:19'::timestamp) - extract(epoch from '2026-07-18 16:47: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.517654 -3.550197)', '2026-07-18 16:47:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517622 -3.550086)'), GeomFromEWKT('SRID=4674;POINT (-38.517654 -3.550197)'))) / (select extract(epoch from '2026-07-18 16:47:24'::timestamp) - extract(epoch from '2026-07-18 16:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517622 -3.550086)'), GeomFromEWKT('SRID=4674;POINT (-38.517654 -3.550197)'))) / (select extract(epoch from '2026-07-18 16:47:24'::timestamp) - extract(epoch from '2026-07-18 16:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517675 -3.55029)', '2026-07-18 16:47:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517654 -3.550197)'), GeomFromEWKT('SRID=4674;POINT (-38.517675 -3.55029)'))) / (select extract(epoch from '2026-07-18 16:47:29'::timestamp) - extract(epoch from '2026-07-18 16:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517654 -3.550197)'), GeomFromEWKT('SRID=4674;POINT (-38.517675 -3.55029)'))) / (select extract(epoch from '2026-07-18 16:47:29'::timestamp) - extract(epoch from '2026-07-18 16:47:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517689 -3.550368)', '2026-07-18 16:47:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517675 -3.55029)'), GeomFromEWKT('SRID=4674;POINT (-38.517689 -3.550368)'))) / (select extract(epoch from '2026-07-18 16:47:33'::timestamp) - extract(epoch from '2026-07-18 16:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517675 -3.55029)'), GeomFromEWKT('SRID=4674;POINT (-38.517689 -3.550368)'))) / (select extract(epoch from '2026-07-18 16:47:33'::timestamp) - extract(epoch from '2026-07-18 16:47: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.517696 -3.550388)', '2026-07-18 16:47:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517689 -3.550368)'), GeomFromEWKT('SRID=4674;POINT (-38.517696 -3.550388)'))) / (select extract(epoch from '2026-07-18 16:47:34'::timestamp) - extract(epoch from '2026-07-18 16:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517689 -3.550368)'), GeomFromEWKT('SRID=4674;POINT (-38.517696 -3.550388)'))) / (select extract(epoch from '2026-07-18 16:47:34'::timestamp) - extract(epoch from '2026-07-18 16:47:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517713 -3.550443)', '2026-07-18 16:47:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517696 -3.550388)'), GeomFromEWKT('SRID=4674;POINT (-38.517713 -3.550443)'))) / (select extract(epoch from '2026-07-18 16:47:37'::timestamp) - extract(epoch from '2026-07-18 16:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517696 -3.550388)'), GeomFromEWKT('SRID=4674;POINT (-38.517713 -3.550443)'))) / (select extract(epoch from '2026-07-18 16:47:37'::timestamp) - extract(epoch from '2026-07-18 16:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517724 -3.550484)', '2026-07-18 16:47:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517713 -3.550443)'), GeomFromEWKT('SRID=4674;POINT (-38.517724 -3.550484)'))) / (select extract(epoch from '2026-07-18 16:47:40'::timestamp) - extract(epoch from '2026-07-18 16:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517713 -3.550443)'), GeomFromEWKT('SRID=4674;POINT (-38.517724 -3.550484)'))) / (select extract(epoch from '2026-07-18 16:47:40'::timestamp) - extract(epoch from '2026-07-18 16: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.51774 -3.550526)', '2026-07-18 16:47:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517724 -3.550484)'), GeomFromEWKT('SRID=4674;POINT (-38.51774 -3.550526)'))) / (select extract(epoch from '2026-07-18 16:47:43'::timestamp) - extract(epoch from '2026-07-18 16:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517724 -3.550484)'), GeomFromEWKT('SRID=4674;POINT (-38.51774 -3.550526)'))) / (select extract(epoch from '2026-07-18 16:47:43'::timestamp) - extract(epoch from '2026-07-18 16:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517748 -3.55057)', '2026-07-18 16:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51774 -3.550526)'), GeomFromEWKT('SRID=4674;POINT (-38.517748 -3.55057)'))) / (select extract(epoch from '2026-07-18 16:47:46'::timestamp) - extract(epoch from '2026-07-18 16:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51774 -3.550526)'), GeomFromEWKT('SRID=4674;POINT (-38.517748 -3.55057)'))) / (select extract(epoch from '2026-07-18 16:47:46'::timestamp) - extract(epoch from '2026-07-18 16:47:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517777 -3.550687)', '2026-07-18 16:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517748 -3.55057)'), GeomFromEWKT('SRID=4674;POINT (-38.517777 -3.550687)'))) / (select extract(epoch from '2026-07-18 16:47:53'::timestamp) - extract(epoch from '2026-07-18 16:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517748 -3.55057)'), GeomFromEWKT('SRID=4674;POINT (-38.517777 -3.550687)'))) / (select extract(epoch from '2026-07-18 16:47:53'::timestamp) - extract(epoch from '2026-07-18 16: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.517805 -3.550784)', '2026-07-18 16:47:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517777 -3.550687)'), GeomFromEWKT('SRID=4674;POINT (-38.517805 -3.550784)'))) / (select extract(epoch from '2026-07-18 16:47:59'::timestamp) - extract(epoch from '2026-07-18 16:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517777 -3.550687)'), GeomFromEWKT('SRID=4674;POINT (-38.517805 -3.550784)'))) / (select extract(epoch from '2026-07-18 16:47:59'::timestamp) - extract(epoch from '2026-07-18 16:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517827 -3.550891)', '2026-07-18 16:48:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517805 -3.550784)'), GeomFromEWKT('SRID=4674;POINT (-38.517827 -3.550891)'))) / (select extract(epoch from '2026-07-18 16:48:05'::timestamp) - extract(epoch from '2026-07-18 16:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517805 -3.550784)'), GeomFromEWKT('SRID=4674;POINT (-38.517827 -3.550891)'))) / (select extract(epoch from '2026-07-18 16:48:05'::timestamp) - extract(epoch from '2026-07-18 16:47: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.517833 -3.550925)', '2026-07-18 16:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517827 -3.550891)'), GeomFromEWKT('SRID=4674;POINT (-38.517833 -3.550925)'))) / (select extract(epoch from '2026-07-18 16:48:07'::timestamp) - extract(epoch from '2026-07-18 16:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517827 -3.550891)'), GeomFromEWKT('SRID=4674;POINT (-38.517833 -3.550925)'))) / (select extract(epoch from '2026-07-18 16:48:07'::timestamp) - extract(epoch from '2026-07-18 16:48:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51785 -3.551)', '2026-07-18 16:48:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517833 -3.550925)'), GeomFromEWKT('SRID=4674;POINT (-38.51785 -3.551)'))) / (select extract(epoch from '2026-07-18 16:48:11'::timestamp) - extract(epoch from '2026-07-18 16:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517833 -3.550925)'), GeomFromEWKT('SRID=4674;POINT (-38.51785 -3.551)'))) / (select extract(epoch from '2026-07-18 16:48:11'::timestamp) - extract(epoch from '2026-07-18 16:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517873 -3.551106)', '2026-07-18 16:48:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51785 -3.551)'), GeomFromEWKT('SRID=4674;POINT (-38.517873 -3.551106)'))) / (select extract(epoch from '2026-07-18 16:48:17'::timestamp) - extract(epoch from '2026-07-18 16:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51785 -3.551)'), GeomFromEWKT('SRID=4674;POINT (-38.517873 -3.551106)'))) / (select extract(epoch from '2026-07-18 16:48:17'::timestamp) - extract(epoch from '2026-07-18 16:48:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.517891 -3.551144)', '2026-07-18 16:48:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517873 -3.551106)'), GeomFromEWKT('SRID=4674;POINT (-38.517891 -3.551144)'))) / (select extract(epoch from '2026-07-18 16:48:19'::timestamp) - extract(epoch from '2026-07-18 16:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517873 -3.551106)'), GeomFromEWKT('SRID=4674;POINT (-38.517891 -3.551144)'))) / (select extract(epoch from '2026-07-18 16:48:19'::timestamp) - extract(epoch from '2026-07-18 16:48: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.517905 -3.551197)', '2026-07-18 16:48:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517891 -3.551144)'), GeomFromEWKT('SRID=4674;POINT (-38.517905 -3.551197)'))) / (select extract(epoch from '2026-07-18 16:48:22'::timestamp) - extract(epoch from '2026-07-18 16:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517891 -3.551144)'), GeomFromEWKT('SRID=4674;POINT (-38.517905 -3.551197)'))) / (select extract(epoch from '2026-07-18 16:48:22'::timestamp) - extract(epoch from '2026-07-18 16:48: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.517949 -3.55132)', '2026-07-18 16:48:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517905 -3.551197)'), GeomFromEWKT('SRID=4674;POINT (-38.517949 -3.55132)'))) / (select extract(epoch from '2026-07-18 16:48:28'::timestamp) - extract(epoch from '2026-07-18 16:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517905 -3.551197)'), GeomFromEWKT('SRID=4674;POINT (-38.517949 -3.55132)'))) / (select extract(epoch from '2026-07-18 16:48:28'::timestamp) - extract(epoch from '2026-07-18 16:48: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.517964 -3.551411)', '2026-07-18 16:48:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517949 -3.55132)'), GeomFromEWKT('SRID=4674;POINT (-38.517964 -3.551411)'))) / (select extract(epoch from '2026-07-18 16:48:33'::timestamp) - extract(epoch from '2026-07-18 16:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517949 -3.55132)'), GeomFromEWKT('SRID=4674;POINT (-38.517964 -3.551411)'))) / (select extract(epoch from '2026-07-18 16:48:33'::timestamp) - extract(epoch from '2026-07-18 16: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.517984 -3.551501)', '2026-07-18 16:48:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517964 -3.551411)'), GeomFromEWKT('SRID=4674;POINT (-38.517984 -3.551501)'))) / (select extract(epoch from '2026-07-18 16:48:38'::timestamp) - extract(epoch from '2026-07-18 16:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517964 -3.551411)'), GeomFromEWKT('SRID=4674;POINT (-38.517984 -3.551501)'))) / (select extract(epoch from '2026-07-18 16:48:38'::timestamp) - extract(epoch from '2026-07-18 16:48: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.518012 -3.551598)', '2026-07-18 16:48:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517984 -3.551501)'), GeomFromEWKT('SRID=4674;POINT (-38.518012 -3.551598)'))) / (select extract(epoch from '2026-07-18 16:48:44'::timestamp) - extract(epoch from '2026-07-18 16:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517984 -3.551501)'), GeomFromEWKT('SRID=4674;POINT (-38.518012 -3.551598)'))) / (select extract(epoch from '2026-07-18 16:48:44'::timestamp) - extract(epoch from '2026-07-18 16: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.518036 -3.551675)', '2026-07-18 16:48:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518012 -3.551598)'), GeomFromEWKT('SRID=4674;POINT (-38.518036 -3.551675)'))) / (select extract(epoch from '2026-07-18 16:48:49'::timestamp) - extract(epoch from '2026-07-18 16:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518012 -3.551598)'), GeomFromEWKT('SRID=4674;POINT (-38.518036 -3.551675)'))) / (select extract(epoch from '2026-07-18 16:48:49'::timestamp) - extract(epoch from '2026-07-18 16:48: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.518064 -3.551769)', '2026-07-18 16:48:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518036 -3.551675)'), GeomFromEWKT('SRID=4674;POINT (-38.518064 -3.551769)'))) / (select extract(epoch from '2026-07-18 16:48:55'::timestamp) - extract(epoch from '2026-07-18 16:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518036 -3.551675)'), GeomFromEWKT('SRID=4674;POINT (-38.518064 -3.551769)'))) / (select extract(epoch from '2026-07-18 16:48:55'::timestamp) - extract(epoch from '2026-07-18 16:48: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.518104 -3.551894)', '2026-07-18 16:49:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518064 -3.551769)'), GeomFromEWKT('SRID=4674;POINT (-38.518104 -3.551894)'))) / (select extract(epoch from '2026-07-18 16:49:02'::timestamp) - extract(epoch from '2026-07-18 16:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518064 -3.551769)'), GeomFromEWKT('SRID=4674;POINT (-38.518104 -3.551894)'))) / (select extract(epoch from '2026-07-18 16:49:02'::timestamp) - extract(epoch from '2026-07-18 16:48:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518138 -3.551987)', '2026-07-18 16:49:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518104 -3.551894)'), GeomFromEWKT('SRID=4674;POINT (-38.518138 -3.551987)'))) / (select extract(epoch from '2026-07-18 16:49:07'::timestamp) - extract(epoch from '2026-07-18 16:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518104 -3.551894)'), GeomFromEWKT('SRID=4674;POINT (-38.518138 -3.551987)'))) / (select extract(epoch from '2026-07-18 16:49:07'::timestamp) - extract(epoch from '2026-07-18 16:49: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.518173 -3.552143)', '2026-07-18 16:49:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518138 -3.551987)'), GeomFromEWKT('SRID=4674;POINT (-38.518173 -3.552143)'))) / (select extract(epoch from '2026-07-18 16:49:15'::timestamp) - extract(epoch from '2026-07-18 16:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518138 -3.551987)'), GeomFromEWKT('SRID=4674;POINT (-38.518173 -3.552143)'))) / (select extract(epoch from '2026-07-18 16:49:15'::timestamp) - extract(epoch from '2026-07-18 16:49: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.518183 -3.552255)', '2026-07-18 16:49:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518173 -3.552143)'), GeomFromEWKT('SRID=4674;POINT (-38.518183 -3.552255)'))) / (select extract(epoch from '2026-07-18 16:49:21'::timestamp) - extract(epoch from '2026-07-18 16:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518173 -3.552143)'), GeomFromEWKT('SRID=4674;POINT (-38.518183 -3.552255)'))) / (select extract(epoch from '2026-07-18 16:49:21'::timestamp) - extract(epoch from '2026-07-18 16:49:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518192 -3.552339)', '2026-07-18 16:49:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518183 -3.552255)'), GeomFromEWKT('SRID=4674;POINT (-38.518192 -3.552339)'))) / (select extract(epoch from '2026-07-18 16:49:26'::timestamp) - extract(epoch from '2026-07-18 16:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518183 -3.552255)'), GeomFromEWKT('SRID=4674;POINT (-38.518192 -3.552339)'))) / (select extract(epoch from '2026-07-18 16:49:26'::timestamp) - extract(epoch from '2026-07-18 16:49: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.518189 -3.552371)', '2026-07-18 16:49:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518192 -3.552339)'), GeomFromEWKT('SRID=4674;POINT (-38.518189 -3.552371)'))) / (select extract(epoch from '2026-07-18 16:49:28'::timestamp) - extract(epoch from '2026-07-18 16:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518192 -3.552339)'), GeomFromEWKT('SRID=4674;POINT (-38.518189 -3.552371)'))) / (select extract(epoch from '2026-07-18 16:49:28'::timestamp) - extract(epoch from '2026-07-18 16:49:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51822 -3.552419)', '2026-07-18 16:49:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518189 -3.552371)'), GeomFromEWKT('SRID=4674;POINT (-38.51822 -3.552419)'))) / (select extract(epoch from '2026-07-18 16:49:31'::timestamp) - extract(epoch from '2026-07-18 16:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518189 -3.552371)'), GeomFromEWKT('SRID=4674;POINT (-38.51822 -3.552419)'))) / (select extract(epoch from '2026-07-18 16:49:31'::timestamp) - extract(epoch from '2026-07-18 16:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518245 -3.552509)', '2026-07-18 16:49:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51822 -3.552419)'), GeomFromEWKT('SRID=4674;POINT (-38.518245 -3.552509)'))) / (select extract(epoch from '2026-07-18 16:49:36'::timestamp) - extract(epoch from '2026-07-18 16:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51822 -3.552419)'), GeomFromEWKT('SRID=4674;POINT (-38.518245 -3.552509)'))) / (select extract(epoch from '2026-07-18 16:49:36'::timestamp) - extract(epoch from '2026-07-18 16:49: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.518265 -3.552605)', '2026-07-18 16:49:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518245 -3.552509)'), GeomFromEWKT('SRID=4674;POINT (-38.518265 -3.552605)'))) / (select extract(epoch from '2026-07-18 16:49:41'::timestamp) - extract(epoch from '2026-07-18 16:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518245 -3.552509)'), GeomFromEWKT('SRID=4674;POINT (-38.518265 -3.552605)'))) / (select extract(epoch from '2026-07-18 16:49:41'::timestamp) - extract(epoch from '2026-07-18 16:49: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.518299 -3.552694)', '2026-07-18 16:49:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518265 -3.552605)'), GeomFromEWKT('SRID=4674;POINT (-38.518299 -3.552694)'))) / (select extract(epoch from '2026-07-18 16:49:46'::timestamp) - extract(epoch from '2026-07-18 16:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518265 -3.552605)'), GeomFromEWKT('SRID=4674;POINT (-38.518299 -3.552694)'))) / (select extract(epoch from '2026-07-18 16:49:46'::timestamp) - extract(epoch from '2026-07-18 16:49:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51833 -3.5528)', '2026-07-18 16:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518299 -3.552694)'), GeomFromEWKT('SRID=4674;POINT (-38.51833 -3.5528)'))) / (select extract(epoch from '2026-07-18 16:49:52'::timestamp) - extract(epoch from '2026-07-18 16:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518299 -3.552694)'), GeomFromEWKT('SRID=4674;POINT (-38.51833 -3.5528)'))) / (select extract(epoch from '2026-07-18 16:49:52'::timestamp) - extract(epoch from '2026-07-18 16:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518329 -3.552819)', '2026-07-18 16:49:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51833 -3.5528)'), GeomFromEWKT('SRID=4674;POINT (-38.518329 -3.552819)'))) / (select extract(epoch from '2026-07-18 16:49:53'::timestamp) - extract(epoch from '2026-07-18 16:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51833 -3.5528)'), GeomFromEWKT('SRID=4674;POINT (-38.518329 -3.552819)'))) / (select extract(epoch from '2026-07-18 16:49:53'::timestamp) - extract(epoch from '2026-07-18 16:49:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518327 -3.552854)', '2026-07-18 16:49:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518329 -3.552819)'), GeomFromEWKT('SRID=4674;POINT (-38.518327 -3.552854)'))) / (select extract(epoch from '2026-07-18 16:49:55'::timestamp) - extract(epoch from '2026-07-18 16:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518329 -3.552819)'), GeomFromEWKT('SRID=4674;POINT (-38.518327 -3.552854)'))) / (select extract(epoch from '2026-07-18 16:49:55'::timestamp) - extract(epoch from '2026-07-18 16:49: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.518335 -3.552869)', '2026-07-18 16:49:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518327 -3.552854)'), GeomFromEWKT('SRID=4674;POINT (-38.518335 -3.552869)'))) / (select extract(epoch from '2026-07-18 16:49:56'::timestamp) - extract(epoch from '2026-07-18 16:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518327 -3.552854)'), GeomFromEWKT('SRID=4674;POINT (-38.518335 -3.552869)'))) / (select extract(epoch from '2026-07-18 16:49:56'::timestamp) - extract(epoch from '2026-07-18 16:49:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51835 -3.552954)', '2026-07-18 16:50:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518335 -3.552869)'), GeomFromEWKT('SRID=4674;POINT (-38.51835 -3.552954)'))) / (select extract(epoch from '2026-07-18 16:50:01'::timestamp) - extract(epoch from '2026-07-18 16:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518335 -3.552869)'), GeomFromEWKT('SRID=4674;POINT (-38.51835 -3.552954)'))) / (select extract(epoch from '2026-07-18 16:50:01'::timestamp) - extract(epoch from '2026-07-18 16:49: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.518398 -3.553058)', '2026-07-18 16:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51835 -3.552954)'), GeomFromEWKT('SRID=4674;POINT (-38.518398 -3.553058)'))) / (select extract(epoch from '2026-07-18 16:50:07'::timestamp) - extract(epoch from '2026-07-18 16:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51835 -3.552954)'), GeomFromEWKT('SRID=4674;POINT (-38.518398 -3.553058)'))) / (select extract(epoch from '2026-07-18 16:50:07'::timestamp) - extract(epoch from '2026-07-18 16:50: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.518417 -3.553125)', '2026-07-18 16:50:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518398 -3.553058)'), GeomFromEWKT('SRID=4674;POINT (-38.518417 -3.553125)'))) / (select extract(epoch from '2026-07-18 16:50:11'::timestamp) - extract(epoch from '2026-07-18 16:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518398 -3.553058)'), GeomFromEWKT('SRID=4674;POINT (-38.518417 -3.553125)'))) / (select extract(epoch from '2026-07-18 16:50:11'::timestamp) - extract(epoch from '2026-07-18 16: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.518429 -3.553141)', '2026-07-18 16:50:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518417 -3.553125)'), GeomFromEWKT('SRID=4674;POINT (-38.518429 -3.553141)'))) / (select extract(epoch from '2026-07-18 16:50:12'::timestamp) - extract(epoch from '2026-07-18 16:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518417 -3.553125)'), GeomFromEWKT('SRID=4674;POINT (-38.518429 -3.553141)'))) / (select extract(epoch from '2026-07-18 16:50:12'::timestamp) - extract(epoch from '2026-07-18 16:50: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.51846 -3.553228)', '2026-07-18 16:50:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518429 -3.553141)'), GeomFromEWKT('SRID=4674;POINT (-38.51846 -3.553228)'))) / (select extract(epoch from '2026-07-18 16:50:17'::timestamp) - extract(epoch from '2026-07-18 16:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518429 -3.553141)'), GeomFromEWKT('SRID=4674;POINT (-38.51846 -3.553228)'))) / (select extract(epoch from '2026-07-18 16:50:17'::timestamp) - extract(epoch from '2026-07-18 16:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518492 -3.553344)', '2026-07-18 16:50:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51846 -3.553228)'), GeomFromEWKT('SRID=4674;POINT (-38.518492 -3.553344)'))) / (select extract(epoch from '2026-07-18 16:50:24'::timestamp) - extract(epoch from '2026-07-18 16:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51846 -3.553228)'), GeomFromEWKT('SRID=4674;POINT (-38.518492 -3.553344)'))) / (select extract(epoch from '2026-07-18 16:50:24'::timestamp) - extract(epoch from '2026-07-18 16:50:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518497 -3.553359)', '2026-07-18 16:50:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518492 -3.553344)'), GeomFromEWKT('SRID=4674;POINT (-38.518497 -3.553359)'))) / (select extract(epoch from '2026-07-18 16:50:25'::timestamp) - extract(epoch from '2026-07-18 16:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518492 -3.553344)'), GeomFromEWKT('SRID=4674;POINT (-38.518497 -3.553359)'))) / (select extract(epoch from '2026-07-18 16:50:25'::timestamp) - extract(epoch from '2026-07-18 16:50:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518539 -3.553429)', '2026-07-18 16:50:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518497 -3.553359)'), GeomFromEWKT('SRID=4674;POINT (-38.518539 -3.553429)'))) / (select extract(epoch from '2026-07-18 16:50:30'::timestamp) - extract(epoch from '2026-07-18 16:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518497 -3.553359)'), GeomFromEWKT('SRID=4674;POINT (-38.518539 -3.553429)'))) / (select extract(epoch from '2026-07-18 16:50:30'::timestamp) - extract(epoch from '2026-07-18 16:50: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.518578 -3.553522)', '2026-07-18 16:50:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518539 -3.553429)'), GeomFromEWKT('SRID=4674;POINT (-38.518578 -3.553522)'))) / (select extract(epoch from '2026-07-18 16:50:35'::timestamp) - extract(epoch from '2026-07-18 16:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518539 -3.553429)'), GeomFromEWKT('SRID=4674;POINT (-38.518578 -3.553522)'))) / (select extract(epoch from '2026-07-18 16:50:35'::timestamp) - extract(epoch from '2026-07-18 16:50: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.518612 -3.553615)', '2026-07-18 16:50:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518578 -3.553522)'), GeomFromEWKT('SRID=4674;POINT (-38.518612 -3.553615)'))) / (select extract(epoch from '2026-07-18 16:50:40'::timestamp) - extract(epoch from '2026-07-18 16:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518578 -3.553522)'), GeomFromEWKT('SRID=4674;POINT (-38.518612 -3.553615)'))) / (select extract(epoch from '2026-07-18 16:50:40'::timestamp) - extract(epoch from '2026-07-18 16: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.518636 -3.553709)', '2026-07-18 16:50:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518612 -3.553615)'), GeomFromEWKT('SRID=4674;POINT (-38.518636 -3.553709)'))) / (select extract(epoch from '2026-07-18 16:50:46'::timestamp) - extract(epoch from '2026-07-18 16:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518612 -3.553615)'), GeomFromEWKT('SRID=4674;POINT (-38.518636 -3.553709)'))) / (select extract(epoch from '2026-07-18 16:50:46'::timestamp) - extract(epoch from '2026-07-18 16:50: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.51866 -3.553793)', '2026-07-18 16:50:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518636 -3.553709)'), GeomFromEWKT('SRID=4674;POINT (-38.51866 -3.553793)'))) / (select extract(epoch from '2026-07-18 16:50:51'::timestamp) - extract(epoch from '2026-07-18 16:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518636 -3.553709)'), GeomFromEWKT('SRID=4674;POINT (-38.51866 -3.553793)'))) / (select extract(epoch from '2026-07-18 16:50:51'::timestamp) - extract(epoch from '2026-07-18 16:50:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518684 -3.553905)', '2026-07-18 16:50:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51866 -3.553793)'), GeomFromEWKT('SRID=4674;POINT (-38.518684 -3.553905)'))) / (select extract(epoch from '2026-07-18 16:50:57'::timestamp) - extract(epoch from '2026-07-18 16:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51866 -3.553793)'), GeomFromEWKT('SRID=4674;POINT (-38.518684 -3.553905)'))) / (select extract(epoch from '2026-07-18 16:50:57'::timestamp) - extract(epoch from '2026-07-18 16:50:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518687 -3.553922)', '2026-07-18 16:50:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518684 -3.553905)'), GeomFromEWKT('SRID=4674;POINT (-38.518687 -3.553922)'))) / (select extract(epoch from '2026-07-18 16:50:58'::timestamp) - extract(epoch from '2026-07-18 16:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518684 -3.553905)'), GeomFromEWKT('SRID=4674;POINT (-38.518687 -3.553922)'))) / (select extract(epoch from '2026-07-18 16:50:58'::timestamp) - extract(epoch from '2026-07-18 16:50:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518699 -3.55395)', '2026-07-18 16:51:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518687 -3.553922)'), GeomFromEWKT('SRID=4674;POINT (-38.518699 -3.55395)'))) / (select extract(epoch from '2026-07-18 16:51:00'::timestamp) - extract(epoch from '2026-07-18 16:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518687 -3.553922)'), GeomFromEWKT('SRID=4674;POINT (-38.518699 -3.55395)'))) / (select extract(epoch from '2026-07-18 16:51:00'::timestamp) - extract(epoch from '2026-07-18 16:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518697 -3.553966)', '2026-07-18 16:51:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518699 -3.55395)'), GeomFromEWKT('SRID=4674;POINT (-38.518697 -3.553966)'))) / (select extract(epoch from '2026-07-18 16:51:01'::timestamp) - extract(epoch from '2026-07-18 16:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518699 -3.55395)'), GeomFromEWKT('SRID=4674;POINT (-38.518697 -3.553966)'))) / (select extract(epoch from '2026-07-18 16:51:01'::timestamp) - extract(epoch from '2026-07-18 16:51: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.518697 -3.553979)', '2026-07-18 16:51:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518697 -3.553966)'), GeomFromEWKT('SRID=4674;POINT (-38.518697 -3.553979)'))) / (select extract(epoch from '2026-07-18 16:51:02'::timestamp) - extract(epoch from '2026-07-18 16:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518697 -3.553966)'), GeomFromEWKT('SRID=4674;POINT (-38.518697 -3.553979)'))) / (select extract(epoch from '2026-07-18 16:51:02'::timestamp) - extract(epoch from '2026-07-18 16: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.518706 -3.553992)', '2026-07-18 16:51:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518697 -3.553979)'), GeomFromEWKT('SRID=4674;POINT (-38.518706 -3.553992)'))) / (select extract(epoch from '2026-07-18 16:51:04'::timestamp) - extract(epoch from '2026-07-18 16:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518697 -3.553979)'), GeomFromEWKT('SRID=4674;POINT (-38.518706 -3.553992)'))) / (select extract(epoch from '2026-07-18 16:51:04'::timestamp) - extract(epoch from '2026-07-18 16:51: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.518703 -3.553999)', '2026-07-18 16:51:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518706 -3.553992)'), GeomFromEWKT('SRID=4674;POINT (-38.518703 -3.553999)'))) / (select extract(epoch from '2026-07-18 16:51:05'::timestamp) - extract(epoch from '2026-07-18 16:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518706 -3.553992)'), GeomFromEWKT('SRID=4674;POINT (-38.518703 -3.553999)'))) / (select extract(epoch from '2026-07-18 16:51:05'::timestamp) - extract(epoch from '2026-07-18 16:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518709 -3.554037)', '2026-07-18 16:51:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518703 -3.553999)'), GeomFromEWKT('SRID=4674;POINT (-38.518709 -3.554037)'))) / (select extract(epoch from '2026-07-18 16:51:11'::timestamp) - extract(epoch from '2026-07-18 16:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518703 -3.553999)'), GeomFromEWKT('SRID=4674;POINT (-38.518709 -3.554037)'))) / (select extract(epoch from '2026-07-18 16:51:11'::timestamp) - extract(epoch from '2026-07-18 16:51: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.518764 -3.554123)', '2026-07-18 16:51:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518709 -3.554037)'), GeomFromEWKT('SRID=4674;POINT (-38.518764 -3.554123)'))) / (select extract(epoch from '2026-07-18 16:51:21'::timestamp) - extract(epoch from '2026-07-18 16:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518709 -3.554037)'), GeomFromEWKT('SRID=4674;POINT (-38.518764 -3.554123)'))) / (select extract(epoch from '2026-07-18 16:51:21'::timestamp) - extract(epoch from '2026-07-18 16:51:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518808 -3.554204)', '2026-07-18 16:51:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518764 -3.554123)'), GeomFromEWKT('SRID=4674;POINT (-38.518808 -3.554204)'))) / (select extract(epoch from '2026-07-18 16:51:26'::timestamp) - extract(epoch from '2026-07-18 16:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518764 -3.554123)'), GeomFromEWKT('SRID=4674;POINT (-38.518808 -3.554204)'))) / (select extract(epoch from '2026-07-18 16:51:26'::timestamp) - extract(epoch from '2026-07-18 16: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.518833 -3.554305)', '2026-07-18 16:51:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518808 -3.554204)'), GeomFromEWKT('SRID=4674;POINT (-38.518833 -3.554305)'))) / (select extract(epoch from '2026-07-18 16:51:33'::timestamp) - extract(epoch from '2026-07-18 16:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518808 -3.554204)'), GeomFromEWKT('SRID=4674;POINT (-38.518833 -3.554305)'))) / (select extract(epoch from '2026-07-18 16:51:33'::timestamp) - extract(epoch from '2026-07-18 16:51: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.518864 -3.55439)', '2026-07-18 16:51:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518833 -3.554305)'), GeomFromEWKT('SRID=4674;POINT (-38.518864 -3.55439)'))) / (select extract(epoch from '2026-07-18 16:51:40'::timestamp) - extract(epoch from '2026-07-18 16:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518833 -3.554305)'), GeomFromEWKT('SRID=4674;POINT (-38.518864 -3.55439)'))) / (select extract(epoch from '2026-07-18 16:51:40'::timestamp) - extract(epoch from '2026-07-18 16:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.518903 -3.554482)', '2026-07-18 16:51:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518864 -3.55439)'), GeomFromEWKT('SRID=4674;POINT (-38.518903 -3.554482)'))) / (select extract(epoch from '2026-07-18 16:51:46'::timestamp) - extract(epoch from '2026-07-18 16:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518864 -3.55439)'), GeomFromEWKT('SRID=4674;POINT (-38.518903 -3.554482)'))) / (select extract(epoch from '2026-07-18 16:51:46'::timestamp) - extract(epoch from '2026-07-18 16:51: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.518934 -3.554594)', '2026-07-18 16:51:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518903 -3.554482)'), GeomFromEWKT('SRID=4674;POINT (-38.518934 -3.554594)'))) / (select extract(epoch from '2026-07-18 16:51:52'::timestamp) - extract(epoch from '2026-07-18 16:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518903 -3.554482)'), GeomFromEWKT('SRID=4674;POINT (-38.518934 -3.554594)'))) / (select extract(epoch from '2026-07-18 16:51:52'::timestamp) - extract(epoch from '2026-07-18 16:51: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.518952 -3.554708)', '2026-07-18 16:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518934 -3.554594)'), GeomFromEWKT('SRID=4674;POINT (-38.518952 -3.554708)'))) / (select extract(epoch from '2026-07-18 16:51:58'::timestamp) - extract(epoch from '2026-07-18 16:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518934 -3.554594)'), GeomFromEWKT('SRID=4674;POINT (-38.518952 -3.554708)'))) / (select extract(epoch from '2026-07-18 16:51:58'::timestamp) - extract(epoch from '2026-07-18 16:51: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.518953 -3.554743)', '2026-07-18 16:52:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518952 -3.554708)'), GeomFromEWKT('SRID=4674;POINT (-38.518953 -3.554743)'))) / (select extract(epoch from '2026-07-18 16:52:00'::timestamp) - extract(epoch from '2026-07-18 16:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518952 -3.554708)'), GeomFromEWKT('SRID=4674;POINT (-38.518953 -3.554743)'))) / (select extract(epoch from '2026-07-18 16:52:00'::timestamp) - extract(epoch from '2026-07-18 16: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.518957 -3.554797)', '2026-07-18 16:52:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518953 -3.554743)'), GeomFromEWKT('SRID=4674;POINT (-38.518957 -3.554797)'))) / (select extract(epoch from '2026-07-18 16:52:03'::timestamp) - extract(epoch from '2026-07-18 16:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518953 -3.554743)'), GeomFromEWKT('SRID=4674;POINT (-38.518957 -3.554797)'))) / (select extract(epoch from '2026-07-18 16:52:03'::timestamp) - extract(epoch from '2026-07-18 16:52: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.518968 -3.554869)', '2026-07-18 16:52:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518957 -3.554797)'), GeomFromEWKT('SRID=4674;POINT (-38.518968 -3.554869)'))) / (select extract(epoch from '2026-07-18 16:52:07'::timestamp) - extract(epoch from '2026-07-18 16:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518957 -3.554797)'), GeomFromEWKT('SRID=4674;POINT (-38.518968 -3.554869)'))) / (select extract(epoch from '2026-07-18 16:52:07'::timestamp) - extract(epoch from '2026-07-18 16: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.518968 -3.554909)', '2026-07-18 16:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518968 -3.554869)'), GeomFromEWKT('SRID=4674;POINT (-38.518968 -3.554909)'))) / (select extract(epoch from '2026-07-18 16:52:09'::timestamp) - extract(epoch from '2026-07-18 16:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518968 -3.554869)'), GeomFromEWKT('SRID=4674;POINT (-38.518968 -3.554909)'))) / (select extract(epoch from '2026-07-18 16:52:09'::timestamp) - extract(epoch from '2026-07-18 16:52: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.518986 -3.555008)', '2026-07-18 16:52:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518968 -3.554909)'), GeomFromEWKT('SRID=4674;POINT (-38.518986 -3.555008)'))) / (select extract(epoch from '2026-07-18 16:52:15'::timestamp) - extract(epoch from '2026-07-18 16:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518968 -3.554909)'), GeomFromEWKT('SRID=4674;POINT (-38.518986 -3.555008)'))) / (select extract(epoch from '2026-07-18 16:52:15'::timestamp) - extract(epoch from '2026-07-18 16:52:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519002 -3.555069)', '2026-07-18 16:52:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518986 -3.555008)'), GeomFromEWKT('SRID=4674;POINT (-38.519002 -3.555069)'))) / (select extract(epoch from '2026-07-18 16:52:19'::timestamp) - extract(epoch from '2026-07-18 16:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518986 -3.555008)'), GeomFromEWKT('SRID=4674;POINT (-38.519002 -3.555069)'))) / (select extract(epoch from '2026-07-18 16:52:19'::timestamp) - extract(epoch from '2026-07-18 16:52:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519005 -3.555088)', '2026-07-18 16:52:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519002 -3.555069)'), GeomFromEWKT('SRID=4674;POINT (-38.519005 -3.555088)'))) / (select extract(epoch from '2026-07-18 16:52:20'::timestamp) - extract(epoch from '2026-07-18 16:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519002 -3.555069)'), GeomFromEWKT('SRID=4674;POINT (-38.519005 -3.555088)'))) / (select extract(epoch from '2026-07-18 16:52:20'::timestamp) - extract(epoch from '2026-07-18 16:52: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.519026 -3.555201)', '2026-07-18 16:52:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519005 -3.555088)'), GeomFromEWKT('SRID=4674;POINT (-38.519026 -3.555201)'))) / (select extract(epoch from '2026-07-18 16:52:26'::timestamp) - extract(epoch from '2026-07-18 16:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519005 -3.555088)'), GeomFromEWKT('SRID=4674;POINT (-38.519026 -3.555201)'))) / (select extract(epoch from '2026-07-18 16:52:26'::timestamp) - extract(epoch from '2026-07-18 16:52: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.519057 -3.555291)', '2026-07-18 16:52:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519026 -3.555201)'), GeomFromEWKT('SRID=4674;POINT (-38.519057 -3.555291)'))) / (select extract(epoch from '2026-07-18 16:52:31'::timestamp) - extract(epoch from '2026-07-18 16:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519026 -3.555201)'), GeomFromEWKT('SRID=4674;POINT (-38.519057 -3.555291)'))) / (select extract(epoch from '2026-07-18 16:52:31'::timestamp) - extract(epoch from '2026-07-18 16: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.519055 -3.555313)', '2026-07-18 16:52:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519057 -3.555291)'), GeomFromEWKT('SRID=4674;POINT (-38.519055 -3.555313)'))) / (select extract(epoch from '2026-07-18 16:52:32'::timestamp) - extract(epoch from '2026-07-18 16:52:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519057 -3.555291)'), GeomFromEWKT('SRID=4674;POINT (-38.519055 -3.555313)'))) / (select extract(epoch from '2026-07-18 16:52:32'::timestamp) - extract(epoch from '2026-07-18 16: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.519065 -3.555412)', '2026-07-18 16:52:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519055 -3.555313)'), GeomFromEWKT('SRID=4674;POINT (-38.519065 -3.555412)'))) / (select extract(epoch from '2026-07-18 16:52:37'::timestamp) - extract(epoch from '2026-07-18 16:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519055 -3.555313)'), GeomFromEWKT('SRID=4674;POINT (-38.519065 -3.555412)'))) / (select extract(epoch from '2026-07-18 16:52:37'::timestamp) - extract(epoch from '2026-07-18 16: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.519073 -3.555487)', '2026-07-18 16:52:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519065 -3.555412)'), GeomFromEWKT('SRID=4674;POINT (-38.519073 -3.555487)'))) / (select extract(epoch from '2026-07-18 16:52:41'::timestamp) - extract(epoch from '2026-07-18 16:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519065 -3.555412)'), GeomFromEWKT('SRID=4674;POINT (-38.519073 -3.555487)'))) / (select extract(epoch from '2026-07-18 16:52:41'::timestamp) - extract(epoch from '2026-07-18 16:52: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.519086 -3.555505)', '2026-07-18 16:52:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519073 -3.555487)'), GeomFromEWKT('SRID=4674;POINT (-38.519086 -3.555505)'))) / (select extract(epoch from '2026-07-18 16:52:42'::timestamp) - extract(epoch from '2026-07-18 16:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519073 -3.555487)'), GeomFromEWKT('SRID=4674;POINT (-38.519086 -3.555505)'))) / (select extract(epoch from '2026-07-18 16:52:42'::timestamp) - extract(epoch from '2026-07-18 16:52: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.51909 -3.555524)', '2026-07-18 16:52:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519086 -3.555505)'), GeomFromEWKT('SRID=4674;POINT (-38.51909 -3.555524)'))) / (select extract(epoch from '2026-07-18 16:52:43'::timestamp) - extract(epoch from '2026-07-18 16:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519086 -3.555505)'), GeomFromEWKT('SRID=4674;POINT (-38.51909 -3.555524)'))) / (select extract(epoch from '2026-07-18 16:52:43'::timestamp) - extract(epoch from '2026-07-18 16:52: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.519092 -3.555564)', '2026-07-18 16:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51909 -3.555524)'), GeomFromEWKT('SRID=4674;POINT (-38.519092 -3.555564)'))) / (select extract(epoch from '2026-07-18 16:52:45'::timestamp) - extract(epoch from '2026-07-18 16:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51909 -3.555524)'), GeomFromEWKT('SRID=4674;POINT (-38.519092 -3.555564)'))) / (select extract(epoch from '2026-07-18 16:52:45'::timestamp) - extract(epoch from '2026-07-18 16:52:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519101 -3.55558)', '2026-07-18 16:52:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519092 -3.555564)'), GeomFromEWKT('SRID=4674;POINT (-38.519101 -3.55558)'))) / (select extract(epoch from '2026-07-18 16:52:46'::timestamp) - extract(epoch from '2026-07-18 16:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519092 -3.555564)'), GeomFromEWKT('SRID=4674;POINT (-38.519101 -3.55558)'))) / (select extract(epoch from '2026-07-18 16:52:46'::timestamp) - extract(epoch from '2026-07-18 16:52:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519114 -3.555673)', '2026-07-18 16:52:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519101 -3.55558)'), GeomFromEWKT('SRID=4674;POINT (-38.519114 -3.555673)'))) / (select extract(epoch from '2026-07-18 16:52:52'::timestamp) - extract(epoch from '2026-07-18 16:52:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519101 -3.55558)'), GeomFromEWKT('SRID=4674;POINT (-38.519114 -3.555673)'))) / (select extract(epoch from '2026-07-18 16:52:52'::timestamp) - extract(epoch from '2026-07-18 16:52: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.519117 -3.555684)', '2026-07-18 16:52:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519114 -3.555673)'), GeomFromEWKT('SRID=4674;POINT (-38.519117 -3.555684)'))) / (select extract(epoch from '2026-07-18 16:52:53'::timestamp) - extract(epoch from '2026-07-18 16:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519114 -3.555673)'), GeomFromEWKT('SRID=4674;POINT (-38.519117 -3.555684)'))) / (select extract(epoch from '2026-07-18 16:52:53'::timestamp) - extract(epoch from '2026-07-18 16:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519137 -3.555737)', '2026-07-18 16:52:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519117 -3.555684)'), GeomFromEWKT('SRID=4674;POINT (-38.519137 -3.555737)'))) / (select extract(epoch from '2026-07-18 16:52:57'::timestamp) - extract(epoch from '2026-07-18 16:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519117 -3.555684)'), GeomFromEWKT('SRID=4674;POINT (-38.519137 -3.555737)'))) / (select extract(epoch from '2026-07-18 16:52:57'::timestamp) - extract(epoch from '2026-07-18 16:52: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.519142 -3.555758)', '2026-07-18 16:52:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519137 -3.555737)'), GeomFromEWKT('SRID=4674;POINT (-38.519142 -3.555758)'))) / (select extract(epoch from '2026-07-18 16:52:59'::timestamp) - extract(epoch from '2026-07-18 16:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519137 -3.555737)'), GeomFromEWKT('SRID=4674;POINT (-38.519142 -3.555758)'))) / (select extract(epoch from '2026-07-18 16:52:59'::timestamp) - extract(epoch from '2026-07-18 16: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.519165 -3.555802)', '2026-07-18 16:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519142 -3.555758)'), GeomFromEWKT('SRID=4674;POINT (-38.519165 -3.555802)'))) / (select extract(epoch from '2026-07-18 16:53:02'::timestamp) - extract(epoch from '2026-07-18 16:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519142 -3.555758)'), GeomFromEWKT('SRID=4674;POINT (-38.519165 -3.555802)'))) / (select extract(epoch from '2026-07-18 16:53:02'::timestamp) - extract(epoch from '2026-07-18 16:52: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.519206 -3.555935)', '2026-07-18 16:53:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519165 -3.555802)'), GeomFromEWKT('SRID=4674;POINT (-38.519206 -3.555935)'))) / (select extract(epoch from '2026-07-18 16:53:09'::timestamp) - extract(epoch from '2026-07-18 16:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519165 -3.555802)'), GeomFromEWKT('SRID=4674;POINT (-38.519206 -3.555935)'))) / (select extract(epoch from '2026-07-18 16:53:09'::timestamp) - extract(epoch from '2026-07-18 16: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.519224 -3.556035)', '2026-07-18 16:53:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519206 -3.555935)'), GeomFromEWKT('SRID=4674;POINT (-38.519224 -3.556035)'))) / (select extract(epoch from '2026-07-18 16:53:15'::timestamp) - extract(epoch from '2026-07-18 16:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519206 -3.555935)'), GeomFromEWKT('SRID=4674;POINT (-38.519224 -3.556035)'))) / (select extract(epoch from '2026-07-18 16:53:15'::timestamp) - extract(epoch from '2026-07-18 16:53:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519245 -3.556127)', '2026-07-18 16:53:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519224 -3.556035)'), GeomFromEWKT('SRID=4674;POINT (-38.519245 -3.556127)'))) / (select extract(epoch from '2026-07-18 16:53:21'::timestamp) - extract(epoch from '2026-07-18 16:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519224 -3.556035)'), GeomFromEWKT('SRID=4674;POINT (-38.519245 -3.556127)'))) / (select extract(epoch from '2026-07-18 16:53:21'::timestamp) - extract(epoch from '2026-07-18 16:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519256 -3.556163)', '2026-07-18 16:53:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519245 -3.556127)'), GeomFromEWKT('SRID=4674;POINT (-38.519256 -3.556163)'))) / (select extract(epoch from '2026-07-18 16:53:23'::timestamp) - extract(epoch from '2026-07-18 16:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519245 -3.556127)'), GeomFromEWKT('SRID=4674;POINT (-38.519256 -3.556163)'))) / (select extract(epoch from '2026-07-18 16:53:23'::timestamp) - extract(epoch from '2026-07-18 16:53: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.519258 -3.556192)', '2026-07-18 16:53:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519256 -3.556163)'), GeomFromEWKT('SRID=4674;POINT (-38.519258 -3.556192)'))) / (select extract(epoch from '2026-07-18 16:53:25'::timestamp) - extract(epoch from '2026-07-18 16:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519256 -3.556163)'), GeomFromEWKT('SRID=4674;POINT (-38.519258 -3.556192)'))) / (select extract(epoch from '2026-07-18 16:53:25'::timestamp) - extract(epoch from '2026-07-18 16:53: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.519262 -3.556201)', '2026-07-18 16:53:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519258 -3.556192)'), GeomFromEWKT('SRID=4674;POINT (-38.519262 -3.556201)'))) / (select extract(epoch from '2026-07-18 16:53:26'::timestamp) - extract(epoch from '2026-07-18 16:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519258 -3.556192)'), GeomFromEWKT('SRID=4674;POINT (-38.519262 -3.556201)'))) / (select extract(epoch from '2026-07-18 16:53:26'::timestamp) - extract(epoch from '2026-07-18 16: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.519298 -3.556295)', '2026-07-18 16:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519262 -3.556201)'), GeomFromEWKT('SRID=4674;POINT (-38.519298 -3.556295)'))) / (select extract(epoch from '2026-07-18 16:53:33'::timestamp) - extract(epoch from '2026-07-18 16:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519262 -3.556201)'), GeomFromEWKT('SRID=4674;POINT (-38.519298 -3.556295)'))) / (select extract(epoch from '2026-07-18 16:53:33'::timestamp) - extract(epoch from '2026-07-18 16:53:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519342 -3.556383)', '2026-07-18 16:53:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519298 -3.556295)'), GeomFromEWKT('SRID=4674;POINT (-38.519342 -3.556383)'))) / (select extract(epoch from '2026-07-18 16:53:39'::timestamp) - extract(epoch from '2026-07-18 16:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519298 -3.556295)'), GeomFromEWKT('SRID=4674;POINT (-38.519342 -3.556383)'))) / (select extract(epoch from '2026-07-18 16:53:39'::timestamp) - extract(epoch from '2026-07-18 16:53: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.519384 -3.556479)', '2026-07-18 16:53:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519342 -3.556383)'), GeomFromEWKT('SRID=4674;POINT (-38.519384 -3.556479)'))) / (select extract(epoch from '2026-07-18 16:53:44'::timestamp) - extract(epoch from '2026-07-18 16:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519342 -3.556383)'), GeomFromEWKT('SRID=4674;POINT (-38.519384 -3.556479)'))) / (select extract(epoch from '2026-07-18 16:53:44'::timestamp) - extract(epoch from '2026-07-18 16:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519411 -3.556562)', '2026-07-18 16:53:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519384 -3.556479)'), GeomFromEWKT('SRID=4674;POINT (-38.519411 -3.556562)'))) / (select extract(epoch from '2026-07-18 16:53:49'::timestamp) - extract(epoch from '2026-07-18 16:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519384 -3.556479)'), GeomFromEWKT('SRID=4674;POINT (-38.519411 -3.556562)'))) / (select extract(epoch from '2026-07-18 16:53:49'::timestamp) - extract(epoch from '2026-07-18 16:53: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.51943 -3.556648)', '2026-07-18 16:53:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519411 -3.556562)'), GeomFromEWKT('SRID=4674;POINT (-38.51943 -3.556648)'))) / (select extract(epoch from '2026-07-18 16:53:54'::timestamp) - extract(epoch from '2026-07-18 16:53:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519411 -3.556562)'), GeomFromEWKT('SRID=4674;POINT (-38.51943 -3.556648)'))) / (select extract(epoch from '2026-07-18 16:53:54'::timestamp) - extract(epoch from '2026-07-18 16:53:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519467 -3.556728)', '2026-07-18 16:53:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51943 -3.556648)'), GeomFromEWKT('SRID=4674;POINT (-38.519467 -3.556728)'))) / (select extract(epoch from '2026-07-18 16:53:59'::timestamp) - extract(epoch from '2026-07-18 16:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51943 -3.556648)'), GeomFromEWKT('SRID=4674;POINT (-38.519467 -3.556728)'))) / (select extract(epoch from '2026-07-18 16:53:59'::timestamp) - extract(epoch from '2026-07-18 16: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.519499 -3.556837)', '2026-07-18 16:54:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519467 -3.556728)'), GeomFromEWKT('SRID=4674;POINT (-38.519499 -3.556837)'))) / (select extract(epoch from '2026-07-18 16:54:06'::timestamp) - extract(epoch from '2026-07-18 16:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519467 -3.556728)'), GeomFromEWKT('SRID=4674;POINT (-38.519499 -3.556837)'))) / (select extract(epoch from '2026-07-18 16:54:06'::timestamp) - extract(epoch from '2026-07-18 16:53: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.519522 -3.556928)', '2026-07-18 16:54:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519499 -3.556837)'), GeomFromEWKT('SRID=4674;POINT (-38.519522 -3.556928)'))) / (select extract(epoch from '2026-07-18 16:54:11'::timestamp) - extract(epoch from '2026-07-18 16:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519499 -3.556837)'), GeomFromEWKT('SRID=4674;POINT (-38.519522 -3.556928)'))) / (select extract(epoch from '2026-07-18 16:54:11'::timestamp) - extract(epoch from '2026-07-18 16: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.519553 -3.557019)', '2026-07-18 16:54:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519522 -3.556928)'), GeomFromEWKT('SRID=4674;POINT (-38.519553 -3.557019)'))) / (select extract(epoch from '2026-07-18 16:54:17'::timestamp) - extract(epoch from '2026-07-18 16:54:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519522 -3.556928)'), GeomFromEWKT('SRID=4674;POINT (-38.519553 -3.557019)'))) / (select extract(epoch from '2026-07-18 16:54:17'::timestamp) - extract(epoch from '2026-07-18 16:54:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519579 -3.557099)', '2026-07-18 16:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519553 -3.557019)'), GeomFromEWKT('SRID=4674;POINT (-38.519579 -3.557099)'))) / (select extract(epoch from '2026-07-18 16:54:23'::timestamp) - extract(epoch from '2026-07-18 16:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519553 -3.557019)'), GeomFromEWKT('SRID=4674;POINT (-38.519579 -3.557099)'))) / (select extract(epoch from '2026-07-18 16:54:23'::timestamp) - extract(epoch from '2026-07-18 16:54:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.51963 -3.55723)', '2026-07-18 16:54:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519579 -3.557099)'), GeomFromEWKT('SRID=4674;POINT (-38.51963 -3.55723)'))) / (select extract(epoch from '2026-07-18 16:54:31'::timestamp) - extract(epoch from '2026-07-18 16:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519579 -3.557099)'), GeomFromEWKT('SRID=4674;POINT (-38.51963 -3.55723)'))) / (select extract(epoch from '2026-07-18 16:54:31'::timestamp) - extract(epoch from '2026-07-18 16:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519633 -3.557263)', '2026-07-18 16:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51963 -3.55723)'), GeomFromEWKT('SRID=4674;POINT (-38.519633 -3.557263)'))) / (select extract(epoch from '2026-07-18 16:54:33'::timestamp) - extract(epoch from '2026-07-18 16:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51963 -3.55723)'), GeomFromEWKT('SRID=4674;POINT (-38.519633 -3.557263)'))) / (select extract(epoch from '2026-07-18 16:54:33'::timestamp) - extract(epoch from '2026-07-18 16:54: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.51966 -3.557315)', '2026-07-18 16:54:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519633 -3.557263)'), GeomFromEWKT('SRID=4674;POINT (-38.51966 -3.557315)'))) / (select extract(epoch from '2026-07-18 16:54:36'::timestamp) - extract(epoch from '2026-07-18 16:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519633 -3.557263)'), GeomFromEWKT('SRID=4674;POINT (-38.51966 -3.557315)'))) / (select extract(epoch from '2026-07-18 16:54:36'::timestamp) - extract(epoch from '2026-07-18 16:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519673 -3.557376)', '2026-07-18 16:54:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51966 -3.557315)'), GeomFromEWKT('SRID=4674;POINT (-38.519673 -3.557376)'))) / (select extract(epoch from '2026-07-18 16:54:41'::timestamp) - extract(epoch from '2026-07-18 16:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51966 -3.557315)'), GeomFromEWKT('SRID=4674;POINT (-38.519673 -3.557376)'))) / (select extract(epoch from '2026-07-18 16:54:41'::timestamp) - extract(epoch from '2026-07-18 16:54: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.519726 -3.557448)', '2026-07-18 16:54:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519673 -3.557376)'), GeomFromEWKT('SRID=4674;POINT (-38.519726 -3.557448)'))) / (select extract(epoch from '2026-07-18 16:54:46'::timestamp) - extract(epoch from '2026-07-18 16:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519673 -3.557376)'), GeomFromEWKT('SRID=4674;POINT (-38.519726 -3.557448)'))) / (select extract(epoch from '2026-07-18 16:54:46'::timestamp) - extract(epoch from '2026-07-18 16:54:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519738 -3.557499)', '2026-07-18 16:54:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519726 -3.557448)'), GeomFromEWKT('SRID=4674;POINT (-38.519738 -3.557499)'))) / (select extract(epoch from '2026-07-18 16:54:49'::timestamp) - extract(epoch from '2026-07-18 16:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519726 -3.557448)'), GeomFromEWKT('SRID=4674;POINT (-38.519738 -3.557499)'))) / (select extract(epoch from '2026-07-18 16:54:49'::timestamp) - extract(epoch from '2026-07-18 16:54:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519769 -3.557532)', '2026-07-18 16:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519738 -3.557499)'), GeomFromEWKT('SRID=4674;POINT (-38.519769 -3.557532)'))) / (select extract(epoch from '2026-07-18 16:54:51'::timestamp) - extract(epoch from '2026-07-18 16:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519738 -3.557499)'), GeomFromEWKT('SRID=4674;POINT (-38.519769 -3.557532)'))) / (select extract(epoch from '2026-07-18 16:54:51'::timestamp) - extract(epoch from '2026-07-18 16:54: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.519784 -3.557605)', '2026-07-18 16:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519769 -3.557532)'), GeomFromEWKT('SRID=4674;POINT (-38.519784 -3.557605)'))) / (select extract(epoch from '2026-07-18 16:54:55'::timestamp) - extract(epoch from '2026-07-18 16:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519769 -3.557532)'), GeomFromEWKT('SRID=4674;POINT (-38.519784 -3.557605)'))) / (select extract(epoch from '2026-07-18 16:54:55'::timestamp) - extract(epoch from '2026-07-18 16:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519816 -3.55771)', '2026-07-18 16:55:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519784 -3.557605)'), GeomFromEWKT('SRID=4674;POINT (-38.519816 -3.55771)'))) / (select extract(epoch from '2026-07-18 16:55:01'::timestamp) - extract(epoch from '2026-07-18 16:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519784 -3.557605)'), GeomFromEWKT('SRID=4674;POINT (-38.519816 -3.55771)'))) / (select extract(epoch from '2026-07-18 16:55:01'::timestamp) - extract(epoch from '2026-07-18 16: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.519842 -3.557815)', '2026-07-18 16:55:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519816 -3.55771)'), GeomFromEWKT('SRID=4674;POINT (-38.519842 -3.557815)'))) / (select extract(epoch from '2026-07-18 16:55:07'::timestamp) - extract(epoch from '2026-07-18 16:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519816 -3.55771)'), GeomFromEWKT('SRID=4674;POINT (-38.519842 -3.557815)'))) / (select extract(epoch from '2026-07-18 16:55:07'::timestamp) - extract(epoch from '2026-07-18 16: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.519874 -3.557932)', '2026-07-18 16:55:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519842 -3.557815)'), GeomFromEWKT('SRID=4674;POINT (-38.519874 -3.557932)'))) / (select extract(epoch from '2026-07-18 16:55:14'::timestamp) - extract(epoch from '2026-07-18 16:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519842 -3.557815)'), GeomFromEWKT('SRID=4674;POINT (-38.519874 -3.557932)'))) / (select extract(epoch from '2026-07-18 16:55:14'::timestamp) - extract(epoch from '2026-07-18 16: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.51991 -3.55804)', '2026-07-18 16:55:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519874 -3.557932)'), GeomFromEWKT('SRID=4674;POINT (-38.51991 -3.55804)'))) / (select extract(epoch from '2026-07-18 16:55:20'::timestamp) - extract(epoch from '2026-07-18 16:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519874 -3.557932)'), GeomFromEWKT('SRID=4674;POINT (-38.51991 -3.55804)'))) / (select extract(epoch from '2026-07-18 16:55:20'::timestamp) - extract(epoch from '2026-07-18 16:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519916 -3.558061)', '2026-07-18 16:55:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51991 -3.55804)'), GeomFromEWKT('SRID=4674;POINT (-38.519916 -3.558061)'))) / (select extract(epoch from '2026-07-18 16:55:21'::timestamp) - extract(epoch from '2026-07-18 16:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51991 -3.55804)'), GeomFromEWKT('SRID=4674;POINT (-38.519916 -3.558061)'))) / (select extract(epoch from '2026-07-18 16:55:21'::timestamp) - extract(epoch from '2026-07-18 16:55:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.519957 -3.558136)', '2026-07-18 16:55:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519916 -3.558061)'), GeomFromEWKT('SRID=4674;POINT (-38.519957 -3.558136)'))) / (select extract(epoch from '2026-07-18 16:55:25'::timestamp) - extract(epoch from '2026-07-18 16:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519916 -3.558061)'), GeomFromEWKT('SRID=4674;POINT (-38.519957 -3.558136)'))) / (select extract(epoch from '2026-07-18 16:55:25'::timestamp) - extract(epoch from '2026-07-18 16: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.519965 -3.558183)', '2026-07-18 16:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519957 -3.558136)'), GeomFromEWKT('SRID=4674;POINT (-38.519965 -3.558183)'))) / (select extract(epoch from '2026-07-18 16:55:28'::timestamp) - extract(epoch from '2026-07-18 16:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519957 -3.558136)'), GeomFromEWKT('SRID=4674;POINT (-38.519965 -3.558183)'))) / (select extract(epoch from '2026-07-18 16:55:28'::timestamp) - extract(epoch from '2026-07-18 16:55: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.519973 -3.558198)', '2026-07-18 16:55:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519965 -3.558183)'), GeomFromEWKT('SRID=4674;POINT (-38.519973 -3.558198)'))) / (select extract(epoch from '2026-07-18 16:55:29'::timestamp) - extract(epoch from '2026-07-18 16:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519965 -3.558183)'), GeomFromEWKT('SRID=4674;POINT (-38.519973 -3.558198)'))) / (select extract(epoch from '2026-07-18 16:55:29'::timestamp) - extract(epoch from '2026-07-18 16:55: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.520008 -3.558305)', '2026-07-18 16:55:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519973 -3.558198)'), GeomFromEWKT('SRID=4674;POINT (-38.520008 -3.558305)'))) / (select extract(epoch from '2026-07-18 16:55:35'::timestamp) - extract(epoch from '2026-07-18 16:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519973 -3.558198)'), GeomFromEWKT('SRID=4674;POINT (-38.520008 -3.558305)'))) / (select extract(epoch from '2026-07-18 16:55:35'::timestamp) - extract(epoch from '2026-07-18 16:55:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520015 -3.558343)', '2026-07-18 16:55:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520008 -3.558305)'), GeomFromEWKT('SRID=4674;POINT (-38.520015 -3.558343)'))) / (select extract(epoch from '2026-07-18 16:55:37'::timestamp) - extract(epoch from '2026-07-18 16:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520008 -3.558305)'), GeomFromEWKT('SRID=4674;POINT (-38.520015 -3.558343)'))) / (select extract(epoch from '2026-07-18 16:55:37'::timestamp) - extract(epoch from '2026-07-18 16:55:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520047 -3.558397)', '2026-07-18 16:55:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520015 -3.558343)'), GeomFromEWKT('SRID=4674;POINT (-38.520047 -3.558397)'))) / (select extract(epoch from '2026-07-18 16:55:40'::timestamp) - extract(epoch from '2026-07-18 16:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520015 -3.558343)'), GeomFromEWKT('SRID=4674;POINT (-38.520047 -3.558397)'))) / (select extract(epoch from '2026-07-18 16:55:40'::timestamp) - extract(epoch from '2026-07-18 16:55:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520074 -3.558504)', '2026-07-18 16:55:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520047 -3.558397)'), GeomFromEWKT('SRID=4674;POINT (-38.520074 -3.558504)'))) / (select extract(epoch from '2026-07-18 16:55:46'::timestamp) - extract(epoch from '2026-07-18 16:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520047 -3.558397)'), GeomFromEWKT('SRID=4674;POINT (-38.520074 -3.558504)'))) / (select extract(epoch from '2026-07-18 16:55:46'::timestamp) - extract(epoch from '2026-07-18 16:55:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520111 -3.558611)', '2026-07-18 16:55:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520074 -3.558504)'), GeomFromEWKT('SRID=4674;POINT (-38.520111 -3.558611)'))) / (select extract(epoch from '2026-07-18 16:55:52'::timestamp) - extract(epoch from '2026-07-18 16:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520074 -3.558504)'), GeomFromEWKT('SRID=4674;POINT (-38.520111 -3.558611)'))) / (select extract(epoch from '2026-07-18 16:55:52'::timestamp) - extract(epoch from '2026-07-18 16: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.520143 -3.558716)', '2026-07-18 16:55:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520111 -3.558611)'), GeomFromEWKT('SRID=4674;POINT (-38.520143 -3.558716)'))) / (select extract(epoch from '2026-07-18 16:55:58'::timestamp) - extract(epoch from '2026-07-18 16:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520111 -3.558611)'), GeomFromEWKT('SRID=4674;POINT (-38.520143 -3.558716)'))) / (select extract(epoch from '2026-07-18 16:55:58'::timestamp) - extract(epoch from '2026-07-18 16: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.520181 -3.558803)', '2026-07-18 16:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520143 -3.558716)'), GeomFromEWKT('SRID=4674;POINT (-38.520181 -3.558803)'))) / (select extract(epoch from '2026-07-18 16:56:03'::timestamp) - extract(epoch from '2026-07-18 16:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520143 -3.558716)'), GeomFromEWKT('SRID=4674;POINT (-38.520181 -3.558803)'))) / (select extract(epoch from '2026-07-18 16:56:03'::timestamp) - extract(epoch from '2026-07-18 16: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.520204 -3.558898)', '2026-07-18 16:56:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520181 -3.558803)'), GeomFromEWKT('SRID=4674;POINT (-38.520204 -3.558898)'))) / (select extract(epoch from '2026-07-18 16:56:08'::timestamp) - extract(epoch from '2026-07-18 16:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520181 -3.558803)'), GeomFromEWKT('SRID=4674;POINT (-38.520204 -3.558898)'))) / (select extract(epoch from '2026-07-18 16:56:08'::timestamp) - extract(epoch from '2026-07-18 16: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.520224 -3.558991)', '2026-07-18 16:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520204 -3.558898)'), GeomFromEWKT('SRID=4674;POINT (-38.520224 -3.558991)'))) / (select extract(epoch from '2026-07-18 16:56:13'::timestamp) - extract(epoch from '2026-07-18 16:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520204 -3.558898)'), GeomFromEWKT('SRID=4674;POINT (-38.520224 -3.558991)'))) / (select extract(epoch from '2026-07-18 16:56:13'::timestamp) - extract(epoch from '2026-07-18 16:56: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.520235 -3.55901)', '2026-07-18 16:56:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520224 -3.558991)'), GeomFromEWKT('SRID=4674;POINT (-38.520235 -3.55901)'))) / (select extract(epoch from '2026-07-18 16:56:14'::timestamp) - extract(epoch from '2026-07-18 16:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520224 -3.558991)'), GeomFromEWKT('SRID=4674;POINT (-38.520235 -3.55901)'))) / (select extract(epoch from '2026-07-18 16:56:14'::timestamp) - extract(epoch from '2026-07-18 16: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.520254 -3.55906)', '2026-07-18 16:56:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520235 -3.55901)'), GeomFromEWKT('SRID=4674;POINT (-38.520254 -3.55906)'))) / (select extract(epoch from '2026-07-18 16:56:17'::timestamp) - extract(epoch from '2026-07-18 16:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520235 -3.55901)'), GeomFromEWKT('SRID=4674;POINT (-38.520254 -3.55906)'))) / (select extract(epoch from '2026-07-18 16:56:17'::timestamp) - extract(epoch from '2026-07-18 16:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520262 -3.559125)', '2026-07-18 16:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520254 -3.55906)'), GeomFromEWKT('SRID=4674;POINT (-38.520262 -3.559125)'))) / (select extract(epoch from '2026-07-18 16:56:21'::timestamp) - extract(epoch from '2026-07-18 16:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520254 -3.55906)'), GeomFromEWKT('SRID=4674;POINT (-38.520262 -3.559125)'))) / (select extract(epoch from '2026-07-18 16:56:21'::timestamp) - extract(epoch from '2026-07-18 16:56: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.520276 -3.559141)', '2026-07-18 16:56:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520262 -3.559125)'), GeomFromEWKT('SRID=4674;POINT (-38.520276 -3.559141)'))) / (select extract(epoch from '2026-07-18 16:56:22'::timestamp) - extract(epoch from '2026-07-18 16:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520262 -3.559125)'), GeomFromEWKT('SRID=4674;POINT (-38.520276 -3.559141)'))) / (select extract(epoch from '2026-07-18 16:56:22'::timestamp) - extract(epoch from '2026-07-18 16:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520291 -3.559213)', '2026-07-18 16:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520276 -3.559141)'), GeomFromEWKT('SRID=4674;POINT (-38.520291 -3.559213)'))) / (select extract(epoch from '2026-07-18 16:56:26'::timestamp) - extract(epoch from '2026-07-18 16:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520276 -3.559141)'), GeomFromEWKT('SRID=4674;POINT (-38.520291 -3.559213)'))) / (select extract(epoch from '2026-07-18 16:56:26'::timestamp) - extract(epoch from '2026-07-18 16: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.520301 -3.55923)', '2026-07-18 16:56:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520291 -3.559213)'), GeomFromEWKT('SRID=4674;POINT (-38.520301 -3.55923)'))) / (select extract(epoch from '2026-07-18 16:56:27'::timestamp) - extract(epoch from '2026-07-18 16:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520291 -3.559213)'), GeomFromEWKT('SRID=4674;POINT (-38.520301 -3.55923)'))) / (select extract(epoch from '2026-07-18 16:56:27'::timestamp) - extract(epoch from '2026-07-18 16: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.520332 -3.559276)', '2026-07-18 16:56:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520301 -3.55923)'), GeomFromEWKT('SRID=4674;POINT (-38.520332 -3.559276)'))) / (select extract(epoch from '2026-07-18 16:56:30'::timestamp) - extract(epoch from '2026-07-18 16:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520301 -3.55923)'), GeomFromEWKT('SRID=4674;POINT (-38.520332 -3.559276)'))) / (select extract(epoch from '2026-07-18 16:56:30'::timestamp) - extract(epoch from '2026-07-18 16:56:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520336 -3.55933)', '2026-07-18 16:56:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520332 -3.559276)'), GeomFromEWKT('SRID=4674;POINT (-38.520336 -3.55933)'))) / (select extract(epoch from '2026-07-18 16:56:33'::timestamp) - extract(epoch from '2026-07-18 16:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520332 -3.559276)'), GeomFromEWKT('SRID=4674;POINT (-38.520336 -3.55933)'))) / (select extract(epoch from '2026-07-18 16:56:33'::timestamp) - extract(epoch from '2026-07-18 16:56:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520357 -3.559363)', '2026-07-18 16:56:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520336 -3.55933)'), GeomFromEWKT('SRID=4674;POINT (-38.520357 -3.559363)'))) / (select extract(epoch from '2026-07-18 16:56:35'::timestamp) - extract(epoch from '2026-07-18 16:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520336 -3.55933)'), GeomFromEWKT('SRID=4674;POINT (-38.520357 -3.559363)'))) / (select extract(epoch from '2026-07-18 16:56:35'::timestamp) - extract(epoch from '2026-07-18 16:56: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.520371 -3.559443)', '2026-07-18 16:56:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520357 -3.559363)'), GeomFromEWKT('SRID=4674;POINT (-38.520371 -3.559443)'))) / (select extract(epoch from '2026-07-18 16:56:39'::timestamp) - extract(epoch from '2026-07-18 16:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520357 -3.559363)'), GeomFromEWKT('SRID=4674;POINT (-38.520371 -3.559443)'))) / (select extract(epoch from '2026-07-18 16:56:39'::timestamp) - extract(epoch from '2026-07-18 16:56: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.520381 -3.559462)', '2026-07-18 16:56:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520371 -3.559443)'), GeomFromEWKT('SRID=4674;POINT (-38.520381 -3.559462)'))) / (select extract(epoch from '2026-07-18 16:56:40'::timestamp) - extract(epoch from '2026-07-18 16:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520371 -3.559443)'), GeomFromEWKT('SRID=4674;POINT (-38.520381 -3.559462)'))) / (select extract(epoch from '2026-07-18 16:56:40'::timestamp) - extract(epoch from '2026-07-18 16:56: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.520411 -3.55956)', '2026-07-18 16:56:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520381 -3.559462)'), GeomFromEWKT('SRID=4674;POINT (-38.520411 -3.55956)'))) / (select extract(epoch from '2026-07-18 16:56:45'::timestamp) - extract(epoch from '2026-07-18 16:56:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520381 -3.559462)'), GeomFromEWKT('SRID=4674;POINT (-38.520411 -3.55956)'))) / (select extract(epoch from '2026-07-18 16:56:45'::timestamp) - extract(epoch from '2026-07-18 16: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.520426 -3.559605)', '2026-07-18 16:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520411 -3.55956)'), GeomFromEWKT('SRID=4674;POINT (-38.520426 -3.559605)'))) / (select extract(epoch from '2026-07-18 16:56:48'::timestamp) - extract(epoch from '2026-07-18 16:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520411 -3.55956)'), GeomFromEWKT('SRID=4674;POINT (-38.520426 -3.559605)'))) / (select extract(epoch from '2026-07-18 16:56:48'::timestamp) - extract(epoch from '2026-07-18 16:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520448 -3.559633)', '2026-07-18 16:56:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520426 -3.559605)'), GeomFromEWKT('SRID=4674;POINT (-38.520448 -3.559633)'))) / (select extract(epoch from '2026-07-18 16:56:50'::timestamp) - extract(epoch from '2026-07-18 16:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520426 -3.559605)'), GeomFromEWKT('SRID=4674;POINT (-38.520448 -3.559633)'))) / (select extract(epoch from '2026-07-18 16:56:50'::timestamp) - extract(epoch from '2026-07-18 16:56:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520453 -3.559659)', '2026-07-18 16:56:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520448 -3.559633)'), GeomFromEWKT('SRID=4674;POINT (-38.520453 -3.559659)'))) / (select extract(epoch from '2026-07-18 16:56:52'::timestamp) - extract(epoch from '2026-07-18 16:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520448 -3.559633)'), GeomFromEWKT('SRID=4674;POINT (-38.520453 -3.559659)'))) / (select extract(epoch from '2026-07-18 16:56:52'::timestamp) - extract(epoch from '2026-07-18 16:56: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.520465 -3.559681)', '2026-07-18 16:56:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520453 -3.559659)'), GeomFromEWKT('SRID=4674;POINT (-38.520465 -3.559681)'))) / (select extract(epoch from '2026-07-18 16:56:54'::timestamp) - extract(epoch from '2026-07-18 16:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520453 -3.559659)'), GeomFromEWKT('SRID=4674;POINT (-38.520465 -3.559681)'))) / (select extract(epoch from '2026-07-18 16:56:54'::timestamp) - extract(epoch from '2026-07-18 16: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.520511 -3.559807)', '2026-07-18 16:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520465 -3.559681)'), GeomFromEWKT('SRID=4674;POINT (-38.520511 -3.559807)'))) / (select extract(epoch from '2026-07-18 16:57:02'::timestamp) - extract(epoch from '2026-07-18 16:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520465 -3.559681)'), GeomFromEWKT('SRID=4674;POINT (-38.520511 -3.559807)'))) / (select extract(epoch from '2026-07-18 16:57:02'::timestamp) - extract(epoch from '2026-07-18 16:56:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520537 -3.559908)', '2026-07-18 16:57:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520511 -3.559807)'), GeomFromEWKT('SRID=4674;POINT (-38.520537 -3.559908)'))) / (select extract(epoch from '2026-07-18 16:57:07'::timestamp) - extract(epoch from '2026-07-18 16:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520511 -3.559807)'), GeomFromEWKT('SRID=4674;POINT (-38.520537 -3.559908)'))) / (select extract(epoch from '2026-07-18 16:57:07'::timestamp) - extract(epoch from '2026-07-18 16: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.520563 -3.560024)', '2026-07-18 16:57:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520537 -3.559908)'), GeomFromEWKT('SRID=4674;POINT (-38.520563 -3.560024)'))) / (select extract(epoch from '2026-07-18 16:57:13'::timestamp) - extract(epoch from '2026-07-18 16:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520537 -3.559908)'), GeomFromEWKT('SRID=4674;POINT (-38.520563 -3.560024)'))) / (select extract(epoch from '2026-07-18 16:57:13'::timestamp) - extract(epoch from '2026-07-18 16:57: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.520605 -3.560118)', '2026-07-18 16:57:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520563 -3.560024)'), GeomFromEWKT('SRID=4674;POINT (-38.520605 -3.560118)'))) / (select extract(epoch from '2026-07-18 16:57:18'::timestamp) - extract(epoch from '2026-07-18 16:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520563 -3.560024)'), GeomFromEWKT('SRID=4674;POINT (-38.520605 -3.560118)'))) / (select extract(epoch from '2026-07-18 16:57:18'::timestamp) - extract(epoch from '2026-07-18 16:57: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.520606 -3.560136)', '2026-07-18 16:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520605 -3.560118)'), GeomFromEWKT('SRID=4674;POINT (-38.520606 -3.560136)'))) / (select extract(epoch from '2026-07-18 16:57:19'::timestamp) - extract(epoch from '2026-07-18 16:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520605 -3.560118)'), GeomFromEWKT('SRID=4674;POINT (-38.520606 -3.560136)'))) / (select extract(epoch from '2026-07-18 16:57:19'::timestamp) - extract(epoch from '2026-07-18 16:57:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52061 -3.560154)', '2026-07-18 16:57:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520606 -3.560136)'), GeomFromEWKT('SRID=4674;POINT (-38.52061 -3.560154)'))) / (select extract(epoch from '2026-07-18 16:57:20'::timestamp) - extract(epoch from '2026-07-18 16:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520606 -3.560136)'), GeomFromEWKT('SRID=4674;POINT (-38.52061 -3.560154)'))) / (select extract(epoch from '2026-07-18 16:57:20'::timestamp) - extract(epoch from '2026-07-18 16:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52063 -3.560214)', '2026-07-18 16:57:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52061 -3.560154)'), GeomFromEWKT('SRID=4674;POINT (-38.52063 -3.560214)'))) / (select extract(epoch from '2026-07-18 16:57:23'::timestamp) - extract(epoch from '2026-07-18 16:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52061 -3.560154)'), GeomFromEWKT('SRID=4674;POINT (-38.52063 -3.560214)'))) / (select extract(epoch from '2026-07-18 16:57:23'::timestamp) - extract(epoch from '2026-07-18 16:57: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.520636 -3.560285)', '2026-07-18 16:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52063 -3.560214)'), GeomFromEWKT('SRID=4674;POINT (-38.520636 -3.560285)'))) / (select extract(epoch from '2026-07-18 16:57:27'::timestamp) - extract(epoch from '2026-07-18 16:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52063 -3.560214)'), GeomFromEWKT('SRID=4674;POINT (-38.520636 -3.560285)'))) / (select extract(epoch from '2026-07-18 16:57:27'::timestamp) - extract(epoch from '2026-07-18 16:57: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.520646 -3.560299)', '2026-07-18 16:57:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520636 -3.560285)'), GeomFromEWKT('SRID=4674;POINT (-38.520646 -3.560299)'))) / (select extract(epoch from '2026-07-18 16:57:28'::timestamp) - extract(epoch from '2026-07-18 16:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520636 -3.560285)'), GeomFromEWKT('SRID=4674;POINT (-38.520646 -3.560299)'))) / (select extract(epoch from '2026-07-18 16:57:28'::timestamp) - extract(epoch from '2026-07-18 16: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.520662 -3.560383)', '2026-07-18 16:57:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520646 -3.560299)'), GeomFromEWKT('SRID=4674;POINT (-38.520662 -3.560383)'))) / (select extract(epoch from '2026-07-18 16:57:33'::timestamp) - extract(epoch from '2026-07-18 16:57:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520646 -3.560299)'), GeomFromEWKT('SRID=4674;POINT (-38.520662 -3.560383)'))) / (select extract(epoch from '2026-07-18 16:57:33'::timestamp) - extract(epoch from '2026-07-18 16:57:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520685 -3.560451)', '2026-07-18 16:57:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520662 -3.560383)'), GeomFromEWKT('SRID=4674;POINT (-38.520685 -3.560451)'))) / (select extract(epoch from '2026-07-18 16:57:37'::timestamp) - extract(epoch from '2026-07-18 16:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520662 -3.560383)'), GeomFromEWKT('SRID=4674;POINT (-38.520685 -3.560451)'))) / (select extract(epoch from '2026-07-18 16:57:37'::timestamp) - extract(epoch from '2026-07-18 16: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.520704 -3.560549)', '2026-07-18 16:57:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520685 -3.560451)'), GeomFromEWKT('SRID=4674;POINT (-38.520704 -3.560549)'))) / (select extract(epoch from '2026-07-18 16:57:43'::timestamp) - extract(epoch from '2026-07-18 16:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520685 -3.560451)'), GeomFromEWKT('SRID=4674;POINT (-38.520704 -3.560549)'))) / (select extract(epoch from '2026-07-18 16:57:43'::timestamp) - extract(epoch from '2026-07-18 16:57: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.520728 -3.560635)', '2026-07-18 16:57:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520704 -3.560549)'), GeomFromEWKT('SRID=4674;POINT (-38.520728 -3.560635)'))) / (select extract(epoch from '2026-07-18 16:57:48'::timestamp) - extract(epoch from '2026-07-18 16:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520704 -3.560549)'), GeomFromEWKT('SRID=4674;POINT (-38.520728 -3.560635)'))) / (select extract(epoch from '2026-07-18 16:57:48'::timestamp) - extract(epoch from '2026-07-18 16:57: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.520747 -3.560731)', '2026-07-18 16:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520728 -3.560635)'), GeomFromEWKT('SRID=4674;POINT (-38.520747 -3.560731)'))) / (select extract(epoch from '2026-07-18 16:57:54'::timestamp) - extract(epoch from '2026-07-18 16:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520728 -3.560635)'), GeomFromEWKT('SRID=4674;POINT (-38.520747 -3.560731)'))) / (select extract(epoch from '2026-07-18 16:57:54'::timestamp) - extract(epoch from '2026-07-18 16:57:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52078 -3.560836)', '2026-07-18 16:58:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520747 -3.560731)'), GeomFromEWKT('SRID=4674;POINT (-38.52078 -3.560836)'))) / (select extract(epoch from '2026-07-18 16:58:00'::timestamp) - extract(epoch from '2026-07-18 16:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520747 -3.560731)'), GeomFromEWKT('SRID=4674;POINT (-38.52078 -3.560836)'))) / (select extract(epoch from '2026-07-18 16:58:00'::timestamp) - extract(epoch from '2026-07-18 16:57:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520804 -3.560934)', '2026-07-18 16:58:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52078 -3.560836)'), GeomFromEWKT('SRID=4674;POINT (-38.520804 -3.560934)'))) / (select extract(epoch from '2026-07-18 16:58:05'::timestamp) - extract(epoch from '2026-07-18 16:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52078 -3.560836)'), GeomFromEWKT('SRID=4674;POINT (-38.520804 -3.560934)'))) / (select extract(epoch from '2026-07-18 16:58:05'::timestamp) - extract(epoch from '2026-07-18 16:58: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.52083 -3.56099)', '2026-07-18 16:58:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520804 -3.560934)'), GeomFromEWKT('SRID=4674;POINT (-38.52083 -3.56099)'))) / (select extract(epoch from '2026-07-18 16:58:08'::timestamp) - extract(epoch from '2026-07-18 16:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520804 -3.560934)'), GeomFromEWKT('SRID=4674;POINT (-38.52083 -3.56099)'))) / (select extract(epoch from '2026-07-18 16:58:08'::timestamp) - extract(epoch from '2026-07-18 16:58:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520827 -3.561009)', '2026-07-18 16:58:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52083 -3.56099)'), GeomFromEWKT('SRID=4674;POINT (-38.520827 -3.561009)'))) / (select extract(epoch from '2026-07-18 16:58:09'::timestamp) - extract(epoch from '2026-07-18 16:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52083 -3.56099)'), GeomFromEWKT('SRID=4674;POINT (-38.520827 -3.561009)'))) / (select extract(epoch from '2026-07-18 16:58:09'::timestamp) - extract(epoch from '2026-07-18 16:58: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.520827 -3.561038)', '2026-07-18 16:58:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520827 -3.561009)'), GeomFromEWKT('SRID=4674;POINT (-38.520827 -3.561038)'))) / (select extract(epoch from '2026-07-18 16:58:11'::timestamp) - extract(epoch from '2026-07-18 16:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520827 -3.561009)'), GeomFromEWKT('SRID=4674;POINT (-38.520827 -3.561038)'))) / (select extract(epoch from '2026-07-18 16:58:11'::timestamp) - extract(epoch from '2026-07-18 16:58: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.520844 -3.561067)', '2026-07-18 16:58:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520827 -3.561038)'), GeomFromEWKT('SRID=4674;POINT (-38.520844 -3.561067)'))) / (select extract(epoch from '2026-07-18 16:58:13'::timestamp) - extract(epoch from '2026-07-18 16:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520827 -3.561038)'), GeomFromEWKT('SRID=4674;POINT (-38.520844 -3.561067)'))) / (select extract(epoch from '2026-07-18 16:58:13'::timestamp) - extract(epoch from '2026-07-18 16:58: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.520875 -3.561166)', '2026-07-18 16:58:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520844 -3.561067)'), GeomFromEWKT('SRID=4674;POINT (-38.520875 -3.561166)'))) / (select extract(epoch from '2026-07-18 16:58:19'::timestamp) - extract(epoch from '2026-07-18 16:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520844 -3.561067)'), GeomFromEWKT('SRID=4674;POINT (-38.520875 -3.561166)'))) / (select extract(epoch from '2026-07-18 16:58:19'::timestamp) - extract(epoch from '2026-07-18 16: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.520881 -3.561182)', '2026-07-18 16:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520875 -3.561166)'), GeomFromEWKT('SRID=4674;POINT (-38.520881 -3.561182)'))) / (select extract(epoch from '2026-07-18 16:58:20'::timestamp) - extract(epoch from '2026-07-18 16:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520875 -3.561166)'), GeomFromEWKT('SRID=4674;POINT (-38.520881 -3.561182)'))) / (select extract(epoch from '2026-07-18 16:58:20'::timestamp) - extract(epoch from '2026-07-18 16:58: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.52091 -3.561233)', '2026-07-18 16:58:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520881 -3.561182)'), GeomFromEWKT('SRID=4674;POINT (-38.52091 -3.561233)'))) / (select extract(epoch from '2026-07-18 16:58:23'::timestamp) - extract(epoch from '2026-07-18 16:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520881 -3.561182)'), GeomFromEWKT('SRID=4674;POINT (-38.52091 -3.561233)'))) / (select extract(epoch from '2026-07-18 16:58:23'::timestamp) - extract(epoch from '2026-07-18 16:58: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.520933 -3.561307)', '2026-07-18 16:58:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52091 -3.561233)'), GeomFromEWKT('SRID=4674;POINT (-38.520933 -3.561307)'))) / (select extract(epoch from '2026-07-18 16:58:28'::timestamp) - extract(epoch from '2026-07-18 16:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52091 -3.561233)'), GeomFromEWKT('SRID=4674;POINT (-38.520933 -3.561307)'))) / (select extract(epoch from '2026-07-18 16:58:28'::timestamp) - extract(epoch from '2026-07-18 16:58:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520956 -3.561379)', '2026-07-18 16:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520933 -3.561307)'), GeomFromEWKT('SRID=4674;POINT (-38.520956 -3.561379)'))) / (select extract(epoch from '2026-07-18 16:58:32'::timestamp) - extract(epoch from '2026-07-18 16:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520933 -3.561307)'), GeomFromEWKT('SRID=4674;POINT (-38.520956 -3.561379)'))) / (select extract(epoch from '2026-07-18 16:58:32'::timestamp) - extract(epoch from '2026-07-18 16:58:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.520956 -3.561413)', '2026-07-18 16:58:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520956 -3.561379)'), GeomFromEWKT('SRID=4674;POINT (-38.520956 -3.561413)'))) / (select extract(epoch from '2026-07-18 16:58:34'::timestamp) - extract(epoch from '2026-07-18 16:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520956 -3.561379)'), GeomFromEWKT('SRID=4674;POINT (-38.520956 -3.561413)'))) / (select extract(epoch from '2026-07-18 16:58:34'::timestamp) - extract(epoch from '2026-07-18 16: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.52098 -3.561488)', '2026-07-18 16:58:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520956 -3.561413)'), GeomFromEWKT('SRID=4674;POINT (-38.52098 -3.561488)'))) / (select extract(epoch from '2026-07-18 16:58:38'::timestamp) - extract(epoch from '2026-07-18 16:58:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520956 -3.561413)'), GeomFromEWKT('SRID=4674;POINT (-38.52098 -3.561488)'))) / (select extract(epoch from '2026-07-18 16:58:38'::timestamp) - extract(epoch from '2026-07-18 16:58:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521009 -3.561604)', '2026-07-18 16:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52098 -3.561488)'), GeomFromEWKT('SRID=4674;POINT (-38.521009 -3.561604)'))) / (select extract(epoch from '2026-07-18 16:58:44'::timestamp) - extract(epoch from '2026-07-18 16:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52098 -3.561488)'), GeomFromEWKT('SRID=4674;POINT (-38.521009 -3.561604)'))) / (select extract(epoch from '2026-07-18 16:58:44'::timestamp) - extract(epoch from '2026-07-18 16:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521029 -3.561713)', '2026-07-18 16:58:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521009 -3.561604)'), GeomFromEWKT('SRID=4674;POINT (-38.521029 -3.561713)'))) / (select extract(epoch from '2026-07-18 16:58:50'::timestamp) - extract(epoch from '2026-07-18 16:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521009 -3.561604)'), GeomFromEWKT('SRID=4674;POINT (-38.521029 -3.561713)'))) / (select extract(epoch from '2026-07-18 16:58:50'::timestamp) - extract(epoch from '2026-07-18 16:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521055 -3.561816)', '2026-07-18 16:58:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521029 -3.561713)'), GeomFromEWKT('SRID=4674;POINT (-38.521055 -3.561816)'))) / (select extract(epoch from '2026-07-18 16:58:56'::timestamp) - extract(epoch from '2026-07-18 16:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521029 -3.561713)'), GeomFromEWKT('SRID=4674;POINT (-38.521055 -3.561816)'))) / (select extract(epoch from '2026-07-18 16:58:56'::timestamp) - extract(epoch from '2026-07-18 16:58:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521076 -3.561899)', '2026-07-18 16:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521055 -3.561816)'), GeomFromEWKT('SRID=4674;POINT (-38.521076 -3.561899)'))) / (select extract(epoch from '2026-07-18 16:59:01'::timestamp) - extract(epoch from '2026-07-18 16:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521055 -3.561816)'), GeomFromEWKT('SRID=4674;POINT (-38.521076 -3.561899)'))) / (select extract(epoch from '2026-07-18 16:59:01'::timestamp) - extract(epoch from '2026-07-18 16: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.521114 -3.562005)', '2026-07-18 16:59:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521076 -3.561899)'), GeomFromEWKT('SRID=4674;POINT (-38.521114 -3.562005)'))) / (select extract(epoch from '2026-07-18 16:59:08'::timestamp) - extract(epoch from '2026-07-18 16:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521076 -3.561899)'), GeomFromEWKT('SRID=4674;POINT (-38.521114 -3.562005)'))) / (select extract(epoch from '2026-07-18 16:59:08'::timestamp) - extract(epoch from '2026-07-18 16: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.521148 -3.562078)', '2026-07-18 16:59:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521114 -3.562005)'), GeomFromEWKT('SRID=4674;POINT (-38.521148 -3.562078)'))) / (select extract(epoch from '2026-07-18 16:59:12'::timestamp) - extract(epoch from '2026-07-18 16:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521114 -3.562005)'), GeomFromEWKT('SRID=4674;POINT (-38.521148 -3.562078)'))) / (select extract(epoch from '2026-07-18 16:59:12'::timestamp) - extract(epoch from '2026-07-18 16:59: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.521147 -3.562107)', '2026-07-18 16:59:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521148 -3.562078)'), GeomFromEWKT('SRID=4674;POINT (-38.521147 -3.562107)'))) / (select extract(epoch from '2026-07-18 16:59:14'::timestamp) - extract(epoch from '2026-07-18 16:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521148 -3.562078)'), GeomFromEWKT('SRID=4674;POINT (-38.521147 -3.562107)'))) / (select extract(epoch from '2026-07-18 16:59:14'::timestamp) - extract(epoch from '2026-07-18 16: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.52117 -3.562161)', '2026-07-18 16:59:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521147 -3.562107)'), GeomFromEWKT('SRID=4674;POINT (-38.52117 -3.562161)'))) / (select extract(epoch from '2026-07-18 16:59:17'::timestamp) - extract(epoch from '2026-07-18 16:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521147 -3.562107)'), GeomFromEWKT('SRID=4674;POINT (-38.52117 -3.562161)'))) / (select extract(epoch from '2026-07-18 16:59:17'::timestamp) - extract(epoch from '2026-07-18 16: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.521196 -3.562245)', '2026-07-18 16:59:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52117 -3.562161)'), GeomFromEWKT('SRID=4674;POINT (-38.521196 -3.562245)'))) / (select extract(epoch from '2026-07-18 16:59:22'::timestamp) - extract(epoch from '2026-07-18 16:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52117 -3.562161)'), GeomFromEWKT('SRID=4674;POINT (-38.521196 -3.562245)'))) / (select extract(epoch from '2026-07-18 16:59:22'::timestamp) - extract(epoch from '2026-07-18 16: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.521212 -3.562338)', '2026-07-18 16:59:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521196 -3.562245)'), GeomFromEWKT('SRID=4674;POINT (-38.521212 -3.562338)'))) / (select extract(epoch from '2026-07-18 16:59:27'::timestamp) - extract(epoch from '2026-07-18 16:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521196 -3.562245)'), GeomFromEWKT('SRID=4674;POINT (-38.521212 -3.562338)'))) / (select extract(epoch from '2026-07-18 16:59:27'::timestamp) - extract(epoch from '2026-07-18 16:59: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.521234 -3.562466)', '2026-07-18 16:59:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521212 -3.562338)'), GeomFromEWKT('SRID=4674;POINT (-38.521234 -3.562466)'))) / (select extract(epoch from '2026-07-18 16:59:34'::timestamp) - extract(epoch from '2026-07-18 16:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521212 -3.562338)'), GeomFromEWKT('SRID=4674;POINT (-38.521234 -3.562466)'))) / (select extract(epoch from '2026-07-18 16:59:34'::timestamp) - extract(epoch from '2026-07-18 16:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521278 -3.562597)', '2026-07-18 16:59:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521234 -3.562466)'), GeomFromEWKT('SRID=4674;POINT (-38.521278 -3.562597)'))) / (select extract(epoch from '2026-07-18 16:59:42'::timestamp) - extract(epoch from '2026-07-18 16:59:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521234 -3.562466)'), GeomFromEWKT('SRID=4674;POINT (-38.521278 -3.562597)'))) / (select extract(epoch from '2026-07-18 16:59:42'::timestamp) - extract(epoch from '2026-07-18 16:59:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52131 -3.562692)', '2026-07-18 16:59:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521278 -3.562597)'), GeomFromEWKT('SRID=4674;POINT (-38.52131 -3.562692)'))) / (select extract(epoch from '2026-07-18 16:59:48'::timestamp) - extract(epoch from '2026-07-18 16:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521278 -3.562597)'), GeomFromEWKT('SRID=4674;POINT (-38.52131 -3.562692)'))) / (select extract(epoch from '2026-07-18 16:59:48'::timestamp) - extract(epoch from '2026-07-18 16: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.52131 -3.562727)', '2026-07-18 16:59:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52131 -3.562692)'), GeomFromEWKT('SRID=4674;POINT (-38.52131 -3.562727)'))) / (select extract(epoch from '2026-07-18 16:59:50'::timestamp) - extract(epoch from '2026-07-18 16:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52131 -3.562692)'), GeomFromEWKT('SRID=4674;POINT (-38.52131 -3.562727)'))) / (select extract(epoch from '2026-07-18 16:59:50'::timestamp) - extract(epoch from '2026-07-18 16:59: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.52134 -3.56278)', '2026-07-18 16:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52131 -3.562727)'), GeomFromEWKT('SRID=4674;POINT (-38.52134 -3.56278)'))) / (select extract(epoch from '2026-07-18 16:59:53'::timestamp) - extract(epoch from '2026-07-18 16:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52131 -3.562727)'), GeomFromEWKT('SRID=4674;POINT (-38.52134 -3.56278)'))) / (select extract(epoch from '2026-07-18 16:59:53'::timestamp) - extract(epoch from '2026-07-18 16: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.521354 -3.562879)', '2026-07-18 16:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52134 -3.56278)'), GeomFromEWKT('SRID=4674;POINT (-38.521354 -3.562879)'))) / (select extract(epoch from '2026-07-18 16:59:59'::timestamp) - extract(epoch from '2026-07-18 16:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52134 -3.56278)'), GeomFromEWKT('SRID=4674;POINT (-38.521354 -3.562879)'))) / (select extract(epoch from '2026-07-18 16:59:59'::timestamp) - extract(epoch from '2026-07-18 16:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521397 -3.563)', '2026-07-18 17:00:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521354 -3.562879)'), GeomFromEWKT('SRID=4674;POINT (-38.521397 -3.563)'))) / (select extract(epoch from '2026-07-18 17:00:06'::timestamp) - extract(epoch from '2026-07-18 16:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521354 -3.562879)'), GeomFromEWKT('SRID=4674;POINT (-38.521397 -3.563)'))) / (select extract(epoch from '2026-07-18 17:00:06'::timestamp) - extract(epoch from '2026-07-18 16: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.521431 -3.563106)', '2026-07-18 17:00:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521397 -3.563)'), GeomFromEWKT('SRID=4674;POINT (-38.521431 -3.563106)'))) / (select extract(epoch from '2026-07-18 17:00:12'::timestamp) - extract(epoch from '2026-07-18 17:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521397 -3.563)'), GeomFromEWKT('SRID=4674;POINT (-38.521431 -3.563106)'))) / (select extract(epoch from '2026-07-18 17:00:12'::timestamp) - extract(epoch from '2026-07-18 17:00: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.521454 -3.563219)', '2026-07-18 17:00:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521431 -3.563106)'), GeomFromEWKT('SRID=4674;POINT (-38.521454 -3.563219)'))) / (select extract(epoch from '2026-07-18 17:00:19'::timestamp) - extract(epoch from '2026-07-18 17:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521431 -3.563106)'), GeomFromEWKT('SRID=4674;POINT (-38.521454 -3.563219)'))) / (select extract(epoch from '2026-07-18 17:00:19'::timestamp) - extract(epoch from '2026-07-18 17:00:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.521485 -3.563319)', '2026-07-18 17:00:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521454 -3.563219)'), GeomFromEWKT('SRID=4674;POINT (-38.521485 -3.563319)'))) / (select extract(epoch from '2026-07-18 17:00:25'::timestamp) - extract(epoch from '2026-07-18 17:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521454 -3.563219)'), GeomFromEWKT('SRID=4674;POINT (-38.521485 -3.563319)'))) / (select extract(epoch from '2026-07-18 17:00:25'::timestamp) - extract(epoch from '2026-07-18 17: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.521512 -3.56342)', '2026-07-18 17:00:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521485 -3.563319)'), GeomFromEWKT('SRID=4674;POINT (-38.521512 -3.56342)'))) / (select extract(epoch from '2026-07-18 17:00:31'::timestamp) - extract(epoch from '2026-07-18 17:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521485 -3.563319)'), GeomFromEWKT('SRID=4674;POINT (-38.521512 -3.56342)'))) / (select extract(epoch from '2026-07-18 17:00:31'::timestamp) - extract(epoch from '2026-07-18 17: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.521525 -3.563517)', '2026-07-18 17:00:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521512 -3.56342)'), GeomFromEWKT('SRID=4674;POINT (-38.521525 -3.563517)'))) / (select extract(epoch from '2026-07-18 17:00:36'::timestamp) - extract(epoch from '2026-07-18 17:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521512 -3.56342)'), GeomFromEWKT('SRID=4674;POINT (-38.521525 -3.563517)'))) / (select extract(epoch from '2026-07-18 17:00:36'::timestamp) - extract(epoch from '2026-07-18 17:00: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.521543 -3.563598)', '2026-07-18 17:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521525 -3.563517)'), GeomFromEWKT('SRID=4674;POINT (-38.521543 -3.563598)'))) / (select extract(epoch from '2026-07-18 17:00:41'::timestamp) - extract(epoch from '2026-07-18 17:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521525 -3.563517)'), GeomFromEWKT('SRID=4674;POINT (-38.521543 -3.563598)'))) / (select extract(epoch from '2026-07-18 17:00:41'::timestamp) - extract(epoch from '2026-07-18 17: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.521553 -3.563684)', '2026-07-18 17:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521543 -3.563598)'), GeomFromEWKT('SRID=4674;POINT (-38.521553 -3.563684)'))) / (select extract(epoch from '2026-07-18 17:00:46'::timestamp) - extract(epoch from '2026-07-18 17:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521543 -3.563598)'), GeomFromEWKT('SRID=4674;POINT (-38.521553 -3.563684)'))) / (select extract(epoch from '2026-07-18 17:00:46'::timestamp) - extract(epoch from '2026-07-18 17:00: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.521562 -3.563711)', '2026-07-18 17:00:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521553 -3.563684)'), GeomFromEWKT('SRID=4674;POINT (-38.521562 -3.563711)'))) / (select extract(epoch from '2026-07-18 17:00:48'::timestamp) - extract(epoch from '2026-07-18 17:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521553 -3.563684)'), GeomFromEWKT('SRID=4674;POINT (-38.521562 -3.563711)'))) / (select extract(epoch from '2026-07-18 17:00:48'::timestamp) - extract(epoch from '2026-07-18 17:00: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.521577 -3.563771)', '2026-07-18 17:00:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521562 -3.563711)'), GeomFromEWKT('SRID=4674;POINT (-38.521577 -3.563771)'))) / (select extract(epoch from '2026-07-18 17:00:51'::timestamp) - extract(epoch from '2026-07-18 17:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521562 -3.563711)'), GeomFromEWKT('SRID=4674;POINT (-38.521577 -3.563771)'))) / (select extract(epoch from '2026-07-18 17:00:51'::timestamp) - extract(epoch from '2026-07-18 17:00: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.521588 -3.563856)', '2026-07-18 17:00:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521577 -3.563771)'), GeomFromEWKT('SRID=4674;POINT (-38.521588 -3.563856)'))) / (select extract(epoch from '2026-07-18 17:00:56'::timestamp) - extract(epoch from '2026-07-18 17:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521577 -3.563771)'), GeomFromEWKT('SRID=4674;POINT (-38.521588 -3.563856)'))) / (select extract(epoch from '2026-07-18 17:00:56'::timestamp) - extract(epoch from '2026-07-18 17:00: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.521616 -3.56396)', '2026-07-18 17:01:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521588 -3.563856)'), GeomFromEWKT('SRID=4674;POINT (-38.521616 -3.56396)'))) / (select extract(epoch from '2026-07-18 17:01:02'::timestamp) - extract(epoch from '2026-07-18 17:00:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521588 -3.563856)'), GeomFromEWKT('SRID=4674;POINT (-38.521616 -3.56396)'))) / (select extract(epoch from '2026-07-18 17:01:02'::timestamp) - extract(epoch from '2026-07-18 17: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.521649 -3.564054)', '2026-07-18 17:01:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521616 -3.56396)'), GeomFromEWKT('SRID=4674;POINT (-38.521649 -3.564054)'))) / (select extract(epoch from '2026-07-18 17:01:07'::timestamp) - extract(epoch from '2026-07-18 17:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521616 -3.56396)'), GeomFromEWKT('SRID=4674;POINT (-38.521649 -3.564054)'))) / (select extract(epoch from '2026-07-18 17:01:07'::timestamp) - extract(epoch from '2026-07-18 17:01: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.521691 -3.564175)', '2026-07-18 17:01:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521649 -3.564054)'), GeomFromEWKT('SRID=4674;POINT (-38.521691 -3.564175)'))) / (select extract(epoch from '2026-07-18 17:01:13'::timestamp) - extract(epoch from '2026-07-18 17:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521649 -3.564054)'), GeomFromEWKT('SRID=4674;POINT (-38.521691 -3.564175)'))) / (select extract(epoch from '2026-07-18 17:01:13'::timestamp) - extract(epoch from '2026-07-18 17:01: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.521697 -3.564215)', '2026-07-18 17:01:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521691 -3.564175)'), GeomFromEWKT('SRID=4674;POINT (-38.521697 -3.564215)'))) / (select extract(epoch from '2026-07-18 17:01:15'::timestamp) - extract(epoch from '2026-07-18 17:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521691 -3.564175)'), GeomFromEWKT('SRID=4674;POINT (-38.521697 -3.564215)'))) / (select extract(epoch from '2026-07-18 17:01:15'::timestamp) - extract(epoch from '2026-07-18 17:01: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.521713 -3.564251)', '2026-07-18 17:01:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521697 -3.564215)'), GeomFromEWKT('SRID=4674;POINT (-38.521713 -3.564251)'))) / (select extract(epoch from '2026-07-18 17:01:17'::timestamp) - extract(epoch from '2026-07-18 17:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521697 -3.564215)'), GeomFromEWKT('SRID=4674;POINT (-38.521713 -3.564251)'))) / (select extract(epoch from '2026-07-18 17:01:17'::timestamp) - extract(epoch from '2026-07-18 17:01: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.521717 -3.56431)', '2026-07-18 17:01:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521713 -3.564251)'), GeomFromEWKT('SRID=4674;POINT (-38.521717 -3.56431)'))) / (select extract(epoch from '2026-07-18 17:01:20'::timestamp) - extract(epoch from '2026-07-18 17:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521713 -3.564251)'), GeomFromEWKT('SRID=4674;POINT (-38.521717 -3.56431)'))) / (select extract(epoch from '2026-07-18 17:01:20'::timestamp) - extract(epoch from '2026-07-18 17: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.521716 -3.564337)', '2026-07-18 17:01:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521717 -3.56431)'), GeomFromEWKT('SRID=4674;POINT (-38.521716 -3.564337)'))) / (select extract(epoch from '2026-07-18 17:01:22'::timestamp) - extract(epoch from '2026-07-18 17:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521717 -3.56431)'), GeomFromEWKT('SRID=4674;POINT (-38.521716 -3.564337)'))) / (select extract(epoch from '2026-07-18 17:01:22'::timestamp) - extract(epoch from '2026-07-18 17:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52174 -3.564414)', '2026-07-18 17:01:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521716 -3.564337)'), GeomFromEWKT('SRID=4674;POINT (-38.52174 -3.564414)'))) / (select extract(epoch from '2026-07-18 17:01:27'::timestamp) - extract(epoch from '2026-07-18 17:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521716 -3.564337)'), GeomFromEWKT('SRID=4674;POINT (-38.52174 -3.564414)'))) / (select extract(epoch from '2026-07-18 17:01:27'::timestamp) - extract(epoch from '2026-07-18 17:01: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.521778 -3.56451)', '2026-07-18 17:01:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52174 -3.564414)'), GeomFromEWKT('SRID=4674;POINT (-38.521778 -3.56451)'))) / (select extract(epoch from '2026-07-18 17:01:34'::timestamp) - extract(epoch from '2026-07-18 17:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52174 -3.564414)'), GeomFromEWKT('SRID=4674;POINT (-38.521778 -3.56451)'))) / (select extract(epoch from '2026-07-18 17:01:34'::timestamp) - extract(epoch from '2026-07-18 17:01: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.521821 -3.564587)', '2026-07-18 17:01:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521778 -3.56451)'), GeomFromEWKT('SRID=4674;POINT (-38.521821 -3.564587)'))) / (select extract(epoch from '2026-07-18 17:01:39'::timestamp) - extract(epoch from '2026-07-18 17:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521778 -3.56451)'), GeomFromEWKT('SRID=4674;POINT (-38.521821 -3.564587)'))) / (select extract(epoch from '2026-07-18 17:01:39'::timestamp) - extract(epoch from '2026-07-18 17:01: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.52185 -3.564691)', '2026-07-18 17:01:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521821 -3.564587)'), GeomFromEWKT('SRID=4674;POINT (-38.52185 -3.564691)'))) / (select extract(epoch from '2026-07-18 17:01:45'::timestamp) - extract(epoch from '2026-07-18 17:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521821 -3.564587)'), GeomFromEWKT('SRID=4674;POINT (-38.52185 -3.564691)'))) / (select extract(epoch from '2026-07-18 17:01:45'::timestamp) - extract(epoch from '2026-07-18 17:01: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.521878 -3.564802)', '2026-07-18 17:01:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52185 -3.564691)'), GeomFromEWKT('SRID=4674;POINT (-38.521878 -3.564802)'))) / (select extract(epoch from '2026-07-18 17:01:51'::timestamp) - extract(epoch from '2026-07-18 17:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52185 -3.564691)'), GeomFromEWKT('SRID=4674;POINT (-38.521878 -3.564802)'))) / (select extract(epoch from '2026-07-18 17:01:51'::timestamp) - extract(epoch from '2026-07-18 17: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.521903 -3.564893)', '2026-07-18 17:01:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521878 -3.564802)'), GeomFromEWKT('SRID=4674;POINT (-38.521903 -3.564893)'))) / (select extract(epoch from '2026-07-18 17:01:57'::timestamp) - extract(epoch from '2026-07-18 17:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521878 -3.564802)'), GeomFromEWKT('SRID=4674;POINT (-38.521903 -3.564893)'))) / (select extract(epoch from '2026-07-18 17:01:57'::timestamp) - extract(epoch from '2026-07-18 17: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.521927 -3.564965)', '2026-07-18 17:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521903 -3.564893)'), GeomFromEWKT('SRID=4674;POINT (-38.521927 -3.564965)'))) / (select extract(epoch from '2026-07-18 17:02:02'::timestamp) - extract(epoch from '2026-07-18 17:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521903 -3.564893)'), GeomFromEWKT('SRID=4674;POINT (-38.521927 -3.564965)'))) / (select extract(epoch from '2026-07-18 17:02:02'::timestamp) - extract(epoch from '2026-07-18 17:01: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.521936 -3.56498)', '2026-07-18 17:02:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521927 -3.564965)'), GeomFromEWKT('SRID=4674;POINT (-38.521936 -3.56498)'))) / (select extract(epoch from '2026-07-18 17:02:03'::timestamp) - extract(epoch from '2026-07-18 17:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521927 -3.564965)'), GeomFromEWKT('SRID=4674;POINT (-38.521936 -3.56498)'))) / (select extract(epoch from '2026-07-18 17:02:03'::timestamp) - extract(epoch from '2026-07-18 17: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.521977 -3.565064)', '2026-07-18 17:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521936 -3.56498)'), GeomFromEWKT('SRID=4674;POINT (-38.521977 -3.565064)'))) / (select extract(epoch from '2026-07-18 17:02:08'::timestamp) - extract(epoch from '2026-07-18 17:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521936 -3.56498)'), GeomFromEWKT('SRID=4674;POINT (-38.521977 -3.565064)'))) / (select extract(epoch from '2026-07-18 17:02:08'::timestamp) - extract(epoch from '2026-07-18 17:02: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.522017 -3.565172)', '2026-07-18 17:02:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521977 -3.565064)'), GeomFromEWKT('SRID=4674;POINT (-38.522017 -3.565172)'))) / (select extract(epoch from '2026-07-18 17:02:14'::timestamp) - extract(epoch from '2026-07-18 17:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521977 -3.565064)'), GeomFromEWKT('SRID=4674;POINT (-38.522017 -3.565172)'))) / (select extract(epoch from '2026-07-18 17:02:14'::timestamp) - extract(epoch from '2026-07-18 17: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.522022 -3.565183)', '2026-07-18 17:02:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522017 -3.565172)'), GeomFromEWKT('SRID=4674;POINT (-38.522022 -3.565183)'))) / (select extract(epoch from '2026-07-18 17:02:15'::timestamp) - extract(epoch from '2026-07-18 17:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522017 -3.565172)'), GeomFromEWKT('SRID=4674;POINT (-38.522022 -3.565183)'))) / (select extract(epoch from '2026-07-18 17:02:15'::timestamp) - extract(epoch from '2026-07-18 17: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.522028 -3.565231)', '2026-07-18 17:02:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522022 -3.565183)'), GeomFromEWKT('SRID=4674;POINT (-38.522028 -3.565231)'))) / (select extract(epoch from '2026-07-18 17:02:18'::timestamp) - extract(epoch from '2026-07-18 17:02:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522022 -3.565183)'), GeomFromEWKT('SRID=4674;POINT (-38.522028 -3.565231)'))) / (select extract(epoch from '2026-07-18 17:02:18'::timestamp) - extract(epoch from '2026-07-18 17:02: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.52205 -3.565286)', '2026-07-18 17:02:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522028 -3.565231)'), GeomFromEWKT('SRID=4674;POINT (-38.52205 -3.565286)'))) / (select extract(epoch from '2026-07-18 17:02:21'::timestamp) - extract(epoch from '2026-07-18 17:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522028 -3.565231)'), GeomFromEWKT('SRID=4674;POINT (-38.52205 -3.565286)'))) / (select extract(epoch from '2026-07-18 17:02:21'::timestamp) - extract(epoch from '2026-07-18 17:02: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.52205 -3.565325)', '2026-07-18 17:02:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52205 -3.565286)'), GeomFromEWKT('SRID=4674;POINT (-38.52205 -3.565325)'))) / (select extract(epoch from '2026-07-18 17:02:23'::timestamp) - extract(epoch from '2026-07-18 17:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52205 -3.565286)'), GeomFromEWKT('SRID=4674;POINT (-38.52205 -3.565325)'))) / (select extract(epoch from '2026-07-18 17:02:23'::timestamp) - extract(epoch from '2026-07-18 17:02: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.52208 -3.565439)', '2026-07-18 17:02:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52205 -3.565325)'), GeomFromEWKT('SRID=4674;POINT (-38.52208 -3.565439)'))) / (select extract(epoch from '2026-07-18 17:02:29'::timestamp) - extract(epoch from '2026-07-18 17:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52205 -3.565325)'), GeomFromEWKT('SRID=4674;POINT (-38.52208 -3.565439)'))) / (select extract(epoch from '2026-07-18 17:02:29'::timestamp) - extract(epoch from '2026-07-18 17:02: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.52212 -3.565553)', '2026-07-18 17:02:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52208 -3.565439)'), GeomFromEWKT('SRID=4674;POINT (-38.52212 -3.565553)'))) / (select extract(epoch from '2026-07-18 17:02:36'::timestamp) - extract(epoch from '2026-07-18 17:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52208 -3.565439)'), GeomFromEWKT('SRID=4674;POINT (-38.52212 -3.565553)'))) / (select extract(epoch from '2026-07-18 17:02:36'::timestamp) - extract(epoch from '2026-07-18 17: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.522163 -3.565674)', '2026-07-18 17:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52212 -3.565553)'), GeomFromEWKT('SRID=4674;POINT (-38.522163 -3.565674)'))) / (select extract(epoch from '2026-07-18 17:02:42'::timestamp) - extract(epoch from '2026-07-18 17:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52212 -3.565553)'), GeomFromEWKT('SRID=4674;POINT (-38.522163 -3.565674)'))) / (select extract(epoch from '2026-07-18 17:02:42'::timestamp) - extract(epoch from '2026-07-18 17:02: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.522187 -3.565794)', '2026-07-18 17:02:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522163 -3.565674)'), GeomFromEWKT('SRID=4674;POINT (-38.522187 -3.565794)'))) / (select extract(epoch from '2026-07-18 17:02:48'::timestamp) - extract(epoch from '2026-07-18 17:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522163 -3.565674)'), GeomFromEWKT('SRID=4674;POINT (-38.522187 -3.565794)'))) / (select extract(epoch from '2026-07-18 17:02:48'::timestamp) - extract(epoch from '2026-07-18 17:02: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.522195 -3.565875)', '2026-07-18 17:02:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522187 -3.565794)'), GeomFromEWKT('SRID=4674;POINT (-38.522195 -3.565875)'))) / (select extract(epoch from '2026-07-18 17:02:52'::timestamp) - extract(epoch from '2026-07-18 17:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522187 -3.565794)'), GeomFromEWKT('SRID=4674;POINT (-38.522195 -3.565875)'))) / (select extract(epoch from '2026-07-18 17:02:52'::timestamp) - extract(epoch from '2026-07-18 17:02: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.5222 -3.565892)', '2026-07-18 17:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522195 -3.565875)'), GeomFromEWKT('SRID=4674;POINT (-38.5222 -3.565892)'))) / (select extract(epoch from '2026-07-18 17:02:53'::timestamp) - extract(epoch from '2026-07-18 17:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522195 -3.565875)'), GeomFromEWKT('SRID=4674;POINT (-38.5222 -3.565892)'))) / (select extract(epoch from '2026-07-18 17:02:53'::timestamp) - extract(epoch from '2026-07-18 17:02:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522223 -3.566014)', '2026-07-18 17:02:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5222 -3.565892)'), GeomFromEWKT('SRID=4674;POINT (-38.522223 -3.566014)'))) / (select extract(epoch from '2026-07-18 17:02:59'::timestamp) - extract(epoch from '2026-07-18 17:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5222 -3.565892)'), GeomFromEWKT('SRID=4674;POINT (-38.522223 -3.566014)'))) / (select extract(epoch from '2026-07-18 17:02:59'::timestamp) - extract(epoch from '2026-07-18 17:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522223 -3.566081)', '2026-07-18 17:03:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522223 -3.566014)'), GeomFromEWKT('SRID=4674;POINT (-38.522223 -3.566081)'))) / (select extract(epoch from '2026-07-18 17:03:03'::timestamp) - extract(epoch from '2026-07-18 17:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522223 -3.566014)'), GeomFromEWKT('SRID=4674;POINT (-38.522223 -3.566081)'))) / (select extract(epoch from '2026-07-18 17:03:03'::timestamp) - extract(epoch from '2026-07-18 17:02: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.522236 -3.566118)', '2026-07-18 17:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522223 -3.566081)'), GeomFromEWKT('SRID=4674;POINT (-38.522236 -3.566118)'))) / (select extract(epoch from '2026-07-18 17:03:05'::timestamp) - extract(epoch from '2026-07-18 17:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522223 -3.566081)'), GeomFromEWKT('SRID=4674;POINT (-38.522236 -3.566118)'))) / (select extract(epoch from '2026-07-18 17:03:05'::timestamp) - extract(epoch from '2026-07-18 17:03:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522244 -3.566174)', '2026-07-18 17:03:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522236 -3.566118)'), GeomFromEWKT('SRID=4674;POINT (-38.522244 -3.566174)'))) / (select extract(epoch from '2026-07-18 17:03:08'::timestamp) - extract(epoch from '2026-07-18 17:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522236 -3.566118)'), GeomFromEWKT('SRID=4674;POINT (-38.522244 -3.566174)'))) / (select extract(epoch from '2026-07-18 17:03:08'::timestamp) - extract(epoch from '2026-07-18 17:03: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.522255 -3.566207)', '2026-07-18 17:03:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522244 -3.566174)'), GeomFromEWKT('SRID=4674;POINT (-38.522255 -3.566207)'))) / (select extract(epoch from '2026-07-18 17:03:10'::timestamp) - extract(epoch from '2026-07-18 17:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522244 -3.566174)'), GeomFromEWKT('SRID=4674;POINT (-38.522255 -3.566207)'))) / (select extract(epoch from '2026-07-18 17:03:10'::timestamp) - extract(epoch from '2026-07-18 17:03: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.522287 -3.566336)', '2026-07-18 17:03:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522255 -3.566207)'), GeomFromEWKT('SRID=4674;POINT (-38.522287 -3.566336)'))) / (select extract(epoch from '2026-07-18 17:03:18'::timestamp) - extract(epoch from '2026-07-18 17:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522255 -3.566207)'), GeomFromEWKT('SRID=4674;POINT (-38.522287 -3.566336)'))) / (select extract(epoch from '2026-07-18 17:03:18'::timestamp) - extract(epoch from '2026-07-18 17:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522309 -3.56639)', '2026-07-18 17:03:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522287 -3.566336)'), GeomFromEWKT('SRID=4674;POINT (-38.522309 -3.56639)'))) / (select extract(epoch from '2026-07-18 17:03:22'::timestamp) - extract(epoch from '2026-07-18 17:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522287 -3.566336)'), GeomFromEWKT('SRID=4674;POINT (-38.522309 -3.56639)'))) / (select extract(epoch from '2026-07-18 17:03:22'::timestamp) - extract(epoch from '2026-07-18 17: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.522339 -3.566494)', '2026-07-18 17:03:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522309 -3.56639)'), GeomFromEWKT('SRID=4674;POINT (-38.522339 -3.566494)'))) / (select extract(epoch from '2026-07-18 17:03:28'::timestamp) - extract(epoch from '2026-07-18 17:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522309 -3.56639)'), GeomFromEWKT('SRID=4674;POINT (-38.522339 -3.566494)'))) / (select extract(epoch from '2026-07-18 17:03:28'::timestamp) - extract(epoch from '2026-07-18 17:03: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.52235 -3.566534)', '2026-07-18 17:03:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522339 -3.566494)'), GeomFromEWKT('SRID=4674;POINT (-38.52235 -3.566534)'))) / (select extract(epoch from '2026-07-18 17:03:30'::timestamp) - extract(epoch from '2026-07-18 17:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522339 -3.566494)'), GeomFromEWKT('SRID=4674;POINT (-38.52235 -3.566534)'))) / (select extract(epoch from '2026-07-18 17:03:30'::timestamp) - extract(epoch from '2026-07-18 17: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.522374 -3.566571)', '2026-07-18 17:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52235 -3.566534)'), GeomFromEWKT('SRID=4674;POINT (-38.522374 -3.566571)'))) / (select extract(epoch from '2026-07-18 17:03:32'::timestamp) - extract(epoch from '2026-07-18 17:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52235 -3.566534)'), GeomFromEWKT('SRID=4674;POINT (-38.522374 -3.566571)'))) / (select extract(epoch from '2026-07-18 17:03:32'::timestamp) - extract(epoch from '2026-07-18 17:03: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.522394 -3.56667)', '2026-07-18 17:03:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522374 -3.566571)'), GeomFromEWKT('SRID=4674;POINT (-38.522394 -3.56667)'))) / (select extract(epoch from '2026-07-18 17:03:37'::timestamp) - extract(epoch from '2026-07-18 17:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522374 -3.566571)'), GeomFromEWKT('SRID=4674;POINT (-38.522394 -3.56667)'))) / (select extract(epoch from '2026-07-18 17:03:37'::timestamp) - extract(epoch from '2026-07-18 17:03: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.522413 -3.566756)', '2026-07-18 17:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522394 -3.56667)'), GeomFromEWKT('SRID=4674;POINT (-38.522413 -3.566756)'))) / (select extract(epoch from '2026-07-18 17:03:43'::timestamp) - extract(epoch from '2026-07-18 17:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522394 -3.56667)'), GeomFromEWKT('SRID=4674;POINT (-38.522413 -3.566756)'))) / (select extract(epoch from '2026-07-18 17:03:43'::timestamp) - extract(epoch from '2026-07-18 17:03: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.522443 -3.566863)', '2026-07-18 17:03:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522413 -3.566756)'), GeomFromEWKT('SRID=4674;POINT (-38.522443 -3.566863)'))) / (select extract(epoch from '2026-07-18 17:03:49'::timestamp) - extract(epoch from '2026-07-18 17:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522413 -3.566756)'), GeomFromEWKT('SRID=4674;POINT (-38.522443 -3.566863)'))) / (select extract(epoch from '2026-07-18 17:03:49'::timestamp) - extract(epoch from '2026-07-18 17:03: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.522452 -3.566877)', '2026-07-18 17:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522443 -3.566863)'), GeomFromEWKT('SRID=4674;POINT (-38.522452 -3.566877)'))) / (select extract(epoch from '2026-07-18 17:03:50'::timestamp) - extract(epoch from '2026-07-18 17:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522443 -3.566863)'), GeomFromEWKT('SRID=4674;POINT (-38.522452 -3.566877)'))) / (select extract(epoch from '2026-07-18 17:03:50'::timestamp) - extract(epoch from '2026-07-18 17:03: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.522471 -3.566908)', '2026-07-18 17:03:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522452 -3.566877)'), GeomFromEWKT('SRID=4674;POINT (-38.522471 -3.566908)'))) / (select extract(epoch from '2026-07-18 17:03:52'::timestamp) - extract(epoch from '2026-07-18 17:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522452 -3.566877)'), GeomFromEWKT('SRID=4674;POINT (-38.522471 -3.566908)'))) / (select extract(epoch from '2026-07-18 17:03:52'::timestamp) - extract(epoch from '2026-07-18 17:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522472 -3.566927)', '2026-07-18 17:03:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522471 -3.566908)'), GeomFromEWKT('SRID=4674;POINT (-38.522472 -3.566927)'))) / (select extract(epoch from '2026-07-18 17:03:53'::timestamp) - extract(epoch from '2026-07-18 17:03:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522471 -3.566908)'), GeomFromEWKT('SRID=4674;POINT (-38.522472 -3.566927)'))) / (select extract(epoch from '2026-07-18 17:03:53'::timestamp) - extract(epoch from '2026-07-18 17: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.522472 -3.56694)', '2026-07-18 17:03:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522472 -3.566927)'), GeomFromEWKT('SRID=4674;POINT (-38.522472 -3.56694)'))) / (select extract(epoch from '2026-07-18 17:03:54'::timestamp) - extract(epoch from '2026-07-18 17:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522472 -3.566927)'), GeomFromEWKT('SRID=4674;POINT (-38.522472 -3.56694)'))) / (select extract(epoch from '2026-07-18 17:03:54'::timestamp) - extract(epoch from '2026-07-18 17:03: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.522508 -3.56699)', '2026-07-18 17:03:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522472 -3.56694)'), GeomFromEWKT('SRID=4674;POINT (-38.522508 -3.56699)'))) / (select extract(epoch from '2026-07-18 17:03:57'::timestamp) - extract(epoch from '2026-07-18 17:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522472 -3.56694)'), GeomFromEWKT('SRID=4674;POINT (-38.522508 -3.56699)'))) / (select extract(epoch from '2026-07-18 17:03:57'::timestamp) - extract(epoch from '2026-07-18 17:03: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.522531 -3.567098)', '2026-07-18 17:04:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522508 -3.56699)'), GeomFromEWKT('SRID=4674;POINT (-38.522531 -3.567098)'))) / (select extract(epoch from '2026-07-18 17:04:03'::timestamp) - extract(epoch from '2026-07-18 17:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522508 -3.56699)'), GeomFromEWKT('SRID=4674;POINT (-38.522531 -3.567098)'))) / (select extract(epoch from '2026-07-18 17:04:03'::timestamp) - extract(epoch from '2026-07-18 17:03: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.522544 -3.567163)', '2026-07-18 17:04:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522531 -3.567098)'), GeomFromEWKT('SRID=4674;POINT (-38.522544 -3.567163)'))) / (select extract(epoch from '2026-07-18 17:04:07'::timestamp) - extract(epoch from '2026-07-18 17:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522531 -3.567098)'), GeomFromEWKT('SRID=4674;POINT (-38.522544 -3.567163)'))) / (select extract(epoch from '2026-07-18 17:04:07'::timestamp) - extract(epoch from '2026-07-18 17:04:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522556 -3.567179)', '2026-07-18 17:04:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522544 -3.567163)'), GeomFromEWKT('SRID=4674;POINT (-38.522556 -3.567179)'))) / (select extract(epoch from '2026-07-18 17:04:08'::timestamp) - extract(epoch from '2026-07-18 17:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522544 -3.567163)'), GeomFromEWKT('SRID=4674;POINT (-38.522556 -3.567179)'))) / (select extract(epoch from '2026-07-18 17:04:08'::timestamp) - extract(epoch from '2026-07-18 17:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522559 -3.567196)', '2026-07-18 17:04:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522556 -3.567179)'), GeomFromEWKT('SRID=4674;POINT (-38.522559 -3.567196)'))) / (select extract(epoch from '2026-07-18 17:04:09'::timestamp) - extract(epoch from '2026-07-18 17:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522556 -3.567179)'), GeomFromEWKT('SRID=4674;POINT (-38.522559 -3.567196)'))) / (select extract(epoch from '2026-07-18 17:04:09'::timestamp) - extract(epoch from '2026-07-18 17:04: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.522553 -3.567246)', '2026-07-18 17:04:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522559 -3.567196)'), GeomFromEWKT('SRID=4674;POINT (-38.522553 -3.567246)'))) / (select extract(epoch from '2026-07-18 17:04:12'::timestamp) - extract(epoch from '2026-07-18 17:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522559 -3.567196)'), GeomFromEWKT('SRID=4674;POINT (-38.522553 -3.567246)'))) / (select extract(epoch from '2026-07-18 17:04:12'::timestamp) - extract(epoch from '2026-07-18 17:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522568 -3.567353)', '2026-07-18 17:04:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522553 -3.567246)'), GeomFromEWKT('SRID=4674;POINT (-38.522568 -3.567353)'))) / (select extract(epoch from '2026-07-18 17:04:18'::timestamp) - extract(epoch from '2026-07-18 17:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522553 -3.567246)'), GeomFromEWKT('SRID=4674;POINT (-38.522568 -3.567353)'))) / (select extract(epoch from '2026-07-18 17:04:18'::timestamp) - extract(epoch from '2026-07-18 17:04: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.522591 -3.567411)', '2026-07-18 17:04:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522568 -3.567353)'), GeomFromEWKT('SRID=4674;POINT (-38.522591 -3.567411)'))) / (select extract(epoch from '2026-07-18 17:04:22'::timestamp) - extract(epoch from '2026-07-18 17:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522568 -3.567353)'), GeomFromEWKT('SRID=4674;POINT (-38.522591 -3.567411)'))) / (select extract(epoch from '2026-07-18 17:04:22'::timestamp) - extract(epoch from '2026-07-18 17: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.522593 -3.567426)', '2026-07-18 17:04:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522591 -3.567411)'), GeomFromEWKT('SRID=4674;POINT (-38.522593 -3.567426)'))) / (select extract(epoch from '2026-07-18 17:04:23'::timestamp) - extract(epoch from '2026-07-18 17:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522591 -3.567411)'), GeomFromEWKT('SRID=4674;POINT (-38.522593 -3.567426)'))) / (select extract(epoch from '2026-07-18 17:04:23'::timestamp) - extract(epoch from '2026-07-18 17:04: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.522622 -3.567531)', '2026-07-18 17:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522593 -3.567426)'), GeomFromEWKT('SRID=4674;POINT (-38.522622 -3.567531)'))) / (select extract(epoch from '2026-07-18 17:04:30'::timestamp) - extract(epoch from '2026-07-18 17:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522593 -3.567426)'), GeomFromEWKT('SRID=4674;POINT (-38.522622 -3.567531)'))) / (select extract(epoch from '2026-07-18 17:04:30'::timestamp) - extract(epoch from '2026-07-18 17:04:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522652 -3.56762)', '2026-07-18 17:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522622 -3.567531)'), GeomFromEWKT('SRID=4674;POINT (-38.522652 -3.56762)'))) / (select extract(epoch from '2026-07-18 17:04:35'::timestamp) - extract(epoch from '2026-07-18 17:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522622 -3.567531)'), GeomFromEWKT('SRID=4674;POINT (-38.522652 -3.56762)'))) / (select extract(epoch from '2026-07-18 17:04:35'::timestamp) - extract(epoch from '2026-07-18 17:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52265 -3.567635)', '2026-07-18 17:04:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522652 -3.56762)'), GeomFromEWKT('SRID=4674;POINT (-38.52265 -3.567635)'))) / (select extract(epoch from '2026-07-18 17:04:36'::timestamp) - extract(epoch from '2026-07-18 17:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522652 -3.56762)'), GeomFromEWKT('SRID=4674;POINT (-38.52265 -3.567635)'))) / (select extract(epoch from '2026-07-18 17:04:36'::timestamp) - extract(epoch from '2026-07-18 17:04:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522652 -3.567666)', '2026-07-18 17:04:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52265 -3.567635)'), GeomFromEWKT('SRID=4674;POINT (-38.522652 -3.567666)'))) / (select extract(epoch from '2026-07-18 17:04:38'::timestamp) - extract(epoch from '2026-07-18 17:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52265 -3.567635)'), GeomFromEWKT('SRID=4674;POINT (-38.522652 -3.567666)'))) / (select extract(epoch from '2026-07-18 17:04:38'::timestamp) - extract(epoch from '2026-07-18 17: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.522659 -3.56768)', '2026-07-18 17:04:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522652 -3.567666)'), GeomFromEWKT('SRID=4674;POINT (-38.522659 -3.56768)'))) / (select extract(epoch from '2026-07-18 17:04:39'::timestamp) - extract(epoch from '2026-07-18 17:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522652 -3.567666)'), GeomFromEWKT('SRID=4674;POINT (-38.522659 -3.56768)'))) / (select extract(epoch from '2026-07-18 17:04:39'::timestamp) - extract(epoch from '2026-07-18 17:04: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.522684 -3.567762)', '2026-07-18 17:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522659 -3.56768)'), GeomFromEWKT('SRID=4674;POINT (-38.522684 -3.567762)'))) / (select extract(epoch from '2026-07-18 17:04:44'::timestamp) - extract(epoch from '2026-07-18 17:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522659 -3.56768)'), GeomFromEWKT('SRID=4674;POINT (-38.522684 -3.567762)'))) / (select extract(epoch from '2026-07-18 17:04:44'::timestamp) - extract(epoch from '2026-07-18 17:04: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.522689 -3.567805)', '2026-07-18 17:04:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522684 -3.567762)'), GeomFromEWKT('SRID=4674;POINT (-38.522689 -3.567805)'))) / (select extract(epoch from '2026-07-18 17:04:47'::timestamp) - extract(epoch from '2026-07-18 17:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522684 -3.567762)'), GeomFromEWKT('SRID=4674;POINT (-38.522689 -3.567805)'))) / (select extract(epoch from '2026-07-18 17:04:47'::timestamp) - extract(epoch from '2026-07-18 17:04: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.522704 -3.567823)', '2026-07-18 17:04:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522689 -3.567805)'), GeomFromEWKT('SRID=4674;POINT (-38.522704 -3.567823)'))) / (select extract(epoch from '2026-07-18 17:04:48'::timestamp) - extract(epoch from '2026-07-18 17:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522689 -3.567805)'), GeomFromEWKT('SRID=4674;POINT (-38.522704 -3.567823)'))) / (select extract(epoch from '2026-07-18 17:04:48'::timestamp) - extract(epoch from '2026-07-18 17: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.522721 -3.567855)', '2026-07-18 17:04:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522704 -3.567823)'), GeomFromEWKT('SRID=4674;POINT (-38.522721 -3.567855)'))) / (select extract(epoch from '2026-07-18 17:04:50'::timestamp) - extract(epoch from '2026-07-18 17:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522704 -3.567823)'), GeomFromEWKT('SRID=4674;POINT (-38.522721 -3.567855)'))) / (select extract(epoch from '2026-07-18 17:04:50'::timestamp) - extract(epoch from '2026-07-18 17:04: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.522717 -3.567889)', '2026-07-18 17:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522721 -3.567855)'), GeomFromEWKT('SRID=4674;POINT (-38.522717 -3.567889)'))) / (select extract(epoch from '2026-07-18 17:04:52'::timestamp) - extract(epoch from '2026-07-18 17:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522721 -3.567855)'), GeomFromEWKT('SRID=4674;POINT (-38.522717 -3.567889)'))) / (select extract(epoch from '2026-07-18 17:04:52'::timestamp) - extract(epoch from '2026-07-18 17: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.522736 -3.567977)', '2026-07-18 17:04:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522717 -3.567889)'), GeomFromEWKT('SRID=4674;POINT (-38.522736 -3.567977)'))) / (select extract(epoch from '2026-07-18 17:04:57'::timestamp) - extract(epoch from '2026-07-18 17:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522717 -3.567889)'), GeomFromEWKT('SRID=4674;POINT (-38.522736 -3.567977)'))) / (select extract(epoch from '2026-07-18 17:04:57'::timestamp) - extract(epoch from '2026-07-18 17:04:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522739 -3.567994)', '2026-07-18 17:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522736 -3.567977)'), GeomFromEWKT('SRID=4674;POINT (-38.522739 -3.567994)'))) / (select extract(epoch from '2026-07-18 17:04:58'::timestamp) - extract(epoch from '2026-07-18 17:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522736 -3.567977)'), GeomFromEWKT('SRID=4674;POINT (-38.522739 -3.567994)'))) / (select extract(epoch from '2026-07-18 17:04:58'::timestamp) - extract(epoch from '2026-07-18 17:04: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.522752 -3.568055)', '2026-07-18 17:05:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522739 -3.567994)'), GeomFromEWKT('SRID=4674;POINT (-38.522752 -3.568055)'))) / (select extract(epoch from '2026-07-18 17:05:02'::timestamp) - extract(epoch from '2026-07-18 17:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522739 -3.567994)'), GeomFromEWKT('SRID=4674;POINT (-38.522752 -3.568055)'))) / (select extract(epoch from '2026-07-18 17:05:02'::timestamp) - extract(epoch from '2026-07-18 17:04: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.52278 -3.568192)', '2026-07-18 17:05:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522752 -3.568055)'), GeomFromEWKT('SRID=4674;POINT (-38.52278 -3.568192)'))) / (select extract(epoch from '2026-07-18 17:05:09'::timestamp) - extract(epoch from '2026-07-18 17:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522752 -3.568055)'), GeomFromEWKT('SRID=4674;POINT (-38.52278 -3.568192)'))) / (select extract(epoch from '2026-07-18 17:05:09'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522782 -3.568258)', '2026-07-18 17:05:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52278 -3.568192)'), GeomFromEWKT('SRID=4674;POINT (-38.522782 -3.568258)'))) / (select extract(epoch from '2026-07-18 17:05:13'::timestamp) - extract(epoch from '2026-07-18 17:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52278 -3.568192)'), GeomFromEWKT('SRID=4674;POINT (-38.522782 -3.568258)'))) / (select extract(epoch from '2026-07-18 17:05:13'::timestamp) - extract(epoch from '2026-07-18 17:05: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.52279 -3.568277)', '2026-07-18 17:05:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522782 -3.568258)'), GeomFromEWKT('SRID=4674;POINT (-38.52279 -3.568277)'))) / (select extract(epoch from '2026-07-18 17:05:14'::timestamp) - extract(epoch from '2026-07-18 17:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522782 -3.568258)'), GeomFromEWKT('SRID=4674;POINT (-38.52279 -3.568277)'))) / (select extract(epoch from '2026-07-18 17:05:14'::timestamp) - extract(epoch from '2026-07-18 17:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522807 -3.56833)', '2026-07-18 17:05:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52279 -3.568277)'), GeomFromEWKT('SRID=4674;POINT (-38.522807 -3.56833)'))) / (select extract(epoch from '2026-07-18 17:05:17'::timestamp) - extract(epoch from '2026-07-18 17:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52279 -3.568277)'), GeomFromEWKT('SRID=4674;POINT (-38.522807 -3.56833)'))) / (select extract(epoch from '2026-07-18 17:05:17'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522801 -3.568367)', '2026-07-18 17:05:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522807 -3.56833)'), GeomFromEWKT('SRID=4674;POINT (-38.522801 -3.568367)'))) / (select extract(epoch from '2026-07-18 17:05:19'::timestamp) - extract(epoch from '2026-07-18 17:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522807 -3.56833)'), GeomFromEWKT('SRID=4674;POINT (-38.522801 -3.568367)'))) / (select extract(epoch from '2026-07-18 17:05:19'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522804 -3.568385)', '2026-07-18 17:05:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522801 -3.568367)'), GeomFromEWKT('SRID=4674;POINT (-38.522804 -3.568385)'))) / (select extract(epoch from '2026-07-18 17:05:20'::timestamp) - extract(epoch from '2026-07-18 17:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522801 -3.568367)'), GeomFromEWKT('SRID=4674;POINT (-38.522804 -3.568385)'))) / (select extract(epoch from '2026-07-18 17:05:20'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522827 -3.568459)', '2026-07-18 17:05:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522804 -3.568385)'), GeomFromEWKT('SRID=4674;POINT (-38.522827 -3.568459)'))) / (select extract(epoch from '2026-07-18 17:05:24'::timestamp) - extract(epoch from '2026-07-18 17:05:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522804 -3.568385)'), GeomFromEWKT('SRID=4674;POINT (-38.522827 -3.568459)'))) / (select extract(epoch from '2026-07-18 17:05:24'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522823 -3.568498)', '2026-07-18 17:05:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522827 -3.568459)'), GeomFromEWKT('SRID=4674;POINT (-38.522823 -3.568498)'))) / (select extract(epoch from '2026-07-18 17:05:27'::timestamp) - extract(epoch from '2026-07-18 17:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522827 -3.568459)'), GeomFromEWKT('SRID=4674;POINT (-38.522823 -3.568498)'))) / (select extract(epoch from '2026-07-18 17:05:27'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522836 -3.568533)', '2026-07-18 17:05:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522823 -3.568498)'), GeomFromEWKT('SRID=4674;POINT (-38.522836 -3.568533)'))) / (select extract(epoch from '2026-07-18 17:05:29'::timestamp) - extract(epoch from '2026-07-18 17:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522823 -3.568498)'), GeomFromEWKT('SRID=4674;POINT (-38.522836 -3.568533)'))) / (select extract(epoch from '2026-07-18 17:05:29'::timestamp) - extract(epoch from '2026-07-18 17:05:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52284 -3.568626)', '2026-07-18 17:05:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522836 -3.568533)'), GeomFromEWKT('SRID=4674;POINT (-38.52284 -3.568626)'))) / (select extract(epoch from '2026-07-18 17:05:34'::timestamp) - extract(epoch from '2026-07-18 17:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522836 -3.568533)'), GeomFromEWKT('SRID=4674;POINT (-38.52284 -3.568626)'))) / (select extract(epoch from '2026-07-18 17:05:34'::timestamp) - extract(epoch from '2026-07-18 17:05: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.52285 -3.56867)', '2026-07-18 17:05:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52284 -3.568626)'), GeomFromEWKT('SRID=4674;POINT (-38.52285 -3.56867)'))) / (select extract(epoch from '2026-07-18 17:05:36'::timestamp) - extract(epoch from '2026-07-18 17:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52284 -3.568626)'), GeomFromEWKT('SRID=4674;POINT (-38.52285 -3.56867)'))) / (select extract(epoch from '2026-07-18 17:05:36'::timestamp) - extract(epoch from '2026-07-18 17: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.522866 -3.568706)', '2026-07-18 17:05:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52285 -3.56867)'), GeomFromEWKT('SRID=4674;POINT (-38.522866 -3.568706)'))) / (select extract(epoch from '2026-07-18 17:05:38'::timestamp) - extract(epoch from '2026-07-18 17:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52285 -3.56867)'), GeomFromEWKT('SRID=4674;POINT (-38.522866 -3.568706)'))) / (select extract(epoch from '2026-07-18 17:05:38'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522864 -3.568759)', '2026-07-18 17:05:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522866 -3.568706)'), GeomFromEWKT('SRID=4674;POINT (-38.522864 -3.568759)'))) / (select extract(epoch from '2026-07-18 17:05:41'::timestamp) - extract(epoch from '2026-07-18 17:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522866 -3.568706)'), GeomFromEWKT('SRID=4674;POINT (-38.522864 -3.568759)'))) / (select extract(epoch from '2026-07-18 17:05:41'::timestamp) - extract(epoch from '2026-07-18 17: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.522872 -3.568777)', '2026-07-18 17:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522864 -3.568759)'), GeomFromEWKT('SRID=4674;POINT (-38.522872 -3.568777)'))) / (select extract(epoch from '2026-07-18 17:05:42'::timestamp) - extract(epoch from '2026-07-18 17:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522864 -3.568759)'), GeomFromEWKT('SRID=4674;POINT (-38.522872 -3.568777)'))) / (select extract(epoch from '2026-07-18 17:05:42'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522881 -3.568872)', '2026-07-18 17:05:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522872 -3.568777)'), GeomFromEWKT('SRID=4674;POINT (-38.522881 -3.568872)'))) / (select extract(epoch from '2026-07-18 17:05:47'::timestamp) - extract(epoch from '2026-07-18 17:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522872 -3.568777)'), GeomFromEWKT('SRID=4674;POINT (-38.522881 -3.568872)'))) / (select extract(epoch from '2026-07-18 17:05:47'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522888 -3.56891)', '2026-07-18 17:05:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522881 -3.568872)'), GeomFromEWKT('SRID=4674;POINT (-38.522888 -3.56891)'))) / (select extract(epoch from '2026-07-18 17:05:49'::timestamp) - extract(epoch from '2026-07-18 17:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522881 -3.568872)'), GeomFromEWKT('SRID=4674;POINT (-38.522888 -3.56891)'))) / (select extract(epoch from '2026-07-18 17:05:49'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522903 -3.568959)', '2026-07-18 17:05:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522888 -3.56891)'), GeomFromEWKT('SRID=4674;POINT (-38.522903 -3.568959)'))) / (select extract(epoch from '2026-07-18 17:05:52'::timestamp) - extract(epoch from '2026-07-18 17:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522888 -3.56891)'), GeomFromEWKT('SRID=4674;POINT (-38.522903 -3.568959)'))) / (select extract(epoch from '2026-07-18 17:05:52'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522926 -3.569078)', '2026-07-18 17:05:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522903 -3.568959)'), GeomFromEWKT('SRID=4674;POINT (-38.522926 -3.569078)'))) / (select extract(epoch from '2026-07-18 17:05:58'::timestamp) - extract(epoch from '2026-07-18 17:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522903 -3.568959)'), GeomFromEWKT('SRID=4674;POINT (-38.522926 -3.569078)'))) / (select extract(epoch from '2026-07-18 17:05:58'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522922 -3.569139)', '2026-07-18 17:06:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522926 -3.569078)'), GeomFromEWKT('SRID=4674;POINT (-38.522922 -3.569139)'))) / (select extract(epoch from '2026-07-18 17:06:01'::timestamp) - extract(epoch from '2026-07-18 17:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522926 -3.569078)'), GeomFromEWKT('SRID=4674;POINT (-38.522922 -3.569139)'))) / (select extract(epoch from '2026-07-18 17:06:01'::timestamp) - extract(epoch from '2026-07-18 17:05: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.522931 -3.569161)', '2026-07-18 17:06:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522922 -3.569139)'), GeomFromEWKT('SRID=4674;POINT (-38.522931 -3.569161)'))) / (select extract(epoch from '2026-07-18 17:06:02'::timestamp) - extract(epoch from '2026-07-18 17:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522922 -3.569139)'), GeomFromEWKT('SRID=4674;POINT (-38.522931 -3.569161)'))) / (select extract(epoch from '2026-07-18 17:06:02'::timestamp) - extract(epoch from '2026-07-18 17:06: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.522935 -3.569242)', '2026-07-18 17:06:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522931 -3.569161)'), GeomFromEWKT('SRID=4674;POINT (-38.522935 -3.569242)'))) / (select extract(epoch from '2026-07-18 17:06:06'::timestamp) - extract(epoch from '2026-07-18 17:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522931 -3.569161)'), GeomFromEWKT('SRID=4674;POINT (-38.522935 -3.569242)'))) / (select extract(epoch from '2026-07-18 17:06:06'::timestamp) - extract(epoch from '2026-07-18 17: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.522952 -3.569369)', '2026-07-18 17:06:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522935 -3.569242)'), GeomFromEWKT('SRID=4674;POINT (-38.522952 -3.569369)'))) / (select extract(epoch from '2026-07-18 17:06:13'::timestamp) - extract(epoch from '2026-07-18 17:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522935 -3.569242)'), GeomFromEWKT('SRID=4674;POINT (-38.522952 -3.569369)'))) / (select extract(epoch from '2026-07-18 17:06:13'::timestamp) - extract(epoch from '2026-07-18 17:06: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.522963 -3.569451)', '2026-07-18 17:06:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522952 -3.569369)'), GeomFromEWKT('SRID=4674;POINT (-38.522963 -3.569451)'))) / (select extract(epoch from '2026-07-18 17:06:18'::timestamp) - extract(epoch from '2026-07-18 17:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522952 -3.569369)'), GeomFromEWKT('SRID=4674;POINT (-38.522963 -3.569451)'))) / (select extract(epoch from '2026-07-18 17:06:18'::timestamp) - extract(epoch from '2026-07-18 17:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.522968 -3.569512)', '2026-07-18 17:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522963 -3.569451)'), GeomFromEWKT('SRID=4674;POINT (-38.522968 -3.569512)'))) / (select extract(epoch from '2026-07-18 17:06:21'::timestamp) - extract(epoch from '2026-07-18 17:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522963 -3.569451)'), GeomFromEWKT('SRID=4674;POINT (-38.522968 -3.569512)'))) / (select extract(epoch from '2026-07-18 17:06:21'::timestamp) - extract(epoch from '2026-07-18 17:06: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.522966 -3.569546)', '2026-07-18 17:06:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522968 -3.569512)'), GeomFromEWKT('SRID=4674;POINT (-38.522966 -3.569546)'))) / (select extract(epoch from '2026-07-18 17:06:23'::timestamp) - extract(epoch from '2026-07-18 17:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522968 -3.569512)'), GeomFromEWKT('SRID=4674;POINT (-38.522966 -3.569546)'))) / (select extract(epoch from '2026-07-18 17:06:23'::timestamp) - extract(epoch from '2026-07-18 17: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.522981 -3.569634)', '2026-07-18 17:06:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522966 -3.569546)'), GeomFromEWKT('SRID=4674;POINT (-38.522981 -3.569634)'))) / (select extract(epoch from '2026-07-18 17:06:28'::timestamp) - extract(epoch from '2026-07-18 17:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522966 -3.569546)'), GeomFromEWKT('SRID=4674;POINT (-38.522981 -3.569634)'))) / (select extract(epoch from '2026-07-18 17:06:28'::timestamp) - extract(epoch from '2026-07-18 17:06: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.523007 -3.569732)', '2026-07-18 17:06:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522981 -3.569634)'), GeomFromEWKT('SRID=4674;POINT (-38.523007 -3.569732)'))) / (select extract(epoch from '2026-07-18 17:06:34'::timestamp) - extract(epoch from '2026-07-18 17:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522981 -3.569634)'), GeomFromEWKT('SRID=4674;POINT (-38.523007 -3.569732)'))) / (select extract(epoch from '2026-07-18 17:06:34'::timestamp) - extract(epoch from '2026-07-18 17: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.523021 -3.569766)', '2026-07-18 17:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523007 -3.569732)'), GeomFromEWKT('SRID=4674;POINT (-38.523021 -3.569766)'))) / (select extract(epoch from '2026-07-18 17:06:36'::timestamp) - extract(epoch from '2026-07-18 17:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523007 -3.569732)'), GeomFromEWKT('SRID=4674;POINT (-38.523021 -3.569766)'))) / (select extract(epoch from '2026-07-18 17:06:36'::timestamp) - extract(epoch from '2026-07-18 17: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.523036 -3.569824)', '2026-07-18 17:06:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523021 -3.569766)'), GeomFromEWKT('SRID=4674;POINT (-38.523036 -3.569824)'))) / (select extract(epoch from '2026-07-18 17:06:39'::timestamp) - extract(epoch from '2026-07-18 17:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523021 -3.569766)'), GeomFromEWKT('SRID=4674;POINT (-38.523036 -3.569824)'))) / (select extract(epoch from '2026-07-18 17:06:39'::timestamp) - extract(epoch from '2026-07-18 17: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.523048 -3.569911)', '2026-07-18 17:06:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523036 -3.569824)'), GeomFromEWKT('SRID=4674;POINT (-38.523048 -3.569911)'))) / (select extract(epoch from '2026-07-18 17:06:44'::timestamp) - extract(epoch from '2026-07-18 17:06:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523036 -3.569824)'), GeomFromEWKT('SRID=4674;POINT (-38.523048 -3.569911)'))) / (select extract(epoch from '2026-07-18 17:06:44'::timestamp) - extract(epoch from '2026-07-18 17:06: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.523071 -3.570008)', '2026-07-18 17:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523048 -3.569911)'), GeomFromEWKT('SRID=4674;POINT (-38.523071 -3.570008)'))) / (select extract(epoch from '2026-07-18 17:06:49'::timestamp) - extract(epoch from '2026-07-18 17:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523048 -3.569911)'), GeomFromEWKT('SRID=4674;POINT (-38.523071 -3.570008)'))) / (select extract(epoch from '2026-07-18 17:06:49'::timestamp) - extract(epoch from '2026-07-18 17:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52307 -3.570058)', '2026-07-18 17:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523071 -3.570008)'), GeomFromEWKT('SRID=4674;POINT (-38.52307 -3.570058)'))) / (select extract(epoch from '2026-07-18 17:06:52'::timestamp) - extract(epoch from '2026-07-18 17:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523071 -3.570008)'), GeomFromEWKT('SRID=4674;POINT (-38.52307 -3.570058)'))) / (select extract(epoch from '2026-07-18 17:06:52'::timestamp) - extract(epoch from '2026-07-18 17:06: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.523086 -3.570092)', '2026-07-18 17:06:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52307 -3.570058)'), GeomFromEWKT('SRID=4674;POINT (-38.523086 -3.570092)'))) / (select extract(epoch from '2026-07-18 17:06:54'::timestamp) - extract(epoch from '2026-07-18 17:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52307 -3.570058)'), GeomFromEWKT('SRID=4674;POINT (-38.523086 -3.570092)'))) / (select extract(epoch from '2026-07-18 17:06:54'::timestamp) - extract(epoch from '2026-07-18 17:06: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.5231 -3.570193)', '2026-07-18 17:07:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523086 -3.570092)'), GeomFromEWKT('SRID=4674;POINT (-38.5231 -3.570193)'))) / (select extract(epoch from '2026-07-18 17:07:00'::timestamp) - extract(epoch from '2026-07-18 17:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523086 -3.570092)'), GeomFromEWKT('SRID=4674;POINT (-38.5231 -3.570193)'))) / (select extract(epoch from '2026-07-18 17:07:00'::timestamp) - extract(epoch from '2026-07-18 17: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.523118 -3.57028)', '2026-07-18 17:07:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5231 -3.570193)'), GeomFromEWKT('SRID=4674;POINT (-38.523118 -3.57028)'))) / (select extract(epoch from '2026-07-18 17:07:05'::timestamp) - extract(epoch from '2026-07-18 17:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5231 -3.570193)'), GeomFromEWKT('SRID=4674;POINT (-38.523118 -3.57028)'))) / (select extract(epoch from '2026-07-18 17:07:05'::timestamp) - extract(epoch from '2026-07-18 17: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.523145 -3.570374)', '2026-07-18 17:07:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523118 -3.57028)'), GeomFromEWKT('SRID=4674;POINT (-38.523145 -3.570374)'))) / (select extract(epoch from '2026-07-18 17:07:10'::timestamp) - extract(epoch from '2026-07-18 17:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523118 -3.57028)'), GeomFromEWKT('SRID=4674;POINT (-38.523145 -3.570374)'))) / (select extract(epoch from '2026-07-18 17:07:10'::timestamp) - extract(epoch from '2026-07-18 17:07:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523159 -3.570438)', '2026-07-18 17:07:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523145 -3.570374)'), GeomFromEWKT('SRID=4674;POINT (-38.523159 -3.570438)'))) / (select extract(epoch from '2026-07-18 17:07:14'::timestamp) - extract(epoch from '2026-07-18 17:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523145 -3.570374)'), GeomFromEWKT('SRID=4674;POINT (-38.523159 -3.570438)'))) / (select extract(epoch from '2026-07-18 17:07:14'::timestamp) - extract(epoch from '2026-07-18 17:07: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.52317 -3.570461)', '2026-07-18 17:07:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523159 -3.570438)'), GeomFromEWKT('SRID=4674;POINT (-38.52317 -3.570461)'))) / (select extract(epoch from '2026-07-18 17:07:16'::timestamp) - extract(epoch from '2026-07-18 17:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523159 -3.570438)'), GeomFromEWKT('SRID=4674;POINT (-38.52317 -3.570461)'))) / (select extract(epoch from '2026-07-18 17:07:16'::timestamp) - extract(epoch from '2026-07-18 17:07: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.523183 -3.570523)', '2026-07-18 17:07:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52317 -3.570461)'), GeomFromEWKT('SRID=4674;POINT (-38.523183 -3.570523)'))) / (select extract(epoch from '2026-07-18 17:07:21'::timestamp) - extract(epoch from '2026-07-18 17:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52317 -3.570461)'), GeomFromEWKT('SRID=4674;POINT (-38.523183 -3.570523)'))) / (select extract(epoch from '2026-07-18 17:07:21'::timestamp) - extract(epoch from '2026-07-18 17: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.523201 -3.570586)', '2026-07-18 17:07:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523183 -3.570523)'), GeomFromEWKT('SRID=4674;POINT (-38.523201 -3.570586)'))) / (select extract(epoch from '2026-07-18 17:07:26'::timestamp) - extract(epoch from '2026-07-18 17:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523183 -3.570523)'), GeomFromEWKT('SRID=4674;POINT (-38.523201 -3.570586)'))) / (select extract(epoch from '2026-07-18 17:07:26'::timestamp) - extract(epoch from '2026-07-18 17:07: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.523229 -3.570686)', '2026-07-18 17:07:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523201 -3.570586)'), GeomFromEWKT('SRID=4674;POINT (-38.523229 -3.570686)'))) / (select extract(epoch from '2026-07-18 17:07:32'::timestamp) - extract(epoch from '2026-07-18 17:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523201 -3.570586)'), GeomFromEWKT('SRID=4674;POINT (-38.523229 -3.570686)'))) / (select extract(epoch from '2026-07-18 17:07:32'::timestamp) - extract(epoch from '2026-07-18 17:07: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.523247 -3.570776)', '2026-07-18 17:07:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523229 -3.570686)'), GeomFromEWKT('SRID=4674;POINT (-38.523247 -3.570776)'))) / (select extract(epoch from '2026-07-18 17:07:37'::timestamp) - extract(epoch from '2026-07-18 17:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523229 -3.570686)'), GeomFromEWKT('SRID=4674;POINT (-38.523247 -3.570776)'))) / (select extract(epoch from '2026-07-18 17:07:37'::timestamp) - extract(epoch from '2026-07-18 17: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.523261 -3.570869)', '2026-07-18 17:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523247 -3.570776)'), GeomFromEWKT('SRID=4674;POINT (-38.523261 -3.570869)'))) / (select extract(epoch from '2026-07-18 17:07:42'::timestamp) - extract(epoch from '2026-07-18 17:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523247 -3.570776)'), GeomFromEWKT('SRID=4674;POINT (-38.523261 -3.570869)'))) / (select extract(epoch from '2026-07-18 17:07:42'::timestamp) - extract(epoch from '2026-07-18 17: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.523279 -3.570942)', '2026-07-18 17:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523261 -3.570869)'), GeomFromEWKT('SRID=4674;POINT (-38.523279 -3.570942)'))) / (select extract(epoch from '2026-07-18 17:07:47'::timestamp) - extract(epoch from '2026-07-18 17:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523261 -3.570869)'), GeomFromEWKT('SRID=4674;POINT (-38.523279 -3.570942)'))) / (select extract(epoch from '2026-07-18 17:07:47'::timestamp) - extract(epoch from '2026-07-18 17: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.523278 -3.570956)', '2026-07-18 17:07:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523279 -3.570942)'), GeomFromEWKT('SRID=4674;POINT (-38.523278 -3.570956)'))) / (select extract(epoch from '2026-07-18 17:07:48'::timestamp) - extract(epoch from '2026-07-18 17:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523279 -3.570942)'), GeomFromEWKT('SRID=4674;POINT (-38.523278 -3.570956)'))) / (select extract(epoch from '2026-07-18 17:07:48'::timestamp) - extract(epoch from '2026-07-18 17:07: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.52328 -3.570973)', '2026-07-18 17:07:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523278 -3.570956)'), GeomFromEWKT('SRID=4674;POINT (-38.52328 -3.570973)'))) / (select extract(epoch from '2026-07-18 17:07:49'::timestamp) - extract(epoch from '2026-07-18 17:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523278 -3.570956)'), GeomFromEWKT('SRID=4674;POINT (-38.52328 -3.570973)'))) / (select extract(epoch from '2026-07-18 17:07:49'::timestamp) - extract(epoch from '2026-07-18 17:07: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.523309 -3.571015)', '2026-07-18 17:07:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52328 -3.570973)'), GeomFromEWKT('SRID=4674;POINT (-38.523309 -3.571015)'))) / (select extract(epoch from '2026-07-18 17:07:52'::timestamp) - extract(epoch from '2026-07-18 17:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52328 -3.570973)'), GeomFromEWKT('SRID=4674;POINT (-38.523309 -3.571015)'))) / (select extract(epoch from '2026-07-18 17:07:52'::timestamp) - extract(epoch from '2026-07-18 17:07:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523309 -3.571042)', '2026-07-18 17:07:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523309 -3.571015)'), GeomFromEWKT('SRID=4674;POINT (-38.523309 -3.571042)'))) / (select extract(epoch from '2026-07-18 17:07:54'::timestamp) - extract(epoch from '2026-07-18 17:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523309 -3.571015)'), GeomFromEWKT('SRID=4674;POINT (-38.523309 -3.571042)'))) / (select extract(epoch from '2026-07-18 17:07:54'::timestamp) - extract(epoch from '2026-07-18 17:07: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.523325 -3.57106)', '2026-07-18 17:07:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523309 -3.571042)'), GeomFromEWKT('SRID=4674;POINT (-38.523325 -3.57106)'))) / (select extract(epoch from '2026-07-18 17:07:56'::timestamp) - extract(epoch from '2026-07-18 17:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523309 -3.571042)'), GeomFromEWKT('SRID=4674;POINT (-38.523325 -3.57106)'))) / (select extract(epoch from '2026-07-18 17:07:56'::timestamp) - extract(epoch from '2026-07-18 17:07: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.523339 -3.571084)', '2026-07-18 17:07:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523325 -3.57106)'), GeomFromEWKT('SRID=4674;POINT (-38.523339 -3.571084)'))) / (select extract(epoch from '2026-07-18 17:07:58'::timestamp) - extract(epoch from '2026-07-18 17:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523325 -3.57106)'), GeomFromEWKT('SRID=4674;POINT (-38.523339 -3.571084)'))) / (select extract(epoch from '2026-07-18 17:07:58'::timestamp) - extract(epoch from '2026-07-18 17: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.523349 -3.571105)', '2026-07-18 17:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523339 -3.571084)'), GeomFromEWKT('SRID=4674;POINT (-38.523349 -3.571105)'))) / (select extract(epoch from '2026-07-18 17:08:01'::timestamp) - extract(epoch from '2026-07-18 17:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523339 -3.571084)'), GeomFromEWKT('SRID=4674;POINT (-38.523349 -3.571105)'))) / (select extract(epoch from '2026-07-18 17:08:01'::timestamp) - extract(epoch from '2026-07-18 17:07: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.523384 -3.571175)', '2026-07-18 17:08:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523349 -3.571105)'), GeomFromEWKT('SRID=4674;POINT (-38.523384 -3.571175)'))) / (select extract(epoch from '2026-07-18 17:08:06'::timestamp) - extract(epoch from '2026-07-18 17:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523349 -3.571105)'), GeomFromEWKT('SRID=4674;POINT (-38.523384 -3.571175)'))) / (select extract(epoch from '2026-07-18 17:08:06'::timestamp) - extract(epoch from '2026-07-18 17:08: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.523421 -3.571262)', '2026-07-18 17:08:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523384 -3.571175)'), GeomFromEWKT('SRID=4674;POINT (-38.523421 -3.571262)'))) / (select extract(epoch from '2026-07-18 17:08:11'::timestamp) - extract(epoch from '2026-07-18 17:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523384 -3.571175)'), GeomFromEWKT('SRID=4674;POINT (-38.523421 -3.571262)'))) / (select extract(epoch from '2026-07-18 17:08:11'::timestamp) - extract(epoch from '2026-07-18 17:08: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.523444 -3.571347)', '2026-07-18 17:08:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523421 -3.571262)'), GeomFromEWKT('SRID=4674;POINT (-38.523444 -3.571347)'))) / (select extract(epoch from '2026-07-18 17:08:16'::timestamp) - extract(epoch from '2026-07-18 17:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523421 -3.571262)'), GeomFromEWKT('SRID=4674;POINT (-38.523444 -3.571347)'))) / (select extract(epoch from '2026-07-18 17:08:16'::timestamp) - extract(epoch from '2026-07-18 17:08: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.523459 -3.571394)', '2026-07-18 17:08:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523444 -3.571347)'), GeomFromEWKT('SRID=4674;POINT (-38.523459 -3.571394)'))) / (select extract(epoch from '2026-07-18 17:08:19'::timestamp) - extract(epoch from '2026-07-18 17:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523444 -3.571347)'), GeomFromEWKT('SRID=4674;POINT (-38.523459 -3.571394)'))) / (select extract(epoch from '2026-07-18 17:08:19'::timestamp) - extract(epoch from '2026-07-18 17:08: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.523481 -3.571431)', '2026-07-18 17:08:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523459 -3.571394)'), GeomFromEWKT('SRID=4674;POINT (-38.523481 -3.571431)'))) / (select extract(epoch from '2026-07-18 17:08:22'::timestamp) - extract(epoch from '2026-07-18 17:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523459 -3.571394)'), GeomFromEWKT('SRID=4674;POINT (-38.523481 -3.571431)'))) / (select extract(epoch from '2026-07-18 17:08:22'::timestamp) - extract(epoch from '2026-07-18 17: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.523487 -3.571457)', '2026-07-18 17:08:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523481 -3.571431)'), GeomFromEWKT('SRID=4674;POINT (-38.523487 -3.571457)'))) / (select extract(epoch from '2026-07-18 17:08:24'::timestamp) - extract(epoch from '2026-07-18 17:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523481 -3.571431)'), GeomFromEWKT('SRID=4674;POINT (-38.523487 -3.571457)'))) / (select extract(epoch from '2026-07-18 17:08:24'::timestamp) - extract(epoch from '2026-07-18 17:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523502 -3.571503)', '2026-07-18 17:08:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523487 -3.571457)'), GeomFromEWKT('SRID=4674;POINT (-38.523502 -3.571503)'))) / (select extract(epoch from '2026-07-18 17:08:27'::timestamp) - extract(epoch from '2026-07-18 17:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523487 -3.571457)'), GeomFromEWKT('SRID=4674;POINT (-38.523502 -3.571503)'))) / (select extract(epoch from '2026-07-18 17:08:27'::timestamp) - extract(epoch from '2026-07-18 17:08: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.523527 -3.571624)', '2026-07-18 17:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523502 -3.571503)'), GeomFromEWKT('SRID=4674;POINT (-38.523527 -3.571624)'))) / (select extract(epoch from '2026-07-18 17:08:34'::timestamp) - extract(epoch from '2026-07-18 17:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523502 -3.571503)'), GeomFromEWKT('SRID=4674;POINT (-38.523527 -3.571624)'))) / (select extract(epoch from '2026-07-18 17:08:34'::timestamp) - extract(epoch from '2026-07-18 17:08: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.523551 -3.571683)', '2026-07-18 17:08:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523527 -3.571624)'), GeomFromEWKT('SRID=4674;POINT (-38.523551 -3.571683)'))) / (select extract(epoch from '2026-07-18 17:08:37'::timestamp) - extract(epoch from '2026-07-18 17:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523527 -3.571624)'), GeomFromEWKT('SRID=4674;POINT (-38.523551 -3.571683)'))) / (select extract(epoch from '2026-07-18 17:08:37'::timestamp) - extract(epoch from '2026-07-18 17:08: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.523555 -3.571704)', '2026-07-18 17:08:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523551 -3.571683)'), GeomFromEWKT('SRID=4674;POINT (-38.523555 -3.571704)'))) / (select extract(epoch from '2026-07-18 17:08:38'::timestamp) - extract(epoch from '2026-07-18 17:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523551 -3.571683)'), GeomFromEWKT('SRID=4674;POINT (-38.523555 -3.571704)'))) / (select extract(epoch from '2026-07-18 17:08:38'::timestamp) - extract(epoch from '2026-07-18 17: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.52358 -3.571813)', '2026-07-18 17:08:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523555 -3.571704)'), GeomFromEWKT('SRID=4674;POINT (-38.52358 -3.571813)'))) / (select extract(epoch from '2026-07-18 17:08:44'::timestamp) - extract(epoch from '2026-07-18 17:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523555 -3.571704)'), GeomFromEWKT('SRID=4674;POINT (-38.52358 -3.571813)'))) / (select extract(epoch from '2026-07-18 17:08:44'::timestamp) - extract(epoch from '2026-07-18 17:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523587 -3.571939)', '2026-07-18 17:08:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52358 -3.571813)'), GeomFromEWKT('SRID=4674;POINT (-38.523587 -3.571939)'))) / (select extract(epoch from '2026-07-18 17:08:52'::timestamp) - extract(epoch from '2026-07-18 17:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52358 -3.571813)'), GeomFromEWKT('SRID=4674;POINT (-38.523587 -3.571939)'))) / (select extract(epoch from '2026-07-18 17:08:52'::timestamp) - extract(epoch from '2026-07-18 17:08: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.523584 -3.571955)', '2026-07-18 17:08:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523587 -3.571939)'), GeomFromEWKT('SRID=4674;POINT (-38.523584 -3.571955)'))) / (select extract(epoch from '2026-07-18 17:08:53'::timestamp) - extract(epoch from '2026-07-18 17:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523587 -3.571939)'), GeomFromEWKT('SRID=4674;POINT (-38.523584 -3.571955)'))) / (select extract(epoch from '2026-07-18 17:08:53'::timestamp) - extract(epoch from '2026-07-18 17:08: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.523586 -3.571971)', '2026-07-18 17:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523584 -3.571955)'), GeomFromEWKT('SRID=4674;POINT (-38.523586 -3.571971)'))) / (select extract(epoch from '2026-07-18 17:08:54'::timestamp) - extract(epoch from '2026-07-18 17:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523584 -3.571955)'), GeomFromEWKT('SRID=4674;POINT (-38.523586 -3.571971)'))) / (select extract(epoch from '2026-07-18 17:08:54'::timestamp) - extract(epoch from '2026-07-18 17:08: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.523607 -3.572045)', '2026-07-18 17:08:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523586 -3.571971)'), GeomFromEWKT('SRID=4674;POINT (-38.523607 -3.572045)'))) / (select extract(epoch from '2026-07-18 17:08:58'::timestamp) - extract(epoch from '2026-07-18 17:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523586 -3.571971)'), GeomFromEWKT('SRID=4674;POINT (-38.523607 -3.572045)'))) / (select extract(epoch from '2026-07-18 17:08:58'::timestamp) - extract(epoch from '2026-07-18 17:08: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.523625 -3.572131)', '2026-07-18 17:09:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523607 -3.572045)'), GeomFromEWKT('SRID=4674;POINT (-38.523625 -3.572131)'))) / (select extract(epoch from '2026-07-18 17:09:03'::timestamp) - extract(epoch from '2026-07-18 17:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523607 -3.572045)'), GeomFromEWKT('SRID=4674;POINT (-38.523625 -3.572131)'))) / (select extract(epoch from '2026-07-18 17:09:03'::timestamp) - extract(epoch from '2026-07-18 17:08: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.52365 -3.572244)', '2026-07-18 17:09:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523625 -3.572131)'), GeomFromEWKT('SRID=4674;POINT (-38.52365 -3.572244)'))) / (select extract(epoch from '2026-07-18 17:09:09'::timestamp) - extract(epoch from '2026-07-18 17:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523625 -3.572131)'), GeomFromEWKT('SRID=4674;POINT (-38.52365 -3.572244)'))) / (select extract(epoch from '2026-07-18 17:09:09'::timestamp) - extract(epoch from '2026-07-18 17:09: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.523667 -3.572344)', '2026-07-18 17:09:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52365 -3.572244)'), GeomFromEWKT('SRID=4674;POINT (-38.523667 -3.572344)'))) / (select extract(epoch from '2026-07-18 17:09:14'::timestamp) - extract(epoch from '2026-07-18 17:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52365 -3.572244)'), GeomFromEWKT('SRID=4674;POINT (-38.523667 -3.572344)'))) / (select extract(epoch from '2026-07-18 17:09:14'::timestamp) - extract(epoch from '2026-07-18 17:09: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.523679 -3.572381)', '2026-07-18 17:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523667 -3.572344)'), GeomFromEWKT('SRID=4674;POINT (-38.523679 -3.572381)'))) / (select extract(epoch from '2026-07-18 17:09:16'::timestamp) - extract(epoch from '2026-07-18 17:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523667 -3.572344)'), GeomFromEWKT('SRID=4674;POINT (-38.523679 -3.572381)'))) / (select extract(epoch from '2026-07-18 17:09:16'::timestamp) - extract(epoch from '2026-07-18 17: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.523684 -3.572438)', '2026-07-18 17:09:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523679 -3.572381)'), GeomFromEWKT('SRID=4674;POINT (-38.523684 -3.572438)'))) / (select extract(epoch from '2026-07-18 17:09:19'::timestamp) - extract(epoch from '2026-07-18 17:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523679 -3.572381)'), GeomFromEWKT('SRID=4674;POINT (-38.523684 -3.572438)'))) / (select extract(epoch from '2026-07-18 17:09:19'::timestamp) - extract(epoch from '2026-07-18 17: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.523709 -3.572575)', '2026-07-18 17:09:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523684 -3.572438)'), GeomFromEWKT('SRID=4674;POINT (-38.523709 -3.572575)'))) / (select extract(epoch from '2026-07-18 17:09:26'::timestamp) - extract(epoch from '2026-07-18 17:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523684 -3.572438)'), GeomFromEWKT('SRID=4674;POINT (-38.523709 -3.572575)'))) / (select extract(epoch from '2026-07-18 17:09:26'::timestamp) - extract(epoch from '2026-07-18 17: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.523729 -3.572685)', '2026-07-18 17:09:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523709 -3.572575)'), GeomFromEWKT('SRID=4674;POINT (-38.523729 -3.572685)'))) / (select extract(epoch from '2026-07-18 17:09:32'::timestamp) - extract(epoch from '2026-07-18 17:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523709 -3.572575)'), GeomFromEWKT('SRID=4674;POINT (-38.523729 -3.572685)'))) / (select extract(epoch from '2026-07-18 17:09:32'::timestamp) - extract(epoch from '2026-07-18 17:09: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.523743 -3.572779)', '2026-07-18 17:09:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523729 -3.572685)'), GeomFromEWKT('SRID=4674;POINT (-38.523743 -3.572779)'))) / (select extract(epoch from '2026-07-18 17:09:38'::timestamp) - extract(epoch from '2026-07-18 17:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523729 -3.572685)'), GeomFromEWKT('SRID=4674;POINT (-38.523743 -3.572779)'))) / (select extract(epoch from '2026-07-18 17:09:38'::timestamp) - extract(epoch from '2026-07-18 17: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.523758 -3.572894)', '2026-07-18 17:09:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523743 -3.572779)'), GeomFromEWKT('SRID=4674;POINT (-38.523758 -3.572894)'))) / (select extract(epoch from '2026-07-18 17:09:45'::timestamp) - extract(epoch from '2026-07-18 17:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523743 -3.572779)'), GeomFromEWKT('SRID=4674;POINT (-38.523758 -3.572894)'))) / (select extract(epoch from '2026-07-18 17:09:45'::timestamp) - extract(epoch from '2026-07-18 17:09: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.523771 -3.572978)', '2026-07-18 17:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523758 -3.572894)'), GeomFromEWKT('SRID=4674;POINT (-38.523771 -3.572978)'))) / (select extract(epoch from '2026-07-18 17:09:50'::timestamp) - extract(epoch from '2026-07-18 17:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523758 -3.572894)'), GeomFromEWKT('SRID=4674;POINT (-38.523771 -3.572978)'))) / (select extract(epoch from '2026-07-18 17:09:50'::timestamp) - extract(epoch from '2026-07-18 17:09: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.523781 -3.573103)', '2026-07-18 17:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523771 -3.572978)'), GeomFromEWKT('SRID=4674;POINT (-38.523781 -3.573103)'))) / (select extract(epoch from '2026-07-18 17:09:57'::timestamp) - extract(epoch from '2026-07-18 17:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523771 -3.572978)'), GeomFromEWKT('SRID=4674;POINT (-38.523781 -3.573103)'))) / (select extract(epoch from '2026-07-18 17:09:57'::timestamp) - extract(epoch from '2026-07-18 17:09: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.523787 -3.573145)', '2026-07-18 17:09:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523781 -3.573103)'), GeomFromEWKT('SRID=4674;POINT (-38.523787 -3.573145)'))) / (select extract(epoch from '2026-07-18 17:09:59'::timestamp) - extract(epoch from '2026-07-18 17:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523781 -3.573103)'), GeomFromEWKT('SRID=4674;POINT (-38.523787 -3.573145)'))) / (select extract(epoch from '2026-07-18 17:09:59'::timestamp) - extract(epoch from '2026-07-18 17: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.523803 -3.573182)', '2026-07-18 17:10:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523787 -3.573145)'), GeomFromEWKT('SRID=4674;POINT (-38.523803 -3.573182)'))) / (select extract(epoch from '2026-07-18 17:10:01'::timestamp) - extract(epoch from '2026-07-18 17:09:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523787 -3.573145)'), GeomFromEWKT('SRID=4674;POINT (-38.523803 -3.573182)'))) / (select extract(epoch from '2026-07-18 17:10:01'::timestamp) - extract(epoch from '2026-07-18 17: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.523799 -3.573263)', '2026-07-18 17:10:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523803 -3.573182)'), GeomFromEWKT('SRID=4674;POINT (-38.523799 -3.573263)'))) / (select extract(epoch from '2026-07-18 17:10:05'::timestamp) - extract(epoch from '2026-07-18 17:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523803 -3.573182)'), GeomFromEWKT('SRID=4674;POINT (-38.523799 -3.573263)'))) / (select extract(epoch from '2026-07-18 17:10:05'::timestamp) - extract(epoch from '2026-07-18 17:10: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.52381 -3.573299)', '2026-07-18 17:10:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523799 -3.573263)'), GeomFromEWKT('SRID=4674;POINT (-38.52381 -3.573299)'))) / (select extract(epoch from '2026-07-18 17:10:07'::timestamp) - extract(epoch from '2026-07-18 17:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523799 -3.573263)'), GeomFromEWKT('SRID=4674;POINT (-38.52381 -3.573299)'))) / (select extract(epoch from '2026-07-18 17:10:07'::timestamp) - extract(epoch from '2026-07-18 17:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.523829 -3.573414)', '2026-07-18 17:10:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52381 -3.573299)'), GeomFromEWKT('SRID=4674;POINT (-38.523829 -3.573414)'))) / (select extract(epoch from '2026-07-18 17:10:14'::timestamp) - extract(epoch from '2026-07-18 17:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52381 -3.573299)'), GeomFromEWKT('SRID=4674;POINT (-38.523829 -3.573414)'))) / (select extract(epoch from '2026-07-18 17:10:14'::timestamp) - extract(epoch from '2026-07-18 17:10: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.523855 -3.573519)', '2026-07-18 17:10:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523829 -3.573414)'), GeomFromEWKT('SRID=4674;POINT (-38.523855 -3.573519)'))) / (select extract(epoch from '2026-07-18 17:10:20'::timestamp) - extract(epoch from '2026-07-18 17:10:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523829 -3.573414)'), GeomFromEWKT('SRID=4674;POINT (-38.523855 -3.573519)'))) / (select extract(epoch from '2026-07-18 17:10:20'::timestamp) - extract(epoch from '2026-07-18 17: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.523867 -3.573602)', '2026-07-18 17:10:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523855 -3.573519)'), GeomFromEWKT('SRID=4674;POINT (-38.523867 -3.573602)'))) / (select extract(epoch from '2026-07-18 17:10:25'::timestamp) - extract(epoch from '2026-07-18 17:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523855 -3.573519)'), GeomFromEWKT('SRID=4674;POINT (-38.523867 -3.573602)'))) / (select extract(epoch from '2026-07-18 17:10:25'::timestamp) - extract(epoch from '2026-07-18 17:10: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.523859 -3.573648)', '2026-07-18 17:10:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523867 -3.573602)'), GeomFromEWKT('SRID=4674;POINT (-38.523859 -3.573648)'))) / (select extract(epoch from '2026-07-18 17:10:28'::timestamp) - extract(epoch from '2026-07-18 17:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523867 -3.573602)'), GeomFromEWKT('SRID=4674;POINT (-38.523859 -3.573648)'))) / (select extract(epoch from '2026-07-18 17:10:28'::timestamp) - extract(epoch from '2026-07-18 17:10: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.523869 -3.57368)', '2026-07-18 17:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523859 -3.573648)'), GeomFromEWKT('SRID=4674;POINT (-38.523869 -3.57368)'))) / (select extract(epoch from '2026-07-18 17:10:30'::timestamp) - extract(epoch from '2026-07-18 17:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523859 -3.573648)'), GeomFromEWKT('SRID=4674;POINT (-38.523869 -3.57368)'))) / (select extract(epoch from '2026-07-18 17:10:30'::timestamp) - extract(epoch from '2026-07-18 17:10: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.523891 -3.573789)', '2026-07-18 17:10:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523869 -3.57368)'), GeomFromEWKT('SRID=4674;POINT (-38.523891 -3.573789)'))) / (select extract(epoch from '2026-07-18 17:10:37'::timestamp) - extract(epoch from '2026-07-18 17:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523869 -3.57368)'), GeomFromEWKT('SRID=4674;POINT (-38.523891 -3.573789)'))) / (select extract(epoch from '2026-07-18 17:10:37'::timestamp) - extract(epoch from '2026-07-18 17:10: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.523923 -3.57389)', '2026-07-18 17:10:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523891 -3.573789)'), GeomFromEWKT('SRID=4674;POINT (-38.523923 -3.57389)'))) / (select extract(epoch from '2026-07-18 17:10:43'::timestamp) - extract(epoch from '2026-07-18 17:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523891 -3.573789)'), GeomFromEWKT('SRID=4674;POINT (-38.523923 -3.57389)'))) / (select extract(epoch from '2026-07-18 17:10:43'::timestamp) - extract(epoch from '2026-07-18 17:10: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.523954 -3.573968)', '2026-07-18 17:10:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523923 -3.57389)'), GeomFromEWKT('SRID=4674;POINT (-38.523954 -3.573968)'))) / (select extract(epoch from '2026-07-18 17:10:47'::timestamp) - extract(epoch from '2026-07-18 17:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523923 -3.57389)'), GeomFromEWKT('SRID=4674;POINT (-38.523954 -3.573968)'))) / (select extract(epoch from '2026-07-18 17:10:47'::timestamp) - extract(epoch from '2026-07-18 17:10: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.52396 -3.574006)', '2026-07-18 17:10:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523954 -3.573968)'), GeomFromEWKT('SRID=4674;POINT (-38.52396 -3.574006)'))) / (select extract(epoch from '2026-07-18 17:10:49'::timestamp) - extract(epoch from '2026-07-18 17:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523954 -3.573968)'), GeomFromEWKT('SRID=4674;POINT (-38.52396 -3.574006)'))) / (select extract(epoch from '2026-07-18 17:10:49'::timestamp) - extract(epoch from '2026-07-18 17:10: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.523974 -3.574121)', '2026-07-18 17:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52396 -3.574006)'), GeomFromEWKT('SRID=4674;POINT (-38.523974 -3.574121)'))) / (select extract(epoch from '2026-07-18 17:10:55'::timestamp) - extract(epoch from '2026-07-18 17:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52396 -3.574006)'), GeomFromEWKT('SRID=4674;POINT (-38.523974 -3.574121)'))) / (select extract(epoch from '2026-07-18 17:10:55'::timestamp) - extract(epoch from '2026-07-18 17:10: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.523988 -3.574226)', '2026-07-18 17:11:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523974 -3.574121)'), GeomFromEWKT('SRID=4674;POINT (-38.523988 -3.574226)'))) / (select extract(epoch from '2026-07-18 17:11:00'::timestamp) - extract(epoch from '2026-07-18 17:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523974 -3.574121)'), GeomFromEWKT('SRID=4674;POINT (-38.523988 -3.574226)'))) / (select extract(epoch from '2026-07-18 17:11:00'::timestamp) - extract(epoch from '2026-07-18 17:10: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.524002 -3.574312)', '2026-07-18 17:11:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523988 -3.574226)'), GeomFromEWKT('SRID=4674;POINT (-38.524002 -3.574312)'))) / (select extract(epoch from '2026-07-18 17:11:05'::timestamp) - extract(epoch from '2026-07-18 17:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523988 -3.574226)'), GeomFromEWKT('SRID=4674;POINT (-38.524002 -3.574312)'))) / (select extract(epoch from '2026-07-18 17:11:05'::timestamp) - extract(epoch from '2026-07-18 17:11: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.524001 -3.57433)', '2026-07-18 17:11:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524002 -3.574312)'), GeomFromEWKT('SRID=4674;POINT (-38.524001 -3.57433)'))) / (select extract(epoch from '2026-07-18 17:11:06'::timestamp) - extract(epoch from '2026-07-18 17:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524002 -3.574312)'), GeomFromEWKT('SRID=4674;POINT (-38.524001 -3.57433)'))) / (select extract(epoch from '2026-07-18 17:11:06'::timestamp) - extract(epoch from '2026-07-18 17:11: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.524028 -3.574421)', '2026-07-18 17:11:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524001 -3.57433)'), GeomFromEWKT('SRID=4674;POINT (-38.524028 -3.574421)'))) / (select extract(epoch from '2026-07-18 17:11:11'::timestamp) - extract(epoch from '2026-07-18 17:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524001 -3.57433)'), GeomFromEWKT('SRID=4674;POINT (-38.524028 -3.574421)'))) / (select extract(epoch from '2026-07-18 17:11:11'::timestamp) - extract(epoch from '2026-07-18 17:11: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.52404 -3.574516)', '2026-07-18 17:11:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524028 -3.574421)'), GeomFromEWKT('SRID=4674;POINT (-38.52404 -3.574516)'))) / (select extract(epoch from '2026-07-18 17:11:16'::timestamp) - extract(epoch from '2026-07-18 17:11:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524028 -3.574421)'), GeomFromEWKT('SRID=4674;POINT (-38.52404 -3.574516)'))) / (select extract(epoch from '2026-07-18 17:11:16'::timestamp) - extract(epoch from '2026-07-18 17:11: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.524067 -3.574623)', '2026-07-18 17:11:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52404 -3.574516)'), GeomFromEWKT('SRID=4674;POINT (-38.524067 -3.574623)'))) / (select extract(epoch from '2026-07-18 17:11:22'::timestamp) - extract(epoch from '2026-07-18 17:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52404 -3.574516)'), GeomFromEWKT('SRID=4674;POINT (-38.524067 -3.574623)'))) / (select extract(epoch from '2026-07-18 17:11:22'::timestamp) - extract(epoch from '2026-07-18 17:11:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524079 -3.574719)', '2026-07-18 17:11:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524067 -3.574623)'), GeomFromEWKT('SRID=4674;POINT (-38.524079 -3.574719)'))) / (select extract(epoch from '2026-07-18 17:11:28'::timestamp) - extract(epoch from '2026-07-18 17:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524067 -3.574623)'), GeomFromEWKT('SRID=4674;POINT (-38.524079 -3.574719)'))) / (select extract(epoch from '2026-07-18 17:11:28'::timestamp) - extract(epoch from '2026-07-18 17:11: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.524083 -3.574732)', '2026-07-18 17:11:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524079 -3.574719)'), GeomFromEWKT('SRID=4674;POINT (-38.524083 -3.574732)'))) / (select extract(epoch from '2026-07-18 17:11:29'::timestamp) - extract(epoch from '2026-07-18 17:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524079 -3.574719)'), GeomFromEWKT('SRID=4674;POINT (-38.524083 -3.574732)'))) / (select extract(epoch from '2026-07-18 17:11:29'::timestamp) - extract(epoch from '2026-07-18 17: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.5241 -3.5748)', '2026-07-18 17:11:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524083 -3.574732)'), GeomFromEWKT('SRID=4674;POINT (-38.5241 -3.5748)'))) / (select extract(epoch from '2026-07-18 17:11:33'::timestamp) - extract(epoch from '2026-07-18 17:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524083 -3.574732)'), GeomFromEWKT('SRID=4674;POINT (-38.5241 -3.5748)'))) / (select extract(epoch from '2026-07-18 17:11:33'::timestamp) - extract(epoch from '2026-07-18 17:11: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.524118 -3.574891)', '2026-07-18 17:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5241 -3.5748)'), GeomFromEWKT('SRID=4674;POINT (-38.524118 -3.574891)'))) / (select extract(epoch from '2026-07-18 17:11:38'::timestamp) - extract(epoch from '2026-07-18 17:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5241 -3.5748)'), GeomFromEWKT('SRID=4674;POINT (-38.524118 -3.574891)'))) / (select extract(epoch from '2026-07-18 17:11:38'::timestamp) - extract(epoch from '2026-07-18 17:11: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.524129 -3.574998)', '2026-07-18 17:11:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524118 -3.574891)'), GeomFromEWKT('SRID=4674;POINT (-38.524129 -3.574998)'))) / (select extract(epoch from '2026-07-18 17:11:44'::timestamp) - extract(epoch from '2026-07-18 17:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524118 -3.574891)'), GeomFromEWKT('SRID=4674;POINT (-38.524129 -3.574998)'))) / (select extract(epoch from '2026-07-18 17:11:44'::timestamp) - extract(epoch from '2026-07-18 17:11: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.524144 -3.575034)', '2026-07-18 17:11:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524129 -3.574998)'), GeomFromEWKT('SRID=4674;POINT (-38.524144 -3.575034)'))) / (select extract(epoch from '2026-07-18 17:11:46'::timestamp) - extract(epoch from '2026-07-18 17:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524129 -3.574998)'), GeomFromEWKT('SRID=4674;POINT (-38.524144 -3.575034)'))) / (select extract(epoch from '2026-07-18 17:11:46'::timestamp) - extract(epoch from '2026-07-18 17: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.524146 -3.575091)', '2026-07-18 17:11:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524144 -3.575034)'), GeomFromEWKT('SRID=4674;POINT (-38.524146 -3.575091)'))) / (select extract(epoch from '2026-07-18 17:11:49'::timestamp) - extract(epoch from '2026-07-18 17:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524144 -3.575034)'), GeomFromEWKT('SRID=4674;POINT (-38.524146 -3.575091)'))) / (select extract(epoch from '2026-07-18 17:11:49'::timestamp) - extract(epoch from '2026-07-18 17:11: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.524171 -3.575216)', '2026-07-18 17:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524146 -3.575091)'), GeomFromEWKT('SRID=4674;POINT (-38.524171 -3.575216)'))) / (select extract(epoch from '2026-07-18 17:11:56'::timestamp) - extract(epoch from '2026-07-18 17:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524146 -3.575091)'), GeomFromEWKT('SRID=4674;POINT (-38.524171 -3.575216)'))) / (select extract(epoch from '2026-07-18 17:11:56'::timestamp) - extract(epoch from '2026-07-18 17:11: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.524178 -3.575307)', '2026-07-18 17:12:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524171 -3.575216)'), GeomFromEWKT('SRID=4674;POINT (-38.524178 -3.575307)'))) / (select extract(epoch from '2026-07-18 17:12:01'::timestamp) - extract(epoch from '2026-07-18 17:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524171 -3.575216)'), GeomFromEWKT('SRID=4674;POINT (-38.524178 -3.575307)'))) / (select extract(epoch from '2026-07-18 17:12:01'::timestamp) - extract(epoch from '2026-07-18 17:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524187 -3.575418)', '2026-07-18 17:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524178 -3.575307)'), GeomFromEWKT('SRID=4674;POINT (-38.524187 -3.575418)'))) / (select extract(epoch from '2026-07-18 17:12:08'::timestamp) - extract(epoch from '2026-07-18 17:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524178 -3.575307)'), GeomFromEWKT('SRID=4674;POINT (-38.524187 -3.575418)'))) / (select extract(epoch from '2026-07-18 17:12:08'::timestamp) - extract(epoch from '2026-07-18 17:12: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.524194 -3.575491)', '2026-07-18 17:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524187 -3.575418)'), GeomFromEWKT('SRID=4674;POINT (-38.524194 -3.575491)'))) / (select extract(epoch from '2026-07-18 17:12:13'::timestamp) - extract(epoch from '2026-07-18 17:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524187 -3.575418)'), GeomFromEWKT('SRID=4674;POINT (-38.524194 -3.575491)'))) / (select extract(epoch from '2026-07-18 17:12:13'::timestamp) - extract(epoch from '2026-07-18 17: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.5242 -3.575508)', '2026-07-18 17:12:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524194 -3.575491)'), GeomFromEWKT('SRID=4674;POINT (-38.5242 -3.575508)'))) / (select extract(epoch from '2026-07-18 17:12:14'::timestamp) - extract(epoch from '2026-07-18 17:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524194 -3.575491)'), GeomFromEWKT('SRID=4674;POINT (-38.5242 -3.575508)'))) / (select extract(epoch from '2026-07-18 17:12:14'::timestamp) - extract(epoch from '2026-07-18 17:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524216 -3.575575)', '2026-07-18 17:12:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5242 -3.575508)'), GeomFromEWKT('SRID=4674;POINT (-38.524216 -3.575575)'))) / (select extract(epoch from '2026-07-18 17:12:18'::timestamp) - extract(epoch from '2026-07-18 17:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5242 -3.575508)'), GeomFromEWKT('SRID=4674;POINT (-38.524216 -3.575575)'))) / (select extract(epoch from '2026-07-18 17:12:18'::timestamp) - extract(epoch from '2026-07-18 17:12:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524245 -3.575648)', '2026-07-18 17:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524216 -3.575575)'), GeomFromEWKT('SRID=4674;POINT (-38.524245 -3.575648)'))) / (select extract(epoch from '2026-07-18 17:12:23'::timestamp) - extract(epoch from '2026-07-18 17:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524216 -3.575575)'), GeomFromEWKT('SRID=4674;POINT (-38.524245 -3.575648)'))) / (select extract(epoch from '2026-07-18 17:12:23'::timestamp) - extract(epoch from '2026-07-18 17:12: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.524244 -3.575662)', '2026-07-18 17:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524245 -3.575648)'), GeomFromEWKT('SRID=4674;POINT (-38.524244 -3.575662)'))) / (select extract(epoch from '2026-07-18 17:12:24'::timestamp) - extract(epoch from '2026-07-18 17:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524245 -3.575648)'), GeomFromEWKT('SRID=4674;POINT (-38.524244 -3.575662)'))) / (select extract(epoch from '2026-07-18 17:12:24'::timestamp) - extract(epoch from '2026-07-18 17:12: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.524267 -3.575736)', '2026-07-18 17:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524244 -3.575662)'), GeomFromEWKT('SRID=4674;POINT (-38.524267 -3.575736)'))) / (select extract(epoch from '2026-07-18 17:12:29'::timestamp) - extract(epoch from '2026-07-18 17:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524244 -3.575662)'), GeomFromEWKT('SRID=4674;POINT (-38.524267 -3.575736)'))) / (select extract(epoch from '2026-07-18 17:12:29'::timestamp) - extract(epoch from '2026-07-18 17:12: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.524293 -3.575827)', '2026-07-18 17:12:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524267 -3.575736)'), GeomFromEWKT('SRID=4674;POINT (-38.524293 -3.575827)'))) / (select extract(epoch from '2026-07-18 17:12:34'::timestamp) - extract(epoch from '2026-07-18 17:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524267 -3.575736)'), GeomFromEWKT('SRID=4674;POINT (-38.524293 -3.575827)'))) / (select extract(epoch from '2026-07-18 17:12:34'::timestamp) - extract(epoch from '2026-07-18 17:12: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.524327 -3.575928)', '2026-07-18 17:12:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524293 -3.575827)'), GeomFromEWKT('SRID=4674;POINT (-38.524327 -3.575928)'))) / (select extract(epoch from '2026-07-18 17:12:40'::timestamp) - extract(epoch from '2026-07-18 17:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524293 -3.575827)'), GeomFromEWKT('SRID=4674;POINT (-38.524327 -3.575928)'))) / (select extract(epoch from '2026-07-18 17:12:40'::timestamp) - extract(epoch from '2026-07-18 17:12: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.524333 -3.575945)', '2026-07-18 17:12:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524327 -3.575928)'), GeomFromEWKT('SRID=4674;POINT (-38.524333 -3.575945)'))) / (select extract(epoch from '2026-07-18 17:12:41'::timestamp) - extract(epoch from '2026-07-18 17:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524327 -3.575928)'), GeomFromEWKT('SRID=4674;POINT (-38.524333 -3.575945)'))) / (select extract(epoch from '2026-07-18 17:12:41'::timestamp) - extract(epoch from '2026-07-18 17:12: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.524356 -3.575988)', '2026-07-18 17:12:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524333 -3.575945)'), GeomFromEWKT('SRID=4674;POINT (-38.524356 -3.575988)'))) / (select extract(epoch from '2026-07-18 17:12:44'::timestamp) - extract(epoch from '2026-07-18 17:12:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524333 -3.575945)'), GeomFromEWKT('SRID=4674;POINT (-38.524356 -3.575988)'))) / (select extract(epoch from '2026-07-18 17:12:44'::timestamp) - extract(epoch from '2026-07-18 17:12: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.524382 -3.576103)', '2026-07-18 17:12:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524356 -3.575988)'), GeomFromEWKT('SRID=4674;POINT (-38.524382 -3.576103)'))) / (select extract(epoch from '2026-07-18 17:12:51'::timestamp) - extract(epoch from '2026-07-18 17:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524356 -3.575988)'), GeomFromEWKT('SRID=4674;POINT (-38.524382 -3.576103)'))) / (select extract(epoch from '2026-07-18 17:12:51'::timestamp) - extract(epoch from '2026-07-18 17:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524402 -3.576184)', '2026-07-18 17:12:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524382 -3.576103)'), GeomFromEWKT('SRID=4674;POINT (-38.524402 -3.576184)'))) / (select extract(epoch from '2026-07-18 17:12:57'::timestamp) - extract(epoch from '2026-07-18 17:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524382 -3.576103)'), GeomFromEWKT('SRID=4674;POINT (-38.524402 -3.576184)'))) / (select extract(epoch from '2026-07-18 17:12:57'::timestamp) - extract(epoch from '2026-07-18 17:12: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.524409 -3.576198)', '2026-07-18 17:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524402 -3.576184)'), GeomFromEWKT('SRID=4674;POINT (-38.524409 -3.576198)'))) / (select extract(epoch from '2026-07-18 17:12:58'::timestamp) - extract(epoch from '2026-07-18 17:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524402 -3.576184)'), GeomFromEWKT('SRID=4674;POINT (-38.524409 -3.576198)'))) / (select extract(epoch from '2026-07-18 17:12:58'::timestamp) - extract(epoch from '2026-07-18 17:12: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.524434 -3.576255)', '2026-07-18 17:13:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524409 -3.576198)'), GeomFromEWKT('SRID=4674;POINT (-38.524434 -3.576255)'))) / (select extract(epoch from '2026-07-18 17:13:02'::timestamp) - extract(epoch from '2026-07-18 17:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524409 -3.576198)'), GeomFromEWKT('SRID=4674;POINT (-38.524434 -3.576255)'))) / (select extract(epoch from '2026-07-18 17:13:02'::timestamp) - extract(epoch from '2026-07-18 17: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.524473 -3.576363)', '2026-07-18 17:13:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524434 -3.576255)'), GeomFromEWKT('SRID=4674;POINT (-38.524473 -3.576363)'))) / (select extract(epoch from '2026-07-18 17:13:09'::timestamp) - extract(epoch from '2026-07-18 17:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524434 -3.576255)'), GeomFromEWKT('SRID=4674;POINT (-38.524473 -3.576363)'))) / (select extract(epoch from '2026-07-18 17:13:09'::timestamp) - extract(epoch from '2026-07-18 17:13: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.524489 -3.576392)', '2026-07-18 17:13:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524473 -3.576363)'), GeomFromEWKT('SRID=4674;POINT (-38.524489 -3.576392)'))) / (select extract(epoch from '2026-07-18 17:13:11'::timestamp) - extract(epoch from '2026-07-18 17:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524473 -3.576363)'), GeomFromEWKT('SRID=4674;POINT (-38.524489 -3.576392)'))) / (select extract(epoch from '2026-07-18 17:13:11'::timestamp) - extract(epoch from '2026-07-18 17:13: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.524509 -3.576417)', '2026-07-18 17:13:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524489 -3.576392)'), GeomFromEWKT('SRID=4674;POINT (-38.524509 -3.576417)'))) / (select extract(epoch from '2026-07-18 17:13:13'::timestamp) - extract(epoch from '2026-07-18 17:13:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524489 -3.576392)'), GeomFromEWKT('SRID=4674;POINT (-38.524509 -3.576417)'))) / (select extract(epoch from '2026-07-18 17:13:13'::timestamp) - extract(epoch from '2026-07-18 17: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.524547 -3.576538)', '2026-07-18 17:13:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524509 -3.576417)'), GeomFromEWKT('SRID=4674;POINT (-38.524547 -3.576538)'))) / (select extract(epoch from '2026-07-18 17:13:20'::timestamp) - extract(epoch from '2026-07-18 17:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524509 -3.576417)'), GeomFromEWKT('SRID=4674;POINT (-38.524547 -3.576538)'))) / (select extract(epoch from '2026-07-18 17:13:20'::timestamp) - extract(epoch from '2026-07-18 17:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524587 -3.576656)', '2026-07-18 17:13:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524547 -3.576538)'), GeomFromEWKT('SRID=4674;POINT (-38.524587 -3.576656)'))) / (select extract(epoch from '2026-07-18 17:13:27'::timestamp) - extract(epoch from '2026-07-18 17:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524547 -3.576538)'), GeomFromEWKT('SRID=4674;POINT (-38.524587 -3.576656)'))) / (select extract(epoch from '2026-07-18 17:13:27'::timestamp) - extract(epoch from '2026-07-18 17:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524596 -3.576759)', '2026-07-18 17:13:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524587 -3.576656)'), GeomFromEWKT('SRID=4674;POINT (-38.524596 -3.576759)'))) / (select extract(epoch from '2026-07-18 17:13:33'::timestamp) - extract(epoch from '2026-07-18 17:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524587 -3.576656)'), GeomFromEWKT('SRID=4674;POINT (-38.524596 -3.576759)'))) / (select extract(epoch from '2026-07-18 17:13:33'::timestamp) - extract(epoch from '2026-07-18 17:13: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.524604 -3.576853)', '2026-07-18 17:13:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524596 -3.576759)'), GeomFromEWKT('SRID=4674;POINT (-38.524604 -3.576853)'))) / (select extract(epoch from '2026-07-18 17:13:39'::timestamp) - extract(epoch from '2026-07-18 17:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524596 -3.576759)'), GeomFromEWKT('SRID=4674;POINT (-38.524604 -3.576853)'))) / (select extract(epoch from '2026-07-18 17:13:39'::timestamp) - extract(epoch from '2026-07-18 17:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524628 -3.576957)', '2026-07-18 17:13:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524604 -3.576853)'), GeomFromEWKT('SRID=4674;POINT (-38.524628 -3.576957)'))) / (select extract(epoch from '2026-07-18 17:13:45'::timestamp) - extract(epoch from '2026-07-18 17:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524604 -3.576853)'), GeomFromEWKT('SRID=4674;POINT (-38.524628 -3.576957)'))) / (select extract(epoch from '2026-07-18 17:13:45'::timestamp) - extract(epoch from '2026-07-18 17: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.524665 -3.577081)', '2026-07-18 17:13:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524628 -3.576957)'), GeomFromEWKT('SRID=4674;POINT (-38.524665 -3.577081)'))) / (select extract(epoch from '2026-07-18 17:13:52'::timestamp) - extract(epoch from '2026-07-18 17:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524628 -3.576957)'), GeomFromEWKT('SRID=4674;POINT (-38.524665 -3.577081)'))) / (select extract(epoch from '2026-07-18 17:13:52'::timestamp) - extract(epoch from '2026-07-18 17:13:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524694 -3.577166)', '2026-07-18 17:13:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524665 -3.577081)'), GeomFromEWKT('SRID=4674;POINT (-38.524694 -3.577166)'))) / (select extract(epoch from '2026-07-18 17:13:57'::timestamp) - extract(epoch from '2026-07-18 17:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524665 -3.577081)'), GeomFromEWKT('SRID=4674;POINT (-38.524694 -3.577166)'))) / (select extract(epoch from '2026-07-18 17:13:57'::timestamp) - extract(epoch from '2026-07-18 17: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.524696 -3.577179)', '2026-07-18 17:13:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524694 -3.577166)'), GeomFromEWKT('SRID=4674;POINT (-38.524696 -3.577179)'))) / (select extract(epoch from '2026-07-18 17:13:58'::timestamp) - extract(epoch from '2026-07-18 17:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524694 -3.577166)'), GeomFromEWKT('SRID=4674;POINT (-38.524696 -3.577179)'))) / (select extract(epoch from '2026-07-18 17:13:58'::timestamp) - extract(epoch from '2026-07-18 17: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.524703 -3.577209)', '2026-07-18 17:14:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524696 -3.577179)'), GeomFromEWKT('SRID=4674;POINT (-38.524703 -3.577209)'))) / (select extract(epoch from '2026-07-18 17:14:00'::timestamp) - extract(epoch from '2026-07-18 17:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524696 -3.577179)'), GeomFromEWKT('SRID=4674;POINT (-38.524703 -3.577209)'))) / (select extract(epoch from '2026-07-18 17:14:00'::timestamp) - extract(epoch from '2026-07-18 17:13: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.524715 -3.577248)', '2026-07-18 17:14:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524703 -3.577209)'), GeomFromEWKT('SRID=4674;POINT (-38.524715 -3.577248)'))) / (select extract(epoch from '2026-07-18 17:14:02'::timestamp) - extract(epoch from '2026-07-18 17:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524703 -3.577209)'), GeomFromEWKT('SRID=4674;POINT (-38.524715 -3.577248)'))) / (select extract(epoch from '2026-07-18 17:14:02'::timestamp) - extract(epoch from '2026-07-18 17:14: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.524736 -3.577382)', '2026-07-18 17:14:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524715 -3.577248)'), GeomFromEWKT('SRID=4674;POINT (-38.524736 -3.577382)'))) / (select extract(epoch from '2026-07-18 17:14:10'::timestamp) - extract(epoch from '2026-07-18 17:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524715 -3.577248)'), GeomFromEWKT('SRID=4674;POINT (-38.524736 -3.577382)'))) / (select extract(epoch from '2026-07-18 17:14:10'::timestamp) - extract(epoch from '2026-07-18 17: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.524755 -3.577436)', '2026-07-18 17:14:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524736 -3.577382)'), GeomFromEWKT('SRID=4674;POINT (-38.524755 -3.577436)'))) / (select extract(epoch from '2026-07-18 17:14:13'::timestamp) - extract(epoch from '2026-07-18 17:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524736 -3.577382)'), GeomFromEWKT('SRID=4674;POINT (-38.524755 -3.577436)'))) / (select extract(epoch from '2026-07-18 17:14:13'::timestamp) - extract(epoch from '2026-07-18 17:14: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.524757 -3.57747)', '2026-07-18 17:14:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524755 -3.577436)'), GeomFromEWKT('SRID=4674;POINT (-38.524757 -3.57747)'))) / (select extract(epoch from '2026-07-18 17:14:15'::timestamp) - extract(epoch from '2026-07-18 17:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524755 -3.577436)'), GeomFromEWKT('SRID=4674;POINT (-38.524757 -3.57747)'))) / (select extract(epoch from '2026-07-18 17:14:15'::timestamp) - extract(epoch from '2026-07-18 17:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524779 -3.577587)', '2026-07-18 17:14:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524757 -3.57747)'), GeomFromEWKT('SRID=4674;POINT (-38.524779 -3.577587)'))) / (select extract(epoch from '2026-07-18 17:14:23'::timestamp) - extract(epoch from '2026-07-18 17:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524757 -3.57747)'), GeomFromEWKT('SRID=4674;POINT (-38.524779 -3.577587)'))) / (select extract(epoch from '2026-07-18 17:14:23'::timestamp) - extract(epoch from '2026-07-18 17: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.524812 -3.577659)', '2026-07-18 17:14:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524779 -3.577587)'), GeomFromEWKT('SRID=4674;POINT (-38.524812 -3.577659)'))) / (select extract(epoch from '2026-07-18 17:14:29'::timestamp) - extract(epoch from '2026-07-18 17:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524779 -3.577587)'), GeomFromEWKT('SRID=4674;POINT (-38.524812 -3.577659)'))) / (select extract(epoch from '2026-07-18 17:14:29'::timestamp) - extract(epoch from '2026-07-18 17:14: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.524819 -3.577671)', '2026-07-18 17:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524812 -3.577659)'), GeomFromEWKT('SRID=4674;POINT (-38.524819 -3.577671)'))) / (select extract(epoch from '2026-07-18 17:14:30'::timestamp) - extract(epoch from '2026-07-18 17:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524812 -3.577659)'), GeomFromEWKT('SRID=4674;POINT (-38.524819 -3.577671)'))) / (select extract(epoch from '2026-07-18 17:14:30'::timestamp) - extract(epoch from '2026-07-18 17:14: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.524834 -3.577689)', '2026-07-18 17:14:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524819 -3.577671)'), GeomFromEWKT('SRID=4674;POINT (-38.524834 -3.577689)'))) / (select extract(epoch from '2026-07-18 17:14:32'::timestamp) - extract(epoch from '2026-07-18 17:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524819 -3.577671)'), GeomFromEWKT('SRID=4674;POINT (-38.524834 -3.577689)'))) / (select extract(epoch from '2026-07-18 17:14:32'::timestamp) - extract(epoch from '2026-07-18 17:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524844 -3.577722)', '2026-07-18 17:14:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524834 -3.577689)'), GeomFromEWKT('SRID=4674;POINT (-38.524844 -3.577722)'))) / (select extract(epoch from '2026-07-18 17:14:34'::timestamp) - extract(epoch from '2026-07-18 17:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524834 -3.577689)'), GeomFromEWKT('SRID=4674;POINT (-38.524844 -3.577722)'))) / (select extract(epoch from '2026-07-18 17:14:34'::timestamp) - extract(epoch from '2026-07-18 17:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524864 -3.577765)', '2026-07-18 17:14:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524844 -3.577722)'), GeomFromEWKT('SRID=4674;POINT (-38.524864 -3.577765)'))) / (select extract(epoch from '2026-07-18 17:14:37'::timestamp) - extract(epoch from '2026-07-18 17:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524844 -3.577722)'), GeomFromEWKT('SRID=4674;POINT (-38.524864 -3.577765)'))) / (select extract(epoch from '2026-07-18 17:14:37'::timestamp) - extract(epoch from '2026-07-18 17:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524875 -3.57781)', '2026-07-18 17:14:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524864 -3.577765)'), GeomFromEWKT('SRID=4674;POINT (-38.524875 -3.57781)'))) / (select extract(epoch from '2026-07-18 17:14:40'::timestamp) - extract(epoch from '2026-07-18 17:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524864 -3.577765)'), GeomFromEWKT('SRID=4674;POINT (-38.524875 -3.57781)'))) / (select extract(epoch from '2026-07-18 17:14:40'::timestamp) - extract(epoch from '2026-07-18 17:14: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.524894 -3.5779)', '2026-07-18 17:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524875 -3.57781)'), GeomFromEWKT('SRID=4674;POINT (-38.524894 -3.5779)'))) / (select extract(epoch from '2026-07-18 17:14:45'::timestamp) - extract(epoch from '2026-07-18 17:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524875 -3.57781)'), GeomFromEWKT('SRID=4674;POINT (-38.524894 -3.5779)'))) / (select extract(epoch from '2026-07-18 17:14:45'::timestamp) - extract(epoch from '2026-07-18 17:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524924 -3.578038)', '2026-07-18 17:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524894 -3.5779)'), GeomFromEWKT('SRID=4674;POINT (-38.524924 -3.578038)'))) / (select extract(epoch from '2026-07-18 17:14:53'::timestamp) - extract(epoch from '2026-07-18 17:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524894 -3.5779)'), GeomFromEWKT('SRID=4674;POINT (-38.524924 -3.578038)'))) / (select extract(epoch from '2026-07-18 17:14:53'::timestamp) - extract(epoch from '2026-07-18 17:14:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524945 -3.57814)', '2026-07-18 17:14:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524924 -3.578038)'), GeomFromEWKT('SRID=4674;POINT (-38.524945 -3.57814)'))) / (select extract(epoch from '2026-07-18 17:14:59'::timestamp) - extract(epoch from '2026-07-18 17:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524924 -3.578038)'), GeomFromEWKT('SRID=4674;POINT (-38.524945 -3.57814)'))) / (select extract(epoch from '2026-07-18 17:14:59'::timestamp) - extract(epoch from '2026-07-18 17:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524961 -3.578216)', '2026-07-18 17:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524945 -3.57814)'), GeomFromEWKT('SRID=4674;POINT (-38.524961 -3.578216)'))) / (select extract(epoch from '2026-07-18 17:15:04'::timestamp) - extract(epoch from '2026-07-18 17:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524945 -3.57814)'), GeomFromEWKT('SRID=4674;POINT (-38.524961 -3.578216)'))) / (select extract(epoch from '2026-07-18 17:15:04'::timestamp) - extract(epoch from '2026-07-18 17:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524974 -3.578231)', '2026-07-18 17:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524961 -3.578216)'), GeomFromEWKT('SRID=4674;POINT (-38.524974 -3.578231)'))) / (select extract(epoch from '2026-07-18 17:15:05'::timestamp) - extract(epoch from '2026-07-18 17:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524961 -3.578216)'), GeomFromEWKT('SRID=4674;POINT (-38.524974 -3.578231)'))) / (select extract(epoch from '2026-07-18 17:15:05'::timestamp) - extract(epoch from '2026-07-18 17:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524991 -3.57826)', '2026-07-18 17:15:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524974 -3.578231)'), GeomFromEWKT('SRID=4674;POINT (-38.524991 -3.57826)'))) / (select extract(epoch from '2026-07-18 17:15:07'::timestamp) - extract(epoch from '2026-07-18 17:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524974 -3.578231)'), GeomFromEWKT('SRID=4674;POINT (-38.524991 -3.57826)'))) / (select extract(epoch from '2026-07-18 17:15:07'::timestamp) - extract(epoch from '2026-07-18 17:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.524987 -3.578288)', '2026-07-18 17:15:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524991 -3.57826)'), GeomFromEWKT('SRID=4674;POINT (-38.524987 -3.578288)'))) / (select extract(epoch from '2026-07-18 17:15:09'::timestamp) - extract(epoch from '2026-07-18 17:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524991 -3.57826)'), GeomFromEWKT('SRID=4674;POINT (-38.524987 -3.578288)'))) / (select extract(epoch from '2026-07-18 17:15:09'::timestamp) - extract(epoch from '2026-07-18 17:15: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.524993 -3.578304)', '2026-07-18 17:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524987 -3.578288)'), GeomFromEWKT('SRID=4674;POINT (-38.524993 -3.578304)'))) / (select extract(epoch from '2026-07-18 17:15:10'::timestamp) - extract(epoch from '2026-07-18 17:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524987 -3.578288)'), GeomFromEWKT('SRID=4674;POINT (-38.524993 -3.578304)'))) / (select extract(epoch from '2026-07-18 17:15:10'::timestamp) - extract(epoch from '2026-07-18 17:15: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.525008 -3.578355)', '2026-07-18 17:15:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524993 -3.578304)'), GeomFromEWKT('SRID=4674;POINT (-38.525008 -3.578355)'))) / (select extract(epoch from '2026-07-18 17:15:13'::timestamp) - extract(epoch from '2026-07-18 17:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524993 -3.578304)'), GeomFromEWKT('SRID=4674;POINT (-38.525008 -3.578355)'))) / (select extract(epoch from '2026-07-18 17:15:13'::timestamp) - extract(epoch from '2026-07-18 17:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525029 -3.578441)', '2026-07-18 17:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525008 -3.578355)'), GeomFromEWKT('SRID=4674;POINT (-38.525029 -3.578441)'))) / (select extract(epoch from '2026-07-18 17:15:19'::timestamp) - extract(epoch from '2026-07-18 17:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525008 -3.578355)'), GeomFromEWKT('SRID=4674;POINT (-38.525029 -3.578441)'))) / (select extract(epoch from '2026-07-18 17:15:19'::timestamp) - extract(epoch from '2026-07-18 17:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52505 -3.578491)', '2026-07-18 17:15:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525029 -3.578441)'), GeomFromEWKT('SRID=4674;POINT (-38.52505 -3.578491)'))) / (select extract(epoch from '2026-07-18 17:15:22'::timestamp) - extract(epoch from '2026-07-18 17:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525029 -3.578441)'), GeomFromEWKT('SRID=4674;POINT (-38.52505 -3.578491)'))) / (select extract(epoch from '2026-07-18 17:15:22'::timestamp) - extract(epoch from '2026-07-18 17:15: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.525052 -3.578533)', '2026-07-18 17:15:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52505 -3.578491)'), GeomFromEWKT('SRID=4674;POINT (-38.525052 -3.578533)'))) / (select extract(epoch from '2026-07-18 17:15:24'::timestamp) - extract(epoch from '2026-07-18 17:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52505 -3.578491)'), GeomFromEWKT('SRID=4674;POINT (-38.525052 -3.578533)'))) / (select extract(epoch from '2026-07-18 17:15:24'::timestamp) - extract(epoch from '2026-07-18 17:15: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.525069 -3.578576)', '2026-07-18 17:15:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525052 -3.578533)'), GeomFromEWKT('SRID=4674;POINT (-38.525069 -3.578576)'))) / (select extract(epoch from '2026-07-18 17:15:27'::timestamp) - extract(epoch from '2026-07-18 17:15:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525052 -3.578533)'), GeomFromEWKT('SRID=4674;POINT (-38.525069 -3.578576)'))) / (select extract(epoch from '2026-07-18 17:15:27'::timestamp) - extract(epoch from '2026-07-18 17:15: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.525068 -3.578591)', '2026-07-18 17:15:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525069 -3.578576)'), GeomFromEWKT('SRID=4674;POINT (-38.525068 -3.578591)'))) / (select extract(epoch from '2026-07-18 17:15:28'::timestamp) - extract(epoch from '2026-07-18 17:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525069 -3.578576)'), GeomFromEWKT('SRID=4674;POINT (-38.525068 -3.578591)'))) / (select extract(epoch from '2026-07-18 17:15:28'::timestamp) - extract(epoch from '2026-07-18 17:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525075 -3.578654)', '2026-07-18 17:15:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525068 -3.578591)'), GeomFromEWKT('SRID=4674;POINT (-38.525075 -3.578654)'))) / (select extract(epoch from '2026-07-18 17:15:32'::timestamp) - extract(epoch from '2026-07-18 17:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525068 -3.578591)'), GeomFromEWKT('SRID=4674;POINT (-38.525075 -3.578654)'))) / (select extract(epoch from '2026-07-18 17:15:32'::timestamp) - extract(epoch from '2026-07-18 17:15: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.525083 -3.578666)', '2026-07-18 17:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525075 -3.578654)'), GeomFromEWKT('SRID=4674;POINT (-38.525083 -3.578666)'))) / (select extract(epoch from '2026-07-18 17:15:33'::timestamp) - extract(epoch from '2026-07-18 17:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525075 -3.578654)'), GeomFromEWKT('SRID=4674;POINT (-38.525083 -3.578666)'))) / (select extract(epoch from '2026-07-18 17:15:33'::timestamp) - extract(epoch from '2026-07-18 17:15:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525089 -3.578697)', '2026-07-18 17:15:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525083 -3.578666)'), GeomFromEWKT('SRID=4674;POINT (-38.525089 -3.578697)'))) / (select extract(epoch from '2026-07-18 17:15:35'::timestamp) - extract(epoch from '2026-07-18 17:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525083 -3.578666)'), GeomFromEWKT('SRID=4674;POINT (-38.525089 -3.578697)'))) / (select extract(epoch from '2026-07-18 17:15:35'::timestamp) - extract(epoch from '2026-07-18 17:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525092 -3.57873)', '2026-07-18 17:15:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525089 -3.578697)'), GeomFromEWKT('SRID=4674;POINT (-38.525092 -3.57873)'))) / (select extract(epoch from '2026-07-18 17:15:37'::timestamp) - extract(epoch from '2026-07-18 17:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525089 -3.578697)'), GeomFromEWKT('SRID=4674;POINT (-38.525092 -3.57873)'))) / (select extract(epoch from '2026-07-18 17:15:37'::timestamp) - extract(epoch from '2026-07-18 17:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525102 -3.578746)', '2026-07-18 17:15:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525092 -3.57873)'), GeomFromEWKT('SRID=4674;POINT (-38.525102 -3.578746)'))) / (select extract(epoch from '2026-07-18 17:15:38'::timestamp) - extract(epoch from '2026-07-18 17:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525092 -3.57873)'), GeomFromEWKT('SRID=4674;POINT (-38.525102 -3.578746)'))) / (select extract(epoch from '2026-07-18 17:15:38'::timestamp) - extract(epoch from '2026-07-18 17:15: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.52513 -3.578833)', '2026-07-18 17:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525102 -3.578746)'), GeomFromEWKT('SRID=4674;POINT (-38.52513 -3.578833)'))) / (select extract(epoch from '2026-07-18 17:15:43'::timestamp) - extract(epoch from '2026-07-18 17:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525102 -3.578746)'), GeomFromEWKT('SRID=4674;POINT (-38.52513 -3.578833)'))) / (select extract(epoch from '2026-07-18 17:15:43'::timestamp) - extract(epoch from '2026-07-18 17:15:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525136 -3.578849)', '2026-07-18 17:15:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52513 -3.578833)'), GeomFromEWKT('SRID=4674;POINT (-38.525136 -3.578849)'))) / (select extract(epoch from '2026-07-18 17:15:44'::timestamp) - extract(epoch from '2026-07-18 17:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52513 -3.578833)'), GeomFromEWKT('SRID=4674;POINT (-38.525136 -3.578849)'))) / (select extract(epoch from '2026-07-18 17:15:44'::timestamp) - extract(epoch from '2026-07-18 17:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525151 -3.578883)', '2026-07-18 17:15:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525136 -3.578849)'), GeomFromEWKT('SRID=4674;POINT (-38.525151 -3.578883)'))) / (select extract(epoch from '2026-07-18 17:15:46'::timestamp) - extract(epoch from '2026-07-18 17:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525136 -3.578849)'), GeomFromEWKT('SRID=4674;POINT (-38.525151 -3.578883)'))) / (select extract(epoch from '2026-07-18 17:15:46'::timestamp) - extract(epoch from '2026-07-18 17:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525151 -3.578902)', '2026-07-18 17:15:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525151 -3.578883)'), GeomFromEWKT('SRID=4674;POINT (-38.525151 -3.578902)'))) / (select extract(epoch from '2026-07-18 17:15:47'::timestamp) - extract(epoch from '2026-07-18 17:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525151 -3.578883)'), GeomFromEWKT('SRID=4674;POINT (-38.525151 -3.578902)'))) / (select extract(epoch from '2026-07-18 17:15:47'::timestamp) - extract(epoch from '2026-07-18 17:15: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.525157 -3.578919)', '2026-07-18 17:15:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525151 -3.578902)'), GeomFromEWKT('SRID=4674;POINT (-38.525157 -3.578919)'))) / (select extract(epoch from '2026-07-18 17:15:48'::timestamp) - extract(epoch from '2026-07-18 17:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525151 -3.578902)'), GeomFromEWKT('SRID=4674;POINT (-38.525157 -3.578919)'))) / (select extract(epoch from '2026-07-18 17:15:48'::timestamp) - extract(epoch from '2026-07-18 17:15: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.525167 -3.578937)', '2026-07-18 17:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525157 -3.578919)'), GeomFromEWKT('SRID=4674;POINT (-38.525167 -3.578937)'))) / (select extract(epoch from '2026-07-18 17:15:50'::timestamp) - extract(epoch from '2026-07-18 17:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525157 -3.578919)'), GeomFromEWKT('SRID=4674;POINT (-38.525167 -3.578937)'))) / (select extract(epoch from '2026-07-18 17:15:50'::timestamp) - extract(epoch from '2026-07-18 17:15: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.525167 -3.578963)', '2026-07-18 17:15:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525167 -3.578937)'), GeomFromEWKT('SRID=4674;POINT (-38.525167 -3.578963)'))) / (select extract(epoch from '2026-07-18 17:15:52'::timestamp) - extract(epoch from '2026-07-18 17:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525167 -3.578937)'), GeomFromEWKT('SRID=4674;POINT (-38.525167 -3.578963)'))) / (select extract(epoch from '2026-07-18 17:15:52'::timestamp) - extract(epoch from '2026-07-18 17:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.52517 -3.578978)', '2026-07-18 17:15:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525167 -3.578963)'), GeomFromEWKT('SRID=4674;POINT (-38.52517 -3.578978)'))) / (select extract(epoch from '2026-07-18 17:15:53'::timestamp) - extract(epoch from '2026-07-18 17:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525167 -3.578963)'), GeomFromEWKT('SRID=4674;POINT (-38.52517 -3.578978)'))) / (select extract(epoch from '2026-07-18 17:15:53'::timestamp) - extract(epoch from '2026-07-18 17:15: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.525196 -3.579023)', '2026-07-18 17:15:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52517 -3.578978)'), GeomFromEWKT('SRID=4674;POINT (-38.525196 -3.579023)'))) / (select extract(epoch from '2026-07-18 17:15:56'::timestamp) - extract(epoch from '2026-07-18 17:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52517 -3.578978)'), GeomFromEWKT('SRID=4674;POINT (-38.525196 -3.579023)'))) / (select extract(epoch from '2026-07-18 17:15:56'::timestamp) - extract(epoch from '2026-07-18 17:15: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.525225 -3.579106)', '2026-07-18 17:16:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525196 -3.579023)'), GeomFromEWKT('SRID=4674;POINT (-38.525225 -3.579106)'))) / (select extract(epoch from '2026-07-18 17:16:01'::timestamp) - extract(epoch from '2026-07-18 17:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525196 -3.579023)'), GeomFromEWKT('SRID=4674;POINT (-38.525225 -3.579106)'))) / (select extract(epoch from '2026-07-18 17:16:01'::timestamp) - extract(epoch from '2026-07-18 17:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525242 -3.579192)', '2026-07-18 17:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525225 -3.579106)'), GeomFromEWKT('SRID=4674;POINT (-38.525242 -3.579192)'))) / (select extract(epoch from '2026-07-18 17:16:06'::timestamp) - extract(epoch from '2026-07-18 17:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525225 -3.579106)'), GeomFromEWKT('SRID=4674;POINT (-38.525242 -3.579192)'))) / (select extract(epoch from '2026-07-18 17:16:06'::timestamp) - extract(epoch from '2026-07-18 17:16: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.525257 -3.579275)', '2026-07-18 17:16:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525242 -3.579192)'), GeomFromEWKT('SRID=4674;POINT (-38.525257 -3.579275)'))) / (select extract(epoch from '2026-07-18 17:16:12'::timestamp) - extract(epoch from '2026-07-18 17:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525242 -3.579192)'), GeomFromEWKT('SRID=4674;POINT (-38.525257 -3.579275)'))) / (select extract(epoch from '2026-07-18 17:16:12'::timestamp) - extract(epoch from '2026-07-18 17:16: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.525287 -3.579374)', '2026-07-18 17:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525257 -3.579275)'), GeomFromEWKT('SRID=4674;POINT (-38.525287 -3.579374)'))) / (select extract(epoch from '2026-07-18 17:16:18'::timestamp) - extract(epoch from '2026-07-18 17:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525257 -3.579275)'), GeomFromEWKT('SRID=4674;POINT (-38.525287 -3.579374)'))) / (select extract(epoch from '2026-07-18 17:16:18'::timestamp) - extract(epoch from '2026-07-18 17:16: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.525308 -3.579465)', '2026-07-18 17:16:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525287 -3.579374)'), GeomFromEWKT('SRID=4674;POINT (-38.525308 -3.579465)'))) / (select extract(epoch from '2026-07-18 17:16:24'::timestamp) - extract(epoch from '2026-07-18 17:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525287 -3.579374)'), GeomFromEWKT('SRID=4674;POINT (-38.525308 -3.579465)'))) / (select extract(epoch from '2026-07-18 17:16:24'::timestamp) - extract(epoch from '2026-07-18 17:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525345 -3.57955)', '2026-07-18 17:16:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525308 -3.579465)'), GeomFromEWKT('SRID=4674;POINT (-38.525345 -3.57955)'))) / (select extract(epoch from '2026-07-18 17:16:30'::timestamp) - extract(epoch from '2026-07-18 17:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525308 -3.579465)'), GeomFromEWKT('SRID=4674;POINT (-38.525345 -3.57955)'))) / (select extract(epoch from '2026-07-18 17:16:30'::timestamp) - extract(epoch from '2026-07-18 17:16: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.525348 -3.579583)', '2026-07-18 17:16:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525345 -3.57955)'), GeomFromEWKT('SRID=4674;POINT (-38.525348 -3.579583)'))) / (select extract(epoch from '2026-07-18 17:16:32'::timestamp) - extract(epoch from '2026-07-18 17:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525345 -3.57955)'), GeomFromEWKT('SRID=4674;POINT (-38.525348 -3.579583)'))) / (select extract(epoch from '2026-07-18 17:16:32'::timestamp) - extract(epoch from '2026-07-18 17:16: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.525389 -3.579632)', '2026-07-18 17:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525348 -3.579583)'), GeomFromEWKT('SRID=4674;POINT (-38.525389 -3.579632)'))) / (select extract(epoch from '2026-07-18 17:16:35'::timestamp) - extract(epoch from '2026-07-18 17:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525348 -3.579583)'), GeomFromEWKT('SRID=4674;POINT (-38.525389 -3.579632)'))) / (select extract(epoch from '2026-07-18 17:16:35'::timestamp) - extract(epoch from '2026-07-18 17:16:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525395 -3.579647)', '2026-07-18 17:16:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525389 -3.579632)'), GeomFromEWKT('SRID=4674;POINT (-38.525395 -3.579647)'))) / (select extract(epoch from '2026-07-18 17:16:36'::timestamp) - extract(epoch from '2026-07-18 17:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525389 -3.579632)'), GeomFromEWKT('SRID=4674;POINT (-38.525395 -3.579647)'))) / (select extract(epoch from '2026-07-18 17:16:36'::timestamp) - extract(epoch from '2026-07-18 17:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525395 -3.579682)', '2026-07-18 17:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525395 -3.579647)'), GeomFromEWKT('SRID=4674;POINT (-38.525395 -3.579682)'))) / (select extract(epoch from '2026-07-18 17:16:38'::timestamp) - extract(epoch from '2026-07-18 17:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525395 -3.579647)'), GeomFromEWKT('SRID=4674;POINT (-38.525395 -3.579682)'))) / (select extract(epoch from '2026-07-18 17:16:38'::timestamp) - extract(epoch from '2026-07-18 17:16:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47391, 'SRID=4674;POINT (-38.525403 -3.579701)', '2026-07-18 17:16:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525395 -3.579682)'), GeomFromEWKT('SRID=4674;POINT (-38.525403 -3.579701)'))) / (select extract(epoch from '2026-07-18 17:16:39'::timestamp) - extract(epoch from '2026-07-18 17:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525395 -3.579682)'), GeomFromEWKT('SRID=4674;POINT (-38.525403 -3.579701)'))) / (select extract(epoch from '2026-07-18 17:16:39'::timestamp) - extract(epoch from '2026-07-18 17:16:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
