BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.026012 -3.401521)', '2026-07-12 04:48:07', 9, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.025904 -3.401444)', '2026-07-12 04:48:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026012 -3.401521)'), GeomFromEWKT('SRID=4674;POINT (-39.025904 -3.401444)'))) / (select extract(epoch from '2026-07-12 04:48:14'::timestamp) - extract(epoch from '2026-07-12 04:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026012 -3.401521)'), GeomFromEWKT('SRID=4674;POINT (-39.025904 -3.401444)'))) / (select extract(epoch from '2026-07-12 04:48:14'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.025785 -3.401361)', '2026-07-12 04:48:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025904 -3.401444)'), GeomFromEWKT('SRID=4674;POINT (-39.025785 -3.401361)'))) / (select extract(epoch from '2026-07-12 04:48:22'::timestamp) - extract(epoch from '2026-07-12 04:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025904 -3.401444)'), GeomFromEWKT('SRID=4674;POINT (-39.025785 -3.401361)'))) / (select extract(epoch from '2026-07-12 04:48:22'::timestamp) - extract(epoch from '2026-07-12 04:48: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'), 47427, 'SRID=4674;POINT (-39.025665 -3.401276)', '2026-07-12 04:48:30', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025785 -3.401361)'), GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.401276)'))) / (select extract(epoch from '2026-07-12 04:48:30'::timestamp) - extract(epoch from '2026-07-12 04:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025785 -3.401361)'), GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.401276)'))) / (select extract(epoch from '2026-07-12 04:48:30'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.025544 -3.401202)', '2026-07-12 04:48:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.401276)'), GeomFromEWKT('SRID=4674;POINT (-39.025544 -3.401202)'))) / (select extract(epoch from '2026-07-12 04:48:38'::timestamp) - extract(epoch from '2026-07-12 04:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.401276)'), GeomFromEWKT('SRID=4674;POINT (-39.025544 -3.401202)'))) / (select extract(epoch from '2026-07-12 04:48:38'::timestamp) - extract(epoch from '2026-07-12 04:48:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.025413 -3.401117)', '2026-07-12 04:48:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025544 -3.401202)'), GeomFromEWKT('SRID=4674;POINT (-39.025413 -3.401117)'))) / (select extract(epoch from '2026-07-12 04:48:46'::timestamp) - extract(epoch from '2026-07-12 04:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025544 -3.401202)'), GeomFromEWKT('SRID=4674;POINT (-39.025413 -3.401117)'))) / (select extract(epoch from '2026-07-12 04:48:46'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.025277 -3.401064)', '2026-07-12 04:48:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025413 -3.401117)'), GeomFromEWKT('SRID=4674;POINT (-39.025277 -3.401064)'))) / (select extract(epoch from '2026-07-12 04:48:54'::timestamp) - extract(epoch from '2026-07-12 04:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025413 -3.401117)'), GeomFromEWKT('SRID=4674;POINT (-39.025277 -3.401064)'))) / (select extract(epoch from '2026-07-12 04:48:54'::timestamp) - extract(epoch from '2026-07-12 04:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.02512 -3.40099)', '2026-07-12 04:49:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025277 -3.401064)'), GeomFromEWKT('SRID=4674;POINT (-39.02512 -3.40099)'))) / (select extract(epoch from '2026-07-12 04:49:03'::timestamp) - extract(epoch from '2026-07-12 04:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025277 -3.401064)'), GeomFromEWKT('SRID=4674;POINT (-39.02512 -3.40099)'))) / (select extract(epoch from '2026-07-12 04:49:03'::timestamp) - extract(epoch from '2026-07-12 04:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.024959 -3.400916)', '2026-07-12 04:49:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02512 -3.40099)'), GeomFromEWKT('SRID=4674;POINT (-39.024959 -3.400916)'))) / (select extract(epoch from '2026-07-12 04:49:12'::timestamp) - extract(epoch from '2026-07-12 04:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02512 -3.40099)'), GeomFromEWKT('SRID=4674;POINT (-39.024959 -3.400916)'))) / (select extract(epoch from '2026-07-12 04:49:12'::timestamp) - extract(epoch from '2026-07-12 04:49: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'), 47427, 'SRID=4674;POINT (-39.024789 -3.400839)', '2026-07-12 04:49:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024959 -3.400916)'), GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.400839)'))) / (select extract(epoch from '2026-07-12 04:49:21'::timestamp) - extract(epoch from '2026-07-12 04:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024959 -3.400916)'), GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.400839)'))) / (select extract(epoch from '2026-07-12 04:49:21'::timestamp) - extract(epoch from '2026-07-12 04:49: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'), 47427, 'SRID=4674;POINT (-39.024693 -3.400795)', '2026-07-12 04:49:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.400839)'), GeomFromEWKT('SRID=4674;POINT (-39.024693 -3.400795)'))) / (select extract(epoch from '2026-07-12 04:49:27'::timestamp) - extract(epoch from '2026-07-12 04:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024789 -3.400839)'), GeomFromEWKT('SRID=4674;POINT (-39.024693 -3.400795)'))) / (select extract(epoch from '2026-07-12 04:49:27'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.024538 -3.400737)', '2026-07-12 04:49:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024693 -3.400795)'), GeomFromEWKT('SRID=4674;POINT (-39.024538 -3.400737)'))) / (select extract(epoch from '2026-07-12 04:49:35'::timestamp) - extract(epoch from '2026-07-12 04:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024693 -3.400795)'), GeomFromEWKT('SRID=4674;POINT (-39.024538 -3.400737)'))) / (select extract(epoch from '2026-07-12 04:49:35'::timestamp) - extract(epoch from '2026-07-12 04:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.024411 -3.400684)', '2026-07-12 04:49:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024538 -3.400737)'), GeomFromEWKT('SRID=4674;POINT (-39.024411 -3.400684)'))) / (select extract(epoch from '2026-07-12 04:49:43'::timestamp) - extract(epoch from '2026-07-12 04:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024538 -3.400737)'), GeomFromEWKT('SRID=4674;POINT (-39.024411 -3.400684)'))) / (select extract(epoch from '2026-07-12 04:49:43'::timestamp) - extract(epoch from '2026-07-12 04:49:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.024276 -3.400617)', '2026-07-12 04:49:51', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024411 -3.400684)'), GeomFromEWKT('SRID=4674;POINT (-39.024276 -3.400617)'))) / (select extract(epoch from '2026-07-12 04:49:51'::timestamp) - extract(epoch from '2026-07-12 04:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024411 -3.400684)'), GeomFromEWKT('SRID=4674;POINT (-39.024276 -3.400617)'))) / (select extract(epoch from '2026-07-12 04:49:51'::timestamp) - extract(epoch from '2026-07-12 04:49: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'), 47427, 'SRID=4674;POINT (-39.024153 -3.400538)', '2026-07-12 04:49:59', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024276 -3.400617)'), GeomFromEWKT('SRID=4674;POINT (-39.024153 -3.400538)'))) / (select extract(epoch from '2026-07-12 04:49:59'::timestamp) - extract(epoch from '2026-07-12 04:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024276 -3.400617)'), GeomFromEWKT('SRID=4674;POINT (-39.024153 -3.400538)'))) / (select extract(epoch from '2026-07-12 04:49:59'::timestamp) - extract(epoch from '2026-07-12 04:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.023992 -3.400464)', '2026-07-12 04:50:08', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024153 -3.400538)'), GeomFromEWKT('SRID=4674;POINT (-39.023992 -3.400464)'))) / (select extract(epoch from '2026-07-12 04:50:08'::timestamp) - extract(epoch from '2026-07-12 04:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024153 -3.400538)'), GeomFromEWKT('SRID=4674;POINT (-39.023992 -3.400464)'))) / (select extract(epoch from '2026-07-12 04:50:08'::timestamp) - extract(epoch from '2026-07-12 04:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.023843 -3.400386)', '2026-07-12 04:50:16', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023992 -3.400464)'), GeomFromEWKT('SRID=4674;POINT (-39.023843 -3.400386)'))) / (select extract(epoch from '2026-07-12 04:50:16'::timestamp) - extract(epoch from '2026-07-12 04:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023992 -3.400464)'), GeomFromEWKT('SRID=4674;POINT (-39.023843 -3.400386)'))) / (select extract(epoch from '2026-07-12 04:50:16'::timestamp) - extract(epoch from '2026-07-12 04:50:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.023719 -3.40031)', '2026-07-12 04:50:23', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023843 -3.400386)'), GeomFromEWKT('SRID=4674;POINT (-39.023719 -3.40031)'))) / (select extract(epoch from '2026-07-12 04:50:23'::timestamp) - extract(epoch from '2026-07-12 04:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023843 -3.400386)'), GeomFromEWKT('SRID=4674;POINT (-39.023719 -3.40031)'))) / (select extract(epoch from '2026-07-12 04:50:23'::timestamp) - extract(epoch from '2026-07-12 04:50: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'), 47427, 'SRID=4674;POINT (-39.023606 -3.400256)', '2026-07-12 04:50:30', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023719 -3.40031)'), GeomFromEWKT('SRID=4674;POINT (-39.023606 -3.400256)'))) / (select extract(epoch from '2026-07-12 04:50:30'::timestamp) - extract(epoch from '2026-07-12 04:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023719 -3.40031)'), GeomFromEWKT('SRID=4674;POINT (-39.023606 -3.400256)'))) / (select extract(epoch from '2026-07-12 04:50:30'::timestamp) - extract(epoch from '2026-07-12 04:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.023519 -3.400215)', '2026-07-12 04:50:36', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023606 -3.400256)'), GeomFromEWKT('SRID=4674;POINT (-39.023519 -3.400215)'))) / (select extract(epoch from '2026-07-12 04:50:36'::timestamp) - extract(epoch from '2026-07-12 04:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023606 -3.400256)'), GeomFromEWKT('SRID=4674;POINT (-39.023519 -3.400215)'))) / (select extract(epoch from '2026-07-12 04:50:36'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.023397 -3.40015)', '2026-07-12 04:50:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023519 -3.400215)'), GeomFromEWKT('SRID=4674;POINT (-39.023397 -3.40015)'))) / (select extract(epoch from '2026-07-12 04:50:43'::timestamp) - extract(epoch from '2026-07-12 04:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023519 -3.400215)'), GeomFromEWKT('SRID=4674;POINT (-39.023397 -3.40015)'))) / (select extract(epoch from '2026-07-12 04:50:43'::timestamp) - extract(epoch from '2026-07-12 04:50: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'), 47427, 'SRID=4674;POINT (-39.023294 -3.400094)', '2026-07-12 04:50:49', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023397 -3.40015)'), GeomFromEWKT('SRID=4674;POINT (-39.023294 -3.400094)'))) / (select extract(epoch from '2026-07-12 04:50:49'::timestamp) - extract(epoch from '2026-07-12 04:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023397 -3.40015)'), GeomFromEWKT('SRID=4674;POINT (-39.023294 -3.400094)'))) / (select extract(epoch from '2026-07-12 04:50:49'::timestamp) - extract(epoch from '2026-07-12 04:50: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'), 47427, 'SRID=4674;POINT (-39.023168 -3.400036)', '2026-07-12 04:50:56', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023294 -3.400094)'), GeomFromEWKT('SRID=4674;POINT (-39.023168 -3.400036)'))) / (select extract(epoch from '2026-07-12 04:50:56'::timestamp) - extract(epoch from '2026-07-12 04:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023294 -3.400094)'), GeomFromEWKT('SRID=4674;POINT (-39.023168 -3.400036)'))) / (select extract(epoch from '2026-07-12 04:50:56'::timestamp) - extract(epoch from '2026-07-12 04:50: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'), 47427, 'SRID=4674;POINT (-39.023023 -3.399951)', '2026-07-12 04:51:05', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023168 -3.400036)'), GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.399951)'))) / (select extract(epoch from '2026-07-12 04:51:05'::timestamp) - extract(epoch from '2026-07-12 04:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023168 -3.400036)'), GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.399951)'))) / (select extract(epoch from '2026-07-12 04:51:05'::timestamp) - extract(epoch from '2026-07-12 04:50: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'), 47427, 'SRID=4674;POINT (-39.02288 -3.399874)', '2026-07-12 04:51:14', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.399951)'), GeomFromEWKT('SRID=4674;POINT (-39.02288 -3.399874)'))) / (select extract(epoch from '2026-07-12 04:51:14'::timestamp) - extract(epoch from '2026-07-12 04:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023023 -3.399951)'), GeomFromEWKT('SRID=4674;POINT (-39.02288 -3.399874)'))) / (select extract(epoch from '2026-07-12 04:51:14'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.02277 -3.399809)', '2026-07-12 04:51:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02288 -3.399874)'), GeomFromEWKT('SRID=4674;POINT (-39.02277 -3.399809)'))) / (select extract(epoch from '2026-07-12 04:51:22'::timestamp) - extract(epoch from '2026-07-12 04:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02288 -3.399874)'), GeomFromEWKT('SRID=4674;POINT (-39.02277 -3.399809)'))) / (select extract(epoch from '2026-07-12 04:51:22'::timestamp) - extract(epoch from '2026-07-12 04:51: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'), 47427, 'SRID=4674;POINT (-39.02264 -3.399727)', '2026-07-12 04:51:30', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02277 -3.399809)'), GeomFromEWKT('SRID=4674;POINT (-39.02264 -3.399727)'))) / (select extract(epoch from '2026-07-12 04:51:30'::timestamp) - extract(epoch from '2026-07-12 04:51:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02277 -3.399809)'), GeomFromEWKT('SRID=4674;POINT (-39.02264 -3.399727)'))) / (select extract(epoch from '2026-07-12 04:51:30'::timestamp) - extract(epoch from '2026-07-12 04:51: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'), 47427, 'SRID=4674;POINT (-39.022516 -3.399644)', '2026-07-12 04:51:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02264 -3.399727)'), GeomFromEWKT('SRID=4674;POINT (-39.022516 -3.399644)'))) / (select extract(epoch from '2026-07-12 04:51:37'::timestamp) - extract(epoch from '2026-07-12 04:51:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02264 -3.399727)'), GeomFromEWKT('SRID=4674;POINT (-39.022516 -3.399644)'))) / (select extract(epoch from '2026-07-12 04:51:37'::timestamp) - extract(epoch from '2026-07-12 04:51: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'), 47427, 'SRID=4674;POINT (-39.022384 -3.399578)', '2026-07-12 04:51:44', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022516 -3.399644)'), GeomFromEWKT('SRID=4674;POINT (-39.022384 -3.399578)'))) / (select extract(epoch from '2026-07-12 04:51:44'::timestamp) - extract(epoch from '2026-07-12 04:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022516 -3.399644)'), GeomFromEWKT('SRID=4674;POINT (-39.022384 -3.399578)'))) / (select extract(epoch from '2026-07-12 04:51:44'::timestamp) - extract(epoch from '2026-07-12 04:51:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.022219 -3.399475)', '2026-07-12 04:51:53', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022384 -3.399578)'), GeomFromEWKT('SRID=4674;POINT (-39.022219 -3.399475)'))) / (select extract(epoch from '2026-07-12 04:51:53'::timestamp) - extract(epoch from '2026-07-12 04:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022384 -3.399578)'), GeomFromEWKT('SRID=4674;POINT (-39.022219 -3.399475)'))) / (select extract(epoch from '2026-07-12 04:51:53'::timestamp) - extract(epoch from '2026-07-12 04:51:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.022103 -3.399392)', '2026-07-12 04:52:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022219 -3.399475)'), GeomFromEWKT('SRID=4674;POINT (-39.022103 -3.399392)'))) / (select extract(epoch from '2026-07-12 04:52:01'::timestamp) - extract(epoch from '2026-07-12 04:51:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022219 -3.399475)'), GeomFromEWKT('SRID=4674;POINT (-39.022103 -3.399392)'))) / (select extract(epoch from '2026-07-12 04:52:01'::timestamp) - extract(epoch from '2026-07-12 04:51:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.021957 -3.399313)', '2026-07-12 04:52:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022103 -3.399392)'), GeomFromEWKT('SRID=4674;POINT (-39.021957 -3.399313)'))) / (select extract(epoch from '2026-07-12 04:52:09'::timestamp) - extract(epoch from '2026-07-12 04:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022103 -3.399392)'), GeomFromEWKT('SRID=4674;POINT (-39.021957 -3.399313)'))) / (select extract(epoch from '2026-07-12 04:52:09'::timestamp) - extract(epoch from '2026-07-12 04:52:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.021807 -3.399227)', '2026-07-12 04:52:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021957 -3.399313)'), GeomFromEWKT('SRID=4674;POINT (-39.021807 -3.399227)'))) / (select extract(epoch from '2026-07-12 04:52:18'::timestamp) - extract(epoch from '2026-07-12 04:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021957 -3.399313)'), GeomFromEWKT('SRID=4674;POINT (-39.021807 -3.399227)'))) / (select extract(epoch from '2026-07-12 04:52:18'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.021706 -3.39917)', '2026-07-12 04:52:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021807 -3.399227)'), GeomFromEWKT('SRID=4674;POINT (-39.021706 -3.39917)'))) / (select extract(epoch from '2026-07-12 04:52:24'::timestamp) - extract(epoch from '2026-07-12 04:52:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021807 -3.399227)'), GeomFromEWKT('SRID=4674;POINT (-39.021706 -3.39917)'))) / (select extract(epoch from '2026-07-12 04:52:24'::timestamp) - extract(epoch from '2026-07-12 04:52: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'), 47427, 'SRID=4674;POINT (-39.021612 -3.399125)', '2026-07-12 04:52:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021706 -3.39917)'), GeomFromEWKT('SRID=4674;POINT (-39.021612 -3.399125)'))) / (select extract(epoch from '2026-07-12 04:52:29'::timestamp) - extract(epoch from '2026-07-12 04:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021706 -3.39917)'), GeomFromEWKT('SRID=4674;POINT (-39.021612 -3.399125)'))) / (select extract(epoch from '2026-07-12 04:52:29'::timestamp) - extract(epoch from '2026-07-12 04:52: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'), 47427, 'SRID=4674;POINT (-39.021505 -3.39905)', '2026-07-12 04:52:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021612 -3.399125)'), GeomFromEWKT('SRID=4674;POINT (-39.021505 -3.39905)'))) / (select extract(epoch from '2026-07-12 04:52:36'::timestamp) - extract(epoch from '2026-07-12 04:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021612 -3.399125)'), GeomFromEWKT('SRID=4674;POINT (-39.021505 -3.39905)'))) / (select extract(epoch from '2026-07-12 04:52:36'::timestamp) - extract(epoch from '2026-07-12 04:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.02139 -3.398988)', '2026-07-12 04:52:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021505 -3.39905)'), GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.398988)'))) / (select extract(epoch from '2026-07-12 04:52:43'::timestamp) - extract(epoch from '2026-07-12 04:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021505 -3.39905)'), GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.398988)'))) / (select extract(epoch from '2026-07-12 04:52:43'::timestamp) - extract(epoch from '2026-07-12 04:52: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'), 47427, 'SRID=4674;POINT (-39.021279 -3.398918)', '2026-07-12 04:52:50', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.398988)'), GeomFromEWKT('SRID=4674;POINT (-39.021279 -3.398918)'))) / (select extract(epoch from '2026-07-12 04:52:50'::timestamp) - extract(epoch from '2026-07-12 04:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02139 -3.398988)'), GeomFromEWKT('SRID=4674;POINT (-39.021279 -3.398918)'))) / (select extract(epoch from '2026-07-12 04:52:50'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.021148 -3.398844)', '2026-07-12 04:52:58', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021279 -3.398918)'), GeomFromEWKT('SRID=4674;POINT (-39.021148 -3.398844)'))) / (select extract(epoch from '2026-07-12 04:52:58'::timestamp) - extract(epoch from '2026-07-12 04:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021279 -3.398918)'), GeomFromEWKT('SRID=4674;POINT (-39.021148 -3.398844)'))) / (select extract(epoch from '2026-07-12 04:52:58'::timestamp) - extract(epoch from '2026-07-12 04:52:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.021017 -3.398781)', '2026-07-12 04:53:06', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021148 -3.398844)'), GeomFromEWKT('SRID=4674;POINT (-39.021017 -3.398781)'))) / (select extract(epoch from '2026-07-12 04:53:06'::timestamp) - extract(epoch from '2026-07-12 04:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021148 -3.398844)'), GeomFromEWKT('SRID=4674;POINT (-39.021017 -3.398781)'))) / (select extract(epoch from '2026-07-12 04:53:06'::timestamp) - extract(epoch from '2026-07-12 04:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.020896 -3.398725)', '2026-07-12 04:53:13', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021017 -3.398781)'), GeomFromEWKT('SRID=4674;POINT (-39.020896 -3.398725)'))) / (select extract(epoch from '2026-07-12 04:53:13'::timestamp) - extract(epoch from '2026-07-12 04:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021017 -3.398781)'), GeomFromEWKT('SRID=4674;POINT (-39.020896 -3.398725)'))) / (select extract(epoch from '2026-07-12 04:53:13'::timestamp) - extract(epoch from '2026-07-12 04:53: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'), 47427, 'SRID=4674;POINT (-39.020791 -3.398653)', '2026-07-12 04:53:20', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020896 -3.398725)'), GeomFromEWKT('SRID=4674;POINT (-39.020791 -3.398653)'))) / (select extract(epoch from '2026-07-12 04:53:20'::timestamp) - extract(epoch from '2026-07-12 04:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020896 -3.398725)'), GeomFromEWKT('SRID=4674;POINT (-39.020791 -3.398653)'))) / (select extract(epoch from '2026-07-12 04:53:20'::timestamp) - extract(epoch from '2026-07-12 04:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.020663 -3.398577)', '2026-07-12 04:53:28', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020791 -3.398653)'), GeomFromEWKT('SRID=4674;POINT (-39.020663 -3.398577)'))) / (select extract(epoch from '2026-07-12 04:53:28'::timestamp) - extract(epoch from '2026-07-12 04:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020791 -3.398653)'), GeomFromEWKT('SRID=4674;POINT (-39.020663 -3.398577)'))) / (select extract(epoch from '2026-07-12 04:53:28'::timestamp) - extract(epoch from '2026-07-12 04:53: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'), 47427, 'SRID=4674;POINT (-39.020512 -3.398495)', '2026-07-12 04:53:37', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020663 -3.398577)'), GeomFromEWKT('SRID=4674;POINT (-39.020512 -3.398495)'))) / (select extract(epoch from '2026-07-12 04:53:37'::timestamp) - extract(epoch from '2026-07-12 04:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020663 -3.398577)'), GeomFromEWKT('SRID=4674;POINT (-39.020512 -3.398495)'))) / (select extract(epoch from '2026-07-12 04:53:37'::timestamp) - extract(epoch from '2026-07-12 04:53:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.020368 -3.39842)', '2026-07-12 04:53:45', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020512 -3.398495)'), GeomFromEWKT('SRID=4674;POINT (-39.020368 -3.39842)'))) / (select extract(epoch from '2026-07-12 04:53:45'::timestamp) - extract(epoch from '2026-07-12 04:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020512 -3.398495)'), GeomFromEWKT('SRID=4674;POINT (-39.020368 -3.39842)'))) / (select extract(epoch from '2026-07-12 04:53:45'::timestamp) - extract(epoch from '2026-07-12 04:53: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'), 47427, 'SRID=4674;POINT (-39.020234 -3.398347)', '2026-07-12 04:53:52', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020368 -3.39842)'), GeomFromEWKT('SRID=4674;POINT (-39.020234 -3.398347)'))) / (select extract(epoch from '2026-07-12 04:53:52'::timestamp) - extract(epoch from '2026-07-12 04:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020368 -3.39842)'), GeomFromEWKT('SRID=4674;POINT (-39.020234 -3.398347)'))) / (select extract(epoch from '2026-07-12 04:53:52'::timestamp) - extract(epoch from '2026-07-12 04:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.020092 -3.398247)', '2026-07-12 04:54:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020234 -3.398347)'), GeomFromEWKT('SRID=4674;POINT (-39.020092 -3.398247)'))) / (select extract(epoch from '2026-07-12 04:54:01'::timestamp) - extract(epoch from '2026-07-12 04:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020234 -3.398347)'), GeomFromEWKT('SRID=4674;POINT (-39.020092 -3.398247)'))) / (select extract(epoch from '2026-07-12 04:54:01'::timestamp) - extract(epoch from '2026-07-12 04:53: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'), 47427, 'SRID=4674;POINT (-39.019963 -3.39817)', '2026-07-12 04:54:09', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020092 -3.398247)'), GeomFromEWKT('SRID=4674;POINT (-39.019963 -3.39817)'))) / (select extract(epoch from '2026-07-12 04:54:09'::timestamp) - extract(epoch from '2026-07-12 04:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020092 -3.398247)'), GeomFromEWKT('SRID=4674;POINT (-39.019963 -3.39817)'))) / (select extract(epoch from '2026-07-12 04:54:09'::timestamp) - extract(epoch from '2026-07-12 04:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.019872 -3.398128)', '2026-07-12 04:54:14', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019963 -3.39817)'), GeomFromEWKT('SRID=4674;POINT (-39.019872 -3.398128)'))) / (select extract(epoch from '2026-07-12 04:54:14'::timestamp) - extract(epoch from '2026-07-12 04:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019963 -3.39817)'), GeomFromEWKT('SRID=4674;POINT (-39.019872 -3.398128)'))) / (select extract(epoch from '2026-07-12 04:54:14'::timestamp) - extract(epoch from '2026-07-12 04:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.01975 -3.398061)', '2026-07-12 04:54:22', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019872 -3.398128)'), GeomFromEWKT('SRID=4674;POINT (-39.01975 -3.398061)'))) / (select extract(epoch from '2026-07-12 04:54:22'::timestamp) - extract(epoch from '2026-07-12 04:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019872 -3.398128)'), GeomFromEWKT('SRID=4674;POINT (-39.01975 -3.398061)'))) / (select extract(epoch from '2026-07-12 04:54:22'::timestamp) - extract(epoch from '2026-07-12 04:54: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'), 47427, 'SRID=4674;POINT (-39.019609 -3.397971)', '2026-07-12 04:54:31', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01975 -3.398061)'), GeomFromEWKT('SRID=4674;POINT (-39.019609 -3.397971)'))) / (select extract(epoch from '2026-07-12 04:54:31'::timestamp) - extract(epoch from '2026-07-12 04:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01975 -3.398061)'), GeomFromEWKT('SRID=4674;POINT (-39.019609 -3.397971)'))) / (select extract(epoch from '2026-07-12 04:54:31'::timestamp) - extract(epoch from '2026-07-12 04:54: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'), 47427, 'SRID=4674;POINT (-39.019444 -3.397888)', '2026-07-12 04:54:40', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019609 -3.397971)'), GeomFromEWKT('SRID=4674;POINT (-39.019444 -3.397888)'))) / (select extract(epoch from '2026-07-12 04:54:40'::timestamp) - extract(epoch from '2026-07-12 04:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019609 -3.397971)'), GeomFromEWKT('SRID=4674;POINT (-39.019444 -3.397888)'))) / (select extract(epoch from '2026-07-12 04:54:40'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.019301 -3.397816)', '2026-07-12 04:54:48', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019444 -3.397888)'), GeomFromEWKT('SRID=4674;POINT (-39.019301 -3.397816)'))) / (select extract(epoch from '2026-07-12 04:54:48'::timestamp) - extract(epoch from '2026-07-12 04:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019444 -3.397888)'), GeomFromEWKT('SRID=4674;POINT (-39.019301 -3.397816)'))) / (select extract(epoch from '2026-07-12 04:54:48'::timestamp) - extract(epoch from '2026-07-12 04:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.01913 -3.397752)', '2026-07-12 04:54:57', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019301 -3.397816)'), GeomFromEWKT('SRID=4674;POINT (-39.01913 -3.397752)'))) / (select extract(epoch from '2026-07-12 04:54:57'::timestamp) - extract(epoch from '2026-07-12 04:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019301 -3.397816)'), GeomFromEWKT('SRID=4674;POINT (-39.01913 -3.397752)'))) / (select extract(epoch from '2026-07-12 04:54:57'::timestamp) - extract(epoch from '2026-07-12 04:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.019105 -3.397744)', '2026-07-12 04:54:58', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01913 -3.397752)'), GeomFromEWKT('SRID=4674;POINT (-39.019105 -3.397744)'))) / (select extract(epoch from '2026-07-12 04:54:58'::timestamp) - extract(epoch from '2026-07-12 04:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01913 -3.397752)'), GeomFromEWKT('SRID=4674;POINT (-39.019105 -3.397744)'))) / (select extract(epoch from '2026-07-12 04:54:58'::timestamp) - extract(epoch from '2026-07-12 04:54: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'), 47427, 'SRID=4674;POINT (-39.018983 -3.397695)', '2026-07-12 04:55:06', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019105 -3.397744)'), GeomFromEWKT('SRID=4674;POINT (-39.018983 -3.397695)'))) / (select extract(epoch from '2026-07-12 04:55:06'::timestamp) - extract(epoch from '2026-07-12 04:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019105 -3.397744)'), GeomFromEWKT('SRID=4674;POINT (-39.018983 -3.397695)'))) / (select extract(epoch from '2026-07-12 04:55:06'::timestamp) - extract(epoch from '2026-07-12 04:54: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'), 47427, 'SRID=4674;POINT (-39.018833 -3.397643)', '2026-07-12 04:55:14', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018983 -3.397695)'), GeomFromEWKT('SRID=4674;POINT (-39.018833 -3.397643)'))) / (select extract(epoch from '2026-07-12 04:55:14'::timestamp) - extract(epoch from '2026-07-12 04:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018983 -3.397695)'), GeomFromEWKT('SRID=4674;POINT (-39.018833 -3.397643)'))) / (select extract(epoch from '2026-07-12 04:55:14'::timestamp) - extract(epoch from '2026-07-12 04:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.01873 -3.397588)', '2026-07-12 04:55:21', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018833 -3.397643)'), GeomFromEWKT('SRID=4674;POINT (-39.01873 -3.397588)'))) / (select extract(epoch from '2026-07-12 04:55:21'::timestamp) - extract(epoch from '2026-07-12 04:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018833 -3.397643)'), GeomFromEWKT('SRID=4674;POINT (-39.01873 -3.397588)'))) / (select extract(epoch from '2026-07-12 04:55:21'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.01863 -3.397528)', '2026-07-12 04:55:28', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01873 -3.397588)'), GeomFromEWKT('SRID=4674;POINT (-39.01863 -3.397528)'))) / (select extract(epoch from '2026-07-12 04:55:28'::timestamp) - extract(epoch from '2026-07-12 04:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01873 -3.397588)'), GeomFromEWKT('SRID=4674;POINT (-39.01863 -3.397528)'))) / (select extract(epoch from '2026-07-12 04:55:28'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.018466 -3.397489)', '2026-07-12 04:55:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01863 -3.397528)'), GeomFromEWKT('SRID=4674;POINT (-39.018466 -3.397489)'))) / (select extract(epoch from '2026-07-12 04:55:36'::timestamp) - extract(epoch from '2026-07-12 04:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01863 -3.397528)'), GeomFromEWKT('SRID=4674;POINT (-39.018466 -3.397489)'))) / (select extract(epoch from '2026-07-12 04:55:36'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.018335 -3.39744)', '2026-07-12 04:55:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018466 -3.397489)'), GeomFromEWKT('SRID=4674;POINT (-39.018335 -3.39744)'))) / (select extract(epoch from '2026-07-12 04:55:43'::timestamp) - extract(epoch from '2026-07-12 04:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018466 -3.397489)'), GeomFromEWKT('SRID=4674;POINT (-39.018335 -3.39744)'))) / (select extract(epoch from '2026-07-12 04:55:43'::timestamp) - extract(epoch from '2026-07-12 04:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.01823 -3.397394)', '2026-07-12 04:55:50', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018335 -3.39744)'), GeomFromEWKT('SRID=4674;POINT (-39.01823 -3.397394)'))) / (select extract(epoch from '2026-07-12 04:55:50'::timestamp) - extract(epoch from '2026-07-12 04:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018335 -3.39744)'), GeomFromEWKT('SRID=4674;POINT (-39.01823 -3.397394)'))) / (select extract(epoch from '2026-07-12 04:55:50'::timestamp) - extract(epoch from '2026-07-12 04:55: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'), 47427, 'SRID=4674;POINT (-39.018064 -3.397346)', '2026-07-12 04:55:58', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01823 -3.397394)'), GeomFromEWKT('SRID=4674;POINT (-39.018064 -3.397346)'))) / (select extract(epoch from '2026-07-12 04:55:58'::timestamp) - extract(epoch from '2026-07-12 04:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01823 -3.397394)'), GeomFromEWKT('SRID=4674;POINT (-39.018064 -3.397346)'))) / (select extract(epoch from '2026-07-12 04:55:58'::timestamp) - extract(epoch from '2026-07-12 04:55: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'), 47427, 'SRID=4674;POINT (-39.017952 -3.397294)', '2026-07-12 04:56:05', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018064 -3.397346)'), GeomFromEWKT('SRID=4674;POINT (-39.017952 -3.397294)'))) / (select extract(epoch from '2026-07-12 04:56:05'::timestamp) - extract(epoch from '2026-07-12 04:55:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.018064 -3.397346)'), GeomFromEWKT('SRID=4674;POINT (-39.017952 -3.397294)'))) / (select extract(epoch from '2026-07-12 04:56:05'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.017818 -3.39725)', '2026-07-12 04:56:13', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017952 -3.397294)'), GeomFromEWKT('SRID=4674;POINT (-39.017818 -3.39725)'))) / (select extract(epoch from '2026-07-12 04:56:13'::timestamp) - extract(epoch from '2026-07-12 04:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017952 -3.397294)'), GeomFromEWKT('SRID=4674;POINT (-39.017818 -3.39725)'))) / (select extract(epoch from '2026-07-12 04:56:13'::timestamp) - extract(epoch from '2026-07-12 04:56: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'), 47427, 'SRID=4674;POINT (-39.017702 -3.397203)', '2026-07-12 04:56:20', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017818 -3.39725)'), GeomFromEWKT('SRID=4674;POINT (-39.017702 -3.397203)'))) / (select extract(epoch from '2026-07-12 04:56:20'::timestamp) - extract(epoch from '2026-07-12 04:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017818 -3.39725)'), GeomFromEWKT('SRID=4674;POINT (-39.017702 -3.397203)'))) / (select extract(epoch from '2026-07-12 04:56:20'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.017556 -3.39715)', '2026-07-12 04:56:28', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017702 -3.397203)'), GeomFromEWKT('SRID=4674;POINT (-39.017556 -3.39715)'))) / (select extract(epoch from '2026-07-12 04:56:28'::timestamp) - extract(epoch from '2026-07-12 04:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017702 -3.397203)'), GeomFromEWKT('SRID=4674;POINT (-39.017556 -3.39715)'))) / (select extract(epoch from '2026-07-12 04:56:28'::timestamp) - extract(epoch from '2026-07-12 04:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.017411 -3.397083)', '2026-07-12 04:56:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017556 -3.39715)'), GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.397083)'))) / (select extract(epoch from '2026-07-12 04:56:36'::timestamp) - extract(epoch from '2026-07-12 04:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017556 -3.39715)'), GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.397083)'))) / (select extract(epoch from '2026-07-12 04:56:36'::timestamp) - extract(epoch from '2026-07-12 04:56: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'), 47427, 'SRID=4674;POINT (-39.017284 -3.397025)', '2026-07-12 04:56:44', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.397083)'), GeomFromEWKT('SRID=4674;POINT (-39.017284 -3.397025)'))) / (select extract(epoch from '2026-07-12 04:56:44'::timestamp) - extract(epoch from '2026-07-12 04:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017411 -3.397083)'), GeomFromEWKT('SRID=4674;POINT (-39.017284 -3.397025)'))) / (select extract(epoch from '2026-07-12 04:56:44'::timestamp) - extract(epoch from '2026-07-12 04:56: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'), 47427, 'SRID=4674;POINT (-39.017141 -3.396976)', '2026-07-12 04:56:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017284 -3.397025)'), GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.396976)'))) / (select extract(epoch from '2026-07-12 04:56:52'::timestamp) - extract(epoch from '2026-07-12 04:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017284 -3.397025)'), GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.396976)'))) / (select extract(epoch from '2026-07-12 04:56:52'::timestamp) - extract(epoch from '2026-07-12 04:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.017014 -3.396925)', '2026-07-12 04:56:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.396976)'), GeomFromEWKT('SRID=4674;POINT (-39.017014 -3.396925)'))) / (select extract(epoch from '2026-07-12 04:56:59'::timestamp) - extract(epoch from '2026-07-12 04:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017141 -3.396976)'), GeomFromEWKT('SRID=4674;POINT (-39.017014 -3.396925)'))) / (select extract(epoch from '2026-07-12 04:56:59'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.016892 -3.39684)', '2026-07-12 04:57:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017014 -3.396925)'), GeomFromEWKT('SRID=4674;POINT (-39.016892 -3.39684)'))) / (select extract(epoch from '2026-07-12 04:57:05'::timestamp) - extract(epoch from '2026-07-12 04:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.017014 -3.396925)'), GeomFromEWKT('SRID=4674;POINT (-39.016892 -3.39684)'))) / (select extract(epoch from '2026-07-12 04:57:05'::timestamp) - extract(epoch from '2026-07-12 04:56: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'), 47427, 'SRID=4674;POINT (-39.016751 -3.396754)', '2026-07-12 04:57:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016892 -3.39684)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.396754)'))) / (select extract(epoch from '2026-07-12 04:57:13'::timestamp) - extract(epoch from '2026-07-12 04:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016892 -3.39684)'), GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.396754)'))) / (select extract(epoch from '2026-07-12 04:57:13'::timestamp) - extract(epoch from '2026-07-12 04:57:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.016597 -3.396681)', '2026-07-12 04:57:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.396754)'), GeomFromEWKT('SRID=4674;POINT (-39.016597 -3.396681)'))) / (select extract(epoch from '2026-07-12 04:57:20'::timestamp) - extract(epoch from '2026-07-12 04:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016751 -3.396754)'), GeomFromEWKT('SRID=4674;POINT (-39.016597 -3.396681)'))) / (select extract(epoch from '2026-07-12 04:57:20'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.016457 -3.396631)', '2026-07-12 04:57:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016597 -3.396681)'), GeomFromEWKT('SRID=4674;POINT (-39.016457 -3.396631)'))) / (select extract(epoch from '2026-07-12 04:57:26'::timestamp) - extract(epoch from '2026-07-12 04:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016597 -3.396681)'), GeomFromEWKT('SRID=4674;POINT (-39.016457 -3.396631)'))) / (select extract(epoch from '2026-07-12 04:57:26'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.016305 -3.396562)', '2026-07-12 04:57:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016457 -3.396631)'), GeomFromEWKT('SRID=4674;POINT (-39.016305 -3.396562)'))) / (select extract(epoch from '2026-07-12 04:57:34'::timestamp) - extract(epoch from '2026-07-12 04:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016457 -3.396631)'), GeomFromEWKT('SRID=4674;POINT (-39.016305 -3.396562)'))) / (select extract(epoch from '2026-07-12 04:57:34'::timestamp) - extract(epoch from '2026-07-12 04:57: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'), 47427, 'SRID=4674;POINT (-39.016142 -3.396481)', '2026-07-12 04:57:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016305 -3.396562)'), GeomFromEWKT('SRID=4674;POINT (-39.016142 -3.396481)'))) / (select extract(epoch from '2026-07-12 04:57:43'::timestamp) - extract(epoch from '2026-07-12 04:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016305 -3.396562)'), GeomFromEWKT('SRID=4674;POINT (-39.016142 -3.396481)'))) / (select extract(epoch from '2026-07-12 04:57:43'::timestamp) - extract(epoch from '2026-07-12 04:57: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'), 47427, 'SRID=4674;POINT (-39.015991 -3.396424)', '2026-07-12 04:57:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016142 -3.396481)'), GeomFromEWKT('SRID=4674;POINT (-39.015991 -3.396424)'))) / (select extract(epoch from '2026-07-12 04:57:51'::timestamp) - extract(epoch from '2026-07-12 04:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.016142 -3.396481)'), GeomFromEWKT('SRID=4674;POINT (-39.015991 -3.396424)'))) / (select extract(epoch from '2026-07-12 04:57:51'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.015893 -3.396379)', '2026-07-12 04:57:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015991 -3.396424)'), GeomFromEWKT('SRID=4674;POINT (-39.015893 -3.396379)'))) / (select extract(epoch from '2026-07-12 04:57:57'::timestamp) - extract(epoch from '2026-07-12 04:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015991 -3.396424)'), GeomFromEWKT('SRID=4674;POINT (-39.015893 -3.396379)'))) / (select extract(epoch from '2026-07-12 04:57:57'::timestamp) - extract(epoch from '2026-07-12 04:57:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.015734 -3.396278)', '2026-07-12 04:58:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015893 -3.396379)'), GeomFromEWKT('SRID=4674;POINT (-39.015734 -3.396278)'))) / (select extract(epoch from '2026-07-12 04:58:06'::timestamp) - extract(epoch from '2026-07-12 04:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015893 -3.396379)'), GeomFromEWKT('SRID=4674;POINT (-39.015734 -3.396278)'))) / (select extract(epoch from '2026-07-12 04:58:06'::timestamp) - extract(epoch from '2026-07-12 04:57: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'), 47427, 'SRID=4674;POINT (-39.015574 -3.396193)', '2026-07-12 04:58:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015734 -3.396278)'), GeomFromEWKT('SRID=4674;POINT (-39.015574 -3.396193)'))) / (select extract(epoch from '2026-07-12 04:58:14'::timestamp) - extract(epoch from '2026-07-12 04:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015734 -3.396278)'), GeomFromEWKT('SRID=4674;POINT (-39.015574 -3.396193)'))) / (select extract(epoch from '2026-07-12 04:58:14'::timestamp) - extract(epoch from '2026-07-12 04:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.015558 -3.396181)', '2026-07-12 04:58:15', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015574 -3.396193)'), GeomFromEWKT('SRID=4674;POINT (-39.015558 -3.396181)'))) / (select extract(epoch from '2026-07-12 04:58:15'::timestamp) - extract(epoch from '2026-07-12 04:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015574 -3.396193)'), GeomFromEWKT('SRID=4674;POINT (-39.015558 -3.396181)'))) / (select extract(epoch from '2026-07-12 04:58:15'::timestamp) - extract(epoch from '2026-07-12 04:58: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'), 47427, 'SRID=4674;POINT (-39.015456 -3.396113)', '2026-07-12 04:58:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015558 -3.396181)'), GeomFromEWKT('SRID=4674;POINT (-39.015456 -3.396113)'))) / (select extract(epoch from '2026-07-12 04:58:21'::timestamp) - extract(epoch from '2026-07-12 04:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015558 -3.396181)'), GeomFromEWKT('SRID=4674;POINT (-39.015456 -3.396113)'))) / (select extract(epoch from '2026-07-12 04:58:21'::timestamp) - extract(epoch from '2026-07-12 04:58: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'), 47427, 'SRID=4674;POINT (-39.015307 -3.395998)', '2026-07-12 04:58:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015456 -3.396113)'), GeomFromEWKT('SRID=4674;POINT (-39.015307 -3.395998)'))) / (select extract(epoch from '2026-07-12 04:58:30'::timestamp) - extract(epoch from '2026-07-12 04:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015456 -3.396113)'), GeomFromEWKT('SRID=4674;POINT (-39.015307 -3.395998)'))) / (select extract(epoch from '2026-07-12 04:58:30'::timestamp) - extract(epoch from '2026-07-12 04:58: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'), 47427, 'SRID=4674;POINT (-39.015177 -3.395926)', '2026-07-12 04:58:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015307 -3.395998)'), GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.395926)'))) / (select extract(epoch from '2026-07-12 04:58:37'::timestamp) - extract(epoch from '2026-07-12 04:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015307 -3.395998)'), GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.395926)'))) / (select extract(epoch from '2026-07-12 04:58:37'::timestamp) - extract(epoch from '2026-07-12 04:58: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'), 47427, 'SRID=4674;POINT (-39.01503 -3.395845)', '2026-07-12 04:58:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.395926)'), GeomFromEWKT('SRID=4674;POINT (-39.01503 -3.395845)'))) / (select extract(epoch from '2026-07-12 04:58:46'::timestamp) - extract(epoch from '2026-07-12 04:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.015177 -3.395926)'), GeomFromEWKT('SRID=4674;POINT (-39.01503 -3.395845)'))) / (select extract(epoch from '2026-07-12 04:58:46'::timestamp) - extract(epoch from '2026-07-12 04:58: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'), 47427, 'SRID=4674;POINT (-39.014907 -3.39575)', '2026-07-12 04:58:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01503 -3.395845)'), GeomFromEWKT('SRID=4674;POINT (-39.014907 -3.39575)'))) / (select extract(epoch from '2026-07-12 04:58:54'::timestamp) - extract(epoch from '2026-07-12 04:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01503 -3.395845)'), GeomFromEWKT('SRID=4674;POINT (-39.014907 -3.39575)'))) / (select extract(epoch from '2026-07-12 04:58:54'::timestamp) - extract(epoch from '2026-07-12 04:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.014803 -3.395652)', '2026-07-12 04:59:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014907 -3.39575)'), GeomFromEWKT('SRID=4674;POINT (-39.014803 -3.395652)'))) / (select extract(epoch from '2026-07-12 04:59:01'::timestamp) - extract(epoch from '2026-07-12 04:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014907 -3.39575)'), GeomFromEWKT('SRID=4674;POINT (-39.014803 -3.395652)'))) / (select extract(epoch from '2026-07-12 04:59:01'::timestamp) - extract(epoch from '2026-07-12 04:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.014662 -3.395555)', '2026-07-12 04:59:09', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014803 -3.395652)'), GeomFromEWKT('SRID=4674;POINT (-39.014662 -3.395555)'))) / (select extract(epoch from '2026-07-12 04:59:09'::timestamp) - extract(epoch from '2026-07-12 04:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014803 -3.395652)'), GeomFromEWKT('SRID=4674;POINT (-39.014662 -3.395555)'))) / (select extract(epoch from '2026-07-12 04:59:09'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.014534 -3.395468)', '2026-07-12 04:59:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014662 -3.395555)'), GeomFromEWKT('SRID=4674;POINT (-39.014534 -3.395468)'))) / (select extract(epoch from '2026-07-12 04:59:17'::timestamp) - extract(epoch from '2026-07-12 04:59:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014662 -3.395555)'), GeomFromEWKT('SRID=4674;POINT (-39.014534 -3.395468)'))) / (select extract(epoch from '2026-07-12 04:59:17'::timestamp) - extract(epoch from '2026-07-12 04:59: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'), 47427, 'SRID=4674;POINT (-39.014381 -3.395369)', '2026-07-12 04:59:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014534 -3.395468)'), GeomFromEWKT('SRID=4674;POINT (-39.014381 -3.395369)'))) / (select extract(epoch from '2026-07-12 04:59:26'::timestamp) - extract(epoch from '2026-07-12 04:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014534 -3.395468)'), GeomFromEWKT('SRID=4674;POINT (-39.014381 -3.395369)'))) / (select extract(epoch from '2026-07-12 04:59:26'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.014368 -3.395356)', '2026-07-12 04:59:27', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014381 -3.395369)'), GeomFromEWKT('SRID=4674;POINT (-39.014368 -3.395356)'))) / (select extract(epoch from '2026-07-12 04:59:27'::timestamp) - extract(epoch from '2026-07-12 04:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014381 -3.395369)'), GeomFromEWKT('SRID=4674;POINT (-39.014368 -3.395356)'))) / (select extract(epoch from '2026-07-12 04:59:27'::timestamp) - extract(epoch from '2026-07-12 04:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.014203 -3.395256)', '2026-07-12 04:59:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014368 -3.395356)'), GeomFromEWKT('SRID=4674;POINT (-39.014203 -3.395256)'))) / (select extract(epoch from '2026-07-12 04:59:36'::timestamp) - extract(epoch from '2026-07-12 04:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014368 -3.395356)'), GeomFromEWKT('SRID=4674;POINT (-39.014203 -3.395256)'))) / (select extract(epoch from '2026-07-12 04:59:36'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.014037 -3.395172)', '2026-07-12 04:59:44', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014203 -3.395256)'), GeomFromEWKT('SRID=4674;POINT (-39.014037 -3.395172)'))) / (select extract(epoch from '2026-07-12 04:59:44'::timestamp) - extract(epoch from '2026-07-12 04:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014203 -3.395256)'), GeomFromEWKT('SRID=4674;POINT (-39.014037 -3.395172)'))) / (select extract(epoch from '2026-07-12 04:59:44'::timestamp) - extract(epoch from '2026-07-12 04:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.013941 -3.395116)', '2026-07-12 04:59:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014037 -3.395172)'), GeomFromEWKT('SRID=4674;POINT (-39.013941 -3.395116)'))) / (select extract(epoch from '2026-07-12 04:59:50'::timestamp) - extract(epoch from '2026-07-12 04:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.014037 -3.395172)'), GeomFromEWKT('SRID=4674;POINT (-39.013941 -3.395116)'))) / (select extract(epoch from '2026-07-12 04:59:50'::timestamp) - extract(epoch from '2026-07-12 04:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.013824 -3.395037)', '2026-07-12 04:59:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013941 -3.395116)'), GeomFromEWKT('SRID=4674;POINT (-39.013824 -3.395037)'))) / (select extract(epoch from '2026-07-12 04:59:57'::timestamp) - extract(epoch from '2026-07-12 04:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013941 -3.395116)'), GeomFromEWKT('SRID=4674;POINT (-39.013824 -3.395037)'))) / (select extract(epoch from '2026-07-12 04:59:57'::timestamp) - extract(epoch from '2026-07-12 04: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'), 47427, 'SRID=4674;POINT (-39.013687 -3.39496)', '2026-07-12 05:00:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013824 -3.395037)'), GeomFromEWKT('SRID=4674;POINT (-39.013687 -3.39496)'))) / (select extract(epoch from '2026-07-12 05:00:05'::timestamp) - extract(epoch from '2026-07-12 04:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013824 -3.395037)'), GeomFromEWKT('SRID=4674;POINT (-39.013687 -3.39496)'))) / (select extract(epoch from '2026-07-12 05:00:05'::timestamp) - extract(epoch from '2026-07-12 04:59: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'), 47427, 'SRID=4674;POINT (-39.013568 -3.394902)', '2026-07-12 05:00:12', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013687 -3.39496)'), GeomFromEWKT('SRID=4674;POINT (-39.013568 -3.394902)'))) / (select extract(epoch from '2026-07-12 05:00:12'::timestamp) - extract(epoch from '2026-07-12 05:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013687 -3.39496)'), GeomFromEWKT('SRID=4674;POINT (-39.013568 -3.394902)'))) / (select extract(epoch from '2026-07-12 05:00:12'::timestamp) - extract(epoch from '2026-07-12 05:00:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.013423 -3.394843)', '2026-07-12 05:00:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013568 -3.394902)'), GeomFromEWKT('SRID=4674;POINT (-39.013423 -3.394843)'))) / (select extract(epoch from '2026-07-12 05:00:18'::timestamp) - extract(epoch from '2026-07-12 05:00:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013568 -3.394902)'), GeomFromEWKT('SRID=4674;POINT (-39.013423 -3.394843)'))) / (select extract(epoch from '2026-07-12 05:00:18'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.013293 -3.394768)', '2026-07-12 05:00:25', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013423 -3.394843)'), GeomFromEWKT('SRID=4674;POINT (-39.013293 -3.394768)'))) / (select extract(epoch from '2026-07-12 05:00:25'::timestamp) - extract(epoch from '2026-07-12 05:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013423 -3.394843)'), GeomFromEWKT('SRID=4674;POINT (-39.013293 -3.394768)'))) / (select extract(epoch from '2026-07-12 05:00:25'::timestamp) - extract(epoch from '2026-07-12 05:00: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'), 47427, 'SRID=4674;POINT (-39.013177 -3.394702)', '2026-07-12 05:00:32', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013293 -3.394768)'), GeomFromEWKT('SRID=4674;POINT (-39.013177 -3.394702)'))) / (select extract(epoch from '2026-07-12 05:00:32'::timestamp) - extract(epoch from '2026-07-12 05:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013293 -3.394768)'), GeomFromEWKT('SRID=4674;POINT (-39.013177 -3.394702)'))) / (select extract(epoch from '2026-07-12 05:00:32'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.013064 -3.394634)', '2026-07-12 05:00:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013177 -3.394702)'), GeomFromEWKT('SRID=4674;POINT (-39.013064 -3.394634)'))) / (select extract(epoch from '2026-07-12 05:00:40'::timestamp) - extract(epoch from '2026-07-12 05:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013177 -3.394702)'), GeomFromEWKT('SRID=4674;POINT (-39.013064 -3.394634)'))) / (select extract(epoch from '2026-07-12 05:00:40'::timestamp) - extract(epoch from '2026-07-12 05:00: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'), 47427, 'SRID=4674;POINT (-39.01295 -3.394568)', '2026-07-12 05:00:46', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013064 -3.394634)'), GeomFromEWKT('SRID=4674;POINT (-39.01295 -3.394568)'))) / (select extract(epoch from '2026-07-12 05:00:46'::timestamp) - extract(epoch from '2026-07-12 05:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.013064 -3.394634)'), GeomFromEWKT('SRID=4674;POINT (-39.01295 -3.394568)'))) / (select extract(epoch from '2026-07-12 05:00:46'::timestamp) - extract(epoch from '2026-07-12 05:00: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'), 47427, 'SRID=4674;POINT (-39.012805 -3.394472)', '2026-07-12 05:00:54', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01295 -3.394568)'), GeomFromEWKT('SRID=4674;POINT (-39.012805 -3.394472)'))) / (select extract(epoch from '2026-07-12 05:00:54'::timestamp) - extract(epoch from '2026-07-12 05:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01295 -3.394568)'), GeomFromEWKT('SRID=4674;POINT (-39.012805 -3.394472)'))) / (select extract(epoch from '2026-07-12 05:00:54'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.012639 -3.39436)', '2026-07-12 05:01:02', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012805 -3.394472)'), GeomFromEWKT('SRID=4674;POINT (-39.012639 -3.39436)'))) / (select extract(epoch from '2026-07-12 05:01:02'::timestamp) - extract(epoch from '2026-07-12 05:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012805 -3.394472)'), GeomFromEWKT('SRID=4674;POINT (-39.012639 -3.39436)'))) / (select extract(epoch from '2026-07-12 05:01:02'::timestamp) - extract(epoch from '2026-07-12 05:00: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'), 47427, 'SRID=4674;POINT (-39.012517 -3.394285)', '2026-07-12 05:01:09', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012639 -3.39436)'), GeomFromEWKT('SRID=4674;POINT (-39.012517 -3.394285)'))) / (select extract(epoch from '2026-07-12 05:01:09'::timestamp) - extract(epoch from '2026-07-12 05:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012639 -3.39436)'), GeomFromEWKT('SRID=4674;POINT (-39.012517 -3.394285)'))) / (select extract(epoch from '2026-07-12 05:01:09'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.012341 -3.394192)', '2026-07-12 05:01:18', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012517 -3.394285)'), GeomFromEWKT('SRID=4674;POINT (-39.012341 -3.394192)'))) / (select extract(epoch from '2026-07-12 05:01:18'::timestamp) - extract(epoch from '2026-07-12 05:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012517 -3.394285)'), GeomFromEWKT('SRID=4674;POINT (-39.012341 -3.394192)'))) / (select extract(epoch from '2026-07-12 05:01:18'::timestamp) - extract(epoch from '2026-07-12 05:01: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'), 47427, 'SRID=4674;POINT (-39.012226 -3.394138)', '2026-07-12 05:01:25', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012341 -3.394192)'), GeomFromEWKT('SRID=4674;POINT (-39.012226 -3.394138)'))) / (select extract(epoch from '2026-07-12 05:01:25'::timestamp) - extract(epoch from '2026-07-12 05:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012341 -3.394192)'), GeomFromEWKT('SRID=4674;POINT (-39.012226 -3.394138)'))) / (select extract(epoch from '2026-07-12 05:01:25'::timestamp) - extract(epoch from '2026-07-12 05:01: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'), 47427, 'SRID=4674;POINT (-39.012077 -3.394057)', '2026-07-12 05:01:33', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012226 -3.394138)'), GeomFromEWKT('SRID=4674;POINT (-39.012077 -3.394057)'))) / (select extract(epoch from '2026-07-12 05:01:33'::timestamp) - extract(epoch from '2026-07-12 05:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012226 -3.394138)'), GeomFromEWKT('SRID=4674;POINT (-39.012077 -3.394057)'))) / (select extract(epoch from '2026-07-12 05:01:33'::timestamp) - extract(epoch from '2026-07-12 05:01: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'), 47427, 'SRID=4674;POINT (-39.011933 -3.393992)', '2026-07-12 05:01:41', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012077 -3.394057)'), GeomFromEWKT('SRID=4674;POINT (-39.011933 -3.393992)'))) / (select extract(epoch from '2026-07-12 05:01:41'::timestamp) - extract(epoch from '2026-07-12 05:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.012077 -3.394057)'), GeomFromEWKT('SRID=4674;POINT (-39.011933 -3.393992)'))) / (select extract(epoch from '2026-07-12 05:01:41'::timestamp) - extract(epoch from '2026-07-12 05:01: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'), 47427, 'SRID=4674;POINT (-39.011819 -3.393941)', '2026-07-12 05:01:48', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011933 -3.393992)'), GeomFromEWKT('SRID=4674;POINT (-39.011819 -3.393941)'))) / (select extract(epoch from '2026-07-12 05:01:48'::timestamp) - extract(epoch from '2026-07-12 05:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011933 -3.393992)'), GeomFromEWKT('SRID=4674;POINT (-39.011819 -3.393941)'))) / (select extract(epoch from '2026-07-12 05:01:48'::timestamp) - extract(epoch from '2026-07-12 05:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.011701 -3.393887)', '2026-07-12 05:01:54', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011819 -3.393941)'), GeomFromEWKT('SRID=4674;POINT (-39.011701 -3.393887)'))) / (select extract(epoch from '2026-07-12 05:01:54'::timestamp) - extract(epoch from '2026-07-12 05:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011819 -3.393941)'), GeomFromEWKT('SRID=4674;POINT (-39.011701 -3.393887)'))) / (select extract(epoch from '2026-07-12 05:01:54'::timestamp) - extract(epoch from '2026-07-12 05:01: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'), 47427, 'SRID=4674;POINT (-39.011572 -3.393812)', '2026-07-12 05:02:01', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011701 -3.393887)'), GeomFromEWKT('SRID=4674;POINT (-39.011572 -3.393812)'))) / (select extract(epoch from '2026-07-12 05:02:01'::timestamp) - extract(epoch from '2026-07-12 05:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011701 -3.393887)'), GeomFromEWKT('SRID=4674;POINT (-39.011572 -3.393812)'))) / (select extract(epoch from '2026-07-12 05:02:01'::timestamp) - extract(epoch from '2026-07-12 05:01: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'), 47427, 'SRID=4674;POINT (-39.011426 -3.39373)', '2026-07-12 05:02:09', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011572 -3.393812)'), GeomFromEWKT('SRID=4674;POINT (-39.011426 -3.39373)'))) / (select extract(epoch from '2026-07-12 05:02:09'::timestamp) - extract(epoch from '2026-07-12 05:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011572 -3.393812)'), GeomFromEWKT('SRID=4674;POINT (-39.011426 -3.39373)'))) / (select extract(epoch from '2026-07-12 05:02:09'::timestamp) - extract(epoch from '2026-07-12 05:02: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'), 47427, 'SRID=4674;POINT (-39.011304 -3.393666)', '2026-07-12 05:02:16', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011426 -3.39373)'), GeomFromEWKT('SRID=4674;POINT (-39.011304 -3.393666)'))) / (select extract(epoch from '2026-07-12 05:02:16'::timestamp) - extract(epoch from '2026-07-12 05:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011426 -3.39373)'), GeomFromEWKT('SRID=4674;POINT (-39.011304 -3.393666)'))) / (select extract(epoch from '2026-07-12 05:02:16'::timestamp) - extract(epoch from '2026-07-12 05:02: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'), 47427, 'SRID=4674;POINT (-39.011208 -3.393627)', '2026-07-12 05:02:21', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011304 -3.393666)'), GeomFromEWKT('SRID=4674;POINT (-39.011208 -3.393627)'))) / (select extract(epoch from '2026-07-12 05:02:21'::timestamp) - extract(epoch from '2026-07-12 05:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011304 -3.393666)'), GeomFromEWKT('SRID=4674;POINT (-39.011208 -3.393627)'))) / (select extract(epoch from '2026-07-12 05:02:21'::timestamp) - extract(epoch from '2026-07-12 05:02: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'), 47427, 'SRID=4674;POINT (-39.011054 -3.393558)', '2026-07-12 05:02:29', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011208 -3.393627)'), GeomFromEWKT('SRID=4674;POINT (-39.011054 -3.393558)'))) / (select extract(epoch from '2026-07-12 05:02:29'::timestamp) - extract(epoch from '2026-07-12 05:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011208 -3.393627)'), GeomFromEWKT('SRID=4674;POINT (-39.011054 -3.393558)'))) / (select extract(epoch from '2026-07-12 05:02:29'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.010942 -3.393516)', '2026-07-12 05:02:35', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011054 -3.393558)'), GeomFromEWKT('SRID=4674;POINT (-39.010942 -3.393516)'))) / (select extract(epoch from '2026-07-12 05:02:35'::timestamp) - extract(epoch from '2026-07-12 05:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.011054 -3.393558)'), GeomFromEWKT('SRID=4674;POINT (-39.010942 -3.393516)'))) / (select extract(epoch from '2026-07-12 05:02:35'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.010791 -3.393446)', '2026-07-12 05:02:42', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010942 -3.393516)'), GeomFromEWKT('SRID=4674;POINT (-39.010791 -3.393446)'))) / (select extract(epoch from '2026-07-12 05:02:42'::timestamp) - extract(epoch from '2026-07-12 05:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010942 -3.393516)'), GeomFromEWKT('SRID=4674;POINT (-39.010791 -3.393446)'))) / (select extract(epoch from '2026-07-12 05:02:42'::timestamp) - extract(epoch from '2026-07-12 05:02:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.010654 -3.393365)', '2026-07-12 05:02:50', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010791 -3.393446)'), GeomFromEWKT('SRID=4674;POINT (-39.010654 -3.393365)'))) / (select extract(epoch from '2026-07-12 05:02:50'::timestamp) - extract(epoch from '2026-07-12 05:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010791 -3.393446)'), GeomFromEWKT('SRID=4674;POINT (-39.010654 -3.393365)'))) / (select extract(epoch from '2026-07-12 05:02:50'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.010515 -3.393309)', '2026-07-12 05:02:58', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010654 -3.393365)'), GeomFromEWKT('SRID=4674;POINT (-39.010515 -3.393309)'))) / (select extract(epoch from '2026-07-12 05:02:58'::timestamp) - extract(epoch from '2026-07-12 05:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010654 -3.393365)'), GeomFromEWKT('SRID=4674;POINT (-39.010515 -3.393309)'))) / (select extract(epoch from '2026-07-12 05:02:58'::timestamp) - extract(epoch from '2026-07-12 05:02: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'), 47427, 'SRID=4674;POINT (-39.010384 -3.393259)', '2026-07-12 05:03:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010515 -3.393309)'), GeomFromEWKT('SRID=4674;POINT (-39.010384 -3.393259)'))) / (select extract(epoch from '2026-07-12 05:03:06'::timestamp) - extract(epoch from '2026-07-12 05:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010515 -3.393309)'), GeomFromEWKT('SRID=4674;POINT (-39.010384 -3.393259)'))) / (select extract(epoch from '2026-07-12 05:03:06'::timestamp) - extract(epoch from '2026-07-12 05:02: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'), 47427, 'SRID=4674;POINT (-39.010214 -3.393172)', '2026-07-12 05:03:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010384 -3.393259)'), GeomFromEWKT('SRID=4674;POINT (-39.010214 -3.393172)'))) / (select extract(epoch from '2026-07-12 05:03:16'::timestamp) - extract(epoch from '2026-07-12 05:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010384 -3.393259)'), GeomFromEWKT('SRID=4674;POINT (-39.010214 -3.393172)'))) / (select extract(epoch from '2026-07-12 05:03:16'::timestamp) - extract(epoch from '2026-07-12 05:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.010093 -3.39312)', '2026-07-12 05:03:23', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010214 -3.393172)'), GeomFromEWKT('SRID=4674;POINT (-39.010093 -3.39312)'))) / (select extract(epoch from '2026-07-12 05:03:23'::timestamp) - extract(epoch from '2026-07-12 05:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010214 -3.393172)'), GeomFromEWKT('SRID=4674;POINT (-39.010093 -3.39312)'))) / (select extract(epoch from '2026-07-12 05:03:23'::timestamp) - extract(epoch from '2026-07-12 05:03: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'), 47427, 'SRID=4674;POINT (-39.009955 -3.393082)', '2026-07-12 05:03:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010093 -3.39312)'), GeomFromEWKT('SRID=4674;POINT (-39.009955 -3.393082)'))) / (select extract(epoch from '2026-07-12 05:03:29'::timestamp) - extract(epoch from '2026-07-12 05:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.010093 -3.39312)'), GeomFromEWKT('SRID=4674;POINT (-39.009955 -3.393082)'))) / (select extract(epoch from '2026-07-12 05:03:29'::timestamp) - extract(epoch from '2026-07-12 05:03:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.009817 -3.393037)', '2026-07-12 05:03:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009955 -3.393082)'), GeomFromEWKT('SRID=4674;POINT (-39.009817 -3.393037)'))) / (select extract(epoch from '2026-07-12 05:03:36'::timestamp) - extract(epoch from '2026-07-12 05:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009955 -3.393082)'), GeomFromEWKT('SRID=4674;POINT (-39.009817 -3.393037)'))) / (select extract(epoch from '2026-07-12 05:03:36'::timestamp) - extract(epoch from '2026-07-12 05:03: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'), 47427, 'SRID=4674;POINT (-39.00972 -3.392997)', '2026-07-12 05:03:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009817 -3.393037)'), GeomFromEWKT('SRID=4674;POINT (-39.00972 -3.392997)'))) / (select extract(epoch from '2026-07-12 05:03:43'::timestamp) - extract(epoch from '2026-07-12 05:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009817 -3.393037)'), GeomFromEWKT('SRID=4674;POINT (-39.00972 -3.392997)'))) / (select extract(epoch from '2026-07-12 05:03:43'::timestamp) - extract(epoch from '2026-07-12 05:03: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'), 47427, 'SRID=4674;POINT (-39.009566 -3.392949)', '2026-07-12 05:03:51', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00972 -3.392997)'), GeomFromEWKT('SRID=4674;POINT (-39.009566 -3.392949)'))) / (select extract(epoch from '2026-07-12 05:03:51'::timestamp) - extract(epoch from '2026-07-12 05:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00972 -3.392997)'), GeomFromEWKT('SRID=4674;POINT (-39.009566 -3.392949)'))) / (select extract(epoch from '2026-07-12 05:03:51'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.009472 -3.392893)', '2026-07-12 05:03:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009566 -3.392949)'), GeomFromEWKT('SRID=4674;POINT (-39.009472 -3.392893)'))) / (select extract(epoch from '2026-07-12 05:03:57'::timestamp) - extract(epoch from '2026-07-12 05:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009566 -3.392949)'), GeomFromEWKT('SRID=4674;POINT (-39.009472 -3.392893)'))) / (select extract(epoch from '2026-07-12 05:03:57'::timestamp) - extract(epoch from '2026-07-12 05:03: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'), 47427, 'SRID=4674;POINT (-39.009351 -3.392833)', '2026-07-12 05:04:05', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009472 -3.392893)'), GeomFromEWKT('SRID=4674;POINT (-39.009351 -3.392833)'))) / (select extract(epoch from '2026-07-12 05:04:05'::timestamp) - extract(epoch from '2026-07-12 05:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009472 -3.392893)'), GeomFromEWKT('SRID=4674;POINT (-39.009351 -3.392833)'))) / (select extract(epoch from '2026-07-12 05:04:05'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.009233 -3.392779)', '2026-07-12 05:04:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009351 -3.392833)'), GeomFromEWKT('SRID=4674;POINT (-39.009233 -3.392779)'))) / (select extract(epoch from '2026-07-12 05:04:11'::timestamp) - extract(epoch from '2026-07-12 05:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009351 -3.392833)'), GeomFromEWKT('SRID=4674;POINT (-39.009233 -3.392779)'))) / (select extract(epoch from '2026-07-12 05:04:11'::timestamp) - extract(epoch from '2026-07-12 05:04: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'), 47427, 'SRID=4674;POINT (-39.009119 -3.392719)', '2026-07-12 05:04:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009233 -3.392779)'), GeomFromEWKT('SRID=4674;POINT (-39.009119 -3.392719)'))) / (select extract(epoch from '2026-07-12 05:04:17'::timestamp) - extract(epoch from '2026-07-12 05:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009233 -3.392779)'), GeomFromEWKT('SRID=4674;POINT (-39.009119 -3.392719)'))) / (select extract(epoch from '2026-07-12 05:04:17'::timestamp) - extract(epoch from '2026-07-12 05:04: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'), 47427, 'SRID=4674;POINT (-39.009002 -3.392662)', '2026-07-12 05:04:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009119 -3.392719)'), GeomFromEWKT('SRID=4674;POINT (-39.009002 -3.392662)'))) / (select extract(epoch from '2026-07-12 05:04:23'::timestamp) - extract(epoch from '2026-07-12 05:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009119 -3.392719)'), GeomFromEWKT('SRID=4674;POINT (-39.009002 -3.392662)'))) / (select extract(epoch from '2026-07-12 05:04:23'::timestamp) - extract(epoch from '2026-07-12 05:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.008858 -3.392624)', '2026-07-12 05:04:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009002 -3.392662)'), GeomFromEWKT('SRID=4674;POINT (-39.008858 -3.392624)'))) / (select extract(epoch from '2026-07-12 05:04:31'::timestamp) - extract(epoch from '2026-07-12 05:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.009002 -3.392662)'), GeomFromEWKT('SRID=4674;POINT (-39.008858 -3.392624)'))) / (select extract(epoch from '2026-07-12 05:04:31'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.008733 -3.392577)', '2026-07-12 05:04:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008858 -3.392624)'), GeomFromEWKT('SRID=4674;POINT (-39.008733 -3.392577)'))) / (select extract(epoch from '2026-07-12 05:04:38'::timestamp) - extract(epoch from '2026-07-12 05:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008858 -3.392624)'), GeomFromEWKT('SRID=4674;POINT (-39.008733 -3.392577)'))) / (select extract(epoch from '2026-07-12 05:04:38'::timestamp) - extract(epoch from '2026-07-12 05:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.008583 -3.392526)', '2026-07-12 05:04:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008733 -3.392577)'), GeomFromEWKT('SRID=4674;POINT (-39.008583 -3.392526)'))) / (select extract(epoch from '2026-07-12 05:04:45'::timestamp) - extract(epoch from '2026-07-12 05:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008733 -3.392577)'), GeomFromEWKT('SRID=4674;POINT (-39.008583 -3.392526)'))) / (select extract(epoch from '2026-07-12 05:04:45'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.008423 -3.392447)', '2026-07-12 05:04:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008583 -3.392526)'), GeomFromEWKT('SRID=4674;POINT (-39.008423 -3.392447)'))) / (select extract(epoch from '2026-07-12 05:04:53'::timestamp) - extract(epoch from '2026-07-12 05:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008583 -3.392526)'), GeomFromEWKT('SRID=4674;POINT (-39.008423 -3.392447)'))) / (select extract(epoch from '2026-07-12 05:04:53'::timestamp) - extract(epoch from '2026-07-12 05:04: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'), 47427, 'SRID=4674;POINT (-39.008251 -3.392388)', '2026-07-12 05:05:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008423 -3.392447)'), GeomFromEWKT('SRID=4674;POINT (-39.008251 -3.392388)'))) / (select extract(epoch from '2026-07-12 05:05:01'::timestamp) - extract(epoch from '2026-07-12 05:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008423 -3.392447)'), GeomFromEWKT('SRID=4674;POINT (-39.008251 -3.392388)'))) / (select extract(epoch from '2026-07-12 05:05:01'::timestamp) - extract(epoch from '2026-07-12 05:04: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'), 47427, 'SRID=4674;POINT (-39.008105 -3.392325)', '2026-07-12 05:05:09', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008251 -3.392388)'), GeomFromEWKT('SRID=4674;POINT (-39.008105 -3.392325)'))) / (select extract(epoch from '2026-07-12 05:05:09'::timestamp) - extract(epoch from '2026-07-12 05:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008251 -3.392388)'), GeomFromEWKT('SRID=4674;POINT (-39.008105 -3.392325)'))) / (select extract(epoch from '2026-07-12 05:05:09'::timestamp) - extract(epoch from '2026-07-12 05:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.007989 -3.392261)', '2026-07-12 05:05:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008105 -3.392325)'), GeomFromEWKT('SRID=4674;POINT (-39.007989 -3.392261)'))) / (select extract(epoch from '2026-07-12 05:05:16'::timestamp) - extract(epoch from '2026-07-12 05:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.008105 -3.392325)'), GeomFromEWKT('SRID=4674;POINT (-39.007989 -3.392261)'))) / (select extract(epoch from '2026-07-12 05:05:16'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.007854 -3.392216)', '2026-07-12 05:05:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007989 -3.392261)'), GeomFromEWKT('SRID=4674;POINT (-39.007854 -3.392216)'))) / (select extract(epoch from '2026-07-12 05:05:23'::timestamp) - extract(epoch from '2026-07-12 05:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007989 -3.392261)'), GeomFromEWKT('SRID=4674;POINT (-39.007854 -3.392216)'))) / (select extract(epoch from '2026-07-12 05:05:23'::timestamp) - extract(epoch from '2026-07-12 05:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.007671 -3.392162)', '2026-07-12 05:05:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007854 -3.392216)'), GeomFromEWKT('SRID=4674;POINT (-39.007671 -3.392162)'))) / (select extract(epoch from '2026-07-12 05:05:32'::timestamp) - extract(epoch from '2026-07-12 05:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007854 -3.392216)'), GeomFromEWKT('SRID=4674;POINT (-39.007671 -3.392162)'))) / (select extract(epoch from '2026-07-12 05:05:32'::timestamp) - extract(epoch from '2026-07-12 05:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.007546 -3.392117)', '2026-07-12 05:05:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007671 -3.392162)'), GeomFromEWKT('SRID=4674;POINT (-39.007546 -3.392117)'))) / (select extract(epoch from '2026-07-12 05:05:39'::timestamp) - extract(epoch from '2026-07-12 05:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007671 -3.392162)'), GeomFromEWKT('SRID=4674;POINT (-39.007546 -3.392117)'))) / (select extract(epoch from '2026-07-12 05:05:39'::timestamp) - extract(epoch from '2026-07-12 05:05: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'), 47427, 'SRID=4674;POINT (-39.007436 -3.39206)', '2026-07-12 05:05:46', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007546 -3.392117)'), GeomFromEWKT('SRID=4674;POINT (-39.007436 -3.39206)'))) / (select extract(epoch from '2026-07-12 05:05:46'::timestamp) - extract(epoch from '2026-07-12 05:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007546 -3.392117)'), GeomFromEWKT('SRID=4674;POINT (-39.007436 -3.39206)'))) / (select extract(epoch from '2026-07-12 05:05:46'::timestamp) - extract(epoch from '2026-07-12 05:05: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'), 47427, 'SRID=4674;POINT (-39.007296 -3.392006)', '2026-07-12 05:05:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007436 -3.39206)'), GeomFromEWKT('SRID=4674;POINT (-39.007296 -3.392006)'))) / (select extract(epoch from '2026-07-12 05:05:53'::timestamp) - extract(epoch from '2026-07-12 05:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007436 -3.39206)'), GeomFromEWKT('SRID=4674;POINT (-39.007296 -3.392006)'))) / (select extract(epoch from '2026-07-12 05:05:53'::timestamp) - extract(epoch from '2026-07-12 05:05: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'), 47427, 'SRID=4674;POINT (-39.007137 -3.391952)', '2026-07-12 05:06:01', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007296 -3.392006)'), GeomFromEWKT('SRID=4674;POINT (-39.007137 -3.391952)'))) / (select extract(epoch from '2026-07-12 05:06:01'::timestamp) - extract(epoch from '2026-07-12 05:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007296 -3.392006)'), GeomFromEWKT('SRID=4674;POINT (-39.007137 -3.391952)'))) / (select extract(epoch from '2026-07-12 05:06:01'::timestamp) - extract(epoch from '2026-07-12 05:05: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'), 47427, 'SRID=4674;POINT (-39.007013 -3.391889)', '2026-07-12 05:06:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007137 -3.391952)'), GeomFromEWKT('SRID=4674;POINT (-39.007013 -3.391889)'))) / (select extract(epoch from '2026-07-12 05:06:08'::timestamp) - extract(epoch from '2026-07-12 05:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007137 -3.391952)'), GeomFromEWKT('SRID=4674;POINT (-39.007013 -3.391889)'))) / (select extract(epoch from '2026-07-12 05:06:08'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.006841 -3.391831)', '2026-07-12 05:06:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007013 -3.391889)'), GeomFromEWKT('SRID=4674;POINT (-39.006841 -3.391831)'))) / (select extract(epoch from '2026-07-12 05:06:17'::timestamp) - extract(epoch from '2026-07-12 05:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.007013 -3.391889)'), GeomFromEWKT('SRID=4674;POINT (-39.006841 -3.391831)'))) / (select extract(epoch from '2026-07-12 05:06:17'::timestamp) - extract(epoch from '2026-07-12 05:06: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'), 47427, 'SRID=4674;POINT (-39.006728 -3.391787)', '2026-07-12 05:06:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006841 -3.391831)'), GeomFromEWKT('SRID=4674;POINT (-39.006728 -3.391787)'))) / (select extract(epoch from '2026-07-12 05:06:24'::timestamp) - extract(epoch from '2026-07-12 05:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006841 -3.391831)'), GeomFromEWKT('SRID=4674;POINT (-39.006728 -3.391787)'))) / (select extract(epoch from '2026-07-12 05:06:24'::timestamp) - extract(epoch from '2026-07-12 05:06: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'), 47427, 'SRID=4674;POINT (-39.006578 -3.391731)', '2026-07-12 05:06:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006728 -3.391787)'), GeomFromEWKT('SRID=4674;POINT (-39.006578 -3.391731)'))) / (select extract(epoch from '2026-07-12 05:06:32'::timestamp) - extract(epoch from '2026-07-12 05:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006728 -3.391787)'), GeomFromEWKT('SRID=4674;POINT (-39.006578 -3.391731)'))) / (select extract(epoch from '2026-07-12 05:06:32'::timestamp) - extract(epoch from '2026-07-12 05:06: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'), 47427, 'SRID=4674;POINT (-39.006422 -3.391666)', '2026-07-12 05:06:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006578 -3.391731)'), GeomFromEWKT('SRID=4674;POINT (-39.006422 -3.391666)'))) / (select extract(epoch from '2026-07-12 05:06:40'::timestamp) - extract(epoch from '2026-07-12 05:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006578 -3.391731)'), GeomFromEWKT('SRID=4674;POINT (-39.006422 -3.391666)'))) / (select extract(epoch from '2026-07-12 05:06:40'::timestamp) - extract(epoch from '2026-07-12 05:06: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'), 47427, 'SRID=4674;POINT (-39.006323 -3.391626)', '2026-07-12 05:06:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006422 -3.391666)'), GeomFromEWKT('SRID=4674;POINT (-39.006323 -3.391626)'))) / (select extract(epoch from '2026-07-12 05:06:46'::timestamp) - extract(epoch from '2026-07-12 05:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006422 -3.391666)'), GeomFromEWKT('SRID=4674;POINT (-39.006323 -3.391626)'))) / (select extract(epoch from '2026-07-12 05:06:46'::timestamp) - extract(epoch from '2026-07-12 05:06: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'), 47427, 'SRID=4674;POINT (-39.006216 -3.39159)', '2026-07-12 05:06:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006323 -3.391626)'), GeomFromEWKT('SRID=4674;POINT (-39.006216 -3.39159)'))) / (select extract(epoch from '2026-07-12 05:06:52'::timestamp) - extract(epoch from '2026-07-12 05:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006323 -3.391626)'), GeomFromEWKT('SRID=4674;POINT (-39.006216 -3.39159)'))) / (select extract(epoch from '2026-07-12 05:06:52'::timestamp) - extract(epoch from '2026-07-12 05:06: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'), 47427, 'SRID=4674;POINT (-39.006126 -3.391543)', '2026-07-12 05:06:58', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006216 -3.39159)'), GeomFromEWKT('SRID=4674;POINT (-39.006126 -3.391543)'))) / (select extract(epoch from '2026-07-12 05:06:58'::timestamp) - extract(epoch from '2026-07-12 05:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006216 -3.39159)'), GeomFromEWKT('SRID=4674;POINT (-39.006126 -3.391543)'))) / (select extract(epoch from '2026-07-12 05:06:58'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.006025 -3.391502)', '2026-07-12 05:07:04', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006126 -3.391543)'), GeomFromEWKT('SRID=4674;POINT (-39.006025 -3.391502)'))) / (select extract(epoch from '2026-07-12 05:07:04'::timestamp) - extract(epoch from '2026-07-12 05:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006126 -3.391543)'), GeomFromEWKT('SRID=4674;POINT (-39.006025 -3.391502)'))) / (select extract(epoch from '2026-07-12 05:07:04'::timestamp) - extract(epoch from '2026-07-12 05:06: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'), 47427, 'SRID=4674;POINT (-39.005909 -3.391442)', '2026-07-12 05:07:10', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006025 -3.391502)'), GeomFromEWKT('SRID=4674;POINT (-39.005909 -3.391442)'))) / (select extract(epoch from '2026-07-12 05:07:10'::timestamp) - extract(epoch from '2026-07-12 05:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.006025 -3.391502)'), GeomFromEWKT('SRID=4674;POINT (-39.005909 -3.391442)'))) / (select extract(epoch from '2026-07-12 05:07:10'::timestamp) - extract(epoch from '2026-07-12 05:07: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'), 47427, 'SRID=4674;POINT (-39.00583 -3.391401)', '2026-07-12 05:07:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005909 -3.391442)'), GeomFromEWKT('SRID=4674;POINT (-39.00583 -3.391401)'))) / (select extract(epoch from '2026-07-12 05:07:15'::timestamp) - extract(epoch from '2026-07-12 05:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005909 -3.391442)'), GeomFromEWKT('SRID=4674;POINT (-39.00583 -3.391401)'))) / (select extract(epoch from '2026-07-12 05:07:15'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.005748 -3.391362)', '2026-07-12 05:07:21', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00583 -3.391401)'), GeomFromEWKT('SRID=4674;POINT (-39.005748 -3.391362)'))) / (select extract(epoch from '2026-07-12 05:07:21'::timestamp) - extract(epoch from '2026-07-12 05:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00583 -3.391401)'), GeomFromEWKT('SRID=4674;POINT (-39.005748 -3.391362)'))) / (select extract(epoch from '2026-07-12 05:07:21'::timestamp) - extract(epoch from '2026-07-12 05:07: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'), 47427, 'SRID=4674;POINT (-39.005626 -3.391324)', '2026-07-12 05:07:28', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005748 -3.391362)'), GeomFromEWKT('SRID=4674;POINT (-39.005626 -3.391324)'))) / (select extract(epoch from '2026-07-12 05:07:28'::timestamp) - extract(epoch from '2026-07-12 05:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005748 -3.391362)'), GeomFromEWKT('SRID=4674;POINT (-39.005626 -3.391324)'))) / (select extract(epoch from '2026-07-12 05:07:28'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.005475 -3.391278)', '2026-07-12 05:07:35', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005626 -3.391324)'), GeomFromEWKT('SRID=4674;POINT (-39.005475 -3.391278)'))) / (select extract(epoch from '2026-07-12 05:07:35'::timestamp) - extract(epoch from '2026-07-12 05:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005626 -3.391324)'), GeomFromEWKT('SRID=4674;POINT (-39.005475 -3.391278)'))) / (select extract(epoch from '2026-07-12 05:07:35'::timestamp) - extract(epoch from '2026-07-12 05:07:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.005339 -3.391208)', '2026-07-12 05:07:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005475 -3.391278)'), GeomFromEWKT('SRID=4674;POINT (-39.005339 -3.391208)'))) / (select extract(epoch from '2026-07-12 05:07:43'::timestamp) - extract(epoch from '2026-07-12 05:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005475 -3.391278)'), GeomFromEWKT('SRID=4674;POINT (-39.005339 -3.391208)'))) / (select extract(epoch from '2026-07-12 05:07:43'::timestamp) - extract(epoch from '2026-07-12 05:07: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'), 47427, 'SRID=4674;POINT (-39.005214 -3.391175)', '2026-07-12 05:07:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005339 -3.391208)'), GeomFromEWKT('SRID=4674;POINT (-39.005214 -3.391175)'))) / (select extract(epoch from '2026-07-12 05:07:50'::timestamp) - extract(epoch from '2026-07-12 05:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005339 -3.391208)'), GeomFromEWKT('SRID=4674;POINT (-39.005214 -3.391175)'))) / (select extract(epoch from '2026-07-12 05:07:50'::timestamp) - extract(epoch from '2026-07-12 05:07: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'), 47427, 'SRID=4674;POINT (-39.005082 -3.391127)', '2026-07-12 05:07:57', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005214 -3.391175)'), GeomFromEWKT('SRID=4674;POINT (-39.005082 -3.391127)'))) / (select extract(epoch from '2026-07-12 05:07:57'::timestamp) - extract(epoch from '2026-07-12 05:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005214 -3.391175)'), GeomFromEWKT('SRID=4674;POINT (-39.005082 -3.391127)'))) / (select extract(epoch from '2026-07-12 05:07:57'::timestamp) - extract(epoch from '2026-07-12 05:07: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'), 47427, 'SRID=4674;POINT (-39.004928 -3.391061)', '2026-07-12 05:08:05', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005082 -3.391127)'), GeomFromEWKT('SRID=4674;POINT (-39.004928 -3.391061)'))) / (select extract(epoch from '2026-07-12 05:08:05'::timestamp) - extract(epoch from '2026-07-12 05:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.005082 -3.391127)'), GeomFromEWKT('SRID=4674;POINT (-39.004928 -3.391061)'))) / (select extract(epoch from '2026-07-12 05:08:05'::timestamp) - extract(epoch from '2026-07-12 05:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.004817 -3.391017)', '2026-07-12 05:08:11', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004928 -3.391061)'), GeomFromEWKT('SRID=4674;POINT (-39.004817 -3.391017)'))) / (select extract(epoch from '2026-07-12 05:08:11'::timestamp) - extract(epoch from '2026-07-12 05:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004928 -3.391061)'), GeomFromEWKT('SRID=4674;POINT (-39.004817 -3.391017)'))) / (select extract(epoch from '2026-07-12 05:08:11'::timestamp) - extract(epoch from '2026-07-12 05:08: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'), 47427, 'SRID=4674;POINT (-39.004663 -3.390975)', '2026-07-12 05:08:20', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004817 -3.391017)'), GeomFromEWKT('SRID=4674;POINT (-39.004663 -3.390975)'))) / (select extract(epoch from '2026-07-12 05:08:20'::timestamp) - extract(epoch from '2026-07-12 05:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004817 -3.391017)'), GeomFromEWKT('SRID=4674;POINT (-39.004663 -3.390975)'))) / (select extract(epoch from '2026-07-12 05:08:20'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.004571 -3.390918)', '2026-07-12 05:08:26', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004663 -3.390975)'), GeomFromEWKT('SRID=4674;POINT (-39.004571 -3.390918)'))) / (select extract(epoch from '2026-07-12 05:08:26'::timestamp) - extract(epoch from '2026-07-12 05:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004663 -3.390975)'), GeomFromEWKT('SRID=4674;POINT (-39.004571 -3.390918)'))) / (select extract(epoch from '2026-07-12 05:08:26'::timestamp) - extract(epoch from '2026-07-12 05:08: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'), 47427, 'SRID=4674;POINT (-39.004459 -3.390861)', '2026-07-12 05:08:33', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004571 -3.390918)'), GeomFromEWKT('SRID=4674;POINT (-39.004459 -3.390861)'))) / (select extract(epoch from '2026-07-12 05:08:33'::timestamp) - extract(epoch from '2026-07-12 05:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004571 -3.390918)'), GeomFromEWKT('SRID=4674;POINT (-39.004459 -3.390861)'))) / (select extract(epoch from '2026-07-12 05:08:33'::timestamp) - extract(epoch from '2026-07-12 05:08: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'), 47427, 'SRID=4674;POINT (-39.004317 -3.390816)', '2026-07-12 05:08:41', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004459 -3.390861)'), GeomFromEWKT('SRID=4674;POINT (-39.004317 -3.390816)'))) / (select extract(epoch from '2026-07-12 05:08:41'::timestamp) - extract(epoch from '2026-07-12 05:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004459 -3.390861)'), GeomFromEWKT('SRID=4674;POINT (-39.004317 -3.390816)'))) / (select extract(epoch from '2026-07-12 05:08:41'::timestamp) - extract(epoch from '2026-07-12 05:08: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'), 47427, 'SRID=4674;POINT (-39.004199 -3.39076)', '2026-07-12 05:08:48', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004317 -3.390816)'), GeomFromEWKT('SRID=4674;POINT (-39.004199 -3.39076)'))) / (select extract(epoch from '2026-07-12 05:08:48'::timestamp) - extract(epoch from '2026-07-12 05:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004317 -3.390816)'), GeomFromEWKT('SRID=4674;POINT (-39.004199 -3.39076)'))) / (select extract(epoch from '2026-07-12 05:08:48'::timestamp) - extract(epoch from '2026-07-12 05:08: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'), 47427, 'SRID=4674;POINT (-39.004027 -3.390693)', '2026-07-12 05:08:57', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004199 -3.39076)'), GeomFromEWKT('SRID=4674;POINT (-39.004027 -3.390693)'))) / (select extract(epoch from '2026-07-12 05:08:57'::timestamp) - extract(epoch from '2026-07-12 05:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004199 -3.39076)'), GeomFromEWKT('SRID=4674;POINT (-39.004027 -3.390693)'))) / (select extract(epoch from '2026-07-12 05:08:57'::timestamp) - extract(epoch from '2026-07-12 05:08: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'), 47427, 'SRID=4674;POINT (-39.003922 -3.390661)', '2026-07-12 05:09:03', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004027 -3.390693)'), GeomFromEWKT('SRID=4674;POINT (-39.003922 -3.390661)'))) / (select extract(epoch from '2026-07-12 05:09:03'::timestamp) - extract(epoch from '2026-07-12 05:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.004027 -3.390693)'), GeomFromEWKT('SRID=4674;POINT (-39.003922 -3.390661)'))) / (select extract(epoch from '2026-07-12 05:09:03'::timestamp) - extract(epoch from '2026-07-12 05:08: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'), 47427, 'SRID=4674;POINT (-39.003806 -3.390618)', '2026-07-12 05:09:09', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003922 -3.390661)'), GeomFromEWKT('SRID=4674;POINT (-39.003806 -3.390618)'))) / (select extract(epoch from '2026-07-12 05:09:09'::timestamp) - extract(epoch from '2026-07-12 05:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003922 -3.390661)'), GeomFromEWKT('SRID=4674;POINT (-39.003806 -3.390618)'))) / (select extract(epoch from '2026-07-12 05:09:09'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.003652 -3.390561)', '2026-07-12 05:09:17', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003806 -3.390618)'), GeomFromEWKT('SRID=4674;POINT (-39.003652 -3.390561)'))) / (select extract(epoch from '2026-07-12 05:09:17'::timestamp) - extract(epoch from '2026-07-12 05:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003806 -3.390618)'), GeomFromEWKT('SRID=4674;POINT (-39.003652 -3.390561)'))) / (select extract(epoch from '2026-07-12 05:09:17'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.003543 -3.390511)', '2026-07-12 05:09:23', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003652 -3.390561)'), GeomFromEWKT('SRID=4674;POINT (-39.003543 -3.390511)'))) / (select extract(epoch from '2026-07-12 05:09:23'::timestamp) - extract(epoch from '2026-07-12 05:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003652 -3.390561)'), GeomFromEWKT('SRID=4674;POINT (-39.003543 -3.390511)'))) / (select extract(epoch from '2026-07-12 05:09:23'::timestamp) - extract(epoch from '2026-07-12 05:09:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.003408 -3.390463)', '2026-07-12 05:09:30', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003543 -3.390511)'), GeomFromEWKT('SRID=4674;POINT (-39.003408 -3.390463)'))) / (select extract(epoch from '2026-07-12 05:09:30'::timestamp) - extract(epoch from '2026-07-12 05:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003543 -3.390511)'), GeomFromEWKT('SRID=4674;POINT (-39.003408 -3.390463)'))) / (select extract(epoch from '2026-07-12 05:09:30'::timestamp) - extract(epoch from '2026-07-12 05:09: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'), 47427, 'SRID=4674;POINT (-39.0033 -3.390408)', '2026-07-12 05:09:37', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003408 -3.390463)'), GeomFromEWKT('SRID=4674;POINT (-39.0033 -3.390408)'))) / (select extract(epoch from '2026-07-12 05:09:37'::timestamp) - extract(epoch from '2026-07-12 05:09:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003408 -3.390463)'), GeomFromEWKT('SRID=4674;POINT (-39.0033 -3.390408)'))) / (select extract(epoch from '2026-07-12 05:09:37'::timestamp) - extract(epoch from '2026-07-12 05:09:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.003171 -3.390354)', '2026-07-12 05:09:44', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0033 -3.390408)'), GeomFromEWKT('SRID=4674;POINT (-39.003171 -3.390354)'))) / (select extract(epoch from '2026-07-12 05:09:44'::timestamp) - extract(epoch from '2026-07-12 05:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0033 -3.390408)'), GeomFromEWKT('SRID=4674;POINT (-39.003171 -3.390354)'))) / (select extract(epoch from '2026-07-12 05:09:44'::timestamp) - extract(epoch from '2026-07-12 05:09:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.00305 -3.390311)', '2026-07-12 05:09:51', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003171 -3.390354)'), GeomFromEWKT('SRID=4674;POINT (-39.00305 -3.390311)'))) / (select extract(epoch from '2026-07-12 05:09:51'::timestamp) - extract(epoch from '2026-07-12 05:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.003171 -3.390354)'), GeomFromEWKT('SRID=4674;POINT (-39.00305 -3.390311)'))) / (select extract(epoch from '2026-07-12 05:09:51'::timestamp) - extract(epoch from '2026-07-12 05:09: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'), 47427, 'SRID=4674;POINT (-39.002938 -3.390242)', '2026-07-12 05:09:58', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00305 -3.390311)'), GeomFromEWKT('SRID=4674;POINT (-39.002938 -3.390242)'))) / (select extract(epoch from '2026-07-12 05:09:58'::timestamp) - extract(epoch from '2026-07-12 05:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00305 -3.390311)'), GeomFromEWKT('SRID=4674;POINT (-39.002938 -3.390242)'))) / (select extract(epoch from '2026-07-12 05:09:58'::timestamp) - extract(epoch from '2026-07-12 05:09: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'), 47427, 'SRID=4674;POINT (-39.002837 -3.390177)', '2026-07-12 05:10:05', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002938 -3.390242)'), GeomFromEWKT('SRID=4674;POINT (-39.002837 -3.390177)'))) / (select extract(epoch from '2026-07-12 05:10:05'::timestamp) - extract(epoch from '2026-07-12 05:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002938 -3.390242)'), GeomFromEWKT('SRID=4674;POINT (-39.002837 -3.390177)'))) / (select extract(epoch from '2026-07-12 05:10:05'::timestamp) - extract(epoch from '2026-07-12 05:09: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'), 47427, 'SRID=4674;POINT (-39.002731 -3.390116)', '2026-07-12 05:10:12', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002837 -3.390177)'), GeomFromEWKT('SRID=4674;POINT (-39.002731 -3.390116)'))) / (select extract(epoch from '2026-07-12 05:10:12'::timestamp) - extract(epoch from '2026-07-12 05:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002837 -3.390177)'), GeomFromEWKT('SRID=4674;POINT (-39.002731 -3.390116)'))) / (select extract(epoch from '2026-07-12 05:10:12'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.002621 -3.390074)', '2026-07-12 05:10:18', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002731 -3.390116)'), GeomFromEWKT('SRID=4674;POINT (-39.002621 -3.390074)'))) / (select extract(epoch from '2026-07-12 05:10:18'::timestamp) - extract(epoch from '2026-07-12 05:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002731 -3.390116)'), GeomFromEWKT('SRID=4674;POINT (-39.002621 -3.390074)'))) / (select extract(epoch from '2026-07-12 05:10:18'::timestamp) - extract(epoch from '2026-07-12 05:10: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'), 47427, 'SRID=4674;POINT (-39.002524 -3.390002)', '2026-07-12 05:10:25', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002621 -3.390074)'), GeomFromEWKT('SRID=4674;POINT (-39.002524 -3.390002)'))) / (select extract(epoch from '2026-07-12 05:10:25'::timestamp) - extract(epoch from '2026-07-12 05:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002621 -3.390074)'), GeomFromEWKT('SRID=4674;POINT (-39.002524 -3.390002)'))) / (select extract(epoch from '2026-07-12 05:10:25'::timestamp) - extract(epoch from '2026-07-12 05:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.002442 -3.389955)', '2026-07-12 05:10:31', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002524 -3.390002)'), GeomFromEWKT('SRID=4674;POINT (-39.002442 -3.389955)'))) / (select extract(epoch from '2026-07-12 05:10:31'::timestamp) - extract(epoch from '2026-07-12 05:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002524 -3.390002)'), GeomFromEWKT('SRID=4674;POINT (-39.002442 -3.389955)'))) / (select extract(epoch from '2026-07-12 05:10:31'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.002319 -3.389887)', '2026-07-12 05:10:38', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002442 -3.389955)'), GeomFromEWKT('SRID=4674;POINT (-39.002319 -3.389887)'))) / (select extract(epoch from '2026-07-12 05:10:38'::timestamp) - extract(epoch from '2026-07-12 05:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002442 -3.389955)'), GeomFromEWKT('SRID=4674;POINT (-39.002319 -3.389887)'))) / (select extract(epoch from '2026-07-12 05:10:38'::timestamp) - extract(epoch from '2026-07-12 05:10: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'), 47427, 'SRID=4674;POINT (-39.002203 -3.3898)', '2026-07-12 05:10:45', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002319 -3.389887)'), GeomFromEWKT('SRID=4674;POINT (-39.002203 -3.3898)'))) / (select extract(epoch from '2026-07-12 05:10:45'::timestamp) - extract(epoch from '2026-07-12 05:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002319 -3.389887)'), GeomFromEWKT('SRID=4674;POINT (-39.002203 -3.3898)'))) / (select extract(epoch from '2026-07-12 05:10:45'::timestamp) - extract(epoch from '2026-07-12 05:10: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'), 47427, 'SRID=4674;POINT (-39.00207 -3.389738)', '2026-07-12 05:10:53', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002203 -3.3898)'), GeomFromEWKT('SRID=4674;POINT (-39.00207 -3.389738)'))) / (select extract(epoch from '2026-07-12 05:10:53'::timestamp) - extract(epoch from '2026-07-12 05:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.002203 -3.3898)'), GeomFromEWKT('SRID=4674;POINT (-39.00207 -3.389738)'))) / (select extract(epoch from '2026-07-12 05:10:53'::timestamp) - extract(epoch from '2026-07-12 05:10:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.001928 -3.389676)', '2026-07-12 05:11:00', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00207 -3.389738)'), GeomFromEWKT('SRID=4674;POINT (-39.001928 -3.389676)'))) / (select extract(epoch from '2026-07-12 05:11:00'::timestamp) - extract(epoch from '2026-07-12 05:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00207 -3.389738)'), GeomFromEWKT('SRID=4674;POINT (-39.001928 -3.389676)'))) / (select extract(epoch from '2026-07-12 05:11:00'::timestamp) - extract(epoch from '2026-07-12 05:10: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'), 47427, 'SRID=4674;POINT (-39.00181 -3.389595)', '2026-07-12 05:11:07', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001928 -3.389676)'), GeomFromEWKT('SRID=4674;POINT (-39.00181 -3.389595)'))) / (select extract(epoch from '2026-07-12 05:11:07'::timestamp) - extract(epoch from '2026-07-12 05:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001928 -3.389676)'), GeomFromEWKT('SRID=4674;POINT (-39.00181 -3.389595)'))) / (select extract(epoch from '2026-07-12 05:11:07'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.001698 -3.389518)', '2026-07-12 05:11:14', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00181 -3.389595)'), GeomFromEWKT('SRID=4674;POINT (-39.001698 -3.389518)'))) / (select extract(epoch from '2026-07-12 05:11:14'::timestamp) - extract(epoch from '2026-07-12 05:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00181 -3.389595)'), GeomFromEWKT('SRID=4674;POINT (-39.001698 -3.389518)'))) / (select extract(epoch from '2026-07-12 05:11:14'::timestamp) - extract(epoch from '2026-07-12 05:11: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'), 47427, 'SRID=4674;POINT (-39.001579 -3.38945)', '2026-07-12 05:11:21', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001698 -3.389518)'), GeomFromEWKT('SRID=4674;POINT (-39.001579 -3.38945)'))) / (select extract(epoch from '2026-07-12 05:11:21'::timestamp) - extract(epoch from '2026-07-12 05:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001698 -3.389518)'), GeomFromEWKT('SRID=4674;POINT (-39.001579 -3.38945)'))) / (select extract(epoch from '2026-07-12 05:11:21'::timestamp) - extract(epoch from '2026-07-12 05:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.001482 -3.38938)', '2026-07-12 05:11:27', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001579 -3.38945)'), GeomFromEWKT('SRID=4674;POINT (-39.001482 -3.38938)'))) / (select extract(epoch from '2026-07-12 05:11:27'::timestamp) - extract(epoch from '2026-07-12 05:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001579 -3.38945)'), GeomFromEWKT('SRID=4674;POINT (-39.001482 -3.38938)'))) / (select extract(epoch from '2026-07-12 05:11:27'::timestamp) - extract(epoch from '2026-07-12 05:11: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'), 47427, 'SRID=4674;POINT (-39.001305 -3.389288)', '2026-07-12 05:11:35', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001482 -3.38938)'), GeomFromEWKT('SRID=4674;POINT (-39.001305 -3.389288)'))) / (select extract(epoch from '2026-07-12 05:11:35'::timestamp) - extract(epoch from '2026-07-12 05:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001482 -3.38938)'), GeomFromEWKT('SRID=4674;POINT (-39.001305 -3.389288)'))) / (select extract(epoch from '2026-07-12 05:11:35'::timestamp) - extract(epoch from '2026-07-12 05:11:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.001198 -3.389238)', '2026-07-12 05:11:41', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001305 -3.389288)'), GeomFromEWKT('SRID=4674;POINT (-39.001198 -3.389238)'))) / (select extract(epoch from '2026-07-12 05:11:41'::timestamp) - extract(epoch from '2026-07-12 05:11:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001305 -3.389288)'), GeomFromEWKT('SRID=4674;POINT (-39.001198 -3.389238)'))) / (select extract(epoch from '2026-07-12 05:11:41'::timestamp) - extract(epoch from '2026-07-12 05:11: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'), 47427, 'SRID=4674;POINT (-39.001099 -3.389121)', '2026-07-12 05:11:50', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001198 -3.389238)'), GeomFromEWKT('SRID=4674;POINT (-39.001099 -3.389121)'))) / (select extract(epoch from '2026-07-12 05:11:50'::timestamp) - extract(epoch from '2026-07-12 05:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001198 -3.389238)'), GeomFromEWKT('SRID=4674;POINT (-39.001099 -3.389121)'))) / (select extract(epoch from '2026-07-12 05:11:50'::timestamp) - extract(epoch from '2026-07-12 05:11: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'), 47427, 'SRID=4674;POINT (-39.000978 -3.389052)', '2026-07-12 05:11:56', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001099 -3.389121)'), GeomFromEWKT('SRID=4674;POINT (-39.000978 -3.389052)'))) / (select extract(epoch from '2026-07-12 05:11:56'::timestamp) - extract(epoch from '2026-07-12 05:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.001099 -3.389121)'), GeomFromEWKT('SRID=4674;POINT (-39.000978 -3.389052)'))) / (select extract(epoch from '2026-07-12 05:11:56'::timestamp) - extract(epoch from '2026-07-12 05:11:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.000878 -3.388983)', '2026-07-12 05:12:02', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000978 -3.389052)'), GeomFromEWKT('SRID=4674;POINT (-39.000878 -3.388983)'))) / (select extract(epoch from '2026-07-12 05:12:02'::timestamp) - extract(epoch from '2026-07-12 05:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000978 -3.389052)'), GeomFromEWKT('SRID=4674;POINT (-39.000878 -3.388983)'))) / (select extract(epoch from '2026-07-12 05:12:02'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.00082 -3.388916)', '2026-07-12 05:12:07', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000878 -3.388983)'), GeomFromEWKT('SRID=4674;POINT (-39.00082 -3.388916)'))) / (select extract(epoch from '2026-07-12 05:12:07'::timestamp) - extract(epoch from '2026-07-12 05:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000878 -3.388983)'), GeomFromEWKT('SRID=4674;POINT (-39.00082 -3.388916)'))) / (select extract(epoch from '2026-07-12 05:12:07'::timestamp) - extract(epoch from '2026-07-12 05:12:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.000741 -3.388871)', '2026-07-12 05:12:13', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00082 -3.388916)'), GeomFromEWKT('SRID=4674;POINT (-39.000741 -3.388871)'))) / (select extract(epoch from '2026-07-12 05:12:13'::timestamp) - extract(epoch from '2026-07-12 05:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.00082 -3.388916)'), GeomFromEWKT('SRID=4674;POINT (-39.000741 -3.388871)'))) / (select extract(epoch from '2026-07-12 05:12:13'::timestamp) - extract(epoch from '2026-07-12 05:12: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'), 47427, 'SRID=4674;POINT (-39.000572 -3.388813)', '2026-07-12 05:12:21', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000741 -3.388871)'), GeomFromEWKT('SRID=4674;POINT (-39.000572 -3.388813)'))) / (select extract(epoch from '2026-07-12 05:12:21'::timestamp) - extract(epoch from '2026-07-12 05:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000741 -3.388871)'), GeomFromEWKT('SRID=4674;POINT (-39.000572 -3.388813)'))) / (select extract(epoch from '2026-07-12 05:12:21'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-39.000505 -3.388732)', '2026-07-12 05:12:27', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000572 -3.388813)'), GeomFromEWKT('SRID=4674;POINT (-39.000505 -3.388732)'))) / (select extract(epoch from '2026-07-12 05:12:27'::timestamp) - extract(epoch from '2026-07-12 05:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000572 -3.388813)'), GeomFromEWKT('SRID=4674;POINT (-39.000505 -3.388732)'))) / (select extract(epoch from '2026-07-12 05:12:27'::timestamp) - extract(epoch from '2026-07-12 05:12: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'), 47427, 'SRID=4674;POINT (-39.000432 -3.388661)', '2026-07-12 05:12:32', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000505 -3.388732)'), GeomFromEWKT('SRID=4674;POINT (-39.000432 -3.388661)'))) / (select extract(epoch from '2026-07-12 05:12:32'::timestamp) - extract(epoch from '2026-07-12 05:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000505 -3.388732)'), GeomFromEWKT('SRID=4674;POINT (-39.000432 -3.388661)'))) / (select extract(epoch from '2026-07-12 05:12:32'::timestamp) - extract(epoch from '2026-07-12 05:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.000339 -3.388589)', '2026-07-12 05:12:38', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000432 -3.388661)'), GeomFromEWKT('SRID=4674;POINT (-39.000339 -3.388589)'))) / (select extract(epoch from '2026-07-12 05:12:38'::timestamp) - extract(epoch from '2026-07-12 05:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000432 -3.388661)'), GeomFromEWKT('SRID=4674;POINT (-39.000339 -3.388589)'))) / (select extract(epoch from '2026-07-12 05:12:38'::timestamp) - extract(epoch from '2026-07-12 05:12: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'), 47427, 'SRID=4674;POINT (-39.000252 -3.388539)', '2026-07-12 05:12:43', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000339 -3.388589)'), GeomFromEWKT('SRID=4674;POINT (-39.000252 -3.388539)'))) / (select extract(epoch from '2026-07-12 05:12:43'::timestamp) - extract(epoch from '2026-07-12 05:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000339 -3.388589)'), GeomFromEWKT('SRID=4674;POINT (-39.000252 -3.388539)'))) / (select extract(epoch from '2026-07-12 05:12:43'::timestamp) - extract(epoch from '2026-07-12 05:12: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'), 47427, 'SRID=4674;POINT (-39.000123 -3.38849)', '2026-07-12 05:12:50', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000252 -3.388539)'), GeomFromEWKT('SRID=4674;POINT (-39.000123 -3.38849)'))) / (select extract(epoch from '2026-07-12 05:12:50'::timestamp) - extract(epoch from '2026-07-12 05:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000252 -3.388539)'), GeomFromEWKT('SRID=4674;POINT (-39.000123 -3.38849)'))) / (select extract(epoch from '2026-07-12 05:12:50'::timestamp) - extract(epoch from '2026-07-12 05:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-39.000005 -3.388442)', '2026-07-12 05:12:56', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000123 -3.38849)'), GeomFromEWKT('SRID=4674;POINT (-39.000005 -3.388442)'))) / (select extract(epoch from '2026-07-12 05:12:56'::timestamp) - extract(epoch from '2026-07-12 05:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000123 -3.38849)'), GeomFromEWKT('SRID=4674;POINT (-39.000005 -3.388442)'))) / (select extract(epoch from '2026-07-12 05:12:56'::timestamp) - extract(epoch from '2026-07-12 05:12: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'), 47427, 'SRID=4674;POINT (-38.999898 -3.388397)', '2026-07-12 05:13:02', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000005 -3.388442)'), GeomFromEWKT('SRID=4674;POINT (-38.999898 -3.388397)'))) / (select extract(epoch from '2026-07-12 05:13:02'::timestamp) - extract(epoch from '2026-07-12 05:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.000005 -3.388442)'), GeomFromEWKT('SRID=4674;POINT (-38.999898 -3.388397)'))) / (select extract(epoch from '2026-07-12 05:13:02'::timestamp) - extract(epoch from '2026-07-12 05:12:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.999752 -3.388329)', '2026-07-12 05:13:10', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999898 -3.388397)'), GeomFromEWKT('SRID=4674;POINT (-38.999752 -3.388329)'))) / (select extract(epoch from '2026-07-12 05:13:10'::timestamp) - extract(epoch from '2026-07-12 05:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999898 -3.388397)'), GeomFromEWKT('SRID=4674;POINT (-38.999752 -3.388329)'))) / (select extract(epoch from '2026-07-12 05:13:10'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-38.999665 -3.388272)', '2026-07-12 05:13:16', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999752 -3.388329)'), GeomFromEWKT('SRID=4674;POINT (-38.999665 -3.388272)'))) / (select extract(epoch from '2026-07-12 05:13:16'::timestamp) - extract(epoch from '2026-07-12 05:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999752 -3.388329)'), GeomFromEWKT('SRID=4674;POINT (-38.999665 -3.388272)'))) / (select extract(epoch from '2026-07-12 05:13:16'::timestamp) - extract(epoch from '2026-07-12 05:13: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'), 47427, 'SRID=4674;POINT (-38.999543 -3.38822)', '2026-07-12 05:13:23', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999665 -3.388272)'), GeomFromEWKT('SRID=4674;POINT (-38.999543 -3.38822)'))) / (select extract(epoch from '2026-07-12 05:13:23'::timestamp) - extract(epoch from '2026-07-12 05:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999665 -3.388272)'), GeomFromEWKT('SRID=4674;POINT (-38.999543 -3.38822)'))) / (select extract(epoch from '2026-07-12 05:13:23'::timestamp) - extract(epoch from '2026-07-12 05:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.99943 -3.388162)', '2026-07-12 05:13:30', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999543 -3.38822)'), GeomFromEWKT('SRID=4674;POINT (-38.99943 -3.388162)'))) / (select extract(epoch from '2026-07-12 05:13:30'::timestamp) - extract(epoch from '2026-07-12 05:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999543 -3.38822)'), GeomFromEWKT('SRID=4674;POINT (-38.99943 -3.388162)'))) / (select extract(epoch from '2026-07-12 05:13:30'::timestamp) - extract(epoch from '2026-07-12 05:13: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'), 47427, 'SRID=4674;POINT (-38.999301 -3.388121)', '2026-07-12 05:13:36', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99943 -3.388162)'), GeomFromEWKT('SRID=4674;POINT (-38.999301 -3.388121)'))) / (select extract(epoch from '2026-07-12 05:13:36'::timestamp) - extract(epoch from '2026-07-12 05:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99943 -3.388162)'), GeomFromEWKT('SRID=4674;POINT (-38.999301 -3.388121)'))) / (select extract(epoch from '2026-07-12 05:13:36'::timestamp) - extract(epoch from '2026-07-12 05:13: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'), 47427, 'SRID=4674;POINT (-38.999195 -3.388067)', '2026-07-12 05:13:43', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999301 -3.388121)'), GeomFromEWKT('SRID=4674;POINT (-38.999195 -3.388067)'))) / (select extract(epoch from '2026-07-12 05:13:43'::timestamp) - extract(epoch from '2026-07-12 05:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999301 -3.388121)'), GeomFromEWKT('SRID=4674;POINT (-38.999195 -3.388067)'))) / (select extract(epoch from '2026-07-12 05:13:43'::timestamp) - extract(epoch from '2026-07-12 05:13: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'), 47427, 'SRID=4674;POINT (-38.999054 -3.38801)', '2026-07-12 05:13:50', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999195 -3.388067)'), GeomFromEWKT('SRID=4674;POINT (-38.999054 -3.38801)'))) / (select extract(epoch from '2026-07-12 05:13:50'::timestamp) - extract(epoch from '2026-07-12 05:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999195 -3.388067)'), GeomFromEWKT('SRID=4674;POINT (-38.999054 -3.38801)'))) / (select extract(epoch from '2026-07-12 05:13:50'::timestamp) - extract(epoch from '2026-07-12 05:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.998917 -3.387932)', '2026-07-12 05:13:58', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999054 -3.38801)'), GeomFromEWKT('SRID=4674;POINT (-38.998917 -3.387932)'))) / (select extract(epoch from '2026-07-12 05:13:58'::timestamp) - extract(epoch from '2026-07-12 05:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.999054 -3.38801)'), GeomFromEWKT('SRID=4674;POINT (-38.998917 -3.387932)'))) / (select extract(epoch from '2026-07-12 05:13:58'::timestamp) - extract(epoch from '2026-07-12 05:13: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'), 47427, 'SRID=4674;POINT (-38.998826 -3.387863)', '2026-07-12 05:14:04', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998917 -3.387932)'), GeomFromEWKT('SRID=4674;POINT (-38.998826 -3.387863)'))) / (select extract(epoch from '2026-07-12 05:14:04'::timestamp) - extract(epoch from '2026-07-12 05:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998917 -3.387932)'), GeomFromEWKT('SRID=4674;POINT (-38.998826 -3.387863)'))) / (select extract(epoch from '2026-07-12 05:14:04'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-38.998719 -3.387812)', '2026-07-12 05:14:10', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998826 -3.387863)'), GeomFromEWKT('SRID=4674;POINT (-38.998719 -3.387812)'))) / (select extract(epoch from '2026-07-12 05:14:10'::timestamp) - extract(epoch from '2026-07-12 05:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998826 -3.387863)'), GeomFromEWKT('SRID=4674;POINT (-38.998719 -3.387812)'))) / (select extract(epoch from '2026-07-12 05:14:10'::timestamp) - extract(epoch from '2026-07-12 05:14: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'), 47427, 'SRID=4674;POINT (-38.998604 -3.38772)', '2026-07-12 05:14:18', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998719 -3.387812)'), GeomFromEWKT('SRID=4674;POINT (-38.998604 -3.38772)'))) / (select extract(epoch from '2026-07-12 05:14:18'::timestamp) - extract(epoch from '2026-07-12 05:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998719 -3.387812)'), GeomFromEWKT('SRID=4674;POINT (-38.998604 -3.38772)'))) / (select extract(epoch from '2026-07-12 05:14:18'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-38.998496 -3.38764)', '2026-07-12 05:14:25', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998604 -3.38772)'), GeomFromEWKT('SRID=4674;POINT (-38.998496 -3.38764)'))) / (select extract(epoch from '2026-07-12 05:14:25'::timestamp) - extract(epoch from '2026-07-12 05:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998604 -3.38772)'), GeomFromEWKT('SRID=4674;POINT (-38.998496 -3.38764)'))) / (select extract(epoch from '2026-07-12 05:14:25'::timestamp) - extract(epoch from '2026-07-12 05:14: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'), 47427, 'SRID=4674;POINT (-38.998386 -3.38751)', '2026-07-12 05:14:34', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998496 -3.38764)'), GeomFromEWKT('SRID=4674;POINT (-38.998386 -3.38751)'))) / (select extract(epoch from '2026-07-12 05:14:34'::timestamp) - extract(epoch from '2026-07-12 05:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998496 -3.38764)'), GeomFromEWKT('SRID=4674;POINT (-38.998386 -3.38751)'))) / (select extract(epoch from '2026-07-12 05:14:34'::timestamp) - extract(epoch from '2026-07-12 05:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.99823 -3.387423)', '2026-07-12 05:14:44', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998386 -3.38751)'), GeomFromEWKT('SRID=4674;POINT (-38.99823 -3.387423)'))) / (select extract(epoch from '2026-07-12 05:14:44'::timestamp) - extract(epoch from '2026-07-12 05:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998386 -3.38751)'), GeomFromEWKT('SRID=4674;POINT (-38.99823 -3.387423)'))) / (select extract(epoch from '2026-07-12 05:14:44'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-38.998215 -3.387412)', '2026-07-12 05:14:45', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99823 -3.387423)'), GeomFromEWKT('SRID=4674;POINT (-38.998215 -3.387412)'))) / (select extract(epoch from '2026-07-12 05:14:45'::timestamp) - extract(epoch from '2026-07-12 05:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99823 -3.387423)'), GeomFromEWKT('SRID=4674;POINT (-38.998215 -3.387412)'))) / (select extract(epoch from '2026-07-12 05:14:45'::timestamp) - extract(epoch from '2026-07-12 05:14: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'), 47427, 'SRID=4674;POINT (-38.998034 -3.38734)', '2026-07-12 05:14:53', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998215 -3.387412)'), GeomFromEWKT('SRID=4674;POINT (-38.998034 -3.38734)'))) / (select extract(epoch from '2026-07-12 05:14:53'::timestamp) - extract(epoch from '2026-07-12 05:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998215 -3.387412)'), GeomFromEWKT('SRID=4674;POINT (-38.998034 -3.38734)'))) / (select extract(epoch from '2026-07-12 05:14:53'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-38.997889 -3.387267)', '2026-07-12 05:15:00', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998034 -3.38734)'), GeomFromEWKT('SRID=4674;POINT (-38.997889 -3.387267)'))) / (select extract(epoch from '2026-07-12 05:15:00'::timestamp) - extract(epoch from '2026-07-12 05:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.998034 -3.38734)'), GeomFromEWKT('SRID=4674;POINT (-38.997889 -3.387267)'))) / (select extract(epoch from '2026-07-12 05:15:00'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-38.997819 -3.387196)', '2026-07-12 05:15:06', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997889 -3.387267)'), GeomFromEWKT('SRID=4674;POINT (-38.997819 -3.387196)'))) / (select extract(epoch from '2026-07-12 05:15:06'::timestamp) - extract(epoch from '2026-07-12 05:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997889 -3.387267)'), GeomFromEWKT('SRID=4674;POINT (-38.997819 -3.387196)'))) / (select extract(epoch from '2026-07-12 05:15:06'::timestamp) - extract(epoch from '2026-07-12 05:15: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'), 47427, 'SRID=4674;POINT (-38.997715 -3.387093)', '2026-07-12 05:15:15', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997819 -3.387196)'), GeomFromEWKT('SRID=4674;POINT (-38.997715 -3.387093)'))) / (select extract(epoch from '2026-07-12 05:15:15'::timestamp) - extract(epoch from '2026-07-12 05:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997819 -3.387196)'), GeomFromEWKT('SRID=4674;POINT (-38.997715 -3.387093)'))) / (select extract(epoch from '2026-07-12 05:15:15'::timestamp) - extract(epoch from '2026-07-12 05:15: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'), 47427, 'SRID=4674;POINT (-38.997621 -3.387005)', '2026-07-12 05:15:22', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997715 -3.387093)'), GeomFromEWKT('SRID=4674;POINT (-38.997621 -3.387005)'))) / (select extract(epoch from '2026-07-12 05:15:22'::timestamp) - extract(epoch from '2026-07-12 05:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997715 -3.387093)'), GeomFromEWKT('SRID=4674;POINT (-38.997621 -3.387005)'))) / (select extract(epoch from '2026-07-12 05:15:22'::timestamp) - extract(epoch from '2026-07-12 05:15:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.997522 -3.386966)', '2026-07-12 05:15:27', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997621 -3.387005)'), GeomFromEWKT('SRID=4674;POINT (-38.997522 -3.386966)'))) / (select extract(epoch from '2026-07-12 05:15:27'::timestamp) - extract(epoch from '2026-07-12 05:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997621 -3.387005)'), GeomFromEWKT('SRID=4674;POINT (-38.997522 -3.386966)'))) / (select extract(epoch from '2026-07-12 05:15:27'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-38.997463 -3.3869)', '2026-07-12 05:15:32', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997522 -3.386966)'), GeomFromEWKT('SRID=4674;POINT (-38.997463 -3.3869)'))) / (select extract(epoch from '2026-07-12 05:15:32'::timestamp) - extract(epoch from '2026-07-12 05:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997522 -3.386966)'), GeomFromEWKT('SRID=4674;POINT (-38.997463 -3.3869)'))) / (select extract(epoch from '2026-07-12 05:15:32'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-38.997355 -3.386825)', '2026-07-12 05:15:39', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997463 -3.3869)'), GeomFromEWKT('SRID=4674;POINT (-38.997355 -3.386825)'))) / (select extract(epoch from '2026-07-12 05:15:39'::timestamp) - extract(epoch from '2026-07-12 05:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997463 -3.3869)'), GeomFromEWKT('SRID=4674;POINT (-38.997355 -3.386825)'))) / (select extract(epoch from '2026-07-12 05:15:39'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-38.99726 -3.386752)', '2026-07-12 05:15:45', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997355 -3.386825)'), GeomFromEWKT('SRID=4674;POINT (-38.99726 -3.386752)'))) / (select extract(epoch from '2026-07-12 05:15:45'::timestamp) - extract(epoch from '2026-07-12 05:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997355 -3.386825)'), GeomFromEWKT('SRID=4674;POINT (-38.99726 -3.386752)'))) / (select extract(epoch from '2026-07-12 05:15:45'::timestamp) - extract(epoch from '2026-07-12 05:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.997153 -3.386696)', '2026-07-12 05:15:51', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99726 -3.386752)'), GeomFromEWKT('SRID=4674;POINT (-38.997153 -3.386696)'))) / (select extract(epoch from '2026-07-12 05:15:51'::timestamp) - extract(epoch from '2026-07-12 05:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99726 -3.386752)'), GeomFromEWKT('SRID=4674;POINT (-38.997153 -3.386696)'))) / (select extract(epoch from '2026-07-12 05:15:51'::timestamp) - extract(epoch from '2026-07-12 05:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.997062 -3.386645)', '2026-07-12 05:15:57', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997153 -3.386696)'), GeomFromEWKT('SRID=4674;POINT (-38.997062 -3.386645)'))) / (select extract(epoch from '2026-07-12 05:15:57'::timestamp) - extract(epoch from '2026-07-12 05:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997153 -3.386696)'), GeomFromEWKT('SRID=4674;POINT (-38.997062 -3.386645)'))) / (select extract(epoch from '2026-07-12 05:15:57'::timestamp) - extract(epoch from '2026-07-12 05:15: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'), 47427, 'SRID=4674;POINT (-38.996937 -3.386596)', '2026-07-12 05:16:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997062 -3.386645)'), GeomFromEWKT('SRID=4674;POINT (-38.996937 -3.386596)'))) / (select extract(epoch from '2026-07-12 05:16:03'::timestamp) - extract(epoch from '2026-07-12 05:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.997062 -3.386645)'), GeomFromEWKT('SRID=4674;POINT (-38.996937 -3.386596)'))) / (select extract(epoch from '2026-07-12 05:16:03'::timestamp) - extract(epoch from '2026-07-12 05:15:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.996852 -3.38651)', '2026-07-12 05:16:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996937 -3.386596)'), GeomFromEWKT('SRID=4674;POINT (-38.996852 -3.38651)'))) / (select extract(epoch from '2026-07-12 05:16:09'::timestamp) - extract(epoch from '2026-07-12 05:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996937 -3.386596)'), GeomFromEWKT('SRID=4674;POINT (-38.996852 -3.38651)'))) / (select extract(epoch from '2026-07-12 05:16:09'::timestamp) - extract(epoch from '2026-07-12 05:16:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.996743 -3.386405)', '2026-07-12 05:16:17', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996852 -3.38651)'), GeomFromEWKT('SRID=4674;POINT (-38.996743 -3.386405)'))) / (select extract(epoch from '2026-07-12 05:16:17'::timestamp) - extract(epoch from '2026-07-12 05:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996852 -3.38651)'), GeomFromEWKT('SRID=4674;POINT (-38.996743 -3.386405)'))) / (select extract(epoch from '2026-07-12 05:16:17'::timestamp) - extract(epoch from '2026-07-12 05:16:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.99662 -3.386326)', '2026-07-12 05:16:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996743 -3.386405)'), GeomFromEWKT('SRID=4674;POINT (-38.99662 -3.386326)'))) / (select extract(epoch from '2026-07-12 05:16:25'::timestamp) - extract(epoch from '2026-07-12 05:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996743 -3.386405)'), GeomFromEWKT('SRID=4674;POINT (-38.99662 -3.386326)'))) / (select extract(epoch from '2026-07-12 05:16:25'::timestamp) - extract(epoch from '2026-07-12 05:16:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.996497 -3.386269)', '2026-07-12 05:16:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99662 -3.386326)'), GeomFromEWKT('SRID=4674;POINT (-38.996497 -3.386269)'))) / (select extract(epoch from '2026-07-12 05:16:32'::timestamp) - extract(epoch from '2026-07-12 05:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99662 -3.386326)'), GeomFromEWKT('SRID=4674;POINT (-38.996497 -3.386269)'))) / (select extract(epoch from '2026-07-12 05:16:32'::timestamp) - extract(epoch from '2026-07-12 05:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.996366 -3.386208)', '2026-07-12 05:16:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996497 -3.386269)'), GeomFromEWKT('SRID=4674;POINT (-38.996366 -3.386208)'))) / (select extract(epoch from '2026-07-12 05:16:39'::timestamp) - extract(epoch from '2026-07-12 05:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996497 -3.386269)'), GeomFromEWKT('SRID=4674;POINT (-38.996366 -3.386208)'))) / (select extract(epoch from '2026-07-12 05:16:39'::timestamp) - extract(epoch from '2026-07-12 05: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'), 47427, 'SRID=4674;POINT (-38.996243 -3.386134)', '2026-07-12 05:16:47', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996366 -3.386208)'), GeomFromEWKT('SRID=4674;POINT (-38.996243 -3.386134)'))) / (select extract(epoch from '2026-07-12 05:16:47'::timestamp) - extract(epoch from '2026-07-12 05:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996366 -3.386208)'), GeomFromEWKT('SRID=4674;POINT (-38.996243 -3.386134)'))) / (select extract(epoch from '2026-07-12 05:16:47'::timestamp) - extract(epoch from '2026-07-12 05:16: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'), 47427, 'SRID=4674;POINT (-38.996111 -3.386045)', '2026-07-12 05:16:55', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996243 -3.386134)'), GeomFromEWKT('SRID=4674;POINT (-38.996111 -3.386045)'))) / (select extract(epoch from '2026-07-12 05:16:55'::timestamp) - extract(epoch from '2026-07-12 05:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996243 -3.386134)'), GeomFromEWKT('SRID=4674;POINT (-38.996111 -3.386045)'))) / (select extract(epoch from '2026-07-12 05:16:55'::timestamp) - extract(epoch from '2026-07-12 05:16: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'), 47427, 'SRID=4674;POINT (-38.996003 -3.385974)', '2026-07-12 05:17:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996111 -3.386045)'), GeomFromEWKT('SRID=4674;POINT (-38.996003 -3.385974)'))) / (select extract(epoch from '2026-07-12 05:17:02'::timestamp) - extract(epoch from '2026-07-12 05:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996111 -3.386045)'), GeomFromEWKT('SRID=4674;POINT (-38.996003 -3.385974)'))) / (select extract(epoch from '2026-07-12 05:17:02'::timestamp) - extract(epoch from '2026-07-12 05:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.995917 -3.385911)', '2026-07-12 05:17:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996003 -3.385974)'), GeomFromEWKT('SRID=4674;POINT (-38.995917 -3.385911)'))) / (select extract(epoch from '2026-07-12 05:17:08'::timestamp) - extract(epoch from '2026-07-12 05:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.996003 -3.385974)'), GeomFromEWKT('SRID=4674;POINT (-38.995917 -3.385911)'))) / (select extract(epoch from '2026-07-12 05:17:08'::timestamp) - extract(epoch from '2026-07-12 05:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.995786 -3.38586)', '2026-07-12 05:17:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995917 -3.385911)'), GeomFromEWKT('SRID=4674;POINT (-38.995786 -3.38586)'))) / (select extract(epoch from '2026-07-12 05:17:15'::timestamp) - extract(epoch from '2026-07-12 05:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995917 -3.385911)'), GeomFromEWKT('SRID=4674;POINT (-38.995786 -3.38586)'))) / (select extract(epoch from '2026-07-12 05:17:15'::timestamp) - extract(epoch from '2026-07-12 05:17: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'), 47427, 'SRID=4674;POINT (-38.9957 -3.385805)', '2026-07-12 05:17:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995786 -3.38586)'), GeomFromEWKT('SRID=4674;POINT (-38.9957 -3.385805)'))) / (select extract(epoch from '2026-07-12 05:17:20'::timestamp) - extract(epoch from '2026-07-12 05:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995786 -3.38586)'), GeomFromEWKT('SRID=4674;POINT (-38.9957 -3.385805)'))) / (select extract(epoch from '2026-07-12 05:17:20'::timestamp) - extract(epoch from '2026-07-12 05:17: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'), 47427, 'SRID=4674;POINT (-38.995589 -3.385743)', '2026-07-12 05:17:27', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9957 -3.385805)'), GeomFromEWKT('SRID=4674;POINT (-38.995589 -3.385743)'))) / (select extract(epoch from '2026-07-12 05:17:27'::timestamp) - extract(epoch from '2026-07-12 05:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9957 -3.385805)'), GeomFromEWKT('SRID=4674;POINT (-38.995589 -3.385743)'))) / (select extract(epoch from '2026-07-12 05:17:27'::timestamp) - extract(epoch from '2026-07-12 05:17:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.99546 -3.38569)', '2026-07-12 05:17:34', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995589 -3.385743)'), GeomFromEWKT('SRID=4674;POINT (-38.99546 -3.38569)'))) / (select extract(epoch from '2026-07-12 05:17:34'::timestamp) - extract(epoch from '2026-07-12 05:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995589 -3.385743)'), GeomFromEWKT('SRID=4674;POINT (-38.99546 -3.38569)'))) / (select extract(epoch from '2026-07-12 05:17:34'::timestamp) - extract(epoch from '2026-07-12 05:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.995327 -3.385608)', '2026-07-12 05:17:42', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99546 -3.38569)'), GeomFromEWKT('SRID=4674;POINT (-38.995327 -3.385608)'))) / (select extract(epoch from '2026-07-12 05:17:42'::timestamp) - extract(epoch from '2026-07-12 05:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99546 -3.38569)'), GeomFromEWKT('SRID=4674;POINT (-38.995327 -3.385608)'))) / (select extract(epoch from '2026-07-12 05:17:42'::timestamp) - extract(epoch from '2026-07-12 05:17:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.995222 -3.385538)', '2026-07-12 05:17:49', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995327 -3.385608)'), GeomFromEWKT('SRID=4674;POINT (-38.995222 -3.385538)'))) / (select extract(epoch from '2026-07-12 05:17:49'::timestamp) - extract(epoch from '2026-07-12 05:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995327 -3.385608)'), GeomFromEWKT('SRID=4674;POINT (-38.995222 -3.385538)'))) / (select extract(epoch from '2026-07-12 05:17:49'::timestamp) - extract(epoch from '2026-07-12 05:17: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'), 47427, 'SRID=4674;POINT (-38.995093 -3.385477)', '2026-07-12 05:17:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995222 -3.385538)'), GeomFromEWKT('SRID=4674;POINT (-38.995093 -3.385477)'))) / (select extract(epoch from '2026-07-12 05:17:56'::timestamp) - extract(epoch from '2026-07-12 05:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995222 -3.385538)'), GeomFromEWKT('SRID=4674;POINT (-38.995093 -3.385477)'))) / (select extract(epoch from '2026-07-12 05:17:56'::timestamp) - extract(epoch from '2026-07-12 05:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.995015 -3.385422)', '2026-07-12 05:18:01', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995093 -3.385477)'), GeomFromEWKT('SRID=4674;POINT (-38.995015 -3.385422)'))) / (select extract(epoch from '2026-07-12 05:18:01'::timestamp) - extract(epoch from '2026-07-12 05:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995093 -3.385477)'), GeomFromEWKT('SRID=4674;POINT (-38.995015 -3.385422)'))) / (select extract(epoch from '2026-07-12 05:18:01'::timestamp) - extract(epoch from '2026-07-12 05:17: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'), 47427, 'SRID=4674;POINT (-38.994916 -3.385366)', '2026-07-12 05:18:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995015 -3.385422)'), GeomFromEWKT('SRID=4674;POINT (-38.994916 -3.385366)'))) / (select extract(epoch from '2026-07-12 05:18:06'::timestamp) - extract(epoch from '2026-07-12 05:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.995015 -3.385422)'), GeomFromEWKT('SRID=4674;POINT (-38.994916 -3.385366)'))) / (select extract(epoch from '2026-07-12 05:18:06'::timestamp) - extract(epoch from '2026-07-12 05:18: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'), 47427, 'SRID=4674;POINT (-38.994827 -3.38531)', '2026-07-12 05:18:12', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994916 -3.385366)'), GeomFromEWKT('SRID=4674;POINT (-38.994827 -3.38531)'))) / (select extract(epoch from '2026-07-12 05:18:12'::timestamp) - extract(epoch from '2026-07-12 05:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994916 -3.385366)'), GeomFromEWKT('SRID=4674;POINT (-38.994827 -3.38531)'))) / (select extract(epoch from '2026-07-12 05:18:12'::timestamp) - extract(epoch from '2026-07-12 05:18: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'), 47427, 'SRID=4674;POINT (-38.994696 -3.385259)', '2026-07-12 05:18:20', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994827 -3.38531)'), GeomFromEWKT('SRID=4674;POINT (-38.994696 -3.385259)'))) / (select extract(epoch from '2026-07-12 05:18:20'::timestamp) - extract(epoch from '2026-07-12 05:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994827 -3.38531)'), GeomFromEWKT('SRID=4674;POINT (-38.994696 -3.385259)'))) / (select extract(epoch from '2026-07-12 05:18:20'::timestamp) - extract(epoch from '2026-07-12 05:18: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'), 47427, 'SRID=4674;POINT (-38.994585 -3.385224)', '2026-07-12 05:18:26', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994696 -3.385259)'), GeomFromEWKT('SRID=4674;POINT (-38.994585 -3.385224)'))) / (select extract(epoch from '2026-07-12 05:18:26'::timestamp) - extract(epoch from '2026-07-12 05:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994696 -3.385259)'), GeomFromEWKT('SRID=4674;POINT (-38.994585 -3.385224)'))) / (select extract(epoch from '2026-07-12 05:18:26'::timestamp) - extract(epoch from '2026-07-12 05:18:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.994493 -3.385176)', '2026-07-12 05:18:32', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994585 -3.385224)'), GeomFromEWKT('SRID=4674;POINT (-38.994493 -3.385176)'))) / (select extract(epoch from '2026-07-12 05:18:32'::timestamp) - extract(epoch from '2026-07-12 05:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994585 -3.385224)'), GeomFromEWKT('SRID=4674;POINT (-38.994493 -3.385176)'))) / (select extract(epoch from '2026-07-12 05:18:32'::timestamp) - extract(epoch from '2026-07-12 05:18: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'), 47427, 'SRID=4674;POINT (-38.994389 -3.385124)', '2026-07-12 05:18:38', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994493 -3.385176)'), GeomFromEWKT('SRID=4674;POINT (-38.994389 -3.385124)'))) / (select extract(epoch from '2026-07-12 05:18:38'::timestamp) - extract(epoch from '2026-07-12 05:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994493 -3.385176)'), GeomFromEWKT('SRID=4674;POINT (-38.994389 -3.385124)'))) / (select extract(epoch from '2026-07-12 05:18:38'::timestamp) - extract(epoch from '2026-07-12 05:18: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'), 47427, 'SRID=4674;POINT (-38.9943 -3.385065)', '2026-07-12 05:18:44', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994389 -3.385124)'), GeomFromEWKT('SRID=4674;POINT (-38.9943 -3.385065)'))) / (select extract(epoch from '2026-07-12 05:18:44'::timestamp) - extract(epoch from '2026-07-12 05:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994389 -3.385124)'), GeomFromEWKT('SRID=4674;POINT (-38.9943 -3.385065)'))) / (select extract(epoch from '2026-07-12 05:18:44'::timestamp) - extract(epoch from '2026-07-12 05:18: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'), 47427, 'SRID=4674;POINT (-38.994222 -3.385001)', '2026-07-12 05:18:50', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9943 -3.385065)'), GeomFromEWKT('SRID=4674;POINT (-38.994222 -3.385001)'))) / (select extract(epoch from '2026-07-12 05:18:50'::timestamp) - extract(epoch from '2026-07-12 05:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9943 -3.385065)'), GeomFromEWKT('SRID=4674;POINT (-38.994222 -3.385001)'))) / (select extract(epoch from '2026-07-12 05:18:50'::timestamp) - extract(epoch from '2026-07-12 05:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.994086 -3.384947)', '2026-07-12 05:18:57', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994222 -3.385001)'), GeomFromEWKT('SRID=4674;POINT (-38.994086 -3.384947)'))) / (select extract(epoch from '2026-07-12 05:18:57'::timestamp) - extract(epoch from '2026-07-12 05:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994222 -3.385001)'), GeomFromEWKT('SRID=4674;POINT (-38.994086 -3.384947)'))) / (select extract(epoch from '2026-07-12 05:18:57'::timestamp) - extract(epoch from '2026-07-12 05:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.993946 -3.384901)', '2026-07-12 05:19:04', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994086 -3.384947)'), GeomFromEWKT('SRID=4674;POINT (-38.993946 -3.384901)'))) / (select extract(epoch from '2026-07-12 05:19:04'::timestamp) - extract(epoch from '2026-07-12 05:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.994086 -3.384947)'), GeomFromEWKT('SRID=4674;POINT (-38.993946 -3.384901)'))) / (select extract(epoch from '2026-07-12 05:19:04'::timestamp) - extract(epoch from '2026-07-12 05:18:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.99385 -3.384846)', '2026-07-12 05:19:10', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993946 -3.384901)'), GeomFromEWKT('SRID=4674;POINT (-38.99385 -3.384846)'))) / (select extract(epoch from '2026-07-12 05:19:10'::timestamp) - extract(epoch from '2026-07-12 05:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993946 -3.384901)'), GeomFromEWKT('SRID=4674;POINT (-38.99385 -3.384846)'))) / (select extract(epoch from '2026-07-12 05:19:10'::timestamp) - extract(epoch from '2026-07-12 05:19:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.99375 -3.384773)', '2026-07-12 05:19:17', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99385 -3.384846)'), GeomFromEWKT('SRID=4674;POINT (-38.99375 -3.384773)'))) / (select extract(epoch from '2026-07-12 05:19:17'::timestamp) - extract(epoch from '2026-07-12 05:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99385 -3.384846)'), GeomFromEWKT('SRID=4674;POINT (-38.99375 -3.384773)'))) / (select extract(epoch from '2026-07-12 05:19:17'::timestamp) - extract(epoch from '2026-07-12 05:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.99361 -3.384721)', '2026-07-12 05:19:23', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99375 -3.384773)'), GeomFromEWKT('SRID=4674;POINT (-38.99361 -3.384721)'))) / (select extract(epoch from '2026-07-12 05:19:23'::timestamp) - extract(epoch from '2026-07-12 05:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99375 -3.384773)'), GeomFromEWKT('SRID=4674;POINT (-38.99361 -3.384721)'))) / (select extract(epoch from '2026-07-12 05:19:23'::timestamp) - extract(epoch from '2026-07-12 05:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.99353 -3.384675)', '2026-07-12 05:19:28', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99361 -3.384721)'), GeomFromEWKT('SRID=4674;POINT (-38.99353 -3.384675)'))) / (select extract(epoch from '2026-07-12 05:19:28'::timestamp) - extract(epoch from '2026-07-12 05:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99361 -3.384721)'), GeomFromEWKT('SRID=4674;POINT (-38.99353 -3.384675)'))) / (select extract(epoch from '2026-07-12 05:19:28'::timestamp) - extract(epoch from '2026-07-12 05:19: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'), 47427, 'SRID=4674;POINT (-38.993452 -3.38461)', '2026-07-12 05:19:35', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99353 -3.384675)'), GeomFromEWKT('SRID=4674;POINT (-38.993452 -3.38461)'))) / (select extract(epoch from '2026-07-12 05:19:35'::timestamp) - extract(epoch from '2026-07-12 05:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99353 -3.384675)'), GeomFromEWKT('SRID=4674;POINT (-38.993452 -3.38461)'))) / (select extract(epoch from '2026-07-12 05:19:35'::timestamp) - extract(epoch from '2026-07-12 05:19:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.993351 -3.384547)', '2026-07-12 05:19:42', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993452 -3.38461)'), GeomFromEWKT('SRID=4674;POINT (-38.993351 -3.384547)'))) / (select extract(epoch from '2026-07-12 05:19:42'::timestamp) - extract(epoch from '2026-07-12 05:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993452 -3.38461)'), GeomFromEWKT('SRID=4674;POINT (-38.993351 -3.384547)'))) / (select extract(epoch from '2026-07-12 05:19:42'::timestamp) - extract(epoch from '2026-07-12 05:19:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.993218 -3.384483)', '2026-07-12 05:19:50', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993351 -3.384547)'), GeomFromEWKT('SRID=4674;POINT (-38.993218 -3.384483)'))) / (select extract(epoch from '2026-07-12 05:19:50'::timestamp) - extract(epoch from '2026-07-12 05:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993351 -3.384547)'), GeomFromEWKT('SRID=4674;POINT (-38.993218 -3.384483)'))) / (select extract(epoch from '2026-07-12 05:19:50'::timestamp) - extract(epoch from '2026-07-12 05:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.99311 -3.384419)', '2026-07-12 05:19:57', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993218 -3.384483)'), GeomFromEWKT('SRID=4674;POINT (-38.99311 -3.384419)'))) / (select extract(epoch from '2026-07-12 05:19:57'::timestamp) - extract(epoch from '2026-07-12 05:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.993218 -3.384483)'), GeomFromEWKT('SRID=4674;POINT (-38.99311 -3.384419)'))) / (select extract(epoch from '2026-07-12 05:19:57'::timestamp) - extract(epoch from '2026-07-12 05:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.992981 -3.384342)', '2026-07-12 05:20:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99311 -3.384419)'), GeomFromEWKT('SRID=4674;POINT (-38.992981 -3.384342)'))) / (select extract(epoch from '2026-07-12 05:20:04'::timestamp) - extract(epoch from '2026-07-12 05:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99311 -3.384419)'), GeomFromEWKT('SRID=4674;POINT (-38.992981 -3.384342)'))) / (select extract(epoch from '2026-07-12 05:20:04'::timestamp) - extract(epoch from '2026-07-12 05:19: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'), 47427, 'SRID=4674;POINT (-38.992855 -3.384243)', '2026-07-12 05:20:12', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992981 -3.384342)'), GeomFromEWKT('SRID=4674;POINT (-38.992855 -3.384243)'))) / (select extract(epoch from '2026-07-12 05:20:12'::timestamp) - extract(epoch from '2026-07-12 05:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992981 -3.384342)'), GeomFromEWKT('SRID=4674;POINT (-38.992855 -3.384243)'))) / (select extract(epoch from '2026-07-12 05:20:12'::timestamp) - extract(epoch from '2026-07-12 05:20:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.992709 -3.384167)', '2026-07-12 05:20:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992855 -3.384243)'), GeomFromEWKT('SRID=4674;POINT (-38.992709 -3.384167)'))) / (select extract(epoch from '2026-07-12 05:20:20'::timestamp) - extract(epoch from '2026-07-12 05:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992855 -3.384243)'), GeomFromEWKT('SRID=4674;POINT (-38.992709 -3.384167)'))) / (select extract(epoch from '2026-07-12 05:20:20'::timestamp) - extract(epoch from '2026-07-12 05:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.992641 -3.384121)', '2026-07-12 05:20:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992709 -3.384167)'), GeomFromEWKT('SRID=4674;POINT (-38.992641 -3.384121)'))) / (select extract(epoch from '2026-07-12 05:20:26'::timestamp) - extract(epoch from '2026-07-12 05:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992709 -3.384167)'), GeomFromEWKT('SRID=4674;POINT (-38.992641 -3.384121)'))) / (select extract(epoch from '2026-07-12 05:20:26'::timestamp) - extract(epoch from '2026-07-12 05:20:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.992527 -3.384066)', '2026-07-12 05:20:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992641 -3.384121)'), GeomFromEWKT('SRID=4674;POINT (-38.992527 -3.384066)'))) / (select extract(epoch from '2026-07-12 05:20:32'::timestamp) - extract(epoch from '2026-07-12 05:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992641 -3.384121)'), GeomFromEWKT('SRID=4674;POINT (-38.992527 -3.384066)'))) / (select extract(epoch from '2026-07-12 05:20:32'::timestamp) - extract(epoch from '2026-07-12 05:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.9924 -3.383994)', '2026-07-12 05:20:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992527 -3.384066)'), GeomFromEWKT('SRID=4674;POINT (-38.9924 -3.383994)'))) / (select extract(epoch from '2026-07-12 05:20:39'::timestamp) - extract(epoch from '2026-07-12 05:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992527 -3.384066)'), GeomFromEWKT('SRID=4674;POINT (-38.9924 -3.383994)'))) / (select extract(epoch from '2026-07-12 05:20:39'::timestamp) - extract(epoch from '2026-07-12 05:20: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'), 47427, 'SRID=4674;POINT (-38.992284 -3.383923)', '2026-07-12 05:20:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9924 -3.383994)'), GeomFromEWKT('SRID=4674;POINT (-38.992284 -3.383923)'))) / (select extract(epoch from '2026-07-12 05:20:46'::timestamp) - extract(epoch from '2026-07-12 05:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9924 -3.383994)'), GeomFromEWKT('SRID=4674;POINT (-38.992284 -3.383923)'))) / (select extract(epoch from '2026-07-12 05:20:46'::timestamp) - extract(epoch from '2026-07-12 05:20: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'), 47427, 'SRID=4674;POINT (-38.992163 -3.38388)', '2026-07-12 05:20:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992284 -3.383923)'), GeomFromEWKT('SRID=4674;POINT (-38.992163 -3.38388)'))) / (select extract(epoch from '2026-07-12 05:20:52'::timestamp) - extract(epoch from '2026-07-12 05:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992284 -3.383923)'), GeomFromEWKT('SRID=4674;POINT (-38.992163 -3.38388)'))) / (select extract(epoch from '2026-07-12 05:20:52'::timestamp) - extract(epoch from '2026-07-12 05:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.992029 -3.383815)', '2026-07-12 05:21:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992163 -3.38388)'), GeomFromEWKT('SRID=4674;POINT (-38.992029 -3.383815)'))) / (select extract(epoch from '2026-07-12 05:21:00'::timestamp) - extract(epoch from '2026-07-12 05:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992163 -3.38388)'), GeomFromEWKT('SRID=4674;POINT (-38.992029 -3.383815)'))) / (select extract(epoch from '2026-07-12 05:21:00'::timestamp) - extract(epoch from '2026-07-12 05:20: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'), 47427, 'SRID=4674;POINT (-38.991914 -3.383736)', '2026-07-12 05:21:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992029 -3.383815)'), GeomFromEWKT('SRID=4674;POINT (-38.991914 -3.383736)'))) / (select extract(epoch from '2026-07-12 05:21:07'::timestamp) - extract(epoch from '2026-07-12 05:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.992029 -3.383815)'), GeomFromEWKT('SRID=4674;POINT (-38.991914 -3.383736)'))) / (select extract(epoch from '2026-07-12 05:21:07'::timestamp) - extract(epoch from '2026-07-12 05:21: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'), 47427, 'SRID=4674;POINT (-38.991762 -3.383639)', '2026-07-12 05:21:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991914 -3.383736)'), GeomFromEWKT('SRID=4674;POINT (-38.991762 -3.383639)'))) / (select extract(epoch from '2026-07-12 05:21:15'::timestamp) - extract(epoch from '2026-07-12 05:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991914 -3.383736)'), GeomFromEWKT('SRID=4674;POINT (-38.991762 -3.383639)'))) / (select extract(epoch from '2026-07-12 05:21:15'::timestamp) - extract(epoch from '2026-07-12 05:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.991629 -3.383569)', '2026-07-12 05:21:22', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991762 -3.383639)'), GeomFromEWKT('SRID=4674;POINT (-38.991629 -3.383569)'))) / (select extract(epoch from '2026-07-12 05:21:22'::timestamp) - extract(epoch from '2026-07-12 05:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991762 -3.383639)'), GeomFromEWKT('SRID=4674;POINT (-38.991629 -3.383569)'))) / (select extract(epoch from '2026-07-12 05:21:22'::timestamp) - extract(epoch from '2026-07-12 05:21: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'), 47427, 'SRID=4674;POINT (-38.991505 -3.383504)', '2026-07-12 05:21:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991629 -3.383569)'), GeomFromEWKT('SRID=4674;POINT (-38.991505 -3.383504)'))) / (select extract(epoch from '2026-07-12 05:21:29'::timestamp) - extract(epoch from '2026-07-12 05:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991629 -3.383569)'), GeomFromEWKT('SRID=4674;POINT (-38.991505 -3.383504)'))) / (select extract(epoch from '2026-07-12 05:21:29'::timestamp) - extract(epoch from '2026-07-12 05:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.991385 -3.383446)', '2026-07-12 05:21:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991505 -3.383504)'), GeomFromEWKT('SRID=4674;POINT (-38.991385 -3.383446)'))) / (select extract(epoch from '2026-07-12 05:21:36'::timestamp) - extract(epoch from '2026-07-12 05:21:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991505 -3.383504)'), GeomFromEWKT('SRID=4674;POINT (-38.991385 -3.383446)'))) / (select extract(epoch from '2026-07-12 05:21:36'::timestamp) - extract(epoch from '2026-07-12 05:21:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.991265 -3.383385)', '2026-07-12 05:21:44', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991385 -3.383446)'), GeomFromEWKT('SRID=4674;POINT (-38.991265 -3.383385)'))) / (select extract(epoch from '2026-07-12 05:21:44'::timestamp) - extract(epoch from '2026-07-12 05:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991385 -3.383446)'), GeomFromEWKT('SRID=4674;POINT (-38.991265 -3.383385)'))) / (select extract(epoch from '2026-07-12 05:21:44'::timestamp) - extract(epoch from '2026-07-12 05:21: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'), 47427, 'SRID=4674;POINT (-38.99114 -3.38336)', '2026-07-12 05:21:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991265 -3.383385)'), GeomFromEWKT('SRID=4674;POINT (-38.99114 -3.38336)'))) / (select extract(epoch from '2026-07-12 05:21:50'::timestamp) - extract(epoch from '2026-07-12 05:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991265 -3.383385)'), GeomFromEWKT('SRID=4674;POINT (-38.99114 -3.38336)'))) / (select extract(epoch from '2026-07-12 05:21:50'::timestamp) - extract(epoch from '2026-07-12 05:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.991047 -3.383359)', '2026-07-12 05:21:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99114 -3.38336)'), GeomFromEWKT('SRID=4674;POINT (-38.991047 -3.383359)'))) / (select extract(epoch from '2026-07-12 05:21:55'::timestamp) - extract(epoch from '2026-07-12 05:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99114 -3.38336)'), GeomFromEWKT('SRID=4674;POINT (-38.991047 -3.383359)'))) / (select extract(epoch from '2026-07-12 05:21:55'::timestamp) - extract(epoch from '2026-07-12 05:21: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'), 47427, 'SRID=4674;POINT (-38.990971 -3.383297)', '2026-07-12 05:22:02', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991047 -3.383359)'), GeomFromEWKT('SRID=4674;POINT (-38.990971 -3.383297)'))) / (select extract(epoch from '2026-07-12 05:22:02'::timestamp) - extract(epoch from '2026-07-12 05:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.991047 -3.383359)'), GeomFromEWKT('SRID=4674;POINT (-38.990971 -3.383297)'))) / (select extract(epoch from '2026-07-12 05:22:02'::timestamp) - extract(epoch from '2026-07-12 05:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.990871 -3.383251)', '2026-07-12 05:22:09', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990971 -3.383297)'), GeomFromEWKT('SRID=4674;POINT (-38.990871 -3.383251)'))) / (select extract(epoch from '2026-07-12 05:22:09'::timestamp) - extract(epoch from '2026-07-12 05:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990971 -3.383297)'), GeomFromEWKT('SRID=4674;POINT (-38.990871 -3.383251)'))) / (select extract(epoch from '2026-07-12 05:22:09'::timestamp) - extract(epoch from '2026-07-12 05:22:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.990772 -3.383193)', '2026-07-12 05:22:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990871 -3.383251)'), GeomFromEWKT('SRID=4674;POINT (-38.990772 -3.383193)'))) / (select extract(epoch from '2026-07-12 05:22:15'::timestamp) - extract(epoch from '2026-07-12 05:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990871 -3.383251)'), GeomFromEWKT('SRID=4674;POINT (-38.990772 -3.383193)'))) / (select extract(epoch from '2026-07-12 05:22:15'::timestamp) - extract(epoch from '2026-07-12 05:22:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.990674 -3.38312)', '2026-07-12 05:22:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990772 -3.383193)'), GeomFromEWKT('SRID=4674;POINT (-38.990674 -3.38312)'))) / (select extract(epoch from '2026-07-12 05:22:21'::timestamp) - extract(epoch from '2026-07-12 05:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990772 -3.383193)'), GeomFromEWKT('SRID=4674;POINT (-38.990674 -3.38312)'))) / (select extract(epoch from '2026-07-12 05:22:21'::timestamp) - extract(epoch from '2026-07-12 05:22:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.990574 -3.383056)', '2026-07-12 05:22:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990674 -3.38312)'), GeomFromEWKT('SRID=4674;POINT (-38.990574 -3.383056)'))) / (select extract(epoch from '2026-07-12 05:22:27'::timestamp) - extract(epoch from '2026-07-12 05:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990674 -3.38312)'), GeomFromEWKT('SRID=4674;POINT (-38.990574 -3.383056)'))) / (select extract(epoch from '2026-07-12 05:22:27'::timestamp) - extract(epoch from '2026-07-12 05:22: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'), 47427, 'SRID=4674;POINT (-38.990484 -3.383013)', '2026-07-12 05:22:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990574 -3.383056)'), GeomFromEWKT('SRID=4674;POINT (-38.990484 -3.383013)'))) / (select extract(epoch from '2026-07-12 05:22:33'::timestamp) - extract(epoch from '2026-07-12 05:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990574 -3.383056)'), GeomFromEWKT('SRID=4674;POINT (-38.990484 -3.383013)'))) / (select extract(epoch from '2026-07-12 05:22:33'::timestamp) - extract(epoch from '2026-07-12 05:22: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'), 47427, 'SRID=4674;POINT (-38.99034 -3.382942)', '2026-07-12 05:22:41', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990484 -3.383013)'), GeomFromEWKT('SRID=4674;POINT (-38.99034 -3.382942)'))) / (select extract(epoch from '2026-07-12 05:22:41'::timestamp) - extract(epoch from '2026-07-12 05:22:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990484 -3.383013)'), GeomFromEWKT('SRID=4674;POINT (-38.99034 -3.382942)'))) / (select extract(epoch from '2026-07-12 05:22:41'::timestamp) - extract(epoch from '2026-07-12 05:22:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.990195 -3.382899)', '2026-07-12 05:22:48', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99034 -3.382942)'), GeomFromEWKT('SRID=4674;POINT (-38.990195 -3.382899)'))) / (select extract(epoch from '2026-07-12 05:22:48'::timestamp) - extract(epoch from '2026-07-12 05:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.99034 -3.382942)'), GeomFromEWKT('SRID=4674;POINT (-38.990195 -3.382899)'))) / (select extract(epoch from '2026-07-12 05:22:48'::timestamp) - extract(epoch from '2026-07-12 05:22: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'), 47427, 'SRID=4674;POINT (-38.990061 -3.382841)', '2026-07-12 05:22:56', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990195 -3.382899)'), GeomFromEWKT('SRID=4674;POINT (-38.990061 -3.382841)'))) / (select extract(epoch from '2026-07-12 05:22:56'::timestamp) - extract(epoch from '2026-07-12 05:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990195 -3.382899)'), GeomFromEWKT('SRID=4674;POINT (-38.990061 -3.382841)'))) / (select extract(epoch from '2026-07-12 05:22:56'::timestamp) - extract(epoch from '2026-07-12 05:22: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'), 47427, 'SRID=4674;POINT (-38.989948 -3.382794)', '2026-07-12 05:23:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990061 -3.382841)'), GeomFromEWKT('SRID=4674;POINT (-38.989948 -3.382794)'))) / (select extract(epoch from '2026-07-12 05:23:03'::timestamp) - extract(epoch from '2026-07-12 05:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.990061 -3.382841)'), GeomFromEWKT('SRID=4674;POINT (-38.989948 -3.382794)'))) / (select extract(epoch from '2026-07-12 05:23:03'::timestamp) - extract(epoch from '2026-07-12 05:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.989826 -3.382731)', '2026-07-12 05:23:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989948 -3.382794)'), GeomFromEWKT('SRID=4674;POINT (-38.989826 -3.382731)'))) / (select extract(epoch from '2026-07-12 05:23:10'::timestamp) - extract(epoch from '2026-07-12 05:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989948 -3.382794)'), GeomFromEWKT('SRID=4674;POINT (-38.989826 -3.382731)'))) / (select extract(epoch from '2026-07-12 05:23:10'::timestamp) - extract(epoch from '2026-07-12 05:23: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'), 47427, 'SRID=4674;POINT (-38.989699 -3.382687)', '2026-07-12 05:23:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989826 -3.382731)'), GeomFromEWKT('SRID=4674;POINT (-38.989699 -3.382687)'))) / (select extract(epoch from '2026-07-12 05:23:16'::timestamp) - extract(epoch from '2026-07-12 05:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989826 -3.382731)'), GeomFromEWKT('SRID=4674;POINT (-38.989699 -3.382687)'))) / (select extract(epoch from '2026-07-12 05:23:16'::timestamp) - extract(epoch from '2026-07-12 05:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.989564 -3.3826)', '2026-07-12 05:23:24', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989699 -3.382687)'), GeomFromEWKT('SRID=4674;POINT (-38.989564 -3.3826)'))) / (select extract(epoch from '2026-07-12 05:23:24'::timestamp) - extract(epoch from '2026-07-12 05:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989699 -3.382687)'), GeomFromEWKT('SRID=4674;POINT (-38.989564 -3.3826)'))) / (select extract(epoch from '2026-07-12 05:23:24'::timestamp) - extract(epoch from '2026-07-12 05:23:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.989444 -3.382547)', '2026-07-12 05:23:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989564 -3.3826)'), GeomFromEWKT('SRID=4674;POINT (-38.989444 -3.382547)'))) / (select extract(epoch from '2026-07-12 05:23:30'::timestamp) - extract(epoch from '2026-07-12 05:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989564 -3.3826)'), GeomFromEWKT('SRID=4674;POINT (-38.989444 -3.382547)'))) / (select extract(epoch from '2026-07-12 05:23:30'::timestamp) - extract(epoch from '2026-07-12 05:23: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'), 47427, 'SRID=4674;POINT (-38.989337 -3.382469)', '2026-07-12 05:23:37', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989444 -3.382547)'), GeomFromEWKT('SRID=4674;POINT (-38.989337 -3.382469)'))) / (select extract(epoch from '2026-07-12 05:23:37'::timestamp) - extract(epoch from '2026-07-12 05:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989444 -3.382547)'), GeomFromEWKT('SRID=4674;POINT (-38.989337 -3.382469)'))) / (select extract(epoch from '2026-07-12 05:23:37'::timestamp) - extract(epoch from '2026-07-12 05:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.989222 -3.382412)', '2026-07-12 05:23:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989337 -3.382469)'), GeomFromEWKT('SRID=4674;POINT (-38.989222 -3.382412)'))) / (select extract(epoch from '2026-07-12 05:23:44'::timestamp) - extract(epoch from '2026-07-12 05:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989337 -3.382469)'), GeomFromEWKT('SRID=4674;POINT (-38.989222 -3.382412)'))) / (select extract(epoch from '2026-07-12 05:23:44'::timestamp) - extract(epoch from '2026-07-12 05:23: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'), 47427, 'SRID=4674;POINT (-38.9891 -3.382376)', '2026-07-12 05:23:50', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989222 -3.382412)'), GeomFromEWKT('SRID=4674;POINT (-38.9891 -3.382376)'))) / (select extract(epoch from '2026-07-12 05:23:50'::timestamp) - extract(epoch from '2026-07-12 05:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989222 -3.382412)'), GeomFromEWKT('SRID=4674;POINT (-38.9891 -3.382376)'))) / (select extract(epoch from '2026-07-12 05:23:50'::timestamp) - extract(epoch from '2026-07-12 05:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.989 -3.382341)', '2026-07-12 05:23:56', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9891 -3.382376)'), GeomFromEWKT('SRID=4674;POINT (-38.989 -3.382341)'))) / (select extract(epoch from '2026-07-12 05:23:56'::timestamp) - extract(epoch from '2026-07-12 05:23:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.9891 -3.382376)'), GeomFromEWKT('SRID=4674;POINT (-38.989 -3.382341)'))) / (select extract(epoch from '2026-07-12 05:23:56'::timestamp) - extract(epoch from '2026-07-12 05:23:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.988883 -3.382287)', '2026-07-12 05:24:02', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989 -3.382341)'), GeomFromEWKT('SRID=4674;POINT (-38.988883 -3.382287)'))) / (select extract(epoch from '2026-07-12 05:24:02'::timestamp) - extract(epoch from '2026-07-12 05:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.989 -3.382341)'), GeomFromEWKT('SRID=4674;POINT (-38.988883 -3.382287)'))) / (select extract(epoch from '2026-07-12 05:24:02'::timestamp) - extract(epoch from '2026-07-12 05:23: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'), 47427, 'SRID=4674;POINT (-38.988744 -3.382231)', '2026-07-12 05:24:09', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988883 -3.382287)'), GeomFromEWKT('SRID=4674;POINT (-38.988744 -3.382231)'))) / (select extract(epoch from '2026-07-12 05:24:09'::timestamp) - extract(epoch from '2026-07-12 05:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988883 -3.382287)'), GeomFromEWKT('SRID=4674;POINT (-38.988744 -3.382231)'))) / (select extract(epoch from '2026-07-12 05:24:09'::timestamp) - extract(epoch from '2026-07-12 05:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.98861 -3.382184)', '2026-07-12 05:24:16', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988744 -3.382231)'), GeomFromEWKT('SRID=4674;POINT (-38.98861 -3.382184)'))) / (select extract(epoch from '2026-07-12 05:24:16'::timestamp) - extract(epoch from '2026-07-12 05:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988744 -3.382231)'), GeomFromEWKT('SRID=4674;POINT (-38.98861 -3.382184)'))) / (select extract(epoch from '2026-07-12 05:24:16'::timestamp) - extract(epoch from '2026-07-12 05:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.988509 -3.38212)', '2026-07-12 05:24:22', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98861 -3.382184)'), GeomFromEWKT('SRID=4674;POINT (-38.988509 -3.38212)'))) / (select extract(epoch from '2026-07-12 05:24:22'::timestamp) - extract(epoch from '2026-07-12 05:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98861 -3.382184)'), GeomFromEWKT('SRID=4674;POINT (-38.988509 -3.38212)'))) / (select extract(epoch from '2026-07-12 05:24:22'::timestamp) - extract(epoch from '2026-07-12 05:24: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'), 47427, 'SRID=4674;POINT (-38.988433 -3.382058)', '2026-07-12 05:24:28', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988509 -3.38212)'), GeomFromEWKT('SRID=4674;POINT (-38.988433 -3.382058)'))) / (select extract(epoch from '2026-07-12 05:24:28'::timestamp) - extract(epoch from '2026-07-12 05:24:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988509 -3.38212)'), GeomFromEWKT('SRID=4674;POINT (-38.988433 -3.382058)'))) / (select extract(epoch from '2026-07-12 05:24:28'::timestamp) - extract(epoch from '2026-07-12 05:24: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'), 47427, 'SRID=4674;POINT (-38.988337 -3.382)', '2026-07-12 05:24:34', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988433 -3.382058)'), GeomFromEWKT('SRID=4674;POINT (-38.988337 -3.382)'))) / (select extract(epoch from '2026-07-12 05:24:34'::timestamp) - extract(epoch from '2026-07-12 05:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988433 -3.382058)'), GeomFromEWKT('SRID=4674;POINT (-38.988337 -3.382)'))) / (select extract(epoch from '2026-07-12 05:24:34'::timestamp) - extract(epoch from '2026-07-12 05:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.988221 -3.381924)', '2026-07-12 05:24:41', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988337 -3.382)'), GeomFromEWKT('SRID=4674;POINT (-38.988221 -3.381924)'))) / (select extract(epoch from '2026-07-12 05:24:41'::timestamp) - extract(epoch from '2026-07-12 05:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988337 -3.382)'), GeomFromEWKT('SRID=4674;POINT (-38.988221 -3.381924)'))) / (select extract(epoch from '2026-07-12 05:24:41'::timestamp) - extract(epoch from '2026-07-12 05:24:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.98812 -3.381859)', '2026-07-12 05:24:48', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988221 -3.381924)'), GeomFromEWKT('SRID=4674;POINT (-38.98812 -3.381859)'))) / (select extract(epoch from '2026-07-12 05:24:48'::timestamp) - extract(epoch from '2026-07-12 05:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988221 -3.381924)'), GeomFromEWKT('SRID=4674;POINT (-38.98812 -3.381859)'))) / (select extract(epoch from '2026-07-12 05:24:48'::timestamp) - extract(epoch from '2026-07-12 05:24: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'), 47427, 'SRID=4674;POINT (-38.988013 -3.381808)', '2026-07-12 05:24:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98812 -3.381859)'), GeomFromEWKT('SRID=4674;POINT (-38.988013 -3.381808)'))) / (select extract(epoch from '2026-07-12 05:24:54'::timestamp) - extract(epoch from '2026-07-12 05:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98812 -3.381859)'), GeomFromEWKT('SRID=4674;POINT (-38.988013 -3.381808)'))) / (select extract(epoch from '2026-07-12 05:24:54'::timestamp) - extract(epoch from '2026-07-12 05:24: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'), 47427, 'SRID=4674;POINT (-38.987907 -3.381779)', '2026-07-12 05:25:00', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988013 -3.381808)'), GeomFromEWKT('SRID=4674;POINT (-38.987907 -3.381779)'))) / (select extract(epoch from '2026-07-12 05:25:00'::timestamp) - extract(epoch from '2026-07-12 05:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.988013 -3.381808)'), GeomFromEWKT('SRID=4674;POINT (-38.987907 -3.381779)'))) / (select extract(epoch from '2026-07-12 05:25:00'::timestamp) - extract(epoch from '2026-07-12 05:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.987794 -3.381727)', '2026-07-12 05:25:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987907 -3.381779)'), GeomFromEWKT('SRID=4674;POINT (-38.987794 -3.381727)'))) / (select extract(epoch from '2026-07-12 05:25:06'::timestamp) - extract(epoch from '2026-07-12 05:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987907 -3.381779)'), GeomFromEWKT('SRID=4674;POINT (-38.987794 -3.381727)'))) / (select extract(epoch from '2026-07-12 05:25:06'::timestamp) - extract(epoch from '2026-07-12 05:25: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'), 47427, 'SRID=4674;POINT (-38.987685 -3.381676)', '2026-07-12 05:25:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987794 -3.381727)'), GeomFromEWKT('SRID=4674;POINT (-38.987685 -3.381676)'))) / (select extract(epoch from '2026-07-12 05:25:12'::timestamp) - extract(epoch from '2026-07-12 05:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987794 -3.381727)'), GeomFromEWKT('SRID=4674;POINT (-38.987685 -3.381676)'))) / (select extract(epoch from '2026-07-12 05:25:12'::timestamp) - extract(epoch from '2026-07-12 05:25: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'), 47427, 'SRID=4674;POINT (-38.987572 -3.381646)', '2026-07-12 05:25:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987685 -3.381676)'), GeomFromEWKT('SRID=4674;POINT (-38.987572 -3.381646)'))) / (select extract(epoch from '2026-07-12 05:25:18'::timestamp) - extract(epoch from '2026-07-12 05:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987685 -3.381676)'), GeomFromEWKT('SRID=4674;POINT (-38.987572 -3.381646)'))) / (select extract(epoch from '2026-07-12 05:25:18'::timestamp) - extract(epoch from '2026-07-12 05:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.987443 -3.381578)', '2026-07-12 05:25:26', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987572 -3.381646)'), GeomFromEWKT('SRID=4674;POINT (-38.987443 -3.381578)'))) / (select extract(epoch from '2026-07-12 05:25:26'::timestamp) - extract(epoch from '2026-07-12 05:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987572 -3.381646)'), GeomFromEWKT('SRID=4674;POINT (-38.987443 -3.381578)'))) / (select extract(epoch from '2026-07-12 05:25:26'::timestamp) - extract(epoch from '2026-07-12 05:25:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.987348 -3.381546)', '2026-07-12 05:25:33', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987443 -3.381578)'), GeomFromEWKT('SRID=4674;POINT (-38.987348 -3.381546)'))) / (select extract(epoch from '2026-07-12 05:25:33'::timestamp) - extract(epoch from '2026-07-12 05:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987443 -3.381578)'), GeomFromEWKT('SRID=4674;POINT (-38.987348 -3.381546)'))) / (select extract(epoch from '2026-07-12 05:25:33'::timestamp) - extract(epoch from '2026-07-12 05:25: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'), 47427, 'SRID=4674;POINT (-38.987233 -3.381522)', '2026-07-12 05:25:40', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987348 -3.381546)'), GeomFromEWKT('SRID=4674;POINT (-38.987233 -3.381522)'))) / (select extract(epoch from '2026-07-12 05:25:40'::timestamp) - extract(epoch from '2026-07-12 05:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987348 -3.381546)'), GeomFromEWKT('SRID=4674;POINT (-38.987233 -3.381522)'))) / (select extract(epoch from '2026-07-12 05:25:40'::timestamp) - extract(epoch from '2026-07-12 05:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.987143 -3.381463)', '2026-07-12 05:25:46', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987233 -3.381522)'), GeomFromEWKT('SRID=4674;POINT (-38.987143 -3.381463)'))) / (select extract(epoch from '2026-07-12 05:25:46'::timestamp) - extract(epoch from '2026-07-12 05:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987233 -3.381522)'), GeomFromEWKT('SRID=4674;POINT (-38.987143 -3.381463)'))) / (select extract(epoch from '2026-07-12 05:25:46'::timestamp) - extract(epoch from '2026-07-12 05:25: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'), 47427, 'SRID=4674;POINT (-38.98702 -3.38143)', '2026-07-12 05:25:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987143 -3.381463)'), GeomFromEWKT('SRID=4674;POINT (-38.98702 -3.38143)'))) / (select extract(epoch from '2026-07-12 05:25:52'::timestamp) - extract(epoch from '2026-07-12 05:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.987143 -3.381463)'), GeomFromEWKT('SRID=4674;POINT (-38.98702 -3.38143)'))) / (select extract(epoch from '2026-07-12 05:25:52'::timestamp) - extract(epoch from '2026-07-12 05:25: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'), 47427, 'SRID=4674;POINT (-38.986895 -3.381391)', '2026-07-12 05:25:59', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98702 -3.38143)'), GeomFromEWKT('SRID=4674;POINT (-38.986895 -3.381391)'))) / (select extract(epoch from '2026-07-12 05:25:59'::timestamp) - extract(epoch from '2026-07-12 05:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98702 -3.38143)'), GeomFromEWKT('SRID=4674;POINT (-38.986895 -3.381391)'))) / (select extract(epoch from '2026-07-12 05:25:59'::timestamp) - extract(epoch from '2026-07-12 05:25:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986784 -3.381319)', '2026-07-12 05:26:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986895 -3.381391)'), GeomFromEWKT('SRID=4674;POINT (-38.986784 -3.381319)'))) / (select extract(epoch from '2026-07-12 05:26:06'::timestamp) - extract(epoch from '2026-07-12 05:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986895 -3.381391)'), GeomFromEWKT('SRID=4674;POINT (-38.986784 -3.381319)'))) / (select extract(epoch from '2026-07-12 05:26:06'::timestamp) - extract(epoch from '2026-07-12 05:25: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'), 47427, 'SRID=4674;POINT (-38.986685 -3.381277)', '2026-07-12 05:26:12', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986784 -3.381319)'), GeomFromEWKT('SRID=4674;POINT (-38.986685 -3.381277)'))) / (select extract(epoch from '2026-07-12 05:26:12'::timestamp) - extract(epoch from '2026-07-12 05:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986784 -3.381319)'), GeomFromEWKT('SRID=4674;POINT (-38.986685 -3.381277)'))) / (select extract(epoch from '2026-07-12 05:26:12'::timestamp) - extract(epoch from '2026-07-12 05:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986559 -3.381231)', '2026-07-12 05:26:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986685 -3.381277)'), GeomFromEWKT('SRID=4674;POINT (-38.986559 -3.381231)'))) / (select extract(epoch from '2026-07-12 05:26:19'::timestamp) - extract(epoch from '2026-07-12 05:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986685 -3.381277)'), GeomFromEWKT('SRID=4674;POINT (-38.986559 -3.381231)'))) / (select extract(epoch from '2026-07-12 05:26:19'::timestamp) - extract(epoch from '2026-07-12 05:26: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'), 47427, 'SRID=4674;POINT (-38.986466 -3.381213)', '2026-07-12 05:26:24', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986559 -3.381231)'), GeomFromEWKT('SRID=4674;POINT (-38.986466 -3.381213)'))) / (select extract(epoch from '2026-07-12 05:26:24'::timestamp) - extract(epoch from '2026-07-12 05:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986559 -3.381231)'), GeomFromEWKT('SRID=4674;POINT (-38.986466 -3.381213)'))) / (select extract(epoch from '2026-07-12 05:26:24'::timestamp) - extract(epoch from '2026-07-12 05:26: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'), 47427, 'SRID=4674;POINT (-38.986364 -3.381155)', '2026-07-12 05:26:31', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986466 -3.381213)'), GeomFromEWKT('SRID=4674;POINT (-38.986364 -3.381155)'))) / (select extract(epoch from '2026-07-12 05:26:31'::timestamp) - extract(epoch from '2026-07-12 05:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986466 -3.381213)'), GeomFromEWKT('SRID=4674;POINT (-38.986364 -3.381155)'))) / (select extract(epoch from '2026-07-12 05:26:31'::timestamp) - extract(epoch from '2026-07-12 05:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.98627 -3.38115)', '2026-07-12 05:26:36', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986364 -3.381155)'), GeomFromEWKT('SRID=4674;POINT (-38.98627 -3.38115)'))) / (select extract(epoch from '2026-07-12 05:26:36'::timestamp) - extract(epoch from '2026-07-12 05:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986364 -3.381155)'), GeomFromEWKT('SRID=4674;POINT (-38.98627 -3.38115)'))) / (select extract(epoch from '2026-07-12 05:26:36'::timestamp) - extract(epoch from '2026-07-12 05:26:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986207 -3.381088)', '2026-07-12 05:26:41', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98627 -3.38115)'), GeomFromEWKT('SRID=4674;POINT (-38.986207 -3.381088)'))) / (select extract(epoch from '2026-07-12 05:26:41'::timestamp) - extract(epoch from '2026-07-12 05:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98627 -3.38115)'), GeomFromEWKT('SRID=4674;POINT (-38.986207 -3.381088)'))) / (select extract(epoch from '2026-07-12 05:26:41'::timestamp) - extract(epoch from '2026-07-12 05:26: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'), 47427, 'SRID=4674;POINT (-38.986201 -3.381049)', '2026-07-12 05:26:43', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986207 -3.381088)'), GeomFromEWKT('SRID=4674;POINT (-38.986201 -3.381049)'))) / (select extract(epoch from '2026-07-12 05:26:43'::timestamp) - extract(epoch from '2026-07-12 05:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986207 -3.381088)'), GeomFromEWKT('SRID=4674;POINT (-38.986201 -3.381049)'))) / (select extract(epoch from '2026-07-12 05:26:43'::timestamp) - extract(epoch from '2026-07-12 05:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986227 -3.380986)', '2026-07-12 05:26:46', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986201 -3.381049)'), GeomFromEWKT('SRID=4674;POINT (-38.986227 -3.380986)'))) / (select extract(epoch from '2026-07-12 05:26:46'::timestamp) - extract(epoch from '2026-07-12 05:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986201 -3.381049)'), GeomFromEWKT('SRID=4674;POINT (-38.986227 -3.380986)'))) / (select extract(epoch from '2026-07-12 05:26:46'::timestamp) - extract(epoch from '2026-07-12 05:26: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'), 47427, 'SRID=4674;POINT (-38.98632 -3.380933)', '2026-07-12 05:26:51', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986227 -3.380986)'), GeomFromEWKT('SRID=4674;POINT (-38.98632 -3.380933)'))) / (select extract(epoch from '2026-07-12 05:26:51'::timestamp) - extract(epoch from '2026-07-12 05:26:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986227 -3.380986)'), GeomFromEWKT('SRID=4674;POINT (-38.98632 -3.380933)'))) / (select extract(epoch from '2026-07-12 05:26:51'::timestamp) - extract(epoch from '2026-07-12 05:26: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'), 47427, 'SRID=4674;POINT (-38.986427 -3.380978)', '2026-07-12 05:26:56', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98632 -3.380933)'), GeomFromEWKT('SRID=4674;POINT (-38.986427 -3.380978)'))) / (select extract(epoch from '2026-07-12 05:26:56'::timestamp) - extract(epoch from '2026-07-12 05:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98632 -3.380933)'), GeomFromEWKT('SRID=4674;POINT (-38.986427 -3.380978)'))) / (select extract(epoch from '2026-07-12 05:26:56'::timestamp) - extract(epoch from '2026-07-12 05:26: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'), 47427, 'SRID=4674;POINT (-38.986524 -3.381026)', '2026-07-12 05:27:01', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986427 -3.380978)'), GeomFromEWKT('SRID=4674;POINT (-38.986524 -3.381026)'))) / (select extract(epoch from '2026-07-12 05:27:01'::timestamp) - extract(epoch from '2026-07-12 05:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986427 -3.380978)'), GeomFromEWKT('SRID=4674;POINT (-38.986524 -3.381026)'))) / (select extract(epoch from '2026-07-12 05:27:01'::timestamp) - extract(epoch from '2026-07-12 05:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986594 -3.381086)', '2026-07-12 05:27:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986524 -3.381026)'), GeomFromEWKT('SRID=4674;POINT (-38.986594 -3.381086)'))) / (select extract(epoch from '2026-07-12 05:27:07'::timestamp) - extract(epoch from '2026-07-12 05:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986524 -3.381026)'), GeomFromEWKT('SRID=4674;POINT (-38.986594 -3.381086)'))) / (select extract(epoch from '2026-07-12 05:27:07'::timestamp) - extract(epoch from '2026-07-12 05:27:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986597 -3.381122)', '2026-07-12 05:27:12', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986594 -3.381086)'), GeomFromEWKT('SRID=4674;POINT (-38.986597 -3.381122)'))) / (select extract(epoch from '2026-07-12 05:27:12'::timestamp) - extract(epoch from '2026-07-12 05:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986594 -3.381086)'), GeomFromEWKT('SRID=4674;POINT (-38.986597 -3.381122)'))) / (select extract(epoch from '2026-07-12 05:27:12'::timestamp) - extract(epoch from '2026-07-12 05:27: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'), 47427, 'SRID=4674;POINT (-38.986554 -3.381189)', '2026-07-12 05:27:22', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986597 -3.381122)'), GeomFromEWKT('SRID=4674;POINT (-38.986554 -3.381189)'))) / (select extract(epoch from '2026-07-12 05:27:22'::timestamp) - extract(epoch from '2026-07-12 05:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986597 -3.381122)'), GeomFromEWKT('SRID=4674;POINT (-38.986554 -3.381189)'))) / (select extract(epoch from '2026-07-12 05:27:22'::timestamp) - extract(epoch from '2026-07-12 05:27:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.98654 -3.381193)', '2026-07-12 05:27:24', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986554 -3.381189)'), GeomFromEWKT('SRID=4674;POINT (-38.98654 -3.381193)'))) / (select extract(epoch from '2026-07-12 05:27:24'::timestamp) - extract(epoch from '2026-07-12 05:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986554 -3.381189)'), GeomFromEWKT('SRID=4674;POINT (-38.98654 -3.381193)'))) / (select extract(epoch from '2026-07-12 05:27:24'::timestamp) - extract(epoch from '2026-07-12 05:27:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986499 -3.38119)', '2026-07-12 05:27:27', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98654 -3.381193)'), GeomFromEWKT('SRID=4674;POINT (-38.986499 -3.38119)'))) / (select extract(epoch from '2026-07-12 05:27:27'::timestamp) - extract(epoch from '2026-07-12 05:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98654 -3.381193)'), GeomFromEWKT('SRID=4674;POINT (-38.986499 -3.38119)'))) / (select extract(epoch from '2026-07-12 05:27:27'::timestamp) - extract(epoch from '2026-07-12 05:27: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'), 47427, 'SRID=4674;POINT (-38.98647 -3.381131)', '2026-07-12 05:27:32', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986499 -3.38119)'), GeomFromEWKT('SRID=4674;POINT (-38.98647 -3.381131)'))) / (select extract(epoch from '2026-07-12 05:27:32'::timestamp) - extract(epoch from '2026-07-12 05:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986499 -3.38119)'), GeomFromEWKT('SRID=4674;POINT (-38.98647 -3.381131)'))) / (select extract(epoch from '2026-07-12 05:27:32'::timestamp) - extract(epoch from '2026-07-12 05:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986473 -3.381111)', '2026-07-12 05:27:33', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98647 -3.381131)'), GeomFromEWKT('SRID=4674;POINT (-38.986473 -3.381111)'))) / (select extract(epoch from '2026-07-12 05:27:33'::timestamp) - extract(epoch from '2026-07-12 05:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98647 -3.381131)'), GeomFromEWKT('SRID=4674;POINT (-38.986473 -3.381111)'))) / (select extract(epoch from '2026-07-12 05:27:33'::timestamp) - extract(epoch from '2026-07-12 05:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.98653 -3.381038)', '2026-07-12 05:27:38', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986473 -3.381111)'), GeomFromEWKT('SRID=4674;POINT (-38.98653 -3.381038)'))) / (select extract(epoch from '2026-07-12 05:27:38'::timestamp) - extract(epoch from '2026-07-12 05:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986473 -3.381111)'), GeomFromEWKT('SRID=4674;POINT (-38.98653 -3.381038)'))) / (select extract(epoch from '2026-07-12 05:27:38'::timestamp) - extract(epoch from '2026-07-12 05:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986548 -3.381023)', '2026-07-12 05:27:40', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98653 -3.381038)'), GeomFromEWKT('SRID=4674;POINT (-38.986548 -3.381023)'))) / (select extract(epoch from '2026-07-12 05:27:40'::timestamp) - extract(epoch from '2026-07-12 05:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98653 -3.381038)'), GeomFromEWKT('SRID=4674;POINT (-38.986548 -3.381023)'))) / (select extract(epoch from '2026-07-12 05:27:40'::timestamp) - extract(epoch from '2026-07-12 05:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986583 -3.381025)', '2026-07-12 05:27:42', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986548 -3.381023)'), GeomFromEWKT('SRID=4674;POINT (-38.986583 -3.381025)'))) / (select extract(epoch from '2026-07-12 05:27:42'::timestamp) - extract(epoch from '2026-07-12 05:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986548 -3.381023)'), GeomFromEWKT('SRID=4674;POINT (-38.986583 -3.381025)'))) / (select extract(epoch from '2026-07-12 05:27:42'::timestamp) - extract(epoch from '2026-07-12 05:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.98667 -3.381021)', '2026-07-12 05:27:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986583 -3.381025)'), GeomFromEWKT('SRID=4674;POINT (-38.98667 -3.381021)'))) / (select extract(epoch from '2026-07-12 05:27:47'::timestamp) - extract(epoch from '2026-07-12 05:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986583 -3.381025)'), GeomFromEWKT('SRID=4674;POINT (-38.98667 -3.381021)'))) / (select extract(epoch from '2026-07-12 05:27:47'::timestamp) - extract(epoch from '2026-07-12 05:27:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986726 -3.381047)', '2026-07-12 05:27:52', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98667 -3.381021)'), GeomFromEWKT('SRID=4674;POINT (-38.986726 -3.381047)'))) / (select extract(epoch from '2026-07-12 05:27:52'::timestamp) - extract(epoch from '2026-07-12 05:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98667 -3.381021)'), GeomFromEWKT('SRID=4674;POINT (-38.986726 -3.381047)'))) / (select extract(epoch from '2026-07-12 05:27:52'::timestamp) - extract(epoch from '2026-07-12 05:27:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986781 -3.381083)', '2026-07-12 05:27:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986726 -3.381047)'), GeomFromEWKT('SRID=4674;POINT (-38.986781 -3.381083)'))) / (select extract(epoch from '2026-07-12 05:27:58'::timestamp) - extract(epoch from '2026-07-12 05:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986726 -3.381047)'), GeomFromEWKT('SRID=4674;POINT (-38.986781 -3.381083)'))) / (select extract(epoch from '2026-07-12 05:27:58'::timestamp) - extract(epoch from '2026-07-12 05:27:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986873 -3.381076)', '2026-07-12 05:28:04', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986781 -3.381083)'), GeomFromEWKT('SRID=4674;POINT (-38.986873 -3.381076)'))) / (select extract(epoch from '2026-07-12 05:28:04'::timestamp) - extract(epoch from '2026-07-12 05:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986781 -3.381083)'), GeomFromEWKT('SRID=4674;POINT (-38.986873 -3.381076)'))) / (select extract(epoch from '2026-07-12 05:28:04'::timestamp) - extract(epoch from '2026-07-12 05:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.98691 -3.381051)', '2026-07-12 05:28:07', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986873 -3.381076)'), GeomFromEWKT('SRID=4674;POINT (-38.98691 -3.381051)'))) / (select extract(epoch from '2026-07-12 05:28:07'::timestamp) - extract(epoch from '2026-07-12 05:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986873 -3.381076)'), GeomFromEWKT('SRID=4674;POINT (-38.98691 -3.381051)'))) / (select extract(epoch from '2026-07-12 05:28:07'::timestamp) - extract(epoch from '2026-07-12 05:28: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'), 47427, 'SRID=4674;POINT (-38.986927 -3.381028)', '2026-07-12 05:28:09', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98691 -3.381051)'), GeomFromEWKT('SRID=4674;POINT (-38.986927 -3.381028)'))) / (select extract(epoch from '2026-07-12 05:28:09'::timestamp) - extract(epoch from '2026-07-12 05:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98691 -3.381051)'), GeomFromEWKT('SRID=4674;POINT (-38.986927 -3.381028)'))) / (select extract(epoch from '2026-07-12 05:28:09'::timestamp) - extract(epoch from '2026-07-12 05:28: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'), 47427, 'SRID=4674;POINT (-38.986946 -3.380956)', '2026-07-12 05:28:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986927 -3.381028)'), GeomFromEWKT('SRID=4674;POINT (-38.986946 -3.380956)'))) / (select extract(epoch from '2026-07-12 05:28:15'::timestamp) - extract(epoch from '2026-07-12 05:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986927 -3.381028)'), GeomFromEWKT('SRID=4674;POINT (-38.986946 -3.380956)'))) / (select extract(epoch from '2026-07-12 05:28:15'::timestamp) - extract(epoch from '2026-07-12 05:28:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986942 -3.380945)', '2026-07-12 05:28:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986946 -3.380956)'), GeomFromEWKT('SRID=4674;POINT (-38.986942 -3.380945)'))) / (select extract(epoch from '2026-07-12 05:28:16'::timestamp) - extract(epoch from '2026-07-12 05:28:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986946 -3.380956)'), GeomFromEWKT('SRID=4674;POINT (-38.986942 -3.380945)'))) / (select extract(epoch from '2026-07-12 05:28:16'::timestamp) - extract(epoch from '2026-07-12 05:28: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'), 47427, 'SRID=4674;POINT (-38.98693 -3.380922)', '2026-07-12 05:28:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986942 -3.380945)'), GeomFromEWKT('SRID=4674;POINT (-38.98693 -3.380922)'))) / (select extract(epoch from '2026-07-12 05:28:18'::timestamp) - extract(epoch from '2026-07-12 05:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986942 -3.380945)'), GeomFromEWKT('SRID=4674;POINT (-38.98693 -3.380922)'))) / (select extract(epoch from '2026-07-12 05:28:18'::timestamp) - extract(epoch from '2026-07-12 05:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986892 -3.380898)', '2026-07-12 05:28:22', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98693 -3.380922)'), GeomFromEWKT('SRID=4674;POINT (-38.986892 -3.380898)'))) / (select extract(epoch from '2026-07-12 05:28:22'::timestamp) - extract(epoch from '2026-07-12 05:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98693 -3.380922)'), GeomFromEWKT('SRID=4674;POINT (-38.986892 -3.380898)'))) / (select extract(epoch from '2026-07-12 05:28:22'::timestamp) - extract(epoch from '2026-07-12 05:28: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'), 47427, 'SRID=4674;POINT (-38.986868 -3.380895)', '2026-07-12 05:28:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986892 -3.380898)'), GeomFromEWKT('SRID=4674;POINT (-38.986868 -3.380895)'))) / (select extract(epoch from '2026-07-12 05:28:24'::timestamp) - extract(epoch from '2026-07-12 05:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986892 -3.380898)'), GeomFromEWKT('SRID=4674;POINT (-38.986868 -3.380895)'))) / (select extract(epoch from '2026-07-12 05:28:24'::timestamp) - extract(epoch from '2026-07-12 05:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986825 -3.380897)', '2026-07-12 05:28:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986868 -3.380895)'), GeomFromEWKT('SRID=4674;POINT (-38.986825 -3.380897)'))) / (select extract(epoch from '2026-07-12 05:28:28'::timestamp) - extract(epoch from '2026-07-12 05:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986868 -3.380895)'), GeomFromEWKT('SRID=4674;POINT (-38.986825 -3.380897)'))) / (select extract(epoch from '2026-07-12 05:28:28'::timestamp) - extract(epoch from '2026-07-12 05:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986807 -3.380906)', '2026-07-12 05:28:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986825 -3.380897)'), GeomFromEWKT('SRID=4674;POINT (-38.986807 -3.380906)'))) / (select extract(epoch from '2026-07-12 05:28:34'::timestamp) - extract(epoch from '2026-07-12 05:28:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986825 -3.380897)'), GeomFromEWKT('SRID=4674;POINT (-38.986807 -3.380906)'))) / (select extract(epoch from '2026-07-12 05:28:34'::timestamp) - extract(epoch from '2026-07-12 05:28: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'), 47427, 'SRID=4674;POINT (-38.986822 -3.380974)', '2026-07-12 05:28:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986807 -3.380906)'), GeomFromEWKT('SRID=4674;POINT (-38.986822 -3.380974)'))) / (select extract(epoch from '2026-07-12 05:28:47'::timestamp) - extract(epoch from '2026-07-12 05:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986807 -3.380906)'), GeomFromEWKT('SRID=4674;POINT (-38.986822 -3.380974)'))) / (select extract(epoch from '2026-07-12 05:28:47'::timestamp) - extract(epoch from '2026-07-12 05:28: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'), 47427, 'SRID=4674;POINT (-38.986794 -3.381047)', '2026-07-12 05:28:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986822 -3.380974)'), GeomFromEWKT('SRID=4674;POINT (-38.986794 -3.381047)'))) / (select extract(epoch from '2026-07-12 05:28:54'::timestamp) - extract(epoch from '2026-07-12 05:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986822 -3.380974)'), GeomFromEWKT('SRID=4674;POINT (-38.986794 -3.381047)'))) / (select extract(epoch from '2026-07-12 05:28:54'::timestamp) - extract(epoch from '2026-07-12 05:28: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'), 47427, 'SRID=4674;POINT (-38.986777 -3.381062)', '2026-07-12 05:28:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986794 -3.381047)'), GeomFromEWKT('SRID=4674;POINT (-38.986777 -3.381062)'))) / (select extract(epoch from '2026-07-12 05:28:56'::timestamp) - extract(epoch from '2026-07-12 05:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986794 -3.381047)'), GeomFromEWKT('SRID=4674;POINT (-38.986777 -3.381062)'))) / (select extract(epoch from '2026-07-12 05:28:56'::timestamp) - extract(epoch from '2026-07-12 05:28: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'), 47427, 'SRID=4674;POINT (-38.986757 -3.381075)', '2026-07-12 05:28:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986777 -3.381062)'), GeomFromEWKT('SRID=4674;POINT (-38.986757 -3.381075)'))) / (select extract(epoch from '2026-07-12 05:28:59'::timestamp) - extract(epoch from '2026-07-12 05:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986777 -3.381062)'), GeomFromEWKT('SRID=4674;POINT (-38.986757 -3.381075)'))) / (select extract(epoch from '2026-07-12 05:28:59'::timestamp) - extract(epoch from '2026-07-12 05:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986724 -3.381082)', '2026-07-12 05:29:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986757 -3.381075)'), GeomFromEWKT('SRID=4674;POINT (-38.986724 -3.381082)'))) / (select extract(epoch from '2026-07-12 05:29:02'::timestamp) - extract(epoch from '2026-07-12 05:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986757 -3.381075)'), GeomFromEWKT('SRID=4674;POINT (-38.986724 -3.381082)'))) / (select extract(epoch from '2026-07-12 05:29:02'::timestamp) - extract(epoch from '2026-07-12 05:28:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986706 -3.381084)', '2026-07-12 05:29:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986724 -3.381082)'), GeomFromEWKT('SRID=4674;POINT (-38.986706 -3.381084)'))) / (select extract(epoch from '2026-07-12 05:29:04'::timestamp) - extract(epoch from '2026-07-12 05:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986724 -3.381082)'), GeomFromEWKT('SRID=4674;POINT (-38.986706 -3.381084)'))) / (select extract(epoch from '2026-07-12 05:29:04'::timestamp) - extract(epoch from '2026-07-12 05:29: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'), 47427, 'SRID=4674;POINT (-38.986651 -3.381071)', '2026-07-12 05:29:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986706 -3.381084)'), GeomFromEWKT('SRID=4674;POINT (-38.986651 -3.381071)'))) / (select extract(epoch from '2026-07-12 05:29:08'::timestamp) - extract(epoch from '2026-07-12 05:29:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986706 -3.381084)'), GeomFromEWKT('SRID=4674;POINT (-38.986651 -3.381071)'))) / (select extract(epoch from '2026-07-12 05:29:08'::timestamp) - extract(epoch from '2026-07-12 05:29:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986541 -3.381054)', '2026-07-12 05:29:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986651 -3.381071)'), GeomFromEWKT('SRID=4674;POINT (-38.986541 -3.381054)'))) / (select extract(epoch from '2026-07-12 05:29:15'::timestamp) - extract(epoch from '2026-07-12 05:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986651 -3.381071)'), GeomFromEWKT('SRID=4674;POINT (-38.986541 -3.381054)'))) / (select extract(epoch from '2026-07-12 05:29:15'::timestamp) - extract(epoch from '2026-07-12 05:29: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'), 47427, 'SRID=4674;POINT (-38.986479 -3.381044)', '2026-07-12 05:29:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986541 -3.381054)'), GeomFromEWKT('SRID=4674;POINT (-38.986479 -3.381044)'))) / (select extract(epoch from '2026-07-12 05:29:20'::timestamp) - extract(epoch from '2026-07-12 05:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986541 -3.381054)'), GeomFromEWKT('SRID=4674;POINT (-38.986479 -3.381044)'))) / (select extract(epoch from '2026-07-12 05:29:20'::timestamp) - extract(epoch from '2026-07-12 05:29: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'), 47427, 'SRID=4674;POINT (-38.986426 -3.381038)', '2026-07-12 05:29:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986479 -3.381044)'), GeomFromEWKT('SRID=4674;POINT (-38.986426 -3.381038)'))) / (select extract(epoch from '2026-07-12 05:29:26'::timestamp) - extract(epoch from '2026-07-12 05:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986479 -3.381044)'), GeomFromEWKT('SRID=4674;POINT (-38.986426 -3.381038)'))) / (select extract(epoch from '2026-07-12 05:29:26'::timestamp) - extract(epoch from '2026-07-12 05:29: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'), 47427, 'SRID=4674;POINT (-38.986326 -3.381067)', '2026-07-12 05:29:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986426 -3.381038)'), GeomFromEWKT('SRID=4674;POINT (-38.986326 -3.381067)'))) / (select extract(epoch from '2026-07-12 05:29:34'::timestamp) - extract(epoch from '2026-07-12 05:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986426 -3.381038)'), GeomFromEWKT('SRID=4674;POINT (-38.986326 -3.381067)'))) / (select extract(epoch from '2026-07-12 05:29:34'::timestamp) - extract(epoch from '2026-07-12 05:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.986223 -3.38109)', '2026-07-12 05:29:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986326 -3.381067)'), GeomFromEWKT('SRID=4674;POINT (-38.986223 -3.38109)'))) / (select extract(epoch from '2026-07-12 05:29:41'::timestamp) - extract(epoch from '2026-07-12 05:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986326 -3.381067)'), GeomFromEWKT('SRID=4674;POINT (-38.986223 -3.38109)'))) / (select extract(epoch from '2026-07-12 05:29:41'::timestamp) - extract(epoch from '2026-07-12 05:29: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'), 47427, 'SRID=4674;POINT (-38.986118 -3.38108)', '2026-07-12 05:29:48', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986223 -3.38109)'), GeomFromEWKT('SRID=4674;POINT (-38.986118 -3.38108)'))) / (select extract(epoch from '2026-07-12 05:29:48'::timestamp) - extract(epoch from '2026-07-12 05:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986223 -3.38109)'), GeomFromEWKT('SRID=4674;POINT (-38.986118 -3.38108)'))) / (select extract(epoch from '2026-07-12 05:29:48'::timestamp) - extract(epoch from '2026-07-12 05:29: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'), 47427, 'SRID=4674;POINT (-38.985954 -3.381084)', '2026-07-12 05:29:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986118 -3.38108)'), GeomFromEWKT('SRID=4674;POINT (-38.985954 -3.381084)'))) / (select extract(epoch from '2026-07-12 05:29:57'::timestamp) - extract(epoch from '2026-07-12 05:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.986118 -3.38108)'), GeomFromEWKT('SRID=4674;POINT (-38.985954 -3.381084)'))) / (select extract(epoch from '2026-07-12 05:29:57'::timestamp) - extract(epoch from '2026-07-12 05:29:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.985841 -3.381091)', '2026-07-12 05:30:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985954 -3.381084)'), GeomFromEWKT('SRID=4674;POINT (-38.985841 -3.381091)'))) / (select extract(epoch from '2026-07-12 05:30:04'::timestamp) - extract(epoch from '2026-07-12 05:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985954 -3.381084)'), GeomFromEWKT('SRID=4674;POINT (-38.985841 -3.381091)'))) / (select extract(epoch from '2026-07-12 05:30:04'::timestamp) - extract(epoch from '2026-07-12 05:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.985716 -3.381092)', '2026-07-12 05:30:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985841 -3.381091)'), GeomFromEWKT('SRID=4674;POINT (-38.985716 -3.381092)'))) / (select extract(epoch from '2026-07-12 05:30:11'::timestamp) - extract(epoch from '2026-07-12 05:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985841 -3.381091)'), GeomFromEWKT('SRID=4674;POINT (-38.985716 -3.381092)'))) / (select extract(epoch from '2026-07-12 05:30:11'::timestamp) - extract(epoch from '2026-07-12 05:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.985642 -3.381098)', '2026-07-12 05:30:17', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985716 -3.381092)'), GeomFromEWKT('SRID=4674;POINT (-38.985642 -3.381098)'))) / (select extract(epoch from '2026-07-12 05:30:17'::timestamp) - extract(epoch from '2026-07-12 05:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985716 -3.381092)'), GeomFromEWKT('SRID=4674;POINT (-38.985642 -3.381098)'))) / (select extract(epoch from '2026-07-12 05:30:17'::timestamp) - extract(epoch from '2026-07-12 05:30:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.985536 -3.38111)', '2026-07-12 05:30:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985642 -3.381098)'), GeomFromEWKT('SRID=4674;POINT (-38.985536 -3.38111)'))) / (select extract(epoch from '2026-07-12 05:30:24'::timestamp) - extract(epoch from '2026-07-12 05:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985642 -3.381098)'), GeomFromEWKT('SRID=4674;POINT (-38.985536 -3.38111)'))) / (select extract(epoch from '2026-07-12 05:30:24'::timestamp) - extract(epoch from '2026-07-12 05:30: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'), 47427, 'SRID=4674;POINT (-38.985399 -3.381119)', '2026-07-12 05:30:31', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985536 -3.38111)'), GeomFromEWKT('SRID=4674;POINT (-38.985399 -3.381119)'))) / (select extract(epoch from '2026-07-12 05:30:31'::timestamp) - extract(epoch from '2026-07-12 05:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985536 -3.38111)'), GeomFromEWKT('SRID=4674;POINT (-38.985399 -3.381119)'))) / (select extract(epoch from '2026-07-12 05:30:31'::timestamp) - extract(epoch from '2026-07-12 05:30: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'), 47427, 'SRID=4674;POINT (-38.985313 -3.38115)', '2026-07-12 05:30:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985399 -3.381119)'), GeomFromEWKT('SRID=4674;POINT (-38.985313 -3.38115)'))) / (select extract(epoch from '2026-07-12 05:30:37'::timestamp) - extract(epoch from '2026-07-12 05:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985399 -3.381119)'), GeomFromEWKT('SRID=4674;POINT (-38.985313 -3.38115)'))) / (select extract(epoch from '2026-07-12 05:30:37'::timestamp) - extract(epoch from '2026-07-12 05:30: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'), 47427, 'SRID=4674;POINT (-38.985212 -3.381156)', '2026-07-12 05:30:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985313 -3.38115)'), GeomFromEWKT('SRID=4674;POINT (-38.985212 -3.381156)'))) / (select extract(epoch from '2026-07-12 05:30:43'::timestamp) - extract(epoch from '2026-07-12 05:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985313 -3.38115)'), GeomFromEWKT('SRID=4674;POINT (-38.985212 -3.381156)'))) / (select extract(epoch from '2026-07-12 05:30:43'::timestamp) - extract(epoch from '2026-07-12 05:30: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'), 47427, 'SRID=4674;POINT (-38.985085 -3.381156)', '2026-07-12 05:30:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985212 -3.381156)'), GeomFromEWKT('SRID=4674;POINT (-38.985085 -3.381156)'))) / (select extract(epoch from '2026-07-12 05:30:50'::timestamp) - extract(epoch from '2026-07-12 05:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985212 -3.381156)'), GeomFromEWKT('SRID=4674;POINT (-38.985085 -3.381156)'))) / (select extract(epoch from '2026-07-12 05:30:50'::timestamp) - extract(epoch from '2026-07-12 05:30:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.984957 -3.381161)', '2026-07-12 05:30:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985085 -3.381156)'), GeomFromEWKT('SRID=4674;POINT (-38.984957 -3.381161)'))) / (select extract(epoch from '2026-07-12 05:30:58'::timestamp) - extract(epoch from '2026-07-12 05:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.985085 -3.381156)'), GeomFromEWKT('SRID=4674;POINT (-38.984957 -3.381161)'))) / (select extract(epoch from '2026-07-12 05:30:58'::timestamp) - extract(epoch from '2026-07-12 05:30:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.984863 -3.381169)', '2026-07-12 05:31:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984957 -3.381161)'), GeomFromEWKT('SRID=4674;POINT (-38.984863 -3.381169)'))) / (select extract(epoch from '2026-07-12 05:31:04'::timestamp) - extract(epoch from '2026-07-12 05:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984957 -3.381161)'), GeomFromEWKT('SRID=4674;POINT (-38.984863 -3.381169)'))) / (select extract(epoch from '2026-07-12 05:31:04'::timestamp) - extract(epoch from '2026-07-12 05:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.984726 -3.381178)', '2026-07-12 05:31:12', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984863 -3.381169)'), GeomFromEWKT('SRID=4674;POINT (-38.984726 -3.381178)'))) / (select extract(epoch from '2026-07-12 05:31:12'::timestamp) - extract(epoch from '2026-07-12 05:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984863 -3.381169)'), GeomFromEWKT('SRID=4674;POINT (-38.984726 -3.381178)'))) / (select extract(epoch from '2026-07-12 05:31:12'::timestamp) - extract(epoch from '2026-07-12 05:31: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'), 47427, 'SRID=4674;POINT (-38.98463 -3.381187)', '2026-07-12 05:31:18', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984726 -3.381178)'), GeomFromEWKT('SRID=4674;POINT (-38.98463 -3.381187)'))) / (select extract(epoch from '2026-07-12 05:31:18'::timestamp) - extract(epoch from '2026-07-12 05:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984726 -3.381178)'), GeomFromEWKT('SRID=4674;POINT (-38.98463 -3.381187)'))) / (select extract(epoch from '2026-07-12 05:31:18'::timestamp) - extract(epoch from '2026-07-12 05:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.984532 -3.381199)', '2026-07-12 05:31:25', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98463 -3.381187)'), GeomFromEWKT('SRID=4674;POINT (-38.984532 -3.381199)'))) / (select extract(epoch from '2026-07-12 05:31:25'::timestamp) - extract(epoch from '2026-07-12 05:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98463 -3.381187)'), GeomFromEWKT('SRID=4674;POINT (-38.984532 -3.381199)'))) / (select extract(epoch from '2026-07-12 05:31:25'::timestamp) - extract(epoch from '2026-07-12 05:31: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'), 47427, 'SRID=4674;POINT (-38.984431 -3.381226)', '2026-07-12 05:31:32', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984532 -3.381199)'), GeomFromEWKT('SRID=4674;POINT (-38.984431 -3.381226)'))) / (select extract(epoch from '2026-07-12 05:31:32'::timestamp) - extract(epoch from '2026-07-12 05:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984532 -3.381199)'), GeomFromEWKT('SRID=4674;POINT (-38.984431 -3.381226)'))) / (select extract(epoch from '2026-07-12 05:31:32'::timestamp) - extract(epoch from '2026-07-12 05:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.984268 -3.381252)', '2026-07-12 05:31:42', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984431 -3.381226)'), GeomFromEWKT('SRID=4674;POINT (-38.984268 -3.381252)'))) / (select extract(epoch from '2026-07-12 05:31:42'::timestamp) - extract(epoch from '2026-07-12 05:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984431 -3.381226)'), GeomFromEWKT('SRID=4674;POINT (-38.984268 -3.381252)'))) / (select extract(epoch from '2026-07-12 05:31:42'::timestamp) - extract(epoch from '2026-07-12 05:31: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'), 47427, 'SRID=4674;POINT (-38.984166 -3.381255)', '2026-07-12 05:31:49', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984268 -3.381252)'), GeomFromEWKT('SRID=4674;POINT (-38.984166 -3.381255)'))) / (select extract(epoch from '2026-07-12 05:31:49'::timestamp) - extract(epoch from '2026-07-12 05:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984268 -3.381252)'), GeomFromEWKT('SRID=4674;POINT (-38.984166 -3.381255)'))) / (select extract(epoch from '2026-07-12 05:31:49'::timestamp) - extract(epoch from '2026-07-12 05:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.98404 -3.381236)', '2026-07-12 05:31:56', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984166 -3.381255)'), GeomFromEWKT('SRID=4674;POINT (-38.98404 -3.381236)'))) / (select extract(epoch from '2026-07-12 05:31:56'::timestamp) - extract(epoch from '2026-07-12 05:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.984166 -3.381255)'), GeomFromEWKT('SRID=4674;POINT (-38.98404 -3.381236)'))) / (select extract(epoch from '2026-07-12 05:31:56'::timestamp) - extract(epoch from '2026-07-12 05:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.983956 -3.381242)', '2026-07-12 05:32:01', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98404 -3.381236)'), GeomFromEWKT('SRID=4674;POINT (-38.983956 -3.381242)'))) / (select extract(epoch from '2026-07-12 05:32:01'::timestamp) - extract(epoch from '2026-07-12 05:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98404 -3.381236)'), GeomFromEWKT('SRID=4674;POINT (-38.983956 -3.381242)'))) / (select extract(epoch from '2026-07-12 05:32:01'::timestamp) - extract(epoch from '2026-07-12 05:31: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'), 47427, 'SRID=4674;POINT (-38.983842 -3.381245)', '2026-07-12 05:32:08', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983956 -3.381242)'), GeomFromEWKT('SRID=4674;POINT (-38.983842 -3.381245)'))) / (select extract(epoch from '2026-07-12 05:32:08'::timestamp) - extract(epoch from '2026-07-12 05:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983956 -3.381242)'), GeomFromEWKT('SRID=4674;POINT (-38.983842 -3.381245)'))) / (select extract(epoch from '2026-07-12 05:32:08'::timestamp) - extract(epoch from '2026-07-12 05:32: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'), 47427, 'SRID=4674;POINT (-38.983732 -3.381275)', '2026-07-12 05:32:16', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983842 -3.381245)'), GeomFromEWKT('SRID=4674;POINT (-38.983732 -3.381275)'))) / (select extract(epoch from '2026-07-12 05:32:16'::timestamp) - extract(epoch from '2026-07-12 05:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983842 -3.381245)'), GeomFromEWKT('SRID=4674;POINT (-38.983732 -3.381275)'))) / (select extract(epoch from '2026-07-12 05:32:16'::timestamp) - extract(epoch from '2026-07-12 05:32: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'), 47427, 'SRID=4674;POINT (-38.983613 -3.381295)', '2026-07-12 05:32:24', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983732 -3.381275)'), GeomFromEWKT('SRID=4674;POINT (-38.983613 -3.381295)'))) / (select extract(epoch from '2026-07-12 05:32:24'::timestamp) - extract(epoch from '2026-07-12 05:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983732 -3.381275)'), GeomFromEWKT('SRID=4674;POINT (-38.983613 -3.381295)'))) / (select extract(epoch from '2026-07-12 05:32:24'::timestamp) - extract(epoch from '2026-07-12 05:32: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'), 47427, 'SRID=4674;POINT (-38.983479 -3.38131)', '2026-07-12 05:32:32', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983613 -3.381295)'), GeomFromEWKT('SRID=4674;POINT (-38.983479 -3.38131)'))) / (select extract(epoch from '2026-07-12 05:32:32'::timestamp) - extract(epoch from '2026-07-12 05:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983613 -3.381295)'), GeomFromEWKT('SRID=4674;POINT (-38.983479 -3.38131)'))) / (select extract(epoch from '2026-07-12 05:32:32'::timestamp) - extract(epoch from '2026-07-12 05:32: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'), 47427, 'SRID=4674;POINT (-38.983349 -3.381313)', '2026-07-12 05:32:39', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983479 -3.38131)'), GeomFromEWKT('SRID=4674;POINT (-38.983349 -3.381313)'))) / (select extract(epoch from '2026-07-12 05:32:39'::timestamp) - extract(epoch from '2026-07-12 05:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983479 -3.38131)'), GeomFromEWKT('SRID=4674;POINT (-38.983349 -3.381313)'))) / (select extract(epoch from '2026-07-12 05:32:39'::timestamp) - extract(epoch from '2026-07-12 05:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.983264 -3.381317)', '2026-07-12 05:32:45', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983349 -3.381313)'), GeomFromEWKT('SRID=4674;POINT (-38.983264 -3.381317)'))) / (select extract(epoch from '2026-07-12 05:32:45'::timestamp) - extract(epoch from '2026-07-12 05:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983349 -3.381313)'), GeomFromEWKT('SRID=4674;POINT (-38.983264 -3.381317)'))) / (select extract(epoch from '2026-07-12 05:32:45'::timestamp) - extract(epoch from '2026-07-12 05:32: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'), 47427, 'SRID=4674;POINT (-38.983171 -3.381305)', '2026-07-12 05:32:51', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983264 -3.381317)'), GeomFromEWKT('SRID=4674;POINT (-38.983171 -3.381305)'))) / (select extract(epoch from '2026-07-12 05:32:51'::timestamp) - extract(epoch from '2026-07-12 05:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983264 -3.381317)'), GeomFromEWKT('SRID=4674;POINT (-38.983171 -3.381305)'))) / (select extract(epoch from '2026-07-12 05:32:51'::timestamp) - extract(epoch from '2026-07-12 05:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.983076 -3.381295)', '2026-07-12 05:32:57', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983171 -3.381305)'), GeomFromEWKT('SRID=4674;POINT (-38.983076 -3.381295)'))) / (select extract(epoch from '2026-07-12 05:32:57'::timestamp) - extract(epoch from '2026-07-12 05:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983171 -3.381305)'), GeomFromEWKT('SRID=4674;POINT (-38.983076 -3.381295)'))) / (select extract(epoch from '2026-07-12 05:32:57'::timestamp) - extract(epoch from '2026-07-12 05:32: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'), 47427, 'SRID=4674;POINT (-38.98299 -3.381279)', '2026-07-12 05:33:03', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983076 -3.381295)'), GeomFromEWKT('SRID=4674;POINT (-38.98299 -3.381279)'))) / (select extract(epoch from '2026-07-12 05:33:03'::timestamp) - extract(epoch from '2026-07-12 05:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.983076 -3.381295)'), GeomFromEWKT('SRID=4674;POINT (-38.98299 -3.381279)'))) / (select extract(epoch from '2026-07-12 05:33:03'::timestamp) - extract(epoch from '2026-07-12 05:32: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'), 47427, 'SRID=4674;POINT (-38.982862 -3.381249)', '2026-07-12 05:33:11', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98299 -3.381279)'), GeomFromEWKT('SRID=4674;POINT (-38.982862 -3.381249)'))) / (select extract(epoch from '2026-07-12 05:33:11'::timestamp) - extract(epoch from '2026-07-12 05:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98299 -3.381279)'), GeomFromEWKT('SRID=4674;POINT (-38.982862 -3.381249)'))) / (select extract(epoch from '2026-07-12 05:33:11'::timestamp) - extract(epoch from '2026-07-12 05:33:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.98278 -3.381239)', '2026-07-12 05:33:17', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.982862 -3.381249)'), GeomFromEWKT('SRID=4674;POINT (-38.98278 -3.381239)'))) / (select extract(epoch from '2026-07-12 05:33:17'::timestamp) - extract(epoch from '2026-07-12 05:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.982862 -3.381249)'), GeomFromEWKT('SRID=4674;POINT (-38.98278 -3.381239)'))) / (select extract(epoch from '2026-07-12 05:33:17'::timestamp) - extract(epoch from '2026-07-12 05:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.98267 -3.38121)', '2026-07-12 05:33:25', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98278 -3.381239)'), GeomFromEWKT('SRID=4674;POINT (-38.98267 -3.38121)'))) / (select extract(epoch from '2026-07-12 05:33:25'::timestamp) - extract(epoch from '2026-07-12 05:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98278 -3.381239)'), GeomFromEWKT('SRID=4674;POINT (-38.98267 -3.38121)'))) / (select extract(epoch from '2026-07-12 05:33:25'::timestamp) - extract(epoch from '2026-07-12 05:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.98254 -3.381161)', '2026-07-12 05:33:32', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98267 -3.38121)'), GeomFromEWKT('SRID=4674;POINT (-38.98254 -3.381161)'))) / (select extract(epoch from '2026-07-12 05:33:32'::timestamp) - extract(epoch from '2026-07-12 05:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98267 -3.38121)'), GeomFromEWKT('SRID=4674;POINT (-38.98254 -3.381161)'))) / (select extract(epoch from '2026-07-12 05:33:32'::timestamp) - extract(epoch from '2026-07-12 05:33: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'), 47427, 'SRID=4674;POINT (-38.982407 -3.381104)', '2026-07-12 05:33:40', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98254 -3.381161)'), GeomFromEWKT('SRID=4674;POINT (-38.982407 -3.381104)'))) / (select extract(epoch from '2026-07-12 05:33:40'::timestamp) - extract(epoch from '2026-07-12 05:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98254 -3.381161)'), GeomFromEWKT('SRID=4674;POINT (-38.982407 -3.381104)'))) / (select extract(epoch from '2026-07-12 05:33:40'::timestamp) - extract(epoch from '2026-07-12 05:33: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'), 47427, 'SRID=4674;POINT (-38.982297 -3.381066)', '2026-07-12 05:33:47', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.982407 -3.381104)'), GeomFromEWKT('SRID=4674;POINT (-38.982297 -3.381066)'))) / (select extract(epoch from '2026-07-12 05:33:47'::timestamp) - extract(epoch from '2026-07-12 05:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.982407 -3.381104)'), GeomFromEWKT('SRID=4674;POINT (-38.982297 -3.381066)'))) / (select extract(epoch from '2026-07-12 05:33:47'::timestamp) - extract(epoch from '2026-07-12 05:33: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'), 47427, 'SRID=4674;POINT (-38.982176 -3.381028)', '2026-07-12 05:33:54', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.982297 -3.381066)'), GeomFromEWKT('SRID=4674;POINT (-38.982176 -3.381028)'))) / (select extract(epoch from '2026-07-12 05:33:54'::timestamp) - extract(epoch from '2026-07-12 05:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.982297 -3.381066)'), GeomFromEWKT('SRID=4674;POINT (-38.982176 -3.381028)'))) / (select extract(epoch from '2026-07-12 05:33:54'::timestamp) - extract(epoch from '2026-07-12 05:33: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'), 47427, 'SRID=4674;POINT (-38.98203 -3.380992)', '2026-07-12 05:34:03', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.982176 -3.381028)'), GeomFromEWKT('SRID=4674;POINT (-38.98203 -3.380992)'))) / (select extract(epoch from '2026-07-12 05:34:03'::timestamp) - extract(epoch from '2026-07-12 05:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.982176 -3.381028)'), GeomFromEWKT('SRID=4674;POINT (-38.98203 -3.380992)'))) / (select extract(epoch from '2026-07-12 05:34:03'::timestamp) - extract(epoch from '2026-07-12 05:33: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'), 47427, 'SRID=4674;POINT (-38.981864 -3.380958)', '2026-07-12 05:34:11', 21, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98203 -3.380992)'), GeomFromEWKT('SRID=4674;POINT (-38.981864 -3.380958)'))) / (select extract(epoch from '2026-07-12 05:34:11'::timestamp) - extract(epoch from '2026-07-12 05:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98203 -3.380992)'), GeomFromEWKT('SRID=4674;POINT (-38.981864 -3.380958)'))) / (select extract(epoch from '2026-07-12 05:34:11'::timestamp) - extract(epoch from '2026-07-12 05:34: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'), 47427, 'SRID=4674;POINT (-38.981735 -3.380938)', '2026-07-12 05:34:18', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981864 -3.380958)'), GeomFromEWKT('SRID=4674;POINT (-38.981735 -3.380938)'))) / (select extract(epoch from '2026-07-12 05:34:18'::timestamp) - extract(epoch from '2026-07-12 05:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981864 -3.380958)'), GeomFromEWKT('SRID=4674;POINT (-38.981735 -3.380938)'))) / (select extract(epoch from '2026-07-12 05:34:18'::timestamp) - extract(epoch from '2026-07-12 05:34: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'), 47427, 'SRID=4674;POINT (-38.981657 -3.380902)', '2026-07-12 05:34:24', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981735 -3.380938)'), GeomFromEWKT('SRID=4674;POINT (-38.981657 -3.380902)'))) / (select extract(epoch from '2026-07-12 05:34:24'::timestamp) - extract(epoch from '2026-07-12 05:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981735 -3.380938)'), GeomFromEWKT('SRID=4674;POINT (-38.981657 -3.380902)'))) / (select extract(epoch from '2026-07-12 05:34:24'::timestamp) - extract(epoch from '2026-07-12 05:34:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.981537 -3.380828)', '2026-07-12 05:34:32', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981657 -3.380902)'), GeomFromEWKT('SRID=4674;POINT (-38.981537 -3.380828)'))) / (select extract(epoch from '2026-07-12 05:34:32'::timestamp) - extract(epoch from '2026-07-12 05:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981657 -3.380902)'), GeomFromEWKT('SRID=4674;POINT (-38.981537 -3.380828)'))) / (select extract(epoch from '2026-07-12 05:34:32'::timestamp) - extract(epoch from '2026-07-12 05:34: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'), 47427, 'SRID=4674;POINT (-38.981449 -3.380766)', '2026-07-12 05:34:38', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981537 -3.380828)'), GeomFromEWKT('SRID=4674;POINT (-38.981449 -3.380766)'))) / (select extract(epoch from '2026-07-12 05:34:38'::timestamp) - extract(epoch from '2026-07-12 05:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981537 -3.380828)'), GeomFromEWKT('SRID=4674;POINT (-38.981449 -3.380766)'))) / (select extract(epoch from '2026-07-12 05:34:38'::timestamp) - extract(epoch from '2026-07-12 05:34: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'), 47427, 'SRID=4674;POINT (-38.981362 -3.380729)', '2026-07-12 05:34:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981449 -3.380766)'), GeomFromEWKT('SRID=4674;POINT (-38.981362 -3.380729)'))) / (select extract(epoch from '2026-07-12 05:34:45'::timestamp) - extract(epoch from '2026-07-12 05:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981449 -3.380766)'), GeomFromEWKT('SRID=4674;POINT (-38.981362 -3.380729)'))) / (select extract(epoch from '2026-07-12 05:34:45'::timestamp) - extract(epoch from '2026-07-12 05:34: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'), 47427, 'SRID=4674;POINT (-38.981292 -3.380718)', '2026-07-12 05:34:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981362 -3.380729)'), GeomFromEWKT('SRID=4674;POINT (-38.981292 -3.380718)'))) / (select extract(epoch from '2026-07-12 05:34:49'::timestamp) - extract(epoch from '2026-07-12 05:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981362 -3.380729)'), GeomFromEWKT('SRID=4674;POINT (-38.981292 -3.380718)'))) / (select extract(epoch from '2026-07-12 05:34:49'::timestamp) - extract(epoch from '2026-07-12 05:34: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'), 47427, 'SRID=4674;POINT (-38.981195 -3.380697)', '2026-07-12 05:34:55', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981292 -3.380718)'), GeomFromEWKT('SRID=4674;POINT (-38.981195 -3.380697)'))) / (select extract(epoch from '2026-07-12 05:34:55'::timestamp) - extract(epoch from '2026-07-12 05:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981292 -3.380718)'), GeomFromEWKT('SRID=4674;POINT (-38.981195 -3.380697)'))) / (select extract(epoch from '2026-07-12 05:34:55'::timestamp) - extract(epoch from '2026-07-12 05:34: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'), 47427, 'SRID=4674;POINT (-38.981124 -3.380689)', '2026-07-12 05:35:00', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981195 -3.380697)'), GeomFromEWKT('SRID=4674;POINT (-38.981124 -3.380689)'))) / (select extract(epoch from '2026-07-12 05:35:00'::timestamp) - extract(epoch from '2026-07-12 05:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981195 -3.380697)'), GeomFromEWKT('SRID=4674;POINT (-38.981124 -3.380689)'))) / (select extract(epoch from '2026-07-12 05:35:00'::timestamp) - extract(epoch from '2026-07-12 05:34: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'), 47427, 'SRID=4674;POINT (-38.981054 -3.380698)', '2026-07-12 05:35:05', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981124 -3.380689)'), GeomFromEWKT('SRID=4674;POINT (-38.981054 -3.380698)'))) / (select extract(epoch from '2026-07-12 05:35:05'::timestamp) - extract(epoch from '2026-07-12 05:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981124 -3.380689)'), GeomFromEWKT('SRID=4674;POINT (-38.981054 -3.380698)'))) / (select extract(epoch from '2026-07-12 05:35:05'::timestamp) - extract(epoch from '2026-07-12 05:35: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'), 47427, 'SRID=4674;POINT (-38.981041 -3.380696)', '2026-07-12 05:35:06', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981054 -3.380698)'), GeomFromEWKT('SRID=4674;POINT (-38.981041 -3.380696)'))) / (select extract(epoch from '2026-07-12 05:35:06'::timestamp) - extract(epoch from '2026-07-12 05:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981054 -3.380698)'), GeomFromEWKT('SRID=4674;POINT (-38.981041 -3.380696)'))) / (select extract(epoch from '2026-07-12 05:35:06'::timestamp) - extract(epoch from '2026-07-12 05:35: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'), 47427, 'SRID=4674;POINT (-38.980966 -3.380688)', '2026-07-12 05:35:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981041 -3.380696)'), GeomFromEWKT('SRID=4674;POINT (-38.980966 -3.380688)'))) / (select extract(epoch from '2026-07-12 05:35:12'::timestamp) - extract(epoch from '2026-07-12 05:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.981041 -3.380696)'), GeomFromEWKT('SRID=4674;POINT (-38.980966 -3.380688)'))) / (select extract(epoch from '2026-07-12 05:35:12'::timestamp) - extract(epoch from '2026-07-12 05:35: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'), 47427, 'SRID=4674;POINT (-38.980886 -3.380698)', '2026-07-12 05:35:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980966 -3.380688)'), GeomFromEWKT('SRID=4674;POINT (-38.980886 -3.380698)'))) / (select extract(epoch from '2026-07-12 05:35:22'::timestamp) - extract(epoch from '2026-07-12 05:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980966 -3.380688)'), GeomFromEWKT('SRID=4674;POINT (-38.980886 -3.380698)'))) / (select extract(epoch from '2026-07-12 05:35:22'::timestamp) - extract(epoch from '2026-07-12 05:35: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'), 47427, 'SRID=4674;POINT (-38.980831 -3.380716)', '2026-07-12 05:35:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980886 -3.380698)'), GeomFromEWKT('SRID=4674;POINT (-38.980831 -3.380716)'))) / (select extract(epoch from '2026-07-12 05:35:31'::timestamp) - extract(epoch from '2026-07-12 05:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980886 -3.380698)'), GeomFromEWKT('SRID=4674;POINT (-38.980831 -3.380716)'))) / (select extract(epoch from '2026-07-12 05:35:31'::timestamp) - extract(epoch from '2026-07-12 05:35: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'), 47427, 'SRID=4674;POINT (-38.980813 -3.380777)', '2026-07-12 05:35:42', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980831 -3.380716)'), GeomFromEWKT('SRID=4674;POINT (-38.980813 -3.380777)'))) / (select extract(epoch from '2026-07-12 05:35:42'::timestamp) - extract(epoch from '2026-07-12 05:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980831 -3.380716)'), GeomFromEWKT('SRID=4674;POINT (-38.980813 -3.380777)'))) / (select extract(epoch from '2026-07-12 05:35:42'::timestamp) - extract(epoch from '2026-07-12 05:35: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'), 47427, 'SRID=4674;POINT (-38.980794 -3.380828)', '2026-07-12 05:35:53', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980813 -3.380777)'), GeomFromEWKT('SRID=4674;POINT (-38.980794 -3.380828)'))) / (select extract(epoch from '2026-07-12 05:35:53'::timestamp) - extract(epoch from '2026-07-12 05:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980813 -3.380777)'), GeomFromEWKT('SRID=4674;POINT (-38.980794 -3.380828)'))) / (select extract(epoch from '2026-07-12 05:35:53'::timestamp) - extract(epoch from '2026-07-12 05:35: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'), 47427, 'SRID=4674;POINT (-38.98078 -3.38083)', '2026-07-12 05:35:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980794 -3.380828)'), GeomFromEWKT('SRID=4674;POINT (-38.98078 -3.38083)'))) / (select extract(epoch from '2026-07-12 05:35:58'::timestamp) - extract(epoch from '2026-07-12 05:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980794 -3.380828)'), GeomFromEWKT('SRID=4674;POINT (-38.98078 -3.38083)'))) / (select extract(epoch from '2026-07-12 05:35:58'::timestamp) - extract(epoch from '2026-07-12 05:35: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'), 47427, 'SRID=4674;POINT (-38.980769 -3.380822)', '2026-07-12 05:36:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98078 -3.38083)'), GeomFromEWKT('SRID=4674;POINT (-38.980769 -3.380822)'))) / (select extract(epoch from '2026-07-12 05:36:00'::timestamp) - extract(epoch from '2026-07-12 05:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98078 -3.38083)'), GeomFromEWKT('SRID=4674;POINT (-38.980769 -3.380822)'))) / (select extract(epoch from '2026-07-12 05:36:00'::timestamp) - extract(epoch from '2026-07-12 05:35: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'), 47427, 'SRID=4674;POINT (-38.980677 -3.380774)', '2026-07-12 05:36:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980769 -3.380822)'), GeomFromEWKT('SRID=4674;POINT (-38.980677 -3.380774)'))) / (select extract(epoch from '2026-07-12 05:36:12'::timestamp) - extract(epoch from '2026-07-12 05:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980769 -3.380822)'), GeomFromEWKT('SRID=4674;POINT (-38.980677 -3.380774)'))) / (select extract(epoch from '2026-07-12 05:36:12'::timestamp) - extract(epoch from '2026-07-12 05:36:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.980618 -3.380713)', '2026-07-12 05:36:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980677 -3.380774)'), GeomFromEWKT('SRID=4674;POINT (-38.980618 -3.380713)'))) / (select extract(epoch from '2026-07-12 05:36:21'::timestamp) - extract(epoch from '2026-07-12 05:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980677 -3.380774)'), GeomFromEWKT('SRID=4674;POINT (-38.980618 -3.380713)'))) / (select extract(epoch from '2026-07-12 05:36:21'::timestamp) - extract(epoch from '2026-07-12 05:36: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'), 47427, 'SRID=4674;POINT (-38.980566 -3.380642)', '2026-07-12 05:36:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980618 -3.380713)'), GeomFromEWKT('SRID=4674;POINT (-38.980566 -3.380642)'))) / (select extract(epoch from '2026-07-12 05:36:28'::timestamp) - extract(epoch from '2026-07-12 05:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980618 -3.380713)'), GeomFromEWKT('SRID=4674;POINT (-38.980566 -3.380642)'))) / (select extract(epoch from '2026-07-12 05:36:28'::timestamp) - extract(epoch from '2026-07-12 05:36: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'), 47427, 'SRID=4674;POINT (-38.980519 -3.380594)', '2026-07-12 05:36:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980566 -3.380642)'), GeomFromEWKT('SRID=4674;POINT (-38.980519 -3.380594)'))) / (select extract(epoch from '2026-07-12 05:36:33'::timestamp) - extract(epoch from '2026-07-12 05:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980566 -3.380642)'), GeomFromEWKT('SRID=4674;POINT (-38.980519 -3.380594)'))) / (select extract(epoch from '2026-07-12 05:36:33'::timestamp) - extract(epoch from '2026-07-12 05:36: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'), 47427, 'SRID=4674;POINT (-38.980479 -3.380543)', '2026-07-12 05:36:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980519 -3.380594)'), GeomFromEWKT('SRID=4674;POINT (-38.980479 -3.380543)'))) / (select extract(epoch from '2026-07-12 05:36:39'::timestamp) - extract(epoch from '2026-07-12 05:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980519 -3.380594)'), GeomFromEWKT('SRID=4674;POINT (-38.980479 -3.380543)'))) / (select extract(epoch from '2026-07-12 05:36:39'::timestamp) - extract(epoch from '2026-07-12 05:36: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'), 47427, 'SRID=4674;POINT (-38.980472 -3.380498)', '2026-07-12 05:36:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980479 -3.380543)'), GeomFromEWKT('SRID=4674;POINT (-38.980472 -3.380498)'))) / (select extract(epoch from '2026-07-12 05:36:45'::timestamp) - extract(epoch from '2026-07-12 05:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980479 -3.380543)'), GeomFromEWKT('SRID=4674;POINT (-38.980472 -3.380498)'))) / (select extract(epoch from '2026-07-12 05:36:45'::timestamp) - extract(epoch from '2026-07-12 05:36: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'), 47427, 'SRID=4674;POINT (-38.980457 -3.380444)', '2026-07-12 05:36:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980472 -3.380498)'), GeomFromEWKT('SRID=4674;POINT (-38.980457 -3.380444)'))) / (select extract(epoch from '2026-07-12 05:36:53'::timestamp) - extract(epoch from '2026-07-12 05:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980472 -3.380498)'), GeomFromEWKT('SRID=4674;POINT (-38.980457 -3.380444)'))) / (select extract(epoch from '2026-07-12 05:36:53'::timestamp) - extract(epoch from '2026-07-12 05:36: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'), 47427, 'SRID=4674;POINT (-38.980446 -3.380408)', '2026-07-12 05:36:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980457 -3.380444)'), GeomFromEWKT('SRID=4674;POINT (-38.980446 -3.380408)'))) / (select extract(epoch from '2026-07-12 05:36:59'::timestamp) - extract(epoch from '2026-07-12 05:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980457 -3.380444)'), GeomFromEWKT('SRID=4674;POINT (-38.980446 -3.380408)'))) / (select extract(epoch from '2026-07-12 05:36:59'::timestamp) - extract(epoch from '2026-07-12 05:36: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'), 47427, 'SRID=4674;POINT (-38.980432 -3.38037)', '2026-07-12 05:37:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980446 -3.380408)'), GeomFromEWKT('SRID=4674;POINT (-38.980432 -3.38037)'))) / (select extract(epoch from '2026-07-12 05:37:08'::timestamp) - extract(epoch from '2026-07-12 05:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980446 -3.380408)'), GeomFromEWKT('SRID=4674;POINT (-38.980432 -3.38037)'))) / (select extract(epoch from '2026-07-12 05:37:08'::timestamp) - extract(epoch from '2026-07-12 05:36: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'), 47427, 'SRID=4674;POINT (-38.980437 -3.38034)', '2026-07-12 05:37:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980432 -3.38037)'), GeomFromEWKT('SRID=4674;POINT (-38.980437 -3.38034)'))) / (select extract(epoch from '2026-07-12 05:37:14'::timestamp) - extract(epoch from '2026-07-12 05:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980432 -3.38037)'), GeomFromEWKT('SRID=4674;POINT (-38.980437 -3.38034)'))) / (select extract(epoch from '2026-07-12 05:37:14'::timestamp) - extract(epoch from '2026-07-12 05:37: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'), 47427, 'SRID=4674;POINT (-38.980415 -3.380337)', '2026-07-12 05:37:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980437 -3.38034)'), GeomFromEWKT('SRID=4674;POINT (-38.980415 -3.380337)'))) / (select extract(epoch from '2026-07-12 05:37:21'::timestamp) - extract(epoch from '2026-07-12 05:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980437 -3.38034)'), GeomFromEWKT('SRID=4674;POINT (-38.980415 -3.380337)'))) / (select extract(epoch from '2026-07-12 05:37:21'::timestamp) - extract(epoch from '2026-07-12 05:37: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'), 47427, 'SRID=4674;POINT (-38.980407 -3.380336)', '2026-07-12 05:37:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980415 -3.380337)'), GeomFromEWKT('SRID=4674;POINT (-38.980407 -3.380336)'))) / (select extract(epoch from '2026-07-12 05:37:33'::timestamp) - extract(epoch from '2026-07-12 05:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980415 -3.380337)'), GeomFromEWKT('SRID=4674;POINT (-38.980407 -3.380336)'))) / (select extract(epoch from '2026-07-12 05:37:33'::timestamp) - extract(epoch from '2026-07-12 05:37: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'), 47427, 'SRID=4674;POINT (-38.980361 -3.380284)', '2026-07-12 05:37:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980407 -3.380336)'), GeomFromEWKT('SRID=4674;POINT (-38.980361 -3.380284)'))) / (select extract(epoch from '2026-07-12 05:37:41'::timestamp) - extract(epoch from '2026-07-12 05:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980407 -3.380336)'), GeomFromEWKT('SRID=4674;POINT (-38.980361 -3.380284)'))) / (select extract(epoch from '2026-07-12 05:37:41'::timestamp) - extract(epoch from '2026-07-12 05:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.980353 -3.380246)', '2026-07-12 05:37:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980361 -3.380284)'), GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.380246)'))) / (select extract(epoch from '2026-07-12 05:37:49'::timestamp) - extract(epoch from '2026-07-12 05:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980361 -3.380284)'), GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.380246)'))) / (select extract(epoch from '2026-07-12 05:37:49'::timestamp) - extract(epoch from '2026-07-12 05:37: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'), 47427, 'SRID=4674;POINT (-38.980352 -3.38022)', '2026-07-12 05:37:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.380246)'), GeomFromEWKT('SRID=4674;POINT (-38.980352 -3.38022)'))) / (select extract(epoch from '2026-07-12 05:37:53'::timestamp) - extract(epoch from '2026-07-12 05:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.380246)'), GeomFromEWKT('SRID=4674;POINT (-38.980352 -3.38022)'))) / (select extract(epoch from '2026-07-12 05:37:53'::timestamp) - extract(epoch from '2026-07-12 05:37: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'), 47427, 'SRID=4674;POINT (-38.980357 -3.380207)', '2026-07-12 05:37:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980352 -3.38022)'), GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.380207)'))) / (select extract(epoch from '2026-07-12 05:37:55'::timestamp) - extract(epoch from '2026-07-12 05:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980352 -3.38022)'), GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.380207)'))) / (select extract(epoch from '2026-07-12 05:37:55'::timestamp) - extract(epoch from '2026-07-12 05:37: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'), 47427, 'SRID=4674;POINT (-38.980349 -3.380137)', '2026-07-12 05:38:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.380207)'), GeomFromEWKT('SRID=4674;POINT (-38.980349 -3.380137)'))) / (select extract(epoch from '2026-07-12 05:38:02'::timestamp) - extract(epoch from '2026-07-12 05:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.380207)'), GeomFromEWKT('SRID=4674;POINT (-38.980349 -3.380137)'))) / (select extract(epoch from '2026-07-12 05:38:02'::timestamp) - extract(epoch from '2026-07-12 05:37: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'), 47427, 'SRID=4674;POINT (-38.980353 -3.380058)', '2026-07-12 05:38:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980349 -3.380137)'), GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.380058)'))) / (select extract(epoch from '2026-07-12 05:38:09'::timestamp) - extract(epoch from '2026-07-12 05:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980349 -3.380137)'), GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.380058)'))) / (select extract(epoch from '2026-07-12 05:38:09'::timestamp) - extract(epoch from '2026-07-12 05:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.980342 -3.379982)', '2026-07-12 05:38:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.380058)'), GeomFromEWKT('SRID=4674;POINT (-38.980342 -3.379982)'))) / (select extract(epoch from '2026-07-12 05:38:17'::timestamp) - extract(epoch from '2026-07-12 05:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.380058)'), GeomFromEWKT('SRID=4674;POINT (-38.980342 -3.379982)'))) / (select extract(epoch from '2026-07-12 05:38:17'::timestamp) - extract(epoch from '2026-07-12 05:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.980346 -3.379973)', '2026-07-12 05:38:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980342 -3.379982)'), GeomFromEWKT('SRID=4674;POINT (-38.980346 -3.379973)'))) / (select extract(epoch from '2026-07-12 05:38:18'::timestamp) - extract(epoch from '2026-07-12 05:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980342 -3.379982)'), GeomFromEWKT('SRID=4674;POINT (-38.980346 -3.379973)'))) / (select extract(epoch from '2026-07-12 05:38:18'::timestamp) - extract(epoch from '2026-07-12 05:38: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'), 47427, 'SRID=4674;POINT (-38.980331 -3.379929)', '2026-07-12 05:38:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980346 -3.379973)'), GeomFromEWKT('SRID=4674;POINT (-38.980331 -3.379929)'))) / (select extract(epoch from '2026-07-12 05:38:25'::timestamp) - extract(epoch from '2026-07-12 05:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980346 -3.379973)'), GeomFromEWKT('SRID=4674;POINT (-38.980331 -3.379929)'))) / (select extract(epoch from '2026-07-12 05:38:25'::timestamp) - extract(epoch from '2026-07-12 05:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.980326 -3.379875)', '2026-07-12 05:38:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980331 -3.379929)'), GeomFromEWKT('SRID=4674;POINT (-38.980326 -3.379875)'))) / (select extract(epoch from '2026-07-12 05:38:31'::timestamp) - extract(epoch from '2026-07-12 05:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980331 -3.379929)'), GeomFromEWKT('SRID=4674;POINT (-38.980326 -3.379875)'))) / (select extract(epoch from '2026-07-12 05:38:31'::timestamp) - extract(epoch from '2026-07-12 05:38: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'), 47427, 'SRID=4674;POINT (-38.980332 -3.379862)', '2026-07-12 05:38:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980326 -3.379875)'), GeomFromEWKT('SRID=4674;POINT (-38.980332 -3.379862)'))) / (select extract(epoch from '2026-07-12 05:38:32'::timestamp) - extract(epoch from '2026-07-12 05:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980326 -3.379875)'), GeomFromEWKT('SRID=4674;POINT (-38.980332 -3.379862)'))) / (select extract(epoch from '2026-07-12 05:38:32'::timestamp) - extract(epoch from '2026-07-12 05:38: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'), 47427, 'SRID=4674;POINT (-38.980344 -3.379826)', '2026-07-12 05:38:39', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980332 -3.379862)'), GeomFromEWKT('SRID=4674;POINT (-38.980344 -3.379826)'))) / (select extract(epoch from '2026-07-12 05:38:39'::timestamp) - extract(epoch from '2026-07-12 05:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980332 -3.379862)'), GeomFromEWKT('SRID=4674;POINT (-38.980344 -3.379826)'))) / (select extract(epoch from '2026-07-12 05:38:39'::timestamp) - extract(epoch from '2026-07-12 05:38: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'), 47427, 'SRID=4674;POINT (-38.980357 -3.379773)', '2026-07-12 05:38:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980344 -3.379826)'), GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379773)'))) / (select extract(epoch from '2026-07-12 05:38:45'::timestamp) - extract(epoch from '2026-07-12 05:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980344 -3.379826)'), GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379773)'))) / (select extract(epoch from '2026-07-12 05:38:45'::timestamp) - extract(epoch from '2026-07-12 05:38: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'), 47427, 'SRID=4674;POINT (-38.980367 -3.379683)', '2026-07-12 05:39:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379773)'), GeomFromEWKT('SRID=4674;POINT (-38.980367 -3.379683)'))) / (select extract(epoch from '2026-07-12 05:39:00'::timestamp) - extract(epoch from '2026-07-12 05:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379773)'), GeomFromEWKT('SRID=4674;POINT (-38.980367 -3.379683)'))) / (select extract(epoch from '2026-07-12 05:39:00'::timestamp) - extract(epoch from '2026-07-12 05:38: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'), 47427, 'SRID=4674;POINT (-38.980387 -3.379587)', '2026-07-12 05:39:13', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980367 -3.379683)'), GeomFromEWKT('SRID=4674;POINT (-38.980387 -3.379587)'))) / (select extract(epoch from '2026-07-12 05:39:13'::timestamp) - extract(epoch from '2026-07-12 05:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980367 -3.379683)'), GeomFromEWKT('SRID=4674;POINT (-38.980387 -3.379587)'))) / (select extract(epoch from '2026-07-12 05:39:13'::timestamp) - extract(epoch from '2026-07-12 05:39: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'), 47427, 'SRID=4674;POINT (-38.980372 -3.379573)', '2026-07-12 05:39:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980387 -3.379587)'), GeomFromEWKT('SRID=4674;POINT (-38.980372 -3.379573)'))) / (select extract(epoch from '2026-07-12 05:39:20'::timestamp) - extract(epoch from '2026-07-12 05:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980387 -3.379587)'), GeomFromEWKT('SRID=4674;POINT (-38.980372 -3.379573)'))) / (select extract(epoch from '2026-07-12 05:39:20'::timestamp) - extract(epoch from '2026-07-12 05:39: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'), 47427, 'SRID=4674;POINT (-38.980353 -3.379558)', '2026-07-12 05:39:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980372 -3.379573)'), GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.379558)'))) / (select extract(epoch from '2026-07-12 05:39:27'::timestamp) - extract(epoch from '2026-07-12 05:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980372 -3.379573)'), GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.379558)'))) / (select extract(epoch from '2026-07-12 05:39:27'::timestamp) - extract(epoch from '2026-07-12 05:39: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'), 47427, 'SRID=4674;POINT (-38.98035 -3.379552)', '2026-07-12 05:39:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.379558)'), GeomFromEWKT('SRID=4674;POINT (-38.98035 -3.379552)'))) / (select extract(epoch from '2026-07-12 05:39:31'::timestamp) - extract(epoch from '2026-07-12 05:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980353 -3.379558)'), GeomFromEWKT('SRID=4674;POINT (-38.98035 -3.379552)'))) / (select extract(epoch from '2026-07-12 05:39:31'::timestamp) - extract(epoch from '2026-07-12 05:39: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'), 47427, 'SRID=4674;POINT (-38.980357 -3.379541)', '2026-07-12 05:39:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98035 -3.379552)'), GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379541)'))) / (select extract(epoch from '2026-07-12 05:39:34'::timestamp) - extract(epoch from '2026-07-12 05:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.98035 -3.379552)'), GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379541)'))) / (select extract(epoch from '2026-07-12 05:39:34'::timestamp) - extract(epoch from '2026-07-12 05:39: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'), 47427, 'SRID=4674;POINT (-38.980357 -3.379543)', '2026-07-12 05:39:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379541)'), GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379543)'))) / (select extract(epoch from '2026-07-12 05:39:40'::timestamp) - extract(epoch from '2026-07-12 05:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379541)'), GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379543)'))) / (select extract(epoch from '2026-07-12 05:39:40'::timestamp) - extract(epoch from '2026-07-12 05:39: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'), 47427, 'SRID=4674;POINT (-38.980355 -3.379521)', '2026-07-12 05:39:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379543)'), GeomFromEWKT('SRID=4674;POINT (-38.980355 -3.379521)'))) / (select extract(epoch from '2026-07-12 05:39:45'::timestamp) - extract(epoch from '2026-07-12 05:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980357 -3.379543)'), GeomFromEWKT('SRID=4674;POINT (-38.980355 -3.379521)'))) / (select extract(epoch from '2026-07-12 05:39:45'::timestamp) - extract(epoch from '2026-07-12 05:39: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'), 47427, 'SRID=4674;POINT (-38.980336 -3.379498)', '2026-07-12 05:39:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980355 -3.379521)'), GeomFromEWKT('SRID=4674;POINT (-38.980336 -3.379498)'))) / (select extract(epoch from '2026-07-12 05:39:54'::timestamp) - extract(epoch from '2026-07-12 05:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980355 -3.379521)'), GeomFromEWKT('SRID=4674;POINT (-38.980336 -3.379498)'))) / (select extract(epoch from '2026-07-12 05:39:54'::timestamp) - extract(epoch from '2026-07-12 05:39: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'), 47427, 'SRID=4674;POINT (-38.980327 -3.379468)', '2026-07-12 05:40:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980336 -3.379498)'), GeomFromEWKT('SRID=4674;POINT (-38.980327 -3.379468)'))) / (select extract(epoch from '2026-07-12 05:40:06'::timestamp) - extract(epoch from '2026-07-12 05:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980336 -3.379498)'), GeomFromEWKT('SRID=4674;POINT (-38.980327 -3.379468)'))) / (select extract(epoch from '2026-07-12 05:40:06'::timestamp) - extract(epoch from '2026-07-12 05:39:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.980299 -3.379446)', '2026-07-12 05:40:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980327 -3.379468)'), GeomFromEWKT('SRID=4674;POINT (-38.980299 -3.379446)'))) / (select extract(epoch from '2026-07-12 05:40:17'::timestamp) - extract(epoch from '2026-07-12 05:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980327 -3.379468)'), GeomFromEWKT('SRID=4674;POINT (-38.980299 -3.379446)'))) / (select extract(epoch from '2026-07-12 05:40:17'::timestamp) - extract(epoch from '2026-07-12 05:40:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.980258 -3.379385)', '2026-07-12 05:40:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980299 -3.379446)'), GeomFromEWKT('SRID=4674;POINT (-38.980258 -3.379385)'))) / (select extract(epoch from '2026-07-12 05:40:34'::timestamp) - extract(epoch from '2026-07-12 05:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980299 -3.379446)'), GeomFromEWKT('SRID=4674;POINT (-38.980258 -3.379385)'))) / (select extract(epoch from '2026-07-12 05:40:34'::timestamp) - extract(epoch from '2026-07-12 05:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.980237 -3.379346)', '2026-07-12 05:40:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980258 -3.379385)'), GeomFromEWKT('SRID=4674;POINT (-38.980237 -3.379346)'))) / (select extract(epoch from '2026-07-12 05:40:44'::timestamp) - extract(epoch from '2026-07-12 05:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980258 -3.379385)'), GeomFromEWKT('SRID=4674;POINT (-38.980237 -3.379346)'))) / (select extract(epoch from '2026-07-12 05:40:44'::timestamp) - extract(epoch from '2026-07-12 05:40: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'), 47427, 'SRID=4674;POINT (-38.980212 -3.379251)', '2026-07-12 05:40:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980237 -3.379346)'), GeomFromEWKT('SRID=4674;POINT (-38.980212 -3.379251)'))) / (select extract(epoch from '2026-07-12 05:40:59'::timestamp) - extract(epoch from '2026-07-12 05:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980237 -3.379346)'), GeomFromEWKT('SRID=4674;POINT (-38.980212 -3.379251)'))) / (select extract(epoch from '2026-07-12 05:40:59'::timestamp) - extract(epoch from '2026-07-12 05:40: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'), 47427, 'SRID=4674;POINT (-38.980193 -3.379215)', '2026-07-12 05:41:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980212 -3.379251)'), GeomFromEWKT('SRID=4674;POINT (-38.980193 -3.379215)'))) / (select extract(epoch from '2026-07-12 05:41:06'::timestamp) - extract(epoch from '2026-07-12 05:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980212 -3.379251)'), GeomFromEWKT('SRID=4674;POINT (-38.980193 -3.379215)'))) / (select extract(epoch from '2026-07-12 05:41:06'::timestamp) - extract(epoch from '2026-07-12 05:40: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'), 47427, 'SRID=4674;POINT (-38.980152 -3.379185)', '2026-07-12 05:41:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980193 -3.379215)'), GeomFromEWKT('SRID=4674;POINT (-38.980152 -3.379185)'))) / (select extract(epoch from '2026-07-12 05:41:13'::timestamp) - extract(epoch from '2026-07-12 05:41:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980193 -3.379215)'), GeomFromEWKT('SRID=4674;POINT (-38.980152 -3.379185)'))) / (select extract(epoch from '2026-07-12 05:41:13'::timestamp) - extract(epoch from '2026-07-12 05:41: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'), 47427, 'SRID=4674;POINT (-38.980135 -3.379151)', '2026-07-12 05:41:18', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980152 -3.379185)'), GeomFromEWKT('SRID=4674;POINT (-38.980135 -3.379151)'))) / (select extract(epoch from '2026-07-12 05:41:18'::timestamp) - extract(epoch from '2026-07-12 05:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980152 -3.379185)'), GeomFromEWKT('SRID=4674;POINT (-38.980135 -3.379151)'))) / (select extract(epoch from '2026-07-12 05:41:18'::timestamp) - extract(epoch from '2026-07-12 05:41: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'), 47427, 'SRID=4674;POINT (-38.980122 -3.379135)', '2026-07-12 05:41:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980135 -3.379151)'), GeomFromEWKT('SRID=4674;POINT (-38.980122 -3.379135)'))) / (select extract(epoch from '2026-07-12 05:41:20'::timestamp) - extract(epoch from '2026-07-12 05:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980135 -3.379151)'), GeomFromEWKT('SRID=4674;POINT (-38.980122 -3.379135)'))) / (select extract(epoch from '2026-07-12 05:41:20'::timestamp) - extract(epoch from '2026-07-12 05:41: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'), 47427, 'SRID=4674;POINT (-38.980084 -3.379093)', '2026-07-12 05:41:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980122 -3.379135)'), GeomFromEWKT('SRID=4674;POINT (-38.980084 -3.379093)'))) / (select extract(epoch from '2026-07-12 05:41:30'::timestamp) - extract(epoch from '2026-07-12 05:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980122 -3.379135)'), GeomFromEWKT('SRID=4674;POINT (-38.980084 -3.379093)'))) / (select extract(epoch from '2026-07-12 05:41:30'::timestamp) - extract(epoch from '2026-07-12 05:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47427, 'SRID=4674;POINT (-38.980055 -3.37907)', '2026-07-12 05:41:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980084 -3.379093)'), GeomFromEWKT('SRID=4674;POINT (-38.980055 -3.37907)'))) / (select extract(epoch from '2026-07-12 05:41:39'::timestamp) - extract(epoch from '2026-07-12 05:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980084 -3.379093)'), GeomFromEWKT('SRID=4674;POINT (-38.980055 -3.37907)'))) / (select extract(epoch from '2026-07-12 05:41:39'::timestamp) - extract(epoch from '2026-07-12 05:41: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'), 47427, 'SRID=4674;POINT (-38.980038 -3.379053)', '2026-07-12 05:41:49', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980055 -3.37907)'), GeomFromEWKT('SRID=4674;POINT (-38.980038 -3.379053)'))) / (select extract(epoch from '2026-07-12 05:41:49'::timestamp) - extract(epoch from '2026-07-12 05:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980055 -3.37907)'), GeomFromEWKT('SRID=4674;POINT (-38.980038 -3.379053)'))) / (select extract(epoch from '2026-07-12 05:41:49'::timestamp) - extract(epoch from '2026-07-12 05:41: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'), 47427, 'SRID=4674;POINT (-38.979998 -3.378968)', '2026-07-12 05:41:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980038 -3.379053)'), GeomFromEWKT('SRID=4674;POINT (-38.979998 -3.378968)'))) / (select extract(epoch from '2026-07-12 05:41:56'::timestamp) - extract(epoch from '2026-07-12 05:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.980038 -3.379053)'), GeomFromEWKT('SRID=4674;POINT (-38.979998 -3.378968)'))) / (select extract(epoch from '2026-07-12 05:41:56'::timestamp) - extract(epoch from '2026-07-12 05:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
